/* =========================================================================
   Aarogya Clinic — Shared Page Stylesheet
   Used by every content page (index, about, doctor, services, reviews,
   contact, token, bmi-calculator, diabetes-risk-calculator).
   Header/Footer styling lives in components.js — this file is everything
   in between.
   ========================================================================= */

:root {
  --bg: #f8faf9;
  --surface: #ffffff;
  --surface-soft: #eef7f3;
  --surface-glass: rgba(255, 255, 255, 0.85);
  --ink: #0f231f;
  --ink-light: #2d4a44;
  --muted: #5c6f69;
  --muted-light: #7a8f88;
  --line: #d8e8e2;
  --line-soft: #e8f2ee;
  --teal: #0b8f7a;
  --teal-light: #1aa691;
  --teal-dark: #086858;
  --teal-glow: rgba(11, 143, 122, 0.25);
  --mint: #d8f5ea;
  --mint-light: #e8fbf0;
  --coral: #e87562;
  --coral-light: #f09a8a;
  --gold: #e9ad43;
  --gold-light: #f0c16b;
  --blue: #3267b1;
  --blue-light: #4a85c9;

  --shadow-sm: 0 4px 12px rgba(10, 79, 68, 0.08);
  --shadow: 0 22px 70px rgba(10, 79, 68, 0.13);
  --shadow-lg: 0 32px 90px rgba(10, 79, 68, 0.18);
  --shadow-soft: 0 14px 36px rgba(16, 35, 31, 0.08);
  --shadow-glow: 0 0 40px rgba(11, 143, 122, 0.15);
  --shadow-elevated: 0 25px 80px rgba(10, 79, 68, 0.22);

  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --max: 1280px;
  --transition-fast: 150ms ease;
  --transition: 250ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
[id] { scroll-margin-top: 140px; }

body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(11, 143, 122, 0.06), transparent 50%),
    radial-gradient(1000px 500px at 90% 10%, rgba(232, 117, 98, 0.04), transparent 50%),
    var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, p { margin-top: 0; }

h1 {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
h2 { font-family: 'Manrope', 'Inter', sans-serif; font-weight: 750; letter-spacing: -0.015em; color: var(--ink); }
h3 { font-weight: 700; letter-spacing: -0.01em; }
p { color: var(--ink-light); font-weight: 400; }

a { color: inherit; text-decoration: none; position: relative; transition: color var(--transition-fast); }
a.inline-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--teal); border-radius: 2px; transition: width var(--transition-fast);
}
a.inline-link:hover::after { width: 100%; }

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 100;
  background: var(--teal); color: white; padding: 12px 20px; border-radius: var(--radius-full);
  font-weight: 600; box-shadow: var(--shadow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.skip-link:focus { left: 12px; transform: translateY(2px); box-shadow: var(--shadow-lg); }

.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 0 16px; }

/* ===== Buttons ===== */
.btn {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--radius-full); border: 1px solid transparent; padding: 14px 22px;
  font-weight: 750; font-size: 15px; line-height: 1.1; cursor: pointer; position: relative;
  overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-soft); z-index: 1;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); outline: none; box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); box-shadow: 0 14px 30px rgba(11, 143, 122, 0.35); }
.btn-primary:hover, .btn-primary:focus-visible { background: linear-gradient(135deg, var(--teal-dark), #065548); box-shadow: 0 18px 40px rgba(8, 104, 88, 0.45); }
.btn-secondary { color: var(--teal-dark); background: var(--surface); border-color: var(--line); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--teal); color: var(--teal-dark); box-shadow: var(--shadow-soft), 0 0 0 4px rgba(11, 143, 122, 0.1); }
.btn-icon { width: 18px; height: 18px; flex: 0 0 auto; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; transition: transform var(--transition-fast); }
.btn:hover .btn-icon { transform: scale(1.1); }

/* ===== Page hero (secondary pages) ===== */
.page-hero {
  position: relative; overflow: hidden; border-bottom: 1px solid var(--line-soft);
  padding: 64px 0 56px;
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(11, 143, 122, 0.10), transparent 60%),
    radial-gradient(600px 300px at 10% 100%, rgba(232, 117, 98, 0.06), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(36px, 5.5vw, 60px); line-height: 1.05; margin-bottom: 16px; max-width: 760px; }
.page-hero p { font-size: 19px; max-width: 620px; margin-bottom: 0; }
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px;
  font-weight: 650; margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--teal-dark); }

/* ===== Hero (home only) ===== */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(120deg, rgba(248, 250, 249, 0.97) 0%, rgba(248, 250, 249, 0.92) 40%, rgba(248, 250, 249, 0.7) 100%),
    url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1800&q=82") center right / cover no-repeat;
  min-height: calc(100vh - 126px); display: flex; align-items: center; border-bottom: 1px solid var(--line-soft);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 20%, rgba(11, 143, 122, 0.12), transparent 60%),
    radial-gradient(600px 300px at 20% 80%, rgba(232, 117, 98, 0.08), transparent 60%);
  z-index: 0; pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr); gap: 48px; align-items: end; padding: 90px 0 56px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; color: var(--teal-dark);
  background: linear-gradient(135deg, rgba(216, 245, 234, 0.9), rgba(232, 251, 240, 0.95));
  border: 1px solid rgba(11, 143, 122, 0.2); border-radius: var(--radius-full); padding: 10px 18px;
  font-size: 13.5px; font-weight: 800; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: ""; width: 10px; height: 10px; background: var(--teal); border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(11, 143, 122, 0.15), 0 0 0 12px rgba(11, 143, 122, 0.08);
}

.hero h1 { max-width: 820px; margin-bottom: 24px; font-size: clamp(44px, 7.5vw, 84px); line-height: 0.96; letter-spacing: -0.03em; }
.hero-copy { max-width: 680px; color: var(--ink-light); font-size: clamp(19px, 2.2vw, 23px); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 16px; max-width: 720px; }

.proof-item {
  background: var(--surface-glass); border: 1px solid rgba(216, 232, 226, 0.9); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow-soft), var(--shadow-glow); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); transition: all var(--transition);
}
.proof-item:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--shadow-glow); border-color: var(--teal); }
.proof-value { display: block; font-size: 24px; font-weight: 900; color: var(--teal-dark); line-height: 1.1; letter-spacing: -0.02em; }
.proof-label { display: block; color: var(--muted); font-size: 13.5px; font-weight: 700; margin-top: 5px; }

.hero-panel { align-self: stretch; display: grid; align-content: end; gap: 20px; }

.appointment-card {
  background: var(--surface-glass); border: 1px solid rgba(216, 232, 226, 0.95); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-elevated), var(--shadow-glow); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); position: relative; overflow: hidden; transition: all var(--transition);
}
.appointment-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold)); opacity: 0.8; }
.appointment-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.appointment-card h2 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; color: var(--ink); }
.appointment-card p { color: var(--muted); margin-bottom: 22px; font-size: 15.5px; }

.quick-list { display: grid; gap: 14px; margin: 0 0 24px; padding: 0; list-style: none; }
.quick-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-light); font-weight: 650; font-size: 15px; transition: transform var(--transition-fast); }
.quick-list li:hover { transform: translateX(4px); }
.check-dot {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--mint), var(--mint-light)); color: var(--teal-dark); font-size: 16px;
  font-weight: 900; box-shadow: 0 4px 12px rgba(11, 143, 122, 0.2); transition: transform var(--transition-fast);
}
.quick-list li:hover .check-dot { transform: scale(1.1); }

.schedule-card {
  background: linear-gradient(135deg, #0a4d43, #0d6b5c); color: #e9fff8; border-radius: var(--radius-lg);
  padding: 24px; box-shadow: 0 24px 50px rgba(10, 77, 67, 0.35); position: relative; overflow: hidden;
  transition: transform var(--transition);
}
.schedule-card::before { content: ''; position: absolute; inset: 0; background: radial-gradient(400px 200px at 80% -20%, rgba(255,255,255,0.15), transparent 60%); pointer-events: none; }
.schedule-card:hover { transform: translateY(-3px); }
.schedule-card strong { display: block; font-size: 14.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #b7f4e2; margin-bottom: 12px; font-weight: 750; position: relative; z-index: 1; }
.schedule-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 15px; position: relative; z-index: 1; }
.schedule-row:first-child { border-top: none; padding-top: 0; }
.schedule-row span:last-child { font-weight: 800; text-align: right; color: #fff; }

/* ===== Main sections ===== */
main {
  background:
    linear-gradient(180deg, var(--bg), #ffffff 45%, var(--bg)),
    radial-gradient(1000px 400px at 50% -10%, rgba(11, 143, 122, 0.04), transparent 70%);
}
section { padding: 100px 0; position: relative; }
section.tight { padding: 64px 0; }
section::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(800px 300px at 10% 30%, rgba(11, 143, 122, 0.03), transparent 60%),
    radial-gradient(600px 250px at 90% 70%, rgba(232, 117, 98, 0.03), transparent 60%);
  pointer-events: none; z-index: 0;
}
section > .wrap { position: relative; z-index: 1; }

.section-heading { max-width: 800px; margin-bottom: 48px; text-align: center; margin-left: auto; margin-right: auto; }
.section-heading.left { text-align: left; margin-left: 0; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px; color: var(--coral); font-size: 13.5px; font-weight: 850;
  text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 16px; padding: 6px 16px;
  background: rgba(232, 117, 98, 0.1); border-radius: var(--radius-full); border: 1px solid rgba(232, 117, 98, 0.2);
}
.section-kicker::before { content: ""; width: 28px; height: 3px; background: currentColor; border-radius: 3px; }
.section-kicker.teal { color: var(--teal-dark); background: rgba(11,143,122,0.08); border-color: rgba(11,143,122,0.2); }
.section-heading h2 {
  font-size: clamp(34px, 4.8vw, 56px); line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--teal-dark) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.section-heading p { color: var(--muted); font-size: 19px; margin-bottom: 0; max-width: 650px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.section-heading.left p { margin-left: 0; margin-right: 0; }

/* ===== Intro / feature grid ===== */
.intro-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: stretch; }
.intro-media {
  min-height: 560px; border-radius: var(--radius-xl); overflow: hidden; position: relative; box-shadow: var(--shadow-elevated);
  background: linear-gradient(0deg, rgba(8, 54, 47, 0.65), rgba(8, 54, 47, 0.1) 50%), url("https://images.unsplash.com/photo-1505751172876-fa1923c5c528?auto=format&fit=crop&w=1200&q=82") center / cover no-repeat;
  transition: transform var(--transition);
}
.intro-media:hover { transform: scale(1.01); }
.intro-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 35, 31, 0.3), transparent 60%); pointer-events: none; }
.intro-media-card {
  position: absolute; left: 28px; right: 28px; bottom: 28px; background: var(--surface-glass);
  border: 1px solid rgba(255, 255, 255, 0.85); border-radius: var(--radius-lg); padding: 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow-lg); z-index: 2;
}
.badge-icon {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: var(--teal-dark);
  background: linear-gradient(135deg, var(--mint), var(--mint-light)); box-shadow: 0 8px 24px rgba(11, 143, 122, 0.25);
  flex-shrink: 0; transition: transform var(--transition);
}
.intro-media-card:hover .badge-icon { transform: scale(1.1) rotate(5deg); }
.intro-media-card strong { display: block; font-size: 19px; line-height: 1.25; color: var(--ink); font-weight: 750; }
.intro-media-card span { display: block; color: var(--muted); font-weight: 650; margin-top: 3px; font-size: 14.5px; }
.intro-content { display: grid; gap: 20px; }

.feature-card {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-soft); transition: all var(--transition); position: relative; overflow: hidden;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow), var(--shadow-glow); border-color: var(--teal); }
.feature-card h3 { display: flex; align-items: center; gap: 14px; font-size: 23px; line-height: 1.25; margin-bottom: 12px; color: var(--ink); }
.feature-card p { color: var(--muted); margin-bottom: 0; font-size: 16px; line-height: 1.65; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }

.split-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: linear-gradient(135deg, #0a4d43, #0d6b5c); color: #f2fff9; border-radius: var(--radius-lg);
  padding: 30px; box-shadow: 0 24px 50px rgba(10, 77, 67, 0.25); position: relative; overflow: hidden;
  transition: transform var(--transition);
}
.split-card:hover { transform: translateY(-3px); }
.split-card p { color: #c8f4e9; margin-bottom: 0; font-size: 16.5px; line-height: 1.6; position: relative; z-index: 1; }
.split-card h3 { font-size: 24px; margin-bottom: 8px; position: relative; z-index: 1; }

/* ===== Doctor ===== */
.doctor { background: linear-gradient(180deg, rgba(234, 248, 243, 0.85), rgba(255, 255, 255, 0.95)); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); position: relative; }
.doctor-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 44px; align-items: center; position: relative; z-index: 1; }
.doctor-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-elevated); transition: all var(--transition); position: relative; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.doctor-photo { min-height: 460px; background-position: center; background-size: cover; background-repeat: no-repeat; position: relative; }
.doctor-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 35, 31, 0.2), transparent 60%); pointer-events: none; }
.doctor-name { padding: 26px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 20px; align-items: center; background: var(--surface-glass); }
.doctor-name strong { display: block; font-size: 24px; line-height: 1.15; color: var(--ink); font-weight: 800; }
.doctor-name span { display: block; color: var(--muted); font-weight: 700; margin-top: 5px; font-size: 15px; }
.doctor-content h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.06; margin-bottom: 22px; background: linear-gradient(135deg, var(--ink) 0%, var(--teal-dark) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.doctor-content .lead { color: var(--ink-light); font-size: 20px; margin-bottom: 22px; line-height: 1.7; font-weight: 500; }
.doctor-content p { color: var(--muted); font-size: 16.5px; line-height: 1.7; margin-bottom: 16px; }

.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.benefit { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 20px; transition: all var(--transition); position: relative; overflow: hidden; }
.benefit:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-soft), var(--shadow-glow); }
.benefit strong { display: block; line-height: 1.25; margin-bottom: 5px; font-size: 16.5px; color: var(--ink); font-weight: 750; }
.benefit span { display: block; color: var(--muted); font-size: 14.5px; font-weight: 600; line-height: 1.5; }

/* ===== Services ===== */
.services-layout { display: grid; grid-template-columns: minmax(280px, 0.42fr) 1fr; gap: 36px; align-items: start; }
.services-aside {
  position: sticky; top: 132px; background: linear-gradient(135deg, #113f63, #0d3a5a); color: #f5fbff;
  border-radius: var(--radius-xl); padding: 36px; box-shadow: 0 24px 60px rgba(17, 63, 99, 0.25);
  position: relative; overflow: hidden; transition: transform var(--transition);
}
.services-aside:hover { transform: translateY(-3px); }
.services-aside h2 { font-size: 34px; line-height: 1.15; margin-bottom: 16px; color: #fff; position: relative; z-index: 1; }
.services-aside p { color: #cce5f6; margin-bottom: 28px; font-size: 17px; line-height: 1.65; position: relative; z-index: 1; }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card {
  min-height: 180px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 26px; display: grid; gap: 16px; box-shadow: var(--shadow-soft); transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: var(--shadow), var(--shadow-glow); }
.service-number {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(135deg, var(--surface-soft), var(--mint-light)); color: var(--teal-dark);
  font-weight: 900; font-size: 16px; box-shadow: 0 6px 16px rgba(11, 143, 122, 0.2); transition: transform var(--transition-fast);
}
.service-card:hover .service-number { transform: scale(1.1) rotate(3deg); }
.service-card h3 { font-size: 21px; line-height: 1.25; margin-bottom: 0; color: var(--ink); font-weight: 750; }
.service-card p { color: var(--muted); margin-bottom: 0; font-size: 15.5px; line-height: 1.6; }

/* ===== CTA band ===== */
.cta-band {
  padding: 0;
  background: linear-gradient(135deg, rgba(8, 104, 88, 0.96), rgba(8, 104, 88, 0.88)), url("https://images.unsplash.com/photo-1579684385127-1ef15d508118?auto=format&fit=crop&w=1600&q=82") center / cover no-repeat;
  color: #fff; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 20% 80%, rgba(255,255,255,0.12), transparent 60%), radial-gradient(600px 300px at 80% 20%, rgba(232, 117, 98, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-inner { min-height: 340px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; padding: 68px 0; position: relative; z-index: 1; }
.cta-inner h2 { max-width: 760px; font-size: clamp(36px, 5.5vw, 64px); line-height: 1.02; margin-bottom: 18px; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.cta-inner p { max-width: 680px; color: #dffaf2; font-size: 19px; margin-bottom: 0; line-height: 1.7; font-weight: 400; }
.offer-pill {
  display: inline-flex; align-items: center; justify-content: center; width: 190px; height: 190px; border-radius: 50%;
  background: linear-gradient(135deg, #fff, #f8faf9); color: var(--teal-dark); text-align: center; padding: 28px;
  font-weight: 900; line-height: 1.06; box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28), 0 0 0 8px rgba(255,255,255,0.15);
  transform: rotate(-5deg); transition: all var(--transition); position: relative; overflow: hidden;
}
.offer-pill:hover { transform: rotate(-3deg) scale(1.05); box-shadow: 0 32px 80px rgba(0, 0, 0, 0.32), 0 0 0 10px rgba(255,255,255,0.2); }
.offer-pill span { display: block; font-size: 48px; color: var(--coral); font-weight: 950; letter-spacing: -0.03em; text-shadow: 0 2px 8px rgba(232, 117, 98, 0.25); position: relative; z-index: 1; }
.offer-pill::after { content: 'OFF'; position: absolute; bottom: 28px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); z-index: 1; }

/* ===== Reviews ===== */
.stories { background: #ffffff; position: relative; }
.story-grid {
  display: grid; grid-template-columns: repeat(5, minmax(240px, 1fr)); gap: 20px; overflow-x: auto; padding: 12px 0 24px;
  scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: var(--teal) transparent; position: relative; z-index: 1;
}
.story-grid.grid-static { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); overflow-x: visible; }
.story-grid::-webkit-scrollbar { height: 8px; }
.story-grid::-webkit-scrollbar-track { background: var(--line-soft); border-radius: 10px; }
.story-grid::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; border: 2px solid transparent; background-clip: content-box; }
.story-card {
  min-height: 320px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; scroll-snap-align: start;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.story-card:hover { transform: translateY(-5px); border-color: var(--teal); box-shadow: var(--shadow), var(--shadow-glow); }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 2px; margin-bottom: 18px; display: flex; align-items: center; gap: 2px; }
.story-card blockquote { margin: 0; color: var(--ink-light); flex: 1; font-size: 16px; line-height: 1.65; font-style: normal; position: relative; padding-left: 24px; }
.story-card blockquote::before { content: '"'; position: absolute; left: 0; top: -8px; font-size: 48px; color: var(--teal); opacity: 0.2; font-family: Georgia, serif; line-height: 1; }
.story-card cite { display: block; margin-top: 22px; color: var(--ink); font-style: normal; font-weight: 800; font-size: 16px; position: relative; padding-left: 24px; }
.story-card cite::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 2px; background: var(--teal); border-radius: 2px; }

/* ===== Contact ===== */
.contact { padding-bottom: 20px; position: relative; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr); gap: 36px; align-items: start; }
.contact-form { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-elevated); position: relative; overflow: hidden; }
.contact-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold)); opacity: 0.9; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 9px; }
.field.full { grid-column: 1 / -1; }
label { color: var(--ink-light); font-size: 14px; font-weight: 750; letter-spacing: 0.01em; display: flex; align-items: center; gap: 6px; }
label.required::after { content: '*'; color: var(--coral); font-weight: 800; }
input, select, textarea {
  width: 100%; border: 2px solid #cbd8d4; border-radius: var(--radius); background: #fbfefd; color: var(--ink);
  padding: 14px 16px; outline: none; transition: all var(--transition-fast); font-size: 15.5px; position: relative;
}
input::placeholder, textarea::placeholder { color: var(--muted-light); opacity: 1; }
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 5px rgba(11, 143, 122, 0.15); background: #fff; }
.form-note { color: var(--muted); font-size: 14px; margin: 18px 0 0; line-height: 1.6; padding-left: 24px; position: relative; }
.form-note::before { content: '💡'; position: absolute; left: 0; top: 0; }
.contact-form .btn { margin-top: 24px; width: 100%; font-size: 16px; padding: 16px 24px; }

.info-panel { display: grid; gap: 18px; }
.info-card { display: grid; grid-template-columns: auto 1fr; gap: 18px; background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-soft); transition: all var(--transition); position: relative; overflow: hidden; }
.info-card:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: var(--shadow-soft), var(--shadow-glow); }
.info-card strong { display: block; line-height: 1.25; margin-bottom: 6px; font-size: 17px; color: var(--ink); font-weight: 750; }
.info-card p { color: var(--muted); margin-bottom: 0; font-size: 15.5px; line-height: 1.6; }
.info-card a { color: var(--teal-dark); font-weight: 650; transition: color var(--transition-fast); }
.info-card a:hover { color: var(--teal); }

.map-card {
  min-height: 280px; overflow: hidden; position: relative; border-radius: var(--radius-lg);
  background-size: cover; background-position: center; box-shadow: var(--shadow-elevated); display: grid;
  align-items: end; padding: 24px; transition: transform var(--transition);
}
.map-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.map-overlay { background: var(--surface-glass); border-radius: var(--radius-lg); padding: 22px; max-width: 400px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.85); box-shadow: var(--shadow); }
.map-overlay strong { display: block; font-size: 21px; margin-bottom: 8px; color: var(--ink); font-weight: 750; }
.map-overlay p { color: var(--muted); margin-bottom: 18px; font-size: 15.5px; line-height: 1.6; }

/* ===== Calculators (BMI / Diabetes risk) ===== */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: 36px; align-items: start; }
.calc-card { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-xl); padding: 34px; box-shadow: var(--shadow-elevated); position: relative; overflow: hidden; }
.calc-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--teal), var(--coral), var(--gold)); opacity: 0.9; }
.calc-card h2 { font-size: 26px; margin-bottom: 8px; }
.calc-card > p.calc-sub { color: var(--muted); margin-bottom: 26px; font-size: 15.5px; }
.unit-toggle { display: inline-flex; background: var(--surface-soft); border-radius: var(--radius-full); padding: 4px; gap: 4px; margin-bottom: 4px; }
.unit-toggle button {
  border: none; background: transparent; padding: 8px 16px; border-radius: var(--radius-full); font-weight: 700;
  font-size: 13.5px; color: var(--muted); cursor: pointer; transition: all var(--transition-fast);
}
.unit-toggle button.active { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.calc-result {
  background: linear-gradient(135deg, #0a4d43, #0d6b5c); color: #eafff8; border-radius: var(--radius-lg); padding: 28px;
  box-shadow: 0 24px 50px rgba(10, 77, 67, 0.3); position: sticky; top: 132px;
}
.calc-result h3 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 18px; font-weight: 800; }
.calc-result .big-number { font-size: 52px; font-weight: 900; letter-spacing: -0.02em; line-height: 1; margin-bottom: 8px; }
.calc-result .risk-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: var(--radius-full);
  font-weight: 800; font-size: 14px; margin-bottom: 18px;
}
.risk-tag.low { background: rgba(22,163,74,0.18); color: #b8f2cf; }
.risk-tag.moderate, .risk-tag.overweight { background: rgba(233,173,67,0.2); color: #ffe3ad; }
.risk-tag.high, .risk-tag.obese { background: rgba(232,117,98,0.22); color: #ffd0c7; }
.risk-tag.normal, .risk-tag.underweight { background: rgba(50,103,177,0.22); color: #cfe0f7; }
.calc-result p { color: #d3f6e9; font-size: 15px; line-height: 1.65; margin-bottom: 0; }
.calc-result .scale { display: grid; gap: 6px; margin: 18px 0; }
.scale-row { display: flex; justify-content: space-between; font-size: 13px; color: #bfe9db; padding: 6px 0; border-top: 1px solid rgba(255,255,255,0.12); }
.scale-row:first-child { border-top: none; }
.scale-row.current { color: #fff; font-weight: 800; }
.calc-disclaimer { margin-top: 18px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,0.25); font-size: 12.5px; color: #a9d9c8; line-height: 1.5; }
.result-extra { margin: 16px 0 2px; padding: 14px 16px; background: rgba(255,255,255,0.07); border-radius: 12px; display: grid; gap: 10px; }
.result-extra-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 13.5px; color: #d3f6e9; }
.result-extra-row strong { color: #fff; font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.result-flag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.result-flag.ok { background: rgba(22,163,74,.22); color: #b8f2cf; }
.result-flag.warn { background: rgba(233,173,67,.25); color: #ffe3ad; }
.minor-note { margin: 16px 0; padding: 12px 14px; background: rgba(233,173,67,.15); border: 1px solid rgba(233,173,67,.35); border-radius: 10px; font-size: 13px; color: #fff2d9; line-height: 1.55; }
.minor-note strong { color: #fff; }
.calc-form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-bottom: 18px; }
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  border: 2px solid #cbd8d4; border-radius: var(--radius-full); padding: 10px 18px; font-weight: 700; font-size: 14px;
  cursor: pointer; transition: all var(--transition-fast); background: #fbfefd; color: var(--ink-light);
}
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill.selected { border-color: var(--teal); background: var(--surface-soft); color: var(--teal-dark); }
.calc-note { font-size: 13.5px; color: var(--muted); margin-top: -8px; }

/* ===== Floating action button ===== */
.fab {
  position: fixed; bottom: 28px; right: 28px; width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: white; display: grid; place-items: center;
  box-shadow: 0 12px 40px rgba(11, 143, 122, 0.45), 0 0 0 6px rgba(255,255,255,0.15); z-index: 100;
  transition: all var(--transition); border: none; cursor: pointer; padding: 0;
}
.fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 18px 50px rgba(11, 143, 122, 0.55), 0 0 0 8px rgba(255,255,255,0.2); }
.fab .btn-icon { width: 26px; height: 26px; stroke-width: 2.5; }

/* ===== Scroll-in animation ===== */
.animate-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--transition), transform 0.6s var(--transition); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1080px) {
  .hero { min-height: auto; background-position: 65% center; }
  .hero-grid, .intro-grid, .doctor-grid, .services-layout, .contact-grid, .calc-layout, .feature-grid { grid-template-columns: 1fr; }
  .hero-panel { max-width: 560px; margin: 0 auto; }
  .services-aside, .calc-result { position: static; margin-bottom: 24px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; }
  .cta-inner p { margin-left: auto; margin-right: auto; }
  .offer-pill { justify-self: center; margin-top: 20px; }
}

@media (max-width: 760px) {
  .btn { width: 100%; max-width: 320px; }
  .hero {
    background: linear-gradient(180deg, rgba(248, 250, 249, 0.98) 0%, rgba(248, 250, 249, 0.92) 55%, rgba(248, 250, 249, 0.8) 100%), url("https://images.unsplash.com/photo-1584515933487-779824d29309?auto=format&fit=crop&w=1200&q=80") center top / cover no-repeat;
  }
  .hero-grid { padding: 56px 0 40px; gap: 40px; }
  h1 { font-size: clamp(40px, 14vw, 58px); }
  .hero-proof, .benefit-grid, .services-grid, .form-grid, .calc-form-row { grid-template-columns: 1fr; }
  section { padding: 76px 0; }
  .page-hero { padding: 44px 0 36px; }
  .intro-media, .doctor-photo { min-height: 380px; }
  .split-card, .doctor-name { grid-template-columns: 1fr; text-align: center; }
  .doctor-name { flex-direction: column; gap: 16px; }
  .cta-inner { padding: 56px 0; }
  .offer-pill { width: 160px; height: 160px; font-size: 15px; }
  .offer-pill span { font-size: 40px; }
  .story-grid { grid-template-columns: repeat(5, minmax(280px, 86vw)); padding: 12px 8px 24px; }
  .wrap { width: min(var(--max), calc(100% - 32px)); padding: 0 12px; }
  .fab { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .fab .btn-icon { width: 24px; height: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}
