:root {
  --bg: #fbf8f3;
  --tint: #f2eee6;
  --ink: #2f3a34;
  --muted: #5f6b64;
  --sage: #7f9c86;
  --sage-dark: #4f6e58;
  --clay: #d89a7b;
  --clay-dark: #b8704f;
  --card: #ffffff;
  --line: #e4ddd0;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(47, 58, 52, .12);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: Inter, system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.65; font-size: 17px; overflow-x: hidden; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: Fraunces, Georgia, serif; font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: .7rem 0 1.2rem; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.2rem; margin-bottom: .4rem; }
p + p { margin-top: 1rem; }
a { color: var(--sage-dark); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--sage-dark); }
.eyebrow.light { color: #e8d7c8; }
.accent { color: var(--sage-dark); font-style: italic; font-weight: 400; }
.accent2 { color: var(--clay-dark); font-style: italic; font-weight: 400; }

.btn { display: inline-block; background: var(--sage-dark); color: #fff; padding: .9rem 1.6rem; border-radius: 999px; text-decoration: none; font-weight: 600; border: 2px solid var(--sage-dark); cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); background: #3f5a47; box-shadow: 0 10px 24px rgba(79, 110, 88, .3); }
.btn-ghost { background: transparent; color: var(--sage-dark); }
.btn-ghost:hover { background: var(--sage-dark); color: #fff; }
.btn-small { padding: .55rem 1.15rem; color: #fff !important; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--clay); border-color: var(--clay); color: #fff; }

/* Top bar */
.topbar { background: var(--ink); color: #d6ddd8; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 20px; flex-wrap: wrap; }
.topbar a { color: #d6ddd8; text-decoration: none; }
.topbar a:hover { color: #fff; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(251, 248, 243, .9); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(47, 58, 52, .06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; color: var(--ink); font-family: Fraunces, serif; font-size: 1.4rem; font-weight: 600; }
.brand em { color: var(--clay-dark); }
.brand.light { color: #fff; }
.logo { width: 38px; height: 38px; }
.links { display: flex; align-items: center; gap: 1.6rem; }
.links a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; }
.links a:not(.btn):hover { color: var(--sage-dark); }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { padding: 70px 0 90px; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 20%, rgba(216, 154, 123, .18), transparent 45%), radial-gradient(circle at 10% 90%, rgba(127, 156, 134, .18), transparent 45%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; position: relative; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0 1.6rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.3rem; list-style: none; color: var(--muted); font-size: .92rem; }
.trust li::before { content: "✓ "; color: var(--sage-dark); font-weight: 700; }
.hero-media { position: relative; }
.hero-blob { position: absolute; inset: -30px -20px -20px 30px; background: linear-gradient(135deg, var(--sage), var(--clay)); border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; opacity: .35; animation: morph 14s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 42% 58% 60% 40% / 58% 42% 58% 42%; transform: rotate(4deg); } }
.hero-img { position: relative; width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 200px 200px 28px 28px; box-shadow: var(--shadow); }
.badge { position: absolute; background: #fff; border-radius: 16px; padding: .8rem 1.1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: .6rem; font-size: .9rem; animation: bob 6s ease-in-out infinite; }
.badge strong { font-family: Fraunces, serif; font-size: 1.4rem; color: var(--sage-dark); }
.badge span { color: var(--muted); }
.badge-1 { left: -28px; bottom: 60px; }
.badge-2 { right: -18px; top: 70px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Marquee strip */
.strip { background: var(--sage-dark); color: #fff; overflow: hidden; padding: .9rem 0; }
.strip-track { display: flex; gap: 2.4rem; width: max-content; animation: scroll 40s linear infinite; font-family: Fraunces, serif; font-size: 1.15rem; font-style: italic; }
.strip-track span::after { content: "✦"; margin-left: 2.4rem; color: var(--clay); font-style: normal; font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.tint { background: var(--tint); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about-media { position: relative; padding: 0 40px 60px 0; }
.about-media img:first-child { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.about-small { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stats div { background: var(--tint); border-radius: 16px; padding: 1.1rem .8rem; text-align: center; }
.stats strong { display: block; font-family: Fraunces, serif; font-size: 1.6rem; color: var(--sage-dark); }
.stats span { font-size: .84rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover img { transform: scale(1.05); }
.card-body { padding: 1.4rem 1.5rem 1.7rem; position: relative; background: var(--card); }
.card p { color: var(--muted); font-size: .96rem; }

.band { background-size: cover; background-position: center; background-attachment: fixed; }
.band-overlay { background: linear-gradient(rgba(47, 58, 52, .72), rgba(47, 58, 52, .72)); padding: 120px 0; color: #fff; }
.band-quote { font-family: Fraunces, serif; font-style: italic; font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.35; margin-bottom: 2rem; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 16%; right: 16%; border-top: 2px dashed var(--line); }
.steps li { text-align: center; padding: 0 .5rem; position: relative; }
.steps span { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--sage-dark); color: #fff; font-family: Fraunces, serif; font-size: 1.4rem; margin-bottom: 1rem; box-shadow: 0 0 0 8px var(--bg); }
.steps p { color: var(--muted); }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.8rem; align-items: center; }
.price { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem 2rem; text-align: center; position: relative; }
.price.featured { background: var(--sage-dark); color: #fff; border: 0; padding: 2.8rem 2rem; box-shadow: var(--shadow); }
.price.featured .amt, .price.featured p, .price.featured p:last-child { color: #fff; }
.price.featured p:last-child { opacity: .85; }
.tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--clay); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .9rem; border-radius: 999px; letter-spacing: .05em; text-transform: uppercase; }
.amt { font-family: Fraunces, serif; font-size: 2.4rem; color: var(--sage-dark); margin: .4rem 0; }
.price p:last-child { color: var(--muted); font-size: .92rem; }
.note { margin-top: 2rem; color: var(--muted); font-size: .92rem; }

details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 1.15rem 1.4rem; margin-top: 1rem; transition: box-shadow .2s; }
details[open] { box-shadow: 0 10px 28px rgba(47, 58, 52, .08); }
summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--sage-dark); }
details[open] summary::after { content: "−"; }
details p { margin-top: .7rem; color: var(--muted); }

/* Book */
.book { background-size: cover; background-position: center; color: #fff; }
.book-overlay { background: linear-gradient(110deg, rgba(47, 58, 52, .92) 35%, rgba(79, 110, 88, .7)); }
.book a { color: #fff; }
.contact { list-style: none; margin-top: 1.8rem; display: grid; gap: .7rem; }
.form { background: var(--card); color: var(--ink); padding: 2.2rem; border-radius: var(--radius); display: grid; gap: 1rem; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.form h3 { font-size: 1.45rem; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-weight: 500; font-size: .93rem; }
.form small { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--sage); border-color: transparent; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }

.crisis { background: #fbe9e1; color: #6b3a24; padding: 1.1rem 0; font-size: .95rem; }
.crisis a { color: #6b3a24; font-weight: 600; }

.footer { background: var(--ink); color: #c9d2cc; padding: 3.5rem 0 1.4rem; font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: .6rem; }
.footer p { margin-top: .5rem; }
.footer a { color: #c9d2cc; text-decoration: none; }
.footer a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.2rem; font-size: .82rem; color: #9aa59e; }

.wa-float { position: fixed; right: 20px; bottom: 20px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); z-index: 20; transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* Meet Dr. Kabeer */
.doctor { background: #e9efe8; }
.doctor-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem; align-items: center; }
.doctor-photo { position: relative; padding: 0 28px 28px 0; max-width: 460px; }
.doctor-frame { position: absolute; inset: 28px 0 0 28px; border: 2px solid var(--clay); border-radius: var(--radius); }
.doctor-photo img { position: relative; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 900 / 979; object-fit: cover; }
.doctor h2 { margin-bottom: .3rem; }
.doctor-role { font-family: Fraunces, serif; font-style: italic; font-size: 1.2rem; color: var(--clay-dark); margin-bottom: 1.2rem; }
.creds { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.creds li { background: #fff; border: 1px solid #d3ddd2; color: var(--sage-dark); font-weight: 600; font-size: .85rem; padding: .4rem .85rem; border-radius: 999px; }
.ml { font-family: "Noto Sans Malayalam", Inter, sans-serif; background: #fff; border-left: 4px solid var(--sage-dark); padding: .8rem 1rem; border-radius: 10px; }
.ml a { font-weight: 600; text-decoration: none; }
.badge-2 { text-decoration: none; color: var(--ink); font-size: .82rem; line-height: 1.35; }
.badge-2 b { color: var(--ink); font-size: .9rem; }
.avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: top; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .about-grid, .doctor-grid { grid-template-columns: 1fr; }
  .doctor-photo { margin: 0 auto; max-width: 380px; }
  .hero-media { max-width: 460px; margin: 0 auto; }
  .cards, .prices { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .band { background-attachment: scroll; }
}
@media (max-width: 720px) {
  .topbar-inner { justify-content: center; text-align: center; }
  .topbar-inner > span:first-child { display: none; }
  .menu-btn { display: block; }
  .links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 1.2rem; border-bottom: 1px solid var(--line); gap: 1rem; }
  .links.open { display: flex; }
  .cards, .prices, .stats, .form .row, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 70px; }
  .section { padding: 68px 0; }
  .hero-img { aspect-ratio: 4 / 3.8; }
  .doctor-photo { padding: 0 18px 18px 0; }
  .doctor-frame { inset: 18px 0 0 18px; }
  .badge-1 { left: -6px; }
  .badge-2 { right: -6px; }
  .about-media { padding: 0 24px 40px 0; }
  .band-overlay { padding: 80px 0; }
  .form { padding: 1.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
