:root {
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --raised: #ECEFF4;
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.16);
  --text: #111827;
  --text-2: #4B5565;
  --text-3: #626B7E;
  --accent: #0E6F68;
  --accent-hover: #0B5C56;
  --ok: #16A34A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --bar-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; text-wrap: balance; }
p { margin: 0; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
.mono, .mono-nums { font-variant-numeric: tabular-nums; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

.icon { display: block; flex-shrink: 0; width: 20px; height: 20px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 100;
  padding: 12px 16px; border-radius: 8px; background: var(--surface); color: var(--text);
  text-decoration: none; border: 1px solid var(--line-strong);
}
.skip:focus { top: 12px; }

.container { max-width: 1264px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .container { padding-inline: 32px; } }

.section { padding-block: 64px; }
.section--raised { background: var(--raised); }
@media (min-width: 960px) { .section { padding-block: 112px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font-family: inherit; font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 48px; padding: 0 20px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--raised); }
.btn-secondary .icon { color: var(--text-2); }
.btn-icon { width: 48px; padding: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--accent); font-weight: 500; text-decoration: none;
  transition: color 0.15s var(--ease);
}
.text-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.site-header.is-scrolled, .site-header.menu-open { background: var(--surface); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { display: flex; align-items: baseline; gap: 8px; margin-right: auto; text-decoration: none; min-height: 44px; align-items: center; }
.logo-name { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.logo-sub { font-size: 14px; color: var(--text-3); }
@media (max-width: 359px) { .logo-sub { display: none; } }

.nav { display: none; gap: 4px; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  border-radius: 8px; font-size: 15px; color: var(--text-2); text-decoration: none;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--raised); }

.lang { display: flex; gap: 2px; }
.lang button {
  min-width: 44px; height: 44px; padding: 0 8px;
  border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--text-3);
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--text); background: var(--raised); }
.lang--header, .btn-header { display: none; }

.menu-btn {
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); cursor: pointer;
}
.menu-ico--close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--open { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico--close { display: block; }

.menu-panel {
  position: fixed; left: 0; right: 0; top: 64px; z-index: 49;
  padding: 8px 20px 20px;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  opacity: 0; transform: translateY(-6px); visibility: hidden;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0s linear 0.2s;
}
.menu-panel.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); }
.menu-nav a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--line); font-size: 18px; text-decoration: none;
}
.lang--menu { margin-top: 16px; }

@media (min-width: 720px) {
  .lang--header { display: flex; }
  .btn-header { display: inline-flex; }
  .lang--menu { display: none; }
}
@media (min-width: 720px) and (max-width: 899px) { .logo-sub { display: none; } }
@media (min-width: 1200px) {
  .nav { display: flex; }
  .menu-btn, .menu-panel { display: none; }
}
@media (min-width: 1200px) and (max-width: 1339px) { .logo-sub { display: none; } }

/* Hero */
.hero { position: relative; max-width: 1264px; margin-inline: auto; padding: 24px 20px 56px; }
.hero-text { position: relative; z-index: 1; }
.hero-meta { font-size: 15px; color: var(--text-3); margin-bottom: 16px; }
.hero h1 { font-size: clamp(34px, 4.4vw + 14px, 60px); line-height: 1.06; letter-spacing: -0.02em; }
.hero-lead { margin-top: 20px; max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--text-2); }
.hero-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; }
.hero-actions .btn { width: 100%; }
.status { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--mono); font-size: 15px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex-shrink: 0; }
.status.is-open .dot { background: var(--ok); }
.hero-facts { display: none; margin-top: 32px; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.hero-facts .icon { color: var(--text-2); margin-top: 2px; }
.hero-media {
  position: relative; margin-top: 28px; aspect-ratio: 1 / 1;
  border-radius: 12px; overflow: hidden; background: var(--raised);
}
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

@media (min-width: 480px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
  .hero-actions .btn { width: auto; }
}
@media (min-width: 640px) {
  .hero { padding-inline: 32px; }
  .hero-facts { display: block; }
}
@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 64px;
    max-width: 1264px; margin-inline: auto; padding: 40px 32px 96px;
  }
  .hero-media { position: relative; inset: auto; margin-top: 0; aspect-ratio: 4 / 5; border-radius: 16px; }
  .hero-media > * { object-position: 30% 50%; }
}

@media (prefers-reduced-motion: no-preference) {
  html.js .hero-text { animation: rise 0.5s var(--ease) both; }
  html.js .hero-media { animation: rise 0.5s var(--ease) 0.06s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Section heads */
.section-head { display: grid; gap: 12px; margin-bottom: 40px; max-width: 760px; }
.section-head h2, .cta-intro h2 { font-size: clamp(28px, 2.2vw + 16px, 40px); line-height: 1.15; letter-spacing: -0.015em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--text-2); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.section-head--row > div { display: grid; gap: 12px; max-width: 720px; }
@media (min-width: 960px) { .section-head { margin-bottom: 48px; } }

/* Why */
.why-grid { display: grid; gap: 8px; }
.why-grid .section-head { margin-bottom: 24px; }
.facts { display: grid; }
.fact { display: grid; grid-template-columns: 20px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.fact .icon { color: var(--text-2); margin-top: 3px; }
.fact-title { font-weight: 500; line-height: 1.5; }
.fact-text { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 720px) { .facts { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
@media (min-width: 960px) {
  .why-grid .section-head { margin-bottom: 24px; }
  .facts { grid-template-columns: repeat(3, 1fr); column-gap: 48px; }
}

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--raised); }
.card-media > img, .card-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media > video { pointer-events: none; }
.card-body { padding: 24px; }
.card h3 { font-size: 20px; line-height: 1.3; }
.card-body p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); }

.svc-grid { display: grid; gap: 20px; }
.svc-card .card-media { max-width: 576px; }
@media (min-width: 640px) and (max-width: 899px) {
  .svc-card { display: grid; grid-template-columns: 5fr 7fr; align-items: center; }
  .svc-card .card-body { padding: 24px 28px; }
}
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .svc-card { display: flex; flex-direction: column; }
}

.uzi { margin-top: 24px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.uzi-title { font-size: 20px; line-height: 1.3; margin-bottom: 16px; }
.uzi-list { display: grid; grid-template-columns: 1fr; column-gap: 32px; }
.uzi-list li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.uzi-extra { margin-top: 20px; font-size: 16px; color: var(--text-2); }
@media (min-width: 560px) { .uzi-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .uzi { padding: 40px; }
  .uzi-list { grid-template-columns: repeat(3, 1fr); grid-auto-flow: column; grid-template-rows: repeat(6, auto); }
}

/* Doctors */
.doc-grid { display: grid; gap: 16px; }
.doc-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: start; align-content: start; }
.doc-photo { position: relative; aspect-ratio: 4 / 5; background: var(--raised); }
.doc-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc-body { padding: 16px 16px 16px 20px; }
.doc-name { font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.doc-role { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.hours { margin-top: 14px; display: grid; gap: 6px; font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.hours > div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; }
.hours dt { color: var(--text-3); }
.hours dd span { display: block; }
@media (min-width: 640px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .doc-card { grid-template-columns: 1fr; }
  .doc-body { padding: 20px 20px 24px; }
  .doc-name { font-size: 18px; }
}
@media (min-width: 1024px) { .doc-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

@media (max-width: 399px) {
  .doc-card { grid-template-columns: 88px minmax(0, 1fr); }
  .doc-body { padding: 14px 14px 14px 16px; }
  .hours { font-size: 14px; }
  .hours > div { grid-template-columns: 52px 1fr; }
  .schedule-card { padding: 16px; }
  .schedule > div { padding: 8px; }
}

/* Steps */
.steps { display: grid; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-content: start; padding: 24px 0; border-top: 1px solid var(--line-strong); }
.step-num { font-size: 15px; line-height: 1.9; color: var(--text-3); }
.step h3 { font-size: 20px; line-height: 1.4; }
.step p { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-2); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .step { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
}

/* Reviews */
.reviews { columns: 1; column-gap: 20px; }
.review { break-inside: avoid; margin-bottom: 20px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.65; }
.review figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.author { font-weight: 500; }
.date { font-size: 14px; color: var(--text-3); }
@media (min-width: 720px) { .reviews { columns: 2; } }
@media (min-width: 1024px) { .reviews { columns: 3; column-gap: 24px; } .review { margin-bottom: 24px; } }

/* FAQ */
.faq-grid { display: grid; }
.faq-grid .section-head { margin-bottom: 24px; }
.faq details { border-top: 1px solid var(--line-strong); }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-3); transition: transform 0.18s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq summary:hover { color: var(--accent); }
.answer { max-width: 64ch; padding-bottom: 24px; color: var(--text-2); }
@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 4fr 8fr; gap: 48px; align-items: start; }
  .faq-grid .section-head { margin-bottom: 0; padding-top: 16px; position: sticky; top: 96px; }
}

/* Instagram */
.ig-profile { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.ig-badge { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.ig-profile-text { display: grid; }
.ig-handle { font-weight: 500; transition: color 0.15s var(--ease); }
.ig-profile:hover .ig-handle { color: var(--accent); }
.ig-count { font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; background: var(--surface); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; }
.ig-tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.15s var(--ease); }
.ig-tile:hover::after { background: rgba(17, 24, 39, 0.08); }
@media (min-width: 960px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 16px; } }

/* Booking */
.cta-card { display: grid; gap: 32px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.cta-lines { display: grid; gap: 16px; margin-top: 24px; }
.cta-lines li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; }
.picker { display: grid; gap: 24px; align-content: start; }
.js-only { display: none; }
html.js .js-only { display: block; }
.pick-group { margin: 0; padding: 0; border: 0; min-width: 0; }
.pick-group legend { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; padding: 0; font-weight: 500; }
.pick-num { font-size: 14px; color: var(--text-3); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface);
  font-size: 16px; line-height: 1.3;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}
.opt:hover span { background: var(--bg); }
.opt input:checked + span { border-color: var(--accent); background: var(--raised); box-shadow: inset 0 0 0 1px var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pick-send { justify-self: start; }
@media (max-width: 479px) { .pick-send { justify-self: stretch; } }
@media (min-width: 960px) {
  .cta-card { grid-template-columns: 5fr 7fr; gap: 56px; padding: 48px; }
}

/* Contacts */
.c-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--raised); color: var(--text-2); }
.c-label { display: block; font-size: 14px; line-height: 1.4; color: var(--text-3); }
.c-value { display: inline-block; font-size: 17px; line-height: 1.5; text-decoration: none; }
a.c-value:hover, .c-value--multi a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.c-value--multi { display: grid; }
.c-value--multi a { text-decoration: none; min-height: 28px; }
.c-note { display: block; margin-top: 2px; font-size: 15px; color: var(--text-2); }

.contacts-grid { display: grid; gap: 20px; }
.contacts-grid > * { min-width: 0; }
.contact-list { padding: 4px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.c-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.c-row:first-child { border-top: 0; }
.schedule-card { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.schedule-head { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: center; }
.schedule-title { font-size: 18px; line-height: 1.4; }
.status--inline { margin-top: 2px; font-size: 14px; }
.schedule { display: grid; margin-top: 16px; font-size: 16px; color: var(--text-2); }
.schedule > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-content: start; padding: 8px 12px; border-top: 1px solid var(--line); }
.schedule dd { text-align: right; }
.schedule > div:first-child { border-top: 0; }
.schedule dd { font-variant-numeric: tabular-nums; }
.sched-note { display: block; font-family: var(--sans); font-size: 14px; color: var(--text-3); }
.schedule .is-today { color: var(--text); background: var(--raised); border-radius: 10px; border-top-color: transparent; }
.schedule .is-today + div { border-top-color: transparent; }
.schedule .is-today dt { font-weight: 500; }
.entrance { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--raised); }
.entrance img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map { aspect-ratio: 16 / 15; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-btn { width: 100%; margin-top: 12px; }
@media (min-width: 640px) {
  .contacts-grid { grid-template-columns: 3fr 4fr; }
  .contact-list, .schedule-card { grid-column: 1 / -1; }
  .contact-list { padding: 8px 24px; }
  .schedule-card { padding: 24px; }
}
@media (min-width: 1024px) {
  .contacts-grid { grid-template-columns: 5fr 3fr 4fr; gap: 24px; align-items: stretch; }
  .contact-list { grid-column: auto; }
  .schedule-card { grid-column: 1 / -1; grid-row: 2; }
  .schedule { margin-top: 20px; grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .schedule > div { grid-template-columns: 1fr; gap: 4px; padding: 12px; border-top: 0; border-left: 1px solid var(--line); }
  .schedule dd { text-align: left; }
  .schedule > div:first-child { border-left: 0; }
  .schedule .is-today, .schedule .is-today + div { border-left-color: transparent; }
  .sched-note { display: block; margin-left: 0; }
  .entrance { aspect-ratio: auto; height: 100%; min-height: 360px; }
  .map-wrap { display: flex; flex-direction: column; }
  .map { flex: 1; aspect-ratio: auto; min-height: 300px; }
}

/* Footer */
.site-footer { padding: 40px 0 calc(40px + var(--bar-h)); border-top: 1px solid var(--line); font-size: 15px; color: var(--text-2); }
.foot-grid { display: grid; gap: 20px; }
.foot-brand .logo-name { font-size: 18px; }
.foot-sub { color: var(--text-3); }
.foot-addr { margin-top: 4px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.foot-links a:hover { color: var(--accent); }
.disclaimer { color: var(--text-2); }
.foot-copy { color: var(--text-3); font-size: 14px; }
@media (min-width: 960px) {
  .foot-grid { grid-template-columns: 1fr auto; align-items: center; }
  .disclaimer, .foot-copy { grid-column: auto; }
}

/* Mobile action bar */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}
.mbar .btn-primary { flex: 1; min-width: 0; }
@media (max-width: 719px) { :root { --bar-h: 72px; } }
@media (min-width: 720px) { .mbar { display: none; } }

/* Reveal */
[data-reveal] { transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); transition-delay: var(--d, 0ms); }
html.js [data-reveal].is-pending { opacity: 0; transform: translateY(10px); }
html.js [data-reveal].is-pending.is-in { opacity: 1; transform: none; }

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