/* Северная пауза — «полярная ночь и жар печи».
   Холод снега и сумерек против тепла дерева и огня. */

:root {
  --night: #0d1311;
  --night-2: #141b18;
  --night-3: #1c2521;
  --snow: #f2f0ea;
  --paper: #e9e5dc;
  --ink: #16201c;
  --muted: #59615c;          /* на светлом: 5.8:1 */
  --muted-light: #a7b0aa;    /* на тёмном: 8:1 */
  --ember: #c9976a;          /* латунь, тёмный текст на ней — 7.6:1 */
  --ember-hot: #ddb48b;
  --ember-ink: #1b120a;
  --ember-deep: #87582f;     /* курсив на светлом: 5.9:1 */
  --frost: #b9c8d2;
  --line-dark: rgba(242, 240, 234, .14);
  --line-light: rgba(22, 32, 28, .16);

  --display: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Golos Text', 'Helvetica Neue', Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(20px, 4.4vw, 64px);
  --header-h: 84px;
  --r: 3px;                  /* строгие углы — как у печатного издания */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Плёночное зерно поверх всего — убирает «цифровую» стерильность */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 100; pointer-events: none;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--ember); color: var(--ember-ink); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 4px; border-radius: 2px; }
h1, h2, h3, p, figure, dl, dd, address { margin: 0; }
address { font-style: normal; }
.nowrap { white-space: nowrap; }

.shell { width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto; }
.section { padding-block: clamp(96px, 12vw, 176px); }

.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 10px 16px; background: var(--ember); color: var(--ember-ink);
  font-size: 13px; font-weight: 600; transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus-visible { transform: none; }

/* ——— Типографика ——— */
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.015em; }
h2 { font-size: clamp(44px, 5.6vw, 88px); line-height: .98; }
h2 em, h1 em { font-style: italic; font-weight: 400; }
h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; }

.label {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 11px/1.4 var(--sans);
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--muted);
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--ember); flex: none; }

/* ——— Кнопки ——— */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 0 30px;
  border: 0; border-radius: var(--r);
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  transition: color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.btn::after {
  content: ""; width: 18px; height: 1px; background: currentColor;
  transition: transform .5s var(--ease); transform-origin: left;
}
.btn:hover::after { transform: scaleX(1.6); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.98); }

.btn-ember { background: var(--ember); color: var(--ember-ink); }
.btn-ember::before { background: var(--ember-hot); }
.btn-dark { background: var(--night); color: var(--snow); }
.btn-dark::before { background: var(--night-3); }
.btn-block { width: 100%; }

.btn-text {
  display: inline-flex; align-items: center; gap: 12px;
  font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding-block: 10px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.btn-text:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ——— Шапка ——— */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; gap: 32px;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
  color: var(--snow);
  transition: background-color .5s var(--ease), height .5s var(--ease), border-color .5s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  --header-h: 68px;
  background: rgba(13, 19, 17, .82);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-dark);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; }
.brand-name {
  display: flex; flex-direction: column;
  font: 500 24px/1 var(--display); letter-spacing: .02em;
}
.brand-name small {
  margin-top: 6px;
  font: 600 9px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-light);
}
.desktop-nav { display: flex; gap: 36px; margin-left: auto; }
.desktop-nav a {
  position: relative; font-size: 14px; color: rgba(242, 240, 234, .78);
  transition: color .3s;
}
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--ember); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.desktop-nav a:hover { color: var(--snow); }
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-phone {
  display: inline-flex; align-items: center; min-height: 44px;
  font: 500 15px/1 var(--sans); letter-spacing: .04em; color: var(--snow); white-space: nowrap;
  transition: color .3s;
}
.header-phone:hover { color: var(--ember-hot); }
.header-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid rgba(242, 240, 234, .4); border-radius: var(--r);
  font: 600 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.header-cta:hover { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
.menu-toggle, .mobile-nav { display: none; }

/* ——— Первый экран ——— */
.hero {
  position: relative; isolation: isolate;
  min-height: max(680px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--snow); background: var(--night);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%;
  animation: hero-zoom 2.8s var(--ease) both;
}
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 19, 17, .55) 0%, rgba(13, 19, 17, 0) 22%),
    linear-gradient(90deg, rgba(13, 19, 17, .78) 0%, rgba(13, 19, 17, .35) 45%, rgba(13, 19, 17, 0) 70%),
    linear-gradient(0deg, rgba(13, 19, 17, .96) 0%, rgba(13, 19, 17, .5) 26%, rgba(13, 19, 17, 0) 52%);
}
.hero-inner { padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(36px, 5vw, 64px); }
.hero-coords {
  display: flex; flex-wrap: wrap; gap: 10px 28px; margin-bottom: clamp(20px, 3vw, 36px);
  font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--frost);
}
.hero-coords span + span::before { content: "·"; margin-right: 28px; color: rgba(185, 200, 210, .5); }
.hero h1 {
  font-size: clamp(60px, 9.6vw, 164px); line-height: .88; letter-spacing: -.025em;
  font-weight: 500;
}
.hero h1 .line { display: block; }
.hero h1 em { color: var(--ember-hot); }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 28px 60px; margin-top: clamp(28px, 4vw, 52px);
}
.hero-lead { max-width: 440px; font-size: 17px; line-height: 1.7; color: rgba(242, 240, 234, .86); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; }

.hero-facts {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line-dark);
  padding-block: 24px 30px;
}
.hero-facts > div { padding-right: 16px; }
.hero-facts > div + div { padding-left: 24px; border-left: 1px solid var(--line-dark); }
.hero-facts dt {
  font: 600 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted-light); margin-bottom: 10px;
}
.hero-facts dd { font: 500 26px/1.1 var(--display); }

/* Входная анимация первого экрана */
.hero-coords, .hero h1 .line, .hero-foot, .hero-facts > div {
  animation: rise 1.4s var(--ease) both;
}
.hero-coords { animation-delay: .35s; }
.hero h1 .line:nth-child(1) { animation-delay: .5s; }
.hero h1 .line:nth-child(2) { animation-delay: .65s; }
.hero-foot { animation-delay: .85s; }
.hero-facts > div:nth-child(1) { animation-delay: 1s; }
.hero-facts > div:nth-child(2) { animation-delay: 1.07s; }
.hero-facts > div:nth-child(3) { animation-delay: 1.14s; }
.hero-facts > div:nth-child(4) { animation-delay: 1.21s; }
.hero-facts > div:nth-child(5) { animation-delay: 1.28s; }
.site-header { animation: fade 1.2s .3s var(--ease) both; }

@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ——— Вступление ——— */
.intro { background: var(--snow); }
.intro-grid {
  display: grid; grid-template-columns: 2fr 6fr 4fr; gap: 48px;
  align-items: start;
}
.intro-grid > .label { padding-top: 18px; }
.intro h2 { font-size: clamp(46px, 5.2vw, 80px); line-height: 1; max-width: 15ch; }
.intro h2 em { color: var(--ember-deep); }  /* тёплый — 5.4:1 на снегу */
.intro-points { list-style: none; margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid var(--line-light); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.intro-points li { display: flex; flex-direction: column; gap: 14px; }
.intro-points svg { width: 26px; height: 26px; color: var(--ember-deep); }
.intro-points span { display: flex; flex-direction: column; gap: 4px; font: 500 21px/1.15 var(--display); color: var(--ink); }
.intro-points small { font: 400 13px/1.4 var(--sans); color: var(--muted); }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14px; color: var(--snow); }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid rgba(242, 240, 234, .4); border-radius: 2px; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid var(--ember-ink); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--ember); border-color: var(--ember); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check input:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.intro-text { margin-top: 40px; max-width: 560px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.intro-aside { position: relative; padding-bottom: 72px; }
.intro-photo { overflow: hidden; border-radius: var(--r); aspect-ratio: 4 / 5; margin-left: 18%; }
.intro-photo img { width: 100%; height: 100%; object-fit: cover; }
.intro-aside .price-card { position: absolute; left: 0; bottom: 0; width: min(100%, 320px); }
.price-card {
  position: relative; padding: 28px 28px 24px;
  background: var(--night); color: var(--snow); border-radius: var(--r);
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden;
}
.price-card .label { color: var(--muted-light); margin-bottom: 14px; }
.price-list > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 12px; border-top: 1px solid var(--line-dark); }
.price-list dt { font-size: 13px; color: var(--muted-light); }
.price-list dt small { display: block; font-size: 11px; opacity: .8; }
.price-list dd { font: 500 30px/1 var(--display); white-space: nowrap; }
.price-card .btn-text { margin-top: 14px; align-self: flex-start; color: var(--ember-hot); }

/* ——— Галерея ——— */
.gallery { background: var(--snow); padding-top: 0; }
.gallery-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px 60px; padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line-light); margin-bottom: clamp(40px, 5vw, 72px);
}
.gallery-head p { max-width: 380px; color: var(--muted); }
.gallery-grid {
  display: grid; gap: clamp(14px, 1.6vw, 24px);
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto auto;
}
.gallery-grid figure { display: flex; flex-direction: column; gap: 14px; }
.g-a { grid-column: 1 / 9; grid-row: 1 / 3; }
.g-b { grid-column: 9 / 13; grid-row: 1; }
.g-c { grid-column: 9 / 13; grid-row: 2; }
.g-d { grid-column: 1 / 5; grid-row: 3; }
.g-e { grid-column: 5 / 9; grid-row: 3; }
.g-f { grid-column: 9 / 13; grid-row: 3; }
.g-d .frame, .g-e .frame, .g-f .frame { aspect-ratio: 4 / 3; }
.frame { position: relative; overflow: hidden; border-radius: var(--r); background: var(--paper); flex: 1; }
.frame img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.g-a .frame { aspect-ratio: 4 / 3.1; }
.g-b .frame, .g-c .frame { aspect-ratio: 4 / 3; }
@media (hover: hover) { figure:hover .frame img { transform: scale(1.045); } }
figcaption {
  font: 600 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}

/* ——— Территория: широкий кадр выходит из ночи ——— */
.territory { position: relative; isolation: isolate; color: var(--snow); background: var(--night); }
.territory-copy {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 7fr 5fr; gap: 24px 80px; align-items: end;
  padding-top: clamp(96px, 11vw, 160px);
}
.territory-copy .label { grid-column: 1 / -1; color: var(--frost); }
.territory-copy h2 { font-size: clamp(42px, 5.4vw, 84px); }
.territory-copy h2 em { color: var(--ember-hot); }
.territory-copy p:not(.label) { max-width: 440px; color: rgba(242, 240, 234, .8); font-size: 17px; justify-self: end; }
.territory-media { position: relative; margin-top: clamp(-40px, -3vw, -20px); aspect-ratio: 16 / 9; max-height: 92svh; width: 100%; overflow: hidden; }
.territory-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.territory-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(13, 19, 17, .6) 14%, rgba(13, 19, 17, 0) 38%),
    linear-gradient(0deg, var(--night) 0%, rgba(13, 19, 17, 0) 16%);
}

/* ——— Что внутри (тёмная, «жар печи») ——— */
.features {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--night); color: var(--snow);
}
.features::before {
  content: ""; position: absolute; z-index: -1;
  width: 1100px; height: 1100px; left: -380px; bottom: -620px;
  background: radial-gradient(circle, rgba(201, 151, 106, .14) 0%, rgba(201, 151, 106, .04) 35%, transparent 65%);
}
.features-copy { display: grid; grid-template-columns: 5fr 7fr; gap: 48px clamp(48px, 8vw, 140px); align-items: start; }
.features-copy > div:first-child { position: sticky; top: 120px; }
.features .label { color: var(--muted-light); }
.features h2 { margin-top: 28px; }
.features h2 em { color: var(--ember-hot); }
.features-lead { margin-top: 32px; max-width: 400px; color: var(--muted-light); font-size: 17px; }
.feature-list { list-style: none; margin: 0; padding: 0; counter-reset: f; }
.feature-list li {
  counter-increment: f;
  display: grid; grid-template-columns: 72px 1fr; gap: 6px 24px;
  padding-block: 40px; border-top: 1px solid var(--line-dark);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-dark); }
.feature-list li::before {
  content: counter(f, upper-roman);
  grid-row: 1 / 3; padding-top: 6px;
  font: italic 400 26px/1 var(--display); color: var(--ember);
}
.feature-list h3 { font-size: clamp(30px, 2.8vw, 40px); }
.feature-list p { color: var(--muted-light); max-width: 520px; margin-top: 10px; }

/* ——— Вечер: кадр и три шага ——— */
.ritual { background: var(--snow); color: var(--ink); }
.ritual-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 48px clamp(48px, 8vw, 140px); align-items: center; }
/* Коллаж: крупный кадр слева, два поменьше справа со сдвигом — как журнальный разворот */
.ritual-collage { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.rc { position: relative; overflow: hidden; border-radius: var(--r); }
.rc img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.rc-a { grid-row: 1 / 3; aspect-ratio: 3 / 4.4; }
.rc-b { aspect-ratio: 4 / 4.6; margin-top: 18%; }
.rc-c { aspect-ratio: 4 / 4.2; }
.motion-ready .rc img { transform: scale(1.1); }
.motion-ready .ritual-collage.is-visible .rc img { transform: none; }
.motion-ready .ritual-collage.is-visible .rc-b img { transition-delay: .12s; }
.motion-ready .ritual-collage.is-visible .rc-c img { transition-delay: .24s; }
.ritual .label { color: var(--muted); }
.ritual h2 { margin-top: 28px; }
.ritual h2 em { color: var(--ember-deep); }
.ritual-steps { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; }
.ritual-steps li {
  display: grid; grid-template-columns: 120px 1fr; gap: 6px 24px;
  padding-block: 26px; border-top: 1px solid var(--line-light);
}
.ritual-steps li:last-child { border-bottom: 1px solid var(--line-light); }
.ritual-time { padding-top: 8px; font: italic 400 20px/1 var(--display); color: var(--ember-deep); }
.ritual-steps h3 { font-size: clamp(26px, 2.2vw, 32px); }
.ritual-steps p { margin-top: 8px; color: var(--muted); max-width: 440px; }

/* ——— Бронирование ——— */
.booking { background: var(--paper); }
.booking-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 48px clamp(48px, 7vw, 120px); align-items: center; }
.booking-copy h2 { margin-top: 28px; }
.booking-copy h2 em { color: var(--ember-deep); }
.booking-copy > p:not(.label) { margin-top: 32px; max-width: 460px; color: var(--muted); font-size: 17px; }
.booking-prices { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.booking-prices > div { display: flex; flex-direction: column-reverse; gap: 8px; }
.booking-prices dt { font-size: 13px; color: var(--muted); }
.booking-prices dd { font: 500 clamp(36px, 3.4vw, 48px)/1 var(--display); white-space: nowrap; }
.booking-note { margin-top: 10px; font-size: 14px; color: var(--muted); }

.booking-form {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 22px;
  padding: clamp(28px, 3.4vw, 48px);
  background: var(--night); color: var(--snow);
  border-radius: var(--r);
  box-shadow: inset 0 0 0 1px rgba(242, 240, 234, .06);
  color-scheme: dark;
}
.form-head {
  display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line-dark);
  font: 600 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mode-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0; padding: 4px; border: 1px solid var(--line-dark); border-radius: var(--r); }
.mode-switch label { position: relative; cursor: pointer; }
.mode-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.mode-switch span {
  display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 2px;
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light);
  transition: background-color .3s, color .3s;
}
.mode-switch input:checked + span { background: var(--snow); color: var(--ink); }
.mode-switch input:focus-visible + span { outline: 2px solid var(--ember); outline-offset: 2px; }
.form-grid-3 { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, .8fr) !important; }
.form-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 6px; }
.form-total span { font: 600 10px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted-light); }
.form-total strong { font: 500 28px/1 var(--display); color: var(--snow); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; }
.field {
  display: flex; flex-direction: column; gap: 8px;
  font: 600 11px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted-light);
}
.field > span { display: flex; align-items: baseline; gap: 10px; }
.field small { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 54px; padding: 14px 0;
  font: 400 16px/1.4 var(--sans); letter-spacing: 0; text-transform: none; color: var(--snow);
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(242, 240, 234, .26); border-radius: 0;
  transition: border-color .3s, background-color .3s;
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23d9904f' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; padding-right: 28px;
}
.field select option { background: var(--night-2); }
.field textarea { resize: vertical; min-height: 84px; }
.field ::placeholder { color: rgba(167, 176, 170, .75); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(242, 240, 234, .38); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ember);
}
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input::-webkit-calendar-picker-indicator { filter: invert(.7) sepia(1) saturate(4) hue-rotate(-20deg); cursor: pointer; }
.form-help { font-size: 13px; line-height: 1.6; color: var(--muted-light); }

.form-result {
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border-radius: var(--r);
  background: rgba(201, 151, 106, .1); border: 1px solid rgba(201, 151, 106, .35);
}
.form-result strong { font: 500 26px/1.1 var(--display); }
.copy-status { font-size: 14px; color: var(--muted-light); }
.form-result textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r); resize: vertical;
  background: rgba(13, 19, 17, .6); border: 1px solid var(--line-dark); color: var(--snow); font-size: 14px;
}
.result-actions { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
.copy-request {
  min-height: 44px; padding: 0 20px; border-radius: var(--r); border: 0;
  background: var(--snow); color: var(--ink); font-weight: 600; font-size: 13px;
}
.copy-request:hover { background: #fff; }
.result-actions a { font-size: 13px; font-weight: 600; color: var(--ember-hot); border-bottom: 1px solid currentColor; padding-bottom: 2px; }

.booking-call {
  display: inline-flex; align-items: center; gap: 16px; margin-top: 28px;
  color: var(--ink); transition: color .3s;
}
.booking-call svg { flex: none; width: 46px; height: 46px; padding: 13px; border: 1px solid var(--line-light); border-radius: 50%; color: var(--ember-deep); }
.booking-call span { display: flex; flex-direction: column; gap: 4px; font: 500 30px/1 var(--display); }
.booking-call small { font: 400 13px/1.3 var(--sans); color: var(--muted); }
.booking-call:hover { color: var(--ember-deep); }

/* ——— Детали ——— */
.details { background: var(--snow); }
.details-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px clamp(40px, 6vw, 100px); }
.details h2 em { color: var(--ember-deep); }
.details-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.details-list article { padding: 8px 28px 0; border-left: 1px solid var(--line-light); }
.details-list h3 { font-size: 28px; margin-bottom: 16px; }
.details-list p { color: var(--muted); font-size: 15px; }

/* ——— Расположение ——— */
.location { background: var(--paper); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px clamp(48px, 6vw, 100px); align-items: center; }
.location h2 { margin-top: 28px; }
.location h2 em { color: var(--ember-deep); }
.location address { margin-top: 32px; max-width: 440px; color: var(--muted); font-size: 17px; }
.route-stats { display: flex; gap: 48px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-light); }
.route-stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.route-stats dd { font: 500 64px/.9 var(--display); letter-spacing: -.02em; }
.route-stats dd span { font-size: 24px; font-style: italic; margin-left: 4px; }
.route-stats dt { font-size: 13px; color: var(--muted); }
.footnote { display: block; margin-top: 18px; font-size: 12px; color: var(--muted); }
.location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; margin-top: 36px; }

.location-map {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 5 / 4; border-radius: var(--r);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.location-map iframe { position: absolute; inset: 0 0 auto; width: 100%; height: calc(100% + 104px); border: 0;  /* нижняя пустая панель виджета уходит за край, подпись Яндекса остаётся */
  }
.map-unlock { display: none; }
/* На телефоне карта не перехватывает прокрутку, пока гость сам её не включит */
@media (hover: none) {
.location-map iframe { pointer-events: none; }
.location-map.is-unlocked iframe { pointer-events: auto; }
.map-unlock {
  position: absolute; inset: 0; z-index: 1; width: 100%; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 16px;
  background: transparent; color: var(--ink);
  font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
}
.map-unlock span { padding: 11px 16px; border-radius: var(--r); background: rgba(242, 240, 234, .94); box-shadow: 0 6px 24px -10px rgba(13, 19, 17, .5); }
.location-map.is-unlocked .map-unlock { display: none; }
}

/* ——— Финальный призыв ——— */
.end-cta {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: max(560px, 86svh);
  display: flex; align-items: center; text-align: center;
  color: var(--snow); background: var(--night);
}
.end-media { position: absolute; inset: 0; z-index: -1; }
.end-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 70%; transform: scale(1.06); }
.end-media::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(13, 19, 17, .55) 0%, rgba(13, 19, 17, .82) 70%), rgba(13, 19, 17, .2);
}
.end-copy { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.end-copy .label { color: var(--frost); }
.end-cta h2 { font-size: clamp(52px, 8vw, 132px); line-height: .9; letter-spacing: -.02em; }
.end-cta h2 em { color: var(--ember-hot); }

/* ——— Подвал ——— */
.site-footer { background: var(--night); color: var(--snow); padding-top: clamp(72px, 8vw, 112px); }
.footer-main {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  padding-bottom: 64px;
}
.footer-brand .brand-name { display: none; }
.footer-brand .brand img { width: 48px; height: 48px; }
.footer-brand p { margin-top: 22px; max-width: 300px; color: var(--muted-light); }
.footer-main nav, .footer-main > div:last-child { display: flex; flex-direction: column; gap: 12px; }
.footer-main .label { color: var(--muted-light); margin-bottom: 10px; }
.footer-main nav a, .footer-main > div:last-child a { color: rgba(242, 240, 234, .86); width: fit-content; transition: color .3s; }
.footer-main nav a:hover, .footer-main > div:last-child a:hover { color: var(--ember-hot); }
.footer-mark {
  padding-block: clamp(28px, 4vw, 56px) clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line-dark);
  font: 400 clamp(40px, 14.6vw, 224px)/1 var(--display); letter-spacing: -.035em;
  color: var(--snow); white-space: nowrap;
}
.footer-mark em { color: var(--ember-hot); font-weight: 300; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-block: 28px 36px; border-top: 1px solid var(--line-dark);
  font-size: 12px; letter-spacing: .08em; color: var(--muted-light);
}
.footer-bottom a:hover { color: var(--snow); }

.mobile-action-bar, .gallery-hint { display: none; }

/* ——— Появление при скролле ——— */
.motion-ready [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}
.motion-ready [data-reveal].is-visible { opacity: 1; transform: none; }
.motion-ready .frame img { transform: scale(1.12); }
.motion-ready .is-visible .frame img { transform: scale(1); }
@media (hover: hover) { .motion-ready .is-visible:hover .frame img { transform: scale(1.045); } }

/* ——— Планшет ——— */
@media (max-width: 1080px) {
  .site-header { gap: 24px; }
  .desktop-nav { gap: 22px; }
  .desktop-nav a, .header-cta, .brand-name small { white-space: nowrap; }
  .intro-grid { grid-template-columns: 1fr 1fr; }
  .intro-grid > .label { grid-column: 1 / -1; padding-top: 0; }
  .intro-main { grid-column: 1 / -1; }
  .intro-aside { grid-column: 1 / -1; padding-bottom: 0; }
  .intro-photo { margin-left: 0; aspect-ratio: 16 / 9; }
  .intro-aside .price-card { position: relative; width: min(100% - 32px, 360px); margin: -96px 0 0 24px; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); row-gap: 22px; }
  .hero-facts > div:nth-child(4) { border-left: 0; padding-left: 0; }
  .features-copy { grid-template-columns: 1fr; }
  .features-copy > div:first-child { position: static; }
  .booking-grid, .location-grid { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr; }
}

@media (min-width: 821px) and (max-width: 1000px) {
  .header-phone { display: none; }
  .brand-name small { display: none; }
  .desktop-nav { gap: 18px; }
  .header-cta { padding: 0 16px; }
}

/* ——— Телефон ——— */
@media (max-width: 820px) {
  :root { --header-h: 64px; --gutter: 20px; }
  html { scroll-padding-top: 64px; }
  .section { padding-block: clamp(72px, 18vw, 96px); }
  h2 { font-size: clamp(40px, 11.4vw, 60px); line-height: 1; }
  h3 { font-size: 26px; }

  /* Шапка */
  .site-header.is-scrolled { --header-h: 58px; }
  .desktop-nav, .header-cta, .header-phone { display: none; }
  .site-header { justify-content: space-between; }
  .brand { gap: 10px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 21px; }
  .brand-name small { font-size: 9px; letter-spacing: .16em; margin-top: 5px; white-space: nowrap; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 7px;
    width: 48px; height: 48px; margin-right: -12px; background: none; border: 0; color: inherit;
  }
  .menu-toggle span { width: 24px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  /* Меню */
  .mobile-nav {
    position: fixed; inset: 0; z-index: 45;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--header-h) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(13, 19, 17, .97);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    animation: fade .4s var(--ease) both;
  }
  .mobile-nav a {
    font: 500 clamp(34px, 10vw, 44px)/1.2 var(--display); color: var(--snow);
    padding-block: 10px; border-bottom: 1px solid var(--line-dark);
  }
  .mobile-nav a:nth-last-child(2) { color: var(--ember-hot); font-style: italic; border: 0; }
  .mobile-nav .mobile-nav-phone {
    display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 16px 0 0; border-top: 1px solid var(--line-dark);
    font: 500 26px/1 var(--sans); letter-spacing: .02em;
  }
  .mobile-nav-phone svg { flex: none; width: 22px; height: 22px; color: var(--ember-hot); }
  .mobile-nav-phone span { display: flex; flex-direction: column; gap: 6px; }
  .mobile-nav-phone small { font-size: 12px; letter-spacing: .04em; color: var(--muted-light); }
  body:has(.mobile-nav:not([hidden])) { overflow: hidden; }
  body:has(.mobile-nav:not([hidden])) .site-header { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body:has(.mobile-nav:not([hidden])) .mobile-action-bar { transform: translateY(140%); opacity: 0; pointer-events: none; }

  /* Первый экран: фото сверху, текст на тёмном — главная кнопка в первом экране */
  .hero { min-height: 0; justify-content: flex-start; }
  .hero-media { position: relative; inset: auto; z-index: 0; height: 54svh; min-height: 340px; max-height: 560px; overflow: hidden; }
  .hero-media img { object-position: 74% 70%; }
  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(13, 19, 17, .7) 0%, rgba(13, 19, 17, 0) 26%),
      linear-gradient(0deg, var(--night) 0%, rgba(13, 19, 17, .75) 22%, rgba(13, 19, 17, 0) 50%);
  }
  .hero-inner { position: relative; z-index: 1; margin-top: -72px; padding-top: 0; padding-bottom: 28px; }
  .hero-coords { font-size: 10px; letter-spacing: .18em; gap: 6px 18px; margin-bottom: 16px; }
  .hero-coords span + span::before { content: none; }
  .hero h1 { font-size: clamp(44px, 14.2vw, 72px); line-height: .92; }
  .hero-foot { margin-top: 20px; gap: 24px; }
  .hero-lead { font-size: 16px; line-height: 1.6; }
  .hero-actions { width: 100%; gap: 8px 24px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn-text { padding-block: 16px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding-block: 22px 26px; }
  .hero-facts > div, .hero-facts > div + div { padding: 0; border-left: 0; }
  .hero-facts > div:nth-child(5) { display: none; }
  .hero-facts dt { margin-bottom: 8px; }
  .hero-facts dd { font-size: 22px; }

  /* Вступление */
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .intro h2 { font-size: clamp(40px, 11.4vw, 60px); }
  .intro-aside { grid-column: auto; padding-bottom: 0; }
  .intro-photo { margin-left: 0; aspect-ratio: 4 / 3; }
  .intro-aside .price-card { position: relative; width: auto; margin: -48px 16px 0; }
  .price-card .btn-text { margin-top: 18px; padding-block: 16px; }
  .intro-text { margin-top: 24px; font-size: 17px; }

  /* Галерея */
  .gallery-head { gap: 16px; padding-top: 56px; margin-bottom: 32px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .g-a { grid-column: 1 / -1; grid-row: auto; }
  .g-b, .g-c, .g-d, .g-e, .g-f { grid-column: auto; grid-row: auto; }
  figcaption { font-size: 10px; }

  /* Территория */
  .territory-copy { grid-template-columns: 1fr; gap: 20px; padding-top: 80px; }
  .territory-copy h2 { font-size: clamp(38px, 10.6vw, 56px); }
  .territory-copy p:not(.label) { justify-self: start; font-size: 16px; }
  .territory-media { aspect-ratio: 1 / 1; margin-top: 8px; }
  .territory-media img { object-position: 30% 62%; }
  .territory-media::after {
    background:
      linear-gradient(180deg, var(--night) 0%, rgba(13, 19, 17, 0) 24%),
      linear-gradient(0deg, var(--night) 0%, rgba(13, 19, 17, 0) 12%);
  }

  /* Что внутри */
  .features h2 { margin-top: 20px; }
  .features-lead { margin-top: 20px; font-size: 16px; }
  .feature-list li { grid-template-columns: 34px 1fr; gap: 4px 14px; padding-block: 28px; }
  .feature-list li::before { font-size: 22px; padding-top: 4px; }
  .feature-list h3 { font-size: 28px; }
  .feature-list p { font-size: 15px; }

  /* Вечер */
  .ritual-grid { grid-template-columns: 1fr; gap: 40px; }
  .ritual-collage { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rc-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3.6; }
  .rc-b { margin-top: 0; aspect-ratio: 4 / 5; }
  .rc-c { aspect-ratio: 4 / 5; margin-top: 36px; }
  .intro-points { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; padding-top: 24px; }
  .intro-points li { flex-direction: row; align-items: flex-start; gap: 16px; }
  .intro-points span { font-size: 20px; }
  .ritual h2 { margin-top: 20px; }
  .ritual-steps { margin-top: 28px; }
  .ritual-steps li { grid-template-columns: 1fr; gap: 6px; padding-block: 22px; }
  .ritual-time { padding-top: 0; font-size: 18px; }
  .ritual-steps h3 { font-size: 26px; }
  .ritual-steps p { font-size: 15px; }

  /* Бронирование */
  .booking-grid { gap: 40px; }
  .booking-copy h2 { margin-top: 20px; }
  .booking-copy > p:not(.label) { margin-top: 20px; font-size: 16px; }
  .booking-prices { margin-top: 28px; padding-top: 20px; }
  .booking-form { gap: 18px; padding: 24px 20px; margin-inline: -4px; }
  .form-head { padding-bottom: 14px; }
  .form-grid { gap: 14px; }
  .field input, .field select, .field textarea { min-height: 50px; padding: 12px 0; }

  /* Детали */
  .details-grid { gap: 32px; }
  .details-list { grid-template-columns: 1fr; gap: 0; }
  .details-list article { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line-light); }
  .details-list article:last-child { border-bottom: 1px solid var(--line-light); }
  .details-list h3 { font-size: 26px; margin-bottom: 10px; }

  /* Расположение */
  .location h2 { margin-top: 20px; }
  .location address { margin-top: 20px; font-size: 16px; }
  .route-stats { gap: 40px; margin-top: 28px; padding-top: 22px; }
  .route-stats dd { font-size: 52px; }
  .location-actions { gap: 4px 24px; margin-top: 28px; }
  .location-actions .btn { flex: 1 1 100%; }
  .location-actions .btn-text { padding-block: 16px; }
  /* Карта */
  .location-map { aspect-ratio: 4 / 5; margin-inline: calc(var(--gutter) * -1); border-radius: 0; box-shadow: none; }

  /* Финальный призыв */
  .end-cta { min-height: max(480px, 72svh); }
  .end-copy { gap: 28px; }
  .end-cta h2 { font-size: clamp(46px, 13.4vw, 80px); }

  /* Подвал */
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 20px; padding-bottom: 40px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-main nav, .footer-main > div:last-child { gap: 0; }
  .footer-main .label { margin-bottom: 6px; }
  .footer-main nav a, .footer-main > div:last-child a { padding-block: 11px; }
  .footer-bottom { flex-direction: column; gap: 4px; padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .footer-bottom a { padding-block: 12px; width: fit-content; }

  /* Нижняя панель действий */
  .mobile-action-bar {
    display: grid; grid-template-columns: 1fr auto auto; gap: 6px;
    position: fixed; z-index: 40;
    left: max(10px, env(safe-area-inset-left)); right: max(10px, env(safe-area-inset-right));
    bottom: calc(10px + env(safe-area-inset-bottom));
    padding: 6px; border-radius: calc(var(--r) + 2px);
    background: rgba(13, 19, 17, .86);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(242, 240, 234, .1);
    transform: translateY(0); transition: transform .5s var(--ease), opacity .5s;
  }
  .mobile-action-bar.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .mobile-action-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
    border-radius: var(--r); font: 600 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  }
  .mobile-action-bar a:first-child { background: var(--ember); color: var(--ember-ink); }
  .mobile-action-bar a:last-child { color: var(--snow); padding: 0 16px; }
  .mobile-action-bar .bar-call { width: 48px; padding: 0; color: var(--ember-hot); box-shadow: inset 0 0 0 1px rgba(242, 240, 234, .16); }
}

/* Узкий телефон: галерея листается пальцем */
@media (max-width: 640px) {
  .gallery-grid {
    display: flex; gap: 12px;
    width: 100%; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .gallery-grid::-webkit-scrollbar { display: none; }
  .gallery-grid figure { flex: 0 0 86%; scroll-snap-align: start; }
  .gallery-grid .frame, .g-a .frame { aspect-ratio: 4 / 5; flex: none; }
  .gallery-grid:focus-visible { outline-offset: -2px; }
  .gallery-hint {
    display: flex; align-items: center; gap: 4px; margin-top: 20px;
    font: 500 12px/1 var(--sans); letter-spacing: .16em; color: var(--muted);
  }
  .gallery-index { color: var(--ink); font-weight: 600; }
  .gallery-swipe { margin-left: auto; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; }
  .gallery-swipe::after { content: ""; width: 28px; height: 1px; background: currentColor; }
}

/* Большой телефон и планшет в портрете */
@media (min-width: 641px) and (max-width: 820px) {
  .g-f { grid-column: 1 / -1; }
  .g-f .frame { aspect-ratio: 16 / 9; }
  .hero-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hero-actions .btn, .location-actions .btn { flex: 0 0 auto; }
  .location-map { aspect-ratio: 16 / 10; }
}

@media (max-width: 480px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-grid-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .form-grid-3 > :first-child { grid-column: 1 / -1; }
  .form-time { display: none; }
}

@media (max-width: 374px) {
  .label { gap: 10px; letter-spacing: .18em; }
  .label::before { width: 18px; }
  .btn { padding: 0 18px; letter-spacing: .05em; }
  .btn::after { display: none; }
  .brand-name small { display: none; }
  .route-stats { gap: 28px; }
}

/* Телефон в горизонтальной ориентации */
@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
  .hero-media { height: 86svh; min-height: 0; }
  .mobile-nav { justify-content: flex-start; }
  .mobile-nav a { font-size: 30px; padding-block: 6px; }
  .end-cta { min-height: 100svh; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
