/* Dr Sumit Chandak · Guides — shared styles (mobile first) */
:root {
  --teal: #0F3E45;
  --teal-2: #15535C;
  --beige: #D9BE9C;
  --cream: #F6F1E8;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --ink: #1E2E30;
  --muted: #5E6E6C;
  --line: #E7DFD3;
  --coral: #E07A5F;
  --mint-bg: #E2F1EA;  --mint: #2F7D6B;
  --lilac-bg: #ECE8F7; --lilac: #6B5CA5;
  --sky-bg: #E1EEF7;   --sky: #2E6E9E;
  --sun-bg: #FBEFD2;   --sun: #94660E;
  --rose-bg: #F9E3E1;  --rose: #B4474B;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(15,62,69,.06), 0 8px 24px rgba(15,62,69,.07);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 640px; margin: 0 auto; padding: 0 18px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(251,248,243,.86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(231,223,211,.7); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.doc-chip { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.doc-chip img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--beige); }
.doc-chip b { display: block; font-size: 14px; font-weight: 600; line-height: 1.15; }
.doc-chip span { display: block; font-size: 12px; color: var(--muted); }
.top-link { font-size: 13px; font-weight: 600; color: var(--teal); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: var(--cream); }

/* Guide hero */
.hero { position: relative; color: var(--cream); background: var(--teal); overflow: hidden; }
.hero-img { position: absolute; left: 0; right: 0; top: 0; height: 330px; background-size: cover; background-position: center 30%; }
.hero::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 332px; background: linear-gradient(180deg, rgba(15,62,69,0) 0%, rgba(15,62,69,0) 45%, rgba(15,62,69,.75) 78%, var(--teal) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-top: 268px; padding-bottom: 34px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px; background: var(--beige); color: var(--teal); }
.hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(32px, 8.5vw, 46px); line-height: 1.06; letter-spacing: -.01em; margin: 16px 0 12px; }
.hero h1 em { font-style: italic; color: var(--beige); }
.hero p.sub { font-size: 16.5px; color: #E9DCC8; max-width: 520px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.meta span { font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid rgba(246,241,232,.28); color: #EFE5D6; }

/* Sections */
section.block { padding: 34px 0 6px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); margin-bottom: 8px; }
h2 { font-family: var(--serif); font-weight: 600; font-size: 27px; line-height: 1.15; margin-bottom: 10px; color: var(--teal); }
h3 { font-size: 16.5px; font-weight: 650; line-height: 1.3; margin-bottom: 4px; }
p.lead { font-size: 16.5px; color: var(--ink); margin-bottom: 16px; }
p { margin-bottom: 10px; }
.small { font-size: 13.5px; color: var(--muted); }

/* Icon tiles */
.tiles { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
@media (min-width: 560px) { .tiles.three { grid-template-columns: repeat(3, 1fr); } .tiles.two { grid-template-columns: repeat(2, 1fr); } }
.tile { border-radius: var(--radius); padding: 18px; background: var(--card); box-shadow: var(--shadow); }
.tile .ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 12px; }
.tile .ic svg { width: 22px; height: 22px; }
.tile p { font-size: 14.5px; color: var(--muted); margin: 0; }
.c-mint .ic { background: var(--mint-bg); color: var(--mint); }
.c-lilac .ic { background: var(--lilac-bg); color: var(--lilac); }
.c-sky .ic { background: var(--sky-bg); color: var(--sky); }
.c-sun .ic { background: var(--sun-bg); color: var(--sun); }
.c-rose .ic { background: var(--rose-bg); color: var(--rose); }
.c-teal .ic { background: var(--cream); color: var(--teal); }

/* Timeline */
.timeline { list-style: none; margin-top: 16px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--beige), var(--line)); }
.timeline li { position: relative; display: flex; gap: 14px; padding-bottom: 16px; }
.timeline .t { flex: 0 0 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--teal); background: var(--cream); border: 2px solid var(--paper); z-index: 1; text-align: center; line-height: 1.1; }
.timeline .body { background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); flex: 1; }
.timeline .body p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* Callouts */
.callout { border-radius: var(--radius); padding: 18px; margin-top: 16px; display: flex; gap: 14px; align-items: flex-start; }
.callout svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 2px; }
.callout p { margin: 0; font-size: 15px; }
.callout b { display: block; margin-bottom: 2px; }
.callout.tip { background: var(--sun-bg); color: #5C4210; }
.callout.info { background: var(--sky-bg); color: #1F4A6B; }
.callout.alert { background: var(--rose-bg); color: #7A2A2E; }
.callout.good { background: var(--mint-bg); color: #1F5244; }

/* Checklist */
.checklist { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.checklist label { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow); cursor: pointer; transition: background .2s; }
.checklist input { appearance: none; -webkit-appearance: none; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px; border: 2px solid var(--beige); margin-top: 1px; display: grid; place-items: center; transition: all .2s; cursor: pointer; }
.checklist input:checked { background: var(--mint); border-color: var(--mint); }
.checklist input:checked::after { content: ''; width: 7px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.checklist label:has(input:checked) { background: var(--mint-bg); }
.checklist .txt b { display: block; font-size: 15px; font-weight: 600; }
.checklist .txt span { font-size: 14px; color: var(--muted); }
.progress { margin-top: 12px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.progress .bar { flex: 1; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress .bar i { display: block; height: 100%; width: 0; background: var(--mint); border-radius: 99px; transition: width .3s; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.compare > div { border-radius: var(--radius); padding: 16px; }
.compare .yes { background: var(--mint-bg); }
.compare .no { background: var(--rose-bg); }
.compare h3 { font-size: 14px; letter-spacing: .02em; margin-bottom: 8px; }
.compare ul { list-style: none; display: grid; gap: 8px; }
.compare li { font-size: 14px; line-height: 1.4; }

/* Doctor note */
.note { margin-top: 18px; background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-left: 4px solid var(--beige); }
.note p { font-family: var(--serif); font-size: 18.5px; line-height: 1.45; color: var(--teal); margin-bottom: 14px; }
.note .by { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.note .by img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.note .by b { color: var(--ink); display: block; }

/* CTA */
.cta { margin: 38px 0 10px; background: var(--teal); color: var(--cream); border-radius: 24px; padding: 26px 22px; position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; border: 2px solid rgba(217,190,156,.25); box-shadow: 0 0 0 26px rgba(217,190,156,.08), 0 0 0 52px rgba(217,190,156,.05); }
.cta h2 { color: var(--cream); font-size: 26px; position: relative; }
.cta p { color: #D9CDBB; font-size: 15px; position: relative; }
.cta .row { display: flex; align-items: center; gap: 12px; margin: 16px 0 18px; position: relative; }
.cta .row img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--beige); }
.cta .row b { display: block; }
.cta .row span { font-size: 13px; color: #CDBFA9; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 650; font-size: 15.5px; padding: 15px 22px; border-radius: 999px; background: var(--beige); color: var(--teal); width: 100%; position: relative; transition: transform .15s, background .2s; }
.btn:hover { background: #E4CCAD; }
.btn:active { transform: scale(.98); }
.btn.dark { background: var(--teal); color: var(--cream); }

/* Sticky booking bar (mobile) */
.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,248,243,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s ease; }
.sticky.show { transform: none; }
.sticky .wrap { display: flex; align-items: center; gap: 12px; padding: 0; }
.sticky .t { font-size: 13px; line-height: 1.3; flex: 1; }
.sticky .t b { display: block; font-size: 14px; }
.sticky .btn { width: auto; padding: 12px 18px; font-size: 14px; background: var(--teal); color: var(--cream); }

/* Quiz */
.quiz { margin-top: 16px; display: grid; gap: 14px; }
.q { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.q .n { font-size: 12px; font-weight: 700; color: var(--coral); letter-spacing: .08em; }
.q h3 { margin: 6px 0 12px; font-size: 16px; }
.opts { display: grid; gap: 8px; }
.opts label { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 14.5px; cursor: pointer; transition: all .15s; }
.opts input { accent-color: var(--teal); width: 18px; height: 18px; }
.opts label:has(input:checked) { border-color: var(--teal); background: var(--cream); }
.result { display: none; border-radius: 24px; padding: 22px; margin-top: 16px; color: #fff; }
.result.show { display: block; }
.result .score { font-family: var(--serif); font-size: 46px; font-weight: 600; line-height: 1; }
.result .score small { font-size: 18px; opacity: .8; }
.result h3 { font-size: 19px; margin: 10px 0 6px; }
.result p { font-size: 15px; opacity: .95; margin: 0; }
.result.z1 { background: var(--mint); } .result.z2 { background: #B07A12; } .result.z3 { background: #C0602F; } .result.z4 { background: var(--rose); }
.scale { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.scale div { border-radius: 12px; padding: 10px 8px; font-size: 12px; line-height: 1.3; color: #fff; }
.scale b { display: block; font-size: 14px; }
.counter { position: sticky; top: 64px; z-index: 5; margin-top: 10px; background: var(--teal); color: var(--cream); border-radius: 999px; padding: 8px 14px; font-size: 13px; display: inline-block; }

/* Big number cards */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.nums div { border-radius: 18px; padding: 14px 10px; text-align: center; }
.nums b { display: block; font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.nums span { font-size: 12.5px; line-height: 1.3; display: block; margin-top: 4px; }

/* Footer */
footer { margin-top: 40px; padding: 30px 0 120px; background: var(--cream); font-size: 13.5px; color: var(--muted); }
footer h4 { font-family: var(--serif); font-size: 18px; color: var(--teal); margin-bottom: 6px; }
footer p { margin-bottom: 10px; }
footer a { color: var(--teal); }

/* Library */
.lib-hero { background: var(--teal); color: var(--cream); padding: 40px 0 34px; position: relative; overflow: hidden; }
.lib-hero::before { content: ''; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%; border: 2px solid rgba(217,190,156,.22); box-shadow: 0 0 0 34px rgba(217,190,156,.07), 0 0 0 70px rgba(217,190,156,.04); }
.lib-hero .wrap { position: relative; }
.lib-hero img.av { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 3px solid var(--beige); margin-bottom: 16px; }
.lib-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 9vw, 48px); line-height: 1.05; }
.lib-hero h1 em { font-style: italic; color: var(--beige); }
.lib-hero p { color: #D9CDBB; margin-top: 12px; max-width: 500px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 4px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: 0 0 auto; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 13px var(--sans); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.chips button.on { background: var(--teal); color: var(--cream); border-color: var(--teal); }
.cards { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 560px) { .cards { grid-template-columns: 1fr 1fr; } }
.gcard { display: block; text-decoration: none; background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.gcard:hover { transform: translateY(-2px); }
.gcard .ph { aspect-ratio: 16 / 11; background-size: cover; background-position: center 30%; position: relative; }
.gcard .ph .pill { position: absolute; left: 14px; bottom: 12px; }
.gcard .in { padding: 16px 18px 18px; }
.gcard .cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral); }
.gcard h3 { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; margin: 6px 0; color: var(--teal); }
.gcard p { font-size: 14px; color: var(--muted); margin: 0; }
.gcard .go { margin-top: 12px; font-size: 13.5px; font-weight: 650; color: var(--teal); }

/* Team index */
.trow { background: var(--card); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.trow .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.trow .kw { font-weight: 800; font-size: 15px; letter-spacing: .04em; color: var(--teal); background: var(--cream); padding: 4px 10px; border-radius: 8px; }
.trow .st { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.st.ready { background: var(--mint-bg); color: var(--mint); }
.st.soon { background: var(--sun-bg); color: var(--sun); }
.trow .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.trow button, .trow a.b { font: 600 12.5px var(--sans); border: 1.5px solid var(--line); background: var(--paper); color: var(--teal); padding: 7px 12px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(80px); background: var(--teal); color: var(--cream); padding: 10px 18px; border-radius: 999px; font-size: 14px; transition: transform .25s; z-index: 50; }
.toast.show { transform: translateX(-50%); }

@media (min-width: 760px) {
  .hero-img { height: 420px; } .hero::after { height: 422px; }
  .hero .wrap { padding-top: 350px; }
  .sticky { display: none; }
  footer { padding-bottom: 40px; }
}

/* About doctor + clinic */
.about { margin-top: 38px; background: var(--card); border-radius: 24px; padding: 22px 20px; box-shadow: var(--shadow); }
.about-top { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.about-top img { width: 84px; height: 84px; border-radius: 22px; object-fit: cover; object-position: center top; flex: 0 0 84px; }
.about h2 { margin: 0; font-size: 24px; }
.about .role { font-size: 13.5px; color: var(--muted); margin: 2px 0 0; }
.about > p { font-size: 15px; color: var(--ink); }
.helps { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 16px; }
.helps span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--cream); color: var(--teal); }
.clinic { border-top: 1px solid var(--line); padding-top: 14px; }
.clinic h3 { font-family: var(--serif); font-weight: 600; font-size: 17px; color: var(--teal); }
.clinic p { font-size: 14px; color: var(--muted); margin: 2px 0 12px; }
.clinic-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.mini { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 650; text-decoration: none; color: var(--teal); background: var(--cream); padding: 9px 14px; border-radius: 999px; }
.mini svg, .btn svg, .sticky .call svg { width: 16px; height: 16px; }
.btn.ghost { margin-top: 10px; background: transparent; color: var(--cream); border: 1.5px solid rgba(217,190,156,.6); }
.btn.ghost:hover { background: rgba(217,190,156,.12); }
.sticky .call { flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--teal); }
.hero-img { background-position: center top; }

/* Say-this script cards */
.says { display: grid; gap: 12px; margin-top: 14px; }
.say { background: var(--card); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.say .sit { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.say .sit svg { width: 18px; height: 18px; color: var(--coral); flex: 0 0 18px; }
.say .line { font-family: var(--serif); font-size: 19px; line-height: 1.35; color: var(--teal); margin: 10px 0 8px; padding-left: 12px; border-left: 3px solid var(--beige); }
.say .why { font-size: 13.5px; color: var(--mint); font-weight: 600; margin: 0; }

/* Myth vs fact */
.myths { display: grid; gap: 12px; margin-top: 14px; }
.myth { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.myth .m, .myth .f { padding: 14px 18px; font-size: 15px; }
.myth .m { background: var(--rose-bg); color: #7A2A2E; font-family: var(--serif); font-size: 18px; }
.myth .f { background: var(--card); }
.myth span { display: block; font: 700 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.myth .m span { color: var(--rose); }
.myth .f span { color: var(--mint); }
.opts.yn { grid-template-columns: 1fr 1fr; }
