/*
  Computer Point homepage refresh
  Load after css/style.css. This file intentionally overrides only homepage presentation.
*/
:root {
  --cp-orange: #eb8923;
  --cp-orange-dark: #c96d0b;
  --cp-ink: #152238;
  --cp-body: #536276;
  --cp-muted: #718096;
  --cp-surface: #f5f8fc;
  --cp-border: #e4eaf1;
  --cp-white: #fff;
  --cp-radius: 18px;
  --cp-shadow: 0 18px 45px rgba(18, 37, 63, .09);
}
html { scroll-behavior: smooth; }
body { color: var(--cp-body); font-size: 16px; line-height: 1.75; }
h1, h2, h3, h4, h5, h6 { color: var(--cp-ink); letter-spacing: -.025em; }
p { line-height: 1.8; }
a { transition: color .2s ease, background .2s ease, transform .2s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid rgba(235,137,35,.55); outline-offset: 3px; }
.header-top-bar { background: var(--cp-ink); padding: 9px 0; }
.header-top-bar a, .header-top-bar a span, .top-bar-info li a { color: #fff; }
.top-right-bar a .h4 { font-size: 15px; letter-spacing: 0; }
.navbar.navigation { background: #fff; box-shadow: 0 7px 24px rgba(21,34,56,.06); }
.navbar-brand img { max-height: 66px; width: auto; }
#navbarmain { padding: 12px 0; }
#navbarmain .nav-link { padding: 13px 16px; font-size: 13px; letter-spacing: .035em; }
#navbarmain .nav-link:hover, #navbarmain .nav-item.active .nav-link { color: var(--cp-orange); }
.dropdown .dropdown-menu { border-top: 3px solid var(--cp-orange); border-radius: 0 0 12px 12px; box-shadow: var(--cp-shadow); }
.dropdown .dropdown-item { padding: 12px 18px; }
.banner {
  min-height: 550px;
  display: flex;
  align-items: center;
  background-color: #f4f7fb;
  background-image: linear-gradient(100deg, rgba(245,248,252,.97) 0%, rgba(245,248,252,.91) 48%, rgba(245,248,252,.42) 100%), url("../images/bg/slider-bg-1.jpg");
  background-position: center;
  background-size: cover;
}
.banner .block { padding: 92px 0 112px; max-width: 850px; }
.banner .sub2 { display: inline-block; color: var(--cp-orange-dark); font-size: 12px; line-height: 1.6; letter-spacing: .1em; font-weight: 800; }
.banner h1 { max-width: 850px; color: var(--cp-ink); font-size: clamp(2.25rem, 4.2vw, 4.25rem); line-height: 1.12; letter-spacing: -.045em; text-transform: none; margin-top: 20px !important; }
.hero-highlight { color: var(--cp-orange-dark); }
.banner p { max-width: 650px; padding-right: 0 !important; color: #4d5b6f; font-size: 18px; }
.btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; letter-spacing: .055em; padding: 13px 23px; }
.btn-main { background: var(--cp-orange); border-color: var(--cp-orange); }
.btn-main:hover { background: var(--cp-orange-dark); border-color: var(--cp-orange-dark); transform: translateY(-2px); }
.btn-main-2 { background: var(--cp-ink); border-color: var(--cp-ink); }
.btn-main-2:hover { background: var(--cp-orange); border-color: var(--cp-orange); transform: translateY(-2px); }
.features { margin-top: -52px; position: relative; z-index: 2; }
.features > .container { background: transparent; }
.features h3 { font-size: clamp(1.7rem, 2.5vw, 2.4rem); margin-bottom: 28px; }
.feature-block { gap: 22px; }
.feature-item { flex: 1 1 0; min-width: 0; margin: 0 0 24px; padding: 30px 26px; border: 1px solid rgba(228,234,241,.9); border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); transition: transform .25s ease, box-shadow .25s ease; }
.feature-item:hover { transform: translateY(-6px); box-shadow: 0 22px 50px rgba(18,37,63,.13); }
.feature-item .feature-icon { min-height: 90px; display: flex; align-items: center; justify-content: flex-start; }
.feature-item .feature-icon img { max-height: 82px; max-width: 100%; width: auto; object-fit: contain; }
.feature-item h4 { color: var(--cp-ink); font-size: 17px; line-height: 1.45; }
.feature-item p { color: var(--cp-muted); font-size: 14px; line-height: 1.75; }
.feature-item .btn { white-space: normal; }
.section.about { padding: 82px 0; }
.about-img img { width: 100%; border-radius: var(--cp-radius); box-shadow: var(--cp-shadow); }
.about-content { padding-left: 24px !important; }
.about-content h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.2; }
.about-content p { color: var(--cp-body); }
.title-color { color: var(--cp-orange-dark); }
.cta { overflow: hidden; border-radius: var(--cp-radius); padding: 22px 18px; }
.cta:before { background: linear-gradient(120deg, rgba(21,34,56,.96), rgba(235,137,35,.91)); }
.counter-stat { padding: 22px 8px; }
.counter-stat i { color: rgba(255,255,255,.14); }
.counter-stat span { position: relative; font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 800; }
.counter-stat p { position: relative; color: rgba(255,255,255,.88); }
.homepage-faq { padding: 82px 0; background: var(--cp-surface); }
.section-heading { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.section-heading .eyebrow { display: inline-block; color: var(--cp-orange-dark); font-size: 12px; font-weight: 800; letter-spacing: .13em; margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin-bottom: 12px; }
.section-heading p { margin-bottom: 0; }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--cp-border); border-radius: 12px; margin: 0 0 12px; box-shadow: 0 5px 18px rgba(18,37,63,.035); overflow: hidden; }
.faq-item summary { cursor: pointer; position: relative; list-style: none; padding: 20px 54px 20px 22px; color: var(--cp-ink); font-weight: 700; line-height: 1.5; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--cp-orange-dark); font-size: 25px; font-weight: 400; }
.faq-item[open] summary:after { content: "−"; }
.faq-answer { padding: 0 22px 18px; }
.faq-answer p { margin: 0; }
.faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 900px; margin: 30px auto 0; padding: 26px 28px; background: #fff; border: 1px solid var(--cp-border); border-radius: var(--cp-radius); }
.faq-cta h3 { margin-bottom: 6px; font-size: 20px; }
.faq-cta p { margin-bottom: 0; font-size: 14px; }
.footer { padding-top: 65px; background: #f7f9fc; }
.footer .logo img { max-width: 210px; height: auto; }
.footer h4 { color: var(--cp-ink); }
.footer .divider { background: var(--cp-orange); }
.footer .footer-menu a:hover { color: var(--cp-orange-dark); }
.footer-socials li a { background: var(--cp-ink); }
.footer-socials li a:hover { background: var(--cp-orange); }
.footer-contact-block h4 { font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.backtop { background: var(--cp-orange); right: 22px; bottom: 22px; width: 48px; height: 48px; }
@media (min-width: 992px) {
  .feature-block { display: flex; }
}
@media (max-width: 991.98px) {
  .banner { min-height: auto; background-position: center; }
  .banner .block { padding: 78px 0 110px; }
  .features { margin-top: -45px; }
  .feature-item { flex-basis: calc(50% - 16px); }
  .about-content { padding-left: 0 !important; }
}
@media (max-width: 767.98px) {
  .header-top-bar .row { text-align: center; }
  .top-right-bar { text-align: center !important; }
  .top-right-bar a .h4 { font-size: 14px; }
  .navbar-brand img { max-height: 54px; }
  #navbarmain { padding: 10px 0; }
  .banner { background-image: linear-gradient(100deg, rgba(245,248,252,.97), rgba(245,248,252,.88)), url("../images/bg/slider-bg-1.jpg"); }
  .banner .block { padding: 58px 0 90px; }
  .banner h1 { font-size: clamp(2rem, 8vw, 3.1rem); }
  .banner p { font-size: 16px; }
  .features { margin-top: -36px; }
  .feature-block { display: block; }
  .feature-item { margin: 0 0 16px; padding: 26px 22px; }
  .section.about, .homepage-faq { padding: 58px 0; }
  .about-img { margin-bottom: 28px; }
  .faq-cta { display: block; padding: 23px; }
  .faq-cta .btn { margin-top: 18px; }
  .footer { padding-top: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
