/* ===== Tokens ===== */
:root {
  --bg: #FAF7F2;
  --bg-alt: #F2EDE6;
  --white: #FFFFFF;
  --stone: #DDD5CA;
  --brown: #4A3728;
  --brown-deep: #2E2118;
  --gold: #B8935A;
  --gold-dark: #8A6A38;
  --gold-light: #E3C28D;
  --danger: #A63A29;
  --text: #3A2D22;
  --muted: #6B5A4B;
  --radius: 16px;
  --radius-sm: 8px;
  --shape: 28px 4px 28px 4px;
  --header-h: 72px;
  --shadow: 0 10px 30px -14px rgba(74, 55, 40, .2);
  --shadow-lg: 0 26px 50px -18px rgba(74, 55, 40, .3);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Шкала 1.25 (major third), база 1rem */
  --fs-sm: clamp(.875rem, .85rem + .1vw, .95rem);
  --fs-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-h3: clamp(1.45rem, 1.25rem + .7vw, 1.85rem);
  --fs-h2: clamp(2.3rem, 1.6rem + 3vw, 4rem);
  --fs-h1: clamp(2.7rem, 1.6rem + 5.2vw, 5.8rem);
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .16 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: var(--fs-base); line-height: 1.65; color: var(--text); background: var(--bg); overflow-x: hidden; }
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); color: var(--brown); font-weight: 600; line-height: 1.1; letter-spacing: .005em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { max-width: 65ch; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
section[id] { scroll-margin-top: var(--header-h); }
.container { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.icon { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .75rem 1rem; background: var(--brown); color: var(--white); border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }
/* Кольцо фокуса — только для клавиатуры; при наведении мышью обводок нет */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.kicker { display: flex; align-items: center; gap: .9rem; font-size: var(--fs-sm); font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.kicker--dark { color: var(--gold-dark); }
.kicker__num { font-family: var(--serif); font-size: 1.5rem; font-style: italic; font-weight: 500; letter-spacing: 0; line-height: 1; }
.kicker__num::after { content: ""; display: inline-block; width: 2.25rem; height: 1px; margin-left: .9rem; vertical-align: middle; background: currentColor; opacity: .7; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: .85rem 2rem; border-radius: var(--radius-sm); border: 0; font: 600 .95rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.btn--primary { background: linear-gradient(180deg, #5A4432, var(--brown)); color: var(--white); box-shadow: inset 0 0 0 1px rgba(227, 194, 141, .55), var(--shadow); }
.btn--primary:hover { background: linear-gradient(180deg, var(--gold), var(--gold-dark)); transform: scale(1.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), var(--shadow-lg); }
.btn--ghost { background: rgba(255, 255, 255, .1); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--white); color: var(--brown); transform: scale(1.03); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), var(--shadow-lg); }
.btn:active { transform: scale(.98); }
.btn--block { width: 100%; }

/* ===== Header (всегда белый) ===== */
.header { position: fixed; inset: 0 0 auto 0; z-index: 140; height: var(--header-h); background: #FFFFFF; border-bottom: 1px solid transparent; transition: box-shadow .3s var(--ease), border-color .3s var(--ease); }
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(74, 55, 40, .3); border-bottom-color: var(--stone); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; letter-spacing: .04em; color: var(--brown); transition: color .3s var(--ease); }
.logo:hover { color: var(--gold-dark); }
.logo--light { color: var(--white); }
.logo--light:hover { color: var(--gold-light); }

.nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); z-index: 120; background: #FFFFFF; padding: calc(var(--header-h) + 1rem) 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .25); }
.nav.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.nav__list { display: flex; flex-direction: column; gap: .25rem; }
.nav__list a { display: flex; align-items: center; width: 100%; min-height: 48px; padding: 0 1rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--brown); transition: background-color .3s var(--ease), color .3s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { background: var(--bg-alt); color: var(--gold-dark); }
.overlay { position: fixed; inset: 0; z-index: 110; background: rgba(46, 33, 24, .5); opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility 0s .35s; }
.overlay.is-visible { opacity: 1; visibility: visible; transition: opacity .35s var(--ease); }

.burger { position: relative; z-index: 130; width: 48px; height: 48px; border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer; display: grid; place-content: center; gap: 5px; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: background-color .3s var(--ease); }
.burger:hover { background: var(--bg-alt); }
.burger span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; display: grid; place-items: center; min-height: 100svh; padding: calc(var(--header-h) + 2.5rem) 0 6rem; overflow: hidden; color: var(--white); background: var(--brown-deep); isolation: isolate; }
.hero__bg { position: absolute; inset: -6% 0; z-index: -3; will-change: transform; }
.hero__bg img, .hero__bg .ph { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: breathe 18s ease-in-out infinite alternate; }
.hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(46, 33, 24, .6) 0%, rgba(46, 33, 24, .42) 45%, rgba(46, 33, 24, .75) 100%), radial-gradient(ellipse at center, rgba(46, 33, 24, .28), transparent 70%); animation: fade 1.2s var(--ease) both; }
.hero__frame { --c: rgba(227, 194, 141, .85); position: absolute; z-index: -1; inset: calc(var(--header-h) + 1rem) 1rem 1rem; pointer-events: none; opacity: 0; animation: fade 1.4s var(--ease) .9s forwards;
  background:
    linear-gradient(var(--c), var(--c)) left top / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 28px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 28px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 28px no-repeat; }
.hero__content { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.hero .kicker { justify-content: center; color: var(--gold-light); margin-bottom: 1rem; }
.hero__line { display: block; width: 72px; height: 1px; margin-bottom: 1.75rem; background: var(--gold-light); transform: scaleX(0); animation: draw 1s var(--ease) .45s forwards; }
.hero h1 { color: var(--white); font-size: var(--fs-h1); font-weight: 500; line-height: 1.05; max-width: 24ch; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); text-wrap: balance; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero__row { display: block; }
@media (max-width: 768px) { .hero__row { display: inline; } }
.w { display: inline-block; opacity: 0; transform: translateY(.5em); filter: blur(6px); animation: word .9s var(--ease) calc(.6s + var(--i) * .07s) forwards; }
.hero__lead { margin: 1.75rem auto 0; max-width: 60ch; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.hero__actions { display: flex; flex-direction: column; gap: 1rem; width: 100%; max-width: 380px; margin-top: 2.25rem; }
.hero__phone { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .6rem 1rem; min-height: 44px; border-radius: var(--radius-sm); font-weight: 600; letter-spacing: .04em; transition: background-color .3s var(--ease), color .3s var(--ease); }
.hero__phone:hover { background: rgba(255, 255, 255, .14); color: var(--gold-light); }
.hero__item { opacity: 0; animation: rise .9s var(--ease) forwards; }
.hero__content > :nth-child(1) { animation-delay: .15s; }
.hero__content > :nth-child(4) { animation-delay: 1.35s; }
.hero__content > :nth-child(5) { animation-delay: 1.5s; }
.hero__content > :nth-child(6) { animation-delay: 1.65s; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.75rem; width: 44px; height: 64px; margin-left: -22px; display: flex; justify-content: center; opacity: 0; animation: fade 1s var(--ease) 2s forwards; }
.scroll-cue span { position: relative; display: block; width: 1px; height: 100%; background: rgba(255, 255, 255, .45); }
.scroll-cue span::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); animation: cue 2.2s var(--ease) infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { to { transform: scaleX(1); } }
@keyframes word { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.05); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 25% { opacity: 1; } 100% { transform: translateY(58px); opacity: 0; } }

/* ===== Sections ===== */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: clip; background-image: var(--noise); }
.section--alt { background-color: var(--bg-alt); }
.section > .container { position: relative; z-index: 1; }
.section::before { content: ""; position: absolute; z-index: 0; left: -14vw; bottom: -18vw; width: 42vw; aspect-ratio: 1; border-radius: 50%; background: var(--gold); opacity: .06; pointer-events: none; }
.section::after { content: ""; position: absolute; z-index: 0; right: -8vw; top: 8%; width: 32vw; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold); opacity: .22; pointer-events: none; }
.section--alt::before { left: auto; right: -12vw; bottom: auto; top: -16vw; }
.section--alt::after { right: auto; left: -6vw; top: auto; bottom: 6%; }
.rule { position: absolute; z-index: 1; top: 0; left: 50%; width: min(100% - 2.5rem, 480px); height: 9px; transform: translateX(-50%); }
.rule::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); transform: scaleX(0); transition: transform 1.1s var(--ease); }
.rule::after { content: ""; position: absolute; left: 50%; top: 0; width: 8px; height: 8px; margin-left: -4px; background: var(--gold); transform: rotate(45deg) scale(0); transition: transform .6s var(--ease) .7s; }
.rule.is-in::before { transform: scaleX(1); }
.rule.is-in::after { transform: rotate(45deg) scale(1); }
.section__head { margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.section__head p:last-child { margin-top: 1.25rem; color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid--3, .grid--4 { grid-template-columns: 1fr; }
.icons { margin-top: clamp(2.5rem, 6vw, 4.5rem); }

.media { position: relative; overflow: hidden; border-radius: var(--shape); background: var(--bg-alt); aspect-ratio: 16 / 10; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) sepia(.08); transition: transform .9s var(--ease); }
.media--43 { aspect-ratio: 4 / 3; }
.media--about { width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 4 / 3; border-radius: 20px; box-shadow: var(--shadow-lg); }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #EDE6DB, var(--stone)); color: var(--gold-dark); font-family: var(--serif); font-size: 1.5rem; text-align: center; padding: 1rem; }

/* About */
.about { display: grid; gap: 2.5rem; align-items: center; }
.about__text p { margin-top: 1.1rem; color: var(--muted); }
.about__text h2 { margin-bottom: .5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips li { padding: .45rem 1.1rem; border-radius: 4px 14px 4px 14px; background: var(--white); color: var(--brown); font-size: var(--fs-sm); font-weight: 600; box-shadow: inset 0 0 0 1px var(--stone); transition: background-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.chips li:hover { background: var(--brown); color: var(--white); transform: translateY(-2px); }

/* Cards & features */
.card { background: var(--white); border-radius: var(--shape); overflow: hidden; box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card:hover .media img { transform: scale(1.05); }
.card .media { border-radius: 0; }
.card__body { padding: 1.5rem 1.75rem 1.9rem; }
.card__body p, .card--pad p { margin-top: .6rem; color: var(--muted); font-size: var(--fs-sm); }
.card--pad { padding: 2rem; }

.ico { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.1rem; border-radius: 50%; background: transparent; color: var(--gold-dark); box-shadow: inset 0 0 0 1px var(--gold); transition: transform .5s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.feature { position: relative; padding: 1.75rem 1.5rem 2rem; background: transparent; border-bottom: 1px solid rgba(184, 147, 90, .55); border-radius: 0; transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .5s var(--ease); }
.feature p { margin-top: .4rem; color: var(--muted); font-size: var(--fs-sm); }
.feature:hover, .card--pad:hover { transform: translateY(-4px); }
.feature:hover { background: rgba(255, 255, 255, .75); box-shadow: var(--shadow); }
.feature:hover .ico, .card--pad:hover .ico { transform: rotate(-10deg) scale(1.06); background: var(--gold); color: var(--white); }

.menu-note { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; margin-top: 3.5rem; text-align: center; }
.menu-note .chips { justify-content: center; margin: 0; }
.menu-note p { color: var(--muted); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-bottom: 3rem; }
.gallery__item .media { aspect-ratio: 1 / 1; box-shadow: var(--shadow); transition: box-shadow .4s var(--ease); }
.gallery__item:nth-child(odd) .media { border-radius: 24px 4px 24px 4px; }
.gallery__item:nth-child(even) .media { border-radius: 4px 24px 4px 24px; }
.gallery__item:hover .media { box-shadow: var(--shadow-lg); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--wide .media { aspect-ratio: 16 / 9; }

/* Price */
.price { position: relative; max-width: 780px; margin-inline: auto; padding: clamp(2.5rem, 6vw, 4.5rem); text-align: center; color: var(--white); background: linear-gradient(135deg, var(--brown), var(--brown-deep)); border-radius: 40px 6px 40px 6px; box-shadow: var(--shadow-lg); }
.price::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(227, 194, 141, .4); border-radius: 30px 2px 30px 2px; pointer-events: none; }
.price .kicker { justify-content: center; color: var(--gold-light); }
.price h2 { color: var(--white); }
.price p { margin-inline: auto; }
.price__value { margin-top: 1.5rem; font-family: var(--serif); font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); }
.price__value strong { color: var(--gold-light); font-weight: 600; font-variant-numeric: tabular-nums; }
.price__note { margin-top: 1rem; color: rgba(255, 255, 255, .82); }

/* Booking */
.booking { display: grid; gap: 2.5rem; align-items: start; }
.booking__info p { margin-top: 1.1rem; color: var(--muted); }
.contact-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .75rem; }
.contact-list .icon { color: var(--gold-dark); margin-top: .15rem; }
.contact-list a { font-weight: 600; transition: color .3s var(--ease); }
.contact-list a:hover { color: var(--gold-dark); }
.form { display: grid; gap: 1rem; padding: clamp(1.5rem, 4vw, 2.25rem); background: var(--white); border-radius: var(--shape); box-shadow: var(--shadow-lg); }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--brown); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .75rem 1rem; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 0; border-radius: var(--radius-sm); box-shadow: inset 0 0 0 1px var(--stone); transition: box-shadow .3s var(--ease), background-color .3s var(--ease); }
.field textarea { resize: vertical; }
.field input:hover, .field textarea:hover { background: var(--white); }
.field input:focus-visible, .field textarea:focus-visible { background: var(--white); outline-offset: 1px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger); }
.error { min-height: 1.1em; font-size: .85rem; color: var(--danger); }
.form__status { font-weight: 600; color: var(--brown); }
.form__status.is-error { color: var(--danger); }

/* Contacts */
.contacts { display: grid; gap: 1.5rem; align-items: stretch; }
.contacts__card:hover { transform: none; }
.map { overflow: hidden; border-radius: 4px 28px 4px 28px; box-shadow: var(--shadow); min-height: 300px; aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: sepia(.2) saturate(.9); }

/* Footer */
.footer { position: relative; padding: 4.5rem 0 2rem; color: rgba(255, 255, 255, .82); background-color: var(--brown-deep); background-image: var(--noise); }
.footer::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 2.5rem, 480px); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer__grid { display: grid; gap: 2rem; }
.footer__about { margin-top: 1rem; font-size: var(--fs-sm); }
.footer__title { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1rem; }
.footer li { margin-bottom: .5rem; font-size: var(--fs-sm); }
.footer a:not(.logo):not(.to-top) { transition: color .3s var(--ease); }
.footer a:not(.logo):not(.to-top):hover { color: var(--gold-light); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: var(--fs-sm); }
.to-top { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 1.1rem; border-radius: var(--radius-sm); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); transition: background-color .3s var(--ease), transform .3s var(--ease); }
.to-top:hover { background: rgba(255, 255, 255, .1); transform: translateY(-2px); }

/* ===== Reveal (IntersectionObserver, один раз) ===== */
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s), filter .9s var(--ease) var(--d, 0s), clip-path 1s var(--ease) var(--d, 0s), box-shadow .5s var(--ease), background-color .4s var(--ease); }
.js [data-reveal="up"] { transform: translateY(24px); filter: blur(6px); }
.js [data-reveal="left"] { transform: translateX(-28px); filter: blur(6px); }
.js [data-reveal="right"] { transform: translateX(28px); filter: blur(6px); }
.js .feature[data-reveal="card"], .js .card--pad[data-reveal="card"] { transform: translateY(22px) scale(.96); }
.js .card[data-reveal="card"]:not(.card--pad) { transform: translateY(26px) scale(.97); }
.js [data-reveal="zoom"] { transform: scale(.97); }
.js .gallery__item[data-reveal] { opacity: 1; transform: none; }
.js .gallery__item[data-reveal] .media { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) var(--d, 0s), box-shadow .4s var(--ease); }
.js .gallery__item[data-reveal]:nth-child(even) .media { clip-path: inset(0 0 100% 0); }
.js .gallery__item[data-reveal] img { transform: scale(1.12); transition: transform 1.4s var(--ease) var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; filter: none; }
.js .card[data-reveal="card"].is-visible:not(.card--pad) { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease); }
.js .gallery__item[data-reveal].is-visible .media { clip-path: inset(0 0 0 0); }
.js .card[data-reveal="card"]:not(.card--pad) .media { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease) var(--d, 0s); }
.js .card[data-reveal="card"].is-visible:not(.card--pad) .media { clip-path: inset(0 0 0 0); }
.js .gallery__item[data-reveal].is-visible img { transform: none; transition: transform .9s var(--ease); }
.js .gallery__item[data-reveal].is-visible:hover img { transform: scale(1.06); }
.js .feature[data-reveal].is-visible, .js .card--pad[data-reveal].is-visible { transition: opacity .9s var(--ease) var(--d, 0s), transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s var(--ease); }

/* ===== Responsive (mobile-first) ===== */
@media (min-width: 481px) {
  .hero__actions { flex-direction: row; max-width: none; justify-content: center; width: auto; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .form { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .hero__frame { inset: calc(var(--header-h) + 1.5rem) 1.5rem 1.5rem; }
}
@media (min-width: 768px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .about, .booking { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; }
  .burger, .overlay { display: none; }
  .nav { position: static; width: auto; padding: 0; flex-direction: row; align-items: center; gap: 1.5rem; transform: none; visibility: visible; box-shadow: none; background: transparent; transition: none; }
  .nav__list { flex-direction: row; gap: .25rem; }
  .nav__list a { min-height: 44px; padding: 0 .9rem; font-size: .95rem; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
  .hero__frame { inset: calc(var(--header-h) + 2rem) 2rem 2rem; }
}
@media (min-width: 1280px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1441px) { .container { width: min(100% - 4rem, 1320px); } }
@media (min-width: 1920px) { html { font-size: 112.5%; } .container { width: min(100% - 6rem, 1440px); } }
@media (max-width: 359px) { .logo { font-size: 1.75rem; } .gallery { gap: .5rem; } }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero__item, .w, .hero__frame, .scroll-cue { opacity: 1; animation: none; filter: none; transform: none; }
  .hero__line { transform: none; animation: none; }
  .scroll-cue span::after { animation: none; opacity: 1; }
  .js [data-reveal], .js [data-reveal] img, .js [data-reveal] .media { transform: none !important; filter: none !important; clip-path: none !important; }
  .js [data-reveal] { transition: opacity .4s linear; }
  .rule::before, .rule::after { transition: none; }
}
