/* Rathi ENT, Maternity & Dental Hospital
   Layout after the client's references: rounded inset panels on a pale blue ground,
   a floating pill navigation, white cards, pill buttons with a round arrow.
   Colours: Rathi pink and Rathi blue only (deep blue is the logo blue, darkened). */

:root {
  --bg: #EEF3F9;          /* pale Rathi blue ground */
  --card: #ffffff;
  --surface: #F5F8FC;
  --line: #E1E8F1;
  --ink: #0E2240;
  --muted: #5B6880;

  --pink: #B8417F;        /* logo pink, deepened for white text */
  --pink-hover: #9C3069;
  --pink-soft: #FBEFF5;
  --blue: #2860A0;        /* logo blue */
  --blue-deep: #163A6B;   /* logo blue, darkened: panels, footer, overlays */
  --blue-soft: #E3ECF7;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --h1: clamp(2.5rem, 1.4rem + 4.2vw, 5rem);
  --h2: clamp(1.9rem, 1.3rem + 2.2vw, 3.25rem);
  --lead: clamp(1.075rem, 1rem + 0.3vw, 1.25rem);
  --small: 0.9rem;

  --max: 1200px;
  --pad: clamp(1.25rem, 4vw, 2rem);
  --inset: clamp(8px, 1.2vw, 14px);
  --section: clamp(4.5rem, 9vw, 7.5rem);
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
:target { scroll-margin-top: 7rem; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--pink); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px; }
.skip:focus { top: 0.75rem; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: var(--h1); line-height: 1.02; }
h2 { font-size: var(--h2); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; line-height: 1.3; font-weight: 600; }
h2 .soft, h1 .soft { color: #6F7C94; display: block; }
p { text-wrap: pretty; }
.lead { font-size: var(--lead); line-height: 1.6; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.link { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 0.4em; }
.link::after { content: "→"; transition: transform 200ms var(--ease); }
.link:hover::after { transform: translateX(3px); }
.textlink { color: var(--blue); font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: rgba(40, 96, 160, 0.35); }
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- layout ---------- */
.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-title { text-align: center; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-title .lead { margin: 1rem auto 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lead { margin-top: 0.9rem; }
.panel { background: var(--card); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 4rem); }
.panel--soft { background: var(--surface); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split--top { align-items: start; }

/* ---------- buttons: pills with a round arrow ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.75rem; min-height: 3.1rem; padding: 0 1.5rem; border-radius: 999px; font-weight: 600; font-size: 0.975rem; white-space: nowrap; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 120ms ease; }
.btn:active { transform: scale(0.98); }
.btn--arrow { padding-right: 0.4rem; }
.btn--arrow::after { content: "→"; width: 2.3rem; height: 2.3rem; border-radius: 50%; display: grid; place-items: center; font-size: 1rem; transition: transform 200ms var(--ease); }
.btn--arrow:hover::after { transform: translateX(2px); }
.btn--primary { background: var(--pink); color: #fff; }
.btn--primary.btn--arrow::after { background: #fff; color: var(--pink); }
.btn--primary:hover { background: var(--pink-hover); }
.btn--deep { background: var(--blue-deep); color: #fff; }
.btn--deep.btn--arrow::after { background: #fff; color: var(--blue-deep); }
.btn--deep:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light.btn--arrow::after { background: var(--blue-deep); color: #fff; }
.btn--light:hover { background: var(--blue-soft); }
.btn--ghost { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--glass { border: 1px solid rgba(255, 255, 255, 0.45); color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.16); }
.btn--sm { min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.925rem; }
.btn--sm.btn--arrow { padding-right: 0.3rem; }
.btn--sm.btn--arrow::after { width: 2rem; height: 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.circle { width: 2.6rem; height: 2.6rem; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue-deep); color: #fff; flex: none; transition: background-color 180ms, transform 200ms var(--ease); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- floating pill navigation ---------- */
.header { position: sticky; top: 0; z-index: 40; height: 0; }
.header__pill { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; transform: translateY(calc(var(--inset) + 14px)); background: #fff; border-radius: 999px; padding: 0.45rem 0.45rem 0.45rem 1.4rem; box-shadow: 0 10px 30px rgba(14, 34, 64, 0.08); }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a { font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color 160ms ease; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a[aria-current="page"] { font-weight: 600; }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__phone { font-weight: 600; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--blue-deep); }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 2px; background: #fff; border-radius: 2px; position: relative; transition: transform 200ms var(--ease), background-color 200ms; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
@media (max-width: 66em) {
  .header__logo img { height: 34px; }
  .header__pill { padding-left: 1.1rem; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--r-lg); box-shadow: 0 20px 40px rgba(14, 34, 64, 0.14); flex-direction: column; align-items: stretch; gap: 1rem; padding: 0.75rem 1.25rem 1.25rem; }
  .header__pill { position: relative; }
  .nav.is-open { display: flex; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { padding: 0.85rem 0.25rem; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav__cta { flex-direction: column; align-items: stretch; }
  .nav__cta .nav__phone { padding: 0.5rem 0.25rem; }
  .nav__cta .btn { width: 100%; }
}

/* ---------- inset hero (home) ---------- */
.hero { position: relative; isolation: isolate; margin: var(--inset); border-radius: var(--r-lg); overflow: hidden; color: #fff; min-height: calc(100svh - 2 * var(--inset)); max-height: 960px; display: flex; background: var(--blue-deep); }
.hero__bg, .phero__bg, .banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg { object-position: 62% 40%; }
.hero::before, .phero::before, .banner::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::before { background: linear-gradient(90deg, rgba(22, 58, 107, 0.92) 0%, rgba(22, 58, 107, 0.72) 40%, rgba(22, 58, 107, 0.15) 75%, rgba(22, 58, 107, 0.05) 100%), linear-gradient(0deg, rgba(14, 34, 64, 0.6) 0%, rgba(14, 34, 64, 0) 35%); }
.hero__in { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; padding-block: calc(var(--inset) + 7.5rem) 2.25rem; }
.hero__content { max-width: 40rem; margin-block: auto; }
.hero h1 { max-width: 13ch; }
.hero .lead { margin-top: 1.5rem; color: rgba(255, 255, 255, 0.85); max-width: 34rem; }
.hero .actions { margin-top: 2.5rem; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts > div { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--r); padding: 1rem 1.25rem; }
.facts dt { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.facts dd { color: rgba(255, 255, 255, 0.78); font-size: var(--small); margin-top: 0.2rem; }

/* ---------- inset hero (inner pages) ---------- */
.phero { position: relative; isolation: isolate; margin: var(--inset); border-radius: var(--r-lg); overflow: hidden; color: #fff; background: var(--blue-deep); min-height: min(62svh, 620px); display: flex; }
.phero__bg { object-position: var(--op, 60% 40%); }
.phero::before { background: linear-gradient(90deg, rgba(22, 58, 107, 0.9) 0%, rgba(22, 58, 107, 0.7) 45%, rgba(22, 58, 107, 0.2) 100%); }
.phero .container { display: flex; flex-direction: column; justify-content: flex-end; padding-block: calc(var(--inset) + 7rem) clamp(2.5rem, 5vw, 3.75rem); }
.crumbs { font-size: var(--small); color: rgba(255, 255, 255, 0.75); margin-bottom: 1.25rem; }
.crumbs a:hover { color: #fff; }
.phero h1 { max-width: 15ch; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.25rem); }
.phero .lead { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.85); }
.phero .actions { margin-top: 2rem; }
.phero--plain { min-height: 0; }

/* ---------- speciality cards: every card shows its photo ---------- */
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.area { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); padding: 0.6rem 0.6rem 1.4rem; transition: box-shadow 300ms ease, transform 300ms var(--ease); }
.area:hover, .area:focus-visible { box-shadow: 0 18px 40px rgba(14, 34, 64, 0.1); transform: translateY(-4px); }
.area__media { position: relative; display: block; aspect-ratio: 4 / 3.4; border-radius: 14px; overflow: hidden; background: var(--blue-soft); }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.area:hover .area__media img { transform: scale(1.06); }
.area__tag { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; background: #fff; color: var(--blue); }
.area__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 0.75rem 0; }
.area h3 { font-size: 1.25rem; }
.area p { margin-top: 0.45rem; color: var(--muted); font-size: 0.95rem; flex: 1; }
.area__more { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; font-weight: 600; font-size: 0.925rem; color: var(--blue); }
.area .circle { width: 2.4rem; height: 2.4rem; }
.area:hover .circle { background: var(--pink); transform: translateX(3px); }

/* ---------- big rounded picture with a card ---------- */
.feature { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 7.5; background: var(--blue-deep); }
.feature img { width: 100%; height: 100%; object-fit: cover; }
.feature__card { position: absolute; right: 1.25rem; bottom: 1.25rem; background: #fff; border-radius: var(--r); padding: 1.5rem; max-width: 26rem; }
.feature__card h3 { font-size: 1.2rem; }
.feature__card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.5rem; }
.feature__card .link { margin-top: 1rem; }

/* ---------- technology cards: picture with a label ---------- */
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.tech__card { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.6; background: var(--blue-soft); }
.tech__card img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.tech__card { transition: transform 350ms var(--ease), box-shadow 350ms ease; }
.tech__card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14, 34, 64, 0.12); }
.tech__card:hover img { transform: scale(1.06); }
.tech__num { position: absolute; top: 0.9rem; left: 0.9rem; width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--ink); font-size: 0.85rem; font-weight: 600; display: grid; place-items: center; }
.tech__label { position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem; background: #fff; border-radius: 14px; padding: 0.9rem 1.1rem; }
.tech__label h3 { font-size: 1.05rem; color: var(--blue); }
.tech__label p { color: var(--muted); font-size: 0.875rem; margin-top: 0.15rem; }

/* ---------- finder ---------- */
.finder { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.finder__intro .lead { margin-top: 1rem; }
.finder__intro .actions { margin-top: 2rem; }
.concern-group + .concern-group { margin-top: 1.5rem; }
.concern-group h3 { font-size: var(--small); font-weight: 600; color: var(--muted); letter-spacing: 0; margin-bottom: 0.65rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.925rem; font-weight: 500; transition: border-color 160ms, background-color 160ms, color 160ms; }
.chip:hover { border-color: var(--blue-deep); }
.chip[aria-pressed="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.result { margin-top: 1.75rem; background: var(--surface); border-radius: var(--r); padding: 1.5rem; display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; }
.result.is-swapping > * { animation: fade 320ms var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }
.result__name { font-weight: 600; font-size: 1.2rem; letter-spacing: -0.01em; }
.result__role { color: var(--muted); font-size: var(--small); margin-top: 0.2rem; }
.result__why { margin-top: 0.9rem; }
.result .actions { margin-top: 1.25rem; }
.avatar { width: 3.5rem; height: 3.5rem; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 600; font-size: 1.05rem; background: var(--pink-soft); color: var(--pink); flex: none; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.avatar--blue { background: var(--blue-soft); color: var(--blue); }

/* ---------- treatment list ---------- */
.treat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.treat a { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--r); padding: 1.5rem; transition: background-color 200ms; }
.treat a:hover { background: #fff; box-shadow: 0 12px 30px rgba(14, 34, 64, 0.06); }
.treat h3 { font-size: 1.1rem; }
.treat p { margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; flex: 1; }
.treat .link { margin-top: 1rem; font-size: 0.925rem; }

/* ---------- doctors: picture left, text right ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.doc { transition: transform 350ms var(--ease), box-shadow 350ms ease; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1.25rem; background: var(--card); border-radius: var(--r-lg); padding: 0.75rem; align-items: stretch; }
.doc__photo { border-radius: var(--r); overflow: hidden; min-height: 15rem; height: 100%; background: var(--blue-soft); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 700ms var(--ease); }
.doc:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(14, 34, 64, 0.08); }
.doc:hover .doc__photo img { transform: scale(1.04); }
.doc__photo--none { display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); font-size: 2.75rem; font-weight: 600; letter-spacing: -0.02em; }
.doc__photo--none.is-blue { background: var(--blue-soft); color: var(--blue); }
.doc__text { display: flex; flex-direction: column; padding: 0.75rem 1rem 0.75rem 0; }
.doc__text h3 { font-size: 1.2rem; }
.pill { align-self: flex-start; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; background: var(--pink-soft); color: var(--pink); margin-top: 0.6rem; }
.pill--blue { background: var(--blue-soft); color: var(--blue); }
.doc__deg { color: var(--muted); font-size: var(--small); margin-top: 0.75rem; }
.doc__known { color: var(--muted); font-size: 0.925rem; margin-top: 0.5rem; flex: 1; }
.doc__text .actions { margin-top: 1rem; }

/* ---------- checklist & bullets ---------- */
.checks { display: grid; gap: 1.5rem; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; }
.tick { width: 2rem; height: 2rem; border-radius: 50%; background: var(--pink-soft); color: var(--pink); display: grid; place-items: center; }
.tick svg { width: 1rem; height: 1rem; }
.checks h3 { font-size: 1.05rem; }
.checks p { color: var(--muted); margin-top: 0.2rem; font-size: 0.95rem; }
.checks--two { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
.bullets { display: grid; gap: 0.6rem; }
.bullets li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: baseline; }
.bullets li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq details { background: var(--card); border-radius: var(--r); padding: 0 1.5rem; transition: box-shadow 300ms ease; }
.faq details:hover { box-shadow: 0 12px 30px rgba(14, 34, 64, 0.06); }
.faq details + details { margin-top: 0.6rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.25rem 0; font-weight: 600; font-size: 1.05rem; transition: color 160ms; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.2rem; font-weight: 500; flex: none; transition: transform 220ms var(--ease), background-color 200ms, color 200ms; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue-deep); color: #fff; }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 3rem 1.4rem 0; color: var(--muted); max-width: 44rem; }
.faq-layout { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq-layout .lead { margin-top: 1rem; }
.faq-group + .faq-group { margin-top: 3rem; }
.faq-group h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* ---------- booking ---------- */
.book { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; align-items: start; }
.book__form, .book__info { border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.75rem); }
.book__form { background: var(--card); }
.book__form h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.book__form > .muted { margin-top: 0.6rem; }
.book__info { background: var(--blue-deep); color: #fff; display: flex; flex-direction: column; gap: 1.5rem; }
.book__info h3 { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.book__info address, .book__info p { font-style: normal; margin-top: 0.35rem; color: #fff; }
.book__info a.big { display: block; font-size: 1.4rem; font-weight: 600; letter-spacing: -0.01em; margin-top: 0.3rem; }
.book__info .link { color: #fff; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: #284d80; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.form { display: grid; gap: 1rem; margin-top: 1.75rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-size: var(--small); font-weight: 600; margin-bottom: 0.4rem; }
.form label span { font-weight: 400; color: var(--muted); }
.field { width: 100%; min-height: 3.1rem; padding: 0.7rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 1rem; transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms; }
textarea.field { border-radius: var(--r); min-height: 6.5rem; resize: vertical; }
.field:hover { border-color: #C6D2E2; }
.field:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(40, 96, 160, 0.15); }
select.field { appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235B6880' stroke-width='2'/%3E%3C/svg%3E") no-repeat calc(100% - 1.1rem) 50%; padding-right: 2.75rem; }
.form .btn { width: 100%; }
.form__error { color: #B42318; font-weight: 500; font-size: var(--small); }
.form__error:empty { display: none; }
.form__consent { font-size: 0.85rem; color: var(--muted); }
.form__consent a { text-decoration: underline; }
.form__done { margin-top: 1.5rem; background: #ECFDF3; color: #05603A; border-radius: var(--r); padding: 1rem 1.2rem; }
.form__done[hidden] { display: none; }
.form__done a { font-weight: 600; text-decoration: underline; }

/* ---------- closing banner ---------- */
.banner { position: relative; isolation: isolate; margin: 20px var(--inset) 0; border-radius: var(--r-lg); overflow: hidden; color: #fff; text-align: center; padding: clamp(4rem, 10vw, 7.5rem) var(--pad); background: var(--blue-deep); }
.banner__bg { object-position: 50% 40%; }
.banner::before { background: rgba(22, 58, 107, 0.78); }
.banner h2 { max-width: 16ch; margin-inline: auto; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.75rem); }
.banner p { color: rgba(255, 255, 255, 0.85); margin: 1rem auto 0; max-width: 36rem; }
.banner .actions { justify-content: center; margin-top: 2rem; }

/* ---------- inner content blocks ---------- */
.subnav { position: sticky; top: calc(var(--inset) + 84px); z-index: 20; margin-top: 1rem; }
.subnav ul { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.4rem; background: #fff; border-radius: 999px; scrollbar-width: none; width: max-content; max-width: 100%; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; white-space: nowrap; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: background-color 160ms, color 160ms; }
.subnav a:hover { background: var(--blue-soft); color: var(--ink); }
.blocks { display: grid; gap: 1rem; padding-top: 1.5rem; }
.block { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); background: var(--card); border-radius: var(--r-lg); padding: clamp(1.75rem, 4vw, 3.25rem); }
.block h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.block__head .lead { margin-top: 1rem; }
.block__head .photo { margin-top: 1.75rem; aspect-ratio: 4 / 3; }
.block__body > * + * { margin-top: 1.25rem; }
.block__body h3 { font-size: 1.05rem; margin-top: 1.75rem; }
.block__body h3 + * { margin-top: 0.85rem; }
.photo { border-radius: var(--r); overflow: hidden; background: var(--blue-soft); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.note { background: var(--blue-soft); border-radius: var(--r); padding: 1rem 1.2rem; font-size: 0.95rem; }
.note strong { display: block; margin-bottom: 0.15rem; }
.steps { counter-reset: s; display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.steps li { counter-increment: s; background: var(--surface); border-radius: var(--r); padding: 1rem 1.1rem; display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: start; font-size: 0.95rem; }
.steps li::before { content: counter(s); width: 1.75rem; height: 1.75rem; border-radius: 50%; background: var(--blue-deep); color: #fff; font-weight: 600; font-size: 0.8rem; display: grid; place-items: center; }
.conditions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.condition { position: relative; background: var(--card); border-radius: var(--r); padding: 1.5rem; transition: transform 350ms var(--ease), box-shadow 350ms ease; }
.condition:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(14, 34, 64, 0.1); }
.condition--photo { padding: 0.6rem; display: flex; flex-direction: column; }
.condition__media { aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: var(--blue-soft); }
.condition__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.condition--photo:hover .condition__media img { transform: scale(1.07); }
.condition__body { padding: 1.1rem 0.9rem 0.9rem; }
.condition--photo h3::after { content: " →"; color: var(--pink); opacity: 0; display: inline-block; transform: translateX(-6px); transition: opacity 250ms ease, transform 300ms var(--ease); }
.condition--photo:hover h3::after { opacity: 1; transform: none; }
.condition__icon { width: 3.25rem; height: 3.25rem; border-radius: 16px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); margin-bottom: 1.1rem; transition: background-color 300ms ease, color 300ms ease, transform 450ms var(--ease); }
.condition__icon svg { width: 1.6rem; height: 1.6rem; }
.condition--icon:hover .condition__icon { background: var(--pink); color: #fff; transform: rotate(-8deg) scale(1.08); }
.condition--icon::after { content: ""; position: absolute; left: 1.5rem; right: 1.5rem; bottom: 0; height: 3px; border-radius: 3px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 400ms var(--ease); }
.condition--icon:hover::after { transform: scaleX(1); }
.condition h3 { font-size: 1.075rem; }
.condition p { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

/* doctor profile */
.profile + .profile { margin-top: 1rem; }
.prose h2:first-child { margin-top: 0; }
.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); background: var(--card); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); }
.profiles { display: grid; gap: 1rem; }
.profile__head { position: sticky; top: 7rem; align-self: start; }
.profile__photo { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--blue-soft); }
.profile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.profile__photo--none { display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); font-size: 4rem; font-weight: 600; }
.profile__photo--none.is-blue { background: var(--blue-soft); color: var(--blue); }
.profile__head h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 1.5rem; }
.profile__role { margin-top: 0.5rem; font-weight: 500; }
.profile__deg { margin-top: 0.3rem; color: var(--muted); font-size: 0.95rem; }
.profile__head .btn { margin-top: 1.5rem; }
.profile__body { padding-block: 1rem; }
.profile__body > p:first-child { font-size: var(--lead); line-height: 1.55; }
.facts-grid { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2.5rem; }
.facts-grid h3 { font-size: 0.95rem; margin-bottom: 0.6rem; }
.facts-grid li { color: var(--muted); font-size: 0.95rem; }
.facts-grid li + li { margin-top: 0.4rem; }
.consult { margin-top: 2rem; background: var(--pink-soft); border-radius: var(--r); padding: 1rem 1.2rem; font-size: 0.95rem; }

.prose { max-width: 44rem; margin-inline: auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2.5rem; }
.prose p { margin-top: 0.85rem; color: var(--muted); }

/* ---------- footer: dark rounded panel ---------- */
.footer { margin: var(--section) var(--inset) var(--inset); background: var(--blue-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem; }
main:has(> .banner:last-child) + .footer { margin-top: var(--inset); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.footer__logo { display: inline-block; background: #fff; border-radius: var(--r); padding: 0.6rem 0.9rem; }
.footer__logo img { height: 44px; width: auto; }
.footer__brand p { margin-top: 1.25rem; color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; max-width: 22rem; }
.footer h2 { font-size: 1rem; letter-spacing: 0; font-weight: 600; margin-bottom: 1rem; }
.footer li + li { margin-top: 0.55rem; }
.footer li a { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; transition: color 160ms; }
.footer li a:hover { color: #fff; }
.footer__contact li { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; }
.footer__contact .icon { margin-top: 0.2rem; color: rgba(255, 255, 255, 0.7); }
.footer__contact address { font-style: normal; }
.footer__wa { margin-top: 1.5rem; }
.footer__bottom { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.15); display: grid; gap: 0.6rem; color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; }
.footer__bottom p { max-width: 60rem; }
.footer__bottom a { text-decoration: underline; text-underline-offset: 0.15em; }

/* ---------- motion: driven by GSAP in js/site.js ---------- */
.hero__bg, .phero__bg, .banner__bg { will-change: transform; }

/* ---------- responsive ---------- */
@media (max-width: 66em) {
  .areas { grid-template-columns: repeat(2, 1fr); }
  .area { min-height: 18rem; }
  .docs { grid-template-columns: 1fr; }
  .conditions { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 52em) {
  .facts { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 0; max-height: none; }
  .hero::before, .phero::before { background: linear-gradient(0deg, rgba(22, 58, 107, 0.95) 0%, rgba(22, 58, 107, 0.7) 55%, rgba(22, 58, 107, 0.45) 100%); }
  .split, .finder, .book, .block, .profile, .faq-layout { grid-template-columns: 1fr; }
  .profile__head { position: static; }
  .profile__photo { max-width: 340px; }
  .tech { grid-template-columns: 1fr 1fr; }
  .feature { aspect-ratio: 4 / 3; }
  .feature__card { position: static; margin: 0.75rem; max-width: none; }
  .feature { aspect-ratio: auto; }
  .feature img { aspect-ratio: 16 / 10; height: auto; }
  .section-head { flex-direction: column; align-items: start; gap: 1rem; }
  .checks--two { grid-template-columns: 1fr; }
  .treat { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 36em) {
  .panel, .block { padding: 1.25rem; border-radius: 22px; }
  .result { padding: 1.1rem; }
  .facts dd { font-size: 0.8rem; }
  .facts dt { font-size: 1rem; }
  .hero h1 { font-size: 2.4rem; }
  .area__media { aspect-ratio: 16 / 10; }
  .areas, .tech, .treat, .conditions, .steps, .facts-grid, .form__row { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .doc__photo { min-height: 0; height: auto; aspect-ratio: 4 / 3.4; }
  .doc__text { padding: 0.25rem 0.75rem 1rem; }
  .result { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .facts > div { padding: 0.85rem 1rem; }
}

.faq-topics { position: sticky; top: 7rem; }
@media (max-width: 52em) { .faq-topics { position: static; } .faq-topics .photo { display: none; } }
@media (max-width: 52em) { .feature { background: #fff; } }

/* =====================================================================
   Signature sections, one per page
   ===================================================================== */

/* ---------- About: doctor profile cards hover ---------- */
.profile { transition: transform 400ms var(--ease), box-shadow 400ms ease; }
.profile:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14, 34, 64, 0.1); }
.profile__photo img { transition: transform 900ms var(--ease); }
.profile:hover .profile__photo img { transform: scale(1.05); }
.profile__photo--none { transition: background-color 300ms ease, color 300ms ease; }
.profile:hover .profile__photo--none { background: var(--pink); color: #fff; }
.profile:hover .profile__photo--none.is-blue { background: var(--blue); }
.profile .consult { transition: background-color 300ms ease; }
.profile:hover .consult { background: #F8E1EE; }

/* ---------- Home: horizontal treatment scroll ---------- */
.hscroll { padding-block: var(--section); overflow: hidden; }
.hscroll__head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.5rem; }
.hscroll__hint { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.95rem; }
.hscroll__hint .circle { width: 2.2rem; height: 2.2rem; }
.hscroll__track { display: flex; gap: 1rem; padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hscroll__track::-webkit-scrollbar { display: none; }
.hscroll.is-pinned .hscroll__track { overflow: visible; width: max-content; }
.hcard { position: relative; isolation: isolate; flex: none; width: clamp(260px, 28vw, 400px); height: clamp(360px, 62vh, 560px); border-radius: var(--r-lg); overflow: hidden; color: #fff; scroll-snap-align: start; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; }
.hcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 900ms var(--ease); }
.hcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 34, 64, 0) 35%, rgba(14, 34, 64, 0.88) 100%); transition: background-color 400ms; }
.hcard:hover img { transform: scale(1.07); }
.hcard__tag { position: absolute; top: 1.1rem; left: 1.1rem; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; background: #fff; color: var(--blue); }
.hcard__tag.is-pink { color: var(--pink); }
.hcard__num { position: absolute; top: 1rem; right: 1.25rem; font-size: 0.9rem; font-weight: 600; color: rgba(255, 255, 255, 0.8); }
.hcard h3 { font-size: 1.5rem; }
.hcard p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; margin-top: 0.4rem; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 500ms var(--ease), opacity 400ms ease; }
.hcard:hover p, .hcard:focus-visible p { max-height: 6rem; opacity: 1; }
.hcard__go { margin-top: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--pink); display: grid; place-items: center; transform: scale(0.6); opacity: 0; transition: transform 400ms var(--ease), opacity 300ms; }
.hcard:hover .hcard__go, .hcard:focus-visible .hcard__go { transform: none; opacity: 1; }
.hcard--end { background: var(--blue-deep); justify-content: space-between; }
.hcard--end::before { display: none; }
.hcard--end h3 { font-size: 2rem; }
@media (hover: none) { .hcard p { max-height: none; opacity: 1; } .hcard__go { transform: none; opacity: 1; } }

/* ---------- About: count-up stats + timeline ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--blue-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); }
.stat:nth-child(2) { background: var(--pink); }
.stat__num { font-size: clamp(2.5rem, 1.6rem + 3vw, 4.25rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat__label { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.timeline { position: relative; max-width: 1000px; margin: clamp(3rem, 6vw, 5rem) auto 0; padding-block: 1rem; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(var(--pink), var(--blue)); transform-origin: top; transform: scaleY(1); }
.tl { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-block: 1.25rem; }
.tl__dot { position: absolute; left: 50%; top: 2.6rem; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: #fff; border: 4px solid var(--pink); z-index: 1; }
.tl__card { background: var(--card); border-radius: var(--r); padding: 1.5rem 1.6rem; transition: transform 350ms var(--ease), box-shadow 350ms; }
.tl__card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(14, 34, 64, 0.08); }
.tl:nth-child(odd of .tl) .tl__card { grid-column: 1; }
.tl:nth-child(even of .tl) .tl__card { grid-column: 2; }
.tl__year { font-size: 2.25rem; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: var(--pink); }
.tl__card h3 { margin-top: 0.6rem; font-size: 1.1rem; }
.tl__card p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }
.tl--now .tl__dot { background: var(--pink); }
.tl--now .tl__card { background: var(--blue-deep); color: #fff; }
.tl--now .tl__card p { color: rgba(255, 255, 255, 0.8); }
.tl--now .tl__year { color: #fff; }

/* ---------- Dental: smile journey scroll story ---------- */
.journey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.journey__frame { position: sticky; top: 7.5rem; aspect-ratio: 4 / 4.6; border-radius: var(--r-lg); overflow: hidden; background: var(--blue-deep); }
.journey__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 700ms ease, transform 1200ms var(--ease); }
.journey__frame img.is-active { opacity: 1; transform: none; }
.journey__count { position: absolute; left: 1.25rem; bottom: 1.25rem; display: flex; gap: 0.4rem; }
.journey__count span { width: 2.2rem; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.4); transition: background-color 400ms, width 400ms var(--ease); }
.journey__count span.is-active { background: #fff; width: 3.5rem; }
.journey__steps { display: grid; gap: 1rem; padding-block: 2rem 30vh; }
.jstep { background: var(--card); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.25rem); min-height: 52vh; display: flex; flex-direction: column; justify-content: center; opacity: 0.45; transform: scale(0.97); transition: opacity 500ms ease, transform 500ms var(--ease), box-shadow 500ms; }
.jstep.is-active { opacity: 1; transform: none; box-shadow: 0 24px 50px rgba(14, 34, 64, 0.08); }
.jstep__num { width: 3rem; height: 3rem; border-radius: 50%; background: var(--pink-soft); color: var(--pink); font-weight: 600; display: grid; place-items: center; transition: background-color 400ms, color 400ms; }
.jstep.is-active .jstep__num { background: var(--pink); color: #fff; }
.jstep h3 { margin-top: 1.25rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 500; letter-spacing: -0.025em; }
.jstep p { color: var(--muted); margin-top: 0.75rem; max-width: 30rem; }
.jstep .photo { display: none; }

/* ---------- ENT: Ear / Nose / Throat explorer ---------- */
.ent-x { background: var(--blue-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(1.75rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; overflow: hidden; }
.ent-x__intro { color: rgba(255, 255, 255, 0.75); max-width: 28rem; }
.ent-x__tabs { display: flex; flex-direction: column; align-items: flex-start; margin-top: 1.75rem; }
.ent-x__tab { font-size: clamp(3rem, 1.8rem + 5vw, 6.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1.02; color: rgba(255, 255, 255, 0.22); display: inline-flex; align-items: baseline; gap: 1rem; transition: color 400ms ease; }
.ent-x__tab small { font-size: 0.9rem; letter-spacing: 0; font-weight: 600; color: rgba(255, 255, 255, 0.4); transition: color 400ms; }
.ent-x__tab:hover { color: rgba(255, 255, 255, 0.5); }
.ent-x__tab[aria-selected="true"] { color: #fff; }
.ent-x__tab[aria-selected="true"] small { color: var(--pink); }
.ent-x__tab:focus-visible { outline-color: #fff; }
.ent-x__panel[hidden] { display: none; }
.ent-x__pic { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: #284d80; }
.ent-x__pic img { width: 100%; height: 100%; object-fit: cover; }
.ent-x__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.ent-x__lists h3 { font-size: 0.95rem; color: rgba(255, 255, 255, 0.65); font-weight: 500; margin-bottom: 0.6rem; }
.ent-x__lists li { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem; align-items: baseline; font-size: 0.95rem; }
.ent-x__lists li + li { margin-top: 0.45rem; }
.ent-x__lists li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--pink); transform: translateY(-2px); }
.ent-x__panel .btn { margin-top: 1.75rem; }

/* ---------- Maternity: week-by-week guide ---------- */
.weeks { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.ring { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring__track { fill: none; stroke: var(--blue-soft); stroke-width: 14; }
.ring__bar { fill: none; stroke: url(#ringGrad); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 500ms var(--ease); }
.ring__center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring__week { font-size: clamp(4rem, 3rem + 4vw, 6.5rem); font-weight: 500; letter-spacing: -0.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.ring__label { color: var(--muted); margin-top: 0.4rem; }
.ring__tri { margin-top: 0.75rem; justify-self: center; font-size: 0.85rem; font-weight: 600; padding: 0.35rem 0.9rem; border-radius: 999px; background: var(--pink-soft); color: var(--pink); }
.weeks__slider { margin-top: 2rem; }
.weeks__slider input { width: 100%; accent-color: var(--pink); height: 2rem; cursor: pointer; }
.weeks__marks { display: flex; justify-content: space-between; color: var(--muted); font-size: 0.85rem; margin-top: 0.25rem; }
.weeks__tris { display: flex; gap: 0.5rem; margin-top: 1.25rem; flex-wrap: wrap; }
.weeks__tris button { padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 0.9rem; font-weight: 500; transition: background-color 200ms, color 200ms, border-color 200ms; }
.weeks__tris button[aria-pressed="true"] { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); }
.weeks__focus { margin-top: 1.75rem; display: grid; gap: 0.75rem; }
.weeks__focus li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: var(--surface); border-radius: var(--r); padding: 1rem 1.2rem; }
.weeks__focus .tick { flex: none; }
.weeks__note { margin-top: 1.25rem; color: var(--muted); font-size: 0.875rem; }

/* ---------- responsive for signature sections ---------- */
@media (max-width: 52em) {
  .hscroll__head { flex-direction: column; align-items: start; gap: 1rem; }
  .stats { grid-template-columns: 1fr 1fr; }
  .timeline__line { left: 9px; }
  .tl { grid-template-columns: 1fr; gap: 0; padding-left: 2.5rem; }
  .tl__dot { left: 9px; }
  .tl:nth-child(even of .tl) .tl__card { grid-column: 1; }
  .journey { grid-template-columns: 1fr; }
  .journey__frame { display: none; }
  .journey__steps { padding-block: 0; }
  .jstep { min-height: 0; opacity: 1; transform: none; }
  .jstep .photo { display: block; aspect-ratio: 16 / 10; margin-top: 1.25rem; }
  .ent-x, .weeks { grid-template-columns: 1fr; }
}
@media (max-width: 36em) {
  .ent-x__lists { grid-template-columns: 1fr; }
  .hcard { width: 78vw; height: 420px; }
}

/* ---------- light heroes: the client's bright photographs, a soft pale fade instead of the blue tint ---------- */
.hero--light, .phero--light { color: var(--ink); background: #E9EFF7; }
.hero--light::before { background:
  linear-gradient(0deg, rgba(238, 243, 249, 0.97) 0%, rgba(238, 243, 249, 0.85) 30%, rgba(238, 243, 249, 0) 62%),
  linear-gradient(90deg, rgba(238, 243, 249, 0.55) 0%, rgba(238, 243, 249, 0) 45%); }
.hero--light .hero__bg { object-position: 50% 30%; }
.hero--light .hero__in { justify-content: flex-end; padding-bottom: clamp(2.5rem, 6vh, 4rem); }
.hero--light .hero__content { margin-block: 0; }
.hero--light h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); max-width: 14ch; }
.hero--light .lead, .phero--light .lead { color: var(--muted); }
.phero--light::before { background: linear-gradient(90deg, rgba(238, 243, 249, 0.96) 0%, rgba(238, 243, 249, 0.86) 30%, rgba(238, 243, 249, 0.35) 52%, rgba(238, 243, 249, 0) 68%); }
.phero--light .crumbs { color: var(--muted); }
.phero--light .crumbs a:hover { color: var(--ink); }
.phero--light { min-height: min(70svh, 660px); }
.facts-strip { margin-top: 1rem; }
.facts-strip .facts > div { background: var(--card); border: 0; }
.facts-strip .facts dd { color: var(--muted); }
@media (max-width: 52em) {
  .hero--light { min-height: 88svh; }
  .hero--light .hero__bg { object-position: 72% 30%; }
  .hero--light::before, .phero--light::before { background: linear-gradient(0deg, rgba(238, 243, 249, 0.98) 0%, rgba(238, 243, 249, 0.9) 42%, rgba(238, 243, 249, 0.2) 70%, rgba(238, 243, 249, 0) 100%); }
  .phero--light { min-height: 78svh; }
}

/* ---------- Book: speciality picker ---------- */
.picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.pick { position: relative; text-align: left; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); padding: 0.6rem; border: 2px solid transparent; transition: transform 350ms var(--ease), box-shadow 350ms ease, border-color 300ms ease; }
.pick:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(14, 34, 64, 0.1); }
.pick[aria-pressed="true"] { border-color: var(--pink); box-shadow: 0 22px 44px rgba(184, 65, 127, 0.18); }
.pick__media { display: block; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--blue-soft); }
.pick__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.pick:hover .pick__media img { transform: scale(1.06); }
.pick__body { display: flex; flex-direction: column; gap: 0.35rem; padding: 1.1rem 0.9rem 0.9rem; }
.pick__title { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.015em; }
.pick__text { color: var(--muted); font-size: 0.95rem; }
.pick__docs { display: flex; align-items: center; gap: 0.25rem; margin-top: 0.75rem; font-size: 0.875rem; font-weight: 500; }
.pick__docs img, .pick__init { width: 2.1rem; height: 2.1rem; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; margin-right: -0.6rem; }
.pick__docs span:last-child { margin-left: 1rem; }
.pick__init { display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); font-size: 0.7rem; font-weight: 700; }
.pick__init.is-blue { background: var(--blue-soft); color: var(--blue); }
.pick__check { position: absolute; top: 1.2rem; right: 1.2rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; transform: scale(0); transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.pick__check svg { width: 1.1rem; height: 1.1rem; }
.pick[aria-pressed="true"] .pick__check { transform: scale(1); }
.book__form.is-flash { animation: flash 1200ms var(--ease); }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(184, 65, 127, 0.45); } 100% { box-shadow: 0 0 0 18px rgba(184, 65, 127, 0); } }

/* ---------- Book: what happens next ---------- */
.flow { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; list-style: none; padding: 0; }
.flow__line { position: absolute; top: 2rem; left: 16.6%; right: 16.6%; height: 3px; background: var(--line); border-radius: 3px; }
.flow__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--pink), var(--blue)); border-radius: 3px; transform-origin: left; }
.flow__step { position: relative; text-align: center; }
.flow__icon { width: 4rem; height: 4rem; margin: 0 auto; border-radius: 50%; background: #fff; border: 3px solid var(--pink-soft); color: var(--pink); display: grid; place-items: center; transition: background-color 300ms, color 300ms, transform 400ms var(--ease); position: relative; z-index: 1; }
.flow__icon svg { width: 1.6rem; height: 1.6rem; }
.flow__step:hover .flow__icon { background: var(--pink); color: #fff; transform: scale(1.08); }
.flow__step h3 { margin-top: 1.1rem; font-size: 1.15rem; }
.flow__step p { margin: 0.4rem auto 0; color: var(--muted); font-size: 0.95rem; max-width: 18rem; }
.quick { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick__tile { display: flex; align-items: center; gap: 1rem; background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.25rem; transition: background-color 250ms, transform 350ms var(--ease); }
.quick__tile:hover { background: var(--blue-soft); transform: translateY(-3px); }
.quick__tile strong { display: block; font-size: 1rem; }
.quick__tile span:last-child { color: var(--muted); font-size: 0.925rem; }
.quick__ring { position: relative; flex: none; width: 3rem; height: 3rem; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; }
.quick__ring svg { width: 1.3rem; height: 1.3rem; }
.quick__ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid currentColor; color: var(--pink); animation: ping 2.2s var(--ease) infinite; }
.quick__ring.is-green { background: #1F9D55; }
.quick__ring.is-green::after { color: #1F9D55; animation-delay: 0.7s; }
.quick__ring.is-blue { background: var(--blue); }
.quick__ring.is-blue::after { color: var(--blue); animation-delay: 1.4s; }
@keyframes ping { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .quick__ring::after { animation: none; display: none; } }

/* ---------- FAQ: live search ---------- */
.ask { background: var(--blue-deep); color: #fff; border-radius: var(--r-lg); padding: clamp(2rem, 6vw, 4.5rem); text-align: center; margin-top: var(--section); }
.ask h2 { margin-inline: auto; }
.ask h2 .soft { color: rgba(255, 255, 255, 0.5); }
.ask__box { position: relative; max-width: 44rem; margin: 2rem auto 0; }
.ask__box input { width: 100%; min-height: 4.25rem; border-radius: 999px; border: 0; padding: 0 1.75rem 0 3.6rem; font-size: 1.1rem; color: var(--ink); background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); transition: box-shadow 250ms; }
.ask__box input:focus { outline: none; box-shadow: 0 0 0 4px rgba(184, 65, 127, 0.55), 0 20px 40px rgba(0, 0, 0, 0.18); }
.ask__icon { position: absolute; left: 1.4rem; top: 50%; width: 1.4rem; height: 1.4rem; transform: translateY(-50%); color: var(--muted); }
.ask__pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.ask__pills button { padding: 0.5rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; font-size: 0.925rem; font-weight: 500; transition: background-color 200ms, color 200ms, border-color 200ms; }
.ask__pills button:hover { border-color: #fff; }
.ask__pills button[aria-pressed="true"] { background: #fff; color: var(--blue-deep); border-color: #fff; }
.ask__count { margin-top: 1rem; color: rgba(255, 255, 255, 0.7); font-size: 0.925rem; min-height: 1.4em; }
.ask__empty { margin-top: 1rem; }
.ask__empty p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1rem; }
.faq mark { background: #F8D7E8; color: inherit; border-radius: 4px; padding: 0 2px; }
.faq details.is-hidden, .faq-group.is-hidden { display: none; }

@media (max-width: 52em) {
  .picker, .quick { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: 1.75rem; }
  .flow__line { top: 2rem; bottom: 2rem; left: 2rem; right: auto; width: 3px; height: auto; }
  .flow__line span { transform-origin: top; }
  .flow__step { text-align: left; display: grid; grid-template-columns: 4rem 1fr; column-gap: 1.25rem; }
  .flow__icon { grid-row: span 2; margin: 0; }
  .flow__step h3 { margin-top: 0.4rem; }
  .flow__step p { margin: 0.3rem 0 0; }
}
.phero--light .lead { max-width: 30rem; }
.phero--light h1 { max-width: 13ch; }
.phero--building::before { background: linear-gradient(90deg, rgba(238, 243, 249, 0.97) 0%, rgba(238, 243, 249, 0.9) 34%, rgba(238, 243, 249, 0.45) 50%, rgba(238, 243, 249, 0) 62%); }
@media (min-width: 52.01em) { .phero--building .phero__bg { object-position: 85% 75%; } }

/* =====================================================================
   Blue heroes, refined: deep Rathi blue on the left, the photograph clear on the right
   ===================================================================== */
.hero, .phero { color: #fff; background: var(--blue-deep); }
.hero::before, .phero::before { background:
  radial-gradient(120% 90% at 0% 100%, rgba(184, 65, 127, 0.28) 0%, rgba(184, 65, 127, 0) 45%),
  linear-gradient(90deg, rgba(18, 47, 89, 0.96) 0%, rgba(22, 58, 107, 0.86) 30%, rgba(22, 58, 107, 0.45) 52%, rgba(22, 58, 107, 0.05) 72%, rgba(22, 58, 107, 0) 100%); }
.hero::after, .phero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 35%; z-index: -1; background: linear-gradient(0deg, rgba(14, 34, 64, 0.45), rgba(14, 34, 64, 0)); pointer-events: none; }
.hero__bg { object-position: 68% 35%; }
.hero .lead, .phero .lead { color: rgba(255, 255, 255, 0.86); }
.phero .crumbs { color: rgba(255, 255, 255, 0.75); }
.phero .crumbs a:hover { color: #fff; }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 5rem); max-width: 13ch; }
.hl { color: #F6BCDA; }
.hero__in { justify-content: center; }
.hero__content { margin-block: auto; }

.hero-badge { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.6rem; margin-bottom: 1.5rem; border-radius: 999px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.22); font-size: 0.9rem; font-weight: 500; }
.hero-badge__dot { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #F6BCDA; box-shadow: 0 0 0 4px rgba(246, 188, 218, 0.25); }

.hero-card { position: absolute; right: clamp(1rem, 3vw, 2.25rem); bottom: clamp(1rem, 3vw, 2.25rem); z-index: 2; display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 0.8rem 0.7rem 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.3); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; transition: background-color 250ms, transform 350ms var(--ease); }
.hero-card:hover { background: rgba(255, 255, 255, 0.26); transform: translateY(-3px); }
.hero-card__avs { display: flex; }
.hero-card__avs img, .hcard-init { width: 2.6rem; height: 2.6rem; border-radius: 50%; border: 2px solid #fff; object-fit: cover; object-position: 50% 20%; margin-left: -0.7rem; background: var(--pink-soft); }
.hero-card__avs > :first-child { margin-left: 0; }
.hcard-init { display: grid; place-items: center; color: var(--pink); font-size: 0.75rem; font-weight: 700; }
.hcard-init.is-blue { background: var(--blue-soft); color: var(--blue); }
.hero-card__txt strong { display: block; font-size: 0.975rem; }
.hero-card__txt span { display: block; font-size: 0.825rem; color: rgba(255, 255, 255, 0.8); }
.hero-card__go { width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #fff; color: var(--blue-deep); display: grid; place-items: center; flex: none; transition: transform 250ms var(--ease); }
.hero-card:hover .hero-card__go { transform: translateX(3px); }
.phero--building .phero__bg { object-position: 85% 75%; }
.phero--building::before { background:
  radial-gradient(120% 90% at 0% 100%, rgba(184, 65, 127, 0.25) 0%, rgba(184, 65, 127, 0) 45%),
  linear-gradient(90deg, rgba(18, 47, 89, 0.97) 0%, rgba(22, 58, 107, 0.9) 34%, rgba(22, 58, 107, 0.5) 50%, rgba(22, 58, 107, 0) 64%); }
.phero { min-height: min(72svh, 680px); }
.phero .container { padding-bottom: clamp(5.5rem, 9vw, 7rem); }

@media (max-width: 52em) {
  .hero, .phero { min-height: 0; }
  .hero::before, .phero::before, .phero--building::before { background: linear-gradient(0deg, rgba(18, 47, 89, 0.97) 0%, rgba(22, 58, 107, 0.85) 45%, rgba(22, 58, 107, 0.35) 75%, rgba(22, 58, 107, 0.15) 100%); }
  .hero__bg { object-position: 75% 30%; }
  .hero__in { padding-top: calc(var(--inset) + 12rem); }
  .phero .container { padding-top: calc(var(--inset) + 12rem); padding-bottom: 6.5rem; }
  .hero-card { left: 1rem; right: auto; bottom: 1rem; }
  .hero__in { padding-bottom: 6.5rem; }
}
@media (max-width: 36em) { .hero-card__txt span { display: none; } }

/* ---------- the treatment row pins below the floating menu ---------- */
.hscroll.is-pinned .hscroll__pin { padding-top: calc(var(--inset) + 6.5rem); }
.hscroll.is-pinned { padding-top: calc(var(--section) - 6.5rem); }

/* =====================================================================
   "Not sure who to see?": a three-step guide
   ===================================================================== */
.guide { display: grid; grid-template-columns: 0.95fr 1.05fr 1.1fr; gap: 1rem; align-items: stretch; }
.guide__col { border-radius: var(--r-lg); padding: clamp(1.25rem, 2.5vw, 1.75rem); display: flex; flex-direction: column; }
.guide__col--areas { background: var(--blue-deep); color: #fff; }
.guide__col--concerns { background: var(--card); }
.guide__col--result { background: var(--card); }
.guide__step { display: flex; align-items: center; gap: 0.7rem; font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; color: var(--muted); }
.guide__col--areas .guide__step { color: rgba(255, 255, 255, 0.75); }
.guide__step span { width: 1.8rem; height: 1.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--pink); color: #fff; font-size: 0.8rem; }

.area-tabs { display: grid; gap: 0.6rem; }
.area-tab { display: flex; align-items: center; gap: 1rem; width: 100%; text-align: left; padding: 1rem; border-radius: var(--r); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 250ms, border-color 250ms, transform 300ms var(--ease); }
.area-tab:hover { background: rgba(255, 255, 255, 0.12); transform: translateX(4px); }
.area-tab[aria-selected="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.area-tab__icon { width: 3rem; height: 3rem; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, 0.12); color: #fff; transition: background-color 250ms, color 250ms; }
.area-tab__icon svg { width: 1.5rem; height: 1.5rem; }
.area-tab[aria-selected="true"] .area-tab__icon { background: var(--pink); color: #fff; }
.area-tab__txt strong { display: block; font-size: 1.05rem; }
.area-tab__txt span { display: block; font-size: 0.85rem; opacity: 0.7; margin-top: 0.1rem; }
.area-tab:focus-visible { outline-color: #fff; }
.guide__help { margin-top: auto; padding-top: 1.5rem; font-size: 0.925rem; color: rgba(255, 255, 255, 0.75); }
.guide__help strong { color: #fff; text-decoration: underline; text-underline-offset: 0.2em; }

.concerns { display: grid; gap: 0.6rem; list-style: none; padding: 0; margin: 0; }
.concerns[hidden] { display: none; }
.concern { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 3.6rem; padding: 0 0.6rem 0 1.15rem; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: 1rem; font-weight: 500; transition: border-color 200ms, background-color 200ms, color 200ms, transform 300ms var(--ease); }
.concern:hover { border-color: var(--blue); transform: translateX(4px); }
.concern__go { width: 2.3rem; height: 2.3rem; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--blue-deep); transition: background-color 200ms, color 200ms, transform 300ms var(--ease); }
.concern[aria-pressed="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.concern[aria-pressed="true"] .concern__go { background: var(--pink); color: #fff; transform: rotate(-45deg); }

.result { margin: 0; padding: 0; background: none; display: flex; flex-direction: column; flex: 1; gap: 0; }
.result__photo { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r); overflow: hidden; background: var(--pink-soft); display: grid; place-items: center; }
.result__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.result__photo.is-initials { background: linear-gradient(135deg, var(--pink-soft), #F6DDEB); }
.result__photo.is-initials.is-blue { background: linear-gradient(135deg, var(--blue-soft), #D5E3F4); }
.result__init { font-size: clamp(3.5rem, 2rem + 4vw, 5rem); font-weight: 600; letter-spacing: -0.04em; color: var(--pink); }
.result__photo.is-blue .result__init { color: var(--blue); }
.result__tag { position: absolute; left: 0.75rem; top: 0.75rem; font-size: 0.8rem; font-weight: 600; padding: 0.3rem 0.8rem; border-radius: 999px; background: #fff; color: var(--pink); }
.result__photo.is-blue .result__tag { color: var(--blue); }
.result__body { padding-top: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.result__name { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.015em; }
.result__role { color: var(--muted); font-size: 0.9rem; margin-top: 0.2rem; }
.result__why { margin-top: 0.85rem; font-size: 0.975rem; flex: 1; }
.result .actions { margin-top: 1.25rem; }
.result__profile { margin-top: 1rem; font-size: 0.925rem; }
.result.is-swapping .result__photo { animation: photoIn 600ms var(--ease); }
.result.is-swapping .result__body > * { animation: fade 450ms var(--ease) both; }
.result.is-swapping .result__body > :nth-child(2) { animation-delay: 40ms; }
.result.is-swapping .result__body > :nth-child(3) { animation-delay: 80ms; }
.result.is-swapping .result__body > :nth-child(4) { animation-delay: 120ms; }
@keyframes photoIn { from { clip-path: inset(0 0 100% 0 round 18px); } to { clip-path: inset(0 0 0 0 round 18px); } }

@media (max-width: 66em) {
  .guide { grid-template-columns: 1fr 1fr; }
  .guide__col--result { grid-column: 1 / -1; }
  .result { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.5rem; }
  .result__body { padding-top: 0; }
}
@media (max-width: 40em) {
  .guide { grid-template-columns: 1fr; }
  .result { display: flex; }
  .result__body { padding-top: 1.25rem; }
}

.phero .lead { max-width: 31rem; }
.phero--building h1 { max-width: 12ch; }

.guide__other { margin-top: auto; padding: 1rem 1rem 1rem 1.15rem; border-radius: var(--r); background: var(--pink-soft); display: grid; grid-template-columns: 1fr auto; column-gap: 1rem; align-items: center; transition: transform 300ms var(--ease); }
.guide__col--concerns .concerns { margin-bottom: 1.25rem; }
.guide__other strong { font-size: 0.975rem; }
.guide__other span:not(.concern__go) { grid-column: 1; color: var(--muted); font-size: 0.875rem; margin-top: 0.15rem; }
.guide__other .concern__go { grid-column: 2; grid-row: 1 / span 2; background: var(--pink); color: #fff; }
.guide__other:hover { transform: translateY(-3px); }

@media (max-width: 52em) { .hero-card { left: 1rem; right: 1rem; justify-content: space-between; } .hero-card__txt { flex: 1; min-width: 0; } .hero-card__avs img, .hcard-init { width: 2.2rem; height: 2.2rem; } }

/* ---------- homepage closing banner: the photograph carries its own blue, text sits left ---------- */
.banner--left { text-align: left; padding-inline: clamp(1.75rem, 7vw, 6rem); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.banner--left .banner__bg { object-position: 85% 35%; }
.banner--left::before { background: linear-gradient(90deg, rgba(18, 47, 89, 0.78) 0%, rgba(22, 58, 107, 0.45) 40%, rgba(22, 58, 107, 0) 62%); }
.banner--left > div { max-width: 34rem; }
.banner--left h2 { margin-inline: 0; max-width: 13ch; }
.banner--left p { margin-inline: 0; }
.banner--left .actions { justify-content: flex-start; }
@media (max-width: 52em) {
  .banner--left { padding-top: 14rem; }
  .banner--left .banner__bg { object-position: 78% 30%; }
  .banner--left::before { background: linear-gradient(0deg, rgba(18, 47, 89, 0.95) 0%, rgba(22, 58, 107, 0.7) 50%, rgba(22, 58, 107, 0) 85%); }
}

/* ---------- closing banners: the client's wide photographs, text over the blue on the left ---------- */
.banner--left { min-height: clamp(380px, 36vw, 520px); display: flex; align-items: center; }
.banner--left .banner__bg { object-position: 80% 40%; }
.banner--left::before { background: linear-gradient(90deg, rgba(18, 47, 89, 0.7) 0%, rgba(22, 58, 107, 0.35) 38%, rgba(22, 58, 107, 0) 58%); }
.banner--left h2 { max-width: 14ch; }
.banner--left p { max-width: 28rem; }
@media (max-width: 52em) {
  .banner--left { min-height: 0; display: block; padding-top: 15rem; }
  .banner--left .banner__bg { object-position: 85% 30%; }
}
@media (max-width: 52em) {
  .banner--left { padding-top: 15.5rem; background: var(--blue-deep); }
  .banner--left .banner__bg { inset: 0 0 auto 0; height: 17rem; object-position: 82% 30%; }
  .banner--left::before { background: linear-gradient(180deg, rgba(22, 58, 107, 0) 0, rgba(22, 58, 107, 0) 9rem, #163A6B 17rem); }
}

/* ---------- homepage: three speciality cards ---------- */
.areas--3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.areas--3 .area__media { aspect-ratio: 16 / 11; }
.areas--3 .area h3 { font-size: 1.4rem; }
@media (max-width: 66em) { .areas--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 52em) { .areas--3 { grid-template-columns: 1fr; } }

/* ---------- "Care that feels personal": the family photograph ---------- */
.feature picture { display: block; width: 100%; height: 100%; }
.feature { aspect-ratio: 2000 / 735; }
@media (max-width: 52em) { .feature { aspect-ratio: auto; } .feature picture img { aspect-ratio: 4 / 3; height: auto; object-position: 50% 40%; } }
/* "Care that feels personal": 20px more picture above and below on desktop */
@media (min-width: 52.01em) { .feature { aspect-ratio: auto; height: calc(min(100vw - 2 * var(--pad), var(--max)) * 735 / 2000 + 40px); } }

/* =====================================================================
   Menu: Home · About us · Treatments (dropdown) · FAQs · Contact us · Call
   ===================================================================== */
.nav__links { list-style: none; margin: 0; padding: 0; align-items: center; }
.nav__links > li { position: relative; }
.nav__drop-btn { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 500; font-size: 0.95rem; color: var(--muted); padding-block: 0.4rem; transition: color 160ms ease; }
.nav__drop-btn:hover, .nav__drop-btn[aria-expanded="true"], .nav__drop-btn.is-current { color: var(--ink); }
.nav__drop-btn.is-current { font-weight: 600; }
.nav__chev { width: 1rem; height: 1rem; transition: transform 250ms var(--ease); }
.nav__drop-btn[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 1.1rem); left: 50%; width: 22rem; padding: 0.5rem; border-radius: var(--r); background: #fff; box-shadow: 0 24px 50px rgba(14, 34, 64, 0.16); display: grid; gap: 0.2rem; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity 220ms ease, transform 300ms var(--ease), visibility 0s linear 300ms; z-index: 50; }
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -1.2rem; height: 1.2rem; }
.nav__drop.is-open .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity 220ms ease, transform 300ms var(--ease), visibility 0s; }
.dd-item { display: flex; align-items: center; gap: 0.9rem; padding: 0.75rem; border-radius: 12px; transition: background-color 180ms ease; }
.dd-item:hover, .dd-item:focus-visible, .dd-item[aria-current="page"] { background: var(--surface); }
.dd-item__icon { width: 2.6rem; height: 2.6rem; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--pink-soft); color: var(--pink); transition: background-color 200ms, color 200ms; }
.dd-item__icon.is-blue { background: var(--blue-soft); color: var(--blue); }
.dd-item:hover .dd-item__icon { background: var(--pink); color: #fff; }
.dd-item:hover .dd-item__icon.is-blue { background: var(--blue); }
.dd-item__icon svg { width: 1.35rem; height: 1.35rem; }
.dd-item__txt strong { display: block; font-size: 0.95rem; color: var(--ink); }
.dd-item__txt span { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.1rem; }
.nav__call { gap: 0.6rem; padding-left: 0.4rem; font-variant-numeric: tabular-nums; }
.nav__call-icon { width: 2rem; height: 2rem; border-radius: 50%; background: #fff; color: var(--blue-deep); display: grid; place-items: center; flex: none; }
.nav__call-icon svg { width: 1rem; height: 1rem; }
.nav__call:hover .nav__call-icon { animation: ring 600ms ease; }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(12deg); } 60% { transform: rotate(-8deg); } 80% { transform: rotate(5deg); } }
@media (prefers-reduced-motion: reduce) { .nav__call:hover .nav__call-icon { animation: none; } }

@media (max-width: 66em) {
  .nav__links { align-items: stretch; }
  .nav__links > li > a, .nav__drop-btn { display: flex; width: 100%; justify-content: space-between; padding: 0.85rem 0.25rem; font-size: 1.1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .dropdown { position: static; width: auto; transform: none; box-shadow: none; padding: 0.25rem 0 0.5rem; display: none; opacity: 1; visibility: visible; background: none; }
  .dropdown::before { display: none; }
  .nav__drop.is-open .dropdown { display: grid; transform: none; }
  .nav__call { justify-content: center; }
}
@media (max-width: 66em) { .nav__links .dd-item { border-bottom: 0; padding: 0.6rem 0.5rem; font-size: 1rem; } }
.dropdown { width: 15.5rem; }
.dd-item { padding: 0.6rem 0.75rem; }
