/* ==========================================================================
   Dr. Adinai Rysbekova — design tokens
   ========================================================================== */
:root {
  --bg: #0f1320;
  --surface: #1b2236;
  --soft: #151a2b;
  --tint-50: #212a42;
  --tint-100: #2c3654;
  --tint-300: #6f7cad;
  --tint-400: #8c97c2;
  --accent: #aebcf0;
  --accent-ink: #c9d3ff;
  --dark: #242d4a;
  --ink: #eef1ff;
  --on-ink: #0f1320;
  --muted: #a3abc4;
  --line: rgba(220, 228, 255, .12);
  --focus: #aebcf0;
  --danger: #ff9d8c;
  --on-dark: #eef1ff;
  --on-dark-muted: #aab2c3;

  --font-display: "Noto Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;

  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 144px);
  --max: 1280px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: 220ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  counter-reset: sec;
}
img { max-width: 100%; display: block; }
picture { display: contents; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; border-radius: 8px;
  text-decoration: none; transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--soft); }
.muted { color: var(--muted); }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-display); font-weight: 300; margin: 0;
  letter-spacing: -.02em; line-height: 1.02; text-wrap: balance;
}
h1 { font-size: clamp(38px, 6.1vw, 92px); line-height: .96; }
h2 { font-size: clamp(36px, 5vw, 68px); }
h3 { font-size: clamp(23px, 2.1vw, 30px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px;
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.section-head > .eyebrow {
  counter-increment: sec; display: flex; align-items: baseline; gap: 14px; width: 100%;
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: 13px; color: var(--ink); letter-spacing: .01em;
}
.section-head > .eyebrow::before {
  content: "(" counter(sec, decimal-leading-zero) ")";
  font-family: var(--font-sans); font-weight: 600; font-variant-numeric: tabular-nums;
}
.section-head--rule { margin-bottom: 0; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); max-width: 52ch; margin: 24px 0 0; }

.section-head { display: grid; gap: 0; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-top: 20px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1.3fr 1fr; column-gap: 64px; align-items: end; }
  .section-head > .eyebrow { grid-column: 1 / -1; }
  .section-head > h2 { grid-column: 1; }
  .section-head > .lead { grid-column: 2; margin-top: 0; justify-self: end; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px;
  text-decoration: none; color: var(--ink); padding-block: 8px;
  border-bottom: 1px solid var(--line); transition: border-color var(--dur) var(--ease);
}
.link-arrow:hover { border-color: var(--ink); }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.header.is-scrolled { background: rgba(15, 19, 32, .82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.logo { display: grid; text-decoration: none; line-height: 1.1; }
.logo__name { font-family: var(--font-display); font-size: 20px; font-weight: 400; letter-spacing: -.01em; white-space: nowrap; }
.logo__role { font-size: 12px; color: var(--muted); margin-top: 2px; }
.nav { display: none; }
.nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); padding: 8px 10px; white-space: nowrap; border-radius: 999px; transition: background-color var(--dur) var(--ease); }
.nav a:hover { background: rgba(18, 22, 33, .06); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__cta { display: none; min-height: 44px; padding: 0 20px; font-size: 14px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--surface); }
.lang button {
  border: 0; background: none; cursor: pointer; min-width: 36px; height: 34px; padding: 0 9px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); }

.burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); display: grid; place-items: center; cursor: pointer; }
.burger span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: background-color var(--dur); }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0; z-index: 49; background: var(--bg);
  padding: 16px var(--gutter) 32px; display: flex; flex-direction: column; gap: 28px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
  overflow-y: auto;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu li a { display: block; padding: 14px 0; font-family: var(--font-display); font-weight: 300; letter-spacing: -.015em; font-size: 34px; line-height: 1.1; text-decoration: none; border-bottom: 1px solid var(--line); }
.lang--menu { align-self: flex-start; }
.lang--menu button { min-width: 52px; height: 40px; font-size: 13px; }

@media (max-width: 559px) { .header__actions > .lang { display: none; } }
@media (min-width: 560px) { .lang--menu { display: none; } }
@media (min-width: 1000px) {
  .nav { display: block; }
  .burger, .mobile-menu { display: none; }
}
@media (min-width: 1200px) { .header__cta { display: inline-flex; } .nav ul { gap: 4px; } }

/* ---------- Hero ---------- */
.hero { padding-top: 88px; padding-bottom: clamp(40px, 6vw, 80px); }
.hero { position: relative; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
  mask-image: linear-gradient(to bottom, #000 65%, transparent);
  opacity: 0; transition: opacity 1.4s var(--ease);
}
.hero__bg.is-ready { opacity: 1; }
/* Keeps the headline readable over the brighter highlights */
.hero h1 em { color: #c6d0ff; }
.hero .lead { color: #c3c9dc; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 19, 32, 0) 35%, rgba(15, 19, 32, .55) 75%, rgba(15, 19, 32, .2));
}
@media (min-width: 960px) {
  .hero::after { background: linear-gradient(90deg, rgba(15, 19, 32, .72) 0%, rgba(15, 19, 32, .45) 45%, rgba(15, 19, 32, 0) 72%); }
}
.hero__grid { display: grid; gap: 28px; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.hero .eyebrow { margin-bottom: 16px; }
.hero .lead { margin-top: 18px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }

.portrait { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--soft); aspect-ratio: 1 / 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }

@media (min-width: 600px) and (max-width: 959px) { .portrait { aspect-ratio: 16 / 11; } .portrait img { object-position: 50% 22%; } }
@media (min-width: 960px) {
  .hero { padding-top: 120px; }
  .hero__grid { grid-template-columns: 1.3fr .9fr; gap: 72px; align-items: center; }
  .hero__text { order: -1; }
  .portrait { aspect-ratio: 4 / 5; max-height: calc(100vh - 160px); justify-self: end; width: 100%; }
}

/* ---------- Trust strip ---------- */
.trust { padding-bottom: clamp(24px, 4vw, 48px); }
.trust__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .trust__list { grid-template-columns: repeat(4, 1fr); } }
.trust__list li { padding: 24px 16px 0 0; display: grid; gap: 6px; align-content: start; }
.trust__num { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; }
.trust__text { font-size: 14px; color: var(--muted); max-width: 28ch; }

/* ---------- About ---------- */
.about__grid { display: grid; gap: 56px; }
.about__text p { margin: 0 0 16px; max-width: 58ch; }
.about__text .lead { margin-top: 24px; }
.about__text .quote {
  font-family: var(--font-display); font-weight: 300; letter-spacing: -.015em; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2;
  margin: 32px 0; padding: 28px; border-radius: var(--radius); background: var(--surface); color: var(--accent-ink);
}
.focus-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.focus-list li { border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; background: var(--surface); }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 112px 1fr; column-gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline li > :not(.timeline__year) { grid-column: 2; }
.timeline__year { grid-row: span 2; font-family: var(--font-sans); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--muted); padding-top: 2px; }
.timeline__title { font-weight: 500; margin: 0; }
.timeline__desc { font-size: 14px; color: var(--muted); margin: 2px 0 0; }
.timeline__now { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; padding: 2px 10px; border-radius: 999px; background: var(--tint-50); color: var(--accent-ink); font-size: 12px; font-weight: 500; white-space: nowrap; vertical-align: 1px; }
.timeline__now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@media (max-width: 479px) {
  .timeline li { grid-template-columns: 1fr; row-gap: 4px; }
  .timeline li > :not(.timeline__year) { grid-column: 1; }
  .timeline__year { grid-row: auto; }
}

.diplomas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 24px; }
.about__approach { font-size: 17px; }
.about__text .subhead { margin: 28px 0 0; }
.about__text .focus-list { margin-top: 12px; }
.diplomas button {
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; background: var(--surface);
  aspect-ratio: 1.41; transition: transform var(--dur) var(--ease);
}
.diplomas button:hover { transform: translateY(-2px); }
.diplomas img { width: 100%; height: 100%; object-fit: cover; }
.diplomas-caption { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (min-width: 960px) { .about__grid { grid-template-columns: 1.1fr .9fr; gap: 96px; } }

/* ---------- Services / price ---------- */
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 40px; padding: 2px var(--gutter); }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }

.panel[hidden] { display: none; }
.panel { animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.panel__grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .panel__grid--split { grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: start; } }

.price-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.price-item { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.price-item__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.price-item__name { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; font-size: clamp(21px, 2vw, 26px); line-height: 1.2; }
.price-item__dots { display: none; }
.price-item__price { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 15px; padding: 4px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.price-item__desc { margin: 0; color: var(--muted); font-size: 15px; max-width: 60ch; }
@media (min-width: 900px) {
  .price-item { grid-template-columns: 1fr 1.1fr 120px; align-items: baseline; column-gap: 48px; }
  .price-item__row { display: contents; }
  .price-item__name { grid-column: 1; grid-row: 1; }
  .price-item__price { grid-column: 3; grid-row: 1; justify-self: end; }
  .price-item__desc { grid-column: 2; grid-row: 1; }
}

.card { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); }
.card--sage { background: var(--dark); color: var(--on-dark); border-color: transparent; }
.card--sage .muted { color: var(--on-dark-muted); }
.card__label { font-size: 13px; font-weight: 500; color: var(--muted); margin: 0 0 12px; }
.card--sage .card__label { color: var(--tint-300); }
.card__price { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; font-size: clamp(40px, 4.4vw, 56px); line-height: 1; margin: 0; }
.range-dash { margin: 0 .14em; }
.card__price small { white-space: nowrap; display: inline-block; }
.card__price small { font-family: var(--font-sans); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.card p { margin: 12px 0 0; }

.checklist { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checklist svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.subhead { font-size: 13px; font-weight: 600; color: var(--muted); margin: 28px 0 0; }

.tiers { display: grid; gap: 12px; }
@media (min-width: 700px) { .tiers { grid-template-columns: 1fr 1fr; } }
.tier { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); display: flex; flex-direction: column; gap: 4px; }
.tier--accent { background: var(--tint-50); border-color: var(--tint-100); }
.tier .card__price { margin-top: 16px; }
.tier p.card__price { font-size: clamp(40px, 4.4vw, 56px); color: var(--ink); margin-top: 16px; }
.tier p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.tier__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; list-style: none; padding: 0; }
.tier__tags li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface); }

.consult-note { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.consult-note p { margin: 0; }
.consult-note strong { font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; font-size: 36px; line-height: 1.1; }

/* ---------- Online process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; font-size: 48px; line-height: 1; color: var(--tint-400); margin-bottom: 24px; }
.step p, .step ul { margin: 0; font-size: 15px; color: var(--muted); }
.step ul { padding-left: 18px; display: grid; gap: 4px; }

.scheme { margin-top: 64px; display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .scheme { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
.scheme .hero__actions { margin-top: 28px; }

/* Care-plan mock: a real table that turns into day cards when its box is narrow */
.scheme-mock { container-type: inline-size; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 3vw, 28px); }
.scheme-mock__title { font-family: var(--font-display); font-weight: 400; letter-spacing: -.015em; font-size: 24px; line-height: 1.2; }
.scheme-mock__sub { color: var(--muted); margin: 4px 0 20px; font-size: 13px; }
.scheme-mock table { width: 100%; border-collapse: collapse; font-size: 13px; }
.scheme-mock th { text-align: left; font-weight: 500; font-size: 12px; color: var(--muted); padding: 0 8px 10px; border-bottom: 1px solid var(--line); }
.scheme-mock td { padding: 12px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.scheme-mock tr:last-child td { border-bottom: 0; }
.scheme-mock td.day { color: var(--muted); white-space: nowrap; }
.pill { display: inline-block; border-radius: 999px; padding: 3px 10px; background: var(--tint-50); color: var(--accent-ink); font-size: 12px; line-height: 1.5; white-space: nowrap; }
.pill--alt { background: var(--soft); color: var(--ink); }

@container (max-width: 520px) {
  .scheme-mock thead { display: none; }
  .scheme-mock table, .scheme-mock tr, .scheme-mock td { display: block; }
  .scheme-mock tbody { display: grid; gap: 8px; }
  .scheme-mock tr { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; }
  .scheme-mock td { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
  .scheme-mock tr td:last-child { border-bottom: 0; }
  .scheme-mock td::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
  .scheme-mock td.day { font-weight: 600; color: var(--ink); font-size: 14px; }
  .scheme-mock td.day::before { content: none; }
  .scheme-mock tbody tr:nth-child(n+4) { display: none; }
}

/* ---------- Results ---------- */
.cases { display: grid; gap: 12px; }
@media (min-width: 900px) { .cases { grid-template-columns: repeat(3, 1fr); } }
.case { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); }
.case__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 8px 8px 0; }
.case__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.case__img:first-child { border-radius: 16px 0 0 16px; }
.case__img:last-child { border-radius: 0 16px 16px 0; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case--wide { grid-column: 1 / -1; }
.case__pair--quad { grid-template-columns: 1fr 1fr; gap: 6px; }
.case__pair--quad .case__img { border-radius: 14px; }
@media (min-width: 700px) {
  .case__pair--quad { grid-template-columns: 1fr 1fr 6px 1fr 1fr; }
  .case__pair--quad .case__img:nth-child(3) { grid-column: 4; }
  .case__pair--quad .case__img:nth-child(4) { grid-column: 5; }
}
.case__tag { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 500; background: rgba(255,255,255,.92); color: #121621; padding: 3px 10px; border-radius: 999px; }
.case__tag--after { background: var(--ink); color: var(--on-ink); }
.case__body { padding: 20px 22px 24px; }
.case__body p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.disclaimer { font-size: 13px; color: var(--muted); margin-top: 24px; }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 12px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; margin: 0; }
.review svg { width: 28px; height: 28px; color: var(--tint-300); }
.review blockquote { margin: 0; font-family: var(--font-display); font-weight: 300; letter-spacing: -.02em; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.35; }
.review figcaption { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 8px; align-items: start; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq__grid > .section-head { grid-template-columns: 1fr; position: sticky; top: 104px; }
  .faq__grid > .section-head > * { grid-column: 1; }
  .faq__grid > .section-head > .lead { justify-self: start; margin-top: 20px; }
}
.faq__grid > .section-head .link-arrow { justify-self: start; margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item h3 { font-family: var(--font-sans); font-size: 17px; font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.faq-item button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-align: left;
  background: none; border: 0; padding: 22px 0; cursor: pointer; font: inherit;
}
.faq-item__icon { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.faq-item__icon svg { width: 14px; height: 14px; }
.faq-item button[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.faq-item__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease); }
.faq-item__panel > div { overflow: hidden; }
.faq-item__panel.is-open { grid-template-rows: 1fr; }
.faq-item__panel p { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* ---------- Booking ---------- */
.booking { background: var(--dark); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(24px, 5vw, 64px); display: grid; gap: 40px; }
@media (min-width: 960px) { .booking { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
@media (max-width: 559px) { .booking { padding: 28px 12px 12px; border-radius: 24px; } .booking > div:first-child { padding-inline: 8px; } }
.booking h2 em { color: var(--tint-300); }
.booking .lead { color: var(--on-dark-muted); }
.booking .eyebrow { color: var(--on-dark-muted); }
.channels { display: grid; gap: 8px; margin-top: 36px; }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; text-decoration: none;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background-color var(--dur) var(--ease);
}
.channel:hover { background: rgba(255,255,255,.1); }
.channel__icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; flex: none; }
.channel__icon svg { width: 18px; height: 18px; }
.channel strong { display: block; font-weight: 500; }
.channel span { font-size: 14px; color: var(--on-dark-muted); }
.channel > svg { margin-left: auto; width: 18px; height: 18px; opacity: .6; }

.form { background: var(--bg); color: var(--ink); border-radius: var(--radius); padding: clamp(18px, 3vw, 32px); display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 13px; font-weight: 500; }
.field .req { color: var(--danger); }
.input {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.input:hover { border-color: var(--tint-300); }
.input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 22, 33, .08); }
textarea.input { min-height: 104px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23121621' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { font-size: 13px; color: var(--danger); }
.field__error:empty { display: none; }
.field__hint { font-size: 13px; color: var(--muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 6px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { min-height: 42px; display: grid; place-items: center; border-radius: 10px; font-weight: 500; font-size: 14px; cursor: pointer; text-align: center; padding-inline: 6px; transition: all var(--dur) var(--ease); }
.segmented input:checked + label { background: var(--ink); color: var(--on-ink); }
.segmented input:focus-visible + label { outline: 2px solid var(--focus); outline-offset: 2px; }
.form__note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.form .btn { gap: 10px; }

/* ---------- Contacts ---------- */
.contacts { display: grid; gap: 12px; }
@media (min-width: 760px) { .contacts { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.contact-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--tint-50); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card .link-arrow { margin-top: auto; align-self: flex-start; }
.contact-card p:last-of-type { margin-bottom: 20px; }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.footer__social { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; color: var(--ink); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.icon-btn:hover { background: var(--ink); color: var(--on-ink); }
.icon-btn svg { width: 18px; height: 18px; }
.footer__copy { font-size: 13px; color: var(--muted); width: 100%; margin: 16px 0 0; }

/* ---------- Bottom booking bar (mobile) ---------- */
.mbar {
  position: fixed; inset: auto 0 0; z-index: 40; display: flex; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 19, 32, .88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 380ms var(--ease);
}
.mbar.is-visible { transform: none; }
.mbar .btn { flex: 1; }
.mbar__wa { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
.mbar__wa svg { width: 22px; height: 22px; }
@media (max-width: 999px) { .footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); } }
@media (min-width: 1000px) { .mbar { display: none; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(18, 22, 33, .82); }
.lightbox img { max-height: 86vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: #121621; cursor: pointer; display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }

/* ---------- Hero intro (one choreographed moment, on load only) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .intro .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
  .intro .hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: word-rise 900ms cubic-bezier(.2, .7, .1, 1) forwards; animation-delay: calc(120ms + var(--i) * 70ms); }
  .intro .hero .eyebrow, .intro .hero .lead, .intro .hero__actions { opacity: 0; animation: soft-in 700ms var(--ease) forwards; }
  .intro .hero .eyebrow { animation-delay: 60ms; }
  .intro .hero .lead { animation-delay: 520ms; }
  .intro .hero__actions { animation-delay: 640ms; }
  .intro .portrait { animation: unveil 1100ms cubic-bezier(.65, 0, .35, 1) both; }
  .intro .portrait img { animation: settle 1600ms cubic-bezier(.2, .7, .1, 1) backwards; }
}
@keyframes word-rise { to { transform: none; } }
@keyframes soft-in { to { opacity: 1; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round var(--radius-lg)); } to { clip-path: inset(0 0 0 0 round var(--radius-lg)); } }
@keyframes settle { from { transform: scale(1.12); } to { transform: none; } }

/* ---------- Mobile: carousels, compact price list ---------- */
.carousel-meta { display: none; }
@media (max-width: 699px) {
  .cases, .reviews {
    display: flex; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 6px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cases::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
  .cases > *, .reviews > * { flex: 0 0 86%; scroll-snap-align: start; }
  .cases:focus-visible, .reviews:focus-visible { outline-offset: -2px; }
  .carousel-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
  .carousel-meta__hint { display: inline-flex; align-items: center; gap: 6px; }
  .carousel-meta svg { width: 14px; height: 14px; }

  html:not(.no-js) .price-item__row { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  html:not(.no-js) .price-item__row::after {
    content: ""; flex: none; width: 8px; height: 8px; margin-left: -4px;
    border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted);
    transform: translateY(-3px) rotate(45deg); transition: transform var(--dur) var(--ease);
  }
  html:not(.no-js) .price-item.is-open .price-item__row::after { transform: translateY(1px) rotate(-135deg); }
  html:not(.no-js) .price-item__name { flex: 1; }
  .price-item__name { min-width: 0; font-size: 20px; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
  .price-item__price { flex: none; }
  .price-item__row { gap: 10px; }
}
@media (max-width: 379px) {
  .price-item__name { font-size: 18px; letter-spacing: -.02em; }
  html:not(.no-js) .price-item__desc { display: none; }
  html:not(.no-js) .price-item.is-open .price-item__desc { display: block; animation: soft-in 300ms var(--ease) both; }
  .price-item { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Hover micro-interactions (pointer devices only)
   ========================================================================== */
.btn svg, .channel > svg, .channel__icon, .link-arrow svg,
.icon-btn, .faq-item__icon, .faq-item button > span:first-child {
  transition:
    transform 320ms var(--ease), box-shadow 320ms var(--ease),
    border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  /* Only things that can be clicked react to the pointer */
  .btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(18, 22, 33, .55); }
  .btn--ghost:hover { transform: translateY(-1px); }
  .btn:hover svg:last-child:not(:first-child) { transform: translateX(3px); }
  .btn:active { transform: translateY(0) scale(.98); box-shadow: none; }

  .nav a { position: relative; }
  .nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease); }
  .nav a:hover { background: transparent; }
  .nav a:hover::after { transform: scaleX(1); }

  .faq-item button:hover .faq-item__icon { border-color: var(--ink); transform: rotate(90deg); }
  .faq-item button[aria-expanded="true"]:hover .faq-item__icon { transform: rotate(45deg); }
  .faq-item button:hover > span:first-child { color: var(--accent); }

  .channel:hover > svg { transform: translateX(4px); opacity: 1; }
  .channel:hover .channel__icon { background: rgba(255, 255, 255, .16); transform: scale(1.06); }
  .icon-btn:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .icon-btn:hover { transform: none !important; }
}

/* ==========================================================================
   Hybrid theme: dark hero (and the header over it) + dark booking section.
   Tokens are re-scoped, so every component inside picks up the dark values.
   ========================================================================== */
:root { --night: #0f1320; }
.hero, .section--dark, .header.on-dark {
  --ink: #eef1ff; --muted: #a3abc4; --accent: #aebcf0; --surface: #1b2236;
  --line: rgba(220, 228, 255, .16);
}
.hero { background: var(--night); color: var(--ink); }
.section--dark .form { background: #eef1ff; }
.hero .btn--primary, .header.on-dark .btn--primary { background: #eef1ff; color: var(--night); }
.hero .btn--primary:hover, .header.on-dark .btn--primary:hover { background: #ffffff; }
.hero .link-arrow:hover { border-color: var(--ink); }

.header.on-dark { color: var(--ink); }
.header.on-dark .nav a { color: var(--ink); }
.header.on-dark .lang { background: rgba(255, 255, 255, .06); }
.header.on-dark .lang button[aria-pressed="true"] { background: #eef1ff; color: var(--night); }
.header.on-dark .burger { background: rgba(255, 255, 255, .06); }
.header.on-dark .burger span, .header.on-dark .burger span::before, .header.on-dark .burger span::after { background: var(--ink); }
.header.on-dark.is-scrolled { background: rgba(15, 19, 32, .78); box-shadow: 0 1px 0 rgba(220, 228, 255, .1); }

.section--dark { background: var(--night); color: var(--ink); }
.section--dark .booking { background: transparent; padding: 0; border-radius: 0; }
/* the booking form stays a light card inside the dark section */
.section--dark .form {
  --ink: #121621; --on-ink: #ffffff; --muted: #525a6c; --accent: #3b4a6b; --surface: #ffffff; --danger: #a33a2c; --focus: #3b4a6b;
  --line: rgba(38, 49, 92, .13);
}

/* ---------- Cut-out portrait: the doctor stands on the animated background ---------- */
.portrait--cut {
  position: relative; border-radius: 0; overflow: visible; background: none; aspect-ratio: auto;
  height: min(68svh, 600px); display: flex; justify-content: center; align-items: flex-end;
  margin: -24px 0 calc(-1 * min(17svh, 150px));
  pointer-events: none;
}
.portrait--cut::before {
  content: ""; position: absolute; left: 50%; top: 40%; width: 120%; aspect-ratio: 1; z-index: -1; pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(174, 188, 240, .34), rgba(174, 188, 240, .12) 55%, rgba(174, 188, 240, 0));
}
.portrait--cut img {
  width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: 50% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 76%, transparent);
  mask-image: linear-gradient(to bottom, #000 76%, transparent);
}
@media (min-width: 960px) {
  .portrait--cut {
    aspect-ratio: auto; max-height: none; align-self: end;
    height: min(calc(100svh - 20px), 940px); margin-top: -70px;
    margin-bottom: calc(-1 * clamp(40px, 6vw, 80px));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .intro .portrait--cut { animation: none; opacity: 0; animation: soft-in 1200ms var(--ease) 100ms forwards; }
}

.hero { overflow-x: clip; }
.portrait--cut img { max-width: none; }
@media (min-width: 960px) { .hero__grid:has(.portrait--cut) { grid-template-columns: 1.15fr 1fr; gap: 24px; } }

/* Botulinum programmes under the per-unit card */
.botox-programs { margin: 48px 0 16px; }
/* Nav: current section */
.nav a.is-current::after { transform: scaleX(1); }
.nav a.is-current { color: var(--accent); }
.header.on-dark .nav a.is-current { color: #fff; }
.mobile-menu a.is-current { color: var(--accent); }
@media (min-width: 1000px) and (max-width: 1199px) { .nav a { padding: 8px 7px; font-size: 13px; } }

@media (max-width: 959px) {
  .portrait--cut img { -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); mask-image: linear-gradient(to bottom, #000 62%, transparent 92%); }
  .hero__text { position: relative; z-index: 1; }
}
@media (min-width: 960px) { .portrait--cut { margin: -70px 0 calc(-1 * clamp(40px, 6vw, 80px)); pointer-events: auto; } }

/* Mobile hero: two equal full-width buttons */
@media (max-width: 599px) {
  .hero__actions { flex-direction: column; align-items: stretch; gap: 10px; align-self: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .link-arrow {
    justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid var(--line); border-radius: 999px;
    background: rgba(255, 255, 255, .04);
  }
  .hero__actions .link-arrow:hover { border-color: var(--ink); }
}

/* Diplomas: five documents in one row; the residency certificate is portrait */
.diplomas { grid-template-columns: repeat(5, 1fr); }
.diplomas .diploma--doc img { object-position: 50% 0; }
