/* ===== Tokens ===== */
:root {
  /* light (cream) */
  --bg: #FAF6F0;
  --surface: #F3ECE2;
  --ink: #2A211D;
  --muted: #6B5E55;
  --line: #E4DACD;
  --accent: #9A3B2E;
  --on-accent: #FFFFFF;

  /* night sections */
  --night: #1B1613;
  --night-2: #241D19;
  --night-ink: #F2EADF;
  --night-muted: #A89B8E;
  --night-line: #3A302A;
  --night-accent: #E08A6B;

  --ff-display: "Cormorant", "Times New Roman", Georgia, serif;
  --ff-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* type scale */
  --fs-h1: clamp(2.5rem, 1.3rem + 5.6vw, 7rem);
  --fs-h2: clamp(2.2rem, 1.3rem + 3.2vw, 4.4rem);
  --fs-h3: clamp(1.6rem, 1.25rem + 1.2vw, 2.3rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  /* spacing (8px base) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 1rem; --s4: 1.5rem; --s5: 2rem; --s6: 3rem; --s7: 4rem; --s8: 6rem;
  --section-y: clamp(4.5rem, 2rem + 8vw, 9rem);
  --gutter: clamp(16px, 2vw, 32px);
  --side: clamp(16px, 5vw, 64px);
  --container: 1240px;

  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-text);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible { outline-color: var(--night-accent); }

h1, h2, h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
  hyphens: manual;
  overflow-wrap: break-word;
}
h1 { font-size: var(--fs-h1); }
.facts__value, .specs dd, .guests__value, .result__price, .set__price, .rating b, .contacts__phone { font-variant-numeric: lining-nums; font-feature-settings: "lnum" 1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.12; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
.night h1 em, .night h2 em, .hero h1 em { color: var(--night-accent); }
p { margin: 0; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--side)); margin-inline: auto; padding-inline: var(--side); }
.section { padding-block: var(--section-y); }
.eyebrow {
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: var(--s4);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.lead { color: var(--muted); max-width: 52ch; }
.section-head { display: grid; gap: var(--s4); margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
@media (min-width: 900px) {
  .section-head--split { grid-template-columns: 1.3fr 1fr; align-items: end; gap: var(--s6); }
}

.night { background: var(--night); color: var(--night-ink); }
.night .eyebrow, .night .lead { color: var(--night-muted); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ===== Buttons ===== */
.btn {
  --b-bg: var(--accent); --b-ink: var(--on-accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-ink);
  font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --b-bg: transparent; --b-ink: currentColor; border-color: currentColor; }
.btn--light { --b-bg: var(--night-ink); --b-ink: var(--night); }
.night .btn:not(.btn--ghost):not(.btn--light), .hero .btn:not(.btn--ghost) { --b-bg: var(--night-accent); --b-ink: var(--night); }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ===== Demo ribbon ===== */
.demo {
  position: relative; z-index: 60;
  background: var(--ink); color: var(--bg);
  font-size: var(--fs-small); text-align: center;
  padding: 8px 44px 8px 16px; line-height: 1.4;
}
.demo a { color: var(--night-accent); }
.demo button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 20px; line-height: 1; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  color: var(--night-ink);
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.header__in { height: 100%; display: flex; align-items: center; gap: var(--s5); }
.brand { text-decoration: none; display: grid; line-height: 1; }
.brand__name { font-family: var(--ff-display); font-size: 1.75rem; font-weight: 600; letter-spacing: 0.01em; }
.brand__kind { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: .7; margin-top: 4px; }
.nav { display: none; gap: var(--s4); margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.9375rem; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.header__phone { display: none; text-decoration: none; font-weight: 500; white-space: nowrap; }
.header__cta { margin-left: auto; min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.header.is-solid, .header--solid { background: rgba(250, 246, 240, .94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.header.is-solid .btn, .header--solid .btn { --b-bg: var(--accent); --b-ink: var(--on-accent); }
@media (min-width: 1080px) {
  .nav { display: flex; }
  .header__phone { display: inline; }
  .header__cta { margin-left: 0; }
}
/* hero sits under the transparent header */
body[data-page="home"] .header { margin-bottom: calc(-1 * var(--header-h)); }

/* ===== Hero ===== */
.hero {
  position: relative; isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: flex-end;
  color: var(--night-ink); background: var(--night);
  padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: hero-in 2.4s var(--ease) forwards; }
.hero::before { /* readability */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(27,22,19,.55) 0%, rgba(27,22,19,.15) 35%, rgba(27,22,19,.82) 100%);
}
@media (min-width: 900px) {
  .hero::before { background:
    linear-gradient(90deg, rgba(27,22,19,.72) 0%, rgba(27,22,19,.25) 55%, transparent 80%),
    linear-gradient(180deg, rgba(27,22,19,.5) 0%, rgba(27,22,19,.1) 35%, rgba(27,22,19,.7) 100%); }
}
.hero::after { /* signature 2: warm light turns on */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 70% 30%, rgba(255, 176, 96, .38), transparent 70%),
    radial-gradient(40% 40% at 20% 70%, rgba(224, 138, 107, .22), transparent 70%);
  mix-blend-mode: soft-light;
  opacity: 0;
  animation: lights-on 2.8s .6s var(--ease) forwards;
}
.hero__in { display: grid; gap: var(--s5); }
.hero h1 { max-width: 15ch; }
.hero__text { max-width: 46ch; color: rgba(242, 234, 223, .86); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .eyebrow { color: rgba(242, 234, 223, .8); margin-bottom: 0; }
@media (max-width: 899px) {
  .hero { min-height: auto; padding-top: calc(var(--header-h) + 4.5rem); padding-bottom: 6.5rem; }
  .hero__in { gap: var(--s4); }
  .hero__actions .btn--ghost { display: none; }
}
@keyframes hero-in { to { transform: scale(1); } }
@keyframes lights-on { to { opacity: 1; } }

/* ===== Facts strip ===== */
.facts { background: var(--night); color: var(--night-ink); border-top: 1px solid var(--night-line); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__item { padding: var(--s5) var(--s3) var(--s5) 0; border-bottom: 1px solid var(--night-line); }
.facts__item:nth-child(odd) { border-right: 1px solid var(--night-line); }
.facts__item:nth-child(even) { padding-left: var(--s4); }
.facts__value { font-family: var(--ff-display); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); line-height: 1; display: block; }
.facts__label { display: block; margin-top: 8px; color: var(--night-muted); font-size: var(--fs-small); line-height: 1.4; }
@media (min-width: 900px) {
  .facts__list { grid-template-columns: repeat(4, 1fr); }
  .facts__item { border-bottom: 0; border-right: 1px solid var(--night-line); padding: var(--s6) var(--s4); }
  .facts__item:first-child { padding-left: 0; }
  .facts__item:last-child { border-right: 0; }
}

/* ===== Formats (tall tiles) ===== */
.formats__grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
.format {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5; color: var(--night-ink); text-decoration: none;
  display: flex; align-items: flex-end; isolation: isolate;
  background: var(--night-2);
}
.format img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s var(--ease); }
.format::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(27,22,19,.86)); }
.format__body { padding: var(--s4); display: grid; gap: 8px; }
.format h3 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); }
.format p { font-size: var(--fs-small); color: rgba(242,234,223,.82); line-height: 1.45; max-width: 32ch; }
.format__more { font-size: var(--fs-small); font-weight: 500; margin-top: 6px; display: inline-flex; gap: 6px; align-items: center; }
.format:hover img { transform: scale(1.045); }
@media (min-width: 640px) { .formats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .formats__grid { grid-template-columns: repeat(4, 1fr); }
  .format { aspect-ratio: 3 / 4.6; }
  .formats__grid { align-items: start; }
  .format:nth-child(even) { margin-top: var(--s6); }
  .formats { padding-bottom: calc(var(--section-y) + var(--s6)); }
}

/* ===== Halls ===== */
.halls__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; padding-bottom: var(--s3);
  scrollbar-width: thin;
  margin-inline: calc(-1 * var(--side)); padding-inline: var(--side); scroll-padding-inline: var(--side);
}
.hall-card { scroll-snap-align: start; display: grid; grid-template-rows: auto 1fr; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; }
.hall-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.hall-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.hall-card:hover .hall-card__media img { transform: scale(1.04); }
.hall-card__body { padding: var(--s4); display: grid; gap: var(--s3); align-content: start; }
.hall-card h3 a { text-decoration: none; }
.hall-card h3 a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.hall-card { position: relative; }
.hall-card__text { color: var(--muted); font-size: var(--fs-small); line-height: 1.5; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin: 0; }
.specs div { padding-top: var(--s3); }
.specs dt { font-size: var(--fs-label); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin: 4px 0 0; font-family: var(--ff-display); font-size: 1.6rem; line-height: 1.1; font-weight: 600; }
@media (min-width: 900px) {
  .halls__track { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; overflow: visible; margin: 0; padding: 0; }
}

/* ===== Calculator (signature) ===== */
.calc { background: var(--night); position: relative; overflow: clip; }
.calc::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; background: radial-gradient(closest-side, rgba(224,138,107,.14), transparent); pointer-events: none; }
.calc__grid { display: grid; gap: var(--s6); position: relative; }
@media (min-width: 1080px) { .calc__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: var(--s7); align-items: start; } }
.calc__form, #calcForm { display: grid; gap: var(--s5); }
#calcForm { gap: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: var(--s3); min-width: 0; }
.calc legend { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); padding: 0; margin-bottom: var(--s3); display: flex; justify-content: space-between; width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px;
  border: 1px solid var(--night-line); border-radius: 999px; color: var(--night-ink);
  transition: background-color .2s, border-color .2s, color .2s; cursor: pointer; user-select: none;
}
.chip input:checked + span { background: var(--night-ink); color: var(--night); border-color: var(--night-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--night-accent); outline-offset: 3px; }
.chip small { color: inherit; opacity: .7; font-size: .8125rem; }

.guests { display: grid; gap: var(--s3); }
.guests__value { font-family: var(--ff-display); font-size: clamp(3.4rem, 2.6rem + 3vw, 5.4rem); line-height: .9; color: var(--night-ink); }
.guests__value small { font-family: var(--ff-text); font-size: 1rem; color: var(--night-muted); margin-left: 8px; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 30%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--night-accent) var(--p), var(--night-line) var(--p)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--night-line); }
.range::-moz-range-progress { height: 4px; border-radius: 4px; background: var(--night-accent); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--night-ink); border: 6px solid var(--night-accent); }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--night-ink); border: 6px solid var(--night-accent); }
.range__scale { display: flex; justify-content: space-between; font-size: var(--fs-small); color: var(--night-muted); margin-top: -6px; }

.field { display: grid; gap: 8px; }
.field label, .field .label { font-size: var(--fs-small); color: var(--night-muted); }
.input {
  min-height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-ink);
  width: 100%;
}
.input::placeholder { color: #7d7067; }
.input[type="date"] { color-scheme: dark; }
.hint { font-size: var(--fs-small); color: var(--night-muted); line-height: 1.45; }

.result { background: var(--night-2); border: 1px solid var(--night-line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 1080px) { .result { position: sticky; top: calc(var(--header-h) + 16px); } }
.plan { display: block; width: 100%; height: auto; background: #201915; border-bottom: 1px solid var(--night-line); }
.plan .floor { fill: #201915; }
.plan .stage { fill: none; stroke: var(--night-line); stroke-dasharray: 4 6; }
.plan .plan-label { text-transform: none; letter-spacing: .02em; }
.plan .stage-label, .plan .plan-label { fill: var(--night-muted); font: 500 12px var(--ff-text); letter-spacing: .12em; text-transform: uppercase; }
.plan .table { fill: #2E2520; stroke: #4A3C33; }
.plan .seat { fill: transparent; stroke: #4A3C33; stroke-width: 1.5; }
.plan .seat.on { fill: var(--night-accent); stroke: var(--night-accent); }
.plan .seat.new { transform-box: fill-box; transform-origin: center; animation: seat-in .45s var(--ease) both; }
@keyframes seat-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.result__body { padding: var(--s4); display: grid; gap: var(--s4); }
@media (min-width: 640px) { .result__body { padding: var(--s5); } }
.result__hall { display: flex; justify-content: space-between; gap: var(--s3); align-items: baseline; flex-wrap: wrap; }
.result__hall b { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 600; line-height: 1.1; }
.result__hall a { color: var(--night-accent); font-size: var(--fs-small); }
.result__price { font-family: var(--ff-display); font-size: clamp(2.2rem, 1.8rem + 2vw, 3.4rem); line-height: 1; color: var(--night-ink); }
.result__per { color: var(--night-muted); font-size: var(--fs-small); margin-top: 8px; }
.breakdown { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: var(--fs-small); }
.breakdown li { display: flex; justify-content: space-between; gap: var(--s3); border-bottom: 1px dashed var(--night-line); padding-bottom: 6px; }
.breakdown li span:last-child { white-space: nowrap; color: var(--night-ink); }
.breakdown li span:first-child { color: var(--night-muted); }
.note { font-size: var(--fs-small); color: var(--night-muted); line-height: 1.45; }
.note--warn { color: var(--night-accent); }

.leadform { display: grid; gap: var(--s3); border-top: 1px solid var(--night-line); padding-top: var(--s4); }
.leadform__title { font-family: var(--ff-display); font-size: 1.7rem; line-height: 1.1; }
.leadform__row { display: grid; gap: var(--s3); }
@media (min-width: 640px) { .leadform__row { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8125rem; color: var(--night-muted); line-height: 1.4; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--night-accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.leadform .btn { width: 100%; }
.form-ok { display: grid; gap: var(--s3); padding: var(--s4); border: 1px solid var(--night-accent); border-radius: var(--radius); }
.form-ok b { font-family: var(--ff-display); font-size: 1.8rem; font-weight: 600; }
.form-error { color: var(--night-accent); font-size: var(--fs-small); }

/* ===== Menu ===== */
.menu__grid { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .menu__grid { grid-template-columns: repeat(3, 1fr); } }
.set { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s5); display: grid; gap: var(--s4); align-content: start; background: var(--bg); }
.set--featured { background: var(--surface); border-color: var(--accent); }
.set__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); }
.set__tag { font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.set__price { font-family: var(--ff-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; }
.set__price small { font-family: var(--ff-text); font-size: 1rem; color: var(--muted); margin-left: 6px; }
.set ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.set li { padding-left: 22px; position: relative; line-height: 1.45; }
.set li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: var(--accent); }
.set__note { font-size: var(--fs-small); color: var(--muted); }
.menu__foot { margin-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); align-items: center; color: var(--muted); font-size: var(--fs-small); }

/* ===== FAQ ===== */
.faq__grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .faq__grid { grid-template-columns: 1fr 1.4fr; } }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; padding: var(--s4) 44px var(--s4) 0; position: relative;
  font-family: var(--ff-display); font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; font-weight: 500;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-family: var(--ff-text); font-size: 1.6rem; color: var(--accent); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa p { padding: 0 0 var(--s4); color: var(--muted); max-width: 60ch; }

/* ===== Gallery ===== */
.gallery__grid { columns: 2 220px; column-gap: var(--gutter); }
.gallery__grid figure { margin: 0 0 var(--gutter); break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery__grid img { width: 100%; }
@media (min-width: 1080px) { .gallery__grid { columns: 3; } }

/* ===== Reviews ===== */
.reviews__grid { display: grid; gap: var(--gutter); }
@media (min-width: 900px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: var(--s5); border-radius: var(--radius-lg); background: var(--surface); display: grid; gap: var(--s4); align-content: space-between; }
.review blockquote { margin: 0; font-family: var(--ff-display); font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); line-height: 1.3; }
.review figcaption { font-size: var(--fs-small); color: var(--muted); }
.review figcaption b { color: var(--ink); font-weight: 500; display: block; }
.stars { color: var(--accent); letter-spacing: 2px; }
.rating { display: flex; align-items: baseline; gap: 12px; }
.rating b { font-family: var(--ff-display); font-size: 4rem; line-height: 1; font-weight: 500; }
.rating span { color: var(--muted); font-size: var(--fs-small); }

/* ===== Contacts ===== */
.contacts__grid { display: grid; gap: var(--s6); }
@media (min-width: 900px) { .contacts__grid { grid-template-columns: 1fr 1.2fr; align-items: stretch; } }
.contacts__list { display: grid; gap: var(--s4); margin: var(--s5) 0; }
.contacts__list dt { font-size: var(--fs-label); letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); }
.contacts__list dd { margin: 4px 0 0; font-size: 1.125rem; }
.contacts__list a { text-decoration: none; }
.contacts__phone { font-family: var(--ff-display); font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); line-height: 1.1; }
.contacts__msg { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 360px; background: var(--night-2); border: 1px solid var(--night-line); }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; filter: grayscale(.4) contrast(1.05); }

/* ===== Footer ===== */
.footer { background: var(--night); color: var(--night-muted); border-top: 1px solid var(--night-line); font-size: var(--fs-small); padding: var(--s5) 0 calc(var(--s5) + 76px); }
.footer__in { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s5); justify-content: space-between; }
.footer a { color: var(--night-ink); }
@media (min-width: 900px) { .footer { padding-bottom: var(--s5); } }

/* ===== Mobile action bar (from Délice) ===== */
.actionbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 6px; padding: 6px;
  background: rgba(27, 22, 19, .92); backdrop-filter: blur(10px);
  border: 1px solid var(--night-line); border-radius: 999px;
  transform: translateY(0); transition: transform .35s var(--ease);
}
.actionbar a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; text-decoration: none; color: var(--night-ink); font-size: .9375rem; font-weight: 500; }
.actionbar a.is-main { background: var(--night-accent); color: var(--night); }
.actionbar svg { width: 18px; height: 18px; }
.actionbar.is-hidden { transform: translateY(140%); }
@media (min-width: 900px) { .actionbar { display: none; } }

/* ===== Hall page ===== */
.hall-hero { padding: clamp(2rem, 1rem + 4vw, 4.5rem) 0 var(--s6); }
.crumbs { font-size: var(--fs-small); color: var(--muted); margin-bottom: var(--s5); }
.crumbs a { color: inherit; }
.hall-hero__grid { display: grid; gap: var(--s5); }
@media (min-width: 900px) { .hall-hero__grid { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.hall-hero .specs { max-width: 520px; }
.hall-gallery { display: grid; gap: var(--gutter); grid-template-columns: repeat(2, 1fr); }
.hall-gallery figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.hall-gallery figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hall-gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .hall-gallery { grid-template-columns: repeat(3, 1fr); }
  .hall-gallery figure:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}
.hall-about { display: grid; gap: var(--s6); padding-block: var(--section-y) 0; }
@media (min-width: 900px) { .hall-about { grid-template-columns: 1fr 1fr; } }
.hall-about p { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.4rem); line-height: 1.5; }
.features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.features li { padding: var(--s3) 0; border-bottom: 1px solid var(--line); display: flex; gap: 12px; align-items: baseline; }
.features li::before { content: "—"; color: var(--accent); }
.hall-cta { margin-top: var(--section-y); background: var(--night); color: var(--night-ink); border-radius: var(--radius-lg); padding: clamp(2rem, 1.2rem + 3vw, 4rem); display: grid; gap: var(--s4); }
@media (min-width: 900px) { .hall-cta { grid-template-columns: 1.4fr auto; align-items: center; } }
.halls--other { padding-top: var(--section-y); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
  @supports (animation-timeline: view()) {
    .js .reveal { opacity: 1; transform: none; transition: none; animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .js .reveal-img img { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { clip-path: inset(18% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0); transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero::after { opacity: 1; }
}

::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }
