/* Medilux – prototype F · light "scan" */
:root {
  --plum: #590032;
  --wine: #7B124D;
  --brand: #992667;
  --rose: #AE4580;
  --pink: #CD73A6;
  --ink: #1d1220;
  --muted: #5d5262;
  --line: #ebe4ec;
  --line-2: #ddd2de;
  --tint: #faf1f6;
  --white: #fff;
  --max: 1240px;
  --win: 1400px;
  --gut: clamp(20px, 3vw, 40px);
  --inset: clamp(12px, 1.8vw, 24px);
  --r-win: clamp(24px, 3vw, 40px);
  --r: 24px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --font: "Host Grotesk", "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
html.static { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 12px 18px; border-radius: 12px; }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Type ---------- */
.hero__title, .h2, .h3, .h4, .fig__n { font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; color: var(--ink); }
.hero__title { font-size: clamp(40px, 5.4vw, 80px); letter-spacing: -0.045em; line-height: 1.0; text-wrap: balance; }
.h2 { font-size: clamp(34px, 4vw, 58px); text-wrap: balance; }
.h3 { font-size: clamp(26px, 2.3vw, 34px); letter-spacing: -0.03em; }
.h4 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
.accent { color: var(--brand); }
.lead { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); max-width: 36em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font: 600 17px/1 var(--font); letter-spacing: -0.01em; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn--plum { background: var(--brand); color: #fff; }
.btn--plum:hover { background: var(--wine); box-shadow: 0 12px 28px -14px rgba(153,38,103,.7); }
.btn--ghost { background: rgba(255,255,255,.7); color: var(--brand); border-color: rgba(153,38,103,.3); }
.btn--ghost:hover { border-color: var(--brand); background: #fff; }
.btn--white { background: #fff; color: var(--brand); }
.btn--white:hover { background: #f6e9f1; }
.btn--line { color: #fff; border-color: rgba(255,255,255,.4); }
.btn--line:hover { border-color: #fff; }
.link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1.5px solid transparent; }
.link:hover { border-bottom-color: currentColor; }
.link--light { color: #fff; }

/* ---------- Navigation: full width, transparent → frosted on scroll ---------- */
.nav {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,0);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav.is-compact {
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 rgba(89,0,50,.08);
}
.nav__bar {
  position: relative;
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut);
  height: 88px; display: flex; align-items: center; gap: 6px;
  transition: height .4s var(--ease);
}
.nav.is-compact .nav__bar { height: 68px; }
.nav__logo { display: flex; align-items: center; flex: none; margin-right: 28px; }
.nav__logo img { height: 42px; width: auto; transition: height .4s var(--ease); }
.nav.is-compact .nav__logo img { height: 34px; }
.nav__links { display: flex; gap: 2px; margin: 0 auto 0 0; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 500; text-decoration: none; color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1.5px; background: var(--brand); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a:hover { color: var(--brand); }
.nav__phone { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-size: 16px; font-weight: 600; text-decoration: none; color: var(--brand); white-space: nowrap; }
.nav__toggle { display: none; }
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.nav__progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--pink), var(--brand)); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero__window {
  position: relative; overflow: hidden;
  max-width: none; margin: 0;
  border-radius: 0;
  padding: clamp(128px, 10vw, 152px) var(--gut) clamp(56px, 6vw, 96px);
  background:
    radial-gradient(52% 46% at 50% 72%, rgba(153,38,103,.16), rgba(153,38,103,0) 70%),
    radial-gradient(38% 36% at 8% 6%, rgba(174,69,128,.09), rgba(174,69,128,0) 70%),
    radial-gradient(34% 30% at 96% 30%, rgba(153,38,103,.07), rgba(153,38,103,0) 70%),
    linear-gradient(180deg, #fdfbfd 0%, #f6f0f6 100%);
  border-bottom: 1px solid var(--line);
}
.hero__copy { text-align: center; max-width: 980px; margin: 0 auto; }
.hero__title { margin: 0 auto; }
@media (max-width: 1000px) { .br-d { display: none; } }
.hero__title .accent { display: inline; }
.hero__lead { margin: 24px auto 0; max-width: 34em; font-size: clamp(19px, 1.5vw, 21px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

.stage {
  --lead: clamp(28px, 3.4vw, 56px);
  position: relative; max-width: var(--max); margin: clamp(32px, 4vw, 56px) auto 0;
  display: grid; grid-template-columns: 1fr minmax(0, 580px) 1fr; align-items: center; column-gap: var(--lead);
}
.stage__col { display: grid; gap: 20px; }
.stage__col--l { justify-items: end; }
.stage__col--r { justify-items: start; }
.scan { position: relative; width: 100%; aspect-ratio: 1; margin: 0 auto; transform: translate3d(0, calc(var(--hs, 0) * 70px), 0) scale(calc(1 - var(--hs, 0) * .08)); }
.scan canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.chip {
  position: relative; z-index: 2;
  display: grid; gap: 4px;
  width: 100%; max-width: 290px; padding: 20px 22px 22px;
  background: #fff; border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(89,0,50,.07), 0 18px 40px -24px rgba(89,0,50,.4);
  text-decoration: none; color: var(--ink);
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
}
/* leader line from each card toward the eye */
.stage__col .chip::before, .stage__col .chip::after { content: ""; position: absolute; top: 50%; pointer-events: none; }
.stage__col .chip::before { width: var(--lead); height: 1px; transition: transform .9s var(--ease); }
.stage__col .chip::after { width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(153,38,103,.12); transition: opacity .4s; }
.stage__col--l .chip::before { left: 100%; background: linear-gradient(90deg, rgba(153,38,103,.45), rgba(153,38,103,.12)); transform-origin: left; }
.stage__col--l .chip::after { left: calc(100% + var(--lead) - 4px); }
.stage__col--r .chip::before { right: 100%; background: linear-gradient(270deg, rgba(153,38,103,.45), rgba(153,38,103,.12)); transform-origin: right; }
.stage__col--r .chip::after { right: calc(100% + var(--lead) - 4px); }
.chip__k { font-size: 15px; color: var(--muted); }
.chip__v { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.chip__s { font-size: 15px; color: var(--muted); line-height: 1.4; }
.chip__num { font-size: 42px; font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; color: var(--brand); font-variant-numeric: tabular-nums; }
.chip__dot { position: absolute; top: 22px; right: 22px; width: 10px; height: 10px; border-radius: 50%; background: #1f9d63; box-shadow: 0 0 0 4px rgba(31,157,99,.14); }
.is-closed .chip__dot, .chip__dot.is-closed { background: var(--rose); box-shadow: 0 0 0 4px rgba(174,69,128,.16); }

/* ---------- Quick info strip ---------- */
.quick { background: #fff; border-bottom: 1px solid var(--line); }
.quick__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick__list li { display: grid; gap: 2px; align-content: center; padding: 28px 28px; border-left: 1px solid var(--line); }
.quick__list li:first-child { border-left: 0; padding-left: 0; }
.quick__k { font-size: 15px; color: var(--muted); }
.quick strong { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }
.quick a { text-decoration: none; color: var(--ink); }
.quick a:hover strong { color: var(--brand); }

/* ---------- Sections ---------- */
.section { padding: clamp(84px, 10vw, 150px) 0; }
.section--slim { padding-top: 0; padding-bottom: 0; }
.section--tint {
  max-width: none; margin: 0;
  width: auto;
  border-radius: 0;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(153,38,103,.10), rgba(153,38,103,0) 70%),
    #fbf3f7;
}
.head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 820px; }
.head--row { max-width: none; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; }
.head--row .lead { max-width: 28em; }

/* ---------- Specialties ---------- */
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.module {
  display: flex; flex-direction: column;
  border-radius: 32px; padding: 12px;
  background: var(--tint);
  box-shadow: inset 0 0 0 1px rgba(89,0,50,.05);
}
.module__img { border-radius: 22px; aspect-ratio: 2 / 1; }
.module__img img { transition: transform 1.1s var(--ease); }
.module:hover .module__img img { transform: scale(1.045); }
.module { transition: box-shadow .5s var(--ease), transform .5s var(--ease); }
.module:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(89,0,50,.07), 0 30px 60px -36px rgba(89,0,50,.45); }
.module__body { padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.module__body > p { color: var(--muted); }
.svc { border-top: 1px solid var(--line-2); }
.svc a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 16px;
  min-height: 60px; padding: 12px 4px;
  border-bottom: 1px solid var(--line-2);
  font-size: 19px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none;
  transition: color .2s, padding .3s var(--ease);
}
.svc small { grid-column: 1; grid-row: 2; font-size: 16px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.svc a > span { grid-column: 2; grid-row: 1 / span 2; color: var(--brand); transition: transform .3s var(--ease); }
.svc a:hover { color: var(--brand); padding-left: 10px; }
.svc a:hover > span { transform: translateX(4px); }
.signs { margin-top: auto; padding: 20px; border-radius: 20px; background: #fff; }
.signs__t { font-weight: 600; margin-bottom: 12px; }
.signs ul { display: flex; flex-wrap: wrap; gap: 8px; }
.signs li { font-size: 16px; padding: 6px 14px; border-radius: 999px; background: var(--tint); color: var(--ink); }
.brief { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.brief div { display: grid; gap: 2px; }
.brief dt { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--brand); line-height: 1.2; }
.brief dd { font-size: 16px; color: var(--muted); line-height: 1.35; }

/* ---------- Photo grade (cool plum) ---------- */
.grade { position: relative; overflow: hidden; background: #2b0a1d; isolation: isolate; }
.grade img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.45) saturate(.9) contrast(1.04) brightness(1.02); }
.grade::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(160deg, #8f86b4 0%, #8a5a8c 50%, #6b1a4d 100%);
  mix-blend-mode: color; opacity: .16;
}
.grade::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(80% 70% at 30% 20%, rgba(255,240,250,.22), rgba(255,240,250,0) 60%);
  mix-blend-mode: screen;
}
.grade--portrait img { object-position: 50% 12%; }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process__side { position: sticky; top: 130px; display: grid; gap: 22px; justify-items: start; }
.steps { position: relative; padding-left: 52px; display: grid; gap: clamp(48px, 6vw, 80px); padding-top: 6px; }
.steps::before, .steps::after {
  content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px;
}
.steps::before { background: var(--line-2); }
.steps::after { background: linear-gradient(var(--pink), var(--brand)); transform-origin: top; transform: scaleY(var(--p, 1)); }
html.js:not(.static) .steps::after { transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; gap: 10px; }
.step::before {
  content: ""; position: absolute; left: -52px; top: 4px;
  width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: inset 0 0 0 2px var(--line-2);
  transition: box-shadow .4s, background-color .4s;
}
.step.on::before, html.static .step::before, html:not(.js) .step::before { background: var(--brand); box-shadow: inset 0 0 0 6px #f6dbe9, 0 0 0 1px var(--brand); }
.step p { color: var(--muted); max-width: 34em; }

/* ---------- Doctor ---------- */
.doc { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.doc__photo { border-radius: 32px; aspect-ratio: 4 / 5; }
.doc__body { display: grid; gap: 20px; justify-items: start; }
.doc__role { font-weight: 600; color: var(--brand); }
.facts { width: 100%; border-top: 1px solid var(--line-2); margin-top: 8px; }
.facts div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.facts dt { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.facts dd { color: var(--muted); }

.team { margin-top: clamp(80px, 9vw, 130px); }
.team__title { margin-bottom: 32px; }
.team__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.person figure { border-radius: 24px; aspect-ratio: 4 / 5; margin-bottom: 16px; }
.person__name { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.3; }
.person__role { font-size: 16px; color: var(--muted); }
.person__bio { margin-top: 12px; color: var(--muted); max-width: 40em; }
.person--wide { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.person--wide figure { margin-bottom: 0; aspect-ratio: auto; min-height: 100%; }
.person--wide figure img { position: absolute; inset: 0; }
.person--wide > div { padding: 28px; border-radius: 24px; background: var(--tint); align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; }
.person--wide .person__name { font-size: clamp(24px, 2vw, 30px); letter-spacing: -0.025em; }

/* ---------- Figures ---------- */
.figs { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 24px; }
.fig { padding: 28px; border-radius: 28px; background: #fff; display: flex; flex-direction: column; gap: 8px; box-shadow: inset 0 0 0 1px rgba(89,0,50,.05); }
.fig__n { font-size: clamp(54px, 5.4vw, 84px); font-weight: 500; letter-spacing: -0.055em; line-height: .95; color: var(--brand); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fig__l { color: var(--muted); max-width: 18em; }
.fig--bar .fig__l { max-width: none; }
.fig:not(.fig--bar) .fig__l { margin-top: auto; padding-top: 40px; }
.bar { display: flex; gap: 3px; height: 14px; margin-top: 18px; border-radius: 999px; overflow: hidden; }
.bar span { flex: var(--w) 1 0; background: var(--brand); transform-origin: left; transition: transform 1.2s var(--ease); }
.bar span:nth-child(2) { background: var(--pink); }
.bar span:nth-child(3) { background: #e9bcd5; }
html.js:not(.static) .fig--bar:not(.in) .bar span { transform: scaleX(0); }
.bar__legend { display: grid; gap: 6px; margin-top: 10px; font-size: 16px; color: var(--muted); }
.bar__legend li { display: flex; gap: 10px; align-items: baseline; }
.bar__legend i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); transform: translateY(1px); }
.bar__legend li:nth-child(2) i { background: var(--pink); }
.bar__legend li:nth-child(3) i { background: #e9bcd5; }
.equip { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; padding: 22px 28px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(89,0,50,.05); }
.equip__t { font-weight: 600; }
.equip ul { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.equip li { color: var(--muted); }
.equip strong { color: var(--ink); font-weight: 600; margin-right: 6px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(3, clamp(180px, 20vw, 280px)); gap: 16px; margin-bottom: 24px; }
.g { border-radius: 28px; margin: 0; }
.g img { position: absolute; inset: 0; }
.g figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--plum); font-size: 15px; font-weight: 600; }
.g--a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.g--b { grid-column: 8 / span 5; grid-row: 1; }
.g--c { grid-column: 8 / span 5; grid-row: 2; }
.g--d { grid-column: 1 / -1; grid-row: 3; }
.g--d img { object-position: 50% 62%; }

/* ---------- Placeholders ---------- */
.ph { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ph__box { padding: 32px; border-radius: 28px; border: 1.5px dashed #c8b4c3; color: var(--muted); min-height: 200px; display: grid; align-content: start; gap: 10px; }
.ph__t { font-weight: 600; color: var(--brand); font-size: 20px; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post a { display: grid; gap: 8px; text-decoration: none; }
.post figure { border-radius: 24px; aspect-ratio: 4 / 3; margin-bottom: 10px; }
.post figure img { transition: transform .8s var(--ease); }
.post a:hover figure img { transform: scale(1.04); }
.post time { font-size: 16px; color: var(--muted); }
.post__t { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.post a:hover .post__t { color: var(--brand); }
.post p { color: var(--muted); font-size: 17px; }

/* ---------- Contact: light section + pink booking card ---------- */
.contact { padding: clamp(84px, 10vw, 150px) 0; background: var(--tint); }
.ct { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, 500px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ct__main { display: grid; gap: 22px; align-content: start; }
.ct__list { margin-top: 18px; border-top: 1px solid var(--line-2); }
.ct__list > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.ct__list dt { font-size: 16px; color: var(--muted); }
.ct__list dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; font-size: 19px; font-weight: 500; color: var(--ink); }
.ct__val { color: var(--ink); text-decoration: none; word-break: break-word; background: linear-gradient(var(--brand), var(--brand)) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.ct__val:hover { color: var(--brand); background-size: 100% 1.5px; }
.ct__link { display: inline-flex; gap: 6px; font-size: 16px; font-weight: 600; color: var(--brand); text-decoration: none; }
.ct__link:hover { text-decoration: underline; text-underline-offset: 4px; }

.book {
  position: relative; overflow: hidden;
  padding: clamp(28px, 3vw, 40px); border-radius: 28px; color: #fff;
  background-color: var(--brand);
  background-image: radial-gradient(80% 60% at 100% 0%, rgba(205,115,166,.55), rgba(205,115,166,0) 70%);
  box-shadow: 0 30px 60px -34px rgba(123,18,77,.7);
}
.book__t { font-size: clamp(26px, 2.2vw, 32px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.book__status { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 16px; font-weight: 500; color: #fff; }
.book__status .chip__dot { position: static; flex: none; width: 9px; height: 9px; background: #7ff0b5; box-shadow: 0 0 0 4px rgba(127,240,181,.2); }
.book__status.is-closed .chip__dot { background: #ffd1e6; box-shadow: 0 0 0 4px rgba(255,209,230,.2); }
.book .hours { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 17px; }
.book .hours th, .book .hours td { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); font-weight: 400; white-space: nowrap; }
.book .hours th { text-align: left; }
.book .hours td { text-align: right; font-variant-numeric: tabular-nums; }
.book .hours tr.is-op td { color: #ffe1f0; font-weight: 600; }
.book .hours tr.is-off th, .book .hours tr.is-off td { color: rgba(255,255,255,.82); }
.book .hours tr.today th, .book .hours tr.today td { font-weight: 600; }
.book .hours tr.today th::after { content: "dnes"; display: inline-block; margin-left: 10px; padding: 1px 9px; border-radius: 999px; background: #fff; color: var(--brand); font-size: 13px; font-weight: 600; line-height: 1.6; vertical-align: 2px; }
.book__actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 26px; }
.book .btn--white { color: var(--brand); }

/* ---------- Footer ---------- */
.foot { background: #fff; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.foot__grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 32px; padding-top: 18px; padding-bottom: 22px; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin-right: -10px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--brand); }

/* ---------- Mobile bar ---------- */
.mbar { display: none; }

/* ---------- Motion (JS + not static only; content visible without JS) ---------- */
html.js:not(.static) .rv { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js:not(.static) .rv.in { opacity: 1; transform: none; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
html.js:not(.static) [data-split] .w > span { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
html.js:not(.static) [data-split].in .w > span { transform: none; }
html.js:not(.static) .clip { clip-path: inset(10% 8% 10% 8% round 28px); transition: clip-path 1.3s var(--ease); }
html.js:not(.static) .clip.in { clip-path: inset(0 0 0 0 round 28px); }
/* the eye comes into focus */
html.js:not(.static) .scan canvas { opacity: 0; filter: blur(18px); scale: .9; transition: opacity 1.2s var(--ease) .15s, filter 1.8s var(--ease) .15s, scale 1.8s var(--ease) .15s; }
html.js:not(.static) .stage.in .scan canvas { opacity: 1; filter: blur(0); scale: 1; }
/* cards slide in from the sides, then their leader lines draw to the eye */
html.js:not(.static) .stage__col .chip { opacity: 0; translate: 0 18px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
html.js:not(.static) .stage__col--l .chip { translate: -28px 0; }
html.js:not(.static) .stage__col--r .chip { translate: 28px 0; }
html.js:not(.static) .stage.in .stage__col .chip { opacity: 1; translate: 0 0; }
html.js:not(.static) .stage.in .stage__col--l .chip:nth-child(1) { transition-delay: .7s; }
html.js:not(.static) .stage.in .stage__col--r .chip:nth-child(1) { transition-delay: .85s; }
html.js:not(.static) .stage.in .stage__col--l .chip:nth-child(2) { transition-delay: 1s; }
html.js:not(.static) .stage.in .stage__col--r .chip:nth-child(2) { transition-delay: 1.15s; }
html.js:not(.static) .stage__col .chip::before { transform: scaleX(0); }
html.js:not(.static) .stage__col .chip::after { opacity: 0; }
html.js:not(.static) .stage.in .stage__col .chip::before { transform: scaleX(1); transition-delay: 1.5s; }
html.js:not(.static) .stage.in .stage__col .chip::after { opacity: 1; transition-delay: 2.1s; }
/* hero copy drifts up and fades as you scroll away */
.hero__copy { opacity: calc(1 - var(--hs, 0) * 1.4); transform: translate3d(0, calc(var(--hs, 0) * -40px), 0); }
@supports (animation-timeline: view()) {
  html.js:not(.static) .g img, html.js:not(.static) .doc__photo img {
    animation: settle linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 55%;
  }
  @keyframes settle { from { transform: scale(1.16); } to { transform: scale(1); } }
}
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links {
    display: none; position: absolute; top: 100%; left: var(--gut); right: var(--gut);
    flex-direction: column; gap: 0; padding: 8px; border-radius: 20px; background: #fff;
    box-shadow: 0 0 0 1px rgba(89,0,50,.07), 0 20px 40px -20px rgba(89,0,50,.35);
  }
  .nav__links.open { display: flex; }
  .nav__links a { min-height: 52px; font-size: 18px; padding: 0 18px; }
  .nav__phone { margin-left: auto; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--tint); cursor: pointer; flex: none;
  }
  .nav__burger, .nav__burger::before { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .3s; }
  .nav__burger::before { content: ""; position: absolute; top: 6px; }
  .nav__burger { transform: translateY(-3px); }
  .nav__toggle[aria-expanded="true"] .nav__burger { transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__burger::before { transform: translateY(-6px) rotate(-90deg); }
}
@media (max-width: 1000px) {
  .quick__list { grid-template-columns: 1fr 1fr; }
  .quick__list li:nth-child(3) { border-left: 0; padding-left: 0; }
  .quick__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .spec, .ph { grid-template-columns: 1fr; }
  .process, .doc { grid-template-columns: 1fr; }
  .ct { grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 40px; }
  .process__side { position: static; }
  .doc__photo { max-width: 520px; }
  .figs { grid-template-columns: 1fr 1fr; }
  .fig--bar { grid-column: 1 / -1; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid .person--wide { grid-column: 1 / -1; }
  .news { grid-template-columns: 1fr 1fr; }
  .news li:last-child { display: none; }
}
@media (max-width: 820px) {
  .ct { grid-template-columns: 1fr; }
  .book { max-width: 560px; }
}
@media (max-width: 720px) {
  body { padding-bottom: 76px; }
  .nav__phone, .nav__cta { display: none; }
  .nav__bar { height: 70px; }
  .nav__logo { margin-right: auto; }
  .nav__logo img, .nav.is-compact .nav__logo img { height: 32px; }
  .hero__window { padding-top: 112px; }
  .quick__list li { padding: 20px 14px; }
  .quick strong { font-size: 17px; }
  .chip { padding: 16px 16px 18px; }
  .chip__num { font-size: 32px; }
  .chip__v { font-size: 17px; }
  .chip__dot { top: 18px; right: 16px; }
  .hero__actions .btn { width: 100%; }
  .head--row { grid-template-columns: 1fr; }
  .stage { grid-template-columns: 1fr 1fr; gap: 10px; }
  .chip__k, .chip__s { font-size: 14px; }
  .quick strong { font-size: 16px; }
  .scan { width: min(420px, 100%); margin-bottom: 4px; }
  .figs { grid-template-columns: 1fr; }
  .fig { padding: 24px; }
  .team__grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .person--wide { grid-template-columns: 1fr; }
  .person--wide figure { aspect-ratio: 4 / 5; min-height: 0; }
  .fig:not(.fig--bar) .fig__l { padding-top: 16px; }
  .person--wide > div { padding: 22px; }
  .brief { grid-template-columns: 1fr 1fr; }
  .person__name { font-size: 18px; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 160px; gap: 10px; }
  .g--a { grid-column: 1 / -1; grid-row: span 2; }
  .g--b, .g--c { grid-column: auto; grid-row: auto; }
  .g--d { grid-column: 1 / -1; grid-row: auto; }
  .g, html.js:not(.static) .clip.in { border-radius: 20px; }
  .news { grid-template-columns: 1fr; }
  .news li:last-child { display: block; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .module { border-radius: 26px; padding: 8px; }
  .module__body { padding: 22px 14px 16px; }
  .ct__list > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
  .ct__list dd { font-size: 18px; }
  .book { padding: 24px 20px; border-radius: 24px; }
  .book__actions { grid-template-columns: 1fr; }
  .foot ul { margin: 0 0 0 -10px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -1px 0 rgba(89,0,50,.1), 0 -12px 30px -18px rgba(89,0,50,.3);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: 999px; font-weight: 600; text-decoration: none; }
  .mbar a:first-child { color: var(--brand); box-shadow: inset 0 0 0 1.5px rgba(153,38,103,.35); }
  .mbar a:last-child { background: var(--brand); color: #fff; }
}

.chip--status .chip__k { padding-right: 22px; }

/* ---------- Team: bio on hover / focus / tap ---------- */
.person__card { position: relative; display: block; border-radius: 24px; margin-bottom: 16px; cursor: pointer; outline-offset: 4px; }
.person__card figure { margin-bottom: 0; }
.person__over {
  position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end;
  padding: 24px; border-radius: 24px; overflow: hidden;
  background: linear-gradient(180deg, rgba(153,38,103,.55) 0%, rgba(123,18,77,.94) 45%, rgba(89,0,50,.97) 100%);
  color: #fff; font-size: 16px; line-height: 1.5;
  clip-path: inset(100% 0 0 0 round 24px);
  transition: clip-path .7s var(--ease);
}
.person__over-t { display: block; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.person__more {
  position: absolute; z-index: 4; right: 14px; bottom: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--brand); font-size: 22px; font-weight: 500; line-height: 1;
  box-shadow: 0 8px 20px -10px rgba(89,0,50,.5);
  transition: transform .5s var(--ease), background-color .3s, color .3s;
}
.person__card:hover .person__over, .person__card:focus-visible .person__over, .person--bio.is-open .person__over { clip-path: inset(0 0 0 0 round 24px); }
.person__card:hover .person__over-t, .person__card:focus-visible .person__over-t, .person--bio.is-open .person__over-t { opacity: 1; transform: none; transition-delay: .15s; }
.person__card:hover .person__more, .person__card:focus-visible .person__more, .person--bio.is-open .person__more { transform: rotate(45deg); background: rgba(255,255,255,.18); color: #fff; }
.person--bio .person__card img { transition: transform 1s var(--ease); }
.person--bio .person__card:hover img { transform: scale(1.05); }
html.static .person__over, html.static .person__over-t { transition: none; }
@media (max-width: 720px) {
  .person__over { padding: 16px; font-size: 14px; line-height: 1.45; }
  .person__more { width: 34px; height: 34px; right: 10px; bottom: 10px; font-size: 19px; }
}

/* team: 3 + 2 centred */
.team__grid { grid-template-columns: repeat(6, 1fr); gap: 40px 24px; }
.team__grid > li { grid-column: span 2; }
.team__grid > li:nth-child(4) { grid-column: 2 / span 2; }
@media (max-width: 1000px) {
  .team__grid { grid-template-columns: 1fr 1fr; }
  .team__grid > li, .team__grid > li:nth-child(4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .team__grid { grid-template-columns: 1fr; gap: 28px; }
  .person--bio .person__card figure { aspect-ratio: 4 / 3; }
  .person--bio .person__card img { object-position: 50% 18%; }
  .person__over { font-size: 15px; padding: 18px 20px; }
}

.section--follow { padding-top: 0; }

/* ---------- Responsive audit fixes ---------- */
@media (max-width: 1180px) {
  .stage { grid-template-columns: 1fr 1fr; gap: 14px; max-width: 760px; }
  .stage__col { display: contents; }
  .scan { grid-column: 1 / -1; order: -1; width: min(520px, 100%); margin-bottom: 8px; }
  .chip { max-width: none; transform: none; }
  .stage__col .chip::before, .stage__col .chip::after { display: none; }
  .ct__list > div { grid-template-columns: 1fr; gap: 2px; padding: 16px 0; }
}
/* touch targets ≥ 44px */
.nav__logo { min-height: 44px; }
.ct__val, .ct__link, .quick a { display: inline-flex; align-items: center; min-height: 44px; }
.quick li { align-content: center; }
.ct__val { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 380px) {
  .book .hours { font-size: 15px; }
  .book .hours th { white-space: normal; }
  .book .hours tr.today th::after { margin-left: 6px; }
}
