/* Ortopedia Zdrowy Ruch — atmospheric sky / translucent anatomy */

:root {
  --sky-deep: #2c6496;
  --sky: #3a75a9;
  --sky-mid: #6c9fcb;
  --sky-light: #a9c8e2;
  --mist: #c6d3de;
  --mist-2: #dde6ee;
  --paper: #eef3f7;
  --ink: #0e2335;
  --ink-2: #2a4860;
  --ink-3: #3c586f;
  --ember: #ff8b4d;
  --ember-ink: #8a370c;
  --line-light: rgba(255, 255, 255, .38);
  --line-dark: rgba(14, 35, 53, .16);

  --font: "Geologica", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1440px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(80px, 11vw, 160px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, p, dl, dd, ol, ul, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--ember); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--sky-mid) var(--paper); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.display {
  font-weight: 200;
  font-size: clamp(2.75rem, 6.4vw, 6rem);
  line-height: .98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.display--md { font-size: clamp(2.5rem, 5vw, 4.75rem); }
.h2 {
  font-weight: 300;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2--light { color: #fff; }
.h3 { font-weight: 300; font-size: clamp(1.75rem, 2.6vw, 2.5rem); letter-spacing: -0.025em; line-height: 1.1; }

/* ---------- shared controls ---------- */
.chip {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .8), 0 4px 14px -6px rgba(14, 35, 53, .35);
  color: var(--ink);
  transition: transform .5s var(--ease), background .3s;
}
.chip svg { width: 20px; height: 20px; }
.chip--white { width: 38px; height: 38px; background: #fff; }
.chip--white svg { width: 16px; height: 16px; }

.pill {
  display: inline-flex; align-items: center; gap: 22px;
  min-height: 62px; padding: 8px 9px 8px 28px; border-radius: 999px;
  background: linear-gradient(100deg, rgba(232, 243, 252, .92), rgba(196, 222, 242, .78));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .85), 0 18px 40px -22px rgba(14, 35, 53, .55);
  color: var(--ink); text-decoration: none;
  font-weight: 400; font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.pill:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px #fff, 0 24px 44px -20px rgba(14, 35, 53, .6); }
.pill:hover .chip { transform: rotate(-12deg) scale(1.06); background: #fff; }
.pill:active { transform: translateY(0); }
.pill--ghost {
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 0 0 1px var(--line-light);
  color: #fff;
}
.pill--ghost .chip { background: #fff; }
.pill--ghost:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.7); }

.textlink {
  color: #fff; font-weight: 400; letter-spacing: .04em; text-decoration: none;
  border-bottom: 1px solid var(--line-light); padding-bottom: 2px;
  transition: border-color .3s;
}
.textlink:hover { border-color: #fff; }

.plate { overflow: hidden; background: var(--sky-deep); }
.plate img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- HERO ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(100svh, 980px);
  background: linear-gradient(180deg, #3a75a9 0%, #3a75a9 55%, #376fa3 100%);
  color: #fff;
  display: grid; grid-template-rows: auto 1fr;
}
.hero__plate {
  position: absolute; z-index: -2; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%;
}
.hero__veil {
  position: absolute; z-index: -1; inset: 0;
  background:
    linear-gradient(90deg, rgba(44, 100, 150, .62) 0%, rgba(44, 100, 150, .18) 30%, rgba(44, 100, 150, .05) 48%, rgba(44, 100, 150, .58) 100%),
    linear-gradient(180deg, rgba(44, 100, 150, .55) 0%, rgba(44, 100, 150, 0) 22%, rgba(44, 100, 150, 0) 70%, rgba(60, 105, 150, .55) 100%);
}

.bar {
  display: flex; align-items: center; gap: clamp(20px, 4vw, 72px);
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line-light);
  max-width: none;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__name { display: grid; line-height: 1.1; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }
.brand__name span { font-weight: 300; }
.brand__name strong { font-weight: 500; }
.bar__links { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.bar__links a, .bar__cta {
  text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
}
.bar__links a { position: relative; padding-block: 6px; }
.bar__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.bar__links a:hover::after { transform: scaleX(1); }
.bar__cta { margin-left: auto; display: inline-flex; align-items: center; gap: 14px; }
.bar__cta:hover .chip { transform: rotate(45deg); }

.hero__grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px;
  padding: clamp(36px, 5vw, 64px) var(--gutter) clamp(48px, 6vw, 88px);
  align-items: end;
}
.hero__side { grid-column: 1 / span 3; display: grid; gap: clamp(32px, 5vw, 72px); align-self: stretch; align-content: space-between; }
.hero__tag { font-size: clamp(18px, 1.7vw, 26px); line-height: 1.3; text-transform: uppercase; letter-spacing: .02em; font-weight: 300; }
.plate--hero { aspect-ratio: 7 / 10; width: min(100%, 320px); box-shadow: 0 30px 60px -30px rgba(14, 35, 53, .6); }
.hero__main { grid-column: 6 / -1; display: grid; gap: 28px; padding-bottom: clamp(0px, 3vw, 40px); }
.hero__main .display { text-shadow: 0 2px 30px rgba(20, 60, 100, .25); max-width: 12ch; }
.hero__lede { max-width: 44ch; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255, 255, 255, .94); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }

/* entrance: one authored moment */
@media (prefers-reduced-motion: no-preference) {
  .hero__main .display { animation: focusIn 1.4s var(--ease) both; }
  .hero__lede, .hero__main .hero__actions { animation: focusIn 1.4s .25s var(--ease) both; }
  .plate--hero { animation: focusIn 1.6s .1s var(--ease) both; }
  .hero__plate { animation: drift 2.4s var(--ease) both; }
}
@keyframes focusIn { from { opacity: .2; filter: blur(14px); transform: translateY(18px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes drift { from { transform: scale(1.06); filter: saturate(.6) blur(6px); } to { transform: none; filter: none; } }

/* ---------- FOLD BAND ---------- */
.band--mist {
  background: linear-gradient(180deg, #a8c0d4 0%, var(--mist) 45%, var(--mist-2) 100%);
  border-top: 1px solid rgba(255, 255, 255, .6);
}
.band__grid {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(32px, 4vw, 48px) var(--gutter) clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: center;
}
.band__claim { font-size: clamp(1.5rem, 2.4vw, 2.25rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.plate--band { width: clamp(180px, 15vw, 230px); aspect-ratio: 3 / 4; box-shadow: 0 30px 60px -32px rgba(14, 35, 53, .55); }
.stat { justify-self: center; text-align: center; }
.stat__num {
  font-weight: 200; font-size: clamp(4.5rem, 8vw, 7.5rem); line-height: 1; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; color: var(--ink);
}
.stat__num span { color: var(--ember-ink); }
.stat__label { margin-top: 14px; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; line-height: 1.5; color: var(--ink-2); }

/* ---------- REGIONS ---------- */
.regions { padding-block: var(--section); background: linear-gradient(180deg, var(--mist-2), var(--paper)); }
.regions__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.regions__intro { max-width: 42ch; color: var(--ink-2); justify-self: end; }
.regions__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }

.regions__tabs { display: grid; border-top: 1px solid var(--line-dark); }
.regions__tabs button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; grid-template-columns: 18px 1fr; column-gap: 16px; align-items: baseline;
  padding: 22px 4px; border-bottom: 1px solid var(--line-dark);
  transition: background .3s;
}
.regions__tabs button::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; align-self: center; grid-row: span 2;
  box-shadow: inset 0 0 0 1px var(--ink-3);
  transition: background .3s, box-shadow .3s, transform .5s var(--ease);
}
.regions__name { font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink-3); transition: color .3s; }
.regions__hint { grid-column: 2; font-size: 14px; color: var(--ink-3); letter-spacing: .02em; }
.regions__tabs button:hover .regions__name { color: var(--ink); }
.regions__tabs button > span { transition: transform .5s var(--ease), color .3s; }
.regions__tabs button:hover > span, .regions__tabs button[aria-selected="true"] > span { transform: translateX(10px); }

.regions__tabs button[aria-selected="true"] .regions__name { color: var(--ink); }
.regions__tabs button[aria-selected="true"]::before {
  background: var(--ember); box-shadow: 0 0 0 5px rgba(255, 139, 77, .22), 0 3px 12px 1px rgba(255, 139, 77, .5); transform: scale(1.1);
}
.regions__tabs button:focus-visible { outline-offset: -2px; }

.regions__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 48px); align-items: end; }
.regions__plate { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sky-deep); box-shadow: 0 40px 70px -40px rgba(14, 35, 53, .6); }
.regions__plate img { width: 100%; height: 100%; object-fit: cover; transition: opacity .55s var(--ease), filter .55s var(--ease), transform .9s var(--ease); }
.regions__copy { display: grid; gap: 18px; transition: opacity .45s var(--ease), filter .45s var(--ease), transform .55s var(--ease); }
.regions__copy > p { color: var(--ink-2); max-width: 40ch; }
.is-swapping .regions__plate img { opacity: 0; filter: blur(16px); transform: scale(1.04); }
.is-swapping .regions__copy { opacity: 0; filter: blur(8px); transform: translateY(8px); }

.ticks { display: grid; }
.ticks li { padding: 12px 0 12px 26px; border-top: 1px solid var(--line-dark); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 12px; height: 1px; background: var(--ember-ink); }

/* ---------- TREATMENTS ---------- */
.treat { padding-block: var(--section); background: linear-gradient(180deg, var(--paper) 0%, var(--mist-2) 100%); }
.treat__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.treat__aside { display: grid; gap: 24px; position: sticky; top: 32px; }
.treat__aside > p { color: var(--ink-2); max-width: 40ch; }
.treat__photo { margin-top: 16px; aspect-ratio: 3 / 2; overflow: hidden; }
.treat__photo img { width: 100%; height: 100%; object-fit: cover; }

.price { border-top: 1px solid var(--ink); }
.price__row {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line-dark);
  transition: background .3s;
}
.price__row > div { transition: transform .45s var(--ease); }
.price__row:hover > div { transform: translateX(10px); }
.price__row h3 { font-weight: 400; font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -0.01em; line-height: 1.3; }
.price__row p { color: var(--ink-3); font-size: 15px; margin-top: 4px; max-width: 52ch; }
.price__val { font-weight: 200; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- DOCTOR ---------- */
.doc { padding-block: var(--section); background: linear-gradient(180deg, var(--paper), var(--mist-2) 60%, var(--mist)); }
.doc__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.doc__photo { aspect-ratio: 3 / 4; overflow: hidden; box-shadow: 0 40px 80px -44px rgba(14, 35, 53, .6); }
.doc__photo img { width: 100%; height: 100%; object-fit: cover; }
.doc__copy { display: grid; gap: 22px; }
.doc__role { text-transform: uppercase; letter-spacing: .08em; font-size: 15px; color: var(--ember-ink); font-weight: 400; }
.doc__bio { max-width: 58ch; font-size: clamp(17px, 1.2vw, 19px); color: var(--ink-2); }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 12px; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--line-dark); }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 4px; }
.facts dd { font-weight: 400; line-height: 1.45; overflow-wrap: anywhere; }
.facts--light > div { border-color: var(--line-light); }
.facts--light dt { color: rgba(255, 255, 255, .82); }

/* ---------- VISIT ---------- */
.band--sky {
  background: linear-gradient(160deg, var(--sky-deep) 0%, var(--sky) 55%, #3a72a6 100%);
  color: #fff;
}
.visit { padding-block: var(--section); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); margin-top: clamp(48px, 6vw, 88px); }
.steps li { display: grid; gap: 14px; align-content: start; border-top: 1px solid var(--line-light); padding-top: 24px; }
.steps__n { font-weight: 200; font-size: clamp(3.5rem, 5vw, 5rem); line-height: 1; letter-spacing: -0.04em; color: rgba(255, 255, 255, .95); }
.steps h3 { font-weight: 400; font-size: clamp(1.25rem, 1.6vw, 1.5rem); letter-spacing: -0.01em; }
.steps p { color: rgba(255, 255, 255, .92); max-width: 36ch; }

/* ---------- REVIEWS ---------- */
.reviews { padding-block: var(--section); background: linear-gradient(180deg, var(--mist-2) 0%, var(--paper) 70%); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(40px, 5vw, 72px); }
.quote { display: grid; gap: 18px; padding-top: 22px; border-top: 1px solid var(--line-dark); }
.quote p { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink); }
.quote footer { font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.quote--lead { grid-row: span 2; border-top-color: var(--ink); }
.quote--lead p { font-weight: 200; font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.3; letter-spacing: -0.025em; }

/* ---------- FAQ ---------- */
.faq { position: relative; isolation: isolate; overflow: hidden; padding-block: 0 var(--section); background: linear-gradient(180deg, var(--paper) 0%, var(--mist-2) 55%, #b9cbdb 100%); }
.faq__plate {
  position: absolute; z-index: -1; left: 0; bottom: 0; width: min(38vw, 560px); height: 100%;
  object-fit: cover; object-position: 30% 40%;
  -webkit-mask-image: linear-gradient(90deg, #000 35%, transparent 95%), linear-gradient(0deg, #000 60%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 35%, transparent 95%), linear-gradient(0deg, #000 60%, transparent);
  mask-composite: intersect;
  mix-blend-mode: multiply; opacity: .55;
}
.faq .h2 { align-self: start; }
.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-dark); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(1.1rem, 1.4vw, 1.3rem); font-weight: 400;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .45s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: #fff; }
.faq summary:hover::after { background-color: #fff; }
.faq details p { padding: 0 0 24px; max-width: 60ch; color: var(--ink-2); }

/* ---------- CONTACT ---------- */
.contact {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: var(--section);
  background: linear-gradient(150deg, var(--sky-deep) 0%, var(--sky) 60%, #3a72a6 100%);
  color: #fff;
}
.contact__plate {
  position: absolute; z-index: -1; right: 0; top: 0; height: 100%; width: 42%;
  object-fit: cover; object-position: center 30%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%);
  mask-image: linear-gradient(90deg, transparent, #000 45%);
  opacity: .5; mix-blend-mode: luminosity;
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__lead { display: grid; gap: 24px; }
.contact__lead > p { max-width: 40ch; font-size: clamp(17px, 1.3vw, 20px); }
.contact__info { display: grid; gap: 28px; }
.contact__info .facts { margin-top: 0; }
.contact__info a { text-decoration: underline; text-decoration-color: var(--line-light); }
.map { aspect-ratio: 16 / 9; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-light); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(.95) brightness(1.02); }

/* ---------- FOOTER ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 14px; padding-block: 32px; }
.foot__grid { display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: center; }
.foot__brand { color: #fff; text-transform: uppercase; letter-spacing: .1em; font-weight: 400; }

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; z-index: 40; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 58px; padding: 8px 10px 8px 24px; border-radius: 999px;
  background: rgba(44, 100, 150, .9); color: #fff; text-decoration: none;
  font-size: 15px; letter-spacing: .1em; text-transform: uppercase; font-weight: 400;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 16px 32px -14px rgba(14, 35, 53, .6);
  transform: translateY(140%); transition: transform .6s var(--ease);
}
.dock.is-visible { transform: none; }

/* ---------- booking dialog ---------- */
.book {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  margin: auto; padding: 0; border: 0; border-radius: 0; overflow: hidden;
  background: transparent; color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(14, 35, 53, .7);
}
.book::backdrop {
  background: linear-gradient(160deg, rgba(44, 100, 150, .55), rgba(14, 35, 53, .6));
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.book__panel {
  max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background:
    radial-gradient(120% 60% at 100% 0%, rgba(255, 139, 77, .14), transparent 60%),
    linear-gradient(180deg, var(--paper) 0%, var(--paper) 40%, var(--mist-2) 100%);
  padding: clamp(24px, 4vw, 44px);
}
.book__head { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.book__title { font-weight: 200; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1; letter-spacing: -0.035em; }
.book__sub { margin-top: 10px; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.book__close {
  all: unset; box-sizing: border-box; cursor: pointer; flex: none;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark), 0 6px 16px -10px rgba(14, 35, 53, .5);
  transition: transform .4s var(--ease);
}
.book__close svg { width: 16px; height: 16px; }
.book__close:hover { transform: rotate(90deg); }
.book__close:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

.book__form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; padding-top: 24px; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; border: 0; margin: 0; padding: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > legend { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); font-weight: 400; padding: 0; margin-bottom: 8px; }
.field > label { margin-bottom: 0; }
.opt { text-transform: none; letter-spacing: 0; color: var(--ink-3); font-weight: 300; }
.field input, .field textarea {
  font: inherit; font-weight: 400; color: var(--ink); width: 100%;
  min-height: 52px; padding: 12px 16px; border-radius: 0; border: 0;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 92px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #566e82; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--sky), 0 0 0 4px rgba(58, 117, 169, .16); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #b3261e; }
.field input[type="date"] { color-scheme: light; }
.field__err { font-size: 13px; color: #a3231b; min-height: 0; }
.field__err:empty { display: none; }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-dark);
  font-size: 15px; font-weight: 400; color: var(--ink-2);
  transition: background .25s, color .25s, box-shadow .25s;
}
.seg label:hover span { box-shadow: inset 0 0 0 1px var(--ink-3); color: var(--ink); }
.seg input:checked + span { background: var(--sky); color: #fff; box-shadow: inset 0 0 0 1px var(--sky), 0 8px 18px -10px rgba(44, 100, 150, .8); }
.seg input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.seg--sm { gap: 6px; }
.seg--sm span { padding: 0 13px; font-size: 14px; }

.consent { display: flex; gap: 12px; align-items: start; font-size: 15px; color: var(--ink-2); cursor: pointer; line-height: 1.45; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--sky); }

.book__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding-top: 4px; }
.pill--submit { border: 0; cursor: pointer; font-family: inherit; }
.pill--submit[aria-busy="true"] { opacity: .7; pointer-events: none; }
.book__hint { font-size: 14px; color: var(--ink-3); }

.book__done { display: grid; justify-items: start; gap: 16px; padding-top: 28px; }
.book__done[hidden], .book__form[hidden] { display: none; }
.book__done:focus { outline: none; }
.book__done p { color: var(--ink-2); max-width: 46ch; }
.book__tick { width: 56px; height: 56px; color: var(--sky); }

@media (prefers-reduced-motion: no-preference) {
  .book[open] { animation: bookIn .6s var(--ease) both; }
  .book[open]::backdrop { animation: fade .4s ease both; }
}
@keyframes bookIn { from { opacity: 0; transform: translateY(24px) scale(.98); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fade { from { opacity: 0; } }
html:has(.book[open]) { overflow: hidden; }

/* ---------- responsive ---------- */
@media (min-width: 821px) {
  .dock { left: auto; right: 28px; bottom: 28px; }
}
@media (max-width: 1080px) {
  .hero__side { grid-column: 1 / span 4; }
  .hero__main { grid-column: 5 / -1; }
  .regions__panel { grid-template-columns: 1fr; }
  .regions__plate { aspect-ratio: 16 / 11; }
}

@media (max-width: 820px) {
  .bar__links { display: none; }
  .hero { min-height: auto; }
  .hero__plate { object-position: 30% 20%; }
  .hero__veil {
    background: linear-gradient(180deg, rgba(44, 100, 150, .55) 0%, rgba(44, 100, 150, .1) 30%, rgba(44, 100, 150, .55) 62%, rgba(80, 125, 165, .85) 100%);
  }
  .hero__grid { grid-template-columns: 1fr; row-gap: 40px; padding-top: clamp(180px, 32svh, 300px); }
  .hero__side, .hero__main { grid-column: 1; }
  .hero__side { order: 2; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
  .plate--hero { width: 132px; }
  .hero__tag { font-size: 16px; }

  .band__grid { grid-template-columns: 1fr auto; row-gap: 28px; }
  .band__claim { grid-column: 1 / -1; }
  .plate--band { width: 140px; }
  .stat { justify-self: start; text-align: left; }

  .regions__head, .regions__body, .treat__grid, .doc__grid, .faq__grid, .contact__grid, .reviews__grid { grid-template-columns: 1fr; }
  .regions__intro { justify-self: start; }
  .regions__tabs button { padding-block: 16px; }
  .treat__aside { position: static; }
  .faq__plate { display: none; }
  .doc__photo { aspect-ratio: 4 / 4.4; }
  .steps { grid-template-columns: 1fr; }
  .quote--lead { grid-row: auto; }
  .contact__plate { width: 100%; opacity: .4; -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
  .foot { padding-bottom: 100px; }
}

@media (max-width: 480px) {
  .hide-xs { display: none; }
  .facts { grid-template-columns: 1fr; }
  .book__form { grid-template-columns: 1fr; }

  .pill { gap: 14px; padding-left: 22px; font-size: 14px; }
  .price__row { grid-template-columns: 1fr; gap: 6px; }
}
