/* Shared MedSynaptic site styles - extracted from index.html 2026-06-23.
   Used by: index.html, about-us/index.html, and all future pages.
   Edit here; both homepage and subpages pick up automatically. */

    /* ===== RESET & BASE ===== */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html {
      scroll-behavior: smooth;
      overflow-x: hidden;
      max-width: 100vw;
    }
    body {
      font-family: 'Inter', sans-serif;
      color: #1f1f1f;
      background: #fff;
      overflow-x: hidden;
      max-width: 100vw;
      -webkit-font-smoothing: antialiased;
    }
    img { display: block; max-width: 100%; height: auto; }
    a { text-decoration: none; color: inherit; }
    /* Prevent orphan words on titles when wrapping on narrow screens */
    h1, h2, h3, .hero-title, .section-title, .join-title { text-wrap: balance; }

    /* ===== DESIGN TOKENS ===== */
    :root {
      --hero-bg: #0c1b25;
      --nav-pill: #384457;
      --yellow: #fdb92e;
      --yellow-hover: #e8a820;
      --text-primary: #1f1f1f;
      --text-body: #46474f;
      --text-muted: rgba(255,255,255,0.8);
      --blue: #3061e3;
      --blue-dark: #203175;
      --section-bg: #f4f6fb;
      --card-border: #f1f6fc;
      --badge-border: #dee1eb;
      --icon-bg: #fffaf1;
      --heading-gradient: linear-gradient(187.762deg, rgb(48,97,227) 28.389%, rgb(0,0,0) 82.757%);
      --cta-gradient: linear-gradient(188.765deg, rgb(82,119,218) 28.389%, rgb(0,0,0) 82.757%);
      --form-gradient: linear-gradient(254.132deg, rgb(82,119,218) 11.01%, rgb(0,0,0) 89.008%);
      --join-gradient: linear-gradient(221.621deg, rgb(82,119,218) 11.01%, rgb(0,0,0) 89.008%);
      --card-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.07), 0 57px 34px rgba(189,233,218,.04), 0 101px 40px rgba(189,233,218,.01), 0 157px 44px rgba(189,233,218,0);
      --stat-card-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.07), 0 0 0 4px rgba(48,97,227,.06), 0 8px 28px rgba(48,97,227,.12);
      --stat-card-backdrop-shadow: 0 4px 24px rgba(100,110,130,.18), 0 1px 6px rgba(80,90,110,.10);
      --orange-hover: #c47800;
    }

    /* ===== LAYOUT ===== */
    .page-wrap { max-width: 1440px; margin: 0 auto; }
    .section-inner { max-width: 1312px; margin: 0 auto; padding: 0 64px; }

    /* ===== SHARED COMPONENTS ===== */

    /* Badge */
    .badge {
      display: inline-flex; align-items: center; gap: 4px;
      background: #fff; border: 1px solid var(--badge-border);
      border-radius: 100px; padding: 6px 16px;
      font-size: 16px; font-weight: 400; color: var(--blue-dark);
      text-transform: uppercase; letter-spacing: -0.32px; line-height: 1.1;
    }
    .badge img { width: 16px; height: 16px; }
    .badge--ghost {
      background: rgba(255,255,255,.2);
      border-color: rgba(255,255,255,.2);
      color: #fff;
    }

    /* Section heading gradient */
    .section-title {
      font-size: 40px; font-weight: 600; line-height: 1.1;
      letter-spacing: -2px; text-align: center;
      background: var(--heading-gradient);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
    }

    /* Yellow CTA Button */
    .btn-yellow {
      display: inline-flex; align-items: center; justify-content: center; gap: 12px;
      background: var(--yellow); border-radius: 100px;
      height: 50px; padding: 0 32px;
      font-size: 18px; font-weight: 500; color: var(--text-primary);
      cursor: pointer; border: none; transition: background .2s;
      white-space: nowrap; text-decoration: none;
    }
    html { scroll-behavior: smooth; }
    .btn-yellow:hover { background: var(--yellow-hover); }
    .btn-yellow .btn-arrow { width: 20px; height: 20px; flex-shrink: 0; }
    /* White hover for hero, join-team, and brochure buttons */
    #hero .hero-content .btn-yellow:hover,
    .join-team .btn-yellow:hover,
    .brochure-banner .btn-yellow:hover {
      background: #fff; color: var(--text-primary);
    }

    /* White border button (nav) */
    .btn-outline-white {
      display: inline-flex; align-items: center; justify-content: center; gap: 12px;
      border: 1px solid rgba(255,255,255,.8); border-radius: 100px;
      height: 50px; padding: 0 32px;
      font-size: 18px; font-weight: 500; color: #fff;
      cursor: pointer; background: transparent;
      transition: background .2s, color .2s, border-color .2s;
      white-space: nowrap;
    }
    .btn-outline-white:hover {
      background: #fff;
      color: #1f1f1f;
      border-color: #fff;
    }
    .btn-outline-white .btn-arrow {
      width: 20px; height: 20px; flex-shrink: 0;
      filter: brightness(0) invert(1);
      transition: filter .2s;
    }
    .btn-outline-white:hover .btn-arrow { filter: brightness(0); }

    /* Icon box */
    .icon-box {
      width: 60px; height: 60px; border-radius: 8px;
      background: var(--icon-bg); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .icon-box img { width: 24px; height: 24px; }

    /* ===========================
       1. NAVBAR + HERO
    =========================== */
    #hero {
      position: relative;
      background: var(--hero-bg);
      min-height: 800px;
      overflow: visible;
    }
    .hero-bg-img {
      position: absolute; top: 0; right: 0;
      width: 54%; height: 100%;
      object-fit: cover;
      mix-blend-mode: lighten;
      pointer-events: none;
    }
    .hero-overlay-left {
      position: absolute; top: 0; left: 0;
      width: 56%; height: 100%;
      background: linear-gradient(90deg, var(--hero-bg) 60%, transparent 100%);
      pointer-events: none;
    }

    /* Navbar */
    nav {
      position: relative; z-index: 10;
      display: flex; align-items: center; justify-content: space-between;
      padding: 24px 64px;
      max-width: 1440px;
      margin: 0 auto;
      transition: background .25s ease, box-shadow .25s ease;
    }
    nav.scrolled {
      background: #fff;
      box-shadow: 0 2px 12px rgba(48,97,227,.08);
    }
    nav.scrolled .burger span { background: #1f1f1f; }
    nav.scrolled .nav-links { background: var(--nav-pill); }
    .nav-logo { height: 40px; width: auto; }
    .nav-links {
      display: flex; align-items: center; gap: 32px;
      background: var(--nav-pill); border-radius: 1000px;
      padding: 14px 32px;
      list-style: none;
    }
    .nav-links a,
    .nav-links .nav-dropdown-trigger {
      font-size: 16px; font-weight: 400; color: #fff;
      transition: opacity .2s;
      white-space: nowrap;
    }
    .nav-links a:hover,
    .nav-links .nav-dropdown-trigger:hover { color: var(--yellow); opacity: 1; }
    .nav-cta { }

    /* Hero content */
    .hero-content {
      position: relative; z-index: 2;
      max-width: 1440px; margin: 0 auto;
      padding: 0 64px;
      padding-top: 44px;
    }
    .hero-klas {
      display: flex; align-items: center; gap: 8px;
      margin-bottom: 32px;
    }
    .hero-klas img.klas-badge { width: 62px; height: 61px; border-radius: 3000px; }
    .hero-klas-text {
      font-size: 16px; color: #fff; text-transform: uppercase;
      letter-spacing: -0.32px; font-weight: 400;
    }
    .hero-title {
      font-size: 64px; font-weight: 600; color: #fff;
      line-height: 1.1; letter-spacing: -1.28px;
      max-width: 640px; margin-bottom: 14px;
    }
    .hero-subtitle {
      font-size: 20px; color: #fff; line-height: 1.4;
      max-width: 600px; margin-bottom: 40px;
    }

    /* Hero content rotator: fades between slides. Only the content column
       rotates - background image, navbar and stats bar stay static. */
    .hero-content-rotator {
      position: relative;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 64px;
      padding-top: 44px;
    }
    .hero-content-rotator .hero-content--slide {
      max-width: none;
      margin: 0;
      padding: 0;
      padding-top: 0;
    }
    .hero-content-rotator .hero-content--slide:not(:first-child) {
      position: absolute;
      inset: 44px 64px auto;
    }
    .hero-content-rotator .hero-content--slide {
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.6s ease-in-out, visibility 0.6s;
    }
    .hero-content-rotator .hero-content--slide.is-active {
      opacity: 1;
      visibility: visible;
    }
    /* Rotator controls: horizontally centered, sits below the hero content
       column and above the stats bar. */
    .hero-rotator-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 16px;
      margin: 48px auto 0;
      width: fit-content;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.14);
      padding: 10px 16px;
      border-radius: 999px;
      position: relative;
      z-index: 5;
    }
    .hero-rotator-btn {
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: transparent;
      border: 1px solid rgba(255, 255, 255, 0.25);
      border-radius: 50%;
      color: #fff;
      cursor: pointer;
      transition: background .15s, border-color .15s;
      padding: 0;
    }
    .hero-rotator-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.5); }
    .hero-rotator-btn svg { width: 14px; height: 14px; }
    .hero-rotator-dots { display: flex; gap: 10px; padding: 0 4px; }
    .hero-rotator-dot {
      width: 9px; height: 9px;
      background: rgba(255, 255, 255, 0.35);
      border-radius: 50%;
      cursor: pointer;
      transition: background .2s, width .2s;
      border: 0;
      padding: 0;
    }
    .hero-rotator-dot.is-active {
      background: var(--yellow, #FDB92E);
      width: 28px;
      border-radius: 999px;
    }

    /* Stats bar */
    .stats-bar {
      display: flex; gap: 32px; align-items: center;
      position: relative; z-index: 5;
      max-width: 1440px; margin: 80px auto 0; padding: 0 64px;
      transform: translateY(76px);
    }
    .stat-card {
      background: #fff; border: 1px solid rgba(48,97,227,.08);
      border-radius: 12px;
      box-shadow: 0 2px 4px rgba(80,100,140,.06), 0 12px 32px rgba(80,100,140,.12);
      padding: 20px; display: flex; align-items: center; gap: 16px;
      flex: 1; min-width: 0; position: relative; z-index: 3;
    }
    .stat-icon {
      width: 60px; height: 60px; border-radius: 8px;
      background: var(--icon-bg); flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .stat-icon img { width: 24px; height: 24px; }
    .stat-number {
      font-size: 28px; font-weight: 500; color: #0c2516; line-height: 1.4;
    }
    .stat-label {
      font-size: 18px; font-weight: 400; color: var(--text-body); line-height: 1.3;
    }

    /* ===========================
       2. ABOUT US
    =========================== */
    #about {
      background: #fff;
      padding: 140px 0 80px;
    }
    .about-inner {
      max-width: 1312px; margin: 0 auto; padding: 0 64px;
    }
    .about-header {
      display: flex; flex-direction: column; align-items: center; gap: 12px;
      margin-bottom: 60px;
    }
    /* 30% text / 70% image split (per Igor's V1 pick on About section test page) */
    .about-cols {
      display: flex; gap: 32px; align-items: center;
    }
    .about-left { flex: 30 1 0; min-width: 0; display: flex; flex-direction: column; gap: 48px; align-items: flex-start; }
    .about-lead {
      font-size: 24px; line-height: 1.4; color: var(--text-primary);
      margin-bottom: 0;
    }
    .about-lead strong { font-weight: 600; }
    .about-feature {
      display: flex; gap: 20px; align-items: flex-start;
    }
    .about-feature-text h4 {
      font-size: 20px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px;
    }
    .about-feature-text p {
      font-size: 18px; color: var(--text-body); line-height: 1.3;
    }

    /* About right column: 70% of section width, image fills 100% of column */
    .about-right {
      flex: 70 1 0;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .about-diagram {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
    }
    .about-feature .icon-box { display: none; }
    .diagram-card {
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(143,191,253,0.4);
      border-radius: 8px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1), 0 32px 21px rgba(48,97,227,.03);
      position: absolute;
    }
    .diagram-pill {
      border: 1px solid #8fbffd; border-radius: 1000px;
      background: #fff; padding: 5px 11px;
      font-size: 11px; color: var(--text-body);
      position: absolute; white-space: nowrap;
    }

    /* Top row card */
    .diagram-top-row {
      position: absolute; top: 43px; left: 89px;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border: 17px solid #fff;
      border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1), 0 32px 21px rgba(48,97,227,.03);
      display: flex; align-items: center; gap: 35px;
      padding: 0 4px;
    }
    .diagram-item {
      display: flex; flex-direction: column; align-items: center; gap: 7px;
      width: 50px;
    }
    .diagram-item img { width: 44px; height: 44px; object-fit: contain; }
    .diagram-item span {
      font-size: 13px; font-weight: 600; color: var(--text-primary);
      text-align: center; white-space: nowrap;
    }
    .diagram-sep {
      width: 3.5px; height: 50px; flex-shrink: 0;
    }
    /* VNA middle card */
    .diagram-vna {
      position: absolute; top: 197px; left: 246px;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border: 14px solid #fff;
      border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1), 0 32px 21px rgba(48,97,227,.03);
      display: flex; align-items: center; gap: 6px;
      padding: 0 4px;
    }
    .diagram-vna img { width: 44px; height: 44px; object-fit: contain; }
    .diagram-vna-text { font-size: 10.5px; font-weight: 600; color: var(--text-primary); line-height: 1.3; width: 76px; }
    .diagram-vna-text span { color: var(--blue); }

    /* DICOM Viewer right */
    .diagram-viewer {
      position: absolute; top: 197px; right: 0;
      display: flex; flex-direction: column; gap: 7px; align-items: center;
      width: 125px;
    }
    .diagram-viewer img.viewer-icon { width: 44px; height: 44px; object-fit: contain; }
    .diagram-viewer-label { text-align: center; }
    .diagram-viewer-label p { font-size: 13px; font-weight: 600; color: var(--text-primary); }
    .diagram-viewer-label small { font-size: 10.5px; color: var(--text-body); }

    /* Bottom RIS/EHR row */
    .diagram-bottom-row {
      position: absolute; bottom: 88px; left: 230px;
      display: flex; gap: 20px;
    }
    .diagram-bottom-item { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 44px; }
    .diagram-bottom-item img { width: 44px; height: 44px; object-fit: contain; }
    .diagram-bottom-item span { font-size: 13px; font-weight: 600; color: var(--text-primary); text-align: center; }

    /* Deployment row */
    .diagram-deploy {
      position: absolute; bottom: 12px; left: 136px;
      background: rgba(255,255,255,0.9);
      backdrop-filter: blur(10px);
      border: 10px solid #fff;
      border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1), 0 32px 21px rgba(48,97,227,.03);
      display: flex; align-items: center; gap: 28px;
      padding: 0 4px;
    }
    .diagram-deploy-item { display: flex; align-items: center; gap: 7px; }
    .diagram-deploy-item img { width: 28px; height: 28px; }
    .diagram-deploy-item span { font-size: 13px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }

    /* ===========================
       3. EVENTS
    =========================== */
    #events {
      background: var(--section-bg);
      padding: 120px 0;
      position: relative; overflow: hidden;
    }
    #events .section-inner {
      display: flex; flex-direction: column; align-items: center; gap: 50px;
    }
    .events-header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
    .events-header p { font-size: 24px; color: var(--text-primary); max-width: 776px; }
    .events-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
      width: 100%; max-width: 1312px; margin: 0 auto;
    }
    .event-card {
      background: #fff; border: 1px solid var(--card-border);
      border-radius: 15px; box-shadow: var(--card-shadow);
      display: flex; flex-direction: column; overflow: hidden;
    }
    .event-img {
      width: 100%; height: 240px;
      object-fit: cover; display: block;
    }
    .event-info { padding: 40px 32px; display: flex; flex-direction: column; gap: 32px; justify-content: center; align-items: flex-start; }
    .event-info h3 { font-size: 24px; font-weight: 600; color: var(--text-primary); }
    .event-meta { display: flex; flex-direction: column; gap: 8px; }
    .event-meta-row { display: flex; align-items: center; gap: 4px; font-size: 16px; color: var(--text-body); }
    .event-meta-row img { width: 20px; height: 20px; }
    .event-booth { font-size: 16px; font-weight: 600; color: var(--text-body); margin-top: 12px; }

    /* ===========================
       4. PRODUCTS
    =========================== */
    #products {
      background: #fff;
      padding: 100px 0;
    }
    #products .section-inner { display: flex; flex-direction: column; align-items: center; gap: 40px; }
    .products-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .products-tabs {
      display: flex; align-items: center; gap: 20px;
      background: #f4f6fb; border-radius: 1000px; padding: 5px;
    }
    .tab {
      padding: 7px 20px; border-radius: 20px; font-size: 16px; cursor: pointer;
      color: var(--text-primary); transition: all .2s; border: none; background: transparent;
    }
    .tab.active {
      background: linear-gradient(214.759deg, rgb(82,119,218) 14.52%, rgb(0,0,0) 99.703%);
      color: #fff;
    }
    .tab:hover:not(.active) { background: rgba(0,0,0,.05); }
    .products-grid {
      display: flex; flex-wrap: wrap; gap: 32px; width: 100%;
    }
    .product-card {
      background: #fff; border: 1px solid var(--card-border);
      border-radius: 10px; box-shadow: var(--card-shadow);
      width: calc((100% - 96px) / 4);
      min-width: 0; height: 161px;
      display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
      padding: 20px; transition: transform .2s, box-shadow .2s; cursor: pointer;
      /* When used as <a> link to /service/{slug}/ */
      text-decoration: none; color: inherit;
    }
    .product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(48,97,227,.12); }
    .product-card img { max-height: 60px; max-width: 180px; object-fit: contain; }
    /* ImageDoot logo is square 1000x1000 - cap matches other logos' visual mass
       without dominating (other wide logos fill ~180px × 40px). */
    .product-card img[alt="ImageDoot"] { max-height: 120px; max-width: 120px; }
    .product-card span { font-size: 16px; color: var(--text-primary); text-align: center; }

    /* Download brochures banner */
    .brochure-banner {
      width: 100%;
      border-radius: 20px;
      padding: 0 50px;
      height: 154px;
      display: flex; align-items: center; justify-content: space-between;
      background: var(--cta-gradient);
      position: relative; overflow: hidden;
    }
    .brochure-banner h3 {
      font-size: 32px; font-weight: 600; color: #fff; line-height: 1.4;
      position: relative; z-index: 1;
    }
    .brochure-banner .btn-yellow { position: relative; z-index: 1; }

    /* ===========================
       5. WHY CHOOSE US
    =========================== */
    #why {
      background: #fff;
      padding: 100px 0;
    }
    #why .section-inner { max-width: 1312px; margin: 0 auto; padding: 0 64px; }
    .why-inner { display: flex; flex-direction: column; gap: 50px; align-items: center; }
    .why-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    /* 60% text / 40% image - photo doesn't need as much real estate as the about diagram */
    .why-cols { display: flex; gap: 32px; align-items: center; width: 100%; }
    .why-left { flex: 60 1 0; min-width: 0; display: flex; flex-direction: column; gap: 48px; }
    .why-desc { font-size: 24px; color: var(--text-primary); line-height: 1.4; max-width: 613px; }
    .why-features {
      display: flex; flex-wrap: wrap; gap-y: 24px; gap-x: 0; row-gap: 24px;
      justify-content: space-between;
    }
    .why-feature {
      display: flex; flex-direction: column; gap: 20px; width: calc(50% - 8px);
    }
    .why-feature p { font-size: 16px; color: var(--text-primary); line-height: 1.3; }
    /* Why Choose right column: 40% of section width, image fills 100% of column */
    .why-right {
      flex: 40 1 0;
      min-width: 0;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .why-right img {
      display: block;
      width: 100%;
      height: auto;
      max-width: 100%;
    }
    .why-contact { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
    .why-email { font-size: 16px; color: var(--text-primary); opacity: 0.8; }
    .why-email a { text-decoration: underline; }
    .why-email a:hover { color: var(--blue); }

    /* ===========================
       6. MEDICAL IMAGING SOLUTION
    =========================== */
    #how {
      background: var(--section-bg);
      padding: 140px 0;
    }
    #how .section-inner { display: flex; flex-direction: column; gap: 50px; align-items: center; }
    .how-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .how-steps { display: flex; gap: 32px; width: 100%; margin-bottom: 0; }
    .how-step { flex: 1; display: flex; flex-direction: column; gap: 16px; }
    .how-step-title { display: flex; align-items: center; gap: 16px; }
    .how-num {
      width: 42px; height: 42px; border-radius: 50%; background: var(--yellow);
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
      font-size: 22px; font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -1px;
    }
    .how-step-title h4 { font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
    .how-step p { font-size: 18px; color: var(--text-body); line-height: 1.4; }

    /* How diagram */
    .how-diagram {
      width: 100%;
      background: rgba(255,255,255,0.6);
      border-radius: 16px;
      position: relative;
      min-height: 270px;
      display: flex; gap: 0; align-items: stretch;
    }
    .how-diagram-mobile { display: none; }
    .how-col {
      flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 20px; padding: 32px 20px; position: relative;
    }
    .how-col::after {
      content: ''; position: absolute; right: 0; top: 50%;
      transform: translateY(-50%);
      width: 0; height: 60px;
    }
    .how-col:not(:last-child)::after {
      content: '→'; position: absolute; right: -16px; top: 50%;
      transform: translateY(-50%);
      font-size: 24px; color: var(--text-body); z-index: 2;
    }
    .diagram-card-sm {
      background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
      border: 12px solid #fff; border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1);
      display: flex; flex-direction: column; align-items: center; gap: 6px;
      padding: 12px 16px;
    }
    .diagram-card-sm img { width: 64px; height: 64px; object-fit: contain; }
    .diagram-card-sm span { font-size: 14px; font-weight: 600; color: var(--text-primary); text-align: center; }
    .how-sources {
      display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
    }
    .how-source {
      background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
      border: 8px solid #fff; border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05), 0 1px 4px rgba(48,97,227,.1);
      display: flex; flex-direction: column; align-items: center; gap: 2px;
      padding: 8px 20px; width: 90px;
    }
    .how-source img { width: 44px; height: 44px; object-fit: contain; }
    .how-source span { font-size: 10px; font-weight: 600; color: var(--text-primary); text-align: center; }
    .how-tags {
      background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
      border: 10px solid #fff; border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05);
      display: flex; gap: 16px; align-items: center; padding: 8px;
    }
    .how-tag-item { display: flex; flex-direction: column; align-items: center; gap: 7px; }
    .how-tag-item img { width: 32px; height: 32px; object-fit: contain; }
    .how-tag-item span { font-size: 10px; font-weight: 600; color: var(--text-primary); white-space: nowrap; }
    .how-sep { width: 3.5px; height: 21px; background: #e0e0e0; border-radius: 2px; }
    .how-viewer {
      background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
      border: 12px solid #fff; border-radius: 9px;
      box-shadow: 0 8px 4px rgba(48,97,227,.05);
      overflow: hidden;
    }
    .how-viewer img { width: 164px; height: 106px; object-fit: contain; }

    /* ===========================
       7. COMPLIANCES
    =========================== */
    #compliances {
      background: #fff;
      padding: 100px 0;
    }
    #compliances .section-inner { display: flex; flex-direction: column; gap: 50px; align-items: center; }
    .compliance-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .compliance-grid-row {
      display: flex; width: 100%;
    }
    .compliance-grid-row.top .compliance-cell { border-bottom: 1px solid var(--card-border); }
    .compliance-cell {
      flex: 1; display: flex; align-items: center; justify-content: center;
      padding: 40px 20px; height: 140px; overflow: hidden;
      border-right: 1px solid var(--card-border);
    }
    .compliance-cell:last-child { border-right: none; }
    .compliance-cell img { max-height: 80px; max-width: 140px; width: auto; height: auto; object-fit: contain; flex-shrink: 0; }

    /* ===========================
       8. TESTIMONIALS
    =========================== */
    #testimonials {
      background: var(--section-bg);
      padding: 120px 0;
      position: relative; overflow: hidden;
    }
    #testimonials .section-inner { display: flex; flex-direction: column; gap: 50px; align-items: center; }
    .testimonials-header { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
    .testimonials-header p { font-size: 24px; color: var(--text-primary); max-width: 810px; }
    .testimonials-grid { display: flex; gap: 32px; width: 100%; }
    .testimonial-card {
      background: #fff; border: 1px solid var(--card-border);
      border-radius: 20px; box-shadow: var(--card-shadow);
      padding: 32px; display: flex; flex-direction: column;
      justify-content: space-between; flex: 1;
      min-height: 440px;
    }
    .testimonial-card .stars { width: 116px; height: 19px; flex-shrink: 0; display: block; margin-bottom: 32px; }
    .testimonial-card blockquote {
      font-size: 18px; font-style: italic; color: var(--text-body);
      line-height: 1.4; flex: 1;
    }
    .testimonial-avatar { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
    .testimonial-avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
    .testimonial-avatar-name { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.5; }
    .testimonial-avatar-role { font-size: 16px; color: var(--text-body); line-height: 1.5; }
    .carousel-nav { display: flex; gap: 16px; align-items: center; }
    .carousel-btn {
      width: 56px; height: 56px; border-radius: 50%;
      background: #fff; border: 1px solid var(--card-border);
      box-shadow: var(--card-shadow);
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; transition: background .2s;
    }
    .carousel-btn:hover { background: var(--section-bg); }
    .carousel-btn img { width: 24px; height: 24px; }
    /* Disabled state: strip the white circle entirely, just show a faded arrow.
       Active state keeps the white circle + shadow. Applied with !important so
       the same treatment holds on mobile where global rules may otherwise fight. */
    .carousel-btn.is-disabled,
    .carousel-btn[disabled] {
      background: transparent !important;
      border-color: transparent !important;
      box-shadow: none !important;
      cursor: not-allowed;
      pointer-events: none;
    }
    .carousel-btn.is-disabled img,
    .carousel-btn[disabled] img { opacity: 0.35 !important; }

    /* ===========================
       9. NEWS & EVENTS
    =========================== */
    #news {
      background: #fff;
      padding: 100px 0;
    }
    #news .section-inner { display: flex; flex-direction: column; gap: 25px; align-items: center; }
    .news-header { display: flex; flex-direction: column; align-items: center; gap: 12px; }
    .news-grid { display: flex; gap: 32px; width: 100%; }
    /* News carousel */
    .news-carousel { width: 100%; overflow: hidden; }
    .news-track { display: flex; width: 100%; gap: 32px; transition: transform .4s ease; }
    .news-card { flex: 1; display: flex; flex-direction: column; gap: 24px; }
    .news-card-img { width: 100%; height: 220px; object-fit: cover; border-radius: 15px; }
    .news-card-body { display: flex; flex-direction: column; gap: 12px; }
    .news-card-body h4 { font-size: 20px; font-weight: 600; color: var(--text-primary); line-height: 1.3; }
    .news-card-body p { font-size: 16px; color: var(--text-body); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
    .read-more { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 18px; font-weight: 500; color: var(--blue); transition: color .2s; }
    .read-more:hover { color: var(--orange-hover); opacity: 1; }
    .read-more img { width: 12px; height: 24px; }

    /* ===========================
       10. CONTACT
    =========================== */
    #contact {
      background: var(--section-bg);
      padding: 140px 0;
      position: relative; overflow: hidden;
    }
    #contact .section-inner { position: relative; z-index: 1; }
    .contact-cols { display: flex; gap: 32px; align-items: stretch; }
    .contact-left {
      flex: 0 0 640px; display: flex; flex-direction: column;
      justify-content: space-between;
    }
    .contact-left-header { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
    .contact-left-header .section-title { text-align: left; font-size: 40px; }
    .contact-desc { font-size: 20px; color: var(--text-body); line-height: 1.3; max-width: 598px; }
    .contact-info-section { display: flex; flex-direction: column; gap: 40px; margin-top: 40px; }
    .contact-info-title {
      font-size: 32px; font-weight: 600; letter-spacing: -0.64px;
      background: var(--heading-gradient);
      -webkit-background-clip: text; background-clip: text;
      -webkit-text-fill-color: transparent; color: transparent;
    }
    .country-tabs { display: flex; gap: 12px; }
    .country-tab {
      padding: 12px 32px; border-radius: 10px; font-size: 18px; font-weight: 500;
      cursor: pointer; box-shadow: var(--card-shadow); border: none;
      transition: all .2s;
    }
    .country-tab.active {
      background: linear-gradient(221.592deg, rgb(82,119,218) 11.01%, rgb(0,0,0) 89.008%);
      color: #fff;
    }
    .country-tab:not(.active) { background: #fff; color: var(--text-primary); }
    .country-tab:not(.active):hover { color: var(--text-primary); opacity: .75; }
    .contact-items { display: flex; flex-direction: column; gap: 20px; }
    .contact-item { display: flex; align-items: center; gap: 12px; }
    /* Contact icons: floating yellow glyphs on light background — no box, border,
       or shadow. Matches Figma contact section (node 433:2368). */
    .contact-item-icon {
      width: 32px; height: 32px;
      display: flex; align-items: center; justify-content: center; flex-shrink: 0;
      background: transparent; border: none; box-shadow: none;
    }
    .contact-item-icon img { width: 32px; height: 32px; }
    .contact-item p { font-size: 16px; font-weight: 500; color: var(--text-primary); line-height: 1.3; }

    /* Subtitle sits close under "Get in Touch" (parent flex has 40px gap,
       so a negative margin-top pulls it up to ~8px below the title). */
    .contact-info-subtitle {
      margin-top: -32px;
      font-size: 16px;
      color: var(--text-body);
      line-height: 1.4;
    }

    /* Anchor-wrapped contact items (phone + email) inherit page text color
       and lose default underline; subtle opacity change on hover. */
    a.contact-item { text-decoration: none; color: inherit; cursor: pointer; transition: opacity .15s ease; }
    a.contact-item:hover { opacity: 0.7; }
    a.contact-item p { color: var(--text-primary); }

    /* Contact form */
    .contact-form {
      flex: 0 0 640px;
      background: var(--form-gradient);
      border-radius: 15px; box-shadow: var(--card-shadow);
      padding: 40px;
      display: flex; flex-direction: column; gap: 32px;
      /* Removes leftover whitespace when .form-status is hidden. Flex gap
         handles spacing between visible children; empty/hidden nodes
         contribute 0 space. */
    }
    .contact-form .form-status[hidden] { display: none; }

    /* ── choices.js: search dropdown for country field ─────────────────
       Style the library to match the rest of the form: white input,
       dark grey text, blue-tinted focus ring, drop-shadow on menu. */
    .contact-form .choices { margin-bottom: 0; }
    .contact-form .choices__inner {
      background: #fff;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 10px 16px 10px 16px;
      font-size: 16px;
      color: var(--text-body);
      font-family: 'Inter', sans-serif;
      min-height: 46px;
    }
    .contact-form .choices__list--single { padding: 0; }
    .contact-form .choices[data-type*="select-one"]::after {
      right: 16px;
      border-color: #757373 transparent transparent;
    }
    .contact-form .choices__list--dropdown,
    .contact-form .choices__list[aria-expanded] {
      border: 1px solid var(--card-border);
      border-radius: 10px;
      box-shadow: 0 12px 32px rgba(80,100,140,.15);
      margin-top: 4px;
      z-index: 10;
    }
    .contact-form .choices__list--dropdown .choices__item--selectable {
      padding: 10px 16px;
      font-size: 15px;
      color: var(--text-body);
    }
    .contact-form .choices__list--dropdown .choices__item--selectable.is-highlighted {
      background: rgba(48,97,227,0.1);
      color: var(--blue);
    }
    .contact-form .choices__input {
      background: transparent;
      color: var(--text-body);
      font-size: 15px;
      padding: 10px 16px;
    }
    .contact-form .choices__placeholder { opacity: 0.6; }

    /* ── intl-tel-input: phone with country code dropdown ─────────────
       Match input styling to the rest of the form fields. */
    .contact-form .iti { width: 100%; display: block; }
    .contact-form .iti__tel-input,
    .contact-form .iti input[type="tel"] {
      background: #fff;
      border: 1px solid var(--card-border);
      border-radius: 10px;
      padding: 12px 16px;
      font-size: 16px;
      color: var(--text-body);
      font-family: 'Inter', sans-serif;
      width: 100%;
    }
    .contact-form .iti--separate-dial-code .iti__selected-flag {
      background-color: #f5f5f5;
      border-top-left-radius: 10px;
      border-bottom-left-radius: 10px;
    }
    .contact-form .iti__country-list {
      border: 1px solid var(--card-border);
      border-radius: 10px;
      box-shadow: 0 12px 32px rgba(80,100,140,.15);
      max-height: 260px;
    }
    .contact-form .iti__country.iti__highlight { background: rgba(48,97,227,0.1); }
    /* Form status message (Web3Forms submission feedback + inline validation).
       Placed inside .contact-form after the CTA button, so it appears below
       the "Contact Us" button on both desktop and mobile. Both variants use
       solid backgrounds + accessible dark text (WCAG AAA contrast ratios). */
    .form-status {
      padding: 16px 20px;
      border-radius: 10px;
      font-size: 15px;
      line-height: 1.5;
      font-weight: 500;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .form-status::before {
      content: "";
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      margin-top: 1px;
    }
    /* Error: light red bg, dark red text, warning triangle icon.
       Contrast: #991B1B on #FEE2E2 = 7.5:1 (AAA). */
    .form-status--error {
      background: #FEE2E2;
      color: #991B1B;
      border: 1px solid #FCA5A5;
    }
    .form-status--error::before {
      background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23991B1B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86 1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    }
    /* Success: light green bg, dark green text, check-circle icon.
       Contrast: #14532D on #DCFCE7 = 8.9:1 (AAA). */
    .form-status--success {
      background: #DCFCE7;
      color: #14532D;
      border: 1px solid #86EFAC;
    }
    .form-status--success::before {
      background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314532D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E");
    }
    .contact-form button[type="submit"]:disabled {
      opacity: 0.6;
      cursor: not-allowed;
    }
    .form-row { display: flex; gap: 40px; }
    .form-group {
      display: flex; flex-direction: column; gap: 8px; flex: 1;
    }
    .form-group label { font-size: 20px; color: #fff; line-height: 1.3; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      background: #fff; border: 1px solid var(--card-border);
      border-radius: 10px; padding: 12px 16px;
      font-size: 16px; color: var(--text-body);
      font-family: 'Inter', sans-serif;
      outline: none;
      transition: border-color .2s;
      width: 100%;
    }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
      border-color: var(--blue);
    }
    .form-group textarea { height: 192px; resize: none; }
    .form-group input::placeholder, .form-group textarea::placeholder { color: #757373; }
    .form-footer { display: flex; align-items: center; justify-content: space-between; }
    .form-checkbox { display: flex; align-items: center; gap: 12px; }
    .form-checkbox input[type="checkbox"] {
      width: 18px; height: 18px; border-radius: 2px; cursor: pointer; accent-color: var(--blue);
    }
    .form-checkbox label { font-size: 16px; color: #fff; cursor: pointer; }
    .form-checkbox label a { text-decoration: underline; color: #fff; }

    /* ===========================
       11. JOIN OUR TEAM + FOOTER
    =========================== */
    #footer {
      background: #fff;
      padding: 100px 0 0;
    }
    #footer .section-inner { display: flex; flex-direction: column; gap: 60px; }
    .join-team {
      border-radius: 20px;
      background: var(--join-gradient);
      padding: 64px; position: relative; overflow: hidden;
      display: flex; align-items: center; justify-content: center;
      min-height: 280px;
    }
    .join-content {
      display: flex; flex-direction: column; gap: 20px; align-items: center;
      position: relative; z-index: 2;
    }
    .join-header { display: flex; flex-direction: column; gap: 12px; align-items: center; }
    .join-title { font-size: 40px; font-weight: 600; color: #fff; line-height: 1.1; letter-spacing: -2px; text-align: center; }
    .join-subtitle { font-size: 20px; color: #fff; text-align: center; max-width: 487px; line-height: 1.3; }

    /* Footer bottom - Variant E (Igor approved 2026-07-02).
       Maxed-out: 120px whitespace above, 900px min height, PNG stretched to
       fill, content pushed 600px down so it sits deep in the near-black zone.
       Uses PNG for quality (WebP was reducing sharpness per Igor). */
    .footer-bottom {
      margin-top: 120px;
      background: url("footer-bg.png") top center / 100% 100% no-repeat, #0c1b25;
      padding: 600px 64px 80px;
      min-height: 900px;
      border-radius: 0;
    }
    .footer-inner-wrap { max-width: 1312px; margin: 0 auto; }
    .footer-main {
      display: flex; justify-content: space-between; align-items: flex-start;
      padding-bottom: 40px;
    }
    .footer-brand { max-width: 446px; }
    .footer-logo { height: 40px; width: auto; margin-bottom: 24px; }
    .footer-desc { font-size: 16px; color: var(--text-muted); line-height: 1.3; margin-bottom: 8px; }
    .footer-tagline { font-size: 16px; color: var(--text-muted); line-height: 1.3; }
    .footer-links { display: flex; gap: 100px; }
    .footer-col h5 { font-size: 20px; font-weight: 500; color: #fff; margin-bottom: 20px; }
    .footer-col a {
      display: block; font-size: 16px; color: var(--text-muted);
      margin-bottom: 20px; transition: color .2s;
    }
    .footer-col a:hover { color: var(--yellow); }
    .footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin: 0; }
    .footer-copyright {
      display: flex; justify-content: space-between; align-items: center;
      padding-top: 20px;
    }
    .footer-copyright p { font-size: 14px; color: var(--text-muted); }
    .footer-social { display: flex; gap: 10px; }
    .social-icon {
      width: 36px; height: 36px;
      background: rgba(255,255,255,0.10);
      border: 1px solid rgba(255,255,255,0.18);
      border-radius: 50%;
      cursor: pointer;
      transition: background .2s, border-color .2s, transform .2s;
      display: flex; align-items: center; justify-content: center;
      text-decoration: none;
      color: #ffffff;
    }
    .social-icon:hover {
      background: rgba(255,255,255,0.22);
      border-color: rgba(255,255,255,0.35);
      transform: translateY(-1px);
    }
    .social-icon svg { width: 16px; height: 16px; fill: currentColor; transition: fill .2s; display: block; }
    .social-icon svg .x-icon { fill: currentColor; transition: fill .2s; }
    .social-icon:focus-visible { outline: 2px solid #ffffff; outline-offset: 2px; }
    .footer-legal { display: flex; align-items: center; gap: 12px; }
    .footer-legal a { font-size: 14px; color: var(--text-muted); transition: color .2s; }
    .footer-legal a:hover { color: var(--yellow); }
    .footer-legal span { font-size: 14px; color: var(--text-muted); }


    /* ── Product tab panels ── */
    .tab-panel { display: none; width: 100%; }
    .tab-panel.active { display: flex; flex-wrap: wrap; gap: 32px; }

    /* ── Testimonial carousel ── */
    .testimonials-carousel { width: 100%; overflow: hidden; }
    .testimonials-track { display: flex; width: 100%; gap: 32px; transition: transform .4s ease; }

    /* ── Country contact panels ── */
    .country-content { display: none; }
    .country-content.active { display: flex; flex-direction: column; gap: 20px; }

    /* ── Select field fix ── */
    .form-group select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23757373' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }

    /* ── Products dropdown in nav ── */
    .nav-dropdown { position: relative; }
    .nav-dropdown-trigger {
      display: inline-flex !important; align-items: center; gap: 6px;
      cursor: pointer;
      /* Reset button defaults so <button> trigger matches <a> visually */
      background: transparent; border: 0; padding: 0; margin: 0;
      font: inherit; color: inherit; font-weight: inherit;
    }
    .nav-dropdown-trigger:focus-visible { outline: 2px solid var(--blue, #2940da); outline-offset: 2px; border-radius: 4px; }
    .nav-chevron { transition: transform .2s; flex-shrink: 0; position: relative; top: 2px; }
    .nav-submenu {
      position: absolute; top: calc(100% + 12px); left: 50%;
      transform: translateX(-50%) translateY(-4px);
      background: #fff; border: 1px solid var(--card-border); border-radius: 12px;
      box-shadow: 0 4px 8px rgba(80,100,140,.08), 0 16px 40px rgba(80,100,140,.14);
      padding: 14px; min-width: 240px;
      display: flex; flex-direction: column;
      list-style: none; margin: 0;
      opacity: 0; visibility: hidden; pointer-events: none;
      transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
      z-index: 100;
    }
    /* Invisible hover bridge between trigger and submenu */
    .nav-submenu::before {
      content: ""; position: absolute; top: -16px; left: -8px; right: -8px; height: 16px;
    }
    .nav-submenu li { padding: 0; }
    .nav-submenu a {
      display: block !important; padding: 18px 21px; border-radius: 8px;
      color: var(--text-primary) !important; font-size: 15px; font-weight: 500;
      text-decoration: none; white-space: nowrap;
      transition: background .15s, color .15s;
    }
    /* Generous gap between submenu items (Igor: 1.5x normal density, visible hierarchy) */
    .nav-submenu li + li { margin-top: 6px; }
    /* Sub-menu hover: light orange bg + dark orange text - WCAG AA passing (7.2:1) */
    .nav-submenu a:hover {
      background: #fff4e0;
      color: #b8530a !important;
    }
    .nav-dropdown:hover .nav-submenu,
    .nav-dropdown:focus-within .nav-submenu {
      opacity: 1; visibility: visible; pointer-events: auto;
      transform: translateX(-50%) translateY(0);
    }
    .nav-dropdown:hover .nav-chevron,
    .nav-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }

    /* ── Burger menu (mobile nav trigger) ── */
    .burger {
      display: none;
      width: 44px; height: 44px;
      border: none; background: transparent;
      cursor: pointer; padding: 12px 10px;
      position: relative; z-index: 1001;
      align-items: center; justify-content: center;
      flex-direction: column; gap: 6px;
    }
    .burger span {
      display: block; width: 24px; height: 2px;
      background: #fff; border-radius: 2px;
      flex: none;
      transition: transform .25s ease, opacity .25s ease, background .2s ease;
      transform-origin: center;
    }
    .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    /* Mobile menu overlay */
    .mobile-menu {
      position: fixed; inset: 0;
      background: var(--hero-bg);
      z-index: 1000;
      padding: 88px 24px 40px;
      display: flex; flex-direction: column; gap: 4px;
      overflow-y: auto;
      transform: translateY(-100%);
      opacity: 0; visibility: hidden;
      transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
    }
    .mobile-menu.is-open {
      transform: translateY(0); opacity: 1; visibility: visible;
    }
    .mobile-menu-close {
      position: absolute; top: 18px; right: 20px;
      width: 44px; height: 44px;
      border: 1px solid rgba(255,255,255,.3); background: transparent;
      color: #fff; font-size: 28px; line-height: 1;
      border-radius: 50%; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      z-index: 1002;
    }
    .mobile-menu-close:hover { background: rgba(255,255,255,.1); }
    .mobile-menu a {
      color: #fff; font-size: 22px; font-weight: 500;
      padding: 16px 8px; border-bottom: 1px solid rgba(255,255,255,.08);
      display: block;
    }

    /* Collapsible Products group */
    .mobile-menu .mobile-menu-group { display: block; }
    .mobile-menu-trigger {
      display: flex; align-items: center; justify-content: space-between;
      width: 100%; padding: 16px 8px;
      background: transparent; border: none;
      border-bottom: 1px solid rgba(255,255,255,.08);
      color: #fff; font-size: 22px; font-weight: 500;
      font-family: inherit; text-align: left; cursor: pointer;
      transition: color .15s;
    }
    .mobile-menu-trigger .mobile-chevron {
      display: inline-block; width: 14px; height: 14px;
      border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
      transform: rotate(45deg); margin-right: 4px;
      transition: transform .2s ease, color .2s ease;
    }
    /* Expanded state: orange parent + flipped chevron */
    .mobile-menu-trigger[aria-expanded="true"] { color: #ff9c1f; }
    .mobile-menu-trigger[aria-expanded="true"] .mobile-chevron {
      transform: rotate(-135deg); margin-right: 0; margin-top: 6px;
    }

    .mobile-menu .mobile-sub {
      padding-left: 20px;
      overflow: hidden;
      max-height: 0;
      transition: max-height .25s ease;
    }
    .mobile-menu-trigger[aria-expanded="true"] + .mobile-sub {
      max-height: 400px;
    }
    .mobile-menu .mobile-sub a {
      font-size: 17px; font-weight: 400; color: rgba(255,255,255,.85);
      border-bottom: 1px solid rgba(255,255,255,.05);
    }

    .mobile-menu-cta {
      margin-top: 24px;
      display: flex; flex-direction: column; gap: 12px;
    }
    /* Mobile CTA buttons: identical sizing + centering for both yellow and outline.
       Override the .mobile-menu a { display: block } rule that was hijacking text alignment. */
    .mobile-menu-cta .btn-yellow,
    .mobile-menu-cta .btn-outline-white {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      height: 52px;
      padding: 0 28px;
      font-size: 18px;
      font-weight: 500;
      text-align: center;
      border-radius: 100px;
      border-bottom: none;
      box-sizing: border-box;
      gap: 10px;
    }
    .mobile-menu-cta .btn-yellow { background: var(--yellow); color: var(--text-primary); }
    .mobile-menu-cta .btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.8); }
    body.menu-open { overflow: hidden; }

    /* ===========================
       RESPONSIVE
    =========================== */
    @media (max-width: 1200px) {
      .section-inner { padding: 0 40px; }
      nav { padding: 24px 40px; }
      .hero-content { padding: 0 40px; padding-top: 44px; }
      .stats-bar { padding: 0 40px; }
      .about-inner { padding: 0 40px; }
      /* Preserve section ratios at 1200px breakpoint (About 30/70, Why 60/40) */
      .about-right { flex: 70 1 0; }
      .about-left { flex: 30 1 0; }
      .why-right { flex: 40 1 0; }
      .why-left { flex: 60 1 0; }
      .contact-left { flex: 0 0 500px; }
      .contact-form { flex: 0 0 500px; }
    }

    @media (max-width: 1024px) {
      .hero-title { font-size: 48px; }
      nav { padding: 20px 32px; flex-wrap: wrap; gap: 12px; }
      .nav-links { font-size: 14px; gap: 20px; padding: 10px 20px; }
      .about-cols { flex-direction: column; }
      .about-right { width: 100%; height: auto; flex: none; justify-content: center; }
      .about-right > .about-diagram { width: 100%; height: auto; }
      .about-left { flex: none; width: 100%; }
      .why-cols { flex-direction: column; }
      .why-right { flex: none; width: 100%; height: auto; justify-content: center; }
      .why-right img { width: 100%; height: auto; }
      .why-left { flex: none; width: 100%; }
      .contact-cols { flex-direction: column; }
      .contact-left { flex: none; }
      .contact-form { flex: none; width: 100%; }
    }

    @media (max-width: 768px) {
      /* ── Side padding: always 20px on mobile ── */
      .section-inner { padding: 0 20px; }
      .about-inner { padding: 0 20px; }
      #why .section-inner { padding: 0 20px; }
      .hero-content { padding: 0 20px; padding-top: 30px; }
      .stats-bar { padding: 0 20px; flex-direction: column; gap: 16px; transform: none; margin-top: 40px; }
      nav { padding: 16px 20px; gap: 16px; }

      /* ── Headings ── */
      .hero-title { font-size: 32px; line-height: 1.15; }
      .hero-subtitle { font-size: 17px; }
      /* H2: -2px to keep section H2 wrapping to a max of 4 lines on small screens */
      .section-title { font-size: 30px; letter-spacing: -1px; line-height: 1.15; }
      .contact-left-header .section-title { font-size: 30px; }
      /* Subheadings beneath H2: 19px, consistent across all sections on mobile */
      .section-title + p,
      .testimonials-header p,
      .events-header p,
      .about-lead,
      .why-desc { font-size: 19px; line-height: 1.4; text-align: center; }
      /* Contact section left-aligned (eyebrow + title + subtitle all match)
         Note: .contact-left-header .contact-desc has higher specificity than
         .section-title + p so it overrides the centering rule above. */
      .contact-left-header { align-items: flex-start; text-align: left; }
      .contact-left-header .badge { align-self: flex-start; }
      .contact-left-header .section-title { text-align: left; }
      .contact-left-header .contact-desc { font-size: 19px; line-height: 1.4; text-align: left; }
      /* Tighter gap between H2 block and following content on mobile */
      .about-header { margin-bottom: 16px; }

      /* ── "Our Medical Imaging Solution" left-aligned (eyebrow + title + subtitle all match) ── */
      .how-header { align-items: flex-start; text-align: left; }
      .how-header .section-title { text-align: left; }
      .how-header p { text-align: left; }

      /* ── Hero / sections ── */
      .stat-card { width: 100%; }
      #hero { min-height: auto; padding-bottom: 40px; }
      #about { padding: 60px 0; }

      /* ── Buttons: full width, 50px tall (nav button kept inline) ── */
      .btn-yellow {
        width: 100%;
        height: 50px;
        padding: 0 16px;
        justify-content: center;
      }
      .btn-yellow .btn-arrow { width: 14px; height: 14px; }
      nav .btn-outline-white { width: auto; }

      /* ── Product logos: 2-column grid (target tab-panel since cards live there) ── */
      .products-grid { gap: 16px; }
      .tab-panel.active { gap: 16px; }
      .product-card { width: calc(50% - 8px); height: 140px; }

      /* ── Event card stacks ── */
      .events-grid { grid-template-columns: 1fr; gap: 20px; }
      .event-card { flex-direction: column; }
      .event-img { width: 100%; border-radius: 10px 10px 0 0; height: 220px; }

      /* ── News carousel: 1 card visible ── */
      .news-grid { flex-direction: column; }
      .news-track { gap: 16px; }
      .news-card { width: 100%; }

      /* ── Testimonials carousel: 1 card visible ── */
      .testimonials-track { gap: 16px; }
      .testimonial-card { min-height: auto; }
      .testimonials-grid { flex-direction: column; }

      /* ── Brochure banner: stack vertically, centered ── */
      .brochure-banner {
        flex-direction: column;
        height: auto;
        padding: 32px 24px;
        gap: 24px;
        align-items: center;
        text-align: center;
      }
      .brochure-banner h3 { font-size: 24px; text-align: center; }

      /* ── Contact form: 1 field per row, uniform 26px gaps, button below checkbox ── */
      .contact-form { padding: 24px; gap: 26px; }
      .contact-form > div { gap: 26px !important; }
      .form-row { flex-direction: column; gap: 26px; }
      .form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 26px;
      }
      .form-footer .btn-yellow { width: 100%; }

      /* ── Footer / misc ── */
      .footer-main { flex-direction: column; gap: 40px; }
      .footer-links { gap: 40px; flex-direction: column; }
      /* Mobile footer - top padding lets the MedSynaptic intro text sit
         inside the dark portion of the PNG background. V4 chosen 2026-07-03
         after previewing 5 variants; text remains legible on dark. */
      .footer-bottom { padding: 140px 20px 40px; margin-top: 20px; min-height: 0; }
      .footer-inner-wrap { max-width: 100%; }
      .join-team { padding: 40px 20px; }
      .how-steps { flex-direction: column; }
      /* On mobile, replace the multi-column diagram with a single illustrated SVG. */
      .how-diagram { display: none; }
      .how-diagram-mobile {
        display: block;
        width: 100%;
        background: rgba(255,255,255,0.6);
        border-radius: 16px;
        padding: 16px;
      }
      .how-diagram-mobile img { display: block; width: 100%; height: auto; }
      /* Kept for reference in case desktop-diagram is force-shown: */
      .how-diagram--stacked { flex-direction: column; min-height: 0; padding: 20px; gap: 40px; }
      .how-col { padding: 20px 16px; gap: 16px; }
      .how-col:not(:last-child)::after {
        content: '↓';
        position: absolute;
        left: 50%; right: auto;
        bottom: -32px; top: auto;
        transform: translateX(-50%);
        font-size: 24px; line-height: 1;
        color: var(--text-body);
      }
      .diagram-card-sm { padding: 10px 14px; }
      .diagram-card-sm img { width: 48px; height: 48px; }
      .how-sources, .how-tags { flex-wrap: wrap; justify-content: center; }
      .compliance-grid-row { flex-wrap: wrap; }
      .compliance-cell { width: calc(100% / 3); flex: 0 0 calc(100% / 3); }
      .footer-copyright { flex-direction: column; gap: 16px; text-align: center; }

      /* ── Mobile nav: hide desktop nav, show burger, make sticky ── */
      .nav-links { display: none; }
      nav .btn-outline-white { display: none; }
      .burger { display: flex; }
      nav {
        position: sticky; top: 0;
        background: var(--hero-bg);
        max-width: 100%; width: 100%;
      }
      nav.scrolled { background: #fff; }
      nav.scrolled .burger span { background: #1f1f1f; }

      /* ── Hero bg image: keep visible on mobile like desktop ── */
      .hero-bg-img {
        width: 100%;
        opacity: 1;
        object-position: center;
        mix-blend-mode: lighten;
      }
      .hero-overlay-left {
        width: 100%;
        background: linear-gradient(180deg, var(--hero-bg) 30%, transparent 100%);
      }

      /* ── Product tabs: single line, tighter spacing ── */
      .products-tabs { gap: 4px; padding: 4px; }
      .tab { padding: 7px 12px; font-size: 14px; white-space: nowrap; }

      /* ── Product card: tighter inner padding, image stays inside ── */
      .product-card { padding: 12px; height: 130px; gap: 8px; }
      .product-card img { max-width: calc(100% - 8px); max-height: 44px; }
      .product-card span { font-size: 14px; }

      /* ── Section vertical spacing standardised ── */
      #about, #events, #products, #why, #how, #compliances, #testimonials, #news, #contact {
        padding: 60px 0;
      }
      #hero { padding: 0 0 40px; }
      #footer { padding: 60px 0 0; }

      /* ── Footer: center-aligned on mobile ── */
      .footer-main { align-items: center; text-align: center; }
      .footer-brand { max-width: 100%; }
      .footer-logo { margin-left: auto; margin-right: auto; }
      .footer-col { align-items: center; text-align: center; display: flex; flex-direction: column; }
      .footer-col h5 { text-align: center; }
      .footer-col a { text-align: center; }
      .footer-copyright { text-align: center; }

      /* ── Defensive: kill any horizontal overflow on common containers ── */
      .section-inner,
      .about-inner,
      .hero-content,
      .stats-bar,
      .footer-bottom,
      .footer-inner-wrap,
      #footer .section-inner,
      .form-row,
      .testimonials-grid,
      .news-grid,
      .why-cols { max-width: 100vw; box-sizing: border-box; }
    }
    @media (max-width: 480px) {
      .product-card { width: calc(50% - 8px); }
      .compliance-cell { width: 50%; flex: 0 0 50%; }
    }

/* ============================================================
   ABOUT US PAGE (about-us/index.html) - specific sections.
   Reuses: nav, mobile menu, contact, footer, btn-yellow, badge,
           section-title, btn-outline-white, all type sizes.
   Adds:   page hero, intro block pattern, founder card, mission/vision.
============================================================ */

/* Page hero - full-bleed image with brand dark overlay (no content) */
.page-hero {
  position: relative;
  width: 100%;
  height: 720px;
  overflow: hidden;
  background: var(--hero-bg);
  border-radius: 0 0 24px 24px;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,21,69,.55) 0%, rgba(11,21,69,.25) 40%, rgba(11,21,69,.65) 100%);
  pointer-events: none;
}
/* Reserve nav space at the top, fits sticky nav cleanly */

/* About page intro section (Pan Asia Leader + 2 content blocks) */
.aboutpage-intro {
  padding: 100px 0 60px;
  background: #fff;
}
.aboutpage-header {
  text-align: center;
  margin-bottom: 64px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.aboutpage-header h1.section-title {
  max-width: 720px;
}

/* Reusable text+image block (alternates left/right) */
.aboutpage-block {
  display: flex;
  gap: 32px;
  align-items: center;
  width: 100%;
  margin-bottom: 50px;
}
.aboutpage-block:last-child { margin-bottom: 0; }
.aboutpage-block--reverse { flex-direction: row-reverse; }
.aboutpage-block .block-text {
  flex: 1 1 0;
  min-width: 0;
  display: flex; flex-direction: column; gap: 32px;
}
.aboutpage-block .block-text p {
  font-size: 18px; line-height: 1.5; color: var(--text-primary); margin: 0;
}
.aboutpage-block .block-text p.lead {
  font-size: 22px; line-height: 1.35; font-weight: 400;
}
.aboutpage-block .block-text p strong { font-weight: 600; }
.aboutpage-block .block-image {
  flex: 1 1 0;
  min-width: 0;
  display: flex; justify-content: center; align-items: center;
}
/* Image renders at natural aspect ratio. Scales proportionally to column
   width. No container, no background, no crop, no stretch. */
.aboutpage-block .block-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 16px;
}

/* Founder block variant (Dr Ashish): image at native 640x500, text flexes,
   56px gap. Preview B selected 2026-07-03. */
.aboutpage-block:has(.block-image--founder) { gap: 56px; }
.aboutpage-block .block-image--founder {
  flex: 0 0 auto;
  min-width: 0;
  display: block;
}
.aboutpage-block .block-image--founder img {
  display: block;
  width: 640px;
  height: 500px;
  max-width: 100%;
  border-radius: 16px;
}
@media (max-width: 1100px) {
  .aboutpage-block .block-image--founder img {
    width: 100%;
    height: auto;
    max-width: 528px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0 auto;
  }
}

/* Contact CTA centered below intro */
.aboutpage-cta-row {
  display: flex; justify-content: center;
  margin-top: 50px;
}

/* Founder section (Dr Ashish Dhawad) - dark card style */
.founder-section {
  padding: 90px 0;
  background: #f9fbff;
}
.founder-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}

/* Mission + Vision cards row */
.aboutpage-pillars {
  display: flex; gap: 32px;
  margin-top: 50px;
  width: 100%;
}
.pillar-card {
  flex: 1 1 0;
  min-width: 0;
  background: #fff;
  border: 1px solid #f1f6fc;
  border-radius: 16px;
  padding: 32px;
  display: flex; gap: 20px; align-items: flex-start;
  box-shadow:
    0 25px 25px rgba(189,208,233,0.07),
    0 6px 14px rgba(189,233,218,0.08);
}
.pillar-icon {
  width: 60px; height: 60px;
  border-radius: 8px;
  background: #fffaf1;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pillar-icon img { width: 28px; height: 28px; display: block; }
.pillar-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pillar-body h3 {
  font-size: 20px; font-weight: 600; color: var(--text-primary); margin: 0;
}
.pillar-body p {
  font-size: 17px; color: var(--text-body); line-height: 1.4; margin: 0;
}

/* ============================================================
   ABOUT US PAGE - responsive
============================================================ */
@media (max-width: 1024px) {
  .page-hero { height: 520px; }
  .aboutpage-intro { padding: 64px 0 40px; }
  .aboutpage-header { margin-bottom: 40px; }
  .aboutpage-block { flex-direction: column; gap: 24px; margin-bottom: 40px; }
  .aboutpage-block--reverse { flex-direction: column; }
  .aboutpage-block .block-text,
  .aboutpage-block .block-image { width: 100%; flex: none; }
  .aboutpage-block .block-image img { aspect-ratio: 16/10; }
  .founder-section { padding: 56px 0; }
  .founder-header { margin-bottom: 32px; }
  .aboutpage-pillars { flex-direction: column; gap: 16px; margin-top: 32px; }
}

@media (max-width: 768px) {
  .page-hero { height: 380px; border-radius: 0 0 16px 16px; }
  .aboutpage-intro { padding: 48px 0 32px; }
  .aboutpage-header { gap: 12px; margin-bottom: 28px; }
  .aboutpage-block .block-text { gap: 20px; }
  .aboutpage-block .block-text p { font-size: 16px; line-height: 1.5; }
  .aboutpage-block .block-text p.lead { font-size: 19px; line-height: 1.4; }
  .aboutpage-block .block-image img { border-radius: 12px; }
  .aboutpage-cta-row { margin-top: 32px; }
  .aboutpage-cta-row .btn-yellow { width: 100%; }
  .founder-section { padding: 40px 0; }
  .pillar-card { padding: 24px; gap: 16px; }
  .pillar-icon { width: 52px; height: 52px; }
  .pillar-icon img { width: 24px; height: 24px; }
  .pillar-body h3 { font-size: 18px; }
  .pillar-body p { font-size: 16px; }
}

/* ============================================================
   OUR CUSTOMERS PAGE (our-customers/index.html)
   Reuses: nav, mobile menu, contact, footer, badge, section-title.
   Adds:   region tabs, logo grid (6-col desktop, 3/2 mobile).
============================================================ */

.customers-section {
  padding: 100px 0 80px;
  background: #fff;
}
.customers-header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 40px;
}

/* Region pill tabs (India / Asia / Middle East & Africa)
   Matches the .products-tabs pattern used on the homepage Products section
   for visual consistency across the site (blue-to-black gradient active state). */
.region-tabs {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #f4f6fb;
  border-radius: 1000px;
  padding: 5px;
  width: fit-content;
  margin: 0 auto 40px;
}
.region-tab {
  font-family: inherit;
  font-size: 16px;
  font-weight: 500;
  padding: 7px 20px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: var(--text-primary, #1f1f1f);
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.region-tab:hover:not(.active) { background: rgba(0,0,0,.05); }
.region-tab.active {
  background: linear-gradient(214.759deg, rgb(82,119,218) 14.52%, rgb(0,0,0) 99.703%);
  color: #fff;
}

/* Annual Return page - reuses the region-tab pattern from Our Customers
   (blue→black gradient active state) so visual language stays consistent. */
.annual-return-section { padding: 80px 0; }
.annual-return-header { text-align: center; max-width: 760px; margin: 0 auto 40px; }
.annual-return-header .section-title { margin-top: 12px; margin-bottom: 16px; }
.annual-return-intro { color: var(--text-body, #4b5163); font-size: 16px; line-height: 1.7; margin: 0; }
.annual-return-tabs {
  display: flex; align-items: center; gap: 20px;
  background: #f4f6fb; border-radius: 1000px; padding: 5px;
  width: fit-content; margin: 40px auto 32px;
}
.annual-tab {
  font-family: inherit; font-size: 16px; font-weight: 500;
  padding: 7px 20px; border-radius: 20px; border: none;
  background: transparent; color: var(--text-primary, #1f1f1f);
  cursor: pointer; transition: all .2s; white-space: nowrap;
}
.annual-tab:hover:not(.active) { background: rgba(0,0,0,.05); }
.annual-tab.active {
  background: linear-gradient(214.759deg, rgb(82,119,218) 14.52%, rgb(0,0,0) 99.703%);
  color: #fff;
}
.annual-return-panel[hidden] { display: none; }
.annual-return-panel { max-width: 760px; margin: 0 auto; }
.annual-return-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.annual-card {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: #fff; border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 12px; text-decoration: none; color: var(--text-primary, #1f1f1f);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.annual-card:hover { border-color: var(--blue, #2940da); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(80,100,140,.08); }
.annual-card h3 { margin: 0; font-size: 17px; font-weight: 600; }
.annual-card .download-icon { width: 22px; height: 22px; color: var(--blue, #2940da); }
.annual-return-empty { text-align: center; color: var(--text-muted, #6b7280); padding: 32px 16px; margin: 0; }
@media (max-width: 640px) {
  .annual-return-tabs { width: 100%; flex-direction: column; }
  .annual-tab { width: 100%; }
}
.region-tab:focus-visible {
  outline: 2px solid var(--blue, #2940da);
  outline-offset: 2px;
}

/* Logo grid - 6 columns desktop. Cells own all borders (not container) so
   empty grid slots stay invisible (e.g. Technology Partners has only 4 logos
   in a 6-col grid - no redundant lines beyond Intel). Negative margins make
   adjacent cell borders overlap into single 1px lines. */
.customers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}
/* Variant for tabs with fewer logos than 6 (Technology Partners has 4) -
   render exactly N columns and center the whole grid in the section. */
.customers-grid--center {
  grid-template-columns: repeat(4, minmax(160px, 220px));
  justify-content: center;
}
.customer-cell {
  height: 140px;
  display: flex; align-items: center; justify-content: center;
  padding: 28px 24px;
  border: 1px solid #f1f6fc;
  margin: -1px 0 0 -1px;
  background: #fff;
  transition: background .15s;
}
.customer-cell:hover { background: #fafbff; }
.customer-cell img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  display: block;
  object-fit: contain;
  filter: saturate(.9);
  transition: filter .15s;
}
.customer-cell:hover img { filter: saturate(1); }

/* Tabpanel toggling */
.customers-panel { display: none; }
.customers-panel.active { display: block; }

/* Empty state for not-yet-populated regions */
.customers-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--text-body, #46474f);
  font-size: 17px;
  border-top: 1px solid #f1f6fc;
}

/* ============================================================
   OUR CUSTOMERS - responsive
============================================================ */
@media (max-width: 1024px) {
  .customers-section { padding: 64px 0 56px; }
  .customers-grid { grid-template-columns: repeat(4, 1fr); }
  .customer-cell { height: 120px; padding: 20px 16px; }
}

@media (max-width: 768px) {
  .customers-section { padding: 48px 0 40px; }
  .customers-header { margin-bottom: 28px; }
  .region-tabs { width: 100%; justify-content: center; flex-wrap: wrap; }
  .region-tab { font-size: 14px; padding: 8px 14px; }
  .customers-grid { grid-template-columns: repeat(3, 1fr); }
  .customer-cell { height: 100px; padding: 16px 12px; }
}

@media (max-width: 480px) {
  .customers-grid { grid-template-columns: repeat(2, 1fr); }
  .customer-cell { height: 90px; padding: 14px 10px; }
}

/* ============================================================
   LIGHT MODE NAV (subpages on white background)
   Activated by <body class="page-light"> on About Us, Our Customers, etc.
   Homepage keeps default dark-over-hero nav unchanged.
   - Full-width white bar with slight shadow (no max-width clip on the bg)
   - No dark pill behind the links (which would make text invisible)
   - Black outlined Live Tech Support button
============================================================ */

/* Reserve nav clearance at the top of the page (since no dark hero behind it). */
body.page-light { padding-top: 88px; }

body.page-light nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  background: #fff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, .07);
  z-index: 100;
  /* Auto-pad so internal flex items stay clustered around the 1440px center,
     even as the white bar fills full viewport width. Elements don't spread. */
  padding-left: max(64px, calc((100vw - 1440px) / 2 + 64px));
  padding-right: max(64px, calc((100vw - 1440px) / 2 + 64px));
}

/* Remove the dark pill background around the nav links (it was hiding them on white).
   Links sit directly on the white bar - no container, no padding pill. */
body.page-light nav .nav-links {
  background: transparent;
  padding: 0;
  border-radius: 0;
}

/* Nav links: dark on white, brand orange on hover (matches mega-menu + submenu hover) */
body.page-light nav .nav-links a,
body.page-light nav .nav-dropdown-trigger {
  color: var(--text-primary, #1f1f1f);
}
body.page-light nav .nav-links a:hover,
body.page-light nav .nav-dropdown-trigger:hover {
  color: #b8530a;
}
body.page-light nav .nav-links a.active {
  color: #b8530a;
  font-weight: 600;
}

/* Live Tech Support button: BLACK outlined (stands out clearly on white) */
body.page-light nav .btn-outline-white {
  background: transparent;
  border: 1.5px solid #1f1f1f;
  color: #1f1f1f;
}
body.page-light nav .btn-outline-white:hover {
  background: #1f1f1f;
  color: #fff;
  border-color: #1f1f1f;
}
/* Arrow icon: black on idle (override base white filter), white on hover. */
body.page-light nav .btn-outline-white .btn-arrow {
  filter: brightness(0);
}
body.page-light nav .btn-outline-white:hover .btn-arrow {
  filter: brightness(0) invert(1);
}

/* Burger lines: dark on light bg */
body.page-light .burger span { background: var(--text-primary, #1f1f1f); }

/* Tablet/mobile: ease the auto-padding so it doesn't fight other nav rules */
@media (max-width: 1200px) {
  body.page-light nav {
    padding-left: 40px;
    padding-right: 40px;
  }
}
@media (max-width: 768px) {
  body.page-light nav {
    padding-left: 24px;
    padding-right: 24px;
  }
}


/* ============================================================
   OUR PARTNERS PAGE - reuses the .customers-grid pattern
============================================================ */
/* Partners grid uses the same .customer-cell + .customers-grid classes - no new CSS needed.
   Defaults to 6-col desktop, scales like Customers. */

/* ============================================================
   CSR PAGE
============================================================ */
.csr-section { padding: 100px 0 80px; background: #fff; }
.careers-section { padding: 100px 0 80px; background: #fff; }
.careers-header { max-width: 720px; margin: 0 auto 56px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.careers-header .badge { align-self: center; }
.careers-header .section-title { text-align: center; }
.careers-intro { font-size: 18px; color: var(--text-body, #4b5563); line-height: 1.5; }
.careers-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 72px; }
.career-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.career-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06); border-color: #d1d5db; }
.career-card-tag { display: inline-block; align-self: flex-start; padding: 6px 12px; background: rgba(253, 185, 46, 0.14); color: #8a5a00; font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; border-radius: 999px; }
.career-card-title { font-size: 22px; font-weight: 600; line-height: 1.3; color: #111827; margin: 0; }
.career-card-summary { font-size: 15px; line-height: 1.55; color: #4b5563; margin: 0; flex: 1; }
.career-card-meta { display: flex; flex-wrap: wrap; gap: 16px 20px; padding-top: 16px; border-top: 1px solid #f3f4f6; }
.career-meta-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: #4b5563; }
.career-meta-icon { font-size: 15px; line-height: 1; }
.career-card-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 600; color: #1f1f1f; margin-top: 4px; }
.career-card:hover .career-card-cta { color: #1D4ED8; }
.careers-open-app { max-width: 720px; margin: 0 auto; padding: 48px 40px; text-align: center; background: #F9FAFB; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.careers-open-app h2 { font-size: 24px; font-weight: 600; color: #111827; margin: 0; }
.careers-open-app p { font-size: 16px; color: #4b5563; line-height: 1.5; margin: 0 0 8px; max-width: 520px; }

/* Career role detail page */
.career-detail-section { padding: 80px 0 100px; background: #fff; }
.career-detail-inner { max-width: 820px; }
.career-back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #4b5563; text-decoration: none; margin-bottom: 32px; transition: color .15s; }
.career-back-link:hover { color: #1D4ED8; }
.career-detail-header { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 40px; border-bottom: 1px solid #e5e7eb; margin-bottom: 48px; }
.career-detail-header .section-title { font-size: 40px; text-align: left; line-height: 1.15; }
.career-detail-summary { font-size: 18px; line-height: 1.55; color: #4b5563; max-width: 720px; }
.career-detail-meta { display: flex; flex-wrap: wrap; gap: 16px 24px; padding: 4px 0; }
.career-detail-body { display: flex; flex-direction: column; gap: 40px; }
.career-section-block h2 { font-size: 24px; font-weight: 600; color: #111827; margin: 0 0 16px; line-height: 1.3; }
.career-section-block h3 { font-size: 17px; font-weight: 600; color: #1f2937; margin: 20px 0 8px; }
.career-section-block h3:first-child { margin-top: 0; }
.career-section-block p { font-size: 16px; line-height: 1.6; color: #374151; margin: 0 0 12px; }
.career-section-block ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; flex-direction: column; gap: 10px; }
.career-section-block li { font-size: 16px; line-height: 1.55; color: #374151; padding-left: 22px; position: relative; }
.career-section-block li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; background: #FDB92E; border-radius: 50%; }
.career-detail-footer { margin-top: 56px; padding: 40px; background: #F9FAFB; border-radius: 20px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.career-detail-footer h3 { font-size: 22px; font-weight: 600; color: #111827; margin: 0; }
.career-detail-footer p { font-size: 16px; color: #4b5563; line-height: 1.5; margin: 0 0 8px; max-width: 560px; }
.career-detail-footer a { color: #1D4ED8; }

@media (max-width: 768px) {
  .careers-grid { grid-template-columns: 1fr; gap: 16px; }
  .career-card { padding: 24px; }
  .career-card-title { font-size: 20px; }
  .careers-open-app { padding: 32px 24px; }
  .career-detail-section { padding: 48px 0 64px; }
  .career-detail-header .section-title { font-size: 30px; }
  .career-detail-summary { font-size: 16px; }
  .career-section-block h2 { font-size: 22px; }
  .career-detail-footer { padding: 32px 24px; }
}
.csr-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 50px;
}
.csr-header-left { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.csr-header-left .section-title { font-size: 40px; text-align: left; max-width: 480px; }
.csr-header-right p {
  font-size: 17px; line-height: 1.5; color: var(--text-primary, #1f1f1f); margin: 0;
}
.csr-header-right p strong { font-weight: 600; }

/* Shared page-lead paragraph style - same spec as .csr-header-right p.
   Use on any page subheading/intro paragraph that should visually match
   the CSR-style intro (dark primary text, 17px, 1.5 line-height). */
.page-lead {
  font-size: 17px; line-height: 1.5; color: var(--text-primary, #1f1f1f);
  margin: 0; max-width: 720px;
}
.page-lead strong { font-weight: 600; }

/* CSR report cards row */
.csr-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.csr-card {
  background: #fff;
  border: 1px solid #f1f6fc;
  border-radius: 15px;
  padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  box-shadow:
    0 25px 25px rgba(189,208,233,.07),
    0 6px 14px rgba(189,233,218,.08);
  text-decoration: none;
  color: var(--text-primary, #1f1f1f);
  transition: transform .15s, box-shadow .15s;
  min-height: 220px;
}
.csr-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 50px rgba(189,208,233,.18), 0 10px 20px rgba(189,233,218,.12);
}
.csr-card-body { display: flex; flex-direction: column; gap: 12px; }
.csr-card h3 {
  font-size: 20px; font-weight: 600; margin: 0;
  color: var(--text-primary, #1f1f1f);
}
.csr-card p {
  font-size: 15px; line-height: 1.55;
  color: var(--text-body, #46474f);
  margin: 0;
}
.csr-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--blue, #2940da);
}
.csr-card-arrow { width: 16px; height: 16px; }
.csr-card .download-icon {
  width: 24px; height: 24px; flex-shrink: 0; color: var(--blue, #2940da);
}

/* CSR per-year subpage (/csr/2024-2025/ etc.) */
.csr-year { padding: 100px 0 80px; background: #fff; }
.csr-year-inner { max-width: 880px; margin: 0 auto; }
.csr-year-header {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  text-align: center;
  margin-bottom: 48px;
}
.csr-year-summary {
  font-size: 17px; line-height: 1.6;
  color: var(--text-body, #46474f);
  max-width: 720px; margin: 0;
}
.csr-year-body {
  color: var(--text-body, #46474f);
  font-size: 16px; line-height: 1.7;
}
.csr-year-body h2 {
  font-size: 24px; font-weight: 600;
  color: var(--text-primary, #1f1f1f);
  margin: 32px 0 14px;
}
.csr-year-body h2:first-child { margin-top: 0; }
.csr-activity-list {
  padding-left: 20px; margin: 0 0 24px 0;
}
.csr-activity-list li { margin: 8px 0; list-style: disc; }
.csr-photos-placeholder {
  font-style: italic;
  color: var(--text-muted, #7a7f8a);
  margin: 0 0 20px 0;
}
.csr-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 40px 0;
}
.csr-photo-placeholder {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  border: 1px dashed var(--card-border, #e8eaf2);
  background: #f9fbff;
  color: var(--text-muted, #9aa0ab);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px;
}
.csr-photo-placeholder svg { width: 40px; height: 40px; }
.csr-year-download {
  padding: 24px;
  background: #f9fbff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  margin: 24px 0 32px;
}
.csr-year-download-btn .download-icon {
  width: 20px; height: 20px; color: currentColor;
}
.csr-year-download-note {
  font-size: 13px;
  color: var(--text-muted, #7a7f8a);
  margin: 0;
}
.csr-year-back { margin-top: 24px; }
.csr-year-back a {
  color: var(--blue, #2940da);
  text-decoration: none;
  font-weight: 500;
}
@media (max-width: 768px) {
  .csr-year { padding: 56px 0 40px; }
  .csr-year-header { margin-bottom: 32px; }
  .csr-year-body h2 { font-size: 20px; }
  .csr-photo-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================================
   PRODUCT CATEGORY PAGES (Enterprise / Standalone / Third Party)
   Card grid of product logos + tagline. Light bg.
============================================================ */
.products-cat-section { padding: 100px 0 80px; background: #fff; }
.products-cat-header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 50px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.products-cat-header h1.section-title { max-width: 820px; }

.products-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* Product category cards - mirror homepage .product-card style:
   centered logo + label, same sizing, same shadow, same hover lift. */
.product-cat-card {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 10px;
  box-shadow: var(--card-shadow);
  min-height: 161px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.product-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(48,97,227,.12);
}
.product-cat-card .product-logo {
  display: flex; align-items: center; justify-content: center;
}
.product-cat-card .product-logo img {
  max-height: 60px; max-width: 180px; width: auto; height: auto;
  object-fit: contain; display: block;
}
/* ImageDoot logo is square 1000x1000 - other logos are wide rectangles.
   2x bigger cap so it has proper visual mass on the Enterprise category page. */
.product-cat-card .product-logo img[alt="ImageDoot"] {
  max-height: 140px; max-width: 140px;
}
.product-cat-card .product-tagline {
  font-size: 16px;
  color: var(--text-primary, #1f1f1f);
  text-align: center;
  line-height: 1.3;
  margin: 0;
}

/* ============================================================
   PRODUCT DETAIL PAGE - placeholder stub template
============================================================ */
.product-stub {
  padding: 100px 0 80px; background: #fff;
}
.product-stub-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; margin-bottom: 32px;
}
.product-stub-body {
  max-width: 720px; margin: 0 auto;
  text-align: center;
}
.product-stub-body p {
  font-size: 18px; line-height: 1.5; color: var(--text-body, #46474f); margin: 0 0 24px;
}

/* ============================================================
   Responsive for new sections
============================================================ */
@media (max-width: 1024px) {
  .csr-header { grid-template-columns: 1fr; gap: 20px; }
  .csr-header-left .section-title { font-size: 32px; }
  .csr-cards { grid-template-columns: 1fr 1fr; }
  .products-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .csr-section, .careers-section, .products-cat-section, .product-stub { padding: 56px 0 40px; }
  .csr-cards { grid-template-columns: 1fr; }
  .products-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .product-cat-card { min-height: 140px; padding: 16px; gap: 10px; }
  .product-cat-card .product-logo img { max-height: 48px; }
  .product-cat-card .product-tagline { font-size: 15px; }
  .csr-header-left .section-title { font-size: 28px; }
}
@media (max-width: 480px) {
  .products-cat-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICE PAGE TEMPLATE (Products/RIS-PACS, VNA, MiniPACS, etc.)
   Layout pattern: Hero + alternating image+bullets sections
============================================================ */

.service-section { padding: 80px 0 60px; background: #fff; }
.service-section--alt { background: #fff; }

/* Sample reports section (SonoDoc SR + any future SR products) */
.sample-reports-section { padding: 80px 0 60px; background: #F9FAFB; }
.sample-reports-header { max-width: 720px; margin: 0 auto 48px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.sample-reports-header .section-title { text-align: center; }
.sample-reports-intro { font-size: 17px; line-height: 1.55; color: #4b5563; margin: 0; }
.sample-reports-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; }
.sample-report-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.sample-report-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.06); border-color: #d1d5db; }
.sample-report-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(253, 185, 46, 0.15); color: #B87F00; border-radius: 12px; flex-shrink: 0; }
.sample-report-icon svg { width: 24px; height: 24px; }
.sample-report-body { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.sample-report-body h3 { font-size: 20px; font-weight: 600; color: #111827; margin: 0; line-height: 1.3; }
.sample-report-body p { font-size: 15px; line-height: 1.55; color: #4b5563; margin: 0; }
.sample-report-download { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: #1A1A1A; color: #fff; font-size: 15px; font-weight: 600; text-decoration: none; border-radius: 10px; align-self: flex-start; transition: background .15s; }
.sample-report-download:hover { background: #333; }

@media (max-width: 768px) {
  .sample-reports-section { padding: 56px 0 40px; }
  .sample-reports-grid { grid-template-columns: 1fr; gap: 16px; }
  .sample-report-card { padding: 24px; }
  .sample-report-body h3 { font-size: 18px; }
}

/* Service hero: centered eyebrow + H1 above, then 50/50 split with text left, image right + CTA */
.service-hero {
  padding: 80px 0 60px;
  background: #fff;
}
.service-hero-header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}
.service-hero-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}
.service-hero-text {
  display: flex; flex-direction: column; gap: 24px;
}
.service-hero-text p {
  font-size: 17px; line-height: 1.5; color: var(--text-primary, #1f1f1f); margin: 0;
}
.service-hero-image {
  display: flex; justify-content: center; align-items: center;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.service-hero-image img {
  width: 100%; height: auto;
  display: block; border-radius: 16px;
  object-fit: cover;
}
/* Placeholder only shows when no image_src is provided - subtle, no filled background */
.service-hero-image-placeholder {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue, #2940da);
}

.service-hero-cta {
  display: flex; justify-content: center;
  margin-top: 40px;
}

/* Alternating section: 50/50 image + bullet list.
   Center-aligned per Igor's Figma - both image and text sit at their
   vertical centers relative to the shared grid row. */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.service-block--reverse { grid-template-columns: 1fr 1fr; }
.service-block--reverse > :first-child { order: 2; }
.service-block--reverse > :last-child { order: 1; }

.service-block-image {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.service-block-image img {
  width: 100%; height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px;
}

.service-block-content { display: flex; flex-direction: column; gap: 24px; }
/* Intro subtext under an h2 title, above the bullet list.
   Used when the founder wants a lead sentence framing the bullets (e.g. VNA Benefits). */
.service-block-content .service-block-lead {
  font-size: 17px; line-height: 1.55; color: var(--text-body, #46474f); margin: 0;
}
.service-block-content .service-block-lead strong { color: var(--text-primary, #1f1f1f); font-weight: 600; }
.service-block-content h2 {
  font-size: 36px; font-weight: 600;
  margin: 0; letter-spacing: -1px; line-height: 1.15;
  /* Same heading gradient as .section-title for consistency across all headings. */
  background: var(--heading-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Bullet feature list with arrow icons */
.feature-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
/* Chevron rendered as ::before background image so the text after it (including
   any inline <strong>) flows naturally as one paragraph, wrapping to multiple
   lines without ever creating a 2-column visual split (Igor's feedback). */
.feature-list li {
  position: relative;
  padding-left: 32px;
  font-size: 16px; line-height: 1.45; color: var(--text-primary, #1f1f1f);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 20px; height: 20px;
  background-color: var(--yellow, #ffd63a);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 5l7 7-7 7M12 5l7 7-7 7' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 5l7 7-7 7M12 5l7 7-7 7' stroke='black' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center/contain;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-hero { padding: 56px 0 40px; }
  .service-section { padding: 56px 0 40px; }
  .service-hero-cols, .service-block, .service-block--reverse { grid-template-columns: 1fr; gap: 24px; }
  .service-block--reverse > :first-child { order: 1; }
  .service-block--reverse > :last-child { order: 2; }
  .service-hero-image, .service-block-image { min-height: 280px; }
  .service-block-content h2 { font-size: 28px; }
}
@media (max-width: 768px) {
  .service-hero { padding: 40px 0 32px; }
  .service-section { padding: 40px 0 32px; }
  .service-hero-header { margin-bottom: 32px; gap: 12px; }
  .service-hero-text p { font-size: 15px; }
  .service-hero-image, .service-block-image { min-height: 220px; }
  .service-block-content h2 { font-size: 24px; }
  .feature-list li { font-size: 15px; }
  .service-hero-cta { margin-top: 28px; }
  .service-hero-cta .btn-yellow { width: 100%; }
}

/* ============================================================
   SERVICE PAGE - icon card grid (Teleradiology Key Features)
   3-column grid of small cards, each: icon-box + title + 2-line description
============================================================ */
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
/* Icon-less variant: cards render just title + description. Used for
   ScopyDoc Variants + Optional Add-on Modules where the founder wants
   the content clean without any icon decoration. */
.service-features-grid--no-icons .feature-card { padding: 28px; }
.service-features-grid--no-icons .feature-card h3 { margin-top: 0; }
/* 2-column variant: cards stretch full-width, each takes 50%.
   Used when a section only has 2 statement-style cards (Osirix MD hero-follow). */
.service-features-grid--2col { grid-template-columns: repeat(2, 1fr); }
/* 5-column variant: 5 cards in one row (Osirix MD Key Features Figma pattern). */
.service-features-grid--5col { grid-template-columns: repeat(5, 1fr); gap: 20px; }
/* Yellow-badge icon style: small yellow rounded square holding a dark glyph.
   Overrides default .feature-icon (60x60 blue) — Figma Osirix MD pattern. */
.service-features-grid--yellow-icons .feature-card .feature-icon {
  width: 40px; height: 40px;
  background: rgba(253, 185, 46, 0.18);
  border-radius: 8px;
  align-items: center; justify-content: center;
  color: #b48200;
}
.service-features-grid--yellow-icons .feature-card .feature-icon svg {
  width: 20px; height: 20px;
}
/* Mid-page centered Contact Us CTA (Figma Osirix MD between two card sections). */
.service-cta-section { padding: 40px 0 60px; text-align: center; }
.service-cta-section .btn-yellow { display: inline-flex; }
.service-features-grid--header {
  text-align: center;
  margin-bottom: 56px;
}
.service-features-grid--header h2 {
  font-size: 40px; font-weight: 600; letter-spacing: -1.2px; margin: 0;
  background: var(--heading-gradient);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.feature-card {
  background: #fff;
  border: 1px solid #f1f6fc;
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 6px 14px rgba(189, 233, 218, .08), 0 25px 25px rgba(189, 208, 233, .07);
  transition: transform .15s, box-shadow .15s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(189, 208, 233, .14);
}
.feature-card .feature-icon {
  width: 60px; height: 60px;
  display: flex; align-items: flex-start; justify-content: flex-start;
  color: var(--blue, #2940da);
  align-self: flex-start;
}
.feature-card .feature-icon img {
  width: 100%; height: 100%; object-fit: contain;
  display: block;
}
.feature-card h3 {
  font-size: 18px; font-weight: 600; margin: 0;
  color: var(--text-primary, #1f1f1f);
}
.feature-card p {
  font-size: 15px; line-height: 1.5; color: var(--text-body, #46474f);
  margin: 0;
}

/* Bullet cards grid - Inobitec Pro analysis modules (Figma 423:34). 2x2 desktop. */
.module-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.module-card {
  background: #fff;
  border: 1px solid #f1f6fc;
  border-radius: 16px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 6px 14px rgba(189, 233, 218, .08), 0 25px 25px rgba(189, 208, 233, .07);
  transition: transform .15s, box-shadow .15s;
}
.module-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(189, 208, 233, .14);
}
.module-card-icon {
  width: 96px; height: 96px;
  display: flex; align-items: flex-start; justify-content: flex-start;
  align-self: flex-start;
  color: var(--yellow, #ffd63a);
  margin-bottom: 4px;
}
.module-card-icon img { width: 100%; height: 100%; object-fit: contain; display: block; }
.module-card h3 {
  font-size: 20px; font-weight: 600; margin: 0;
  color: var(--text-primary, #1f1f1f);
}
.module-card .feature-list { margin: 0; }
.module-card .feature-list li {
  font-size: 15px; line-height: 1.5;
  color: var(--text-body, #46474f);
}
@media (max-width: 1024px) {
  .module-cards-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   RELATED SERVICES section (bottom of each service page)
============================================================ */
.related-services {
  padding: 60px 0;
  background: #fff;
}
.related-services-header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  margin-bottom: 40px;
}
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 976px;
  margin: 0 auto;
}
.related-service-card {
  background: #fff;
  border: 1px solid #f1f6fc;
  border-radius: 12px;
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary, #1f1f1f);
  height: 161px;
  justify-content: center;
  transition: transform .15s, border-color .15s;
}
.related-service-card:hover {
  transform: translateY(-2px);
  border-color: #cdd5ed;
}
.related-service-card .related-logo-box {
  height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.related-service-card .related-logo-box img {
  max-height: 60px; max-width: 180px; width: auto; height: auto;
  object-fit: contain;
}
/* ImageDoot logo is square 1000x1000 - bigger cap so it doesn't render as a tiny dot */
.related-service-card .related-logo-box img[alt="ImageDoot"] {
  max-height: 64px; max-width: 64px;
}
.related-service-card .related-name {
  font-size: 16px; font-weight: 500; margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .service-features-grid--5col { grid-template-columns: repeat(3, 1fr); }
  .related-services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}
@media (max-width: 768px) {
  .service-features-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-features-grid--5col { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .service-features-grid--header h2 { font-size: 28px; letter-spacing: -0.8px; }
  .service-features-grid--header { margin-bottom: 32px; }
  .feature-card { padding: 24px; }
  .feature-card .feature-icon { width: 48px; height: 48px; }
  .service-features-grid--yellow-icons .feature-card .feature-icon { width: 40px; height: 40px; }
  .related-services-grid { grid-template-columns: 1fr; gap: 12px; }
  .related-service-card { height: auto; padding: 20px; }
}
@media (max-width: 480px) {
  .service-features-grid--5col { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCTS MEGA-MENU (two-column dropdown)
   Mirrors the live medsynaptic.com Products nav structure.
   Categories on the left (Enterprise/Standalone/Third Party),
   individual products on the right.
============================================================ */

.nav-dropdown--mega { position: relative; }

.nav-mega {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 10px;
  display: flex;
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
  padding: 18px;
  min-width: 540px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
  z-index: 200;
}
/* Invisible bridge across the 10px visual gap above the menu, so the mouse
   can travel from the "Products" trigger down to the dropdown without
   crossing a dead zone that would drop :hover. */
.nav-mega::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
  background: transparent;
}
.nav-dropdown--mega:hover .nav-mega,
.nav-dropdown--mega:focus-within .nav-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Left column - categories */
.nav-mega-left {
  flex: 0 0 220px;
  padding: 8px;
  border-right: 1px solid var(--card-border, #e8eaf2);
  margin: 0;
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
}
.nav-mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.nav-mega-cat a {
  flex: 1;
  padding: 18px 21px;
  color: var(--text-primary, #1f1f1f);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
/* Generous gap between Enterprise / Standalone / Third Party items - matches About Us submenu density */
.nav-mega-cats > li + li { margin-top: 6px; }
.nav-mega-chevron {
  margin-right: 12px;
  color: var(--text-faint, #9ca3af);
  transition: color .15s;
  flex-shrink: 0;
}
/* Hover state mirrors active state - text/chevron/bg all stay in the orange family
   so the visual treatment is consistent across hover and active. */
.nav-mega-cat:hover {
  background: rgba(255, 190, 40, .12);
}
.nav-mega-cat:hover a {
  color: #b8530a;
}
.nav-mega-cat:hover .nav-mega-chevron {
  color: #b8530a;
}
.nav-mega-cat.active {
  background: rgba(255, 190, 40, .12);
}
.nav-mega-cat.active a {
  color: #b8530a;
  font-weight: 600;
}
.nav-mega-cat.active .nav-mega-chevron {
  color: #b8530a;
}

/* Right column - products */
.nav-mega-right {
  flex: 1;
  padding: 8px;
  min-width: 240px;
}
.nav-mega-products {
  display: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-mega-products.active {
  display: block;
}
.nav-mega-products li a {
  display: block !important;
  padding: 18px 21px;
  border-radius: 8px;
  color: var(--text-primary, #1f1f1f) !important;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--card-border, #e8eaf2);
  transition: background .15s, color .15s;
}
.nav-mega-products li:last-child a {
  border-bottom: none;
}
.nav-mega-products li a:hover {
  background: #fff4e0;
  color: #b8530a !important;
}

/* Mobile: hide the mega-menu entirely (mobile uses the accordion) */
@media (max-width: 1024px) {
  .nav-mega { display: none; }
}

/* ============================================================
   MOBILE MENU - nested sub-categories (Products: Enterprise/Standalone/Third Party each expand)
============================================================ */
.mobile-sub-group { display: block; }

.mobile-sub-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 8px;
  background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-family: inherit; font-size: 17px; font-weight: 500;
  text-align: left; cursor: pointer;
  transition: color .15s;
}
.mobile-sub-trigger .mobile-chevron {
  display: inline-block; width: 12px; height: 12px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-right: 6px;
  transition: transform .2s ease, color .2s ease;
}
.mobile-sub-trigger[aria-expanded="true"] { color: #ff9c1f; }
.mobile-sub-trigger[aria-expanded="true"] .mobile-chevron {
  transform: rotate(-135deg); margin-right: 0; margin-top: 4px;
}

/* Mobile category row: clickable name link + separate chevron toggle button.
   Click name -> navigates to /our-products-{cat}/ page. Click chevron -> expands submenu. */
.mobile-sub-row {
  display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-sub-row.active { color: #ff9c1f; }
.mobile-sub-link {
  flex: 1;
  padding: 12px 8px;
  color: rgba(255,255,255,.92) !important;
  font-family: inherit; font-size: 17px; font-weight: 500;
  text-decoration: none;
  text-align: left;
}
.mobile-sub-row.active .mobile-sub-link { color: #ff9c1f !important; }
.mobile-sub-toggle {
  background: transparent; border: none;
  padding: 12px 12px 12px 20px;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.mobile-sub-toggle .mobile-chevron {
  display: inline-block; width: 12px; height: 12px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease, color .2s ease;
}
.mobile-sub-toggle[aria-expanded="true"] { color: #ff9c1f; }
.mobile-sub-toggle[aria-expanded="true"] .mobile-chevron {
  transform: rotate(-135deg); margin-top: 4px;
}

.mobile-sub-nested {
  padding-left: 16px;
  overflow: hidden;
  max-height: 0;
  transition: max-height .3s ease;
}
.mobile-sub-trigger[aria-expanded="true"] + .mobile-sub-nested,
.mobile-sub-row .mobile-sub-toggle[aria-expanded="true"] ~ .mobile-sub-nested {
  max-height: 600px;
}
/* The nested container is sibling of the row (not the toggle button inside it),
   so we need a rule at the group level too. */
.mobile-sub-group:has(.mobile-sub-toggle[aria-expanded="true"]) .mobile-sub-nested {
  max-height: 600px;
}
.mobile-sub-nested a {
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,.78) !important;
  padding: 10px 8px !important;
  border-bottom: 1px solid rgba(255,255,255,.04);
  display: block;
}

/* ============================================================
   CONTACT PAGE (/contact/) - 3 office cards
============================================================ */
.contactpage-hero {
  padding: 100px 0 56px;
  background: #fff;
}
.contactpage-hero-header {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 56px;
  max-width: 720px; margin-left: auto; margin-right: auto;
}

/* Figma node 433:2368 - India row 2-col (info + map), USA+UAE row 2-col */
.contact-india-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
  margin-bottom: 64px;
}
.contact-india-info {
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.07);
}
.contact-india-map {
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--card-border, #e8eaf2);
}
.contact-india-map .office-map {
  width: 100%;
  height: 100%;
  min-height: 380px;
  display: block;
}

.contact-offices-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-office {
  display: flex; flex-direction: column; gap: 20px;
  padding: 40px;
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.07);
  transition: transform .15s, box-shadow .15s;
}
.contact-office:hover,
.contact-india-info:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(189,208,233,.16);
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(214.759deg, rgb(82,119,218) 14.52%, rgb(0,0,0) 99.703%);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  border-radius: 100px;
  font-size: 15px; font-weight: 600;
  align-self: flex-start;
}

.office-row-link {
  display: flex; align-items: center; gap: 12px;
  font-size: 16px; color: var(--text-primary, #1f1f1f);
  text-decoration: none;
  transition: color .15s;
}
.office-row-link:hover { color: var(--blue, #2940da); }
.office-row-link .office-icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: transparent;
  border-radius: 0;
  display: flex; align-items: center; justify-content: center;
  color: #FDB92E;
}
.office-row-link .office-icon svg { width: 24px; height: 24px; }

.contact-social { margin-top: 8px; }
.contact-social-label {
  font-size: 15px;
  color: var(--text-body, #46474f);
  margin: 0 0 12px 0;
}
.contact-social-icons {
  display: flex; align-items: center; gap: 12px;
}
.contact-social-icons a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(48, 97, 227, .08);
  color: var(--blue, #2940da);
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .15s, color .15s, transform .15s;
}
.contact-social-icons a:hover {
  background: var(--blue, #2940da);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   TECHNICAL SUPPORT (/technical-support/) - 24x7 hero
============================================================ */
.support-hero {
  padding: 100px 0 56px;
  background: #fff;
  text-align: center;
}
.support-hero-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-bottom: 32px;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
.support-hero-header h1 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -2px;
  line-height: 1.15;
  margin: 0;
  background: linear-gradient(180deg, var(--blue, #2940da) 0%, #0c2516 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Tech Support page hero - Figma node 435-3166. Two-column layout:
   left = phone + email contact rows; right = the techsupp.webp image card. */
.support-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1080px;
  margin: 48px auto 0;
}
.support-hero-contact {
  display: flex; flex-direction: column; gap: 24px;
}
.support-contact-row {
  display: flex; align-items: center; gap: 16px;
  text-decoration: none; color: var(--text-primary, #1f1f1f);
  font-size: 18px;
  transition: opacity .15s;
}
.support-contact-row:hover { opacity: .75; }
.support-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow, #ffd63a);
  color: var(--text-primary, #1f1f1f);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.support-hero-image img {
  width: 100%; height: auto; display: block;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .contactpage-hero, .support-hero { padding: 64px 0 40px; }
  .contact-india-row { grid-template-columns: 1fr; gap: 24px; }
  .contact-india-map { min-height: 320px; }
  .contact-offices-row { grid-template-columns: 1fr 1fr; gap: 20px; }
  .support-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .support-hero-contact { align-items: center; }
}
@media (max-width: 768px) {
  .contactpage-hero, .support-hero { padding: 48px 0 32px; }
  .contactpage-hero-header { margin-bottom: 32px; }
  .contact-india-row { margin-bottom: 32px; gap: 16px; }
  .contact-india-info { padding: 24px; }
  .contact-india-map { min-height: 260px; }
  .contact-india-map .office-map { min-height: 260px; }
  .contact-offices-row { grid-template-columns: 1fr; gap: 16px; }
  .contact-office { padding: 24px; }
  .support-contact-row { font-size: 16px; }
}

/* ============================================================
   NEWS & EVENTS PAGE (/news-events/)
   Eyebrow + H1 + responsive 2-col article card grid
============================================================ */
.news-section { padding: 100px 0 80px; background: #fff; }
.news-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  max-width: 720px; margin: 0 auto 56px;
}
.news-section .news-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px !important;
  width: 100%;
  max-width: 1312px;
  margin: 0 auto;
}
.news-card {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.07);
  transition: transform .15s, box-shadow .15s;
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(189,208,233,.16);
}
.news-card-image-link { display: block; line-height: 0; }
.news-card-image {
  width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  background: var(--soft-bg, #f4f6fb);
}
.news-card-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-body {
  padding: 28px 32px 32px;
  display: flex; flex-direction: column; gap: 12px;
  margin: 0;
}
.news-card-date {
  font-size: 13px; font-weight: 500;
  color: var(--text-muted, #6b7280);
  text-transform: uppercase; letter-spacing: 0.04em;
  margin: 0;
}
.news-card-title {
  font-size: 22px; font-weight: 600;
  color: var(--text-primary, #1f1f1f);
  margin: 0; line-height: 1.3;
}
.news-card-title a { color: inherit; text-decoration: none; }
.news-card-title a:hover { color: var(--blue, #2940da); }
.news-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
  color: var(--blue, #2940da);
  text-decoration: none;
  margin-top: auto;
  align-self: flex-start;
  transition: gap .15s;
}
.news-card-link:hover { gap: 10px; }

@media (max-width: 900px) {
  .news-section .news-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; }
}
@media (max-width: 640px) {
  .news-section { padding: 48px 0 32px; }
  .news-header { margin-bottom: 32px; gap: 12px; }
  .news-section .news-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .news-card { padding: 24px; gap: 12px; }
  .news-card-title { font-size: 19px; }
}

/* ============================================================
   GENERIC PLACEHOLDER PAGES (Case Studies, Legal stubs)
============================================================ */
.section-stub { padding: 100px 0 80px; background: #fff; }
.section-stub-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  max-width: 720px; margin: 0 auto 32px;
}
.section-stub-body {
  max-width: 640px; margin: 0 auto;
  text-align: center;
}
.section-stub-body p {
  font-size: 17px; line-height: 1.5;
  color: var(--text-body, #46474f);
  margin: 0 0 16px;
}
.section-stub-body a {
  color: var(--blue, #2940da);
  text-decoration: underline;
}
@media (max-width: 768px) {
  .section-stub { padding: 56px 0 40px; }
  .section-stub-header { margin-bottom: 24px; gap: 12px; }
}

/* ============================================================
   SUBPAGE FOOTER - no white spacer above the dark band
   (homepage uses <section id="footer"> with 100px top padding for Join Our Team;
   subpages render the dark band directly with no wrapper padding.)
============================================================ */
/* Subpage footer wrapper is transparent so the .footer-bottom gradient
   (defined above) is what shows. The gradient handles the fade-in from the
   page above into the dark navy where the columns sit. */
.subpage-footer { padding: 0; margin: 0; background: transparent; }
.subpage-footer .footer-bottom { margin-top: 0 !important; }

/* Ensure no white gap below the footer on short pages.
   Flexbox: body fills viewport, footer pushed to bottom via margin-top:auto. */
body { min-height: 100vh; display: flex; flex-direction: column; }
body > nav, body > .mobile-menu { flex-shrink: 0; }
body > footer { margin-top: auto; }

/* ============================================================
   GLOBAL HEADING GRADIENT - applies to H1 + H2 only sitewide.
   Smaller headings (h3-h6) render as solid dark text so section
   subheadings like "Interoperability and data-handling standards"
   read as calm section labels, not decorative titles. */
h1, h2 {
  background: var(--heading-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}
h3, h4, h5, h6 {
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--text-primary, #1f1f1f) !important;
}
/* Explicit revert to plain white for dark-background contexts */
.footer-bottom h1, .footer-bottom h2, .footer-bottom h3, .footer-bottom h5,
.contact-section h1, .contact-section h2, .contact-section h3,
.join-team h1, .join-team h2, .join-team h3, .join-title,
.footer-col h1, .footer-col h2, .footer-col h3, .footer-col h5,
.hero h1, .hero h2, .hero-title,
#hero h1, #hero h2,
.brochure-banner h1, .brochure-banner h2, .brochure-banner h3 {
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}
/* Contact-us section left column ("Get in Touch") sits on light background,
   NOT the dark form. Restore heading gradient. Higher specificity than
   .contact-section h2 above so this override wins. */
.contact-section .contact-info-title,
h2.contact-info-title,
.contact-section h2.contact-info-title {
  background: var(--heading-gradient) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* Case Studies page - mirrors .product-cat-card pattern (per Igor) using
   our brand tokens. NO new colors introduced; reuses existing card style. */
/* Products-cat intro paragraph (reused for Case Studies) */
.products-cat-intro {
  font-size: 16px; line-height: 1.7;
  color: var(--text-body, #46474f);
  margin: 0;
}

/* ============================================================
   ACTIVE PAGE HIGHLIGHTS - desktop + mobile
   When viewing /about-us/, the About Us trigger lights orange.
   When viewing /products/standalone/cardiodoc/, BOTH Products trigger
   AND the Standalone mega-cat AND the CardioDoc link light orange.
   Same logic in mobile menu (triggers auto-expand + go orange).
============================================================ */

/* Desktop - light mode dropdown trigger active */
body.page-light nav .nav-dropdown-trigger.active {
  color: #b8530a;
  font-weight: 600;
}

/* Submenu leaf-link active (About Us submenu + Resources submenu) */
.nav-submenu a.active {
  background: #fff4e0 !important;
  color: #b8530a !important;
  font-weight: 600;
}

/* Mega-menu products list - active leaf link */
.nav-mega-products li a.active {
  background: #fff4e0 !important;
  color: #b8530a !important;
  font-weight: 600;
}

/* Mobile menu top-level trigger active (About Us, Products, Resources) */
.mobile-menu-trigger.active {
  color: #ff9c1f;
}

/* Mobile nested sub-trigger active (Enterprise / Standalone / Third Party) */
.mobile-sub-trigger.active {
  color: #ff9c1f;
}

/* Mobile leaf link active */
.mobile-menu a.active,
.mobile-sub a.active,
.mobile-sub-nested a.active {
  color: #ff9c1f !important;
  font-weight: 600;
}

/* ============================================================
   PACKAGES SECTION (used on Teraricon page)
   Vertical list of feature packages - each has title + feature
   snippet + description. Renders as cards in a 2-col grid.
============================================================ */
.packages-section { padding: 60px 0; background: #fff; }
.packages-section--alt { background: #f9fbff; }

/* Features section - centered H2 + 2-column bullet grid, no image column.
   Matches SonoDoc/ScopyDoc Figma "Key Features" pattern. */
.features-section { padding: 80px 0 60px; background: #fff; }
.features-section--alt { background: #f9fbff; }
.features-section-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}
.features-2col {
  max-width: 960px; margin: 0 auto;
}
/* CSS multi-column layout: items flow top-to-bottom in col 1 then col 2,
   with identical spacing between all bullets. No row-height matching, so
   short items don't get pushed down when the sibling wraps to 3-4 lines. */
.features-2col .feature-list {
  display: block !important;
  column-count: 2 !important;
  column-gap: 48px !important;
  column-fill: balance !important;
  gap: initial !important;
}
.features-2col .feature-list li {
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom: 14px;
  display: block;
}
.features-2col .feature-list li:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .features-2col .feature-list {
    column-count: 1 !important;
  }
  .features-2col .feature-list li { margin-bottom: 12px; }
}
.features-trailing-image {
  max-width: 1160px;
  margin: 48px auto 0;
  border-radius: 16px;
  overflow: hidden;
}
.features-trailing-image img {
  width: 100%; height: auto;
  display: block;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .features-section { padding: 48px 0 32px; }
  .features-2col .feature-list { columns: 1; }
  .features-trailing-image { margin-top: 32px; }
}
.packages-section-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  margin-bottom: 48px;
}

/* TeraRecon Intuition Packages - 3-column row layout per package.
   [image | name+bullets | description paragraphs] with hairline separator between rows. */
.pkg-rows { display: flex; flex-direction: column; }
.pkg-row {
  display: grid;
  grid-template-columns: 375px 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  border-top: 1px solid var(--card-border, #e8eaf2);
  align-items: start;
}
.pkg-row:first-child { border-top: none; }
.pkg-image {
  width: 100%;
  display: flex; align-items: flex-start;
}
.pkg-image img {
  width: 100%; height: auto;
  border-radius: 12px;
  display: block;
}
.pkg-info h3 {
  font-size: 22px; font-weight: 600;
  margin: 0 0 16px;
  line-height: 1.2;
}
.pkg-info .feature-list li { font-size: 15px; line-height: 1.45; }
.pkg-description { display: flex; flex-direction: column; gap: 14px; }
.pkg-description p {
  font-size: 15px; line-height: 1.55;
  color: var(--text-body, #46474f);
  margin: 0;
}
@media (max-width: 1024px) {
  .pkg-row { grid-template-columns: 300px 1fr; gap: 24px; }
  .pkg-description { grid-column: 1 / -1; margin-top: 8px; }
}
@media (max-width: 768px) {
  .pkg-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .pkg-description { grid-column: auto; }
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.package-card {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 6px 14px rgba(189,233,218,.08), 0 25px 25px rgba(189,208,233,.05);
  transition: transform .15s, box-shadow .15s;
}
.package-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(189,208,233,.14);
}
.package-card h3 {
  font-size: 20px; font-weight: 600;
  color: var(--text-primary, #1f1f1f);
  margin: 0; line-height: 1.25;
}
.package-card .pkg-features {
  font-size: 14px;
  color: var(--text-body, #46474f);
  line-height: 1.5;
  margin: 0;
  font-style: italic;
}
.package-card .pkg-description {
  font-size: 15px;
  color: var(--text-primary, #1f1f1f);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1024px) {
  .packages-grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .packages-section { padding: 40px 0; }
  .packages-section-header { margin-bottom: 28px; }
  .package-card { padding: 20px; gap: 10px; }
  .package-card h3 { font-size: 18px; }
}

/* ============================================================
   VARIANTS - accordion + comparison table (Figma 397:969, 405:3161, 393:29)
============================================================ */
.variants-section, .variants-table-section { padding: 80px 0; background: #fff; }
.variants-section--alt, .variants-table-section--alt { background: #f9fbff; }
.variants-header {
  display: flex; flex-direction: column; align-items: center;
  margin-bottom: 40px;
}
.variants-list {
  display: flex; flex-direction: column; gap: 20px;
  max-width: 960px; margin: 0 auto;
}
.variant-item {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  box-shadow: 0 6px 14px rgba(189,233,218,.06), 0 20px 25px rgba(189,208,233,.06);
  overflow: hidden;
  transition: box-shadow .15s;
}
.variant-item[open] { box-shadow: 0 12px 24px rgba(189,208,233,.14); }
.variant-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.variant-item > summary::-webkit-details-marker { display: none; }
.variant-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary, #1f1f1f);
}
.variant-chevron {
  display: inline-flex;
  color: var(--text-body, #46474f);
  transition: transform .2s;
}
.variant-item[open] .variant-chevron { transform: rotate(180deg); }
.variant-body {
  padding: 0 32px 28px;
  color: var(--text-body, #46474f);
  font-size: 16px;
  line-height: 1.6;
}
.variant-body p { margin: 0 0 12px 0; }
.variant-body p:last-child { margin-bottom: 0; }
.variant-body .feature-list { margin: 8px 0 0 0; }
.variant-subhead {
  margin: 16px 0 8px 0 !important;
  color: var(--text-primary, #1f1f1f);
  font-size: 15px;
  text-align: left;
}
/* Two-column bullet list for variants like CardioDoc ACR (9 features).
   .feature-list uses display:flex which ignores column-count, so we reset
   display to block here. CSS columns then split 9 items into 5 left / 4 right.
   Row spacing switches from `gap` (flex-only) to margin-bottom (block-safe).
   Collapses to 1 column on mobile. */
.feature-list--two-col {
  display: block;
  column-count: 2;
  column-gap: 32px;
}
.feature-list--two-col li {
  break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 14px;
}
.feature-list--two-col li:last-child { margin-bottom: 0; }

/* Fix: CSS -webkit-mask on ::before pseudo-elements has a known Chrome/Safari
   rendering bug inside multi-column layouts — the mask silently fails on
   certain items (e.g. last item of a column) and leaves the raw yellow
   background-color visible as a solid square. Override the ::before for the
   two-col variant to use background-image (SVG data URL) instead of mask;
   background-image renders reliably in CSS columns. */
.feature-list--two-col li::before {
  background-color: transparent;
  -webkit-mask: none;
  mask: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 5l7 7-7 7M12 5l7 7-7 7' stroke='%23FFD63A' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Breathing room between the two-col Key Features list and the diagram
   image that follows it (CardioDoc ACR). Specificity bumped by scoping
   under .variants-grid-item so it beats the base .variant-image rule
   later in the file. */
.variants-grid-item .feature-list--two-col + .variant-image {
  margin-top: 80px;
}

@media (max-width: 768px) {
  .feature-list--two-col { column-count: 1; }
}
.variant-image {
  margin: 20px 0 0 0;
  border-radius: 12px;
  overflow: hidden;
  max-width: 640px;
}
.variant-image img {
  width: 100%; height: auto;
  display: block;
  border-radius: 12px;
}

/* Variants grid: always-visible cards. 2-col desktop, spans available for
   longer content (CardioDoc ACR). No accordion collapsing. */
.variants-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
}
.variants-grid-item {
  background: #fff;
  border: 1px solid var(--card-border, #e8eaf2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 6px 14px rgba(189,208,233,.06);
}
.variants-grid-item--full {
  grid-column: 1 / -1;
}
.variants-grid-name {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: var(--text-primary, #1f1f1f);
  line-height: 1.3;
}
.variants-grid-lead {
  color: var(--text-body, #46474f);
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
}
.variants-grid-item .feature-list li { font-size: 15px; }
.variants-grid-item .variant-image {
  max-width: 720px;
  margin: 20px auto 0;
}
@media (max-width: 768px) {
  .variants-grid { grid-template-columns: 1fr; gap: 16px; }
  .variants-grid-item { padding: 24px; }
}

/* Comparison table (SonoDoc/ScanDoc Variants) - desktop fits everything
   without horizontal scroll; scroll only kicks in on narrow viewports. */
.variants-table-wrap {
  max-width: 1160px; margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--card-border, #e8eaf2);
  background: #fff;
  overflow: hidden;
}
@media (max-width: 900px) {
  .variants-table-wrap { overflow-x: auto; }
}
.variants-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.variants-table thead th {
  background: linear-gradient(214.759deg, rgb(82,119,218) 14.52%, rgb(30,50,110) 99.703%);
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  padding: 16px 20px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}
.variants-table thead th.variants-table-label-head { text-align: left; }
.variants-table tbody th {
  text-align: left;
  padding: 14px 20px;
  font-weight: 500;
  color: var(--text-primary, #1f1f1f);
  background: transparent;
  border-top: 1px solid var(--card-border, #e8eaf2);
}
.variants-table tbody td {
  padding: 14px 20px;
  text-align: center;
  color: var(--text-body, #46474f);
  border-top: 1px solid var(--card-border, #e8eaf2);
  border-left: 1px solid var(--card-border, #e8eaf2);
}
.variants-table tbody tr:nth-child(even) th,
.variants-table tbody tr:nth-child(even) td {
  background: #f6f8fd;
}
.variants-table .cell-check { color: #22a06b; }
.variants-table .cell-cross { color: #d64545; }
.variants-table .cell-check svg,
.variants-table .cell-cross svg { display: inline-block; vertical-align: middle; }
.variants-table .cell-text { font-weight: 500; color: var(--text-primary, #1f1f1f); }

@media (max-width: 768px) {
  .variants-section, .variants-table-section { padding: 48px 0; }
  .variants-header { margin-bottom: 28px; }
  .variant-item > summary { padding: 20px 22px; }
  .variant-name { font-size: 17px; }
  .variant-body { padding: 0 22px 22px; font-size: 15px; }
  .variants-table thead th, .variants-table tbody th, .variants-table tbody td { padding: 10px 12px; font-size: 13px; }
}

/* ============================================================
   NEWS ARTICLE STUB (/YYYY/MM/DD/slug/) - full-width single article
============================================================ */
.news-article { padding: 100px 0 80px; background: #fff; }
.news-article-inner { max-width: 880px; margin: 0 auto; }
.news-article-header {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center;
  margin-bottom: 40px;
}
.news-article-date {
  font-size: 15px;
  color: var(--text-body, #46474f);
  margin: 0;
}
.news-article-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--card-border, #e8eaf2);
}
.news-article-image img {
  width: 100%; height: auto; display: block;
}
.news-article-body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body, #46474f);
  margin-bottom: 40px;
}
.news-article-body p { margin: 0 0 16px 0; }
.news-article-body h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary, #1f1f1f);
}
.news-article-body h2:first-child { margin-top: 0; }
.news-article-body ul { padding-left: 20px; margin: 0 0 16px 0; }
.news-article-body ul li { list-style: disc; margin: 6px 0; }
.news-article-body strong { color: var(--text-primary, #1f1f1f); }

/* Intro lede - hero-adjacent bold statement (e.g. TeraRecon KLAS Category Leader).
   Sits in the service-hero-text intro block. Solid text - NO gradient (matches Figma). */
.service-hero-text .intro-lede {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary, #1f1f1f) !important;
  -webkit-text-fill-color: var(--text-primary, #1f1f1f) !important;
  background: none !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  margin: 0 0 12px 0;
}
.news-article-back { display: flex; justify-content: center; }
.news-article-back .btn-arrow { transform: rotate(180deg); }
@media (max-width: 768px) {
  .news-article { padding: 56px 0 48px; }
  .news-article-header { margin-bottom: 24px; }
  .news-article-image { margin-bottom: 24px; }
  .news-article-body { font-size: 16px; }
}

/* ============================================================
   LEGAL PAGE (/legal/) - long-form policy content
============================================================ */
.legal-section { padding: 100px 0 80px; background: #fff; }
.legal-inner { max-width: 880px; margin: 0 auto; }
.legal-header {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
  margin-bottom: 56px;
}
.legal-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--text-body, #46474f);
  margin: 4px 0 0 0;
}
.legal-body {
  color: var(--text-body, #46474f);
  font-size: 16px;
  line-height: 1.7;
}
.legal-body h2 {
  font-size: 26px;
  font-weight: 600;
  margin: 40px 0 16px;
  color: var(--text-primary, #1f1f1f);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 19px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--blue, #2940da);
}
.legal-body p { margin: 0 0 14px 0; }
.legal-body ul {
  padding-left: 20px;
  margin: 0 0 18px 0;
}
.legal-body ul li {
  margin: 8px 0;
  list-style: disc;
}
.legal-body strong { color: var(--text-primary, #1f1f1f); }
.legal-body a {
  color: var(--blue, #2940da);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-body a:hover { opacity: 0.75; }
.legal-body ul ul {
  margin: 8px 0 8px 0;
  padding-left: 20px;
}
.legal-body ul ul li { list-style: circle; }
.legal-notice {
  background: #f9fbff;
  border-left: 3px solid var(--blue, #2940da);
  padding: 14px 18px;
  margin: 18px 0;
  font-size: 14px;
  line-height: 1.6;
}
.legal-notice strong { color: var(--text-primary, #1f1f1f); }
@media (max-width: 768px) {
  .legal-section { padding: 56px 0 48px; }
  .legal-header { margin-bottom: 32px; }
  .legal-body h2 { font-size: 22px; margin: 28px 0 12px; }
  .legal-body h3 { font-size: 17px; margin: 20px 0 10px; }
  .legal-body { font-size: 15px; }
}
