/* ============================================================
   Jangam Healthcare — Shared Stylesheet
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #0d1117;
  --ink-soft:   #1e2530;
  --paper:      #f5f2ec;
  --cream:      #faf8f4;
  --green:      #1a7a5e;
  --green-lt:   #22a07a;
  --green-glow: rgba(26,122,94,0.15);
  --gold:       #c8a84b;
  --muted:      #6b7280;
  --border:     rgba(13,17,23,0.10);
  --serif: 'DM Serif Display', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── ANIMATIONS ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* AI Network Animation */
.ai-node {
  fill: #14b8a6;
  opacity: 0.8;
  transform-origin: center;
  animation: ai-pulse 3s infinite ease-in-out;
}
@keyframes ai-pulse {
  0%, 100% { r: 3; opacity: 0.6; }
  50% { r: 5; opacity: 1; }
}
.ai-line {
  stroke: rgba(96, 165, 250, 0.4);
  stroke-width: 1.25;
  opacity: 0.8;
}
.ai-signal {
  fill: #3b82f6;
}


/* ── REVEAL ON SCROLL ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
  background: rgba(245,242,236,0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.07); }

/* Dark nav variant (technology page) */
nav.nav-dark {
  background: rgba(13,17,23,0.92);
  border-bottom-color: rgba(255,255,255,.07);
}
nav.nav-dark::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, #0d9488, #181a96);
  opacity: 0.85; pointer-events: none;
}
nav.nav-dark.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.3); }

.nav-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
}
nav.nav-dark .nav-logo { color: var(--paper); }

.nav-logo .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
nav.nav-dark .nav-logo .dot { animation: pulse 2s infinite; }

.nav-links {
  display: flex; gap: 32px; list-style: none; align-items: center;
}
.nav-links a {
  font-size: .875rem; font-weight: 500; letter-spacing: 0.01em;
  color: var(--muted); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

nav.nav-dark .nav-links a { color: rgba(245,242,236,.5); }
nav.nav-dark .nav-links a:hover,
nav.nav-dark .nav-links a.active { color: var(--paper); }

.nav-links .nav-cta a {
  background: var(--ink); color: var(--paper);
  padding: 9px 20px; border-radius: 6px;
  transition: background .2s, color .2s;
}
.nav-links .nav-cta a:hover { background: var(--green); color: #fff; }

nav.nav-dark .nav-links .nav-cta a {
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(24,26,150,0.25);
}
nav.nav-dark .nav-links .nav-cta a:hover {
  background: linear-gradient(135deg, #14b8a6 0%, #292db3 100%);
  box-shadow: 0 6px 20px rgba(24,26,150,0.35);
}

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: .3s;
}
nav.nav-dark .nav-toggle span { background: var(--paper); }

/* ── SECTION BASICS ─────────────────────────────────────── */
section { padding: 90px 5%; }

.section-label {
  font-size: .72rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.03em; line-height: 1.1;
  max-width: 580px;
}
.section-body {
  font-size: 1rem; line-height: 1.75;
  color: var(--muted); max-width: 520px;
  margin-top: 18px; font-weight: 300;
}

/* ── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  padding: 148px 5% 80px;
  position: relative; overflow: hidden;
}
.page-hero-dark {
  background: var(--ink); color: var(--paper);
}
.page-hero-light {
  background: var(--paper);
}
.breadcrumb {
  font-size: .75rem; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 24px;
}
.page-hero-dark .breadcrumb { color: rgba(245,242,236,.4); }
.page-hero-light .breadcrumb { color: var(--muted); }
.breadcrumb a { color: var(--green); text-decoration: none; }
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.03em; line-height: 1.05;
  animation: fadeUp .8s ease both;
}
.page-hero h1 em { font-style: italic; }
.page-hero-dark h1 em {
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.page-hero-light h1 em {
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.page-hero .sub {
  font-size: 1.05rem; line-height: 1.7;
  max-width: 520px; margin-top: 22px;
  font-weight: 300;
  animation: fadeUp .8s ease .15s both;
}
.page-hero-dark .sub { color: rgba(245,242,236,.6); }
.page-hero-light .sub { color: var(--muted); }

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px;
  font-size: .9rem; font-weight: 600; font-family: var(--sans);
  letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%); color: var(--paper); border: none;
  box-shadow: 0 4px 20px rgba(24,26,150,.2);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(24,26,150,.3); background: linear-gradient(135deg, #14b8a6 0%, #292db3 100%); }

.btn-outline {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(13,17,23,.25);
}
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }

.btn-green {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 20px rgba(26,122,94,.3);
}
.btn-green:hover { background: var(--green-lt); box-shadow: 0 8px 30px rgba(26,122,94,.4); }

.btn-gradient {
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%); border: none; color: #fff;
  box-shadow: 0 4px 20px rgba(24,26,150,.25);
}
.btn-gradient:hover {
  background: linear-gradient(135deg, #14b8a6 0%, #292db3 100%); box-shadow: 0 8px 30px rgba(24,26,150,.35);
}

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { box-shadow: 0 8px 30px rgba(0,0,0,.15); }

.btn-ghost {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-outline-light {
  background: transparent; color: var(--paper);
  border: 1.5px solid rgba(245,242,236,.25);
}
.btn-outline-light:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(245,242,236,.5);
  padding: 60px 5% 36px;
}
.footer-top {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand .nav-logo { color: var(--paper); margin-bottom: 12px; }
.footer-brand p { font-size: .85rem; max-width: 250px; line-height: 1.6; }

.footer-col h4 {
  font-size: .72rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,242,236,.3); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  color: rgba(245,242,236,.55); font-size: .87rem;
  text-decoration: none; transition: color .2s;
}
.footer-col a:hover { color: var(--paper); }

.footer-bottom {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap;
  gap: 10px; margin-top: 28px; font-size: .78rem;
}

/* Newsletter in footer (home page) */
.newsletter {
  display: flex; gap: 0; margin-top: 16px;
  border: 1px solid rgba(255,255,255,.12); border-radius: 8px; overflow: hidden;
}
.newsletter input {
  flex: 1; padding: 10px 14px;
  background: rgba(255,255,255,.06);
  border: none; color: var(--paper);
  font-family: var(--sans); font-size: .85rem; outline: none;
}
.newsletter input::placeholder { color: rgba(245,242,236,.3); }
.newsletter button {
  padding: 10px 16px; background: var(--green); color: #fff;
  border: none; font-family: var(--sans); font-size: .82rem;
  font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .2s;
}
.newsletter button:hover { background: var(--green-lt); }

/* ── CTA STRIP ──────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--green) 0%, #0d5c43 100%);
  color: #fff; padding: 80px 5%; text-align: center;
}
.cta-strip h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.03em; margin-bottom: 16px;
}
.cta-strip p {
  font-size: 1rem; color: rgba(255,255,255,.75);
  max-width: 460px; margin: 0 auto 36px;
  font-weight: 300; line-height: 1.7;
}
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── ═══════════════════════════════════════════════════════
   HOME PAGE
   ═══════════════════════════════════════════════════════ */

/* Hero */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 5% 80px;
  position: relative; overflow: hidden;
}
.hero-bg-lines {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, var(--border) 79px, var(--border) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, var(--border) 79px, var(--border) 80px);
  opacity: 0.5;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-glow); border: 1px solid rgba(26,122,94,0.3);
  border-radius: 100px; padding: 6px 14px;
  font-size: .8rem; font-weight: 500;
  color: var(--green); letter-spacing: 0.02em;
  margin-bottom: 32px; width: fit-content;
  animation: fadeUp .7s ease both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05; letter-spacing: -0.03em;
  max-width: 780px;
  animation: fadeUp .8s ease .1s both;
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 28px; font-size: 1.1rem; line-height: 1.65;
  color: var(--muted); max-width: 520px; font-weight: 300;
  animation: fadeUp .8s ease .2s both;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 44px;
  animation: fadeUp .8s ease .3s both;
}
.hero-stats {
  display: flex; gap: 52px; flex-wrap: wrap;
  margin-top: 72px; padding-top: 40px;
  border-top: 1px solid var(--border);
  animation: fadeUp .8s ease .4s both;
}
.stat-val {
  font-family: var(--serif); font-size: 2.4rem;
  letter-spacing: -0.04em; line-height: 1;
}
.stat-label {
  font-size: .78rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 5px;
}

/* Problem section */
#problem { background: var(--paper); }
.problem-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 52px;
}
.problem-card {
  padding: 32px 28px; border-radius: 14px;
  background: var(--cream); border: 1px solid var(--border);
  transition: transform .3s, box-shadow .3s;
}
.problem-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.06); }
.problem-icon { font-size: 1.8rem; margin-bottom: 16px; }
.problem-card h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 10px; }
.problem-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* Platform section */
#platform { background: var(--cream); }
.platform-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 52px; }
.platform-right { display: flex; flex-direction: column; gap: 28px; }
.platform-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 36px 32px;
  transition: transform .3s, box-shadow .3s;
}
.platform-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.platform-number { font-size: .72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.platform-card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 14px; }
.platform-card p { font-size: .9rem; color: var(--muted); line-height: 1.7; }
.platform-tag {
  display: inline-block; margin-top: 20px;
  background: var(--green-glow); border: 1px solid rgba(26,122,94,.25);
  color: var(--green); border-radius: 4px; padding: 4px 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: 0.04em;
}

/* Flywheel section */
#flywheel { background: var(--paper); text-align: center; }
.flywheel-wrap {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 0; margin-top: 52px;
}
.fw-node {
  background: var(--ink); color: var(--paper);
  border-radius: 12px; padding: 18px 24px;
  font-family: var(--serif); font-size: 1rem;
  transition: background .2s;
}
.fw-node:hover { background: var(--green); }
.fw-arrow { font-size: 1.4rem; color: var(--green); padding: 0 12px; }

/* Specialties section (home) */
#specialties { background: var(--cream); }
.spec-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 52px;
}
.spec-card {
  display: flex; gap: 0; background: #fff;
  border-radius: 14px; border: 1px solid var(--border);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
  flex-direction: column;
}
.spec-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.spec-thumb {
  height: 80px; display: flex; align-items: center;
  justify-content: center; font-size: 2rem;
}
.spec-body { padding: 24px 28px; }
.spec-body h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 10px; }
.spec-body p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* Pharma section */
#pharma {
  background: var(--ink); color: var(--paper);
  display: flex; flex-wrap: wrap; gap: 60px; align-items: center;
}
.pharma-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pill {
  background: rgba(26,122,94,.15); border: 1px solid rgba(26,122,94,.3);
  color: var(--green-lt); border-radius: 100px; padding: 7px 16px;
  font-size: .8rem; font-weight: 600;
}

/* About section (home) */
#about { background: var(--paper); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 20px; }
.about-quote {
  font-family: var(--serif); font-size: clamp(1.4rem, 2.5vw, 2rem);
  line-height: 1.45; letter-spacing: -0.025em; color: var(--ink-soft);
}
.about-quote em {
  font-style: italic;
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.about-right p { font-size: .97rem; color: var(--muted); line-height: 1.8; margin-bottom: 20px; font-weight: 300; }
.about-address {
  margin-top: 28px; padding: 20px 24px;
  border-left: 3px solid var(--green);
  background: var(--cream); border-radius: 0 8px 8px 0;
  font-size: .87rem; line-height: 1.7;
}
.about-address a { color: var(--green); text-decoration: none; }

/* ── ═══════════════════════════════════════════════════════
   ABOUT PAGE
   ═══════════════════════════════════════════════════════ */

.mission-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 20px; }
.mission-accent { width: 48px; height: 4px; background: linear-gradient(90deg, var(--green), var(--gold)); border-radius: 2px; margin-bottom: 28px; }
.mission-quote { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.4; letter-spacing: -0.025em; }
.mission-quote em {
  font-style: italic;
  background: linear-gradient(135deg, #0d9488 0%, #181a96 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}
.mission-right p { font-size: .98rem; line-height: 1.8; color: var(--muted); font-weight: 300; margin-bottom: 20px; }

#values { background: var(--ink); }
#values .section-label { color: var(--gold); }
#values .section-title { color: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; margin-top: 52px; background: rgba(255,255,255,.06); border-radius: 12px; overflow: hidden; }
.value-card { padding: 40px 32px; background: var(--ink-soft); transition: background .2s; }
.value-card:hover { background: rgba(255,255,255,.04); }
.value-num { font-family: var(--serif); font-size: 3rem; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: 16px; }
.value-card h3 { font-family: var(--serif); font-size: 1.2rem; color: var(--paper); margin-bottom: 10px; }
.value-card p { font-size: .88rem; color: rgba(245,242,236,.45); line-height: 1.65; }

#story { background: var(--paper); }
.timeline { margin-top: 52px; position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(to bottom, var(--green), var(--gold)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -39px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--green); }
.tl-year { font-size: .72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.tl-item h3 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 8px; }
.tl-item p { font-size: .9rem; color: var(--muted); line-height: 1.65; max-width: 520px; }

/* ── ═══════════════════════════════════════════════════════
   TEAM PAGE
   ═══════════════════════════════════════════════════════ */

#leadership { background: var(--cream); }
.leadership-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; margin-top: 52px; }
.leader-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.leader-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.09); }
.leader-avatar { height: 220px; display: flex; align-items: center; justify-content: center; font-size: 4rem; position: relative; }
.leader-avatar.green { background: linear-gradient(135deg, #e8f5f0, #c5e8de); }
.leader-avatar.gold  { background: linear-gradient(135deg, #fdf6e3, #f0dfa0); }
.leader-avatar.blue  { background: linear-gradient(135deg, #eef2ff, #c7d2fe); }
.leader-avatar.rose  { background: linear-gradient(135deg, #fff1f2, #fecdd3); }
.leader-initials { font-family: var(--serif); font-size: 3rem; color: rgba(0,0,0,.2); font-style: italic; }
.leader-body { padding: 28px; }
.leader-body h3 { font-family: var(--serif); font-size: 1.3rem; margin-bottom: 4px; }
.leader-role { font-size: .78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.leader-bio { font-size: .88rem; color: var(--muted); line-height: 1.65; }
.leader-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { background: rgba(26,122,94,.08); color: var(--green); border-radius: 4px; padding: 4px 10px; font-size: .74rem; font-weight: 600; }

#advisors { background: var(--ink); }
#advisors .section-label { color: var(--gold); }
#advisors .section-title { color: var(--paper); }
.advisors-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; margin-top: 48px; background: rgba(255,255,255,.05); border-radius: 12px; overflow: hidden; }
.advisor-card { padding: 36px 28px; background: var(--ink-soft); transition: background .2s; }
.advisor-card:hover { background: rgba(255,255,255,.04); }
.advisor-icon { font-size: 2rem; margin-bottom: 18px; }
.advisor-card h3 { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); margin-bottom: 6px; }
.advisor-domain { font-size: .74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.advisor-card p { font-size: .87rem; color: rgba(245,242,236,.45); line-height: 1.6; }

#culture { background: var(--paper); }
.culture-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 52px; }
.culture-items { display: flex; flex-direction: column; gap: 28px; }
.culture-item { display: flex; gap: 20px; align-items: flex-start; }
.culture-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--green-glow); border: 1px solid rgba(26,122,94,.2); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.culture-item h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 6px; }
.culture-item p { font-size: .88rem; color: var(--muted); line-height: 1.6; }
.culture-right { background: var(--ink); border-radius: 16px; padding: 48px 36px; color: var(--paper); }
.culture-right h3 { font-family: var(--serif); font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 20px; }
.culture-right p { font-size: .9rem; color: rgba(245,242,236,.6); line-height: 1.75; margin-bottom: 16px; font-weight: 300; }
.culture-right a { display: inline-flex; align-items: center; gap: 8px; background: var(--green); color: #fff; padding: 12px 24px; border-radius: 8px; text-decoration: none; font-size: .88rem; font-weight: 600; margin-top: 8px; transition: background .2s; }
.culture-right a:hover { background: var(--green-lt); }

/* ── ═══════════════════════════════════════════════════════
   CLINICS PAGE
   ═══════════════════════════════════════════════════════ */

.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-stats-block { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.07); border-radius: 12px; overflow: hidden; animation: fadeUp .8s ease .25s both; }
.hero-stat { padding: 32px 28px; background: rgba(255,255,255,.03); }
.hero-stat-val { font-family: var(--serif); font-size: 2.6rem; letter-spacing: -0.04em; line-height: 1; color: var(--paper); }
.hero-stat-label { font-size: .75rem; color: rgba(245,242,236,.45); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }

/* Clinics specialties grid */
.clinics-spec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; margin-top: 52px; }
.clinic-spec-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.clinic-spec-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.08); }
.spec-top { padding: 36px 32px 28px; border-bottom: 1px solid var(--border); }
.spec-emoji { font-size: 2.2rem; margin-bottom: 18px; display: block; }
.clinic-spec-card h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 10px; }
.spec-desc { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.spec-bottom { padding: 24px 32px; }
.spec-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.spec-features li { font-size: .85rem; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.spec-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green); flex-shrink: 0; }

/* How it works steps */
#how { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin-top: 52px; position: relative; }
.steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--green), var(--gold)); z-index: 0; }
.step { text-align: center; padding: 0 20px; position: relative; z-index: 1; }
.step-num { width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--serif); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--green); }
.step h4 { font-family: var(--serif); font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* Clinic validation section */
#validation { background: var(--ink); }
#validation .section-label { color: var(--gold); }
#validation .section-title { color: var(--paper); }
.val-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; margin-top: 52px; }
.val-left p { font-size: .97rem; color: rgba(245,242,236,.6); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.val-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.val-checklist li { display: flex; align-items: flex-start; gap: 14px; font-size: .9rem; color: rgba(245,242,236,.75); line-height: 1.5; }
.check { width: 22px; height: 22px; border-radius: 50%; background: rgba(26,122,94,.25); border: 1px solid rgba(26,122,94,.5); display: flex; align-items: center; justify-content: center; color: var(--green-lt); font-size: .75rem; flex-shrink: 0; margin-top: 1px; }
.val-right { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: 40px 36px; }
.val-right h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--paper); margin-bottom: 24px; }
.val-metric { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.val-metric:last-child { border-bottom: none; }
.val-metric-label { font-size: .85rem; color: rgba(245,242,236,.5); }
.val-metric-val { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); }

/* Location card */
#location { background: var(--cream); }
.location-card { background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 48px; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; margin-top: 48px; }
.location-icon { font-size: 3rem; }
.location-info h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 8px; }
.location-info p { font-size: .9rem; color: var(--muted); line-height: 1.65; max-width: 400px; }
.location-info address { font-style: normal; margin-top: 20px; padding: 16px 20px; background: var(--cream); border-radius: 8px; border-left: 3px solid var(--green); }
.location-info address p { font-size: .85rem; color: var(--ink); margin: 0; line-height: 1.7; }
.location-info a { color: var(--green); text-decoration: none; }

/* ── ═══════════════════════════════════════════════════════
   TECHNOLOGY PAGE
   ═══════════════════════════════════════════════════════ */

.hero-grid-bg { position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg,transparent,transparent 59px,rgba(255,255,255,.03) 59px,rgba(255,255,255,.03) 60px), repeating-linear-gradient(90deg,transparent,transparent 59px,rgba(255,255,255,.03) 59px,rgba(255,255,255,.03) 60px); }
.hero-glow { position: absolute; top: 10%; right: 10%; width: 550px; height: 550px; background: radial-gradient(circle, rgba(13,148,136,.18) 0%, rgba(24,26,150,.14) 40%, transparent 68%); border-radius: 50%; pointer-events: none; }
.hero-content { position: relative; max-width: 740px; }
.genie-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(26,122,94,.15); border: 1px solid rgba(26,122,94,.4); border-radius: 100px; padding: 8px 18px; font-size: .82rem; font-weight: 600; color: var(--green-lt); letter-spacing: 0.02em; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 40px; animation: fadeUp .8s ease .25s both; }

#problem-tech { background: var(--paper); }
.prob-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 48px; }
.prob-card { padding: 28px; border-radius: 12px; border: 1px solid var(--border); background: #fff; }
.prob-x { font-size: 1.3rem; margin-bottom: 14px; }
.prob-card h4 { font-family: var(--serif); font-size: 1.05rem; margin-bottom: 8px; }
.prob-card p { font-size: .85rem; color: var(--muted); line-height: 1.6; }

#features { background: var(--cream); }
.features-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 52px; }
.feature-list { display: flex; flex-direction: column; gap: 6px; }
.feat-item { padding: 22px 24px; border-radius: 10px; border: 1.5px solid transparent; cursor: pointer; transition: all .2s; background: transparent; }
.feat-item.active, .feat-item:hover { background: #fff; border-color: var(--border); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.feat-item.active { border-left-color: var(--green); }
.feat-header { display: flex; align-items: center; gap: 14px; }
.feat-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--green-glow); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.feat-item h4 { font-family: var(--serif); font-size: 1.1rem; }
.feat-desc { font-size: .87rem; color: var(--muted); line-height: 1.65; margin-top: 10px; padding-left: 52px; display: none; }
.feat-item.active .feat-desc, .feat-item:hover .feat-desc { display: block; }
.feature-preview { background: var(--ink); border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; min-height: 420px; }
.fp-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(26,122,94,.25) 0%, transparent 70%); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.fp-screen { position: relative; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 28px; width: 100%; max-width: 320px; }
.fp-header { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.fp-dot { width: 8px; height: 8px; border-radius: 50%; }
.fp-title { font-size: .82rem; color: rgba(245,242,236,.6); font-weight: 500; }
.fp-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.fp-row:last-child { border: none; }
.fp-label { font-size: .78rem; color: rgba(245,242,236,.4); flex: 1; }
.fp-val { font-size: .85rem; color: rgba(245,242,236,.8); font-weight: 500; }
.fp-tag { background: rgba(26,122,94,.25); color: var(--green-lt); border-radius: 4px; padding: 2px 8px; font-size: .72rem; font-weight: 600; }

#built { background: var(--ink); }
#built .section-label { color: var(--gold); }
#built .section-title { color: var(--paper); }
.built-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; margin-top: 52px; }
.built-left p { font-size: .97rem; color: rgba(245,242,236,.6); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.built-steps { display: flex; flex-direction: column; gap: 0; margin-top: 32px; }
.bstep { display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.bstep:last-child { border: none; }
.bstep-num { font-family: var(--serif); font-size: 1.8rem; color: rgba(255,255,255,.1); line-height: 1; flex-shrink: 0; width: 40px; }
.bstep h4 { font-family: var(--serif); font-size: 1.05rem; color: var(--paper); margin-bottom: 6px; }
.bstep p { font-size: .87rem; color: rgba(245,242,236,.45); line-height: 1.6; }
.built-right { display: flex; flex-direction: column; gap: 20px; }
.tech-pill-group h4 { font-size: .72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(245,242,236,.35); margin-bottom: 12px; }
.tech-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-pill { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: rgba(245,242,236,.75); border-radius: 6px; padding: 7px 14px; font-size: .82rem; font-weight: 500; transition: border-color .2s; }
.tech-pill:hover { border-color: rgba(26,122,94,.5); color: var(--green-lt); }

/* ── ═══════════════════════════════════════════════════════
   CAREERS PAGE
   ═══════════════════════════════════════════════════════ */

.hero-deco { position: absolute; right: 0; top: 0; bottom: 0; width: 45%; background: linear-gradient(135deg, #e8f5f0 0%, #f0faf6 100%); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%); pointer-events: none; }
.hero-deco-text { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); font-family: var(--serif); font-size: clamp(4rem, 8vw, 9rem); color: rgba(26,122,94,.08); letter-spacing: -0.04em; line-height: 1; pointer-events: none; white-space: nowrap; }
.hero-pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 32px; position: relative; animation: fadeUp .8s ease .25s both; }

#why { background: var(--cream); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 52px; }
.why-card { padding: 36px 30px; border-radius: 14px; background: #fff; border: 1px solid var(--border); transition: transform .3s, box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.07); }
.why-icon { font-size: 2rem; margin-bottom: 18px; display: block; }
.why-card h3 { font-family: var(--serif); font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { font-size: .88rem; color: var(--muted); line-height: 1.65; }

#roles { background: var(--paper); }
.roles-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 32px 0 24px; }
.filter-btn { padding: 8px 18px; border-radius: 100px; border: 1.5px solid var(--border); background: transparent; color: var(--ink); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .2s; font-family: var(--sans); }
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.roles-list { display: flex; flex-direction: column; gap: 12px; }
.role-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; transition: border-color .2s, box-shadow .2s; text-decoration: none; color: inherit; }
.role-card:hover { border-color: var(--green); box-shadow: 0 4px 20px var(--green-glow); }
.role-info { flex: 1; }
.role-dept { font-size: .72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }
.role-info h3 { font-family: var(--serif); font-size: 1.2rem; margin-bottom: 6px; }
.role-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.role-tag { font-size: .78rem; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.role-arrow { font-size: 1.2rem; color: var(--green); opacity: 0; transition: opacity .2s, transform .2s; }
.role-card:hover .role-arrow { opacity: 1; transform: translateX(4px); }
.no-roles { padding: 48px; text-align: center; background: #fff; border-radius: 12px; border: 1px dashed var(--border); display: none; }
.no-roles.visible { display: block; }
.no-roles p { font-size: .95rem; color: var(--muted); }

#process { background: var(--ink); }
#process .section-label { color: var(--gold); }
#process .section-title { color: var(--paper); }
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-top: 52px; }
.proc-step { padding: 36px 28px; border-right: 1px solid rgba(255,255,255,.07); }
.proc-step:last-child { border-right: none; }
.proc-num { font-family: var(--serif); font-size: 2.5rem; color: rgba(255,255,255,.07); margin-bottom: 16px; line-height: 1; }
.proc-step h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--paper); margin-bottom: 8px; }
.proc-step p { font-size: .85rem; color: rgba(245,242,236,.45); line-height: 1.6; }

#apply { background: var(--cream); }
.apply-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; margin-top: 48px; }
.apply-left p { font-size: .97rem; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 20px; }
.apply-left address { font-style: normal; padding: 20px 24px; border-left: 3px solid var(--green); background: rgba(26,122,94,.05); border-radius: 0 8px 8px 0; margin-top: 28px; }
.apply-left address p { margin: 0; font-size: .88rem; color: var(--ink); font-weight: 400; line-height: 1.7; }
.apply-left a { color: var(--green); text-decoration: none; }
.apply-form { background: #fff; border-radius: 16px; border: 1px solid var(--border); padding: 40px; }
.apply-form h3 { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 8px;
  border: 1.5px solid var(--border); background: var(--cream);
  font-family: var(--sans); font-size: .9rem; color: var(--ink);
  outline: none; transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit { width: 100%; padding: 14px; border-radius: 8px; border: none; background: linear-gradient(135deg, #0d9488 0%, #181a96 100%); color: var(--paper); font-family: var(--sans); font-size: .95rem; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 4px 15px rgba(24,26,150,0.15); }
.btn-submit:hover { background: linear-gradient(135deg, #14b8a6 0%, #292db3 100%); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(24,26,150,0.25); }

/* ── HOME PAGE: PREMIUM DARK SECTIONS ──────────────────── */

/* --- Problem Section --- */
#problem.dark-section {
  background: #0f1318;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
#problem.dark-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,.02) 79px, rgba(255,255,255,.02) 80px),
    repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,.02) 79px, rgba(255,255,255,.02) 80px);
  pointer-events: none;
}
#problem.dark-section::after {
  content: '';
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.1) 0%, transparent 70%);
  pointer-events: none;
}
#problem.dark-section .section-label { color: var(--gold); }
#problem.dark-section .section-title { color: var(--paper); }
#problem.dark-section .section-body { color: rgba(245,242,236,.55); }
#problem.dark-section .problem-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}
#problem.dark-section .problem-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, #0d9488, #181a96);
  opacity: 0;
  transition: opacity .3s;
}
#problem.dark-section .problem-card:hover {
  background: rgba(255,255,255,.05);
  border-color: rgba(13,148,136,.2);
  box-shadow: 0 16px 48px rgba(0,0,0,.3), 0 0 30px rgba(13,148,136,.08);
  transform: translateY(-6px);
}
#problem.dark-section .problem-card:hover::before { opacity: 1; }
#problem.dark-section .problem-card h3 { color: var(--paper); }
#problem.dark-section .problem-card p { color: rgba(245,242,236,.5); }
#problem.dark-section .problem-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(13,148,136,.1);
  border: 1px solid rgba(13,148,136,.2);
  border-radius: 12px;
  margin-bottom: 20px;
}

/* --- Platform Section --- */
#platform.dark-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
#platform.dark-section::after {
  content: '';
  position: absolute; bottom: -200px; right: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(24,26,150,.12) 0%, transparent 70%);
  pointer-events: none;
}
#platform.dark-section .section-label { color: var(--gold); }
#platform.dark-section .section-title { color: var(--paper); }
#platform.dark-section .section-body { color: rgba(245,242,236,.55); }
#platform.dark-section .platform-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  backdrop-filter: blur(8px);
  position: relative;
}
#platform.dark-section .platform-card::after {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(13,148,136,.3), rgba(24,26,150,.3));
  z-index: -1;
  opacity: 0;
  transition: opacity .4s;
}
#platform.dark-section .platform-card:hover {
  background: rgba(255,255,255,.05);
  border-color: transparent;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  transform: translateY(-6px);
}
#platform.dark-section .platform-card:hover::after { opacity: 1; }
#platform.dark-section .platform-number { color: rgba(245,242,236,.3); }
#platform.dark-section .platform-card h3 { color: var(--paper); }
#platform.dark-section .platform-card p { color: rgba(245,242,236,.5); }
#platform.dark-section .platform-tag {
  background: rgba(13,148,136,.15);
  border-color: rgba(13,148,136,.3);
  color: var(--green-lt);
}

/* --- Flywheel Section --- */
#flywheel.dark-section {
  background: #0f1318;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
#flywheel.dark-section::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.08) 0%, rgba(24,26,150,.06) 40%, transparent 70%);
  pointer-events: none;
}
#flywheel.dark-section .section-label { color: var(--gold); }
#flywheel.dark-section .section-title { color: var(--paper); }
#flywheel.dark-section .section-body { color: rgba(245,242,236,.55); }
#flywheel.dark-section .fw-node {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--paper);
  backdrop-filter: blur(8px);
  transition: all .3s;
}
#flywheel.dark-section .fw-node:hover {
  background: linear-gradient(135deg, rgba(13,148,136,.2), rgba(24,26,150,.2));
  border-color: rgba(13,148,136,.4);
  box-shadow: 0 8px 30px rgba(13,148,136,.15);
  transform: translateY(-3px);
}
#flywheel.dark-section .fw-arrow {
  color: var(--green-lt);
  text-shadow: 0 0 12px rgba(13,148,136,.4);
}

/* --- Specialties Section (home page) --- */
#specialties.dark-section {
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
#specialties.dark-section .section-label { color: var(--gold); }
#specialties.dark-section .section-title { color: var(--paper); }
#specialties.dark-section .section-body { color: rgba(245,242,236,.55); }
#specialties.dark-section .spec-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
}
#specialties.dark-section .spec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  border-color: rgba(13,148,136,.25);
}
#specialties.dark-section .spec-thumb {
  background: rgba(13,148,136,.08) !important;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
#specialties.dark-section .spec-body h3 { color: var(--paper); }
#specialties.dark-section .spec-body p { color: rgba(245,242,236,.5); }

/* --- About Section (home page) --- */
#about.dark-section {
  background: #0f1318;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
#about.dark-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(13,148,136,.3) 50%, transparent 90%);
}
#about.dark-section .section-label { color: var(--gold); }
#about.dark-section .about-layout {
  grid-template-columns: 400px 1fr;
  gap: 60px;
  align-items: start;
}
#about.dark-section .about-image-wrap {
  position: relative;
}
#about.dark-section .about-doctor-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
#about.dark-section .about-img-glow {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.2) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
#about.dark-section .about-quote {
  color: rgba(245,242,236,.85);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
#about.dark-section .about-right p {
  color: rgba(245,242,236,.55);
}
#about.dark-section .about-address {
  background: rgba(255,255,255,.03);
  border-left-color: var(--green-lt);
  color: rgba(245,242,236,.7);
}
#about.dark-section .about-address p { color: rgba(245,242,236,.7); }
#about.dark-section .about-address strong { color: var(--paper); }
#about.dark-section .about-address a { color: var(--green-lt); }

/* --- Pharma Section Enhancement --- */
#pharma.dark-section {
  position: relative;
  overflow: hidden;
}
#pharma.dark-section::before {
  content: '';
  position: absolute; top: -150px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(13,148,136,.15) 0%, transparent 70%);
  pointer-events: none;
}
#pharma.dark-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 10%, rgba(200,168,75,.2) 50%, transparent 90%);
  pointer-events: none;
}
#pharma.dark-section .pill {
  transition: all .3s;
}
#pharma.dark-section .pill:hover {
  background: rgba(26,122,94,.25);
  border-color: rgba(26,122,94,.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(13,148,136,.15);
}

/* --- SR Only (accessibility) --- */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .platform-layout { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  #about.dark-section .about-layout { grid-template-columns: 1fr; }
  #about.dark-section .about-doctor-img { max-width: 320px; margin: 0 auto; display: block; }
  .mission-layout { grid-template-columns: 1fr; gap: 40px; }
  .culture-grid { grid-template-columns: 1fr; }
  .hero-layout { grid-template-columns: 1fr; }
  .features-layout { grid-template-columns: 1fr; }
  .built-layout { grid-template-columns: 1fr; gap: 48px; }
  .apply-layout { grid-template-columns: 1fr; }
  .val-layout { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 860px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--cream); padding: 24px 5%;
    border-bottom: 1px solid var(--border); gap: 12px;
    z-index: 99;
  }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; padding: 10px 0; font-size: 1rem; }
  .nav-links .nav-cta { margin-top: 8px; }
  nav.nav-dark .nav-links { background: var(--ink-soft); border-bottom-color: rgba(255,255,255,.07); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { gap: 32px; }
  .flywheel-wrap { gap: 8px; }
  .fw-arrow { padding: 0 4px; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  section { padding: 60px 5%; }
  .page-hero { padding: 120px 5% 60px; }
  .hero { padding: 110px 5% 60px; }
  .apply-form { padding: 24px; }
  .location-card { padding: 28px; gap: 24px; }
}
