/* MedNeighbor — site styles. Brand: navy #102C46, mint #79D9C5, white. */
:root {
  --bg: #f6f8f7;
  --surface: #ffffff;
  --alt: #edf3f1;
  --ink: #102C46;
  --text: #34475a;
  --muted: #627384;
  --line: #dde6e3;
  --navy: #102C46;
  --navy-deep: #0b2135;
  --mint: #79D9C5;
  --mint-hover: #66d0ba;
  --mint-ink: #18806f;   /* mint for text on light backgrounds (4.5:1) */
  --mint-tint: #e5f7f2;
  --radius: 18px;
  --gutter: 48px;
  --font: "Bai Jamjuree", "Noto Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.8; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 300; }
small { font-size: .82em; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.accent { color: var(--mint-ink); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--mint-ink); outline-offset: 3px; border-radius: 4px; }

/* type */
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.4; color: var(--mint-ink); }
.eyebrow--light { color: var(--mint); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.35; letter-spacing: -.005em; }
.h2--sm { font-size: clamp(24px, 2.6vw, 32px); }
.h2--light { color: #fff; }
.h3 { font-size: 20px; font-weight: 500; line-height: 1.5; }
.lead { font-size: 18px; color: var(--text); max-width: 46em; margin: 22px auto 0; }
.lead--left { margin-left: 0; }
.fineprint { margin-top: 22px; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* buttons & links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 30px; border-radius: 999px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); text-align: center; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--mint { background: var(--mint); color: var(--navy); }
.btn--mint:hover { background: var(--mint-hover); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: var(--surface); }
.btn--pill { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--block { display: flex; width: 100%; }
.link-arrow {
  display: inline-flex; gap: 8px; align-items: center; padding: 0 0 2px;
  font: 500 16px/1.6 var(--font); text-decoration: none; color: var(--mint-ink);
  border: 0; border-bottom: 1px solid currentColor; background: none;
}
.link-arrow span { transition: transform .2s; }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow--light { color: #fff; border-color: rgba(255, 255, 255, .5); }
.link-arrow--button { cursor: pointer; margin-top: 18px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, box-shadow .3s; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; max-width: 1296px; margin: 0 auto; padding: 0 var(--gutter); }
.nav__brand { display: block; position: relative; flex: none; width: 168px; }
.logo { width: 100%; height: auto; transition: opacity .3s; }
.logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a:not(.btn) { position: relative; color: #fff; text-decoration: none; font-size: 15px; opacity: .88; white-space: nowrap; transition: opacity .2s, color .3s; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current] { opacity: 1; }
.nav__links a[aria-current]:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--mint); }
.nav__cta { background: var(--mint); color: var(--navy); }
.nav__cta:hover { background: var(--mint-hover); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.nav__toggle span { display: block; height: 1.5px; margin: 5px 0; background: #fff; transition: transform .3s, opacity .3s, background-color .3s; }
.nav.is-solid { background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.is-solid .logo--light { opacity: 0; }
.nav.is-solid .logo--dark { opacity: 1; }
.nav.is-solid .nav__links a:not(.btn) { color: var(--ink); }
.nav.is-solid .nav__toggle span { background: var(--ink); }

/* home hero */
.hero { position: relative; min-height: max(660px, 100svh); display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); color: #fff; overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 70% 40%; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 44, 70, .94) 0%, rgba(16, 44, 70, .78) 40%, rgba(16, 44, 70, .2) 74%, rgba(16, 44, 70, .05) 100%),
    linear-gradient(0deg, rgba(16, 44, 70, .88) 0%, rgba(16, 44, 70, 0) 38%),
    linear-gradient(180deg, rgba(16, 44, 70, .55) 0%, rgba(16, 44, 70, 0) 22%);
}
.hero__content { position: relative; padding-top: 150px; padding-bottom: 48px; }
.hero__title { color: #fff; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.32; max-width: 19em; }
.nowrap { white-space: nowrap; }
.btn .nowrap, .link-arrow .nowrap { display: contents; } /* stay in the label's text run, not a separate flex item */
.hero__title .accent, .page-hero__title .accent { color: var(--mint); }
.hero__lead { max-width: 34em; margin: 24px 0 0; font-size: 18px; color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 34px; }
.hero__note { max-width: 36em; margin: 18px 0 0; font-size: 14px; color: rgba(255, 255, 255, .72); }
.hero__badges { position: relative; padding-bottom: 32px; }
.hero__badges ul { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 34px; margin: 0; padding: 20px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__badges li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .92); }
.hero__badges li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }

/* sub-page hero */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(121, 217, 197, .22) 0, rgba(121, 217, 197, 0) 34%),
    radial-gradient(circle at 78% 120%, rgba(121, 217, 197, .16) 0, rgba(121, 217, 197, 0) 40%),
    var(--navy);
}
.page-hero::after { content: ""; position: absolute; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; border: 1px solid rgba(121, 217, 197, .22); }
.page-hero__content { position: relative; z-index: 1; padding-top: 168px; padding-bottom: 96px; }
.page-hero--compact .page-hero__content { padding-bottom: 72px; }
.page-hero__title { color: #fff; font-size: clamp(32px, 4.4vw, 54px); line-height: 1.32; max-width: 16em; }
.page-hero__lead { max-width: 40em; margin: 22px 0 0; font-size: 18px; color: rgba(255, 255, 255, .86); }

/* sections */
.section { padding: 120px 0; }
.section--tight { padding: 72px 0; }
.section--tight-top { padding-top: 56px; }
.section--alt { background: var(--alt); }
.section__head { margin-bottom: 56px; }
.section__head--center { text-align: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }
.split-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.split-head__aside { text-align: right; }

/* feature cards */
.grid-4, .grid-3 { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.feature { padding: 30px 26px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.feature--center { text-align: center; }
.feature__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--mint-tint); color: var(--navy); }
.feature--center .feature__icon { margin-left: auto; margin-right: auto; }
.feature__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature .h3 { margin-bottom: 8px; font-size: 19px; }
.feature p { font-size: 16px; color: var(--text); }

/* steps with photos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0; padding: 0; list-style: none; }
.step__media { position: relative; margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--alt); }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.step:hover .step__media img { transform: scale(1.035); }
.step__num { position: absolute; top: 14px; left: 14px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--navy); font-size: 15px; font-weight: 600; }
.photo-tag { position: absolute; right: 12px; bottom: 12px; padding: 2px 10px; border-radius: 999px; background: rgba(16, 44, 70, .55); color: #fff; font-size: 11px; }
.step .h3 { margin-bottom: 8px; padding: 0 4px; }
.step p { padding: 0 4px; font-size: 16px; color: var(--muted); }

/* results */
.results { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.result { margin: 0; }
.result img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(16, 44, 70, .45); }
.result figcaption { margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--muted); }

/* about + clinic */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.about .lead { margin-bottom: 26px; }
.clinic-card { padding: 36px 34px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(16, 44, 70, .4); }
.clinic-card__name { margin-bottom: 8px; font-size: 24px; font-weight: 500; }
.clinic-card__place { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--mint-ink); font-weight: 500; }
.clinic-card__place svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; }
.clinic-card > p:not([class]) { font-size: 15px; margin-bottom: 20px; }
.clinic-card__actions { display: grid; gap: 12px; margin-top: 26px; }
.info-rows { margin: 0; }
.info-rows > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-rows dt { color: var(--muted); font-size: 15px; }
.info-rows dd { margin: 0; color: var(--ink); font-size: 15px; }
.info-rows--compact > div { grid-template-columns: 110px 1fr; padding: 8px 0; }

/* plan teasers */
.plan-teasers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.plan-teaser { display: grid; gap: 14px; padding: 38px 36px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.plan-teaser:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -36px rgba(16, 44, 70, .5); }
.plan-teaser__tag { font-size: 14px; font-weight: 600; color: var(--mint-ink); }
.plan-teaser__price { font-size: clamp(38px, 4.4vw, 54px); font-weight: 600; line-height: 1.1; color: var(--ink); }
.plan-teaser__price small { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan-teaser__text { color: var(--text); font-size: 16px; }
.plan-teaser__go { font-weight: 500; color: var(--mint-ink); }
.plan-teaser--dark { background: var(--navy); border-color: var(--navy); }
.plan-teaser--dark .plan-teaser__tag, .plan-teaser--dark .plan-teaser__go { color: var(--mint); }
.plan-teaser--dark .plan-teaser__price { color: #fff; }
.plan-teaser--dark .plan-teaser__price small, .plan-teaser--dark .plan-teaser__text { color: rgba(255, 255, 255, .8); }

/* numbered list */
.numbered { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.numbered li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 34px 0; border-bottom: 1px solid var(--line); }
.numbered__n { font-size: 44px; font-weight: 300; line-height: 1; color: var(--mint-ink); }
.numbered .h3 { margin-bottom: 6px; font-size: 22px; }
.numbered p { max-width: 44em; }

/* check list */
.check-list { margin: 18px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 6px 0 6px 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.2l3 3 6-6.4' fill='none' stroke='%23102C46' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.check-list--light li { color: rgba(255, 255, 255, .9); }
.check-list--light b { color: #fff; }

/* medication box */
.med-box { display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; padding: 52px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); }
.med-box__product { margin: 0; font-size: 26px; font-weight: 600; color: var(--ink); }
.med-box__product span { font-size: 16px; font-weight: 400; color: var(--muted); }
.med-box .fineprint { margin-bottom: 22px; }

/* pricing */
.price-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.table-card { border-radius: calc(var(--radius) + 2px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -44px rgba(16, 44, 70, .4); }
.price-table { width: 100%; border-collapse: collapse; font-size: 18px; }
.price-table th { padding: 16px 24px; background: var(--navy); color: #fff; font-weight: 500; font-size: 15px; text-align: left; }
.price-table td { padding: 18px 24px; border-top: 1px solid var(--line); color: var(--ink); }
.price-table td:last-child, .price-table th:last-child { text-align: right; }
.price-table td:last-child { font-weight: 600; }
.price-table td small { display: block; color: var(--muted); font-size: 13px; }
.price-table tr.is-start td { background: var(--mint-tint); }
.pill { display: inline-block; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--mint); color: var(--navy); font-size: 12px; font-weight: 600; vertical-align: 2px; }
.callout { margin: 28px 0 0; padding: 18px 22px; border-left: 3px solid var(--mint); border-radius: 0 12px 12px 0; background: var(--mint-tint); color: var(--ink); font-size: 15px; }

.exclusive { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; padding: 34px 38px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.exclusive__icon { display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; background: var(--mint-tint); color: var(--navy); }
.exclusive__icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.exclusive__icon .fill { fill: var(--mint-ink); stroke: none; }
.exclusive__icon .on-fill { stroke: #fff; }
.exclusive__kicker { margin: 0; font-size: 15px; color: var(--muted); }
.exclusive__title { margin: 2px 0 4px; font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; }
.deposit { display: grid; grid-template-columns: 1fr 1.3fr; margin-top: 24px; border-radius: calc(var(--radius) + 4px); overflow: hidden; }
.deposit__amount { padding: 40px 38px; background: var(--mint); color: var(--navy); }
.deposit__amount p { margin: 0; font-weight: 500; }
.deposit__big { font-size: clamp(64px, 8vw, 96px); font-weight: 700 !important; line-height: 1.05; }
.deposit__big span { font-size: .42em; }
.deposit__terms { padding: 40px 38px; background: var(--navy); }
.deposit__terms .check-list { margin-top: 0; }
.deposit__note { margin: 14px 0 22px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .72); font-size: 15px; }

/* annual */
.risk-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.risk-list li { display: grid; gap: 10px; padding: 26px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 500; line-height: 1.5; }
.risk-list span { font-size: 13px; letter-spacing: .14em; color: var(--mint-ink); font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 36px 30px 32px; border-radius: calc(var(--radius) + 4px); background: var(--surface); border: 1px solid var(--line); }
.plan__name { font-size: 15px; font-weight: 600; letter-spacing: .2em; color: var(--mint-ink); }
.plan__fit { margin: 6px 0 18px; color: var(--muted); font-size: 15px; min-height: 3.4em; }
.plan__price { margin: 0; font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--ink); }
.plan__price span { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan__install { margin: 8px 0 0; font-size: 14px; color: var(--mint-ink); }
.plan__rows { flex: 1; margin: 24px 0 28px; }
.plan__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.plan__rows dt { color: var(--text); }
.plan__rows dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.plan__rows dd.is-muted { font-weight: 400; color: var(--muted); }
.plan--dark { background: var(--navy); border-color: var(--navy); }
.plan--dark .plan__name, .plan--dark .plan__install { color: var(--mint); }
.plan--dark .plan__fit, .plan--dark .plan__price span, .plan--dark .plan__rows dt { color: rgba(255, 255, 255, .78); }
.plan--dark .plan__price, .plan--dark .plan__rows dd { color: #fff; }
.plan--dark .plan__rows > div { border-color: rgba(255, 255, 255, .14); }
.notes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 32px; margin: 36px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.notes li { position: relative; padding-left: 18px; }
.notes li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--mint-ink); }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq header .link-arrow, .faq__ask { margin-top: 24px; }
.faq__ask a { color: var(--mint-ink); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 1.5px solid var(--mint-ink); border-bottom: 1.5px solid var(--mint-ink); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: -4px 0 0; padding: 0 48px 24px 0; font-size: 16px; color: var(--text); }

/* cta band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; text-align: center; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta-band__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16, 44, 70, .6), rgba(16, 44, 70, .8)); }
.cta-band__content { position: relative; padding-top: 140px; padding-bottom: 140px; }
.cta-band__content p:not(.eyebrow) { max-width: 36em; margin: 20px auto 34px; color: rgba(255, 255, 255, .88); font-size: 18px; }

/* booking */
.booking { display: grid; grid-template-columns: 1fr 1.55fr; gap: 56px; align-items: start; }
.booking__side { position: sticky; top: 100px; }
.mini-steps { counter-reset: s; margin: 18px 0 0; padding: 0; list-style: none; }
.mini-steps li { counter-increment: s; position: relative; padding: 10px 0 10px 46px; font-size: 16px; border-bottom: 1px solid var(--line); }
.mini-steps li::before { content: counter(s); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--mint-tint); color: var(--navy); font-size: 14px; font-weight: 600; }
.booking__privacy { margin-top: 28px; padding: 22px; border-radius: 14px; background: var(--alt); font-size: 14px; }
.booking__privacy h3 { margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.booking__privacy a { color: var(--mint-ink); }
.booking-card { padding: 40px; border-radius: calc(var(--radius) + 6px); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 70px -48px rgba(16, 44, 70, .5); }
.booking-card { scroll-margin-top: 90px; }
.booking-card:focus { outline: none; }
.booking-card__step { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--mint-ink); }
.booking-card__title { margin: 2px 0 26px; font-size: 28px; font-weight: 500; }
.field { display: grid; gap: 6px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.field__label { font-size: 15px; font-weight: 500; color: var(--ink); padding: 0; }
.field__label i { color: #c0392b; font-style: normal; }
.field__label small { font-weight: 400; color: var(--muted); }
.field input[type=text], .field input[type=tel], .field input[type=date], .field select {
  width: 100%; min-height: 50px; padding: 10px 14px; border-radius: 12px; border: 1px solid #cbd7d3; background: #fbfdfc;
  font: 400 16px/1.4 var(--font); color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--mint-ink); box-shadow: 0 0 0 3px rgba(121, 217, 197, .45); }
.field .is-invalid, .field input:user-invalid { border-color: #c0392b; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__hint { margin: -8px 0 18px; font-size: 13px; color: var(--muted); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid #cbd7d3; cursor: pointer; font-size: 15px; }
.choice input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--mint-ink); outline-offset: 2px; }
.terms-box { margin: 8px 0 20px; padding: 22px 24px; border-radius: 14px; background: var(--mint-tint); }
.terms-box h3 { font-size: 16px; font-weight: 600; }
.terms-box .check-list { margin: 8px 0 10px; font-size: 15px; }
.terms-box p { font-size: 14px; color: var(--text); }
.terms-box a, .consent a { color: var(--mint-ink); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(16, 44, 70, .12); font-size: 15px; color: var(--ink); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--navy); }
.form-error { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #fdecea; color: #922b21; font-size: 15px; }
.booking-ref { margin: -14px 0 14px; font-size: 15px; color: var(--muted); }
.booking-ref b { color: var(--ink); letter-spacing: .06em; }
.pay { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; margin: 24px 0; padding: 24px; border-radius: 16px; background: var(--alt); }
.pay__qr { padding: 16px 16px 12px; border-radius: 14px; background: #fff; text-align: center; }
.pay__qr img { width: 200px; height: 200px; image-rendering: pixelated; }
.pay__amount { margin: 8px 0 0; font-size: 20px; font-weight: 700; color: var(--ink); }
.pay__to { margin: 0; font-size: 13px; color: var(--muted); }
.pay__steps { margin: 0 0 14px; padding-left: 20px; font-size: 15px; }
.pay__steps li { padding: 3px 0; }
.booking-card .btn--block + .btn--block { margin-top: 12px; }
.booking-card .callout { margin: 0 0 16px; }

/* legal docs */
.doc { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.doc__toc { position: sticky; top: 100px; display: grid; gap: 4px; padding-left: 16px; border-left: 2px solid var(--line); }
.doc__toc a { padding: 4px 0; font-size: 15px; color: var(--muted); text-decoration: none; }
.doc__toc a:hover { color: var(--mint-ink); }
.doc__body { max-width: 760px; }
.doc__body h2 { margin: 44px 0 14px; font-size: 24px; font-weight: 500; scroll-margin-top: 100px; }
.doc__body h2:first-of-type { margin-top: 0; }
.doc__body ul { margin: 0 0 1em; padding-left: 22px; }
.doc__body li { padding: 4px 0; }
.doc__body b { color: var(--ink); font-weight: 600; }
.doc__contact { margin-top: 36px; }
.doc__contact a { color: var(--mint-ink); }

/* footer */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .74); padding: 84px 0 40px; font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.1fr 1.6fr; gap: 64px; padding-bottom: 52px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { width: 190px; margin-bottom: 18px; }
.footer__brand b { color: #fff; font-weight: 500; }
.footer__role { font-size: 13px; color: rgba(255, 255, 255, .55); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__cols h2 { margin: 0 0 14px; font-size: 15px; font-weight: 600; color: #fff; }
.footer__cols a { display: block; padding: 5px 0; text-decoration: none; transition: color .2s; }
.footer__cols a:hover { color: var(--mint); }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 13px; color: rgba(255, 255, 255, .5); }

/* mobile booking bar (shown under 860px) */
.mobile-bar { display: none; }

/* reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps .step:nth-child(2) { transition-delay: .12s; }
.js .steps .step:nth-child(3) { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .step__media img, .link-arrow span, .plan-teaser { transition: none; }
}

/* tablet */
@media (max-width: 1160px) {
  .nav__links { gap: 18px; }
  .nav__links a:not(.btn) { font-size: 14px; }
  .nav__brand { width: 150px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .risk-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1020px) {
  :root { --gutter: 32px; }
  .about, .price-layout, .booking { gap: 40px; }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .plan__fit { min-height: 0; }
}

/* mobile */
@media (max-width: 860px) {
  :root { --gutter: 20px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .nav__inner { height: 64px; }
  .nav__brand { width: 136px; }
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px; background: #fff; box-shadow: 0 20px 30px -20px rgba(16, 44, 70, .3);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav__links a:not(.btn) { color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; opacity: 1; }
  .nav__links a[aria-current]:not(.btn)::after { display: none; }
  .nav__links a[aria-current]:not(.btn) { color: var(--mint-ink); font-weight: 600; }
  .nav__links .nav__cta { margin-top: 18px; min-height: 50px; }
  .nav.is-open { background: #fff; }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; }
  .nav.is-open .logo--light { opacity: 0; }
  .nav.is-open .logo--dark { opacity: 1; }
  .nav.is-open .nav__toggle span { background: var(--ink); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* photo becomes its own block on top so the headline never sits on the faces */
  .hero { min-height: 0; display: block; }
  .hero__media { display: block; position: relative; inset: auto; height: 330px; }
  .hero__media img { object-position: 76% 30%; }
  .hero__shade { bottom: auto; height: 330px; background: linear-gradient(180deg, rgba(16, 44, 70, .55) 0%, rgba(16, 44, 70, 0) 24%, rgba(16, 44, 70, 0) 62%, var(--navy) 100%); }
  .hero__content { padding-top: 4px; padding-bottom: 28px; }
  .hero__lead, .page-hero__lead { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__badges ul { justify-content: flex-start; gap: 8px 20px; }
  .hero__badges li { font-size: 13px; }
  .page-hero__content { padding-top: 112px; padding-bottom: 64px; }
  .page-hero--compact .page-hero__content { padding-bottom: 48px; }
  .page-hero::after { width: 300px; height: 300px; right: -140px; top: -120px; }

  .section { padding: 80px 0; }
  .section--tight { padding: 56px 0; }
  .section--tight-top { padding-top: 32px; }
  .section__head { margin-bottom: 40px; }
  .lead { font-size: 16px; }
  .split-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .split-head__aside { text-align: left; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { gap: 12px; }
  .feature { padding: 22px 18px 24px; }
  .feature__icon { width: 46px; height: 46px; margin-bottom: 14px; }
  .feature__icon svg { width: 22px; height: 22px; }
  .feature .h3 { font-size: 16px; }
  .feature p { font-size: 14px; line-height: 1.7; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step__media { aspect-ratio: 4 / 3; }
  .js .steps .step:nth-child(n) { transition-delay: 0s; }
  .results { grid-template-columns: 1fr; gap: 32px; }
  .about, .price-layout, .faq, .med-box, .booking, .doc { grid-template-columns: 1fr; gap: 32px; }
  .clinic-card { padding: 28px 22px; }
  .info-rows > div { grid-template-columns: 100px 1fr; gap: 12px; }
  .plan-teasers { grid-template-columns: 1fr; gap: 16px; }
  .plan-teaser { padding: 28px 24px; }
  .numbered li { grid-template-columns: 64px 1fr; gap: 14px; padding: 26px 0; }
  .numbered__n { font-size: 32px; }
  .med-box { padding: 30px 22px; }
  .price-table { font-size: 16px; }
  .price-table th, .price-table td { padding: 14px 16px; }
  .exclusive { grid-template-columns: 1fr; gap: 16px; padding: 26px 22px; }
  .exclusive__icon { width: 60px; height: 60px; }
  .deposit { grid-template-columns: 1fr; }
  .deposit__amount, .deposit__terms { padding: 28px 24px; }
  .risk-list { grid-template-columns: 1fr 1fr; gap: 10px; }
  .risk-list li { padding: 18px 16px; font-size: 15px; }
  .notes { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding-right: 36px; }
  .faq details p { padding-right: 0; }
  .cta-band__content { padding-top: 100px; padding-bottom: 100px; }
  .booking__side { position: static; order: 2; }
  .booking-card { padding: 26px 20px; }
  .booking-card__title { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .pay { grid-template-columns: 1fr; justify-items: center; text-align: left; }
  .doc__toc { position: static; grid-template-columns: 1fr 1fr; padding: 0 0 0 14px; }
  .footer { padding-top: 64px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); box-shadow: 0 -10px 30px -18px rgba(16, 44, 70, .45);
    transition: transform .3s ease;
  }
  .js .mobile-bar { transform: translateY(110%); }
  .js .bar-on .mobile-bar { transform: none; }
  .mobile-bar .btn { flex: 1; min-height: 48px; padding: 0 14px; font-size: 15px; }
  .mobile-bar .btn--ghost { flex: 0 0 auto; }
  .page-booking .mobile-bar { display: none; }
  .page-booking { padding-bottom: 0; }
}
