/* ═══════════════════════════════════════════════════════════════
   DR. ARUN KUMAR — Premium Corporate Medical Design System
   Advanced Institute of Hormonal & Sexual Health
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  --navy:        #3D4F69;
  --navy-mid:    #465879;
  --navy-pale:   #EBF0F8;
  --green:       #E8541A;
  --green-dark:  #C4430F;
  --green-mid:   #F0641A;
  --green-pale:  #FEF0E8;
  --gold:        #C9A84C;
  --gold-pale:   #FBF6EA;
  --white:       #FFFFFF;
  --warm:        #FAFAF8;
  --surface:     #F2F5FA;
  --line:        #DDE5F0;
  --line-strong: #C4D0E3;
  --ink:         #0B1222;
  --ink-mid:     #1E2D40;
  --muted:       #5A6A7E;
  --light-text:  #8898AB;

  --shadow-xs:  0 1px 3px rgba(11,30,62,.07);
  --shadow-sm:  0 2px 8px  rgba(11,30,62,.09);
  --shadow-md:  0 8px 24px rgba(11,30,62,.11);
  --shadow-lg:  0 20px 48px rgba(11,30,62,.13);
  --shadow-xl:  0 32px 64px rgba(11,30,62,.16);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --r-sm:  4px;
  --r:     8px;
  --r-lg:  12px;
  --r-xl:  18px;
  --r-2xl: 24px;

  --nav-h: 82px;
  --nav-h-scrolled: 64px;
  --transition: 0.22s ease;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  color: var(--ink-mid);
  background: var(--warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(28px, 4vw, 80px);
}

section { padding: 96px 0; }

/* ── TYPE SCALE ──────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  line-height: 1.12;
}

.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 40px;
  max-width: 680px;
  font-weight: 400;
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-mid);
  max-width: 600px;
  margin: 0 0 24px;
  font-weight: 400;
}

/* ── TOPBAR / NAV ────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.topbar.scrolled {
  box-shadow: 0 4px 20px rgba(11,30,62,.10);
  border-bottom-color: var(--line-strong);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--nav-h);
  padding: 0 28px;
  max-width: 1200px;
  margin: 0 auto;
  transition: height var(--transition);
}

.topbar.scrolled .nav-wrap { height: var(--nav-h-scrolled); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--navy);
  transition: opacity var(--transition);
}
.brand:hover { opacity: 0.85; }

.brand strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.brand-name-top {
  color: #E8541A !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase;
}

.brand-name-sub {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #465879 !important;
  letter-spacing: 0.01em !important;
}

.brand small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  line-height: 1.4;
  margin-top: 2px;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
  transition: box-shadow var(--transition);
}
.logo:hover { box-shadow: var(--shadow-sm); }
.logo img { width: 100%; height: 100%; object-fit: contain; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 8px 13px;
  border-radius: var(--r-sm);
  letter-spacing: 0.01em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  position: relative;
}

.main-nav a:hover { color: var(--navy); background: var(--surface); }

.main-nav a.active {
  color: var(--navy);
  background: var(--navy-pale);
  font-weight: 700;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--r);
  margin-left: auto;
  transition: background var(--transition);
  flex-shrink: 0;
}
.nav-toggle:hover { background: var(--surface); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* WhatsApp nav link */
.whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--r);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(13,122,95,.28);
}
.whatsapp:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(13,122,95,.34);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--r);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(11,30,62,.22);
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover {
  background: var(--navy-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(11,30,62,.28);
}
.btn:active { transform: translateY(0); }

.btn.green {
  background: var(--green);
  box-shadow: 0 2px 8px rgba(13,122,95,.28);
}
.btn.green:hover {
  background: var(--green-dark);
  box-shadow: 0 6px 18px rgba(13,122,95,.34);
}

.btn.light {
  background: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--line-strong);
  box-shadow: none;
}
.btn.light:hover {
  background: var(--surface);
  border-color: var(--navy);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn.gold {
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(201,168,76,.3);
}
.btn.gold:hover {
  background: #b8952b;
  transform: translateY(-1px);
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  background: var(--warm);
  padding: 76px 0 68px;
  position: relative;
  overflow: hidden;
}

/* Subtle geometric accent — top-right quadrant */
.hero::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--navy-pale) 0%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Gold rule eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 0;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  flex-shrink: 0;
}

h1 {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.8vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

h1 span { color: var(--green); }

/* Trust row */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.trust {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 14px 10px;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.trust:hover {
  border-color: var(--navy-pale);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trust strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.trust span {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 3px;
}

/* Hero right card */
.hero-card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-img {
  height: 400px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.5);
  position: relative;
}
.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero-card:hover .hero-img img { transform: scale(1.03); }

.ticks {
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ticks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-mid);
  line-height: 1.45;
}

.ticks li::before {
  content: '';
  display: inline-block;
  width: 20px;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--green-pale);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D7A5F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
  flex-shrink: 0;
}

/* ── COUNTRY RIBBON ──────────────────────────────────────────── */
.country-ribbon {
  background: var(--navy);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ticker { overflow: hidden; white-space: nowrap; padding: 13px 0; }

.ticker-track {
  display: inline-flex;
  gap: 10px;
  animation: ticker-scroll 40s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.82);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.ticker span:hover { background: rgba(255,255,255,0.13); }
.ticker b { font-size: 15px; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── GRID HELPERS ────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* ── SERVICE CARDS ───────────────────────────────────────────── */
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--navy), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.service:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.service:hover::before { transform: scaleX(1); }

.service h3 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 8px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.service p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 16px;
}

/* ── BLOG CARDS ──────────────────────────────────────────────── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20px; right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.blog-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-card:hover::after { opacity: 1; }

.blog-card h3 {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 10px 0 8px;
  line-height: 1.38;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.blog-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 4px;
}

/* ── PANEL ───────────────────────────────────────────────────── */
.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.panel h2 {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

/* ── FEATURE CARDS (Treatments bottom) ──────────────────────── */
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

/* ── MEDIA CARD ──────────────────────────────────────────────── */
.media-card {
  position: relative;
  min-height: 320px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.media-card:hover img { transform: scale(1.04); }

.media-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(11,30,62,0.72) 100%);
  pointer-events: none;
}

.media-card figcaption {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
  color: var(--white);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}

/* ── TAG ─────────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  background: var(--green-pale);
  color: var(--green);
  border-radius: var(--r-sm);
  padding: 4px 9px;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ── KEYWORD BOX ─────────────────────────────────────────────── */
.keyword-box {
  background: var(--navy-pale);
  border: 1px solid rgba(11,30,62,0.12);
  color: var(--navy);
  border-radius: var(--r);
  padding: 14px 18px;
  margin: 20px 0 28px;
  font-size: 13.5px;
  line-height: 1.75;
}

.keyword-line {
  font-size: 12px;
  color: var(--light-text);
  line-height: 1.65;
  margin: 10px 0 14px;
}

/* ── STAT ROW (About page) ───────────────────────────────────── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}

.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-xs);
  position: relative;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.stat::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--green), var(--navy));
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1.1;
  padding-left: 4px;
}

.stat span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
  padding-left: 4px;
}

/* ── PRIVACY / NOTICE BOX ────────────────────────────────────── */
.privacy {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  color: var(--ink-mid);
  padding: 13px 16px;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 13.5px;
  line-height: 1.65;
  margin: 16px 0;
}

/* ── ASSESSMENT FORM LABELS & INPUTS ─────────────────────────── */
label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-mid);
  letter-spacing: 0.015em;
  text-transform: uppercase;
  margin: 14px 0 5px;
}

label.privacy {
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  color: var(--ink-mid);
  cursor: pointer;
}

label.privacy input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--green);
}

input, select, textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 14.5px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%235A6A7E'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 11.168l3.71-3.938a.75.75 0 111.08 1.04l-4.25 4.5a.75.75 0 01-1.08 0l-4.25-4.5a.75.75 0 01.02-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,30,62,0.08);
}

input[disabled] {
  background: var(--surface);
  color: var(--muted);
  cursor: not-allowed;
  border-color: var(--line);
}

/* Assessment question items */
.q {
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.q:last-child { border-bottom: 0; }

.q p {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-mid);
  margin: 0 0 8px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}

/* Step headings inside assessment panel */
.panel .grid-3 > div > h3 {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  padding: 14px 0 14px 38px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
  position: relative;
  line-height: 1.3;
}

.panel .grid-3 > div:nth-child(1) > h3::before { content: '01'; }
.panel .grid-3 > div:nth-child(2) > h3::before { content: '02'; }
.panel .grid-3 > div:nth-child(3) > h3::before { content: '03'; }

.panel .grid-3 > div > h3::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Appointment section heading */
.container > h2.section-title { margin-top: 0; }

/* ── RESULT PANELS ───────────────────────────────────────────── */
.result-panel, .summary {
  display: none;
  background: var(--green-pale);
  border: 1px solid rgba(13,122,95,0.18);
  border-radius: var(--r-xl);
  padding: 24px;
  margin-top: 20px;
}

.result-panel h2, .summary h3 {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.result-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  box-shadow: var(--shadow-xs);
}

.result-item h3 {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.result-item p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; margin: 0; }

/* Appointment summary box */
#appointmentMessage, #appointmentConfirm {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.65;
}

#appointmentConfirm h3 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

/* ── BLOG ARTICLE ────────────────────────────────────────────── */
.article {
  max-width: 860px;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  margin-bottom: 10px;
}

.article h2 {
  font-family: var(--font-serif);
  font-size: 25px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin: 38px 0 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  line-height: 1.25;
}

.article h2:first-of-type { margin-top: 28px; }

.article p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-mid);
  margin: 0 0 16px;
}

/* ── CONTACT / ADDRESS ───────────────────────────────────────── */
.address {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--r-2xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.address h1 {
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.address h2 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.address .panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: none;
}

.address p { color: rgba(255,255,255,0.82); line-height: 1.75; margin: 0; }
.address p + p { margin-top: 8px; }
.address strong { color: var(--white); }

.address .btn.green {
  display: inline-flex;
  margin: 10px 0;
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.4fr;
  gap: 32px;
  align-items: center;
}

.footer p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
.footer p + p { margin-top: 2px; }
.footer strong { color: var(--ink-mid); font-weight: 600; }

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.anim-fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(.22,.61,.36,1), transform 0.55s cubic-bezier(.22,.61,.36,1);
}

.anim-fade.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Grid stagger delays */
.grid-2 > *:nth-child(2).anim-fade  { transition-delay: 0.08s; }
.grid-3 > *:nth-child(2).anim-fade  { transition-delay: 0.1s; }
.grid-3 > *:nth-child(3).anim-fade  { transition-delay: 0.2s; }
.grid-4 > *:nth-child(2).anim-fade  { transition-delay: 0.08s; }
.grid-4 > *:nth-child(3).anim-fade  { transition-delay: 0.16s; }
.grid-4 > *:nth-child(4).anim-fade  { transition-delay: 0.24s; }
.stat-row > *:nth-child(2).anim-fade { transition-delay: 0.1s; }
.stat-row > *:nth-child(3).anim-fade { transition-delay: 0.2s; }
.trust-row > *:nth-child(2).anim-fade { transition-delay: 0.08s; }
.trust-row > *:nth-child(3).anim-fade { transition-delay: 0.16s; }
.trust-row > *:nth-child(4).anim-fade { transition-delay: 0.24s; }

/* ── REDUCED MOTION ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .anim-fade { opacity: 1; transform: none; }
  .ticker-track { animation: none; }
}

/* ── RESPONSIVE — TABLET / < 1024px ─────────────────────────── */
@media (max-width: 1024px) {
  :root { --nav-h: 70px; }
  .nav-wrap { padding: 0 20px; gap: 10px; }
  .main-nav a { padding: 7px 10px; font-size: 12.5px; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .trust-row { grid-template-columns: repeat(2,1fr); }
  .hero-grid { gap: 36px; }
  .hero-img { height: 360px; }
}

/* ── RESPONSIVE — MOBILE / < 900px ──────────────────────────── */
@media (max-width: 900px) {
  /* Show hamburger, hide desktop nav */
  .nav-toggle { display: flex; }
  .whatsapp { display: none; }

  .main-nav {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 20px;
    gap: 2px;
    box-shadow: var(--shadow-md);
    z-index: 199;
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }

  body.nav-open .main-nav { display: flex; }
  body.nav-open { overflow: hidden; }

  .main-nav a {
    font-size: 15px;
    padding: 13px 16px;
    border-radius: var(--r);
    font-weight: 600;
  }

  /* Add WhatsApp CTA at bottom of mobile menu */
  .main-nav::after {
    content: 'WhatsApp +91 99270 05959';
    display: block;
    text-align: center;
    margin-top: 12px;
    padding: 13px;
    background: var(--green);
    color: var(--white);
    border-radius: var(--r);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
  }

  .hero { padding: 52px 0 44px; }
  .hero::after { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-img { height: 290px; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }

  section { padding: 60px 0; }

  .footer-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ── RESPONSIVE — SMALL MOBILE / < 620px ────────────────────── */
@media (max-width: 620px) {
  .container { padding: 0 16px; }

  h1 { font-size: 36px; letter-spacing: -0.025em; }
  .section-title { font-size: 27px; }
  .lead { font-size: 16.5px; }
  .section-sub { font-size: 15.5px; }

  .trust-row,
  .stat-row,
  .result-grid,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .actions { flex-direction: column; }
  .actions .btn { width: 100%; justify-content: center; }

  .panel { padding: 20px 18px; }
  .address { padding: 28px 20px; border-radius: var(--r-xl); }

  .article h2 { font-size: 22px; }
  .article p { font-size: 16px; }

  .hero-img { height: 250px; }
  .media-card { min-height: 260px; }

  section { padding: 48px 0; }

  .panel .grid-3 { grid-template-columns: 1fr; }
  .panel .grid-3 > div > h3 { margin-top: 8px; }

  .stat strong { font-size: 28px; }
  .footer-grid { grid-template-columns: 1fr; }

  /* Hero banner mobile — keep desktop side-by-side layout */
  .hero.hero-banner { min-height: 110vw; }
  .hero-canvas { position: absolute; width: 55%; height: auto; }
  .hero-fade { display: block; width: 58%; }
  .hero-inner { padding: 32px 0 28px clamp(14px, 4vw, 28px); }
  .hero-copy { max-width: 52%; }
  .hero-copy h1 { font-size: clamp(18px, 4.5vw, 26px); }
  .hero-copy .lead { font-size: 11px; }
  .hero-copy .actions { flex-direction: column; gap: 6px; }
  .hero-copy .actions .btn { font-size: 11px; padding: 8px 12px; }
  .clinic-grid { grid-template-columns: 1fr; }
  .clinic-stack { grid-template-columns: 1fr 1fr; }
  .clinic-img--primary { height: 260px; }
  .clinic-img { height: 180px; }
}

/* ── HERO BANNER (Homepage) ─────────────────────────────────── */
.hero.hero-banner {
  background: var(--warm);
  padding: 0;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Suppress the default hero pseudo-element */
.hero.hero-banner::after { display: none; }

/* Animated science canvas — right half, absolute */
.hero-canvas {
  position: absolute;
  right: 0; top: 0;
  bottom: 76px; /* stop above trust strip — trust strip is ~76px tall */
  width: 46%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.health-anim { width: 100%; height: 100%; display: block; }

/* Thin fade at the left edge of the canvas so it blends in cleanly */
.hero-fade {
  position: absolute;
  top: 0; bottom: 76px;
  right: 46%;
  width: 80px;
  background: linear-gradient(90deg, var(--warm) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Text block — no container, uses vw padding so text starts near viewport edge */
.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 96px 0 68px clamp(52px, 8vw, 180px);
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-copy { max-width: min(580px, 46vw); }
.hero-copy .eyebrow { color: var(--green-dark); letter-spacing: 0.06em; }
.hero-copy h1 { color: var(--navy); font-size: clamp(40px, 4.5vw, 70px); letter-spacing: -0.03em; line-height: 1.06; }
.hero-copy h1 span { color: var(--green); }
.hero-copy .lead { color: var(--muted); font-size: 17px; }

/* Outline button for light hero background */
.btn.hero-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid rgba(11,30,62,0.28);
  box-shadow: none;
}
.btn.hero-outline:hover {
  background: rgba(11,30,62,0.06);
  border-color: rgba(11,30,62,0.5);
  transform: translateY(-1px);
  box-shadow: none;
}

/* Trust strip at bottom of hero — solid bg so animation never bleeds through */
.hero-trust-strip {
  position: relative;
  z-index: 3;
  background: var(--warm);
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.hero-trust-strip .trust-row { grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; }
.hero-trust-strip .trust { background: rgba(11,30,62,0.04); border-color: rgba(11,30,62,0.09); }
.hero-trust-strip .trust strong { color: var(--navy); font-size: 13px; }
.hero-trust-strip .trust span   { color: var(--muted); font-size: 10.5px; }

/* ── CLINIC IMAGERY BANNER — edge-to-edge ───────────────────── */
.clinic-imagery { padding: 0; background: var(--warm); overflow: hidden; }

.clinic-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4px;
  align-items: stretch;
  width: 100%;
}

.clinic-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.clinic-img {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  box-shadow: none;
  background: var(--surface);
  margin: 0;
}

.clinic-img--primary { height: 580px; }
.clinic-stack .clinic-img { height: 288px; }

.clinic-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.clinic-img:hover img { transform: scale(1.04); }

.clinic-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,30,62,0.65) 100%);
  pointer-events: none;
}

.clinic-img figcaption {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.45);
}

/* ── HEALTH ANIMATION KEYFRAMES ─────────────────────────────── */

/* Floating hexagon molecules */
.hex-1 { animation: hex-drift 7s ease-in-out infinite; }
.hex-2 { animation: hex-drift 9s ease-in-out infinite; animation-delay: -4s; }
.hex-3 { animation: hex-drift 8s ease-in-out infinite; animation-delay: -2s; }
.hex-4 { animation: hex-drift 10s ease-in-out infinite; animation-delay: -6s; }

@keyframes hex-drift {
  0%, 100% { transform: translateY(0px) rotate(0deg);   opacity: 0.75; }
  33%       { transform: translateY(-14px) rotate(4deg); opacity: 1; }
  66%       { transform: translateY(9px) rotate(-3deg);  opacity: 0.82; }
}

/* Floating bio-cell dots */
.dot-a { animation: cell-float 7s ease-in-out infinite; }
.dot-b { animation: cell-float 5.5s ease-in-out infinite; animation-delay: -2s; }
.dot-c { animation: cell-float 9s ease-in-out infinite;   animation-delay: -4s; }
.dot-d { animation: cell-float 6.5s ease-in-out infinite; animation-delay: -1s; }
.dot-e { animation: cell-float 8s ease-in-out infinite;   animation-delay: -3s; }
.dot-f { animation: cell-float 10s ease-in-out infinite;  animation-delay: -7s; }
.dot-g { animation: cell-float 6s ease-in-out infinite;   animation-delay: -5s; }

@keyframes cell-float {
  0%, 100% { transform: translateY(0) scale(1);     opacity: 0.8; }
  50%       { transform: translateY(-20px) scale(1.12); opacity: 1; }
}

/* ECG heartbeat — draws and resets on loop */
.ecg-line { animation: ecg-pulse 4.5s ease-in-out infinite; }

@keyframes ecg-pulse {
  0%         { stroke-dashoffset: 780; opacity: 0; }
  12%        { opacity: 1; }
  72%        { stroke-dashoffset: 0; opacity: 1; }
  88%, 100%  { stroke-dashoffset: -60; opacity: 0; }
}

/* Hero banner responsive ─ tablet */
@media (max-width: 1024px) {
  .hero-canvas { width: 60%; }
  .hero-fade   { width: 46%; }
  .hero-copy   { max-width: 480px; }
  .clinic-img--primary { height: 420px; }
  .clinic-stack .clinic-img { height: 203px; }
}

@media (max-width: 900px) {
  .hero.hero-banner { min-height: 100vw; }

  /* Keep canvas absolute (right half) — desktop layout preserved on mobile */
  .hero-canvas {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 52%;
    height: auto;
  }

  /* Keep fade so text stays readable over animation */
  .hero-fade {
    display: block;
    width: 56%;
  }

  .hero-inner {
    padding: 48px 0 40px clamp(20px, 5vw, 52px);
    z-index: 2;
    min-height: 72vw;
  }

  .hero-copy { max-width: 50%; }

  .hero-copy h1 { font-size: clamp(22px, 5vw, 36px); }
  .hero-copy .lead { font-size: 13px; }
  .hero-copy .eyebrow { font-size: 10px; }

  .hero-copy .actions { flex-direction: column; gap: 8px; }
  .hero-copy .actions .btn { font-size: 12px; padding: 10px 16px; }

  .hero-trust-strip .trust-row { grid-template-columns: repeat(2, 1fr); }

  .clinic-grid  { grid-template-columns: 1fr; }
  .clinic-stack { grid-template-columns: 1fr 1fr; }
  .clinic-img--primary { height: 300px; }
  .clinic-stack .clinic-img { height: 175px; }
}
