/* Холодная речка — «Дом на зелёном склоне»: Prata + Golos Text, хвойный первый экран, тёплый белый, бирюза, коралл. */

@font-face { font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/prata-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Prata'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/prata-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/golos-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Golos Text'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/golos-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #FFFCF6;
  --sand: #FFF0D5;
  --water: #E4F3EE;
  --ink: #173C3A;
  --ink-2: #48615C;
  --coral: #B94728;
  --coral-h: #9E371F;
  --coral-a: #863019;
  --teal: #087E83;
  --sun: #EDB957;
  --deep: #124B4A;
  --line: #D5DDD4;
  --field: #839D93;
  --serif: 'Prata', Georgia, 'Times New Roman', serif;
  --pine: #123E39;
  --muted: #CCD9D3;
  --gold: #EBC785;
  --sans: 'Golos Text', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pad: 48px;
  --sec: 104px;
  --head: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--head); }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 22px/34px var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--deep); color: #fff; border-radius: 12px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(1320px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--sec) 0; }

/* type */
.h1 { font: 400 88px/94px var(--serif); letter-spacing: -.02em; }
.h2 { font: 400 60px/68px var(--serif); letter-spacing: -.02em; }
.h3 { font: 400 32px/40px var(--serif); letter-spacing: -.02em; }
.lead { font: 500 26px/38px var(--sans); color: var(--ink); max-width: 58ch; }
.eyebrow { font: 600 15px/22px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
p { max-width: 58ch; }

/* buttons, links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px; border-radius: 6px; border: 0; font: 600 18px/24px var(--sans); text-decoration: none; cursor: pointer; transition: background .15s, box-shadow .15s; white-space: nowrap; }
.btn--primary { background: var(--coral); color: #FFFCF6; }
.btn--primary:hover { background: var(--coral-h); }
.btn--primary:active { background: var(--coral-a); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--field); }
.btn--light:hover { background: var(--water); }
.btn--block { display: flex; width: 100%; }
.link { font: 600 18px/26px var(--sans); color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; background: none; border: 0; padding: 0; cursor: pointer; }
.link:hover { color: var(--teal); }
.link--light { color: #fff; }
.link--light:hover { color: var(--sun); }
.round { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; transition: background .15s, color .15s; }
.round:hover { background: var(--ink); color: #fff; }
.round:disabled { opacity: .35; pointer-events: none; }

/* ============ header ============ */
.header { position: sticky; top: 0; z-index: 50; height: var(--head); background: var(--white); color: var(--pine); border-bottom: 1px solid rgb(18 62 57 / 12%); }
.header__in { height: 100%; width: min(1320px, calc(100% - var(--pad) * 2)); margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; color: var(--pine); }
.logo__mark { width: 48px; height: 48px; flex: none; }
.logo__text b { display: block; font: 400 26px/1.15 var(--serif); letter-spacing: -.02em; }
.logo__text small { display: block; margin-top: 4px; font: 500 10px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 500 16px/24px var(--sans); text-decoration: none; color: var(--pine); padding: 6px 0; border-bottom: 2px solid transparent; transition: border-color .15s, color .15s; }
.nav a:hover { color: var(--teal); }
.nav a.on { border-bottom-color: var(--coral); }
.langs { display: flex; align-items: center; gap: 10px; font: 400 13px/1 var(--sans); letter-spacing: .08em; }
.langs b { font-weight: 600; color: var(--pine); }
.langs a { color: var(--ink-2); text-decoration: none; padding: 8px 2px; }
.langs a:hover { color: var(--teal); }
.header__cta { min-height: 46px; padding: 0 20px; font-size: 15px; }
.burger { display: none; width: 48px; height: 48px; margin-left: auto; border: 0; background: none; position: relative; cursor: pointer; }
.burger i { position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .2s, top .2s; }
.burger i:first-child { top: 18px; } .burger i:last-child { top: 27px; }
.burger[aria-expanded="true"] i:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { top: 22px; transform: rotate(-45deg); }
.menu { position: fixed; left: 0; right: 0; top: var(--head); bottom: 0; background: var(--white); padding: 16px 20px 40px; display: flex; flex-direction: column; overflow-y: auto; }
.menu a:not(.btn) { font: 500 24px/34px var(--sans); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); }
.menu .btn { margin-top: 28px; }

/* ============ hero: sunny text column + living sea ============ */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pine); color: var(--white); }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: max(44%, calc((100% - 1320px) / 2 + 584px)); z-index: 0; background: var(--pine); }
.hero__media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #123E39 0%, rgb(18 62 57 / 85%) 9%, rgb(18 62 57 / 30%) 25%, rgb(18 62 57 / 0) 43%); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; }
.hero__inner { position: relative; z-index: 2; width: min(1320px, calc(100% - var(--pad) * 2)); margin: 0 auto; min-height: clamp(720px, calc(100vh - var(--head)), 920px); min-height: clamp(720px, calc(100svh - var(--head)), 920px); display: flex; align-items: center; padding: 64px 0; }
.hero__copy { width: 42%; max-width: 560px; }
.hero__eyebrow { display: block; margin-bottom: 28px; font: 500 13px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero .h1 { font: 400 clamp(54px, 4.4vw, 80px)/1.12 var(--serif); letter-spacing: -.03em; color: var(--white); }
.hero__lead { margin-top: 28px; max-width: 440px; font: 400 20px/1.55 var(--sans); color: var(--white); }
.hero__price { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgb(255 252 246 / 24%); font: 500 22px/1.4 var(--sans); color: var(--white); }
.hero__price span { font-weight: 400; }
.hero__price small { display: block; margin-top: 6px; font: 400 15px/1.5 var(--sans); color: var(--muted); }
.hero__price small a { color: var(--white); text-underline-offset: 4px; white-space: nowrap; }
.hero__price small a:hover { color: var(--gold); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 28px; }
.hero .link { color: var(--white); font-size: 17px; }
.hero .link:hover { color: var(--gold); }
.hero :focus-visible { outline-color: var(--gold); }

/* ============ balcony ============ */
.balcony__head .lead { margin-top: 18px; }
.balcony__frame { margin-top: 40px; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #cfe3df; }
.balcony__frame video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

/* ============ facts ============ */
.facts { background: var(--water); padding: 48px 0; }
.facts__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.facts__list li { display: flex; align-items: center; gap: 22px; }
.facts__list b { font: 600 88px/96px var(--sans); color: var(--teal); font-variant-numeric: tabular-nums; }
.facts__list span { font: 500 22px/32px var(--sans); color: var(--ink); max-width: 240px; }

/* ============ room ============ */
.room__grid { display: grid; grid-template-columns: 60fr 40fr; column-gap: 40px; grid-template-areas: "head head" "gal info"; align-items: start; }
.room__head { grid-area: head; margin-bottom: 40px; }
.room__head .lead { margin-top: 20px; }
.room__gallery { grid-area: gal; min-width: 0; }
.room__grid > *, .split > *, .route__grid > *, .faq__grid > *, .calc > * { min-width: 0; }
.room__info { grid-area: info; padding-top: 4px; }
.room__main { position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #e7e0d2; cursor: zoom-in; }
.room__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .22s linear; }
.room__main img.on { opacity: 1; }
.room__cap { margin-top: 14px; font: 400 18px/27px var(--sans); color: var(--ink-2); min-height: 27px; }
.room__thumbs { margin-top: 14px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.room__thumbs button { padding: 0; border: 0; background: none; cursor: pointer; text-align: left; }
.room__thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 3px solid transparent; transition: border-color .15s; }
.room__thumbs span { display: block; margin-top: 6px; font: 500 17px/25px var(--sans); color: var(--ink-2); }
.room__thumbs button.on img { border-color: var(--coral); }
.room__thumbs button.on span { color: var(--ink); }
.amen { display: grid; gap: 16px; }
.amen li { display: flex; align-items: center; gap: 14px; font: 400 20px/30px var(--sans); }
.amen svg { width: 28px; height: 28px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.amen svg circle { fill: var(--teal); stroke: none; }
.room__price { margin-top: 32px; font: 600 36px/44px var(--sans); }
.room__price span { display: block; font: 400 18px/27px var(--sans); color: var(--ink-2); }
.room__actions { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 28px; }

/* ============ split heading ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: end; }
.split p + p { margin-top: 16px; color: var(--ink-2); }

/* ============ life ============ */
.life { background: var(--sand); }
.life__photos { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.life__media { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #ead9b8; }
.life__media video, .life__media img { width: 100%; height: 100%; object-fit: cover; }
.life__item figcaption { margin-top: 18px; font-size: 20px; line-height: 30px; color: var(--ink-2); }
.life__item figcaption b { display: block; font: 400 32px/40px var(--serif); letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.life__note { margin-top: 40px; font: 600 20px/30px var(--sans); color: var(--coral); }
.life__more { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.life__more li { background: var(--white); border-radius: 24px; padding: 28px; }
.life__more b { display: block; font: 600 22px/30px var(--sans); }
.life__more span { display: block; margin-top: 8px; font-size: 19px; line-height: 29px; color: var(--ink-2); }

/* ============ place + gallery ============ */
.hgallery { margin-top: 48px; }
.hgallery__bar { margin-bottom: 20px; }
.hgallery__hint { font: 400 18px/27px var(--sans); color: var(--ink-2); }
.hgallery__stage { position: relative; }
.hgallery__viewport { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 max(var(--pad), calc((100vw - 1320px) / 2)); }
.hgallery__viewport::-webkit-scrollbar { display: none; }
.hgallery__track { display: flex; gap: 24px; width: max-content; padding: 0 max(var(--pad), calc((100vw - 1320px) / 2)); }
.hcard { flex-shrink: 0; width: 420px; scroll-snap-align: start; cursor: zoom-in; }
.hcard--wide { width: 840px; }
.hcard__img { aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: #dfe8e3; }
.hcard--wide .hcard__img { aspect-ratio: 3 / 2; }
.hcard__img img, .hcard__img video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease-out; }
.hcard:hover .hcard__img img, .hcard:hover .hcard__img video { transform: scale(1.03); }
.hcard figcaption { margin-top: 14px; font: 500 20px/30px var(--sans); color: var(--ink); }
.hgallery__side { position: absolute; top: 280px; z-index: 3; width: 76px; height: 76px; margin-top: -38px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .75); background: rgba(255, 255, 255, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px rgba(6, 40, 40, .25); transition: background .2s, opacity .2s; }
.hgallery__side svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.hgallery__side:hover { background: rgba(255, 255, 255, .55); }
.hgallery__side:disabled { opacity: 0; pointer-events: none; }
.hgallery__side--prev { left: max(16px, calc((100vw - 1320px) / 2 - 38px)); }
.hgallery__side--next { right: max(16px, calc((100vw - 1320px) / 2 - 38px)); }
.hgallery__progress { margin-top: 28px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.hgallery__progress i { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--hp, 0)); transition: transform .2s; }

/* ============ route ============ */
.route { background: var(--water); }
.route__grid { display: grid; grid-template-columns: 45fr 55fr; column-gap: 64px; align-items: center; }
.steps { margin: 36px 0 28px; display: grid; gap: 24px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.steps li > span { width: 44px; height: 44px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font: 600 20px/1 var(--sans); color: var(--ink); }
.steps h3 { font: 600 22px/32px var(--sans); }
.steps p { margin-top: 4px; font-size: 20px; line-height: 30px; color: var(--ink-2); }
.map svg { width: 100%; height: auto; border-radius: 24px; }
.map__sea { fill: #BFE5DF; }
.map__land { fill: var(--sand); stroke: #e3cfa4; stroke-width: 1.5; }
.map__border { stroke: var(--ink-2); stroke-width: 1.5; stroke-dasharray: 5 6; fill: none; }
.map__route { stroke: var(--coral); stroke-width: 5; fill: none; stroke-linecap: round; }
.map__pt circle { fill: var(--ink); }
.map__pt--home circle { fill: var(--coral); stroke: #fff; stroke-width: 3; }
.map text { font: 600 18px var(--sans); fill: var(--ink); }
.map .map__sm { font-size: 16px; font-weight: 500; }
.map .map__home { font: 400 22px var(--serif); fill: var(--ink); }
.map .map__sealabel { font-weight: 600; letter-spacing: .1em; fill: var(--teal); }
.map figcaption { margin-top: 10px; font: 400 17px/25px var(--sans); color: var(--ink-2); }

/* ============ prices + calc ============ */
.prices { background: linear-gradient(135deg, #FFF5E2 0%, #FFE7C2 100%); }
.prices__head .lead { margin-top: 18px; color: var(--ink-2); font-weight: 400; }
.seasons { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.seasons li { background: #fff; border-radius: 24px; padding: 28px 30px; box-shadow: 0 12px 32px rgba(23, 60, 58, .08); display: flex; flex-direction: column; gap: 10px; border: 2px solid transparent; transition: border-color .15s; }
.seasons span { font: 500 20px/30px var(--sans); color: var(--ink-2); }
.seasons b { font: 600 48px/56px var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.seasons li.active { border-color: var(--teal); }
.calc { margin-top: 48px; display: grid; grid-template-columns: 55fr 45fr; border-radius: 24px; overflow: hidden; box-shadow: 0 12px 32px rgba(23, 60, 58, .08); scroll-margin-top: calc(var(--head) + 24px); }
.calc__form { background: #fff; padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.calc__form .h3 { margin-bottom: 2px; }
.calc__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field > span { font: 500 18px/26px var(--sans); color: var(--ink); }
.field i { font-style: normal; color: var(--ink-2); }
.field input { height: 64px; padding: 0 18px; border: 1px solid var(--field); border-radius: 12px; background: #fff; font: 400 20px/28px var(--sans); color: var(--ink); width: 100%; min-width: 0; }
.field input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8, 126, 131, .2); }
.stepper { display: flex; align-items: center; height: 64px; border: 1px solid var(--field); border-radius: 12px; background: #fff; width: 220px; }
.stepper button { width: 60px; height: 100%; border: 0; background: none; font-size: 26px; cursor: pointer; color: var(--teal); }
.stepper button:hover { color: var(--coral); }
.stepper output { flex: 1; text-align: center; font: 600 22px var(--sans); }
.calc__result { background: var(--deep); color: #fff; padding: 40px; display: flex; flex-direction: column; }
.calc__label { font: 600 15px/22px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.calc__summary { margin-top: 12px; font-size: 20px; line-height: 30px; }
.calc__total { margin-top: 14px; font: 600 56px/64px var(--sans); font-variant-numeric: tabular-nums; }
.calc__breakdown { margin-top: 6px; font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .9); }
.calc__warn { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .12); font-size: 17px; line-height: 26px; }
.calc__result .btn { margin-top: auto; }
.calc__result .calc__summary + .btn, .calc__result [data-warn] + .btn { margin-top: 28px; }
.calc__note { margin-top: 14px; font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, .92); }
.calc__alt { margin-top: 14px; font-size: 18px; color: rgba(255, 255, 255, .7); }
.terms { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 18px; line-height: 28px; color: var(--ink-2); }
.terms li { position: relative; padding-left: 18px; }
.terms li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

/* ============ FAQ ============ */
.faq__grid { display: grid; grid-template-columns: 35fr 65fr; column-gap: 64px; align-items: start; }
.faq__head p { margin-top: 20px; font-size: 20px; line-height: 30px; color: var(--ink-2); }
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border: 0; background: none; text-align: left; font: 500 22px/32px var(--sans); cursor: pointer; }
.acc__q:hover { color: var(--teal); }
.acc__q i { position: relative; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--water); }
.acc__q i::before, .acc__q i::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--teal); }
.acc__q i::after { transform: rotate(90deg); }
.acc__q[aria-expanded="true"] i::after { transform: none; }
.acc__a { display: none; }
.acc__item.open .acc__a { display: block; }
.acc__a p { margin: 0 0 24px; padding: 24px; border-radius: 16px; background: var(--water); font-size: 20px; line-height: 30px; color: var(--ink); max-width: none; }

/* ============ contacts ============ */
.contacts { background: linear-gradient(120deg, #124B4A 0%, #08666B 100%); color: #fff; padding-top: var(--sec); }
.contacts__title { font: 400 72px/80px var(--serif); letter-spacing: -.02em; }
.contacts__lead { margin-top: 20px; font: 500 26px/38px var(--sans); color: #fff; }
.contacts__actions { margin-top: 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 18px 28px; }
.contacts__list { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 36px; }
.contacts__list dt { font: 600 15px/22px var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
.contacts__list dd { margin-top: 8px; font-size: 22px; line-height: 32px; overflow-wrap: anywhere; }
.contacts__list dd a:not(.link) { text-decoration: none; font-weight: 600; }
.contacts__list dd a:not(.link):hover { text-decoration: underline; text-underline-offset: 5px; }
.contacts__list dd .link { display: inline-block; margin-top: 8px; }
.footer { margin-top: 64px; border-top: 1px solid rgba(255, 255, 255, .2); padding: 26px 0 calc(32px + env(safe-area-inset-bottom)); font-size: 17px; line-height: 26px; color: rgba(255, 255, 255, .85); }
.footer__in { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer__in span { margin-right: auto; }
.footer a { color: #fff; }

/* ============ lightbox ============ */
.lightbox { position: fixed; inset: 0; z-index: 80; background: #0b3433; display: grid; place-items: center; padding: 72px 96px 64px; opacity: 0; transition: opacity .2s; touch-action: none; }
.lightbox.open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; transition: opacity .2s; user-select: none; }
.lightbox .round { position: absolute; width: 56px; height: 56px; background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .35); color: #fff; }
.lightbox .round:hover { background: #fff; color: var(--ink); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 18px; top: 50%; margin-top: -28px; }
.lightbox__next { right: 18px; top: 50%; margin-top: -28px; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 18px; color: rgba(255, 255, 255, .9); padding: 0 80px; max-width: none; }

/* ============ toast ============ */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 16px 22px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 18px; transition: opacity .2s, transform .2s; max-width: calc(100vw - 40px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ============ responsive ============ */
@media (max-width: 1199px) {
  .h1 { font-size: 64px; line-height: 72px; }
  .h2 { font-size: 48px; line-height: 56px; }
  :root { --head: 72px; }
  .nav, .langs, .header__cta { display: none; }
  .burger { display: block; margin-left: auto; }
  .contacts__list { grid-template-columns: 1fr 1fr; }
  .facts__list b { font-size: 72px; line-height: 80px; }
}
@media (max-width: 900px) {
  :root { --pad: 20px; --sec: 64px; }
  body { font-size: 20px; line-height: 30px; }
  .h1 { font-size: 44px; line-height: 49px; }
  .h2 { font-size: 36px; line-height: 42px; }
  .h3 { font-size: 27px; line-height: 34px; }
  .lead { font-size: 22px; line-height: 33px; }
  .logo { gap: 9px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text b { font-size: 21px; }
  .logo__text small { margin-top: 2px; font-size: 9px; }

  .btn { width: 100%; }
  .header__cta, .stepper button { width: auto; }

  .balcony__frame { margin-top: 24px; aspect-ratio: 4 / 5; border-radius: 20px; }

  .facts { padding: 28px 0; }
  .facts__list { grid-template-columns: 1fr; gap: 0; }
  .facts__list li { padding: 14px 0; border-bottom: 1px solid #c9e3da; gap: 18px; }
  .facts__list li:last-child { border-bottom: 0; }
  .facts__list b { font-size: 64px; line-height: 72px; min-width: 52px; }
  .facts__list span { font-size: 20px; line-height: 30px; }

  .room__grid { grid-template-columns: 1fr; grid-template-areas: "head" "gal" "info"; row-gap: 28px; }
  .room__head { margin-bottom: 0; }
  .room__main { border-radius: 20px; }
  .room__thumbs { display: flex; overflow-x: auto; scrollbar-width: none; gap: 10px; }
  .room__thumbs::-webkit-scrollbar { display: none; }
  .room__thumbs button { flex: 0 0 80px; }
  .room__thumbs img { height: 64px; aspect-ratio: auto; border-radius: 10px; }
  .room__thumbs span { font-size: 15px; line-height: 21px; }
  .room__price { font-size: 30px; line-height: 38px; }

  .split { grid-template-columns: 1fr; row-gap: 18px; }
  .life__photos { grid-template-columns: 1fr; margin-top: 28px; gap: 32px; }
  .life__media { border-radius: 20px; }
  .life__more { grid-template-columns: 1fr; gap: 14px; }
  .life__more li { border-radius: 20px; padding: 22px; }

  .hgallery { margin-top: 28px; }
  .hgallery__hint { font-size: 17px; }
  .hgallery__track { gap: 16px; padding: 0 var(--pad); }
  .hcard, .hcard--wide { width: calc(100vw - 64px); }
  .hcard--wide .hcard__img { aspect-ratio: 3 / 4; }
  .hcard__img { border-radius: 20px; }
  .hcard:hover .hcard__img img { transform: none; }
  .hgallery__side { top: calc((100vw - 64px) * 2 / 3); width: 56px; height: 56px; margin-top: -28px; }
  .hgallery__side svg { width: 26px; height: 26px; }
  .hgallery__side--prev { left: 10px; } .hgallery__side--next { right: 10px; }

  .route__grid { grid-template-columns: 1fr; row-gap: 32px; }
  .map text { font-size: 20px; }
  .map .map__sm { font-size: 18px; }
  .map .map__home { font-size: 24px; }

  .seasons { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
  .seasons li { flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 20px 22px; border-radius: 20px; }
  .seasons b { font-size: 36px; line-height: 44px; }
  .calc { grid-template-columns: 1fr; margin-top: 32px; border-radius: 20px; }
  .calc__form, .calc__result { padding: 24px; }
  .calc__dates { grid-template-columns: 1fr; }
  .stepper { width: 100%; }
  .calc__total { font-size: 44px; line-height: 52px; }
  .terms { flex-direction: column; gap: 6px; }

  .faq__grid { grid-template-columns: 1fr; row-gap: 24px; }
  .acc__q { font-size: 20px; line-height: 30px; }

  .contacts__title { font-size: 42px; line-height: 48px; }
  .contacts__lead { font-size: 22px; line-height: 33px; }
  .contacts__list { grid-template-columns: 1fr; margin-top: 40px; gap: 28px; }
  .contacts__list dd { font-size: 20px; line-height: 30px; }
  .footer { margin-top: 40px; }

  .lightbox { padding: 64px 0 56px; }
  .lightbox__prev, .lightbox__next { display: none; }
  .lightbox__cap { padding: 0 20px; }
}
@media (max-width: 359px) {
  .h1 { font-size: 38px; line-height: 43px; }
  .h2 { font-size: 32px; line-height: 38px; }
  .logo__text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}

/* panorama of Kholodnaya Rechka + photo credits */
.panorama { margin-top: 48px; }
.panorama__img { aspect-ratio: 2 / 1; border-radius: 24px; overflow: hidden; background: #dfe8e3; }
.panorama__img img { width: 100%; height: 100%; object-fit: cover; }
.panorama figcaption { margin-top: 14px; font: 500 20px/30px var(--sans); color: var(--ink); max-width: none; }
.credit { display: block; margin-top: 4px; font: 400 14px/20px var(--sans); color: var(--ink-2); }
.credit a { color: inherit; }
.hcard .credit { font-size: 13px; line-height: 18px; }
@media (max-width: 900px) {
  .panorama { margin-top: 28px; }
  .panorama__img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .panorama__img img { object-position: 40% 50%; }
  .panorama figcaption { font-size: 18px; line-height: 27px; }
}

/* hero on tablets and phones: video on top, pine text block below */
@media (max-width: 999px) {
  .hero { display: flex; flex-direction: column; }
  .hero__media { position: relative; inset: auto; height: clamp(230px, 64vw, 360px); flex: none; }
  .hero__media::after { display: none; }
  .hero__video { object-position: 55% 58%; }
  .hero__inner { width: 100%; min-height: 0; padding: 32px var(--pad) 40px; }
  .hero__copy { width: 100%; max-width: 600px; margin: 0 auto; }
  .hero__eyebrow { margin-bottom: 20px; font-size: 12px; letter-spacing: .1em; }
  .hero .h1 { font-size: clamp(37px, 10vw, 56px); line-height: 1.14; }
  .hero__lead { margin-top: 22px; font-size: 18px; line-height: 1.5; }
  .hero__price { margin-top: 24px; font-size: 21px; }
  .hero__actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 24px; }
  .hero__actions .link { text-align: center; }
}
