/* ==========================================================================
   Ananya Kidz & Family Multispeciality Centre — Pediatrics vertical
   Design tokens
   Ink        #16302C  (deep pine — headings, body text)
   Surface    #FBF8F2  (warm paper background)
   Card       #FFFFFF
   Primary    #0E6B5C  (clinical teal — trust, links, nav)
   Primary-D  #0A4F44  (hover/active teal)
   Accent     #F2A154  (warm apricot — CTAs, kid-friendly warmth)
   Accent-D   #D9863A
   Mist       #E7F1EE  (section tint)
   Line       #DCE6E2
   Alert      #C4501F  (urgent / seek-care-now)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #16302C;
  --surface: #FBF8F2;
  --card: #FFFFFF;
  --primary: #0E6B5C;
  --primary-d: #0A4F44;
  --accent: #F2A154;
  --accent-d: #D9863A;
  --mist: #E7F1EE;
  --line: #DCE6E2;
  --alert: #C4501F;
  --muted: #55665F;
  --radius: 14px;
  --max: 1120px;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
  background: var(--mist); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

/* Skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* Header / nav */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 10px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.05rem; flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--ink); }
.brand-text span { display: block; font-size: 0.72rem; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .phone { font-weight: 700; color: var(--primary); text-decoration: none; font-size: 0.95rem; white-space: nowrap; }

/* Breadcrumb */
.breadcrumb { background: var(--mist); font-size: 0.85rem; }
.breadcrumb .wrap { padding: 10px 24px; }
.breadcrumb a { color: var(--primary-d); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { color: var(--muted); margin: 0 6px; }
.breadcrumb .current { color: var(--muted); }

/* Hero */
.hero { padding: 56px 0 44px; background: linear-gradient(180deg, var(--mist) 0%, var(--surface) 100%); }
.hero h1 { max-width: 900px; }
.hero .lede { font-size: 1.1rem; color: var(--muted); max-width: 720px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 13px 24px; border-radius: 999px; font-size: 0.98rem; border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease; }
.btn-primary { background: var(--accent); color: #2B1707; box-shadow: 0 4px 0 var(--accent-d); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary-d); }
.btn-outline:hover { background: var(--mist); }

/* Sections */
section.block { padding: 44px 0; }
section.block.tint { background: var(--mist); }
section.block h2 { margin-bottom: 22px; }
.section-intro { color: var(--muted); max-width: 720px; margin-bottom: 22px; }

/* Cards / grids */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-bottom: 8px; }

/* Check / bullet lists */
ul.tick { list-style: none; padding: 0; margin: 0; }
ul.tick li { position: relative; padding-left: 30px; margin-bottom: 12px; }
ul.tick li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; background: var(--mist); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; }
ul.plain { padding-left: 22px; margin: 0 0 1em; }
ul.plain li { margin-bottom: 8px; }

/* Triage panel (observe / consult / urgent) */
.triage { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 16px; }
.triage .card { border-top: 5px solid var(--line); }
.triage .observe { border-top-color: #6FA98A; }
.triage .consult { border-top-color: var(--accent); }
.triage .urgent { border-top-color: var(--alert); background: #FDF2ED; }
.triage h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Consultant block */
.consultant { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.consultant .cred { color: var(--muted); margin: 2px 0; }
.consultant ul.plain { columns: 2; column-gap: 24px; }
@media (max-width: 560px) { .consultant ul.plain { columns: 1; } }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 12px; }
details.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); flex-shrink: 0; }
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 16px; color: var(--muted); margin: 0; }

/* Disclaimer / billing note */
.notice { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: 10px; padding: 16px 20px; font-size: 0.92rem; color: var(--muted); margin: 20px 0; }
.notice.billing { border-left-color: var(--accent-d); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 0.94rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { background: var(--mist); font-family: var(--serif); font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* Related reading */
.related { display: flex; flex-wrap: wrap; gap: 12px; }
.related a { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.related a:hover { border-color: var(--primary); color: var(--primary-d); }

/* Final CTA band */
.cta-band { background: var(--primary); color: #fff; border-radius: 20px; padding: 40px; margin: 20px 0; }
.cta-band h2 { color: #fff; }
.cta-band .lede { color: #D8ECE7; }
.cta-band .btn-outline { border-color: #fff; color: #fff; }
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.12); }
.cta-band ul.plain { color: #D8ECE7; }

/* Blog cards */
.blog-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.blog-card .tag { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-d); }
.byline { font-size: 0.85rem; color: var(--muted); font-style: italic; margin: -6px 0 20px; }

/* Footer */
footer.site-footer { background: var(--ink); color: #CFE0DA; padding: 44px 0 26px; margin-top: 40px; }
footer.site-footer a { color: #CFE0DA; }
footer.site-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; margin-bottom: 24px; }
footer.site-footer h4 { color: #fff; font-family: var(--sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
footer.site-footer .kw { font-size: 0.82rem; line-height: 1.9; color: #93A9A2; border-top: 1px solid #29423C; padding-top: 18px; }
footer.site-footer .legal { font-size: 0.78rem; color: #7C948C; margin-top: 16px; }

/* Utility */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@media (max-width: 640px) {
  .site-header .phone-text { display: none; }
  section.block { padding: 32px 0; }
}
