:root {
  /* Ночь у Вазузы: тёмное небо, свет окон, снег. Тёмные секции — вечер, светлые — снег. */
  --night: #0f1a22;
  --night-2: #172732;
  --spruce: #1d3a33;
  --snow: #f5f2ec;
  --frost: #e4eaec;
  --glow: #eaa848;
  --glow-soft: #f6d9a4;
  --berry: #9c2f29;
  --ink: #1a2228;
  --muted: #5b676d;
  --line: #d9dcd9;
  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.4rem);
  --step-2: clamp(1.6rem, 1.35rem + 1.1vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.7rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.8rem, 2rem + 3.8vw, 5.2rem);
  --radius: 6px;
  --wrap: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--snow); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); letter-spacing: -0.01em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; max-width: 65ch; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--snow); padding: 8px 12px; }

/* Шапка */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(8px); color: var(--snow);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.logo { font-family: var(--font-display); font-size: 1.7rem; font-style: italic; font-weight: 600; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--glow); }
.nav { display: flex; gap: 18px; margin-left: auto; font-size: var(--step--1); }
.nav a { text-decoration: none; opacity: 0.85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--glow-soft); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid rgb(255 255 255 / 0.3); color: inherit; border-radius: var(--radius); padding: 6px 10px; font: inherit; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--radius); font: 500 var(--step--1)/1.2 var(--font-body);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-glow { background: var(--glow); color: var(--night); }
.btn-glow:hover { background: var(--glow-soft); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.btn-line:hover { background: rgb(255 255 255 / 0.08); }
.on-snow .btn-line:hover { background: rgb(0 0 0 / 0.05); }

/* Первый экран */
.hero { position: relative; color: var(--snow); background: var(--night); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(15 26 34 / 0.35) 0%, rgb(15 26 34 / 0.15) 40%, rgb(15 26 34 / 0.85) 100%); pointer-events: none; }
.hero canvas, .page-hero canvas { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero-body { position: relative; z-index: 2; padding: clamp(120px, 22vh, 220px) 0 56px; display: grid; gap: 22px; }
.hero .eyebrow { color: var(--glow-soft); }
.hero h1 em { font-style: italic; color: var(--glow-soft); }
.hero-lead { font-size: var(--step-1); max-width: 40ch; opacity: 0.92; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.eyebrow { font-size: var(--step--1); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; }
.page-hero { position: relative; color: var(--snow); background: var(--night); }
.page-hero .hero-body { padding: 96px 0 40px; }
.page-hero.has-img { min-height: 440px; display: flex; align-items: flex-end; }
.page-hero.has-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(15 26 34 / 0.2), rgb(15 26 34 / 0.85)); }
.page-hero .wrap { position: relative; z-index: 2; }
.crumbs { font-size: var(--step--1); opacity: 0.8; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }

/* Секции */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.dark { background: var(--night); color: var(--snow); }
.section.spruce { background: var(--spruce); color: var(--snow); }
.section.frost { background: var(--frost); }
.section-head { display: grid; gap: 14px; margin-bottom: 36px; }
.section-head p { color: var(--muted); }
.dark .section-head p, .spruce .section-head p { color: rgb(245 242 236 / 0.75); }
.stack { display: grid; gap: 16px; }

/* Новогодние заезды — как посадочные талоны */
.arrivals { display: grid; gap: 12px; }
.arrival {
  display: grid; grid-template-columns: minmax(180px, 1.1fr) repeat(3, minmax(0, 1fr)) auto;
  align-items: center; gap: 16px; padding: 18px 22px; border-radius: var(--radius);
  background: var(--night-2); border: 1px solid rgb(255 255 255 / 0.08); position: relative;
}
.arrival::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px; border-radius: 2px; background: var(--glow); }
.arrival.peak::before { background: var(--berry); }
.arrival-dates { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1; }
.arrival-dates small { display: block; font-family: var(--font-body); font-size: var(--step--1); font-weight: 400; opacity: 0.7; margin-top: 6px; }
.arrival-price { display: grid; gap: 2px; }
.arrival-price span { font-size: var(--step--1); opacity: 0.65; }
.arrival-price strong { font-size: var(--step-1); font-weight: 500; font-variant-numeric: tabular-nums; }
.arrival .btn { justify-self: end; }
.tag { display: inline-block; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--berry); color: var(--snow); margin-left: 8px; vertical-align: middle; }
.fineprint { font-size: var(--step--1); opacity: 0.75; margin-top: 18px; max-width: 80ch; }

/* Дома */
.houses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.house-card { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; }
.house-card img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.house-card:hover img { transform: scale(1.03); }
.house-card .media { overflow: hidden; }
.house-card .body { padding: 20px 22px 24px; display: grid; gap: 10px; align-content: start; }
.house-card h3 { font-size: var(--step-2); }
.facts-inline { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--step--1); color: var(--muted); }
.house-card .from { font-size: var(--step--1); }
.house-card .from strong { font-size: var(--step-1); font-weight: 500; }
.house-card .more { color: var(--berry); font-weight: 500; font-size: var(--step--1); }

/* Дни */
.days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.day figure { margin: 0; display: grid; gap: 12px; }
.day img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.day figcaption { display: grid; gap: 4px; }
.day figcaption b { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.day figcaption span { font-size: var(--step--1); opacity: 0.8; }

/* Списки условий */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { padding-left: 30px; position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 2px; background: var(--glow); }
.checklist.no li::before { background: var(--berry); }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.term { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.term b { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.term p { font-size: var(--step--1); color: var(--muted); }

/* Факты дома */
.facts { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.facts th, .facts td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 38%; font-weight: 500; color: var(--muted); padding-right: 16px; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table th, .price-table td { padding: 12px 10px; border-bottom: 1px solid rgb(255 255 255 / 0.12); text-align: left; }
.price-table th { font-weight: 500; font-size: var(--step--1); opacity: 0.7; }
.price-table td.r, .price-table th.r { text-align: right; }
.table-scroll { overflow-x: auto; }

.house-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.booking-card { position: sticky; top: 88px; padding: 24px; border-radius: var(--radius); background: var(--night); color: var(--snow); display: grid; gap: 14px; }
.booking-card .price { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; }
.booking-card small { opacity: 0.75; font-size: var(--step--1); }
.booking-card .btn { width: 100%; }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .big { grid-column: span 2; grid-row: span 2; }
.gallery .tall { grid-row: span 2; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgb(10 16 20 / 0.94); display: none; place-items: center; padding: 24px; }
.lightbox.open { display: grid; }
.lightbox img { max-height: 86vh; max-width: min(1400px, 100%); border-radius: var(--radius); }
.lightbox figcaption { color: var(--snow); text-align: center; margin-top: 10px; font-size: var(--step--1); }
.lightbox button { position: absolute; background: rgb(255 255 255 / 0.1); color: var(--snow); border: 0; width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Видео */
.teaser { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; }
.teaser video { width: 100%; }

/* Вопросы */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--berry); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--muted); }

/* Уведомление о превью */
.notice { padding: 14px 18px; border-radius: var(--radius); border: 1px dashed var(--glow); background: rgb(234 168 72 / 0.08); font-size: var(--step--1); }
.dark .notice { color: var(--glow-soft); }

/* Подвал */
.site-footer { background: var(--night); color: rgb(245 242 236 / 0.8); padding: 56px 0 96px; font-size: var(--step--1); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--snow); font-weight: 500; margin: 0 0 12px; font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--glow-soft); }
.legal { border-top: 1px solid rgb(255 255 255 / 0.1); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Нижняя панель на телефоне */
.mobile-bar { display: none; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .nav.open { display: grid; position: absolute; top: 64px; left: 0; right: 0; background: var(--night); padding: 16px; gap: 14px; font-size: var(--step-0); }
  .menu-toggle { display: inline-block; margin-left: auto; }
  .header-actions .btn-glow { display: none; }
  .houses, .terms { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
  .arrival { grid-template-columns: 1fr 1fr 1fr; }
  .arrival-dates { grid-column: 1 / -1; }
  .arrival .btn { grid-column: 1 / -1; justify-self: stretch; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--night); border-top: 1px solid rgb(255 255 255 / 0.1);
  }
  .mobile-bar a { padding: 11px 12px; }
}
@media (max-width: 640px) {
  .split, .site-footer .cols { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; }
  .header-actions .btn-line { display: none; }
  .arrival { grid-template-columns: 1fr 1fr; }
  .arrival-price:last-of-type { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .house-card img, .gallery img { transition: none; }
}

img { height: auto; }
.gallery img { height: 100%; }

/* Юридические документы */
.legal-doc { max-width: 860px; font-size: var(--step-0); line-height: 1.6; }
.legal-doc h2 { font-family: var(--font-body); font-size: var(--step-0); font-weight: 600; letter-spacing: 0.04em; margin: 2.2em 0 0.8em; }
.legal-doc p { margin: 0 0 0.8em; }
.legal-doc .pn { font-weight: 600; }
.legal-doc .doc-sub { font-size: var(--step-1); margin: 0; }
.legal-doc .doc-ed { color: var(--muted); font-style: italic; margin: 0.6em 0 2em; }
.legal-doc ul { margin: 0 0 1em; padding-left: 1.3em; display: grid; gap: 4px; }
.legal-doc a { word-break: break-word; }
.doc-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: var(--step--1); line-height: 1.45; margin: 0.6em 0 1.4em; background: #fff; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; text-align: left; }
.doc-table th { background: var(--frost); font-weight: 600; }
mark.todo { background: #fff1b8; color: var(--ink); padding: 0 3px; border-radius: 3px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-links a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / 0.3); }

/* Уведомление о cookie */
.cookie-banner { position: fixed; left: 16px; bottom: 16px; z-index: 60; max-width: 420px; display: flex; gap: 14px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius); background: var(--night-2); color: var(--snow); box-shadow: 0 12px 32px rgb(0 0 0 / 0.3); font-size: var(--step--1); }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--glow-soft); }
.cookie-banner .btn { flex: none; }
@media (max-width: 1000px) { .cookie-banner { left: 10px; right: 10px; bottom: 76px; max-width: none; } }
.page-hero h1 { overflow-wrap: anywhere; hyphens: auto; }
.hero-lead { overflow-wrap: anywhere; }
.mobile-bar .btn-line { color: var(--snow); border-color: rgb(245 242 236 / 0.5); }
@media (max-width: 640px) { .page-hero h1 { font-size: clamp(2rem, 9vw, 3rem); } }
.split { align-items: start; } .stack { align-content: start; }
.btn { min-height: 44px; }
.cookie-actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn-line { color: var(--snow); }
.cookie-settings { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgb(255 255 255 / 0.3); cursor: pointer; }
@media (max-width: 640px) { .cookie-banner { flex-direction: column; align-items: stretch; } .cookie-actions .btn { flex: 1; } }
.menu-toggle { min-height: 44px; }

/* Что входит в цену */
.included-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.included-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.included .section-head { margin-bottom: 0; }
.included-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.included-list > div { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-top: 1px solid rgb(245 242 236 / 0.18); }
.included-list b { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--glow-soft); line-height: 1.15; }
.included-list span { font-size: var(--step--1); opacity: 0.82; }
/* Клуб рядом */
.club-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.club-intro { gap: 20px; position: sticky; top: 96px; }
.club-intro p { color: rgb(245 242 236 / 0.8); }
.club { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.club-card { padding: 28px 0; border-top: 1px solid rgb(245 242 236 / 0.2); display: grid; gap: 12px; align-content: start; transition: transform 0.4s ease; }
.club-card svg { color: var(--glow); }
.club-card b { font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; line-height: 1.1; color: var(--snow); }
.club-card p { font-size: var(--step--1); opacity: 0.85; }
.club-card:hover { transform: translateY(-4px); }
.club-card:hover b { color: var(--glow-soft); }
.club-contact { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.club-contact a:not(.btn) { color: var(--snow); }
/* Отзывы */
.reviews-head { grid-template-columns: 1fr auto; align-items: end; }
.rating { display: flex; align-items: center; gap: 16px; }
.rating strong { font-family: var(--font-display); font-size: clamp(3.2rem, 7vw, 5rem); font-weight: 600; line-height: 1; color: var(--berry); }
.rating span { font-size: var(--step--1); color: var(--muted); }
.reviews-frame { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; max-width: 860px; margin-inline: auto; }
.reviews-frame iframe { width: 100%; height: 720px; border: 0; display: block; }
.reviews-more { margin-top: 24px; display: flex; justify-content: center; max-width: none; }
/* Как добраться */
.route-facts { display: flex; flex-wrap: wrap; gap: 20px 48px; }
.route-facts div { display: grid; gap: 4px; }
.route-facts strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--glow-soft); }
.route-facts span { font-size: var(--step--1); opacity: 0.8; }
.route-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
/* Условия: мелкая приписка */
.term b small { font-family: var(--font-body); font-size: 0.8rem; font-weight: 400; color: var(--muted); margin-left: 6px; white-space: nowrap; }
@media (max-width: 1000px) {
  .included-grid, .club-grid { grid-template-columns: 1fr; }
  .included-photo img { aspect-ratio: 16 / 10; }
  .club-intro { position: static; }
}
@media (max-width: 640px) { .club, .included-list, .reviews-head { grid-template-columns: 1fr; } .reviews-frame iframe { height: 620px; } }

/* Новогоднее настроение */
.site-header { position: sticky; }
.garland { position: absolute; left: 0; right: 0; top: 100%; height: 18px; pointer-events: none; overflow: hidden; }
.garland::before, .garland::after { content: ""; position: absolute; inset: 0; background-repeat: repeat-x; background-size: 56px 18px; }
.garland::before { background-image: radial-gradient(circle at 14px 9px, #f6d9a4 0 3px, rgb(234 168 72 / 0.35) 4px, transparent 7px), linear-gradient(rgb(245 242 236 / 0.25), rgb(245 242 236 / 0.25)); background-size: 56px 18px, 100% 1px; background-repeat: repeat-x, no-repeat; background-position: 0 0, 0 2px; animation: twinkle 2.4s ease-in-out infinite; }
.garland::after { background-image: radial-gradient(circle at 42px 8px, #e0564a 0 3px, rgb(156 47 41 / 0.4) 4px, transparent 7px); animation: twinkle 2.4s ease-in-out -1.2s infinite; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.countdown { display: inline-flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; color: var(--glow-soft) !important; font-size: var(--step-0); }
.countdown b { font-family: var(--font-display); font-size: var(--step-3); font-weight: 600; line-height: 1; margin-right: 6px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.arrival { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.arrival:hover { transform: translateX(6px); box-shadow: -4px 0 0 var(--glow); }
.house-card { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.house-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(15 26 34 / 0.16); }
.included-list > div { transition: padding-left 0.3s ease; }
.included-list > div:hover { padding-left: 10px; }
@media (prefers-reduced-motion: reduce) { .garland::before, .garland::after { animation: none; } .reveal { opacity: 1; transform: none; transition: none; } .arrival, .house-card, .club-card { transition: none; } }

.review-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { margin: 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 14px; align-content: start; transition: transform 0.4s ease, box-shadow 0.4s ease; }
.review:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgb(15 26 34 / 0.12); }
.review .stars { color: var(--glow); letter-spacing: 3px; font-size: 1.1rem; }
.review blockquote { margin: 0; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.35; }
.review figcaption { display: grid; gap: 2px; }
.review figcaption span { font-size: var(--step--1); color: var(--muted); }
.review a { font-size: var(--step--1); color: var(--berry); font-weight: 500; }
@media (max-width: 1000px) { .review-list { grid-template-columns: 1fr; } }

/* Подписка */
.sub-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; position: relative; }
.sub-form .hp { position: absolute; left: -9999px; }
.sub-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sub-row label { display: grid; gap: 6px; }
.sub-row span { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.sub-form input[type=text], .sub-form input[type=email] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); font: inherit; font-size: 16px; color: var(--ink); }
.sub-form input:focus-visible { outline: 2px solid var(--glow); outline-offset: 1px; }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--muted); line-height: 1.45; }
.chk input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--spruce); }
.chk a { color: var(--berry); }
.sub-form .btn { width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 500; }
.sub-note { font-size: 0.8rem; color: var(--muted); }
@media (max-width: 640px) { .sub-row { grid-template-columns: 1fr; } }

/* SEO 15.11: H1 в первом экране — строка-надпись, крупный заголовок — p.hero-title */
.hero h1.eyebrow { font-family: inherit; font-size: var(--step--1); font-weight: 500; line-height: 1.4; letter-spacing: 0.12em; }
.hero-title { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; font-size: var(--step-4); letter-spacing: -0.01em; }
.hero .hero-title em { font-style: italic; color: var(--glow-soft); }

/* ===== Блог ===== */
.post { max-width: 760px; margin: 0 auto; }
.post > p, .post-list li { font-size: var(--step-0); line-height: 1.7; }
.post > p + p { margin-top: 1em; }
.post h2 { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.2; margin: 2.2em 0 .7em; }
.post-lead, .post > .post-lead { font-size: var(--step-1); line-height: 1.55; font-weight: 500; margin: 0 0 1.2em; padding-left: 18px; border-left: 3px solid var(--glow); }
.blog-intro { max-width: 760px; }
.post-meta, .post > .post-meta { font-size: var(--step--1); color: var(--muted); margin-bottom: 2em; }
.post-meta a { color: inherit; }
.post a:not(.btn) { color: inherit; text-decoration: underline; text-decoration-color: var(--glow); text-underline-offset: 3px; }
.post-fig { margin: 1.8em 0; }
.post-fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.post-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.8em 0; }
.post-pair .post-fig { margin: 0; }
.post-pair .post-fig img { aspect-ratio: 4 / 5; }
.post .table-scroll { margin: 1.2em 0; }
.post .price-table th, .post .price-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.post .price-table thead th { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.post .price-table .r { text-align: right; white-space: nowrap; }
.post .price-table tbody th { font-weight: 500; }
.post-link { margin: 1.4em 0 0; }
.post-list { margin: .5em 0 0; padding-left: 1.2em; display: grid; gap: 8px; }
.post-faq h3 { font-size: var(--step-1); line-height: 1.3; margin: 1.6em 0 .4em; }
.post-faq p { margin: 0; line-height: 1.7; }
.post-more { margin: 3em 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.post-more h2 { margin: 0 0 .6em; font-size: var(--step-1); }
.post-more ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.post-slogan { font-family: var(--font-display); font-size: var(--step-2) !important; text-align: center; margin: 2em 0 0 !important; }
.post-booking { padding-top: 0; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.blog-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.blog-card a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.blog-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-card-body { padding: 20px; display: grid; gap: 8px; }
.blog-card time { font-size: var(--step--1); color: var(--muted); }
.blog-card h2 { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; margin: 0; }
.blog-card p { margin: 0; }
.blog-card .more { margin-top: 4px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--glow); text-underline-offset: 3px; }
@media (max-width: 560px) { .post-pair { grid-template-columns: 1fr; } .post-pair .post-fig img { aspect-ratio: 3 / 2; } .post-lead { padding-left: 14px; } }

/* Обложка видео: кадр из видео под роликом, чтобы не было пустого экрана */
.hero-media { background: #0f1a22 url("/media/poster-16x9.jpg") center / cover no-repeat; }
@media (max-aspect-ratio: 4/5) { .hero-media { background-image: url("/media/poster-9x16.jpg"); } }
.hero-media video::-webkit-media-controls, .hero-media video::-webkit-media-controls-start-playback-button, .hero-media video::-webkit-media-controls-overlay-play-button { display: none !important; -webkit-appearance: none; }
/* «Купить дом» в меню только в мобильном меню, на широком экране есть кнопка */
.nav .nav-buy { display: none; }
@media (max-width: 640px) { .nav.open .nav-buy { display: block; } }
.blog-card h3 { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.25; margin: 0; }

/* Заявка на бронирование */
.sub-form select, .sub-form textarea, .sub-form input[type=date], .sub-form input[type=tel], .sub-form input[type=number] { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--snow); font: inherit; font-size: 16px; color: var(--ink); }
.sub-form textarea { min-height: 96px; resize: vertical; display: block; }
.sub-form select:focus-visible, .sub-form textarea:focus-visible { outline: 2px solid var(--glow); outline-offset: 1px; }
.sub-row.one { grid-template-columns: 1fr; }
.req-form .sub-note a { color: var(--berry); }
