/* КислородЪ — стили сайта. Направление: референс alethia.earth —
   глубокий лесной зелёный, гротеск Geist, моноширинные подписи капсом,
   лаймовые метки, нумерованные списки, фото со скруглением. */

@font-face { font-family: "Geist"; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist"; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-cyrillic-500-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122, U+2190-21FF, U+2212; }

:root {
  --forest: #0f1f10;
  --forest-2: #16291a;
  --pine: #233a27;
  --ink: #f5f4f2;
  --ink-dim: rgba(245, 244, 242, .64);
  --ink-faint: rgba(245, 244, 242, .4);
  --line: rgba(245, 244, 242, .14);
  --lime: #c3ee8a;
  --lime-ink: #0f1f10;
  --paper: #f2f0ea;
  --paper-ink: #142016;
  --black: #050806;
  --radius: 18px;
  --pad: clamp(18px, 3.2vw, 44px);
  --max: 1360px;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--forest); color: var(--ink);
  font: 400 17px/1.5 var(--sans); letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--lime-ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- метки и кнопки ---------- */
.tag {
  display: inline-block; font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  background: var(--lime); color: var(--lime-ink); padding: 5px 7px 4px; border-radius: 3px;
}
.tag--ghost { background: transparent; color: var(--ink-dim); border: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; gap: 14px; text-decoration: none; cursor: pointer;
  font: 500 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 10px 10px 16px; border-radius: 10px; border: 1px solid var(--line);
  background: rgba(15, 31, 16, .35); color: var(--ink);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { border-color: var(--lime); background: rgba(15, 31, 16, .6); }
.btn:active { transform: translateY(1px); }
.btn__arrow {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 5px;
  background: var(--lime); color: var(--lime-ink); transition: transform .25s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(2px); }
.btn__arrow svg { width: 12px; height: 12px; }
.btn--solid { background: var(--lime); color: var(--lime-ink); border-color: var(--lime); }
.btn--solid .btn__arrow { background: var(--lime-ink); color: var(--lime); }
.btn--solid:hover { background: #d3f5a6; }
.btn--dark { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.btn--dark:hover { background: #22342a; border-color: #22342a; }

/* ---------- шапка ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.header.is-solid { background: rgba(15, 31, 16, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 30px; height: 30px; flex: none; }
.logo__word { font: 500 21px/1 var(--sans); letter-spacing: -.02em; }
.logo__word b { font-weight: 500; color: var(--lime); }
.nav { display: flex; gap: 26px; }
.nav a { font: 400 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--ink); opacity: .86; transition: opacity .2s; }
.nav a:hover { opacity: 1; color: var(--lime); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px 0; transition: transform .3s; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; overflow: hidden; }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
.hero__img::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,31,16,.92) 0%, rgba(15,31,16,.62) 38%, rgba(15,31,16,.08) 70%),
    linear-gradient(0deg, rgba(15,31,16,.95) 0%, rgba(15,31,16,0) 34%),
    linear-gradient(180deg, rgba(15,31,16,.55) 0%, rgba(15,31,16,0) 18%);
}
@keyframes heroIn { from { transform: scale(1.12); opacity: .2; } to { transform: scale(1.04); opacity: 1; } }
.hero__inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding-top: 132px; padding-bottom: 36px; width: 100%; }
.hero h1 {
  margin: 0; max-width: 11.5ch; font-weight: 500; letter-spacing: -.035em;
  font-size: clamp(44px, 7vw, 104px); line-height: .98;
}
.hero h1 em { font-style: normal; color: var(--lime); }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: 64px; }
.hero__lead { max-width: 30em; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; margin: 0; }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-dim); text-decoration: none; white-space: nowrap; }
.hero__scroll i { width: 12px; height: 18px; border: 1.5px solid currentColor; border-radius: 7px; position: relative; }
.hero__scroll i::after { content: ""; position: absolute; left: 50%; top: 3px; width: 2px; height: 4px; margin-left: -1px; background: currentColor; border-radius: 2px; animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(6px); } }

/* плавающая «датчиковая» метка, как в референсе */
.probe { position: absolute; right: clamp(24px, 12vw, 220px); top: 44%; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.probe__box { width: clamp(90px, 10vw, 150px); height: clamp(70px, 8vw, 120px); border: 1px solid rgba(245,244,242,.55); position: relative; }
.probe__box::before, .probe__box::after { content: ""; position: absolute; width: 7px; height: 7px; background: var(--ink); }
.probe__box::before { left: -4px; top: -4px; }
.probe__box::after { right: -4px; bottom: -4px; }
.probe__chip { align-self: flex-start; background: var(--ink); color: var(--forest); font: 500 11px/1 var(--mono); padding: 5px 6px; border-radius: 2px; }
.probe__txt { font: 400 11px/1.35 var(--mono); text-transform: uppercase; color: var(--ink); max-width: 22ch; }

/* ---------- полоса фактов ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__row { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { padding: 26px 0 24px; border-left: 1px solid var(--line); padding-left: 20px; }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__num { font: 500 clamp(28px, 3vw, 44px)/1 var(--sans); letter-spacing: -.03em; }
.fact__num small { font-size: .5em; margin-left: 3px; color: var(--ink-dim); }
.fact__lbl { margin-top: 8px; font: 400 12px/1.3 var(--mono); text-transform: uppercase; color: var(--ink-dim); }

/* ---------- секции ---------- */
.section { padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section__head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px 48px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.h2, .hero h1, .card h3 { text-wrap: balance; }
.h2 { margin: 16px 0 0; font-weight: 500; letter-spacing: -.03em; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.02; }
.lead { margin: 0; color: var(--ink-dim); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.4; max-width: 36em; }
.lead strong { color: var(--ink); font-weight: 500; }

/* ---------- дом: фото + нумерованный список ---------- */
.house { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.house__photo { position: sticky; top: 96px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--forest-2); }
.house__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.house__photo img.is-on { opacity: 1; transform: scale(1); }
.house__photo figcaption { position: absolute; left: 16px; bottom: 16px; z-index: 2; }

.acc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 24px; gap: 8px; align-items: baseline; text-align: left;
  background: none; border: 0; padding: 22px 0; cursor: pointer;
}
.acc__n { font: 400 14px/1 var(--mono); color: var(--ink-faint); }
.acc__t { font: 500 clamp(16px, 1.3vw, 19px)/1.25 var(--mono); text-transform: uppercase; letter-spacing: .01em; }
.acc__plus { position: relative; width: 14px; height: 14px; align-self: center; justify-self: end; }
.acc__plus::before, .acc__plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.is-open .acc__plus::after { transform: rotate(0); }
.acc__item.is-open .acc__t { color: var(--lime); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.acc__body > div { overflow: hidden; }
.acc__body p { margin: 0 0 24px 52px; color: var(--ink-dim); max-width: 34em; }
.acc__body p + p { margin-top: -12px; }

/* лента интерьеров */
.strip { margin-top: clamp(48px, 7vw, 96px); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 30%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; scrollbar-color: var(--pine) transparent; }
.strip figure { margin: 0; scroll-snap-align: start; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.strip figcaption { margin-top: 10px; font: 400 12px/1.3 var(--mono); text-transform: uppercase; color: var(--ink-dim); }
.strip-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.strip-nav button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: none; cursor: pointer; display: grid; place-items: center; }
.strip-nav button:hover { border-color: var(--lime); color: var(--lime); }

/* ---------- территория: большие карточки ---------- */
.section--paper { background: var(--paper); color: var(--paper-ink); }
.section--paper .lead { color: rgba(20, 32, 22, .7); }
.section--paper .lead strong { color: var(--paper-ink); }
.section--paper .tag--ghost { color: rgba(20,32,22,.6); border-color: rgba(20,32,22,.2); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: clamp(340px, 38vw, 560px); color: var(--ink); isolation: isolate; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,20,11,.86) 0%, rgba(10,20,11,.25) 46%, rgba(10,20,11,0) 70%); }
.card__body { position: absolute; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 32px); }
.card h3 { margin: 12px 0 0; font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.025em; max-width: 16ch; }
.card p { margin: 10px 0 0; color: rgba(245,244,242,.78); max-width: 32em; font-size: 15px; }
.card--wide { grid-column: span 2; min-height: clamp(320px, 34vw, 520px); }

.amen { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(20,32,22,.16); }
.amen__item { padding: 22px 20px 26px 0; border-bottom: 1px solid rgba(20,32,22,.16); }
.amen__n { font: 400 12px/1 var(--mono); color: rgba(20,32,22,.45); }
.amen__t { margin-top: 12px; font: 500 15px/1.3 var(--mono); text-transform: uppercase; }
.amen__d { margin-top: 6px; font-size: 15px; color: rgba(20,32,22,.68); }

/* ---------- отзывы (чёрный экран) ---------- */
.section--black { background: var(--black); overflow: hidden; }
.quote-hero { text-align: center; position: relative; }
.quote-hero__ring { position: absolute; left: 50%; top: 50%; width: min(820px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(195,238,138,.10), rgba(195,238,138,.03) 55%, transparent 72%); }
.quote-hero blockquote { margin: 22px auto 0; max-width: 15ch; font-weight: 500; letter-spacing: -.035em; font-size: clamp(40px, 6.4vw, 96px); line-height: 1; position: relative; }
.quote-hero cite { display: block; margin-top: 26px; font: 400 13px/1 var(--mono); text-transform: uppercase; font-style: normal; color: var(--ink-dim); position: relative; }
.quotes { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.q { border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; background: rgba(255,255,255,.02); }
.q p { margin: 0; font-size: 19px; line-height: 1.32; letter-spacing: -.01em; }
.q span { display: block; margin-top: 18px; font: 400 12px/1 var(--mono); text-transform: uppercase; color: var(--ink-faint); }
.quotes__src { margin-top: 18px; font: 400 12px/1.4 var(--mono); text-transform: uppercase; color: var(--ink-faint); text-align: center; }

/* ---------- рядом ---------- */
.near { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.near__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.near__list li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.near__list b { font-weight: 500; font-size: clamp(17px, 1.4vw, 20px); }
.near__list span { font: 400 13px/1 var(--mono); text-transform: uppercase; color: var(--lime); white-space: nowrap; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--forest-2); border: 1px solid var(--line); position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.02); }
.map__addr { margin-top: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 13px/1.4 var(--mono); text-transform: uppercase; color: var(--ink-dim); }

/* ---------- портал «Златоуст и Урал» ---------- */
.portal { position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: var(--forest-2); border: 1px solid var(--line); }
.portal__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.portal__txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.portal__txt .h2 { font-size: clamp(32px, 3.8vw, 56px); }
.portal__feat { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.portal__feat li { display: grid; grid-template-columns: 36px 1fr; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 14px/1.3 var(--mono); text-transform: uppercase; }
.portal__feat li i { font-style: normal; color: var(--ink-faint); font-weight: 400; }
.portal__mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; padding: 6px; min-height: 520px; }
.portal__mosaic figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; }
.portal__mosaic figure:first-child { grid-row: span 2; }
.portal__mosaic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portal__mosaic figcaption { position: absolute; left: 12px; bottom: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.portal__mosaic figcaption .tag { background: rgba(15,31,16,.72); color: var(--ink); backdrop-filter: blur(6px); }
.credit { font: 400 10px/1.2 var(--mono); color: rgba(245,244,242,.7); text-shadow: 0 1px 2px rgba(0,0,0,.6); }

/* ---------- условия ---------- */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.rule { padding: 26px 24px 30px 0; border-bottom: 1px solid var(--line); }
.rule:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.rule__k { font: 400 12px/1 var(--mono); text-transform: uppercase; color: var(--ink-faint); }
.rule__v { margin-top: 12px; font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.rule__d { margin-top: 8px; color: var(--ink-dim); font-size: 15px; }

/* ---------- бронирование ---------- */
.book { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.panel { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 rgba(20,32,22,.06), 0 24px 60px -30px rgba(20,32,22,.35); }
.panel h3 { margin: 0 0 4px; font-weight: 500; font-size: 24px; letter-spacing: -.02em; }
.panel__sub { margin: 0 0 22px; color: rgba(20,32,22,.6); font-size: 15px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: rgba(20,32,22,.6); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid rgba(20,32,22,.18); border-radius: 10px; padding: 13px 14px; background: #fbfaf7; color: var(--paper-ink);
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--paper-ink); box-shadow: 0 0 0 3px rgba(195,238,138,.7); }
.check { display: flex; gap: 10px; align-items: center; font-size: 15px; cursor: pointer; padding: 4px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--paper-ink); }
.summary { grid-column: 1 / -1; border-radius: 12px; background: #f1f6e8; padding: 16px 18px; font-size: 15px; display: none; }
.summary.is-on { display: block; }
.summary b { font-weight: 500; }
.summary__price { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-top: 4px; }
.summary__note { margin-top: 6px; color: rgba(20,32,22,.6); font-size: 13px; }
.form__err { grid-column: 1 / -1; color: #9a2a1a; font-size: 14px; min-height: 0; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__hint { grid-column: 1 / -1; font-size: 13px; color: rgba(20,32,22,.55); margin: 4px 0 0; }
.rc-slot:empty { display: none; }
.rc-slot { margin-bottom: 18px; }

.prices { border-radius: var(--radius); border: 1px solid rgba(20,32,22,.14); padding: clamp(22px, 3vw, 32px); }
.prices h3 { margin: 12px 0 18px; font-weight: 500; font-size: 22px; letter-spacing: -.02em; }
.prices table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prices th { text-align: left; font: 400 11px/1.2 var(--mono); text-transform: uppercase; color: rgba(20,32,22,.55); padding: 0 8px 10px 0; font-weight: 400; }
.prices td { padding: 12px 8px 12px 0; border-top: 1px solid rgba(20,32,22,.12); vertical-align: top; }
.prices td:first-child { font-weight: 500; }
.prices__note { margin: 16px 0 0; font-size: 14px; color: rgba(20,32,22,.65); }
.prices + .prices { margin-top: 14px; }

/* ---------- подвал ---------- */
.footer { padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer__big { font-weight: 500; letter-spacing: -.045em; font-size: clamp(64px, 16vw, 250px); line-height: .82; margin: 0 0 48px; }
.footer__big b { color: var(--lime); font-weight: 500; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
.footer h4 { margin: 0 0 12px; font: 400 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink-faint); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__legal { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 11px/1.5 var(--mono); text-transform: uppercase; color: var(--ink-faint); }
.footer__legal details summary { cursor: pointer; }
.footer__legal details p { text-transform: none; font-family: var(--sans); font-size: 13px; max-width: 70ch; }

/* ---------- появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: block; }
  .header.is-open { background: var(--forest); }
  .header.is-open .nav { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--forest); padding: 8px var(--pad) 24px; border-bottom: 1px solid var(--line); }
  .header.is-open .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .header__cta { display: none; }
  .facts__row { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(4) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .amen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quotes { grid-template-columns: 1fr; }
  .portal__grid { grid-template-columns: 1fr; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rule:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .rule:nth-child(2n) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .section__head, .house, .near, .book { grid-template-columns: 1fr; }
  .house__photo { position: relative; top: 0; }
  .cards { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .probe { display: none; }
  .strip { grid-auto-columns: 78%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .facts__row { grid-template-columns: repeat(2, 1fr); }
  .fact { border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:nth-child(2n) { padding-left: 16px !important; border-left: 1px solid var(--line) !important; }
  .amen { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr; }
  .rule:nth-child(2n) { padding-left: 0; border-left: 0; }
  .form { grid-template-columns: 1fr; }
  .portal__mosaic { min-height: 420px; }
  .acc__body p { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 560px) { .portal__mosaic .credit { display: none; } }

/* =====================================================================
   АНИМАЦИЯ ПРИ ПРОКРУТКЕ (js/motion.js задаёт --p и стили по ходу прокрутки)
   ===================================================================== */

/* ---------- сцена первого экрана ---------- */
.scene { position: relative; height: 460vh; background: var(--forest); }
.scene__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scene__glow { position: absolute; inset: -20%; background:
  radial-gradient(40% 50% at 66% 52%, rgba(195,238,138,.10), transparent 70%),
  radial-gradient(60% 60% at 20% 80%, rgba(35,58,39,.9), transparent 70%); pointer-events: none; }

.portal-win { position: absolute; inset: 0; will-change: clip-path; clip-path: inset(18% 8% 16% 48% round 46% 54% 42% 58% / 52% 44% 56% 48%); }
.portal-win__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.portal-win__img--house { object-position: 50% 55%; }
.portal-win__cover { position: absolute; inset: 0; opacity: 0; will-change: opacity; }
.portal-win__shade { position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(10,20,11,.78) 0%, rgba(10,20,11,.35) 38%, rgba(10,20,11,0) 60%, rgba(10,20,11,.7) 100%); }

/* маркеры привязаны к кадру так же, как object-fit: cover для фото 3:2 */
.markers { position: absolute; left: 50%; top: 50%; width: max(100vw, 150vh); height: max(100vh, 66.667vw); transform: translate(-50%, -50%); pointer-events: none; }
.marker { position: absolute; display: grid; padding: 6px 12px 6px 6px; border-radius: 30px; background: rgba(10,20,11,.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); grid-template-columns: auto auto; column-gap: 10px; align-items: center; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.marker.is-on { opacity: 1; transform: none; }
.marker i { grid-row: span 2; position: relative; width: 22px; height: 22px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(195,238,138,.25); }
.marker i::before { content: ""; position: absolute; inset: 7.5px; border-radius: 50%; background: var(--lime-ink); }
.marker i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--lime); animation: ping 2.4s var(--ease) infinite; }
.marker b { font: 500 12px/1.1 var(--mono); text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.marker em { font: 400 11px/1.2 var(--mono); text-transform: uppercase; font-style: normal; color: rgba(255,255,255,.78); text-shadow: 0 1px 8px rgba(0,0,0,.6); }
@keyframes ping { 0% { transform: scale(.8); opacity: .9; } 80%, 100% { transform: scale(2.1); opacity: 0; } }

.chunk { position: absolute; overflow: hidden; will-change: transform, opacity; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.chunk img { width: 100%; height: 100%; object-fit: cover; }
.chunk--a { left: 35%; top: 63%; width: 13vw; aspect-ratio: 1 / 1.1; border-radius: 58% 42% 50% 50% / 46% 56% 44% 54%; }
.chunk--b { left: 92%; top: 14%; width: 7vw; aspect-ratio: 1 / 1.25; border-radius: 44% 56% 62% 38% / 50% 40% 60% 50%; }
.chunk--c { left: 86%; top: 66%; width: 12vw; aspect-ratio: 1.2 / 1; border-radius: 50% 50% 38% 62% / 58% 42% 58% 42%; }

.fog { position: absolute; left: -10%; right: -10%; bottom: -8%; height: 80%; opacity: 0; pointer-events: none; background-size: cover; background-repeat: no-repeat; will-change: transform, opacity; }
.fog--1 { background-image: url("../img/fog-1.webp"); animation: drift 38s linear infinite alternate; }
.fog--2 { background-image: url("../img/fog-2.webp"); animation: drift 52s linear infinite alternate-reverse; height: 100%; bottom: -20%; }
@keyframes drift { from { translate: -4% 0; } to { translate: 4% 0; } }

.scene__hero { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-top: 128px; padding-bottom: 72px; will-change: transform, opacity; }
.scene h1 { margin: 18px 0 0; max-width: 11ch; font-weight: 500; letter-spacing: -.035em; font-size: clamp(44px, 7vw, 108px); line-height: .96; text-wrap: balance; }
.scene h1 em { font-style: normal; color: var(--lime); }
.scene .probe { right: auto; left: 64%; top: 60%; will-change: opacity; }
.haze { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: radial-gradient(80% 70% at 50% 60%, rgba(236,240,236,.95), rgba(236,240,236,.6) 55%, rgba(236,240,236,.25) 100%); }

.scene__say { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; padding-top: 18vh; pointer-events: none; }
.scene__say > * { width: min(620px, 100%); }
.scene__kicker { font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 18px; opacity: 0; }
.words { margin: 0; font-weight: 500; letter-spacing: -.025em; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.08; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.25); }
.words .w { opacity: .12; transition: opacity .25s linear; }
.words .w.is-on { opacity: 1; }

.scene__panels { position: absolute; inset: 0; pointer-events: none; }
.scene__title { position: absolute; left: var(--pad); top: 16vh; margin: 0; font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.04; letter-spacing: -.025em; color: #fff; display: flex; gap: 14px; opacity: 0; transform: translateY(20px); text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.scene__title span { font-size: .6em; margin-top: .2em; }
.glass { position: absolute; background: rgba(240,244,238,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); color: #fff; border-radius: 16px; opacity: 0; pointer-events: auto; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.glass--card { left: max(var(--pad), calc(50% - 560px)); bottom: 12vh; width: 290px; padding: 20px 20px 16px; transform: translateX(-40px); }
.glass__k { font: 500 13px/1 var(--sans); }
.glass__big { margin-top: 14px; font: 500 46px/1 var(--sans); letter-spacing: -.03em; }
.glass__big small { font: 400 12px/1 var(--mono); text-transform: uppercase; margin-left: 6px; opacity: .8; letter-spacing: 0; }
.glass__bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin: 16px 0 14px; }
.glass__bars i { flex: 1; height: calc(var(--h) * 100% * var(--grow, 0)); background: linear-gradient(180deg, var(--lime), rgba(195,238,138,.25)); border-radius: 3px; transition: height .8s var(--ease); }
.glass__rows { list-style: none; margin: 0; padding: 0; font: 400 11px/1 var(--mono); text-transform: uppercase; }
.glass__rows li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.18); }
.glass__rows b { font-weight: 500; color: var(--lime); }
.glass--list { right: max(var(--pad), calc(50% - 560px)); top: 30vh; width: min(400px, 40vw); list-style: none; margin: 0; padding: 0; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; display: grid; gap: 6px; opacity: 1; }
.glass--list li { display: grid; grid-template-columns: 34px 1fr 16px; align-items: center; padding: 13px 14px; border-radius: 8px; background: rgba(240,244,238,.16); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); font: 500 13px/1.25 var(--mono); text-transform: uppercase; opacity: 0; transform: translateX(30px); }
.glass--list i { font-style: normal; opacity: .5; font-weight: 400; }
.glass--list span { justify-self: end; opacity: .7; }

.scene__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 26px; display: flex; align-items: center; gap: 16px; }
.scene__step { font-size: 11px; color: rgba(255,255,255,.7); white-space: nowrap; }
.scene__bar { flex: 1; height: 1px; background: rgba(255,255,255,.18); position: relative; overflow: hidden; }
.scene__bar i { position: absolute; inset: 0; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- горизонтальная галерея ---------- */
.rooms { position: relative; height: 380vh; }
.rooms__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3vh, 36px); padding-top: 64px; }
.rooms__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.rooms__head .h2 { font-size: clamp(32px, 4vw, 60px); }
.rooms__count { font-size: 13px; color: var(--ink-dim); white-space: nowrap; }
.rooms__count b { font-weight: 500; color: var(--lime); font-size: 28px; font-family: var(--sans); letter-spacing: -.02em; }
.rooms__track { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: 0 var(--pad); width: max-content; will-change: transform; }
.room { margin: 0; flex: none; width: clamp(280px, 36vw, 560px); }
.room--tall { width: clamp(220px, 24vw, 380px); }
.room__img { overflow: hidden; border-radius: 16px; aspect-ratio: 4 / 3; background: var(--forest-2); }
.room--tall .room__img { aspect-ratio: 3 / 4; }
.room__img img { width: 118%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.room figcaption { margin-top: 12px; display: flex; gap: 12px; font: 400 12px/1 var(--mono); text-transform: uppercase; color: var(--ink-dim); }
.room figcaption i { font-style: normal; color: var(--lime); }
.rooms__bar { height: 1px; background: var(--line); position: relative; }
.rooms__bar i { position: absolute; inset: 0; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ---------- мелкие эффекты ---------- */
.split .ln { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .ln > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); }
.split.is-in .ln > span { transform: none; }

.card img, .portal__mosaic img { will-change: transform; }
.card img { inset: -8% 0; height: 116%; }

.quote-hero__o2 { position: absolute; left: 50%; top: 50%; width: min(980px, 140vw); height: auto; color: rgba(245,244,242,.14); transform: translate(-50%, -50%) rotate(calc(var(--p, 0) * 140deg)) scale(calc(.75 + var(--p, 0) * .5)); pointer-events: none; }
.words--scrub .w { opacity: .14; transition: opacity .2s linear; }

.letters span { display: inline-block; transform: translateY(40%); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.letters.is-in span { transform: none; opacity: 1; }

@media (max-width: 860px) {
  .scene { height: 400vh; }
  .chunk--a { left: 4%; }
  .scene .probe { display: none; }
  .portal-win { clip-path: inset(47% 6% 25% 36% round 46% 54% 42% 58% / 52% 44% 56% 48%); }
  .chunk--a { width: 24vw; top: 50%; }
  .chunk--b { width: 14vw; left: 80%; top: 40%; }
  .chunk--c { display: none; }
  .scene__say { align-items: flex-start; padding-top: 16vh; }
  .scene__title { top: 12vh; }
  .glass--card { left: var(--pad); right: auto; bottom: 8vh; width: 230px; padding: 14px; }
  .glass__big { font-size: 34px; }
  .glass__bars { height: 34px; margin: 10px 0; }
  .glass--list { left: auto; right: var(--pad); top: auto; bottom: 8vh; width: calc(100% - 2 * var(--pad) - 244px); min-width: 0; }
  .glass--list li { font-size: 10px; padding: 9px 8px; grid-template-columns: 24px 1fr; }
  .glass--list span { display: none; }
  .rooms { height: 340vh; }
  .room { width: 74vw; } .room--tall { width: 52vw; }
}
@media (max-width: 560px) {
  .glass--list { display: none; }
  .glass--card { width: auto; right: var(--pad); }
  .marker em { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scene, .rooms { height: auto; }
  .scene__pin, .rooms__pin { position: relative; height: 100vh; }
  .rooms__pin { height: auto; padding: 96px 0; }
  .rooms__track { width: auto; overflow-x: auto; }
  .split .ln > span, .letters span { transform: none; opacity: 1; }
  .words .w { opacity: 1; }
}
.scene__say { opacity: 0; }

/* ---------- прогулка по дому: прокрутка перематывает видео ---------- */
.walk { position: relative; height: 920vh; background: var(--forest); }
.walk__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.walk__frame { position: absolute; inset: 0; clip-path: inset(12% 6% 8% 6% round 24px); will-change: clip-path; background: var(--forest-2); }
.walk__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); will-change: transform; }
.walk__shade { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,20,11,.7) 0%, rgba(10,20,11,0) 30%, rgba(10,20,11,0) 62%, rgba(10,20,11,.78) 100%); }
.walk__ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding-top: 100px; padding-bottom: 34px; color: #fff; }
.walk__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.walk__h { margin: 14px 0 0; font-weight: 500; font-size: clamp(30px, 3.6vw, 54px); line-height: 1.02; letter-spacing: -.03em; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.walk__count { font-size: 13px; color: rgba(255,255,255,.75); white-space: nowrap; }
.walk__count b { font: 500 30px/1 var(--sans); color: var(--lime); letter-spacing: -.02em; }
.walk__chapter { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.walk__ch-k { font-size: 11px; color: rgba(255,255,255,.65); }
.walk__ch { font-weight: 500; font-size: clamp(34px, 5vw, 76px); line-height: .95; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0,0,0,.35); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.walk__ch.is-swap { opacity: 0; transform: translateY(14px); }
.walk__line { position: relative; height: 2px; background: rgba(255,255,255,.22); border-radius: 2px; }
.walk__line > i { position: absolute; inset: 0; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); border-radius: 2px; }
.walk__ticks span { position: absolute; top: -4px; width: 2px; height: 10px; background: rgba(255,255,255,.55); border-radius: 1px; }
.walk__ticks span.is-past { background: var(--lime); }
@media (max-width: 860px) {
  .walk { height: 780vh; }
  .walk__frame { clip-path: inset(14% 4% 10% 4% round 18px); }
  .walk__ui { padding-top: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .walk { height: auto; }
  .walk__pin { position: relative; height: 100vh; }
  .walk__frame { clip-path: none; }
}

/* =====================================================================
   ЛОГОТИП: «КИСЛОРОДЪ» — Cormorant Garamond, подпись — Montserrat,
   Ъ — шалфейный зелёный. Источник: brand/logo-otel-v-lesu.png
   ===================================================================== */
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-cyrillic-400-normal.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap;
  src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root { --brand-cream: #f5f0e8; --brand-sage: #86a079; --serif: "Cormorant Garamond", "Cormorant", Georgia, serif; --brand-sans: "Montserrat", var(--sans); }

.logo__word { font: 400 23px/1 var(--serif); letter-spacing: .16em; color: var(--brand-cream); margin-right: -.16em; }
.logo__word b { font-weight: 400; color: var(--brand-sage); }
.logo { gap: 0; }

.brand-lockup { display: inline-flex; flex-direction: column; align-items: center; gap: .9em; color: var(--brand-cream); }
.brand-lockup__word { font: 400 clamp(40px, 6vw, 84px)/1 var(--serif); letter-spacing: .16em; margin-right: -.16em; }
.brand-lockup__word b { font-weight: 400; color: var(--brand-sage); }
.brand-lockup__sub { font: 400 clamp(12px, 1.3vw, 18px)/1 var(--brand-sans); letter-spacing: .14em; text-transform: uppercase; margin-right: -.14em; }

/* малый вариант над заголовком первого экрана */
.brand-lockup--sm { align-items: flex-start; gap: 10px; }
.brand-lockup--sm .brand-lockup__word { font-size: clamp(22px, 2vw, 30px); }
.brand-lockup--sm .brand-lockup__sub { font-size: 11px; color: rgba(245,240,232,.75); }

/* заставка при загрузке: буквы логотипа проявляются, потом занавес уходит вверх */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 52%, #394d3b 0%, #2a3a2c 45%, #1e2b20 100%);
  transition: transform 1.1s cubic-bezier(.76,0,.24,1), opacity .4s linear 1s; }
.intro.is-done { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.intro .brand-lockup__word span { display: inline-block; opacity: 0; transform: translateY(.25em); filter: blur(6px);
  animation: letterIn 1s var(--ease) forwards; animation-delay: calc(.15s + var(--i) * 70ms); }
.intro .brand-lockup__sub { opacity: 0; animation: subIn 1s var(--ease) .95s forwards; }
@keyframes letterIn { to { opacity: 1; transform: none; filter: none; } }
@keyframes subIn { from { opacity: 0; letter-spacing: .4em; } to { opacity: 1; letter-spacing: .14em; } }
html.is-loading { overflow: hidden; }

/* подвал: большой логотип с подписью */
.footer__logo { display: flex; flex-direction: column; align-items: flex-start; margin: 0 0 56px; }
.footer__big { font: 400 clamp(46px, 11.5vw, 190px)/.9 var(--serif); letter-spacing: .12em; margin: 0 -.12em 0 0; color: var(--brand-cream); }
.footer__big b { font-weight: 400; color: var(--brand-sage); }
.footer__sub { margin: clamp(14px, 1.6vw, 26px) 0 0; font: 400 clamp(12px, 1.5vw, 22px)/1 var(--brand-sans); letter-spacing: .3em; text-transform: uppercase; color: rgba(245,240,232,.8); }

@media (max-width: 560px) { .logo__word { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } }

/* знак: линия горы + O₂ (перерисован в SVG с обложки ВК, brand/logo-oblozhka-vk.png) */
.logo { gap: 12px; }
.logo__mark { width: 62px; height: 18px; flex: none; color: var(--brand-cream); overflow: visible; }
.logo__mark .mark__2 { display: none; } /* в мелком размере двойка не читается */
.brand-lockup__mark { width: clamp(220px, 34vw, 460px); height: auto; overflow: visible; color: var(--brand-cream); margin-bottom: clamp(8px, 2vh, 22px); }
.brand-lockup__sub i { display: inline-block; width: 2.2em; }
.intro .brand-lockup__word { font-size: clamp(40px, 7vw, 96px); }
.intro .brand-lockup__sub { font-size: clamp(11px, 1.4vw, 19px); }
.intro .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.6s cubic-bezier(.65,0,.35,1) .1s forwards; }
.intro .draw-o { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s var(--ease) 1.2s forwards; }
.intro .draw-2 { opacity: 0; animation: subIn .6s var(--ease) 1.7s forwards; }
.intro .brand-lockup__word span { animation-delay: calc(.7s + var(--i) * 70ms); }
.intro .brand-lockup__sub { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (max-width: 560px) { .logo__mark { width: 48px; height: 14px; } .brand-lockup__sub i { width: 1.2em; } }

/* заставка: лес в тумане с обложки ВК (логотип с фото стёрт, рисуется поверх вектором) */
.intro { background: #1e2b20; overflow: hidden;
  transition: opacity 1.2s cubic-bezier(.4,0,.2,1), visibility 0s linear 1.2s; }
.intro.is-done { transform: none; opacity: 0; visibility: hidden; }
.intro__bg, .intro__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__bg img { object-fit: cover; object-position: 50% 55%; transform: scale(1.12); animation: introZoom 7s cubic-bezier(.2,.7,.2,1) forwards; }
.intro.is-done .intro__bg img { transform: scale(1.35); transition: transform 1.4s cubic-bezier(.6,0,.3,1); animation: none; }
@keyframes introZoom { from { transform: scale(1.12); } to { transform: scale(1.02); } }
.intro__veil { position: absolute; inset: 0; background:
  radial-gradient(70% 60% at 50% 55%, rgba(15,31,16,.25) 0%, rgba(15,31,16,.55) 70%, rgba(15,31,16,.8) 100%),
  linear-gradient(180deg, rgba(15,31,16,.35), rgba(15,31,16,0) 30%, rgba(15,31,16,0) 70%, rgba(15,31,16,.5)); }
.intro__fog { position: absolute; left: -15%; right: -15%; height: 70%; background-size: cover; opacity: .55; pointer-events: none; }
.intro__fog--1 { top: -10%; background-image: url("../img/fog-1.webp"); transform: scaleY(-1); animation: drift 22s linear infinite alternate; }
.intro__fog--2 { bottom: -15%; background-image: url("../img/fog-2.webp"); animation: drift 28s linear infinite alternate-reverse; }
.intro.is-done .intro__fog { opacity: 1; transition: opacity .8s; }
.intro .brand-lockup { position: relative; z-index: 2; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.intro.is-done .brand-lockup { transform: translateY(-30px) scale(.96); opacity: 0; transition: transform 1s var(--ease), opacity .7s; }

/* модуль бронирования Realty Calendar во встроенном окне */
.rc-embed { margin-bottom: clamp(28px, 4vw, 48px); }
.rc-embed .rc-slot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff;
  box-shadow: 0 1px 0 rgba(20,32,22,.06), 0 24px 60px -30px rgba(20,32,22,.35); }
.rc-embed iframe { display: block; width: 100%; height: 880px; border: 0; }
.rc-embed__alt { margin: 12px 0 0; font-size: 14px; color: rgba(20,32,22,.6); }
.rc-embed__alt a { color: var(--paper-ink); }
.rc-embed__alt:has(a[hidden]) { display: none; }
.rc-mobile { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 22px; text-decoration: none; color: var(--paper-ink); }
.rc-mobile__k { font-size: 11px; color: rgba(20,32,22,.55); }
.rc-mobile__t { font-size: 26px; font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.rc-mobile__d { font-size: 15px; color: rgba(20,32,22,.65); margin-bottom: 8px; }

/* телефоны: бронирование и сотрудничество */
.footer__grid { grid-template-columns: 1.6fr repeat(4, minmax(0, 1fr)); }
.footer__phone { display: flex; flex-direction: column; gap: 3px; }
.footer__phone span { font: 400 11px/1.3 var(--mono); text-transform: uppercase; color: var(--ink-faint); }
.footer__phone a { white-space: nowrap; }
.panel__call { margin: -10px 0 22px; font-size: 15px; color: rgba(20,32,22,.7); }
.panel__call a { color: var(--paper-ink); font-weight: 500; white-space: nowrap; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
