/* Soul Event: cream editorial scale, brand black for actions, gold only as a small accent */
:root {
  --bg: #F7F3EA;
  --surface: #FCFAF5;
  --raised: #EEE8DB;
  --line: rgba(30, 27, 22, .09);
  --line-strong: rgba(30, 27, 22, .18);
  --text: #1E1B16;
  --text-2: #57514A;
  --text-3: #6B6458;
  --accent: #1E1B16;
  --accent-hover: #3A352D;
  --on-accent: #F7F3EA;
  --gold: #C9A227;
  --link: #7A6118;
  --dark: #1E1B16;
  --on-dark: #F7F3EA;
  --on-dark-2: #C9C1B1;
  --line-dark: rgba(247, 243, 234, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --pad: 20px;
  --header-h: 64px;
}
@media (min-width: 960px) {
  :root { --pad: 32px; --header-h: 72px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
.icon { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

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

.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }

/* Type */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.4vw, 46px);
  line-height: 1.12;
  text-wrap: balance;
}
@media (min-width: 960px) { .h2 { letter-spacing: -0.015em; } }
.lead { font-size: 19px; line-height: 1.6; color: var(--text-2); max-width: 36rem; }
.muted { color: var(--text-3); }
.cap { font-size: 15px; line-height: 1.5; color: var(--text-3); }

.section { padding-block: 64px; }
@media (min-width: 960px) { .section { padding-block: 112px; } }
.section-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 960px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 64px; margin-bottom: 56px; }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: 8px; border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--raised); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-icon { width: 48px; padding: 0; flex-shrink: 0; }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: var(--link); font-weight: 500; text-decoration: none;
  transition: color .16s var(--ease);
}
.link:hover { color: var(--text); }
.link .icon { transition: transform .16s var(--ease); }
.link:hover .icon { transform: translateX(2px); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); background: var(--surface); }
.header-in { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo {
  font-family: var(--serif); font-weight: 500; font-size: 21px;
  text-decoration: none; white-space: nowrap; margin-right: auto;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  color: var(--text-2); text-decoration: none; font-size: 15px; border-radius: 8px;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--raised); }
.langs { display: flex; align-items: center; gap: 0; }
.langs button {
  min-width: 44px; min-height: 44px; padding: 0 8px;
  border: 0; background: transparent; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-3); cursor: pointer;
  transition: color .16s var(--ease), background-color .16s var(--ease);
}
.langs button:hover { color: var(--text); background: var(--raised); }
.langs button[aria-pressed="true"] { color: var(--text); background: var(--raised); }
.header-in > .langs, .header-cta { display: none; }

.mnav { position: static; }
.mnav > summary {
  list-style: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 8px; cursor: pointer;
  border: 1px solid var(--line-strong);
}
.mnav > summary::-webkit-details-marker { display: none; }
.mnav .i-close { display: none; }
.mnav[open] .i-open { display: none; }
.mnav[open] .i-close { display: block; }
.mnav-panel {
  position: absolute; left: 0; right: 0; top: var(--header-h);
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(30, 27, 22, .08);
  padding: 8px var(--pad) 24px;
}
.mnav-panel nav a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px;
}
.mnav-panel .langs { margin: 16px 0; }
.mnav-panel .btn { width: 100%; }

@media (min-width: 1200px) {
  .nav { display: flex; gap: 4px; }
  .header-in > .langs, .header-cta { display: flex; }
  .mnav { display: none; }
}

/* Hero: one grid, text and media are direct children */
.hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - var(--header-h)); min-height: calc(100vh - var(--header-h)); }
@supports (height: 100svh) { .hero { min-height: calc(100svh - var(--header-h)); } }
.hero-text { position: relative; z-index: 1; padding: 120px var(--pad) 32px; color: #fff; }
.hero-media { position: absolute; inset: 0; }
.hero-frame { position: absolute; inset: 0; overflow: hidden; }
.hero-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 28%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(18, 15, 10, .86) 0%, rgba(18, 15, 10, .66) 34%, rgba(18, 15, 10, .18) 58%, rgba(18, 15, 10, 0) 72%);
}
.hero-cap { display: none; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 5.8vw, 74px); line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance; max-width: 12em;
}
html[lang="kk"] .hero h1 { font-size: clamp(32px, 4.6vw, 60px); max-width: 14em; }
.hero-lead { margin-top: 16px; font-size: 17px; line-height: 1.55; max-width: 34rem; color: rgba(255, 255, 255, .9); }
.facts, .days, .c-val, .status { font-variant-numeric: tabular-nums; }
.facts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .icon { opacity: .9; }
.facts .star { color: var(--gold); opacity: 1; }
.hero-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-primary { background: #F7F3EA; color: #1E1B16; }
.hero .btn-primary:hover { background: #fff; }
.hero .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 480px) {
  .hero-actions { flex-wrap: nowrap; }
  .hero-actions .btn-primary { flex: 1; min-width: 0; }
  .hero-actions .btn-secondary { width: 48px; padding: 0; flex-shrink: 0; }
  .hero-actions .btn-secondary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 64px;
    max-width: calc(var(--wrap) + var(--pad) * 2); margin-inline: auto; padding: 40px var(--pad) 56px;
    min-height: calc(100vh - var(--header-h));
  }
  @supports (height: 100svh) { .hero { min-height: calc(100svh - var(--header-h)); } }
  .hero-text { padding: 0; color: var(--text); }
  .hero-lead { color: var(--text-2); font-size: 20px; margin-top: 24px; }
  .facts { color: var(--text-2); margin-top: 28px; }
  .facts .icon { opacity: 1; color: var(--text-3); }
  .facts .star { color: var(--gold); }
  .hero-actions { margin-top: 32px; }
  .hero .btn-primary { background: var(--accent); color: var(--on-accent); }
  .hero .btn-primary:hover { background: var(--accent-hover); }
  .hero .btn-secondary { color: var(--text); border-color: var(--line-strong); }
  .hero .btn-secondary:hover { background: var(--raised); }
  .hero-media { position: relative; inset: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
  .hero-media::after { display: none; }
  .hero-frame {
    position: relative; inset: auto;
    width: 100%; aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 140px); min-height: 460px;
    border-radius: 4px;
  }
  .hero-cap { display: block; width: 100%; }
}

/* Load entrance, once */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .hero-text { animation: rise .5s var(--ease) both; }
.js .hero-frame { animation: rise .6s var(--ease) .06s both; }

/* Reveal on scroll */
.js .rv { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* Services */
.cards { display: grid; gap: 16px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 8px; display: flex; flex-direction: column;
}
.card-media { aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; background: var(--raised); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 16px 12px 16px; display: grid; gap: 8px; }
.card h3 { font-size: 21px; font-weight: 500; line-height: 1.3; }
.card p { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.card .cap { margin-top: 4px; }

.also { margin-top: 40px; border-top: 1px solid var(--line); display: grid; }
.also-title { padding: 20px 0 8px; color: var(--text-3); font-size: 15px; }
.also ul { display: grid; }
.also li { padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
@media (min-width: 960px) {
  .also { grid-template-columns: 220px 1fr; align-items: center; }
  .also-title { padding: 24px 0; }
  .also ul { grid-template-columns: repeat(3, 1fr); }
  .also li { border-bottom: 0; border-left: 1px solid var(--line); padding: 24px; }
}

/* Alternating media + text */
.alt { display: grid; gap: 64px; }
@media (min-width: 960px) { .alt { gap: 112px; } }
.alt-row { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) {
  .alt-row { grid-template-columns: 440px minmax(0, 1fr); gap: 96px; }
  .alt-row.flip { grid-template-columns: minmax(0, 1fr) 440px; }
  .alt-row.flip .alt-media { order: 2; }
}
.alt-media { display: grid; gap: 12px; }
.vframe { aspect-ratio: 7 / 8; border-radius: 4px; overflow: hidden; background: var(--raised); }
.vframe video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.alt-text { display: grid; gap: 16px; max-width: 34rem; }
.alt-text h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; text-wrap: balance; }
.alt-text p { color: var(--text-2); font-size: 18px; }

/* Process: the one dark section */
.dark { background: var(--dark); color: var(--on-dark); }
.dark :focus-visible { outline-color: var(--gold); }
.process { display: grid; gap: 40px; }
@media (min-width: 960px) { .process { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 96px; align-items: start; } }
.process-side { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) { .process-side { position: sticky; top: calc(var(--header-h) + 40px); } }
.process-side .lead { color: var(--on-dark-2); }
.process-side .btn { justify-self: start; margin-top: 8px; }
.dark .btn-primary { background: var(--on-dark); color: var(--dark); }
.dark .btn-primary:hover { background: #fff; }
.steps { border-top: 1px solid var(--line-dark); }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.step-n { font-family: var(--serif); font-size: 26px; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 20px; font-weight: 500; line-height: 1.35; }
.step p { margin-top: 8px; color: var(--on-dark-2); font-size: 17px; }

/* Team */
.team { border-top: 1px solid var(--line); }
.member { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.member-name { font-size: 22px; font-weight: 500; line-height: 1.3; }
.member-ev { color: var(--text-3); font-size: 16px; }
.member blockquote { margin: 0; }
.member q { quotes: "«" "»"; color: var(--text); font-size: 17px; }
.member-by { margin-top: 8px; font-size: 15px; color: var(--text-3); }
@media (min-width: 960px) {
  .member { grid-template-columns: 200px 260px minmax(0, 1fr); gap: 32px; padding: 32px 0; align-items: baseline; }
}
.team-more { margin-top: 24px; color: var(--text-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.g-item {
  position: relative; display: block; padding: 0; border: 0; background: var(--raised); cursor: zoom-in;
  border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4;
}
.g-item.w { grid-column: span 2; aspect-ratio: 3 / 2; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .16s var(--ease); }
.g-item:hover img { opacity: .92; }
@media (min-width: 960px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .g-item.w { aspect-ratio: auto; }
}

/* Signature quote */
.quote { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quote blockquote { margin: 0; display: grid; gap: 24px; }
.quote p {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.3;
  max-width: 30em; text-wrap: pretty;
}
.quote footer { color: var(--text-3); font-size: 16px; }
.quote footer b { color: var(--text); font-weight: 500; }

/* Reviews */
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
.rating-num { font-size: 40px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.rating .star { color: var(--gold); }
.rating-meta { color: var(--text-2); }
.reviews { display: grid; gap: 16px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 24px; display: flex; flex-direction: column; gap: 16px; margin: 0;
}
.review p { font-size: 16px; line-height: 1.65; }
.review footer { margin-top: auto; display: grid; gap: 2px; font-size: 15px; }
.review footer b { font-weight: 500; }
.review footer span { color: var(--text-3); }

/* Instagram */
.ig-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ig-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text-2); }
.ig-link b { color: var(--text); font-weight: 500; }
.ig-link:hover b { color: var(--link); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 960px) { .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } }
.ig-grid a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--raised); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .16s var(--ease); }
.ig-grid a:hover img { opacity: .9; }

/* FAQ */
.faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 96px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--text-3); transition: transform .18s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 24px; color: var(--text-2); max-width: 40rem; }

/* Plan: picker that builds a WhatsApp message */
.plan { display: grid; gap: 32px; grid-template-areas: "head" "form" "out"; }
.plan-head { grid-area: head; display: grid; gap: 20px; align-content: start; }
.plan-form { grid-area: form; }
.plan-out { grid-area: out; display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) {
  .plan { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head form" "out form"; column-gap: 96px; row-gap: 32px; align-items: start; }
}
.plan-js { display: none; }
.js .msg.plan-js, .js .plan-form.plan-js { display: grid; }
.js .btn.plan-js { display: inline-flex; }
.js .plan-nojs { display: none; }
.plan-form { display: grid; gap: 28px; }
.plan-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.plan-form legend { font-weight: 500; font-size: 18px; margin-bottom: 12px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface);
  font-size: 16px; cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.opt span:hover { background: var(--raised); }
.opt input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.opt input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.msg {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 16px 20px; display: grid; gap: 8px;
}
.msg-label { font-size: 15px; color: var(--text-3); }
.msg-text { white-space: pre-line; font-size: 16px; }
.plan-out .btn { justify-self: start; }

/* Contacts */
.contacts { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .contacts { grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr) minmax(0, 1.3fr); gap: 32px; align-items: stretch; }
}
.c-list { display: grid; gap: 4px; align-content: start; }
.c-row { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.c-row:last-child { border-bottom: 0; }
.c-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--raised); color: var(--text-2); display: grid; place-items: center; }
.c-label { font-size: 15px; color: var(--text-3); line-height: 1.4; }
.c-val { font-weight: 500; line-height: 1.45; }
.c-val a { text-decoration: none; }
.c-val a:hover { color: var(--link); }
.c-note { font-size: 15px; color: var(--text-2); }
.status { display: block; margin-top: 4px; font-size: 15px; color: var(--text-2); font-weight: 400; }
.status:empty { display: none; }
.days { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--text-3); }
.days span { min-width: 36px; padding: 2px 8px; border-radius: 6px; text-align: center; }
.days span.today { background: var(--accent); color: var(--on-accent); }
.c-route { margin-top: 16px; }
.facade { border-radius: 4px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--raised); max-width: 420px; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.map { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 320px; background: var(--raised); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
@media (min-width: 960px) { .facade { max-width: none; aspect-ratio: auto; height: 100%; min-height: 440px; } }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 120px; color: var(--text-3); font-size: 15px; }
@media (min-width: 960px) { .footer { padding-bottom: 48px; } }
.footer-in { display: grid; gap: 16px; }
@media (min-width: 960px) { .footer-in { grid-template-columns: 1fr auto; align-items: center; } }
.footer-links { display: flex; gap: 8px; }
.footer-links a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; color: var(--text-2); background: var(--raised); transition: background-color .16s var(--ease), color .16s var(--ease); }
.footer-links a:hover { color: var(--text); background: var(--line-strong); }
.footer .logo { font-size: 19px; color: var(--text); }

/* Mobile action bar */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 8px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(30, 27, 22, .06);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.bar .btn-primary { flex: 1; min-width: 0; }
.bar.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
@media (min-width: 960px) { .bar { display: none; } }

@media (max-width: 380px) {
  .hero-actions .btn-primary, .bar .btn-primary { white-space: normal; text-align: center; line-height: 1.2; padding: 0 12px; gap: 8px; }
}

/* Lightbox */
.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(18, 15, 10, .94); color: #fff; }
.lb::backdrop { background: rgba(18, 15, 10, .94); }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-size: 15px; color: rgba(255, 255, 255, .8); font-variant-numeric: tabular-nums; padding-left: 8px; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 16px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 4px; }
.lb-nav { display: flex; justify-content: center; gap: 12px; padding: 16px; }
.lb button {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .3); border-radius: 10px; background: transparent; color: #fff; cursor: pointer;
  transition: background-color .16s var(--ease);
}
.lb button:hover { background: rgba(255, 255, 255, .12); }
.lb .flip-x { transform: rotate(180deg); }
.lb :focus-visible { outline-color: #fff; }

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