:root {
  --bg: #fdf8f6;
  --surface: #ffffff;
  --surface-2: #f8eeee;
  --text: #22182b;
  --muted: #6e6276;
  --line: #eadfe2;
  --accent: #e8457a;
  --accent-ink: #ffffff;
  --accent-soft: #fde4ec;
  --mint: #2bb5a0;
  --night: #1b1530;
  --night-2: #2a2147;

  --font-body: "Manrope", system-ui, sans-serif;
  --font-head: "Unbounded", "Manrope", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 1px 2px rgb(34 24 43 / .04), 0 8px 24px rgb(34 24 43 / .06);
  --shadow-lg: 0 24px 60px rgb(232 69 122 / .18);

  --space-section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #120e1c;
  --surface: #1c1629;
  --surface-2: #181324;
  --text: #f4eef7;
  --muted: #a99db3;
  --line: #2e2540;
  --accent: #ff5c8f;
  --accent-soft: #3a1d2c;
  --night: #0b0814;
  --night-2: #1d1630;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  --shadow-lg: 0 24px 60px rgb(255 92 143 / .15);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  transition: background .3s, color .3s;
}
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 32px); }
.center { text-align: center; margin-top: 2.5rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 .95rem/1.2 var(--font-body); text-align: center; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .2s, border-color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 20px rgb(232 69 122 / .3); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgb(232 69 122 / .38); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: .65rem 1.1rem; font-size: .875rem; }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1rem; }

.eyebrow {
  display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .9rem;
}
.eyebrow--light { color: #ff9dbd; }
.pill {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .9rem;
  border-radius: 999px; background: var(--surface); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; box-shadow: var(--shadow);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgb(43 181 160 / .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(43 181 160 / 0); } }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
}
/* Background lives on its own layer so the mobile menu can slide out from underneath it */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-scrolled::before { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgb(0 0 0 / .04); }
.header .logo, .header__actions { position: relative; z-index: 2; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
.logo__text { font: 500 1.15rem var(--font-head); }
.logo__text b { color: var(--accent); font-weight: 700; }
.logo--light { color: #fff; }

.nav { position: relative; z-index: 2; display: flex; gap: .25rem; margin-inline: auto; }
.nav a {
  padding: .5rem .8rem; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }
.nav__mobile { display: none; }
.hero__grid > *, .split > *, .booking > *, .contacts > *, .form > *, .services > *, .doctors > *, .reviews > *, .night-grid > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }

.header__actions { display: flex; align-items: center; gap: .5rem; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--surface-2); }
.lang__btn {
  border: 0; background: none; padding: .35rem .6rem; border-radius: 999px;
  font: 700 .75rem var(--font-body); color: var(--muted); cursor: pointer;
}
.lang__btn.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer;
  transition: transform .3s var(--ease);
}
@media (hover: hover) {
  #themeToggle:hover { transform: rotate(-12deg); }
}
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.burger { display: none; }
.burger span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }

/* Hero */
.hero { position: relative; padding: clamp(2.5rem, 5vw, 5rem) 0 3rem; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.blob--1 { width: 520px; height: 520px; background: #ffc6d8; top: -160px; right: -120px; }
.blob--2 { width: 380px; height: 380px; background: #c9f0e8; bottom: -80px; left: -140px; }
[data-theme="dark"] .blob { opacity: .14; }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero__title { font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem); font-weight: 600; margin: 1.25rem 0 1.25rem; }
.hero__title em { display: block; font-style: normal; color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--muted); max-width: 34rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.5rem; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; font-size: .92rem; }
.hero__trust li { display: flex; align-items: center; gap: .45rem; }
.hero__trust svg { width: 18px; height: 18px; fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.hero-card {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffe3ec, #fff4ef 55%, #dff6f1);
  box-shadow: var(--shadow-lg);
}
[data-theme="dark"] .hero-card { background: linear-gradient(160deg, #3a1d2e, #221a33 55%, #143430); }
.hero-card__img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .7rem; padding: .85rem 1.1rem;
  background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; }
.float-card b { font-family: var(--font-head); font-size: 1.1rem; }
.float-card__icon { width: 40px; height: 40px; display: grid; place-items: center; background: var(--accent-soft); border-radius: 12px; }
.float-card--a { left: -24px; bottom: 18%; }
.float-card--b { right: -18px; top: 10%; flex-direction: column; align-items: flex-start; gap: .1rem; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.stars { color: #ffb020; letter-spacing: 2px; }

.stats {
  list-style: none; margin: 3.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.stats li { padding: 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .2rem; }
.stats li + li { border-left: 1px solid var(--line); }
.stats b { font: 600 clamp(1.5rem, 1.2rem + 1vw, 2rem) var(--font-head); }
.stats li span { color: var(--muted); font-size: .9rem; }

/* Alert */
.alert {
  display: flex; align-items: center; gap: 1.25rem; padding: 1.25rem 1.5rem;
  border-radius: var(--radius); color: #fff;
  background: linear-gradient(110deg, var(--night), var(--night-2));
  box-shadow: 0 16px 40px rgb(27 21 48 / .25); transition: transform .3s var(--ease);
}
.alert:hover { transform: translateY(-3px); }
.alert__pulse { flex-shrink: 0; width: 14px; height: 14px; border-radius: 50%; background: #ff5c8f; box-shadow: 0 0 0 0 rgb(255 92 143 / .6); animation: ring 1.8s infinite; }
@keyframes ring { to { box-shadow: 0 0 0 14px rgb(255 92 143 / 0); } }
.alert__text { display: flex; flex-direction: column; flex: 1; }
.alert__text span { opacity: .75; font-size: .95rem; }
.alert__arrow { font-size: 1.5rem; transition: transform .3s var(--ease); }
.alert:hover .alert__arrow { transform: translateX(6px); }

/* Sections */
.section { padding: var(--space-section) 0; }
.section--tint { background: var(--surface-2); }
.section__head { max-width: 640px; margin-bottom: 2.75rem; }
.section__head p { color: var(--muted); margin-top: .9rem; }

/* Services */
.tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: .6rem 1.15rem; border-radius: 999px; font: 700 .9rem var(--font-body); cursor: pointer; transition: all .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.service {
  position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.6rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .35s var(--ease), box-shadow .35s, border-color .3s, opacity .3s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.service p { color: var(--muted); font-size: .93rem; flex: 1; }
.service__icon { width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.6rem; border-radius: 16px; background: var(--accent-soft); margin-bottom: .4rem; }
.service__price { font: 600 1.2rem var(--font-head); margin-top: .5rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.service__price small, .service__price span { font: 600 .82rem var(--font-body); color: var(--muted); }
.service--accent { background: linear-gradient(150deg, var(--night), var(--night-2)); color: #fff; border-color: transparent; }
.service--accent p, .service--accent .service__price small, .service--accent .service__price span { color: rgb(255 255 255 / .7); }
.service--accent .service__icon { background: rgb(255 255 255 / .1); }
.service--accent .service__price { border-color: rgb(255 255 255 / .2); }
.service.is-hidden { display: none; }

/* Kids */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.split__content h2 { margin-bottom: 2rem; }
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1rem; counter-reset: c; }
.checklist li {
  position: relative; padding: 1.1rem 1.25rem 1.1rem 4rem; background: var(--surface);
  border-radius: var(--radius); border: 1px solid var(--line); counter-increment: c;
}
.checklist li::before {
  content: counter(c); position: absolute; left: 1.1rem; top: 1.1rem; width: 32px; height: 32px;
  display: grid; place-items: center; border-radius: 10px; background: var(--accent); color: #fff;
  font: 600 .9rem var(--font-head);
}
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: .93rem; }

/* Doctors */
.doctors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.doctor {
  position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.doctor:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doctor__avatar {
  width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; margin-bottom: 1.25rem;
  font: 600 1.25rem var(--font-head); color: hsl(var(--h) 55% 32%);
  background: linear-gradient(135deg, hsl(var(--h) 85% 90%), hsl(calc(var(--h) + 40) 80% 84%));
}
.doctor p { color: var(--muted); font-size: .93rem; margin-top: .4rem; }
.tag { position: absolute; top: 1.5rem; right: 1.5rem; padding: .3rem .7rem; border-radius: 999px; background: var(--surface-2); font-size: .8rem; font-weight: 700; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.review { margin: 0; padding: 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 1rem; }
.review:nth-child(2) { transform: translateY(1.5rem); }
.review blockquote { margin: 0; flex: 1; font-size: 1.02rem; }
.review figcaption { color: var(--muted); font-size: .9rem; }
.review figcaption b { color: var(--text); }

/* Booking */
.booking {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius-lg); color: #fff;
  background: radial-gradient(circle at 0 0, #4a2550, transparent 55%), linear-gradient(140deg, var(--night), var(--night-2));
  box-shadow: 0 30px 70px rgb(27 21 48 / .3);
}
.booking__info p { opacity: .75; margin: 1rem 0 1.25rem; }
.messengers { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.msg {
  padding: .9rem 1rem; border-radius: var(--radius-sm); font-weight: 700; font-size: .92rem;
  background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); transition: background .2s, transform .25s var(--ease);
}
.msg { display: flex; align-items: center; gap: .55rem; white-space: nowrap; min-width: 0; }
.msg::before { content: ""; flex-shrink: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.msg:hover { background: rgb(255 255 255 / .16); transform: translateY(-2px); }
.msg--wa { --c: #25d366; } .msg--tg { --c: #2aabee; } .msg--ig { --c: #e1306c; } .msg--call { --c: #ffd166; }

.form {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 1.75rem;
  border-radius: var(--radius); background: var(--surface); color: var(--text);
}
[data-theme="dark"] .form { background: #241c36; border: 1px solid rgb(255 255 255 / .08); }
[data-theme="dark"] .form__success { background: #241c36; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg); color: var(--text); font: 500 1rem var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e8457a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.field__error { display: none; color: #d93a5f; font-size: .8rem; font-weight: 600; }
.field.is-invalid input { border-color: #d93a5f; }
.field.is-invalid .field__error { display: block; }
.form__note { font-size: .78rem; color: var(--muted); text-align: center; }
.form__success {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
  text-align: center; border-radius: var(--radius); background: var(--surface); animation: fadeUp .5s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success p { color: var(--muted); }
.form__success-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); color: #fff; font-size: 2rem; margin-bottom: .5rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }

/* Night */
.section--night { background: linear-gradient(180deg, var(--night), var(--night-2)); color: #fff; position: relative; overflow: hidden; }
.section--night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 70% 20%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 85% 60%, #fff, transparent), radial-gradient(1px 1px at 40% 80%, #fff, transparent),
    radial-gradient(1px 1px at 10% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 45%, #fff, transparent);
}
.section--night .section__head p { color: rgb(255 255 255 / .7); }
.night-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.night-item {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; align-items: center;
  padding: 1.25rem 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1);
  transition: background .2s;
}
.night-item:hover { background: rgb(255 255 255 / .1); }
.night-item > span { grid-row: span 2; font-size: 1.6rem; }
.night-item em { font: 600 .95rem var(--font-head); font-style: normal; color: #ff9dbd; }
.night-item em span { font: 600 .8rem var(--font-body); }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq__item { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.faq__item[open] { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 3.5rem 1.25rem 1.5rem; font-weight: 700; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; translate: 0 -50%; width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.2rem; transition: rotate .3s var(--ease);
}
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { padding: 0 1.5rem 1.4rem; color: var(--muted); }

/* Contacts */
.contacts { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: stretch; }
.contacts h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); }
.contacts .muted { margin-top: .6rem; }
.hours { margin: 2rem 0; display: grid; gap: .75rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); text-align: right; }
.contacts__cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.map { min-height: 380px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Footer */
.footer { background: var(--night); color: rgb(255 255 255 / .7); padding: 4rem 0 2rem; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
.footer__grid p { margin-top: 1rem; max-width: 22rem; font-size: .93rem; }
.footer h4 { color: #fff; margin: 0 0 1rem; font-size: .95rem; }
.footer__grid a:not(.logo) { display: block; padding: .25rem 0; font-size: .93rem; transition: color .2s; }
.footer__grid a:not(.logo):hover { color: #ff9dbd; }
.footer__legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .1); display: flex; justify-content: space-between; gap: 1rem; font-size: .8rem; }

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

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.review:nth-child(2).reveal.is-visible { transform: translateY(1.5rem); }

/* Touch screens keep :hover after a tap, so drop hover motion there */
@media (hover: none) {
  .btn--primary:hover, .alert:hover, .service:hover, .doctor:hover, .msg:hover { transform: none; }
  .alert:hover .alert__arrow { transform: none; }
  .service:hover, .doctor:hover { box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .nav {
    position: fixed; z-index: 0; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: .25rem; padding: 1rem 16px 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgb(0 0 0 / .08);
    transform: translateY(calc(-100% - var(--header-h))); visibility: hidden; transition: transform .4s var(--ease), visibility .4s;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  }
  /* Spread shadow dims the page; clip-path keeps it below the menu so the header stays clear */
  .nav.is-open {
    transform: none; visibility: visible;
    box-shadow: 0 0 0 100vmax rgb(18 12 28 / .45);
    clip-path: inset(0 0 -100vmax 0);
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .mobile-bar { opacity: 0; pointer-events: none; }
  .nav a { padding: .85rem 1rem; font-size: 1rem; }
  .burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .header__actions { margin-left: auto; }
  .services, .doctors, .night-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero__grid, .split, .booking, .contacts { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .float-card--a { left: -8px; } .float-card--b { right: -8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .reviews { grid-template-columns: 1fr; }
  .review:nth-child(2), .review:nth-child(2).reveal.is-visible { transform: none; }
  .split__media { order: 2; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; --radius: 18px; --radius-lg: 24px; --space-section: 3.5rem; }
  .hide-sm, .lang--header { display: none; }

  /* Header + menu */
  .header__inner { gap: .75rem; }
  .logo img { width: 36px; height: 36px; }
  .logo__text { font-size: 1rem; }
  .icon-btn { width: 42px; height: 42px; }
  .nav__mobile {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: .75rem; padding-top: 1rem; border-top: 1px solid var(--line);
  }
  .nav__mobile .lang__btn { padding: .55rem .9rem; font-size: .85rem; }
  .nav .nav__mobile .btn { flex: 1; padding: .9rem 1rem; color: var(--accent-ink); background: var(--accent); }

  /* Hero */
  .hero { padding: 1.5rem 0 2rem; }
  .hero__grid { gap: 2rem; }
  .hero__title { font-size: clamp(1.7rem, 1rem + 3.6vw, 2.25rem); margin: 1rem 0; }
  .hero__lead { font-size: 1rem; }
  .hero__cta { margin: 1.5rem 0 1.25rem; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { flex-direction: column; gap: .5rem; }
  .hero__visual { max-width: 360px; }
  .float-card { padding: .6rem .8rem; gap: .5rem; border-radius: 14px; }
  .float-card b { font-size: .95rem; }
  .float-card small { font-size: .7rem; }
  .float-card__icon { width: 32px; height: 32px; border-radius: 10px; font-size: .9rem; }
  .float-card--a { left: 10px; bottom: 6%; }
  .float-card--b { right: 10px; top: 5%; }
  .stats { margin-top: 2rem; border-radius: var(--radius); }
  .stats li { padding: 1rem 1.1rem; }
  .stats b { font-size: 1.35rem; }
  .stats li span { font-size: .8rem; line-height: 1.35; }

  .alert { padding: 1rem 1.1rem; gap: .9rem; }
  .alert__text span { font-size: .875rem; }
  .alert__arrow { display: none; }

  /* Sections */
  .section__head { margin-bottom: 1.75rem; }
  .section__head p { font-size: .95rem; }
  .tabs {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .services, .doctors, .night-grid, .form { grid-template-columns: 1fr; }
  .service { padding: 1.25rem; }
  .checklist li { padding: 1rem 1rem 1rem 3.6rem; }
  .checklist li::before { left: 1rem; top: 1rem; width: 28px; height: 28px; font-size: .8rem; }
  .split__content .btn { width: 100%; }
  .doctor { padding: 1.25rem; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; }
  .doctor__avatar { width: 56px; height: 56px; border-radius: 16px; margin: 0; grid-row: span 2; font-size: 1rem; }
  .doctor__avatar { grid-row: span 3; align-self: start; }
  .doctor h3 { font-size: 1rem; }
  .doctor p { margin-top: .15rem; font-size: .875rem; }
  .tag { position: static; justify-self: start; margin-top: .45rem; padding: .2rem .6rem; font-size: .75rem; }
  .review { padding: 1.25rem; }
  .review blockquote { font-size: .97rem; }

  /* Booking */
  .booking { padding: 1.5rem 1.1rem 1.1rem; gap: 1.75rem; }
  .booking h2 { font-size: 1.6rem; }
  .form { padding: 1.1rem; gap: .85rem; }
  .msg { padding: .85rem .9rem; font-size: .875rem; }

  .night-item { padding: 1rem 1.1rem; }
  .faq__item summary { padding: 1.1rem 3.25rem 1.1rem 1.1rem; }
  .faq__item p { padding: 0 1.1rem 1.1rem; }

  /* Contacts */
  .hours div { flex-direction: column; gap: .1rem; }
  .hours dd { text-align: left; }
  .contacts__cta .btn { flex: 1; }
  .map, .map iframe { min-height: 300px; }

  .footer { padding-top: 3rem; }
  .footer__legal { flex-direction: column; }

  body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 6px;
    padding: 6px; border-radius: 18px; background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(14px); border: 1px solid var(--line); box-shadow: 0 10px 30px rgb(0 0 0 / .15);
    transition: opacity .25s;
  }
  .mobile-bar__btn { padding: .8rem .4rem; text-align: center; border-radius: 12px; font-weight: 700; font-size: .88rem; background: var(--surface-2); }
  .mobile-bar__btn--primary { background: var(--accent); color: #fff; }
}
