/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1199.98px) {
  .stat--border::after {
    display: none;
  }

  .serviHov {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991.98px) {
  .header .offcanvas {
    width: 300px;
    border-right: 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, .12);
  }

  .header .offcanvas-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--clr-line);
  }

  .header .offcanvas-header .logo img {
    max-width: 130px;
  }

  .header .offcanvas-header .btn-close {
    box-shadow: none;
  }

  .header .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 24px;
  }

  .header .offcanvas-body .navbar-nav {
    margin-left: 0 !important;
  }

  .header .offcanvas .nav-link {
    padding: 14px 0;
    font-size: 18px;
    border-bottom: 1px solid #f0e8da;
  }

  .header .offcanvas .d-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px !important;
    margin-top: 24px !important;
  }

  .header .navbar {
    min-height: 76px;
  }

  .logo__name {
    font-size: 26px;
  }

  .hero::before {
    background: rgba(255, 255, 255, .88);
  }

  .project-card {
    flex-basis: calc((100% - 20px) / 2);
  }

  .serviHov {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Privacy / Terms: sidebar becomes a sticky, swipeable tab bar above the content */
  .privacy-layout,
  .terms-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .privacy-sidebar,
  .terms-sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    width: auto;
    margin: 0 -12px;
    padding: 10px 12px;
    background: #fff;
    border-bottom: 1px solid #DDE5DF;
    transition: top .4s ease;
    /* same speed as the header slide */
  }

  .privacy-nav,
  .terms-nav {
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .privacy-nav::-webkit-scrollbar,
  .terms-nav::-webkit-scrollbar {
    display: none;
  }

  .privacy-nav-link,
  .terms-nav-link {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 10px 16px;
    border: 1px solid #DDE5DF;
    border-radius: 50px;
    font-size: 13px;
  }

  .privacy-nav-link.active,
  .terms-nav-link.active {
    border-color: transparent;
  }

  .privacy-block,
  .terms-block {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --fs-h4: 16px;
    --fs-p: 15px;
    --fs-small: 13px;
  }

  h1 {
    margin-bottom: 18px;
    font-size: 36px;
    line-height: 40px;
  }

  h2 {
    margin-bottom: 16px;
    font-size: 22px;
  }

  .section {
    padding: 30px 0;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .page-banner {
    min-height: 200px;
  }

  .contact-form {
    padding: 16px;
  }

  .page-banner--overlap {
    min-height: 240px;
    padding-top: 40px;
  }

  .contact--overlap {
    margin-top: -80px;
    margin-bottom: 20px;
  }

  .contact__card {
    padding: 20px 16px 0;
    border-radius: 12px 12px 0 0;
  }

  .service-row+.service-row {
    margin-top: 30px;
  }

  .stat {
    padding: 20px 15px;
  }

  .vision {
    padding: 24px;
  }

  .project-card {
    flex-basis: 85%;
  }

  .cta {
    padding: 30px 0;
  }

  .vision-band {
    padding: 30px 0;
  }

  .footer-simple .gap-5 {
    flex-direction: column;
    gap: 20px !important;
  }

  .page-banner__title {
    font-size: 30px;
    line-height: 36px;
  }

  .about-intro__img {
    margin-bottom: 30px;
  }

  .eyebrow {
    margin-bottom: 10px;
  }

  .vision__circle {
    margin-inline: auto;
  }

  .terms-block {
    padding: 16px;
  }

  .vision__circle,
  .vision-band__graphic {
    max-width: 100%;
    width: 100%;
  }

  .service-card__body p br {
    display: none;
  }

}

@media (max-width:567.98px) {
  h1 {
    font-size: 30px;
    line-height: 36px;
  }

  .page-banner__title {
    font-size: 26px;
    line-height: 36px;
  }

  .project-card {
    flex-basis: 80%;
  }

  .serviHov {
    grid-template-columns: repeat(1, 1fr);
  }
}