@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Outfit:wght@400;500;600;700;800&display=swap');
:root {
  --bg: #FAFAF8; --white: #FFFFFF;
  --orange: #E8713A; --orange-hover: #D4632F; --orange-light: #FDF0E9; --orange-pale: #FFF8F3;
  --navy: #0B1838; --navy-mid: #162850; --navy-light: #2D4170;
  --teal: #2A8B84; --teal-light: #E8F5F4;
  --green: #1D7C3F; --green-light: #E7F5EC;
  --purple: #6B3FA0; --purple-light: #F0EAF8;
  --g50: #F9FAFB; --g100: #F3F4F6; --g200: #E5E7EB; --g300: #D1D5DB;
  --g400: #9CA3AF; --g500: #6B7280; --g600: #4B5563; --g700: #374151; --g800: #1F2937;
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'DM Sans','Outfit',sans-serif; color:var(--g800); background:var(--bg); min-height:100vh; overflow-x:hidden; }
h1,h2,h3,h4 { font-family:'Outfit',sans-serif; letter-spacing:-0.02em; }
.page { display:none; } .page.active { display:block; }

/* NAV */
.nav { position:fixed; top:0; left:0; right:0; z-index:1000; background:rgba(255,255,255,0.9); backdrop-filter:blur(20px); border-bottom:1px solid transparent; transition:all 0.3s; }
.nav.scrolled { background:rgba(255,255,255,0.97); border-bottom-color:var(--g200); }
.nav-inner { max-width:1240px; margin:0 auto; padding:0 24px; display:flex; align-items:center; justify-content:space-between; height:72px; }
.logo { display:flex; align-items:center; gap:10px; cursor:pointer; text-decoration:none; }
.logo-mark { width:38px; height:38px; border-radius:10px; background:var(--orange); display:flex; align-items:center; justify-content:center; color:#fff; font-weight:800; font-size:18px; font-family:'Outfit',sans-serif; }
.logo-text { font-family:'Outfit',sans-serif; font-weight:800; font-size:20px; color:var(--navy); letter-spacing:-0.02em; }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-links a, .nav-links button, .nav-links .dropdown a { text-decoration:none; color:inherit; }
.nav-btn { padding:8px 16px; font-size:14px; font-weight:500; color:var(--g600); background:transparent; border:none; border-radius:8px; cursor:pointer; font-family:inherit; transition:all 0.2s; display:flex; align-items:center; gap:4px; text-decoration:none; }
.nav-btn:hover, .nav-btn.active { color:var(--orange); background:var(--orange-light); }
.nav-btn .arrow { font-size:10px; opacity:0.5; }

/* DROPDOWN */
.dropdown-wrap { position:relative; }
.dropdown { position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px); width:300px; background:#fff; border-radius:14px; box-shadow:0 20px 40px rgba(0,0,0,0.12); border:1px solid var(--g100); padding:6px; z-index:100; opacity:0; pointer-events:none; transition:all 0.2s; max-height:calc(100vh - 80px); overflow-y:auto; -webkit-overflow-scrolling:touch; overscroll-behavior:contain; }
.dropdown-wrap:hover .dropdown { opacity:1; pointer-events:all; transform:translateX(-50%) translateY(0); }
.dropdown.right { left:auto; right:0; transform:translateY(8px); }
.dropdown-wrap:hover .dropdown.right { transform:translateY(0); }
.dd-label { padding:4px 12px; font-size:10px; font-weight:700; color:var(--g400); text-transform:uppercase; letter-spacing:0.1em; }
.dd-item { display:flex; align-items:center; gap:10px; padding:7px 12px; border-radius:10px; cursor:pointer; transition:background 0.15s; text-decoration:none; color:inherit; }
.dd-item:hover { background:var(--orange-light); }
.dd-icon { width:28px; height:28px; border-radius:7px; background:var(--g50); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.dd-title { font-size:13px; font-weight:600; color:var(--navy); }
.dd-desc { font-size:11px; color:var(--g400); }
.dd-sep { height:1px; background:var(--g100); margin:4px 0; }

/* BUTTONS */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; border-radius:14px; font-weight:600; border:none; cursor:pointer; font-family:'Outfit',sans-serif; transition:all 0.25s; letter-spacing:-0.01em; text-decoration:none; }
.btn:hover { opacity:0.9; transform:translateY(-1px); }
.btn-sm { padding:10px 22px; font-size:14px; }
.btn-md { padding:14px 32px; font-size:15px; }
.btn-lg { padding:18px 40px; font-size:16px; }
.btn-primary { background:var(--orange); color:#fff; }
.btn-dark { background:var(--navy); color:#fff; }
.btn-outline { background:transparent; color:var(--navy); border:2px solid var(--g200); }
.btn-ghost { background:transparent; color:#fff; border:2px solid rgba(255,255,255,0.3); }
.btn-full { width:100%; }

/* BADGE */
.badge { display:inline-flex; align-items:center; padding:4px 12px; border-radius:10px; font-size:12px; font-weight:600; font-family:'Outfit',sans-serif; }

/* SECTION TAG */
.stag { display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.stag::before { content:''; width:32px; height:2px; background:var(--orange); border-radius:2px; }
.stag span { font-size:12px; font-weight:700; color:var(--orange); text-transform:uppercase; letter-spacing:0.1em; }

/* TABS */
.tab-bar { display:flex; gap:4px; border-bottom:1px solid var(--g200); margin-bottom:40px; overflow-x:auto; }
.tab-btn { padding:12px 18px; font-size:14px; font-weight:600; color:var(--g500); background:transparent; border:none; border-bottom:2px solid transparent; cursor:pointer; font-family:inherit; white-space:nowrap; transition:all 0.2s; margin-bottom:-1px; }
.tab-btn:hover { color:var(--navy); }
.tab-btn.active { color:var(--orange); border-bottom-color:var(--orange); }

/* CARDS */
.card { background:#fff; border-radius:18px; border:1px solid var(--g100); overflow:hidden; transition:all 0.3s; }
.card:hover { transform:translateY(-4px); box-shadow:0 12px 24px rgba(0,0,0,0.06); }
.card-sm:hover { transform:translateY(-3px); box-shadow:0 8px 20px rgba(0,0,0,0.06); }

/* GRID */
.container { max-width:1240px; margin:0 auto; padding:0 24px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.grid-4 { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.grid-5 { display:grid; grid-template-columns:repeat(5,1fr); gap:16px; }

/* ICON */
.icon-box { display:flex; align-items:center; justify-content:center; }

/* AVATAR */
.avatar { display:flex; align-items:center; justify-content:center; font-family:'Outfit',sans-serif; font-weight:800; color:#fff; border-radius:14px; aspect-ratio:1/1; }

/* HERO */
.hero { position:relative; min-height:580px; display:flex; align-items:center; overflow:hidden; padding-top:72px; }
.hero-bg { position:absolute; inset:0; background:var(--navy); background-size:cover; background-position:center; }
.hero-overlay { position:absolute; inset:0; background:rgba(11,24,56,0.55); }
.hero-content { position:relative; z-index:2; max-width:1240px; margin:0 auto; padding:60px 24px; }
.hero h1 { font-size:clamp(2.6rem,5.5vw,4rem); color:#fff; font-weight:800; line-height:1.05; letter-spacing:-0.02em; margin:20px 0 18px; }
.hero h1 span { color:var(--orange); }
.hero p { font-size:17px; color:rgba(255,255,255,0.7); max-width:480px; line-height:1.7; margin-bottom:28px; }
.hero-stats { display:flex; gap:32px; margin-top:36px; }
.hero-stat-n { font-family:'Outfit',sans-serif; font-size:24px; font-weight:700; color:var(--orange); }
.hero-stat-l { font-size:12px; color:rgba(255,255,255,0.5); margin-top:2px; }
.insurance-section { background:#fff; padding:48px 0; border-bottom:1px solid var(--g100); }
.insurance-inner { max-width:1240px; margin:0 auto; padding:0 24px; text-align:center; }
.insurance-heading { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:8px; }
.insurance-check { width:28px; height:28px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center; }
.insurance-title { font-family:'Outfit',sans-serif; font-size:20px; font-weight:800; color:var(--navy); letter-spacing:-0.02em; }
.insurance-sub { font-size:14px; color:var(--g500); margin-bottom:28px; }
.insurance-logos { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; margin-bottom:20px; }
.insurance-logo { padding:12px 24px; border-radius:14px; background:var(--g50); border:1px solid var(--g100); font-family:'Outfit',sans-serif; font-weight:700; font-size:15px; color:var(--navy); letter-spacing:-0.01em; transition:all 0.2s; cursor:default; }
.insurance-logo:hover { border-color:var(--orange); background:var(--orange-light); }
.insurance-more { font-size:13px; color:var(--orange); font-weight:700; cursor:pointer; }

/* SECTION */
.section { padding:80px 0; }
.section-white { background:#fff; }
.section-bg { background:var(--bg); }

/* SERVICE CARD — large */
.svc-card-lg { display:grid; gap:0; background:#fff; border-radius:20px; overflow:hidden; border:1px solid var(--g100); }
.svc-card-lg .svc-icon-panel { min-height:240px; background:var(--g50); display:flex; align-items:center; justify-content:center; }
.svc-card-lg .svc-text { padding:40px; display:flex; flex-direction:column; justify-content:center; }
.svc-card-lg h3 { font-size:28px; color:var(--navy); margin:14px 0 10px; }
.svc-card-lg p { font-size:15px; color:var(--g600); line-height:1.7; margin-bottom:20px; }
.svc-card-lg .price { font-size:14px; color:var(--g400); margin-bottom:16px; }
.svc-card-lg .price strong { color:var(--navy); }

/* FOOTER */
.footer { background:var(--navy); color:rgba(255,255,255,0.6); padding:64px 0 28px; }
.footer-grid { display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.footer h4 { color:#fff; font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.1em; margin-bottom:14px; }
.footer a { color:rgba(255,255,255,0.5); text-decoration:none; font-size:13px; display:block; padding:3px 0; transition:color 0.2s; }
.footer a:hover { color:var(--orange); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding-top:24px; display:flex; justify-content:space-between; font-size:12px; }

/* PRICING */
.pricing-card { background:#fff; border-radius:16px; border:1px solid var(--g200); margin-bottom:12px; overflow:hidden; transition:all 0.3s; }
.pricing-card.open { border-color:var(--orange); }
.pricing-header { padding:20px 24px; display:flex; align-items:center; justify-content:space-between; cursor:pointer; }
.pricing-body { padding:0 24px 24px; border-top:1px solid var(--g100); padding-top:20px; display:none; }
.pricing-card.open .pricing-body { display:block; }


/* =============================================
   MOBILE NAV — Pure CSS, zero JavaScript
   Hidden on desktop via display:none
   Checkbox hack for menu toggle
   Radio buttons for accordion sections
   ============================================= */

/* Hide mobile nav on desktop */
.mob-nav-wrap { display:none; }

/* Hide the raw checkbox & radio inputs always */
.mob-toggle-input,
.mob-acc-input { position:absolute; opacity:0; pointer-events:none; width:0; height:0; }

/* ===== RESPONSIVE ===== */
@media (max-width:768px) {

  /* Hide desktop nav links, show mobile nav */
  .nav-links { display:none !important; }
  .mob-nav-wrap { display:block; }

  /* ---- Hamburger button — positioned right inside the nav bar ---- */
  .mob-hamburger {
    position:fixed;
    top:0;
    right:0;
    height:72px;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:0 16px;
    z-index:10001;
    -webkit-tap-highlight-color:transparent;
  }
  .mob-ham-icon { display:block; }
  /* Hide hamburger when menu is open (panel has its own close X) */
  #mobMenuToggle:checked ~ .mob-hamburger { display:none; }

  /* ---- Full-screen panel ---- */
  .mob-panel {
    position:fixed;
    top:0; left:0; right:0; bottom:0;
    background:#fff;
    z-index:10000;
    display:flex;
    flex-direction:column;
    /* Hidden by default */
    transform:translateX(100%);
    visibility:hidden;
    transition:transform 0.3s ease, visibility 0.3s;
  }
  #mobMenuToggle:checked ~ .mob-panel {
    transform:translateX(0);
    visibility:visible;
  }

  /* ---- Panel header (logo + close) ---- */
  .mob-panel-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 16px;
    height:72px;
    flex-shrink:0;
    border-bottom:1px solid var(--g100);
  }
  .mob-close-label {
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    padding:8px;
    border-radius:10px;
    -webkit-tap-highlight-color:transparent;
  }
  .mob-close-label:active { background:var(--g50); }

  /* ---- Scrollable body ---- */
  .mob-panel-body {
    flex:1;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:8px 0 32px;
  }

  /* ---- Top-level standalone links ---- */
  .mob-top-link {
    display:block;
    padding:15px 24px;
    font-family:'Outfit',sans-serif;
    font-size:17px;
    font-weight:600;
    color:var(--navy);
    text-decoration:none;
    border-bottom:1px solid var(--g100);
    -webkit-tap-highlight-color:transparent;
  }
  .mob-top-link:active { background:var(--g50); }

  /* ---- Accordion wrapper ---- */
  .mob-accordion {
    border-bottom:1px solid var(--g100);
  }

  /* ---- Accordion trigger (label for radio) ---- */
  .mob-acc-trigger {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:15px 24px;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .mob-acc-trigger:active { background:var(--g50); }
  .mob-acc-title {
    font-family:'Outfit',sans-serif;
    font-size:17px;
    font-weight:600;
    color:var(--navy);
  }
  .mob-acc-arrow {
    font-size:14px;
    color:var(--g400);
    transition:transform 0.25s ease;
    display:inline-block;
  }

  /* ---- Accordion body (hidden by default) ---- */
  .mob-acc-body {
    max-height:0;
    overflow:hidden;
    transition:max-height 0.35s ease;
    background:var(--g50);
  }

  /* ---- Open state: radio checked → show body ---- */
  /* Services accordion */
  #mobAccSvc:checked ~ .mob-acc-body {
    max-height:1600px;
  }
  #mobAccSvc:checked ~ .mob-acc-header .mob-acc-trigger {
    background:var(--orange-light);
  }
  #mobAccSvc:checked ~ .mob-acc-header .mob-acc-title {
    color:var(--orange);
  }
  #mobAccSvc:checked ~ .mob-acc-header .mob-acc-arrow {
    transform:rotate(180deg);
    color:var(--orange);
  }

  /* Company accordion */
  #mobAccCo:checked ~ .mob-acc-body {
    max-height:800px;
  }
  #mobAccCo:checked ~ .mob-acc-header .mob-acc-trigger {
    background:var(--orange-light);
  }
  #mobAccCo:checked ~ .mob-acc-header .mob-acc-title {
    color:var(--orange);
  }
  #mobAccCo:checked ~ .mob-acc-header .mob-acc-arrow {
    transform:rotate(180deg);
    color:var(--orange);
  }

  /* Login accordion */
  #mobAccLogin:checked ~ .mob-acc-body {
    max-height:500px;
  }
  #mobAccLogin:checked ~ .mob-acc-header .mob-acc-trigger {
    background:var(--orange-light);
  }
  #mobAccLogin:checked ~ .mob-acc-header .mob-acc-title {
    color:var(--orange);
  }
  #mobAccLogin:checked ~ .mob-acc-header .mob-acc-arrow {
    transform:rotate(180deg);
    color:var(--orange);
  }

  /* ---- Sub-links inside accordions ---- */
  .mob-link {
    display:block;
    padding:12px 24px;
    text-decoration:none;
    -webkit-tap-highlight-color:transparent;
  }
  .mob-link:active { background:var(--orange-light); }
  .mob-link-title {
    display:block;
    font-size:15px;
    font-weight:600;
    color:var(--navy);
    line-height:1.3;
  }
  .mob-link-desc {
    display:block;
    font-size:12px;
    color:var(--g400);
    margin-top:1px;
  }

  /* ---- Section labels & dividers inside accordion ---- */
  .mob-acc-section-label {
    padding:14px 24px 6px;
    font-size:10px;
    font-weight:700;
    color:var(--g400);
    text-transform:uppercase;
    letter-spacing:0.1em;
  }
  .mob-acc-divider {
    height:1px;
    background:var(--g200);
    margin:8px 24px;
  }

  /* ---- CTA section ---- */
  .mob-cta-section {
    padding:20px 24px 8px;
  }
  .mob-cta-btn {
    width:100%;
    text-align:center;
    padding:16px 32px !important;
    font-size:17px !important;
    border-radius:14px;
  }

  /* ---- Login accordion styling ---- */
  .mob-login-accordion {
    border-bottom:none;
  }
  .mob-login-trigger .mob-acc-title {
    font-size:16px;
  }

  /* ---- Contact info at bottom ---- */
  .mob-contact {
    padding:20px 24px 8px;
    text-align:center;
    border-top:1px solid var(--g100);
    margin-top:8px;
  }
  .mob-contact-phone {
    display:block;
    font-family:'Outfit',sans-serif;
    font-size:18px;
    font-weight:700;
    color:var(--orange) !important;
    text-decoration:none;
    margin-bottom:4px;
  }
  .mob-contact-email {
    display:block;
    font-size:13px;
    color:var(--g500) !important;
    text-decoration:none;
  }

  /* ===== GENERAL RESPONSIVE RULES ===== */
  .grid-3,.grid-4,.grid-5 { grid-template-columns:1fr !important; }
  .grid-2 { grid-template-columns:1fr !important; }
  .svc-card-lg { grid-template-columns:1fr !important; }
  .footer-grid { grid-template-columns:1fr !important; gap:24px !important; }
  .hero-stats { flex-wrap:wrap; gap:20px; }
  .container { padding:0 16px !important; }
  .section { padding:48px 0 !important; }
  .hero { min-height:60vh !important; padding:80px 0 40px !important; }
  .hero h1 { font-size:1.8rem !important; }
  .hero p { font-size:14px !important; }
  .tab-bar { overflow-x:auto; -webkit-overflow-scrolling:touch; flex-wrap:nowrap !important; }
  .card { margin-bottom:0; }
  .gs-plan { padding:18px !important; }
  #gsPlanGrid { grid-template-columns:1fr !important; }
  #gsPlanGrid .gs-plan[style*="grid-column"] { grid-column:auto !important; }
  #symptomGrid { grid-template-columns:1fr 1fr !important; }
  #gsProgress { gap:0 !important; }
  .gs-step-dot { width:28px !important; height:28px !important; font-size:12px !important; }
  #gsStepLabels span { font-size:8px !important; }
  #gsProviderMatch { flex-direction:column; text-align:center; }
  #lcWhyGrid { grid-template-columns:1fr !important; }
  #lcSymptoms { grid-template-columns:1fr !important; }
  .nav-inner { padding:0 12px !important; }
  .btn-md { padding:10px 18px !important; font-size:13px !important; }
  .btn-lg { padding:12px 24px !important; font-size:14px !important; }
  h1 { font-size:1.6rem !important; }
  h2 { font-size:1.3rem !important; }
  #homeDoctorsGrid > div { grid-template-columns:1fr 1fr !important; }
  .footer-cta { flex-direction:column !important; text-align:center !important; gap:16px !important; }
  .tab-bar .tab { padding:8px 14px !important; font-size:12px !important; }
  [style*="max-width:580px"] { max-width:100% !important; }
}

@media (max-width:480px) {
  #symptomGrid { grid-template-columns:1fr !important; }
  #homeDoctorsGrid > div { grid-template-columns:1fr !important; }
  .hero h1 { font-size:1.5rem !important; }
  .hero-stats > div { min-width:auto !important; }
  .gs-step-dot { width:24px !important; height:24px !important; font-size:10px !important; }
  #gsStepLabels { display:none !important; }
}

/* ANIMATIONS */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.fade-up { animation: fadeUp 0.6s ease-out forwards; }
.fade-up-d1 { animation-delay:0.1s; opacity:0; }
.fade-up-d2 { animation-delay:0.2s; opacity:0; }
.fade-up-d3 { animation-delay:0.3s; opacity:0; }

/* Intercom Chat Animations */
@keyframes pulse-ring { 0%{transform:scale(1);opacity:0.4} 100%{transform:scale(1.4);opacity:0} }
.chat-launcher-ring { position:absolute;inset:-4px;border-radius:999px;border:2px solid var(--orange);animation:pulse-ring 2s ease-out infinite;pointer-events:none; }

/* ── Pricing Tables — Mobile Responsive ─────────────────────────────────────
   All multi-column pricing tables are wrapped in .pricing-scroll-wrap.
   On mobile they scroll horizontally so no column is ever cut off.
   On desktop they display normally.
─────────────────────────────────────────────────────────────────────────── */
.pricing-scroll-wrap {
  width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
  border-radius:12px;
}
.pricing-scroll-wrap::-webkit-scrollbar { height:4px; }
.pricing-scroll-wrap::-webkit-scrollbar-track { background:var(--g100); border-radius:2px; }
.pricing-scroll-wrap::-webkit-scrollbar-thumb { background:var(--g300); border-radius:2px; }

/* Ensure inner content has a minimum width so columns don't collapse */
.pricing-scroll-wrap .pricing-inner {
  min-width:520px;
}
/* Wider tables (aesthetic, 4-col with sub-labels) */
.pricing-scroll-wrap .pricing-inner-wide {
  min-width:580px;
}

@media (max-width:600px) {
  /* Show a subtle hint that content scrolls */
  .pricing-scroll-wrap::after {
    content:'← scroll →';
    display:block;
    text-align:center;
    font-size:11px;
    color:var(--g400);
    padding:6px 0 2px;
    letter-spacing:0.05em;
  }
}