/* =========================================================
   MEDIA QUERY ORDER  —  Desktop → Mobile
   ---------------------------------------------------------
   1.  min-width: 1400px
   2.  min-width: 1200px  &  max-width: 1440px
   3.  min-width: 992px   &  max-width: 1199px
   4.  min-width: 992px   (isolated – header + product card)
   5.  min-width: 768px   &  max-width: 991px
   6.  min-width: 768px   (isolated – product card split)
   7.  max-width: 991.98px
   8.  max-width: 767.98px   ← all "large mobile" rules merged
   9.  max-width: 575.98px   ← 575 + 575.98 merged
   10. max-width: 568px
   11. max-width: 480px
   12. max-width: 420px
   13. max-width: 414px
   14. max-width: 375px
   15. max-width: 320px
   16. hover: none
   17. prefers-reduced-motion: reduce
========================================================= */

/* =========================================================
   LARGE DESKTOP
========================================================= */
@media (min-width: 1400px) {

}

@media (min-width: 1200px) and (max-width: 1536px) {
   .hero-slide {
      min-height: clamp(390px, 65vw, 816px);
      margin-top: -40px;
   }

   .hero-copy h2,
   .hero-copy h3 {
      font-size: clamp(2.1rem, 3.7vw, 4.35rem);
   }
}

/* 1440px – 1200px */
@media (min-width: 1200px) and (max-width: 1440px) {
   .team-section {
      padding-top: clamp(4.5rem, 8vw, 7.5rem);
   }

   .hero-slide {
      min-height: clamp(390px, 65vw, 816px);
   }
   article.team-member-2::before {
    right: -40px;
}
}

/* 1199px – 992px */
@media (min-width: 992px) and (max-width: 1199px) {
   .team-section {
      padding-top: clamp(4.5rem, 8vw, 7.5rem);
   }

   .banner-short {
      height: 130px;
   }
   article.team-member-2::before {
    right: -13px;
}
.site-header .navbar {
    padding: 0px 15px;
}
}

/* Desktop: min-width 992px (header layout + product card padding) */
@media (min-width: 992px) {
   .site-header .navbar-collapse {
      flex-grow: 1;
   }

   .site-header .navbar-nav {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      margin: 0 !important;
   }

   .site-header .header-cta {
      margin-left: auto;
   }

}

/* 991px – 768px */
@media (min-width: 768px) and (max-width: 991px) {
   .about-section {
      width: 80%;
      margin: auto;
   }

   .customer-card h3 {
      font-size: 2.2rem;
      line-height: 1.1;
   }

   .expertise-caption strong {
      font-size: 5rem;
   }

   .expertise-caption span {
      font-size: 1.9rem;
   }

   .chart-bars img {
      width: 100%;
   }

   .assets-subtitle {
      font-size: 1.2rem;
   }

   .assets-amount {
      font-size: clamp(1.5rem, 4.8vw, 2.5rem);
   }

   .assets-subtitle {
      font-size: 1.3rem;
   }

   .product-card__title {
      font-size: 32px;
   }

   .product-card__text {
      font-size: 15px;
   }

   .btn-product {
      gap: 4px;
      height: 32px;
      padding: 0 10px;
      font-size: 13px;
   }

   .product-card__actions {
      gap: 10px;
   }

   p.bound-category-sec {
      padding: 3px 15px;
      font-size: 10px;
   }

   .footer-social {
      justify-content: center;
   }
}

/* =========================================================
   MOBILE / TABLET DOWN
========================================================= */

/* max-width: 991.98px */
@media (max-width: 991.98px) {
   .site-header .navbar {
      min-height: 68px;
   }

   .site-header .navbar-nav {
      position: static;
      transform: none;
   }

   .site-header .navbar-collapse {
      padding: 0.75rem 1rem 1rem;
   }

   .site-header .nav-link {
      padding-left: 0;
   }

   .header-cta {
      margin-top: 0.5rem;
   }

   .opportunity-intro {
      min-height: 290px;
   }

   .market-value {
      margin-top: 1rem;
   }

   .benefit-card img {
      height: 180px;
   }

   .about-label,
   .team-intro {
      padding-left: 0.75rem;
   }

   .product-panel {
      min-height: 340px;
   }

   .footer-link-groups {
      row-gap: 2rem;
   }

   .footer-lower {
      row-gap: 2.5rem;
   }

   .customer-card {
      gap: 0.4rem;
      padding: 1rem;
      min-height: 230px;
   }

   .customer-card p {
      font-size: 1rem;
   }

   .assets-card {
      min-height: 230px;
      padding: 1.2rem;
   }

   .products-title {
      font-size: 30px;
      line-height: 24px;
   }

   h6.page_sec-title {
      font-size: 14px;
      margin-bottom: 15px;
   }

   .product-tab {
      font-size: 13px;
   }

   .footer-disclaimer {
      margin-top: 0px;
      font-size: 1rem;
   }

   .hero-slide {
      min-height: clamp(390px, 80vw, 927px);
   }

   .product-section .panel h3 {
      font-size: 25px;
   }

   .desc {
      margin: 0 0 0px;
      font-size: 14px;
   }

   .actions {
      margin-top: 10px;
      gap: 5px;
   }

   .product-section .panel-body {
      padding: 10px 20px 40px 8px;
   }

   .product-section .panel {
      min-height: 415px;
      flex-direction: row;
      gap: 20px;
   }

   .banner-short {
      height: 130px;
   }
      .team-intro::before {
        width: 0px;
        right: 0;
        border-right: 0px solid var(--color-border);
    }
}

/* max-width: 767.98px — all former 767.98 blocks merged */
@media (max-width: 767.98px) {

   /* --- Body / typography --- */
   body {
      font-size: 0.9rem;
   }

   /* --- Product tabs --- */
   .product-tabs {
      flex-wrap: nowrap;
      justify-content: flex-start;
      overflow-x: auto;
      gap: 12px;
      padding: 8px 0 12px;
      scroll-snap-type: x mandatory;
      scrollbar-width: none;
      -webkit-overflow-scrolling: touch;
   }

   .product-tabs::-webkit-scrollbar {
      display: none;
   }

   .product-tabs::before,
   .product-tabs::after {
      content: "";
      flex: 0 0 max(0px, calc((100% - min(346px, 100vw - 48px)) / 2));
   }

   .product-tab {
      flex: 0 0 min(275px, calc(100vw - 48px));
      width: min(346px, calc(100vw - 48px));
      height: 40px;
      padding: 0 22px;
      font-size: 16px;
      scroll-snap-align: center;
   }

   /* --- Hero --- */
   .hero-section {
      padding-right: 0.75rem;
      padding-left: 0.75rem;
   }

   .hero-slide {
      min-height: 650px;
      align-items: flex-end;
   }

   .hero-copy {
      width: 60%;
      padding: 2.5rem 1.5rem 4.5rem;
   }

   .hero-carousel .owl-nav {
      right: 1rem;
      bottom: 0.8rem;
   }

   /* --- Opportunities --- */
   .opportunities-section {
      padding: 3rem 0rem;
   }

   .opportunity-intro {
      min-height: unset;
   }

   .market-value {
      margin-top: 1.8rem;
      padding-top: 0;
   }

   .benefit-card img {
      height: 220px;
   }

   /* --- About / team --- */
   .about-section {
      padding-bottom: 1rem;
   }

   .team-member {
      grid-template-columns: 1fr;
      gap: 0;
      padding: 1rem 0 1.5rem;
   }

   .team-member>img {
      width: 4rem;
      height: 4rem;
      margin-bottom: 1.4rem;
   }

   .member-name h3 {
      margin-bottom: 0.2rem;
      font-size: 1.125rem;
      font-weight: 600;
   }

   .member-name p {
      color: var(--color-copy-light);
      font-size: 0.8rem;
   }

   .member-bio {
      grid-column: 1;
      margin-top: 1.4rem;
      font-size: 0.875rem;
   }

   /* --- Product panels --- */
   .product-panel {
      min-height: 0;
      grid-template-columns: 1fr;
   }

   .product-art {
      min-height: 150px;
      background-size: 18px 18px;
      mask-image: linear-gradient(180deg, var(--color-white), var(--color-transparent));
   }

   .product-art::after {
      background: linear-gradient(180deg, var(--color-transparent), var(--product-background));
   }

   .product-copy {
      padding: 0.5rem 1.4rem 1.6rem;
   }

   /* --- Dot nav --- */
   .dot-nav {
      left: 6px;
      gap: 12px;
   }

   .dot-nav__item {
      width: 18px;
      height: 18px;
   }

   .dot-nav__dot {
      width: 8px;
      height: 8px;
   }

   /* --- Footer --- */
   .footer-main {
      padding-top: 2.3rem;
   }

   .footer-inner {
      width: calc(100% - 2rem);
   }

   .footer-heading {
      font-size: 0.9rem;
   }

   .footer-link-columns {
      gap: 1rem;
   }

   .footer-links {
      gap: 0.6rem;
   }

   .footer-links a {
      font-size: 0.78rem;
   }

   .footer-brand-links {
      gap: 0.8rem 1rem;
   }

   .footer-apps .footer-heading,
   .footer-social .footer-heading {
      margin-bottom: 0.9rem;
   }

   a.btn.btn-light.banner-btn {
      padding: 5px 7px;
   }

   .benefit-card h3 {
      font-size: 1.2rem;
   }

   .benefit-card p {
      font-size: 0.9rem;
   }

   .chart-bars img {
      width: 100%;
   }

   .product-card__text {
      font-size: 15px;
   }

   .btn-product {
      gap: 5px;
      height: 40px;
      font-size: 14px;
   }

   .opportunity-intro>p:not(.eyebrow),
   .team-intro>p:not(.eyebrow) {
      /* max-width: 410px; */
      color: var(--color-copy);
      font-size: 1.10rem;
   }

   .product-card__rule {
      margin: 0px 0 23px;
   }

   .accordion.faq-accordion.px-4 {
      padding: 0px !important;
   }

   .faq-accordion .accordion-button {
      font-size: 1rem;
   }

   .faq-accordion .accordion-body {
      padding: 0rem 1.2rem 0.35rem;
      font-size: .9rem;
   }

   .benefit-carousel-dots {
      justify-content: center;
      margin-top: 0.75rem;
   }

   .home-utility-bar {
      padding: 0px 30px;
      min-height: 30px;
   }

   .home-utility-inner>a {
      font-size: .8rem;
   }

   .header-font-controls button {
      width: 1.4rem;
      height: 1.4rem;
      font-size: 0.72rem;
   }

   .home-utility-inner {
      min-height: 30px;
   }

   .product-section .dotgrid {
      height: 275px;
   }

   .product-section .panel {
      min-height: 600px;
      gap: 0px;
   }

   .product-section .panel-body {
      justify-content: flex-end;
   }

   .banner-short {
      height: 110px;
   }

   .mid-cap-video-column {
      margin-top: 30px;
   }

   .mid-cap-product-description {
      font-size: .88rem !important;
      width: 100% !important;
   }

   .document-item {
      grid-template-columns: 2.5rem minmax(0, 1fr) !important;
   }
article.team-member-2::before {
    right: -25px;
}
.team-intro {
    margin-bottom: 30px;
}
}

/* max-width: 575.98px — former 575px + 575.98px merged */
@media (max-width: 575.98px) {
   .products {
      padding-top: 32px;
   }

   .products-title {
      font-size: 26px;
      line-height: 32px;
   }

   .product-tabs {
      gap: 12px;
      margin-bottom: 30px;
   }

   .product-card__shell {
      padding: 7px;
      border-radius: 22px;
   }

   .product-card__inner {
      min-height: 0;
      border-radius: 14px;
   }

   .product-card__body {
      padding: 26px 20px 28px;
   }

   .product-card__title {
      font-size: 26px;
   }

   .product-card__actions .btn-product {
      flex: 1 1 auto;
      justify-content: center;
   }

   .hero-copy h2,
   .hero-copy h3 {
      font-size: clamp(1.8rem, 4.7vw, 4.35rem);
   }

   .opportunity-intro>p:not(.eyebrow),
   .team-intro>p:not(.eyebrow) {
      font-size: 1rem;
   }

   a.btn.btn-primary.btn-opportunities {
      font-size: 13px;
   }

   .market-number {
      font-size: clamp(1.5rem, 2.5vw, 2.35rem);
   }

   .hero-slide {
      min-height: 550px;
   }

   .hero-copy {
      width: 65%;
      padding: 2rem 1.5rem 2rem;
   }

   .footer-link-columns {
      display: grid;
      grid-template-columns: repeat(1, minmax(0, 1fr));
      gap: 1.5rem;
   }

   .footer-disclaimer {
      font-size: 0.7rem;
      padding: 1.1rem 0 1.1rem;
   }

   .footer-social {
      justify-content: center;
   }

   .footer-logo-section {
      flex-direction: column;
      gap: 60px !important;
   }

   .callback-dialog__content {
      padding: 1rem 1.2rem 1rem;
   }

   .callback-otp__digits {
      gap: 0.35rem;
   }

   .callback-otp__digits input {
      width: 2.45rem;
      height: 2.8rem;
   }

   .product-section .panel {
      min-height: 580px;
   }

   .product-section .panel h3 {
      font-size: 20px;
      display: flex;
      gap: 5px;
      margin-top: 13px;
   }

   .document-item {
      grid-template-columns: 2.5rem minmax(0, 1fr) auto !important;
      gap: 0.5rem !important;
   }

   .document-item h4 {
      font-size: .88rem !important;

   }
    article.team-member-2::before {
        right: -15px;
    }
}

/* max-width: 568px */
@media (max-width: 568px) {}

/* max-width: 480px */
@media (max-width: 480px) {
   .desc {
      font-size: 10px;
   }

   .eyebrow {
      font-size: 0.54rem;
   }

   .product-card__tag {
      font-size: 8.5px;
   }

   .btn-product {
      gap: 5px;
      height: 32px;
      font-size: 11px;
   }

   .btn-product .icon {
      width: 13px;
      height: 13px;
   }

   .product-section .dotgrid {
      height: 230px;
   }

   .product-section .panel {
      min-height: 480px;
   }

   .home-site-header .home-navbar {
      padding: 0 0rem;
   }

   .home-utility-inner>a {
      font-size: .6rem;
   }

   .home-utility-inner {
      gap: .55rem;
   }

   .mid-cap-hero-copy h2 {
      font-size: clamp(1.4rem, 3.4vw, 3rem);
   }

   .mid-cap-overview {
      padding-top: .5rem;
   }

   .footer-inner-download.d-flex {
      display: grid !important;
      justify-content: center !important;
      gap: 7px !important;
   }

   .policy-strip {
      padding: .5rem 0;
   }

   .policy-strip .btn {
      width: fit-content;
      margin: auto;
   }

   .hero-copy h2,
   .hero-copy h3 {
      font-size: clamp(1.3rem, 4.7vw, 4.35rem);
   }

   .hero-description {
      font-size: 0.8rem;
   }

   .hero-slide {
      min-height: 450px;
   }
   .team-list-2 {
    flex-direction: column;
    gap: 30px;
}
    article.team-member-2::before {
        right: 0px;
        width: 0px;
    }
}

/* max-width: 420px */
@media (max-width: 420px) {
   .hero-slide {
      min-height: 430px;
   }

   .hero-copy {
      padding-right: 1.1rem;
      padding-left: 1.1rem;
   }

   .hero-copy h1,
   .hero-copy h2 {
      font-size: 2.2rem;
   }

   .policy-strip .footer-inner {
      align-items: flex-start !important;
   }

   .policy-strip .btn {
      flex-shrink: 0;
   }

   .home-utility-bar {
      padding: 0px 0px;
   }
}

/* max-width: 414px */
@media (max-width: 414px) {
   .hero-description {
      font-size: 0.75rem;
      margin-bottom: .75rem;
   }

   .hero-copy h1,
   .hero-copy h2 {
      font-size: 1.5rem;
   }

   .hero-copy h2,
   .hero-copy h3 {
      font-size: clamp(1.5rem, 4.7vw, 4.35rem);
   }

   a.btn.btn-light.banner-btn {
      padding: 1px 3px 1px 10px;
      font-size: 13px;
   }

   .hero-copy {
      padding-right: 1rem;
      padding-left: 1rem;
   }
   .brand-mark {
    width: 60%;
}
    .home-site-header .home-navbar {
        padding: 0px 0rem;
    }
    .customer-card h3 {
    font-size: 1.8rem;
}
.expertise-caption span {
    font-size: 1rem;
}
.expertise-caption strong {
    font-size: 2.8rem;
}


}

/* max-width: 375px */
@media (max-width: 375px) {
   .product-section .panel h3 {
      display: grid;
   }

   .product-section .dotgrid {
      height: 185px;
   }

}

/* max-width: 320px */
@media (max-width: 320px) {
   .hero-copy {
      width: 80%;
      padding: 1rem 1.5rem 2rem;
   }

   .hero-copy {
      margin: 4rem clamp(1rem, 5vw, 5.5rem);
   }

   .home-utility-inner>a {
      font-size: .5rem;
   }

   .brand-mark {
      width: 70%;
   }

   .home-site-header .home-navbar {
      padding: 0 0rem;
   }

   a.btn.btn-light.banner-btn {
      padding: 1px 3px 1px 10px;
      font-size: 11px;
   }

   .customer-card h3 {
      font-size: 1.5rem;
   }

   .products-title {
      font-size: 21px;
      line-height: 10px;
   }
}

/* =========================================================
   FEATURE QUERIES
========================================================= */
@media (hover: none) {
   .dot-nav__preview {
      display: none;
   }
}

@media (prefers-reduced-motion: reduce) {
   html {
      scroll-behavior: auto;
   }

   *,
   *::before,
   *::after {
      scroll-behavior: auto !important;
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
   }

   .product-card,
   .product-stack,
   .product-tab,
   .btn-product,
   .btn-product .icon {
      transition-duration: 0.01ms !important;
      transition-delay: 0ms !important;
   }
}



@media (max-width: 991.98px) {

   .home-site-header .home-navbar {
      width: 100%;
      min-height: 58px;
      padding: 0 1rem;
   }

   .home-menu-toggle {
      display: flex;
      width: 2.75rem;
      height: 2.5rem;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 0.28rem;
      margin-left: auto;
      padding: 0.5rem;
      border: 1px solid rgb(9 33 58 / 18%);
      border-radius: 0.4rem;
      background: #ffffff;
   }

   .home-menu-toggle span {
      display: block;
      width: 1.1rem;
      height: 2px;
      border-radius: 2px;
      background: #09213a;
   }

   .home-menu-backdrop {
      position: fixed;
      z-index: 1;
      inset: 0;
      display: block;
      border: 0;
      background: rgb(5 15 31 / 42%);
   }

   .home-nav-panel {
      position: fixed;
      z-index: 2;
      top: 0;
      right: 0;
      display: none;
      width: min(290px, 86vw);
      height: 100vh;
      height: 100dvh;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      overflow-y: auto;
      padding: 3.4rem 1rem 1.25rem;
      background: #ffffff;
      box-shadow: -0.5rem 0 1.8rem rgb(5 15 31 / 12%);
   }

   .home-nav-panel.is-open {
      display: flex;
   }

   .home-menu-close {
      position: absolute;
      top: 0.65rem;
      right: 0.7rem;
      display: grid;
      width: 2rem;
      height: 2rem;
      place-items: center;
      border: 0;
      color: #09213a;
      background: transparent;
      font-size: 1.2rem;
      cursor: pointer;
   }

   .home-nav-list {
      position: static;
      display: flex;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      margin: 0 !important;
      transform: none;
   }

   .home-site-header .home-nav-list .nav-link {
      display: flex;
      width: 100%;
      min-height: 2.5rem;
      justify-content: space-between;
      padding: 0.55rem 0.2rem;
      font-size: 0.82rem;
      text-align: left;
   }

   .home-submenu {
      position: static;
      min-width: 0;
      gap: 0;
      padding: 0 0 0.35rem 0.65rem;
      transform: none;
      border: 0;
      border-radius: 0;
      box-shadow: none;
   }

   .home-submenu a {
      padding: 0.55rem 0.2rem;
      white-space: normal;
   }

   .home-mobile-utility {
      display: block;
   }

   .home-mobile-utility a {
      display: block;
      padding: 0.55rem 0.2rem;
      color: #172333;
      font-size: 0.78rem;
      text-decoration: none;
   }

   .home-site-header .home-nav-panel .header-cta {
      display: block;
      width: 100%;
      margin: 0.5rem 0 0;
      padding: 0.55rem 0.8rem;
      text-align: center;
   }

   body.home-menu-open {
      overflow: hidden;
   }
   .expertise-card>img {
    height: 100%;
}
}

@media (prefers-reduced-motion: reduce) {
   .home-submenu-toggle>i {
      transition: none;
   }
}

@media (min-width: 640px) {
   .product-header {
      padding-top: 32px;
   }
}

@media (min-width: 640px) {
   .product-section .nav {
      justify-content: center;
      overflow-x: visible;
      scroll-snap-type: none;
   }
}

@media (min-width: 640px) {
   .product-section .card {
      padding: 10px;
   }
}

@media (min-width: 768px) {
   .product-section .dotgrid {
      top: 0;
      bottom: 0;
      right: auto;
      height: auto;
      width: 46%;
   }
}

@media (min-width: 768px) {
   .product-section .panel-spacer {
      height: auto;
      width: 46%;
   }
}

@media (min-width: 640px) {
   .product-section .panel-body {
      padding-left: 40px;
      padding-right: 40px;
   }
}

@media (min-width: 768px) {
   .product-section .panel-body {
      padding: 40px 48px 40px 8px;
   }
}

@media (min-width: 768px) {
   .product-section .panel {
      min-height: 470px;
      flex-direction: row;
   }
}

@media (max-width: 639.98px) {
   .product-section .product-header {
      padding-right: 0;
      padding-left: 0;
      overflow: hidden;
   }

   .product-section .nav {
      gap: 8px;
      padding-right: max(16px, calc((100% - 190px) / 2));
      padding-left: max(16px, calc((100% - 190px) / 2));
   }

   .product-section .nav button {
      height: 36px;
      padding-right: 15px;
      padding-left: 15px;
      font-size: 12px;
   }
}