/* Prasanna Poly Clinic — stylesheet */
:root {
  --ink: #14213a;
  --navy: #1a2f5a;
  --navy-deep: #0f1d38;
  --text: #2a2f38;
  --muted: #6b7180;
  --line: #e4ded2;
  --line-strong: #cfc6b5;
  --ivory: #f8f5ef;
  --ivory-2: #f1ece2;
  --brass: #a8823a;
  --brass-soft: #efe4cc;
  --red: #b8262c;
  --green: #2b7a4b;
  --wa: #1f9d55;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --kn: "Noto Sans Kannada", "Tunga", sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 17.5px/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-color: rgba(26,47,90,.35); text-underline-offset: 3px; }
a:hover { color: var(--brass); text-decoration-color: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.18; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1.1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .3em; }
address { font-style: normal; }
small, .small { font-size: .9rem; }
strong { font-weight: 600; }
.muted { color: var(--muted); }
.kn { font-family: var(--kn); font-weight: 500; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.05em; height: 1.05em; flex: none; vertical-align: -0.14em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.label { display: block; font: 600 .76rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass); margin-bottom: 14px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .82em 1.45em; border: 1px solid transparent; border-radius: 2px; font: 600 .98rem/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s; }
.btn--navy, .btn--red { background: var(--ink); color: #fff; }
.btn--navy:hover, .btn--red:hover { background: var(--navy); color: #fff; }
.btn--wa { background: #fff; color: var(--wa); border-color: rgba(31,157,85,.45); }
.btn--wa:hover { background: var(--wa); color: #fff; }
.btn--line { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--brass-soft); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Utility strip */
.utility { background: var(--navy-deep); color: #c9d0dd; font-size: .86rem; }
.utility__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { color: var(--brass-soft); }
.utility__sep { opacity: .35; margin: 0 10px; }
.status { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.utility .status--open { color: #7fd6a2; }
.utility .status--closed { color: #f0b3a8; }
@media (max-width: 760px) { .utility__addr { display: none; } .utility__in { justify-content: center; } .utility__right { display: none; } }

/* Header */
.masthead { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.masthead__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 52px; width: auto; }
.brand__name { display: block; font: 400 1.42rem/1.05 var(--serif); color: var(--ink); }
.brand__sub { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav li { margin: 0; }
.nav ul a { display: block; padding: 6px 0; color: var(--text); text-decoration: none; font-size: .97rem; font-weight: 500; border-bottom: 1px solid transparent; }
.nav ul a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.nav ul a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); color: var(--ink); padding: 8px 12px; font: 600 .9rem var(--sans); cursor: pointer; align-items: center; gap: 8px; border-radius: 2px; }
.nav-toggle .icon { width: 20px; height: 20px; }
@media (max-width: 980px) { .nav ul { gap: 20px; } .nav .btn { display: none; } }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 6px 24px 14px; box-shadow: 0 18px 30px rgba(20,33,58,.08); }
  .nav-open .nav ul { display: flex; }
  .nav ul a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .masthead__in { min-height: 70px; }
  .brand img { height: 44px; }
  .brand__name { font-size: 1.2rem; }
}

/* Breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 22px 0 0; font-size: .86rem; color: var(--muted); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "—"; margin-right: 8px; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brass); }

/* Sections */
.section { padding: 96px 0; }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--navy-deep); color: #c9d0dd; }
.section--dark h2, .section--dark h3 { color: #fff; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 48px; }
.sec-head h2 { margin: 0; max-width: 680px; }
.sec-head p { grid-column: 1; margin: 14px 0 0; color: var(--muted); max-width: 620px; }
.sec-head > a { font-weight: 600; font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 2px; white-space: nowrap; }
.intro { font-size: 1.15rem; color: #4a505c; max-width: 720px; }
@media (max-width: 760px) { .section { padding: 64px 0; } .sec-head { grid-template-columns: 1fr; margin-bottom: 32px; } }

/* Hero */
.hero { background: var(--ivory); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero h1 { margin-bottom: .45em; }
.hero__kn { font-family: var(--kn); color: var(--muted); font-size: 1.05rem; margin-bottom: 26px; display: block; }
.hero__lead { font-size: 1.18rem; color: #4a505c; max-width: 560px; margin-bottom: 34px; }
.hero__note { margin-top: 18px; font-size: .92rem; color: var(--muted); }
.hero__portrait { position: relative; margin: 0; }
.hero__portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__portrait::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--brass); z-index: 0; pointer-events: none; }
.hero__portrait img { position: relative; z-index: 1; }
.hero__portrait figcaption { position: relative; z-index: 2; margin: -1px 0 0; background: #fff; padding: 16px 20px; border: 1px solid var(--line); border-top: 0; }
.hero__portrait figcaption strong { display: block; font: 400 1.2rem/1.3 var(--serif); color: var(--ink); }
.hero__portrait figcaption span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; padding-top: 48px; padding-bottom: 64px; }
  .hero__portrait { max-width: 420px; margin-left: 18px; }
}

/* Facts band */
.facts { border-bottom: 1px solid var(--line); background: #fff; }
.facts__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 28px 26px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; font: 400 1.15rem/1.3 var(--serif); color: var(--ink); margin-bottom: 4px; }
.fact span { font-size: .92rem; color: var(--muted); }
@media (max-width: 860px) { .facts__in { grid-template-columns: 1fr 1fr; } .fact { padding: 22px 16px; } .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* Doctor feature */
.doctor { display: grid; grid-template-columns: 400px 1fr; gap: 72px; align-items: start; }
.doctor__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.doctor__photo figcaption { font-size: .88rem; color: var(--muted); padding-top: 10px; }
.doctor h2 { margin-bottom: 6px; }
.doctor__role { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: 24px; }
.doctor__creds { margin: 26px 0 30px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doctor__creds li { margin: 0; padding: 13px 0 13px 30px; border-bottom: 1px solid var(--line); position: relative; }
.doctor__creds li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 12px; height: 1px; background: var(--brass); }
@media (max-width: 900px) { .doctor { grid-template-columns: 1fr; gap: 36px; } .doctor__photo { max-width: 400px; } }

/* Consultants list */
.consult { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.consult li { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: 4px 18px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.consult__name { font: 400 1.18rem/1.3 var(--serif); color: var(--ink); }
.consult__role { font-size: .95rem; color: var(--muted); text-align: right; }
.consult__role a { color: var(--navy); text-decoration: none; }
.consult__role a:hover { color: var(--brass); }
.consult__extra { grid-column: 1 / -1; font-size: .88rem; color: var(--brass); }
@media (max-width: 820px) { .consult { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .consult li { grid-template-columns: 1fr; } .consult__role { text-align: left; } }

/* Services directory (numbered) */
.dir-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 64px; }
.dir-cols h3 { font: 600 .76rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line-strong); }
.dir { list-style: none; margin: 0 0 32px; padding: 0; counter-reset: dir; }
.dir li { margin: 0; border-bottom: 1px solid var(--line); counter-increment: dir; }
.dir a { display: grid; grid-template-columns: 44px 1fr auto; gap: 2px 14px; padding: 20px 0; text-decoration: none; color: var(--text); transition: padding .25s ease; }
.dir a::before { content: counter(dir, decimal-leading-zero); grid-row: 1 / span 2; font: 400 .95rem/1.9 var(--serif); color: var(--brass); }
.dir a:hover { padding-left: 8px; }
.dir__t { font: 400 1.2rem/1.35 var(--serif); color: var(--ink); }
.dir a:hover .dir__t { color: var(--navy); }
.dir__d { grid-column: 2; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.dir__go { grid-row: 1 / span 2; grid-column: 3; align-self: center; color: var(--line-strong); font-size: 1.4rem; transition: color .2s, transform .25s; }
.dir a:hover .dir__go { color: var(--brass); transform: translateX(3px); }
@media (max-width: 860px) { .dir-cols { grid-template-columns: 1fr; } }

/* Photos */
.photos { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.photos figure { margin: 0; grid-column: span 4; }
.photos figure.w8 { grid-column: span 8; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photos figure.w8 img { aspect-ratio: 4 / 3.08; }
.img-free { aspect-ratio: auto !important; }
.photos figcaption { font-size: .88rem; color: var(--muted); padding-top: 10px; }
@media (max-width: 860px) { .photos { grid-template-columns: 1fr 1fr; gap: 16px; } .photos figure, .photos figure.w8 { grid-column: span 1; } .photos figure.w8 { grid-column: span 2; } .photos figure.w8 img { aspect-ratio: 16/9; } }

/* Wide photo */
.wide { margin: 0; }
.wide img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.wide figcaption { font-size: .88rem; color: var(--muted); padding-top: 10px; }
@media (max-width: 760px) { .wide img { aspect-ratio: 16 / 9; } }

/* Columns */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.cols--center { align-items: center; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; gap: 40px; } }

/* Info boxes */
.infobox { border: 1px solid var(--line); background: #fff; padding: 26px 28px; }
.infobox + .infobox { margin-top: 20px; }
.infobox h2, .infobox h3 { font-size: 1.2rem; margin-bottom: 14px; }
.infobox address { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .98rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th, .hours td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours th { font-weight: 600; color: var(--ink); padding-right: 18px; white-space: nowrap; }
.hours td { color: #4a505c; }
.hours tr.is-today th small { color: var(--brass); font-weight: 600; }
.section--dark .hours th { color: #fff; }
.section--dark .hours td { color: #c9d0dd; }
.section--dark .hours th, .section--dark .hours td { border-color: rgba(255,255,255,.12); }

/* Callout */
.callout { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding: 44px 48px; background: var(--ivory); border: 1px solid var(--line); }
.callout h2 { font-size: 1.75rem; margin-bottom: 10px; }
.callout p { margin: 0; color: #4a505c; max-width: 640px; }
@media (max-width: 760px) { .callout { grid-template-columns: 1fr; padding: 32px 26px; } }

/* Map */
.map { background: var(--ivory-2); min-height: 380px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.25); }

/* Inner page title */
.page-title { padding: 34px 0 44px; border-bottom: 1px solid var(--line); }
.page-title h1 { margin-bottom: .35em; }

/* Service page */
.layout { display: grid; grid-template-columns: 1fr 340px; gap: 72px; padding: 56px 0 96px; align-items: start; }
.layout__main > p:first-of-type { font-size: 1.12rem; }
.layout__main h2 { font-size: 1.65rem; margin-top: 1.8em; }
.layout__main figure { margin: 0 0 36px; }
.layout__main figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.layout__aside { position: sticky; top: 108px; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; gap: 40px; } .layout__aside { position: static; } }
.ticks { list-style: none; padding: 0; columns: 2; column-gap: 40px; border-top: 1px solid var(--line); }
.ticks li { break-inside: avoid; padding: 11px 0 11px 28px; position: relative; margin: 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 22px; width: 12px; height: 1px; background: var(--brass); }
@media (max-width: 560px) { .ticks { columns: 1; } }
.doc-mini { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-mini:last-of-type { border-bottom: 0; }
.doc-mini img { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; }
.doc-mini strong { display: block; font: 400 1.05rem/1.3 var(--serif); color: var(--ink); }
.doc-mini span span { font-size: .9rem; color: var(--muted); }
.note { background: var(--ivory); border-left: 2px solid var(--brass); padding: 14px 18px; margin: 0 0 1.4em; }
.note--red { border-left-color: var(--red); background: #fbf3f2; color: #6e1e22; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font: 400 1.12rem/1.4 var(--serif); color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 1.5rem var(--sans); color: var(--brass); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: #4a505c; padding-bottom: 8px; max-width: 760px; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }

/* Footer */
.footer { background: var(--navy-deep); color: #aeb7c8; font-size: .95rem; }
.footer a { color: #e7ebf2; text-decoration: none; }
.footer a:hover { color: var(--brass-soft); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.25fr; gap: 48px; padding: 80px 24px 56px; }
.footer h3 { font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 8px; }
.footer__brand { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.footer__brand img { height: 50px; width: auto; }
.footer__brand strong { display: block; font: 400 1.3rem/1.15 var(--serif); color: #fff; }
.footer__phone { font: 400 1.4rem/1.3 var(--serif); color: #fff !important; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 24px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .84rem; color: #8590a6; }
.footer__bottom p { margin: 0; }
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; padding-top: 56px; } }

/* WhatsApp float + mobile bar */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(15,29,56,.22); }
.wa-float:hover { color: #fff; background: #18834a; }
.wa-float .icon { width: 26px; height: 26px; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  body { padding-bottom: 58px; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 16px 4px; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); }
  .mobile-bar a + a { border-left: 1px solid var(--line); }
  .mobile-bar .mb-call { background: var(--ink); color: #fff; }
  .mobile-bar .mb-wa { color: var(--wa); }
}

/* ===== Service page (rich) ===== */
.svc-hero { background: var(--ivory); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.svc-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border: 1px solid var(--brass-soft); border-radius: 50%; pointer-events: none; }
.svc-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; padding-top: 28px; padding-bottom: 64px; }
.svc-hero__grid--solo { grid-template-columns: minmax(0, 820px); }
.svc-hero h1 { margin-bottom: .4em; }
.answer { font-size: 1.2rem; line-height: 1.65; color: #3a404b; border-left: 2px solid var(--brass); padding-left: 20px; margin-bottom: 28px; max-width: 680px; }
.glance { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0 0 30px; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.glance div { padding: 12px 28px 12px 0; margin-right: 28px; border-right: 1px solid var(--line); }
.glance div:last-child { border-right: 0; margin-right: 0; }
.glance dt { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.glance dd { margin: 2px 0 0; font-size: .97rem; color: var(--ink); font-weight: 500; }
.svc-hero__photo { margin: 0; position: relative; }
.svc-hero__photo::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border: 1px solid var(--brass); }
.svc-hero__photo img { position: relative; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-hero__photo.is-portrait { max-width: 380px; justify-self: center; }
.svc-hero__photo.is-portrait img { aspect-ratio: 4 / 5; }
@media (max-width: 900px) {
  .svc-hero__grid { grid-template-columns: 1fr; gap: 44px; padding-bottom: 52px; }
  .svc-hero__photo { margin-right: 16px; }
  .glance { grid-template-columns: 1fr; }
  .glance div { border-right: 0; margin: 0; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .glance div:last-child { border-bottom: 0; }
}

.prose-svc { font-size: 1.04rem; }
.prose-svc section { scroll-margin-top: 110px; }
.prose-svc h2 { font-size: 1.7rem; margin-top: 1.9em; }
.prose-svc > section:first-of-type h2 { margin-top: 1.2em; }
.lede { font-size: 1.14rem; color: #3a404b; }
.updated { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); }

.steps { list-style: none; counter-reset: st; padding: 0; margin: 8px 0 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.steps li { counter-increment: st; position: relative; padding: 4px 0 22px 64px; margin: 0; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--brass); color: var(--brass); font: 400 1.05rem/38px var(--serif); text-align: center; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 2.2em; }
.duo__box { border: 1px solid var(--line); padding: 26px 26px 22px; background: #fff; }
.duo__box h2 { font-size: 1.3rem !important; margin: 0 0 12px !important; }
.duo__box--alert { background: #fbf3f2; border-color: #efcfcc; }
.duo__box--alert h2 { color: #7c1d22; }
.duo__box--alert ul { padding-left: 1.1em; color: #5a2125; }
@media (max-width: 720px) { .duo { grid-template-columns: 1fr; } }

.toc { border-top: 2px solid var(--ink); padding-top: 14px; margin-bottom: 26px; }
.toc h3 { font: 600 .74rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: flex; gap: 12px; padding: 9px 0; text-decoration: none; color: var(--text); font-size: .95rem; line-height: 1.4; }
.toc a::before { content: counter(toc, decimal-leading-zero); font: 400 .85rem/1.6 var(--serif); color: var(--brass); }
.toc a:hover { color: var(--navy); }
@media (max-width: 960px) { .toc { display: none; } }

.dir--grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; margin: 0; border-top: 1px solid var(--line-strong); }
@media (max-width: 960px) { .dir--grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .dir--grid { grid-template-columns: 1fr; } }

/* Call-to-action band */
.cta { background: var(--navy-deep); color: #c9d0dd; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: -80px; bottom: -160px; width: 360px; height: 360px; border: 1px solid rgba(168,130,58,.35); border-radius: 50%; }
.cta__in { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.cta h2 { color: #fff; margin-bottom: 10px; max-width: 680px; }
.cta p { margin: 0; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 820px) { .cta__in { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 56px; } }

/* ===== Attractiveness pass ===== */
.photos figure, .wide, .doctor__photo { overflow: hidden; }
.photos img, .doctor__photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photos figure:hover img { transform: scale(1.035); }
.hero { background: var(--ivory) radial-gradient(circle at 85% 20%, rgba(239,228,204,.6) 0, rgba(248,245,239,0) 45%); }
.hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.7rem); }
.hero__seal { position: absolute; z-index: 3; right: -26px; bottom: 74px; width: 86px; height: auto; filter: drop-shadow(0 8px 16px rgba(15,29,56,.18)); }
@media (max-width: 900px) { .hero__seal { right: -10px; width: 70px; } }
.label::before { content: ""; display: inline-block; width: 18px; height: 1px; background: currentColor; vertical-align: middle; margin-right: 10px; }
.btn--navy { box-shadow: 0 6px 16px rgba(20,33,58,.16); }
.nav ul a { position: relative; }
.facts { background: #fff; }
.fact strong { font-size: 1.22rem; }
.section--dark .label { color: #d6b56f; }

/* How a visit works */
.visit-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line-strong); counter-reset: vs; }
.visit-steps li { list-style: none; margin: 0; padding: 26px 26px 6px 0; counter-increment: vs; }
.visit-steps li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.visit-steps li::before { content: counter(vs, decimal-leading-zero); display: block; font: 400 2.2rem/1 var(--serif); color: var(--brass); margin-bottom: 14px; }
.visit-steps strong { display: block; font: 400 1.2rem/1.3 var(--serif); color: var(--ink); margin-bottom: 6px; }
.visit-steps span { color: var(--muted); font-size: .96rem; }
@media (max-width: 860px) { .visit-steps { grid-template-columns: 1fr 1fr; } .visit-steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 520px) { .visit-steps { grid-template-columns: 1fr; } .visit-steps li, .visit-steps li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; } }

/* FAQ page */
.faq-group { scroll-margin-top: 110px; margin-bottom: 56px; }
.faq-group h2 { font-size: 1.6rem; }
.layout__aside { max-height: calc(100vh - 130px); overflow-y: auto; scrollbar-width: thin; }
@media (max-width: 960px) { .layout__aside { max-height: none; overflow: visible; } }

/* Image + text splits */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--rev > :first-child { order: 2; }
.split__media { margin: 0; position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.frame { position: relative; }
.frame::before { content: ""; position: absolute; inset: 16px 16px -16px -16px; border: 1px solid var(--brass); pointer-events: none; }
.split--rev .frame::before { inset: 16px -16px -16px 16px; }
.frame img { position: relative; }
.split__media figcaption { font-size: .88rem; color: var(--muted); padding-top: 26px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 48px; } .split--rev > :first-child { order: 0; } .split__media { margin: 0 16px; } }
.hero__portrait { position: relative; }

.hero__portrait img.hero__seal { position: absolute; width: 86px; aspect-ratio: auto; right: -26px; bottom: 74px; z-index: 3; }
@media (max-width: 900px) { .hero__portrait img.hero__seal { width: 66px; right: -8px; } }

/* Notice bar (managed in admin) */
.notice-bar { font-size: .95rem; text-align: center; }
.notice-bar .wrap { padding-top: 10px; padding-bottom: 10px; }
.notice-bar a { font-weight: 600; color: inherit; }
.notice-bar--info { background: var(--brass-soft); color: #4a3a12; }
.notice-bar--alert { background: #b8262c; color: #fff; }
.notice-bar--success { background: #e4f2e9; color: #1d5a35; }
.notice-bar--navy { background: var(--navy); color: #fff; }

/* Lead form */
.lead-form { background: #fff; border: 1px solid var(--line); padding: 30px; }
.lead-form--compact { border: 0; padding: 0; background: none; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 16px; }
.lead-form--compact .lead-form__grid { grid-template-columns: 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea { font: 400 1rem/1.4 var(--sans); color: var(--text); padding: 11px 12px; border: 1px solid var(--line-strong); border-radius: 2px; background: #fff; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,47,90,.12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.consent input { margin-top: 4px; }
.lead-form .btn { width: 100%; justify-content: center; }
.lead-form__note { margin: 10px 0 0; text-align: center; }
.lead-msg { padding: 14px 16px; margin-bottom: 18px; font-size: .95rem; }
.lead-msg--ok { background: #e4f2e9; color: #1d5a35; border-left: 3px solid #2b7a4b; }
.lead-msg--err { background: #fbf3f2; color: #7c1d22; border-left: 3px solid var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .lead-form__grid { grid-template-columns: 1fr; } .lead-form { padding: 22px; } }

/* Narrow phones: keep brand on one line */
@media (max-width: 440px) {
  .masthead__in { gap: 12px; }
  .brand { gap: 10px; }
  .brand img { height: 40px; }
  .brand__name { font-size: 1.08rem; white-space: nowrap; }
  .brand__sub { font-size: .6rem; letter-spacing: .1em; white-space: nowrap; }
  .nav-toggle { padding: 7px 10px; font-size: .85rem; }
  .utility { font-size: .8rem; }
}
