/* ===========================
       DESIGN TOKENS
       Primary Teal: #0D9488 | Dark: #0F766E | Gold: #B45309 | Text: #1E293B | BG: #F8FAFC
       Hero palette (wk/gold) from hero section wellknoxAG3
    =========================== */
    :root {
      --teal:     #0D9488;
      --teal-dk:  #0F766E;
      --teal-lt:  #F0FDFA;
      --teal-mid: #CCFBF1;
      --navy:     #0B3D36;
      --charcoal: #1E293B;
      --slate:    #475569;
      --muted:    #94A3B8;
      --border:   #E2E8F0;
      --gold:     #B45309;
      --white:    #FFFFFF;
      --bg:       #F8FAFC;
      /* Hero section palette */
      --wk-900: #0a1f19;
      --wk-700: #143d30;
      --wk-600: #1a6b56;
      --wk-500: #1f8268;
      --wk-400: #2ba88a;
      --wk-300: #5ec4aa;
      --wk-200: #a3ddd0;
      --wk-100: #d4f0ea;
      --wk-50:  #edf8f5;
      --gold-500: #c9a25b;
      --gold-400: #d4b576;
      --nav-height: 72px;
      --anchor-gap: 1rem;
    }
    /* === RESET === */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + var(--anchor-gap)); -webkit-text-size-adjust: 100%; }
    body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); overflow-x: hidden; padding-top: var(--nav-height); -webkit-font-smoothing: antialiased; }
    img, svg, video, canvas { display: block; max-width: 100%; }
    img, video { height: auto; }
    a { text-decoration: none; }

    /* === LAYOUT === */
    .container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
    section { padding: 5rem 6%; }
    section[id], #hero-wrapper, footer { scroll-margin-top: calc(var(--nav-height) + var(--anchor-gap)); }
    section, footer, .container, [class*="-grid"], [class*="-card"], [class*="-content"], [class*="-body"] { min-width: 0; }
    p, h1, h2, h3, h4, li, address, label, button, a, span, strong { overflow-wrap: anywhere; }
    .bg-lt { background: var(--bg); }
    .bg-teal-lt { background: var(--teal-lt); }

    /* === TYPOGRAPHY === */
    .eyebrow { display: inline-block; background: rgba(13,148,136,.12); color: var(--teal-dk); padding: .35rem 1rem; border-radius: 50px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
    h2.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.7rem); font-weight: 900; color: var(--charcoal); line-height: 1.15; margin-bottom: .75rem; }
    h2.section-title span { color: var(--teal); }
    .section-desc { font-size: 1rem; line-height: 1.78; color: var(--slate); max-width: 620px; margin: 0 auto; }
    .section-header { text-align: center; margin-bottom: 3.5rem; }

    /* === REVEAL ANIMATIONS === */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
    .reveal.visible { opacity: 1; transform: translateY(0); }

    /* === NAVIGATION === */
    nav.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 3000; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; height: var(--nav-height); background: rgba(255,255,255,.97); backdrop-filter: blur(16px); box-shadow: 0 2px 24px rgba(13,148,136,.1); transition: box-shadow .3s; }
    /* Image: wellknox logo png.png — official brand logo in navbar */
    .nav-logo img { height: 42px; object-fit: contain; }
    .nav-links { display: flex; gap: 1.6rem; list-style: none; flex-shrink: 0; }
    .nav-links a { color: var(--charcoal); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: .3rem 0; border-bottom: 2px solid transparent; transition: all .2s; white-space: nowrap; }
    .nav-links a:hover { color: var(--teal); border-color: var(--teal); }
    .nav-right { display: flex; align-items: center; gap: 1rem; }
    .nav-cta { background: var(--teal); color: #fff; padding: .6rem 1.35rem; border-radius: 50px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; transition: all .25s; white-space: nowrap; }
    .nav-cta:hover { background: var(--teal-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,148,136,.35); }
    .hamburger { display: none; flex-direction: column; cursor: pointer; gap: 5px; background: none; border: none; padding: 4px; }
    .hamburger span { width: 24px; height: 2px; background: var(--charcoal); transition: .3s; border-radius: 2px; display: block; }
    .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .mobile-nav { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: #fff; z-index: 2999; box-shadow: 0 12px 40px rgba(0,0,0,.1); flex-direction: column; max-height: calc(100vh - var(--nav-height)); max-height: calc(100dvh - var(--nav-height)); overflow-y: auto; }
    .mobile-nav.open { display: flex; }
    .mobile-nav a { color: var(--charcoal); font-weight: 600; font-size: .95rem; padding: .9rem 5%; border-bottom: 1px solid #f0f0f0; display: block; transition: background .2s; }
    .mobile-nav a:hover { background: var(--teal-lt); color: var(--teal); }
    .mobile-nav .mob-cta { background: var(--teal); color: #fff; text-align: center; }

    /* ============================================================
       HERO SECTION — from "hero section wellknoxAG3.html"
       Cinematic scroll-driven recovery transformation
    ============================================================ */
    #hero-wrapper {
      position: relative;
      /* The wrapper is tall to give scroll room for the pinned hero */
      height: calc(350vh - var(--nav-height));
      height: calc(350svh - var(--nav-height));
      min-height: calc(100svh - var(--nav-height));
      isolation: isolate;
    }
    #hero-pinned {
      position: relative;
      width: 100%;
      height: calc(100vh - var(--nav-height));
      height: calc(100svh - var(--nav-height)); /* mobile browsers: avoids content cut-off behind the address bar */
      overflow: hidden;
      padding: 0;
    }

    /* Hero Background Layers — deliberately muted so the copy & transformation stage stay in focus */
    .hero-bg-base {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, var(--wk-900) 0%, var(--wk-700) 40%, #0d3528 100%);
    }
    /* Soft vignette spotlight: darkens the edges so attention centers on hero content */
    .hero-bg-base::after {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 115% 85% at 50% 45%, transparent 0%, rgba(10,31,25,0.55) 100%);
    }
    .hero-bg-grid {
      position: absolute; inset: 0; opacity: 0.015;
      background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    .hero-bg-radial {
      position: absolute; inset: 0;
      background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(42,168,138,0.06) 0%, transparent 70%);
    }
    .hero-bg-glow {
      position: absolute; width: 600px; height: 600px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(201,162,91,0.04) 0%, transparent 70%);
      top: 10%; right: -10%;
      filter: blur(48px);
    }

    /* Hero Canvas (Three.js particle field) */
    #hero-canvas {
      position: absolute; inset: 0; z-index: 1;
      width: 100%; height: 100%;
      pointer-events: none;
    }

    /* Hero Content Grid */
    .hero-content {
      position: relative; z-index: 10;
      height: 100%; width: 100%;
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      padding: 0 1.5rem;
      max-width: 1400px;
      margin: 0 auto;
    }
    @media (min-width: 1024px) {
      .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        padding: 0 3rem;
      }
    }
    @media (min-width: 1280px) {
      .hero-content { padding: 0 4rem; }
    }

    /* Hero Copy */
    .hero-copy { padding-top: 5rem; }
    @media (min-width: 1024px) { .hero-copy { padding-top: 0; } }

    .hero-badge {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.375rem 1rem;
      border-radius: 999px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.12);
      color: var(--gold-400);
      font-size: 0.6875rem; font-weight: 700;
      letter-spacing: 0.15em; text-transform: uppercase;
    }
    .hero-badge .dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: var(--gold-500);
      animation: badgePulse 2s ease-in-out infinite;
    }
    @keyframes badgePulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(0.7); }
    }

    .hero-h1 {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: white;
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin: 1.25rem 0 1.5rem;
      font-size: clamp(2rem, 5vw + 0.5rem, 4.25rem);
    }
    .hero-h1 .accent {
      color: var(--wk-300);
      font-style: italic;
    }
    .hero-h1 .gold { color: var(--gold-400); }

    .hero-sub {
      margin: 0;
      color: rgba(255,255,255,0.65);
      font-size: clamp(0.875rem, 1.2vw, 1.125rem);
      font-weight: 300;
      line-height: 1.7;
      max-width: 520px;
    }

    .hero-ctas {
      display: flex; flex-wrap: wrap; gap: 0.75rem;
      margin-top: 2rem;
    }
    .hero-cta-primary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: linear-gradient(135deg, var(--wk-500), var(--wk-600));
      color: white; font-weight: 600; font-size: 0.875rem;
      border-radius: 999px; border: none; cursor: pointer;
      box-shadow: 0 8px 30px rgba(26,107,86,0.4);
      transition: transform 0.3s, box-shadow 0.3s;
      text-decoration: none;
    }
    .hero-cta-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(26,107,86,0.5);
    }
    .hero-cta-secondary {
      display: inline-flex; align-items: center; gap: 0.5rem;
      padding: 0.875rem 2rem;
      background: transparent;
      color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.875rem;
      border-radius: 999px; border: 1px solid rgba(255,255,255,0.2);
      cursor: pointer; text-decoration: none;
      transition: border-color 0.3s, color 0.3s, background 0.3s;
    }
    .hero-cta-secondary:hover {
      border-color: var(--gold-500);
      color: var(--gold-400);
      background: rgba(201,162,91,0.05);
    }

    /* Hero Stats Strip */
    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      margin-top: 2.5rem;
      padding-top: 2rem;
      border-top: 1px solid rgba(255,255,255,0.08);
    }
    .hero-stat-num {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color: white;
      font-size: clamp(1.5rem, 2.5vw, 2.5rem);
      line-height: 1;
    }
    .hero-stat-num .gold-accent { color: var(--gold-400); }
    .hero-stat-label {
      font-size: 0.6875rem;
      color: rgba(255,255,255,0.45);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 500;
      margin-top: 0.375rem;
    }

    /* ===== HERO VISUAL (Right Side) — Transformation Stage ===== */
    .hero-visual {
      position: relative;
      display: flex; align-items: center; justify-content: center;
      height: 100%;
      min-height: 400px;
    }
    @media (max-width: 1023px) {
      .hero-visual {
        display: flex !important;
        height: auto;
        min-height: auto;
        justify-content: center;
        margin-top: 1.5rem;
        width: 100%;
      }
      .transform-stage {
        max-width: 300px;
        aspect-ratio: 4 / 3.4;
        border-radius: 1.5rem;
      }
      .t-figure svg {
        width: 40%;
        max-width: 140px;
      }
      .t-figure-caption {
        margin-top: 0.5rem;
      }
      .t-figure-caption h4 {
        font-size: 0.85rem;
      }
      .t-figure-caption p {
        font-size: 0.65rem;
      }
      .scroll-progress-track {
        top: 0.75rem; left: 0.75rem; right: 0.75rem;
      }
      .phase-labels {
        top: 1.25rem; left: 0.75rem; right: 0.75rem;
      }
      .phase-label {
        font-size: 0.55rem;
      }
      .hero-mobile-visual { display: none !important; }
      /* Single-column hero: center everything for a balanced tablet/mobile presentation */
      .hero-copy { text-align: center; padding-top: 5rem; }
      .hero-h1, .hero-sub { margin-left: auto; margin-right: auto; }
      .hero-ctas { justify-content: center; }
      .hero-stats > div { text-align: center; }
    }
    @media (max-width: 767px) {
      #hero-wrapper { height: calc(300vh - var(--nav-height)); height: calc(300svh - var(--nav-height)); } /* scroll journey */
      .hero-content { align-items: center; padding-top: clamp(1rem, 2svh, 2rem); padding-bottom: 2rem; }
      .hero-copy { padding-top: 0; }
      .hero-h1 { font-size: clamp(1.8rem, 8vw, 2.3rem); margin: 0.5rem 0 0.75rem; }
      .hero-sub { line-height: 1.5; font-size: 0.85rem; max-width: 420px; }
      .hero-ctas { margin-top: 1rem; gap: 0.5rem; }
      .hero-stats { margin-top: 1rem; padding-top: 1rem; gap: 0.5rem; }
      .hero-stats { grid-template-columns: repeat(3, 1fr); }
      .hero-stat-num { font-size: clamp(1.2rem, 5vw, 1.8rem); }
      .hero-stat-label { font-size: 0.55rem; margin-top: 0.2rem; }
      #hero-scroll-cue { display: none !important; }
    }
    @media (max-width: 480px) {
      .hero-content {
        padding: 0 1rem;
        gap: 0.5rem;
      }
      .hero-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.75rem;
      }
      .hero-h1 {
        font-size: clamp(1.2rem, 6vw, 1.45rem);
        margin: 0.35rem 0 0.5rem;
      }
      .hero-sub {
        font-size: 0.72rem;
        line-height: 1.4;
        max-width: 320px;
      }
      .hero-ctas {
        margin-top: 0.6rem;
        flex-direction: row !important;
        justify-content: center;
        gap: 0.5rem;
      }
      .hero-cta-primary, .hero-cta-secondary {
        padding: 0.5rem 1rem;
        font-size: 0.72rem;
      }
      .hero-stats {
        margin-top: 0.6rem;
        padding-top: 0.6rem;
        gap: 0.25rem;
      }
      .hero-stat-num {
        font-size: 1.1rem;
      }
      .hero-stat-label {
        font-size: 0.5rem;
        letter-spacing: 0.02em;
        margin-top: 0.1rem;
      }
      .hero-visual {
        margin-top: 0.75rem;
      }
      .transform-stage {
        max-width: 250px;
        aspect-ratio: 4 / 3.0;
        border-radius: 1rem;
      }
      .t-figure svg {
        width: 35%;
        max-width: 100px;
      }
      .t-figure-caption {
        margin-top: 0.25rem;
      }
      .t-figure-caption h4 {
        font-size: 0.75rem;
      }
      .t-figure-caption p {
        font-size: 0.55rem;
      }
      .scroll-progress-track {
        top: 0.5rem; left: 0.5rem; right: 0.5rem;
        height: 2px;
      }
      .phase-labels {
        top: 0.9rem; left: 0.5rem; right: 0.5rem;
      }
      .phase-label {
        font-size: 0.45rem;
        letter-spacing: 0.05em;
      }
    }
    @media (max-height: 680px) and (max-width: 767px) {
      .hero-stats {
        display: none !important;
      }
      .hero-sub {
        display: none !important;
      }
      .hero-content {
        gap: 0.25rem;
      }
      .transform-stage {
        max-width: 230px;
        aspect-ratio: 4 / 2.8;
      }
      .hero-mobile-visual { display: none; }
    }

    /* Transformation Container */
    .transform-stage {
      position: relative;
      width: 100%; max-width: 500px;
      aspect-ratio: 4 / 5;
      border-radius: 2rem;
      overflow: hidden;
      background: linear-gradient(160deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
      border: 1px solid rgba(255,255,255,0.08);
      box-shadow:
        0 40px 80px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.05);
    }

    /* Scroll Progress Indicator on the transform stage */
    .scroll-progress-track {
      position: absolute; top: 1rem; left: 1rem; right: 1rem;
      height: 3px; background: rgba(255,255,255,0.1);
      border-radius: 99px; z-index: 20; overflow: hidden;
    }
    .scroll-progress-fill {
      height: 100%; width: 0%;
      background: linear-gradient(90deg, var(--wk-400), var(--gold-500));
      border-radius: 99px;
      transition: width 0.1s linear;
    }

    /* Phase Labels */
    .phase-labels {
      position: absolute; top: 1.75rem; left: 1rem; right: 1rem;
      display: flex; justify-content: space-between;
      z-index: 20;
    }
    .phase-label {
      font-size: 0.625rem; font-weight: 600;
      text-transform: uppercase; letter-spacing: 0.1em;
      color: rgba(255,255,255,0.3);
      transition: color 0.5s, transform 0.5s;
    }
    .phase-label.active {
      color: var(--gold-400);
      transform: translateY(-2px);
    }

    /* The 5 transformation phases rendered as SVG figures */
    .transform-figures {
      position: absolute; inset: 0;
      display: flex; align-items: center; justify-content: center;
    }
    .t-figure {
      position: absolute;
      width: 100%; height: 100%;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      opacity: 0;
      transition: opacity 0.6s ease;
    }
    .t-figure.active { opacity: 1; }
    .t-figure svg {
      width: 60%; max-width: 220px;
      height: auto;
      filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    }
    .t-figure-caption {
      margin-top: 1.5rem;
      text-align: center;
    }
    .t-figure-caption h4 {
      color: white; font-weight: 600; font-size: 1rem;
      margin: 0 0 0.25rem;
    }
    .t-figure-caption p {
      color: rgba(255,255,255,0.5); font-size: 0.75rem;
      margin: 0;
    }

    /* Background atmosphere transitions */
    .transform-atmosphere {
      position: absolute; inset: 0;
      transition: background 1s ease;
    }
    .atm-critical {
      background: radial-gradient(ellipse at 50% 60%, rgba(239,68,68,0.08) 0%, transparent 60%);
    }
    .atm-supported {
      background: radial-gradient(ellipse at 50% 60%, rgba(59,130,246,0.08) 0%, transparent 60%);
    }
    .atm-therapy {
      background: radial-gradient(ellipse at 50% 60%, rgba(26,107,86,0.12) 0%, transparent 60%);
    }
    .atm-progress {
      background: radial-gradient(ellipse at 50% 60%, rgba(42,168,138,0.15) 0%, transparent 60%);
    }
    .atm-independent {
      background: radial-gradient(ellipse at 50% 60%, rgba(201,162,91,0.15) 0%, transparent 60%);
    }

    @keyframes heroBounceCue {
      0%, 100% { transform: translateX(-50%) translateY(0); }
      50% { transform: translateX(-50%) translateY(8px); }
    }

    /* ===== REDUCED MOTION ===== */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
      }
    }

    /* === ABOUT === */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
    .about-img-stack { position: relative; padding-bottom: 1.5rem; padding-right: 1.5rem; }
    .about-img-main { border-radius: 20px; overflow: hidden; box-shadow: 0 24px 64px rgba(13,148,136,.18); }
    /* Image: web banner 3107 2.jpg — large facility interior for about section */
    .about-img-main img { width: 100%; object-fit: cover; min-height: 480px; max-height: 560px; }
    .about-img-accent { position: absolute; bottom: 0; right: 0; width: 44%; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 36px rgba(0,0,0,.18); border: 4px solid #fff; }
    /* Image: Deluxe Rooms.png — 5-star patient room accent image */
    .about-img-accent img { width: 100%; object-fit: cover; min-height: 160px; }
    .about-content h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-weight: 900; color: var(--charcoal); margin-bottom: 1rem; line-height: 1.2; }
    .about-content h2 span { color: var(--teal); }
    .about-content p { font-size: .96rem; line-height: 1.82; color: var(--slate); margin-bottom: 1.1rem; }
    .about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
    .about-hl { display: flex; align-items: flex-start; gap: .7rem; background: var(--teal-lt); border-radius: 12px; padding: .85rem 1rem; border: 1px solid var(--teal-mid); }
    .about-hl-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: .05rem; }
    .about-hl-text h4 { font-size: .84rem; font-weight: 700; color: var(--charcoal); }
    .about-hl-text p { font-size: .75rem; color: var(--slate); margin-top: .2rem; line-height: 1.5; }
    /* Journey timeline — exact brochure milestones: 2014/2018/2020/2024/2025/2026 */
    .journey-wrap { margin: 2rem 0 .5rem; }
    .journey-label-top { font-size: .72rem; font-weight: 700; color: var(--teal-dk); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .8rem; }
    .journey-track { display: flex; position: relative; overflow-x: auto; padding-bottom: .5rem; }
    .journey-track::-webkit-scrollbar { height: 4px; }
    .journey-track::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 4px; }
    .journey-step { display: flex; flex-direction: column; align-items: center; min-width: 88px; position: relative; }
    .journey-step:not(:last-child)::after { content: ''; position: absolute; top: 14px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, var(--teal), #14B8A6); z-index: 0; }
    .journey-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .6rem; font-weight: 700; z-index: 1; position: relative; box-shadow: 0 4px 12px rgba(13,148,136,.4); }
    .journey-year { font-size: .68rem; font-weight: 700; color: var(--teal); margin-top: .4rem; }
    .journey-desc { font-size: .6rem; color: var(--slate); text-align: center; margin-top: .15rem; max-width: 80px; line-height: 1.3; }

    /* === COMPARISON TABLE — brochure data as modern web component === */
    .comparison-table-wrap { overflow-x: auto; margin-top: 1rem; }
    .comparison-table { width: 100%; border-collapse: collapse; min-width: 600px; border-radius: 16px; overflow: hidden; box-shadow: 0 8px 32px rgba(13,148,136,.1); }
    .comparison-table thead tr { background: var(--navy); }
    .comparison-table thead th { padding: 1rem 1.2rem; text-align: left; color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .comparison-table thead th.wk-col { background: var(--teal); text-align: center; }
    .comparison-table thead th.ot-col { background: #374151; text-align: center; }
    .comparison-table tbody tr { border-bottom: 1px solid var(--border); background: #fff; transition: background .2s; }
    .comparison-table tbody tr:hover { background: var(--teal-lt); }
    .comparison-table tbody tr:last-child { border-bottom: none; }
    .comparison-table td { padding: .85rem 1.2rem; font-size: .86rem; color: var(--slate); }
    .comparison-table td.feat { font-weight: 600; color: var(--charcoal); }
    .comparison-table td.wk-col, .comparison-table td.ot-col { text-align: center; }
    .chk-y { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; }
    .chk-n { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; background: #FEE2E2; color: #DC2626; font-size: .8rem; font-weight: 700; }

    /* === TABS (Specialties) === */
    .tab-buttons { display: flex; flex-wrap: wrap; gap: .55rem; justify-content: center; margin-bottom: 2.5rem; }
    .tab-btn { padding: .52rem 1.3rem; border: 2px solid var(--border); background: transparent; border-radius: 50px; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--slate); transition: all .2s; font-family: 'Inter', sans-serif; }
    .tab-btn.active, .tab-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
    .tab-pane { display: none; animation: fadeUp .4s ease; }
    .tab-pane.active { display: block; }
    @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
    /* Program cards (Inpatient/Outpatient/Day Care) */
    .programs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; }
    .program-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.08); transition: all .3s; border: 1px solid var(--border); }
    .program-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(13,148,136,.14); border-color: var(--teal); }
    .program-body { padding: 1.5rem; }
    .program-tag { display: inline-block; background: var(--teal-lt); color: var(--teal-dk); padding: .22rem .75rem; border-radius: 50px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .6rem; }
    .program-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--charcoal); margin-bottom: .5rem; }
    .program-body ul { list-style: none; padding: 0; }
    .program-body li { font-size: .8rem; color: var(--slate); padding: .28rem 0; display: flex; align-items: center; gap: .45rem; border-bottom: 1px dashed var(--border); }
    .program-body li:last-child { border-bottom: none; }
    .program-body li::before { content: '\2713'; color: var(--teal); font-weight: 700; flex-shrink: 0; }
    /* Specialities grid */
    .spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
    .spec-card { background: #fff; border-radius: 16px; padding: 1.6rem 1.4rem; border: 1px solid var(--border); box-shadow: 0 4px 18px rgba(13,148,136,.06); transition: all .3s; display: flex; flex-direction: column; gap: .5rem; }
    .spec-card:hover { transform: translateY(-4px); border-color: var(--teal); box-shadow: 0 12px 36px rgba(13,148,136,.13); }
    .spec-icon { width: 48px; height: 48px; background: var(--teal-lt); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.35rem; }
    .spec-name { font-size: .94rem; font-weight: 700; color: var(--charcoal); }
    .spec-desc { font-size: .79rem; line-height: 1.65; color: var(--slate); }
    /* Studios grid */
    .studio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 1.1rem; margin-top: 1rem; }
    .studio-card { border-radius: 14px; overflow: hidden; position: relative; min-height: 170px; }
    .studio-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
    .studio-card:hover img { transform: scale(1.06); }
    .studio-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,61,54,.88) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem 1rem .9rem; }
    .studio-icon { font-size: 1.3rem; margin-bottom: .3rem; }
    .studio-name { font-size: .84rem; font-weight: 700; color: #fff; line-height: 1.3; }

    /* === TECHNOLOGY === */
    .tech-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-bottom: 3rem; }
    .tech-feature-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(13,148,136,.18); position: relative; }
    /* Image: Robotics.png — Walkbot Robotic Exoskeleton from South Korea */
    .tech-feature-img img { width: 100%; display: block; object-fit: cover; max-height: 420px; }
    .tech-badge { position: absolute; bottom: 1.4rem; left: 1.4rem; background: rgba(11,61,54,.9); color: #fff; padding: .65rem 1.1rem; border-radius: 12px; }
    .tech-badge strong { display: block; font-size: .88rem; font-weight: 700; }
    .tech-badge span { font-size: .74rem; color: rgba(255,255,255,.7); }
    .tech-feature-content h3 { font-family: 'Playfair Display', serif; font-size: 1.85rem; font-weight: 700; color: var(--charcoal); margin-bottom: .85rem; line-height: 1.2; }
    .tech-feature-content h3 span { color: var(--teal); }
    .tech-feature-content p { font-size: .94rem; line-height: 1.82; color: var(--slate); margin-bottom: 1rem; }
    .tech-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
    .tech-list li { display: flex; align-items: center; gap: .65rem; font-size: .86rem; color: var(--slate); font-weight: 500; }
    .tech-list li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
    /* Equipment mini-cards */
    .equip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
    .equip-card { background: #fff; border-radius: 14px; padding: 1.1rem 1.2rem; border: 1px solid var(--border); transition: all .3s; display: flex; align-items: center; gap: .75rem; }
    .equip-card:hover { border-color: var(--teal); box-shadow: 0 6px 20px rgba(13,148,136,.1); transform: translateY(-2px); }
    .equip-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
    .equip-name { font-size: .82rem; font-weight: 600; color: var(--charcoal); }
    /* Aquatherapy */
    .aqua-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; margin-top: 2rem; }
    .aqua-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(13,148,136,.18); }
    /* Image: Aquatherapy.png — temperature-controlled pool with underwater treadmill */
    .aqua-img img { width: 100%; display: block; object-fit: cover; max-height: 380px; }
    .aqua-content h3 { font-family: 'Playfair Display', serif; font-size: 1.65rem; font-weight: 700; color: var(--charcoal); margin-bottom: .8rem; line-height: 1.2; }
    .aqua-content h3 span { color: var(--teal); }
    .aqua-content p { font-size: .94rem; line-height: 1.82; color: var(--slate); margin-bottom: 1rem; }

    /* === ICU SECTION === */
    .icu-section { background: linear-gradient(135deg, #0B3D36 0%, #0D5547 55%, #0D9488 100%); color: #fff; }
    .icu-section .section-title { color: #fff; }
    .icu-section .section-desc { color: rgba(255,255,255,.78); }
    .icu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
    .icu-img { border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.38); }
    /* Image: Longterm ICU Care.png — India's 1st Long-Term ICU facility */
    .icu-img img { width: 100%; display: block; object-fit: cover; max-height: 440px; }
    .icu-features { display: flex; flex-direction: column; gap: 1.25rem; }
    .icu-feature { background: rgba(255,255,255,.1); border-radius: 14px; padding: 1.1rem 1.4rem; border: 1px solid rgba(255,255,255,.14); display: flex; align-items: flex-start; gap: .9rem; }
    .icu-icon { font-size: 1.45rem; flex-shrink: 0; margin-top: .1rem; }
    .icu-feature h4 { font-size: .92rem; font-weight: 700; margin-bottom: .25rem; }
    .icu-feature p { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.78); }
    /* ICU stats — all from brochure: 50 beds, 14 ventilators, 24x7, NABH */
    .icu-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.18); }
    .icu-stat { text-align: center; }
    .icu-stat-num { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; }
    .icu-stat-label { font-size: .74rem; color: rgba(255,255,255,.68); margin-top: .25rem; }

    /* === BRANCHES === */
    .branches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.6rem; }
    .branch-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 6px 24px rgba(0,0,0,.07); transition: all .3s; border: 1px solid var(--border); }
    .branch-card:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(13,148,136,.15); border-color: var(--teal); }
    .branch-card.coming-soon { border: 2px dashed var(--teal); opacity: .88; }
    .branch-img { height: 158px; overflow: hidden; position: relative; }
    .branch-img img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
    .branch-card:hover .branch-img img { transform: scale(1.06); }
    .branch-tag { position: absolute; top: .65rem; left: .65rem; background: var(--teal); color: #fff; padding: .2rem .58rem; border-radius: 50px; font-size: .62rem; font-weight: 700; }
    .branch-tag.soon { background: var(--gold); }
    .branch-body { padding: 1.1rem 1.25rem; }
    .branch-body h3 { font-size: .93rem; font-weight: 700; color: var(--charcoal); margin-bottom: .3rem; }
    .branch-body address { font-size: .76rem; color: var(--slate); font-style: normal; line-height: 1.55; }
    .branch-cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; color: var(--teal); font-weight: 600; font-size: .78rem; border: 1.5px solid var(--teal); padding: .3rem .75rem; border-radius: 50px; transition: all .2s; }
    .branch-cta:hover { background: var(--teal); color: #fff; }
    /* Expansion bars */
    .expansion-card { background: #fff; border-radius: 20px; padding: 2rem; box-shadow: 0 8px 32px rgba(13,148,136,.1); margin-bottom: 2.5rem; }
    .expansion-card h3 { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 1.4rem; }
    .bar-rows { display: flex; flex-direction: column; gap: .9rem; }
    .bar-row { display: flex; align-items: center; gap: .9rem; }
    .bar-year { font-size: .73rem; font-weight: 600; color: var(--slate); width: 34px; flex-shrink: 0; }
    .bar-track { flex: 1; height: 9px; background: #e2e8f0; border-radius: 50px; overflow: hidden; }
    .bar-fill { height: 100%; background: linear-gradient(90deg, var(--teal), #14B8A6); border-radius: 50px; transition: width 1.2s ease; }
    .bar-beds { font-size: .73rem; font-weight: 700; color: var(--teal); width: 60px; flex-shrink: 0; }

    /* === TEAM === */
    .team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.4rem; margin-bottom: 2.5rem; }
    .team-cat-card { background: #fff; border-radius: 18px; padding: 1.5rem; border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(13,148,136,.07); transition: all .3s; }
    .team-cat-card:hover { border-color: var(--teal); box-shadow: 0 8px 28px rgba(13,148,136,.14); }
    .team-cat-icon { font-size: 1.8rem; margin-bottom: .6rem; }
    .team-cat-title { font-size: .92rem; font-weight: 700; color: var(--teal-dk); margin-bottom: .5rem; }
    .team-cat-list { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
    .team-cat-list li { font-size: .76rem; color: var(--slate); display: flex; align-items: center; gap: .35rem; }
    .team-cat-list li::before { content: '\203A'; color: var(--teal); font-weight: 700; font-size: 1rem; }
    .team-img-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.8rem; margin-top: .5rem; }
    .team-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 8px 28px rgba(0,0,0,.1); }
    .team-photo img { width: 100%; height: 280px; object-fit: cover; }
    .team-photo-cap { padding: .9rem 1.1rem; background: #fff; }
    .team-photo-cap h4 { font-size: .88rem; font-weight: 700; color: var(--charcoal); }
    .team-photo-cap p { font-size: .74rem; color: var(--slate); margin-top: .15rem; }

    /* === AWARDS === */
    .awards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
    .award-card { display: flex; align-items: flex-start; gap: 1rem; background: #fff; border-radius: 16px; padding: 1.3rem 1.4rem; border: 1px solid var(--border); box-shadow: 0 4px 16px rgba(13,148,136,.06); transition: all .3s; }
    .award-card:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(180,83,9,.12); }
    .award-trophy { font-size: 1.6rem; flex-shrink: 0; }
    .award-info strong { display: block; font-size: .88rem; font-weight: 700; color: var(--charcoal); margin-bottom: .2rem; }
    .award-info span { font-size: .78rem; color: var(--slate); line-height: 1.5; }

    /* === CONTACT FORM === */
    .contact-section { background: var(--teal-lt); }
    .contact-wrapper { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
    .contact-info h2 { font-family: 'Playfair Display', serif; font-size: 2.1rem; font-weight: 900; color: var(--charcoal); margin-bottom: .9rem; }
    .contact-info h2 span { color: var(--teal); }
    .contact-info > p { font-size: .95rem; line-height: 1.78; color: var(--slate); margin-bottom: 1.5rem; }
    .contact-highlights { display: flex; flex-direction: column; gap: .85rem; }
    .contact-hl { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 12px; padding: .95rem 1.1rem; box-shadow: 0 2px 10px rgba(13,148,136,.08); }
    .contact-hl-icon { font-size: 1.4rem; }
    .contact-hl-text h4 { font-size: .86rem; font-weight: 700; color: var(--charcoal); }
    .contact-hl-text p { font-size: .76rem; color: var(--slate); }
    .contact-form { background: #fff; border-radius: 24px; padding: 2.5rem 2.3rem; box-shadow: 0 14px 52px rgba(13,148,136,.12); }
    .contact-form h3 { font-size: 1.25rem; font-weight: 700; color: var(--charcoal); margin-bottom: .4rem; }
    .form-sub { font-size: .82rem; color: var(--slate); margin-bottom: 1.5rem; }
    .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
    .form-group { display: flex; flex-direction: column; gap: .35rem; }
    .form-group.full { grid-column: 1/-1; }
    .form-group label { font-size: .76rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .04em; }
    .form-group input, .form-group select, .form-group textarea { border: 1.5px solid var(--border); border-radius: 10px; padding: .72rem 1rem; font-size: .86rem; font-family: 'Inter', sans-serif; color: var(--charcoal); transition: all .2s; background: #fafafa; }
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(13,148,136,.1); }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-submit { width: 100%; background: var(--teal); color: #fff; border: none; padding: 1rem; border-radius: 50px; font-size: .98rem; font-weight: 700; cursor: pointer; transition: all .25s; font-family: 'Inter', sans-serif; margin-top: .5rem; letter-spacing: .04em; }
    .form-submit:hover { background: var(--teal-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,148,136,.4); }
    .form-note { font-size: .72rem; color: var(--muted); text-align: center; margin-top: .65rem; }

    /* === FOOTER === */
    footer { background: #0B3D36; color: rgba(255,255,255,.85); padding: 4rem 6% 2rem; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
    /* Image: wellknox logo png.png — white version in footer */
    .footer-logo img { height: 38px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
    .footer-about { font-size: .81rem; line-height: 1.72; color: rgba(255,255,255,.62); }
    .footer-phone { display: flex; align-items: center; gap: .4rem; color: #5EEAD4; font-weight: 700; font-size: .92rem; margin-top: .8rem; }
    .footer-web { color: rgba(255,255,255,.58); font-size: .82rem; margin-top: .3rem; }
    .footer-col h4 { font-size: .8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
    .footer-col ul { list-style: none; }
    .footer-col li { margin-bottom: .5rem; }
    .footer-col a { color: rgba(255,255,255,.58); font-size: .8rem; transition: color .2s; }
    .footer-col a:hover { color: #5EEAD4; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
    .footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.42); }

    /* Toast */
    .toast { position: fixed; bottom: 2rem; right: 2rem; background: var(--teal); color: #fff; padding: 1rem 1.5rem; border-radius: 12px; font-weight: 600; font-size: .88rem; box-shadow: 0 8px 32px rgba(13,148,136,.4); transform: translateY(100px); opacity: 0; transition: all .4s; z-index: 9999; }
    .toast.show { transform: translateY(0); opacity: 1; }

    /* === RESPONSIVE === */
    @media (max-width: 1150px) {
      .nav-links { gap: 1.1rem; } /* keep desktop nav comfortable on small laptops */
    }
    @media (max-width: 1024px) {
      .about-grid, .tech-feature-grid, .aqua-grid, .icu-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
      .programs-grid { grid-template-columns: 1fr 1fr; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .icu-stats { grid-template-columns: repeat(2,1fr); }
      .section-header { margin-bottom: 2.75rem; }
      /* Keep media centered when grids collapse to one column */
      .about-img-stack, .tech-feature-img, .aqua-img, .icu-img { max-width: 640px; margin-left: auto; margin-right: auto; width: 100%; }
    }
    @media (max-width: 1024px) {
      /* Tablets: full link row gets cramped — switch to the hamburger menu */
      .nav-links, .nav-cta { display: none; }
      .hamburger { display: flex; }
    }
    @media (max-width: 768px) {
      .programs-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; }
      section { padding: 4rem 5%; }
      #hero-pinned { padding: 0; }
      .contact-form { padding: 1.8rem 1.4rem; }
      .form-grid { grid-template-columns: 1fr; }
      h2.section-title { font-size: 1.78rem; }
      .about-img-accent { display: none; }
      .about-highlights { grid-template-columns: 1fr; }
      .studio-grid { grid-template-columns: repeat(2,1fr); }
      .team-img-row { grid-template-columns: 1fr; }
      .expansion-card { padding: 1.4rem 1.1rem; }
      .footer-bottom { flex-direction: column; justify-content: center; text-align: center; gap: .4rem; }
    }
    @media (max-width: 480px) {
      .spec-grid { grid-template-columns: 1fr; }
      .icu-stats { grid-template-columns: 1fr 1fr; }
      .awards-grid { grid-template-columns: 1fr; }
      .studio-grid { grid-template-columns: 1fr; }
      .tab-buttons { gap: .4rem; }
      .tab-btn { padding: .45rem 1rem; font-size: .74rem; }
      .bar-beds { width: 52px; font-size: .68rem; }
      .container { padding: 0 4%; }
    }