/* ============================================================
   Хутор «Тихая река» — лендинг базы отдыха
   Brand palette taken from the logo (deep forest green + cream)
   ============================================================ */

:root {
  --green-900: #16271d;
  --green-800: #1d3325;
  --green-700: #24402e;
  --green-600: #305238;
  --green-500: #3f6a4a;
  --green-300: #7ea589;
  --cream:     #f4efe3;
  --cream-2:   #e9e2d0;
  --paper:     #faf7ef;
  --ink:       #1a2620;
  --muted:     #5d6b62;
  --gold:      #c6a563;
  --gold-2:    #b8934c;
  --line:      rgba(22, 39, 29, 0.12);
  --shadow-sm: 0 4px 16px rgba(22, 39, 29, 0.08);
  --shadow-md: 0 18px 50px rgba(22, 39, 29, 0.16);
  --shadow-lg: 0 30px 80px rgba(10, 20, 14, 0.28);
  --radius:    18px;
  --radius-lg: 26px;
  --maxw:      1200px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Marck Script", cursive;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: 0.01em; }

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

section { position: relative; }

/* ---------- Section heading helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold-2);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--gold); }
.eyebrow.center::after { content: ""; width: 26px; height: 1px; background: var(--gold); }

.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.5vw, 52px); margin: 16px 0 14px; color: var(--green-800); }
.section-head p { color: var(--muted); font-size: 17px; }
.section-head.center .eyebrow { justify-content: center; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px; font-weight: 700; font-size: 15px;
  letter-spacing: 0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-gold { background: var(--gold); color: var(--green-900); box-shadow: 0 12px 30px rgba(198,165,99,0.35); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(198,165,99,0.45); background: var(--gold-2); }
.btn-outline { border-color: rgba(244,239,227,0.5); color: var(--cream); }
.btn-outline:hover { background: rgba(244,239,227,0.12); transform: translateY(-3px); }
.btn-dark { background: var(--green-800); color: var(--cream); }
.btn-dark:hover { background: var(--green-700); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ============================================================
   Header
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 0; transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s;
}
.header.scrolled { background: rgba(22,39,29,0.92); backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand-mark { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--font-display); font-size: 20px; letter-spacing: 0.14em; font-weight: 600; }
.brand-text span { font-family: var(--font-script); font-size: 15px; color: var(--gold); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: rgba(244,239,227,0.85); font-size: 15px; font-weight: 600; transition: color .25s; }
.nav a:hover { color: var(--gold); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { color: var(--cream); font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.header-phone svg { width: 16px; height: 16px; color: var(--gold); }

.burger { display: none; width: 46px; height: 46px; border: 1px solid rgba(244,239,227,0.25); background: rgba(244,239,227,0.14); border-radius: 12px; cursor: pointer; flex-direction: column; gap: 5px; align-items: center; justify-content: center; flex: none; }
.header.scrolled .burger { background: rgba(244,239,227,0.18); }
.burger span { width: 20px; height: 2px; background: var(--cream); transition: .3s; border-radius: 2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--cream); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,39,29,0.72) 0%, rgba(16,39,29,0.35) 40%, rgba(16,39,29,0.85) 100%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 120px 24px 60px; }
.hero-tag { font-family: var(--font-script); font-size: clamp(26px, 4vw, 40px); color: var(--gold); margin-bottom: 4px; }
.hero h1 { font-size: clamp(44px, 8vw, 104px); line-height: 0.98; letter-spacing: 0.02em; text-transform: uppercase; }
.hero-sub { max-width: 560px; font-size: clamp(16px, 2vw, 20px); color: rgba(244,239,227,0.92); margin: 22px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 46px; }
.hero-chip { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: rgba(244,239,227,0.92); }
.hero-chip svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(244,239,227,0.7); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 40px; background: linear-gradient(var(--gold), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0%,100%{opacity:.3; transform: scaleY(.6);} 50%{opacity:1; transform: scaleY(1);} }

/* ============================================================
   Advantages / Location
   ============================================================ */
.advantages { padding: 110px 0; background: var(--paper); }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.adv-ic { width: 54px; height: 54px; border-radius: 14px; background: var(--green-800); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.adv-ic svg { width: 28px; height: 28px; color: var(--gold); }
.adv-card h3 { font-size: 23px; color: var(--green-800); margin-bottom: 8px; }
.adv-card p { color: var(--muted); font-size: 15px; }

/* Location strip */
.location-strip { position: relative; padding: 130px 0; color: var(--cream); overflow: hidden; }
.location-strip .bg { position: absolute; inset: 0; z-index: 0; }
.location-strip .bg img { width: 100%; height: 100%; object-fit: cover; }
.location-strip .bg::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, rgba(16,39,29,0.9) 0%, rgba(16,39,29,0.55) 60%, rgba(16,39,29,0.35) 100%); }
.location-inner { position: relative; z-index: 2; max-width: 620px; }
.location-inner h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 16px 0 18px; }
.location-inner p { color: rgba(244,239,227,0.9); font-size: 17px; margin-bottom: 26px; }
.route-list { display: grid; gap: 16px; }
.route-item { display: flex; align-items: flex-start; gap: 16px; }
.route-item .num { font-family: var(--font-display); font-size: 30px; color: var(--gold); line-height: 1; min-width: 74px; }
.route-item .num small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,239,227,0.6); margin-top: 4px; }
.route-item p { margin: 0; font-size: 15px; }
.route-item b { color: var(--cream); }

/* ============================================================
   Houses
   ============================================================ */
.houses { padding: 110px 0; background: linear-gradient(180deg, var(--paper), var(--cream)); }
.house { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; margin-top: 64px; }
.house:first-of-type { margin-top: 54px; }
.house.reverse .house-gallery { order: 2; }
.house-gallery { position: relative; }
.house-gallery .main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; cursor: zoom-in;
}
.house-gallery .main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.house-gallery .main:hover img { transform: scale(1.06); }
.house-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.house-thumbs img { border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; cursor: pointer; opacity: .78; transition: opacity .3s, transform .3s; }
.house-thumbs img:hover, .house-thumbs img.active { opacity: 1; transform: translateY(-2px); }

.house-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 100px; background: var(--green-800); color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.house-info h3 { font-size: clamp(34px, 4.5vw, 50px); color: var(--green-800); margin: 18px 0 6px; }
.house-info .house-lead { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.house-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 26px; }
.spec { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.spec svg { width: 22px; height: 22px; color: var(--green-600); flex: none; margin-top: 2px; }
.spec b { display: block; font-family: var(--font-body); font-size: 14px; color: var(--ink); }
.spec span { font-size: 13px; color: var(--muted); }
.house-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.avito-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; color: var(--green-700); border-bottom: 1px dashed var(--green-300); padding-bottom: 2px; }
.avito-link:hover { color: var(--gold-2); }

.both-houses { margin-top: 60px; text-align: center; background: var(--green-800); color: var(--cream); border-radius: var(--radius-lg); padding: 46px 30px; box-shadow: var(--shadow-md); }
.both-houses h3 { font-size: clamp(26px, 3.5vw, 38px); color: var(--cream); margin-bottom: 10px; }
.both-houses p { color: rgba(244,239,227,0.82); max-width: 620px; margin: 0 auto 24px; }

/* ============================================================
   Amenities
   ============================================================ */
.amenities { padding: 110px 0; background: var(--green-900); color: var(--cream); }
.amenities .section-head h2 { color: var(--cream); }
.amenities .section-head p { color: rgba(244,239,227,0.8); }
.am-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.am-item { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid rgba(244,239,227,0.12); border-radius: 14px; background: rgba(244,239,227,0.03); transition: background .3s, transform .3s; }
.am-item:hover { background: rgba(244,239,227,0.07); transform: translateY(-3px); }
.am-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.am-item span { font-size: 14.5px; font-weight: 600; color: rgba(244,239,227,0.92); }

/* ============================================================
   Banya (spa) feature
   ============================================================ */
.banya { padding: 110px 0; background: var(--cream); }
.banya-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.banya-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.banya-media img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow-sm); cursor: zoom-in; }
.banya-media img:first-child { grid-row: span 2; aspect-ratio: 3/4; }
.banya-info h2 { font-size: clamp(30px, 4.4vw, 50px); color: var(--green-800); margin: 16px 0 16px; }
.banya-info > p { color: var(--muted); font-size: 17px; margin-bottom: 26px; }
.banya-features { display: grid; gap: 18px; }
.bf { display: flex; gap: 16px; align-items: flex-start; }
.bf-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--green-800); display: flex; align-items: center; justify-content: center; flex: none; }
.bf-ic svg { width: 24px; height: 24px; color: var(--gold); }
.bf b { display: block; font-family: var(--font-display); font-size: 21px; color: var(--green-800); }
.bf p { font-size: 15px; color: var(--muted); margin: 0; }

/* ============================================================
   Activities
   ============================================================ */
.activities { padding: 110px 0; background: var(--paper); }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 54px; }
.act-card { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.act-card.tall { grid-row: span 2; min-height: 100%; }
.act-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.act-card:hover img { transform: scale(1.07); }
.act-card::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 30%, rgba(16,39,29,0.9) 100%); }
.act-body { position: relative; z-index: 2; padding: 26px; color: var(--cream); }
.act-body h3 { font-size: 25px; margin-bottom: 6px; }
.act-body p { font-size: 14.5px; color: rgba(244,239,227,0.9); }
.act-plain { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display:flex; flex-direction: column; }
.act-plain h3 { font-size: 23px; color: var(--green-800); margin-bottom: 12px; }
.act-plain ul { list-style: none; display: grid; gap: 10px; }
.act-plain li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.act-plain li svg { width: 18px; height: 18px; color: var(--gold-2); flex: none; margin-top: 4px; }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { padding: 110px 0; background: var(--cream); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; margin-top: 48px; }
.gal-grid figure { overflow: hidden; border-radius: 14px; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gal-grid figure:hover img { transform: scale(1.08); }
.gal-grid .w2 { grid-column: span 2; }
.gal-grid .h2 { grid-row: span 2; }

/* ============================================================
   Booking form
   ============================================================ */
.booking { padding: 110px 0; background: var(--green-800); color: var(--cream); position: relative; }
.booking::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 80% 10%, rgba(198,165,99,0.14), transparent 40%); }
.booking-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.booking-info h2 { font-size: clamp(32px, 4.6vw, 54px); color: var(--cream); margin: 16px 0 18px; }
.booking-info p { color: rgba(244,239,227,0.85); font-size: 17px; margin-bottom: 26px; }
.booking-perks { display: grid; gap: 14px; }
.booking-perks li { list-style: none; display: flex; gap: 12px; align-items: center; font-size: 15px; }
.booking-perks svg { width: 22px; height: 22px; color: var(--gold); flex: none; }

.form-card { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 27px; color: var(--green-800); margin-bottom: 6px; }
.form-card .form-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--green-700); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px;
  font-family: var(--font-body); font-size: 15px; color: var(--ink); background: #fff; transition: border .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(63,106,74,0.12); }
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.house-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.house-choice label { cursor: pointer; }
.house-choice input { position: absolute; opacity: 0; }
.house-opt { display: block; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; text-align: center; font-weight: 700; font-size: 15px; color: var(--ink); transition: .25s; }
.house-opt small { display: block; font-weight: 500; font-size: 12px; color: var(--muted); margin-top: 3px; }
.house-choice input:checked + .house-opt { border-color: var(--green-600); background: rgba(63,106,74,0.08); color: var(--green-800); box-shadow: 0 0 0 3px rgba(63,106,74,0.1); }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 20px 0; }
.form-success.show { display: block; }
.form-success .check { width: 66px; height: 66px; border-radius: 50%; background: var(--green-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.form-success .check svg { width: 32px; height: 32px; color: #fff; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); font-size: 15px; }

/* ============================================================
   Location / map
   ============================================================ */
.contacts { padding: 110px 0; background: var(--paper); }
.contacts-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: stretch; margin-top: 48px; }
.contacts-info { display: flex; flex-direction: column; gap: 22px; }
.contact-block { display: flex; gap: 16px; align-items: flex-start; }
.contact-block .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-800); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-block .ic svg { width: 24px; height: 24px; color: var(--gold); }
.contact-block b { font-family: var(--font-display); font-size: 20px; color: var(--green-800); display: block; }
.contact-block a, .contact-block p { color: var(--muted); font-size: 15.5px; }
.contact-block a:hover { color: var(--gold-2); }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 420px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ============================================================
   Footer
   ============================================================ */
.footer { background: var(--green-900); color: rgba(244,239,227,0.75); padding: 60px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,239,227,0.12); }
.footer .brand { margin-bottom: 16px; }
.footer-col h4 { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; color: rgba(244,239,227,0.75); font-size: 15px; margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--cream); }
.footer-about { font-size: 15px; max-width: 340px; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(244,239,227,0.5); }

/* ============================================================
   Lightbox
   ============================================================ */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(10,20,14,0.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox-close { position: absolute; top: 24px; right: 30px; width: 48px; height: 48px; border-radius: 50%; border: none; background: rgba(244,239,227,0.12); color: var(--cream); font-size: 26px; cursor: pointer; transition: background .25s; }
.lightbox-close:hover { background: rgba(244,239,227,0.25); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: none; background: rgba(244,239,227,0.1); color: var(--cream); font-size: 26px; cursor: pointer; transition: background .25s; }
.lightbox-nav:hover { background: rgba(244,239,227,0.22); }
.lightbox-nav.prev { left: 26px; }
.lightbox-nav.next { right: 26px; }

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none; gap: 10px; padding: 12px 16px; background: rgba(22,39,29,0.96); backdrop-filter: blur(10px); box-shadow: 0 -8px 30px rgba(0,0,0,0.3); }
.mobile-cta .btn { flex: 1; padding: 14px; }

/* ============================================================
   Reveal animation
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .am-grid { grid-template-columns: repeat(3, 1fr); }
  .act-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-inner { grid-template-columns: 1fr; gap: 40px; }
  .contacts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .burger { display: flex; }
  .header .header-cta .btn { display: none; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: rgba(22,39,29,0.98); padding: 24px; gap: 18px; box-shadow: var(--shadow-md); }
  .mobile-cta { display: flex; }
  body { padding-bottom: 72px; }
  section { scroll-margin-top: 70px; }
}
@media (max-width: 820px) {
  .house, .house.reverse .house-gallery { grid-template-columns: 1fr; order: 0; }
  .house-info { order: 2; }
  .banya-wrap { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 16px; letter-spacing: 0.08em; }
  .brand-text span { font-size: 13px; }
  .header-inner { gap: 12px; }
  .adv-grid, .am-grid, .act-grid, .field-row, .house-specs, .gal-grid { grid-template-columns: 1fr; }
  .gal-grid { grid-auto-rows: 220px; }
  .gal-grid .w2, .gal-grid .h2 { grid-column: auto; grid-row: auto; }
  .form-card { padding: 26px; }
  .banya-media { grid-template-columns: 1fr 1fr; }
  .hero-chips { gap: 10px 18px; }
  .advantages, .houses, .amenities, .banya, .activities, .gallery, .booking, .contacts { padding: 70px 0; }
}

/* ============================================================
   ЭТАП 2 — попап, FAQ, блог, статьи, CTA, соцсети
   ============================================================ */

/* Цена дома */
.house-price { font-size: 17px; color: var(--muted); margin: -6px 0 22px; }
.house-price b { font-family: var(--font-display); font-size: 24px; color: var(--green-800); }

/* Footer socials */
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.footer-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(244,239,227,0.1); display: flex; align-items: center; justify-content: center; transition: background .25s, transform .25s; }
.footer-socials a:hover { background: var(--gold); transform: translateY(-3px); }
.footer-socials svg { width: 20px; height: 20px; color: var(--cream); }
.footer-socials a:hover svg { color: var(--green-900); }
.footer-bottom a { color: rgba(244,239,227,0.6); border-bottom: 1px solid transparent; }
.footer-bottom a:hover { color: var(--cream); border-color: var(--gold); }

/* ============ Booking modal ============ */
.modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.modal.show { display: flex; }
.modal-overlay { position: fixed; inset: 0; background: rgba(10,20,14,0.82); backdrop-filter: blur(4px); animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; z-index: 2; width: 100%; max-width: 560px; background: var(--paper); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); margin: auto; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal-close { position: absolute; top: 18px; right: 20px; width: 40px; height: 40px; border: none; background: rgba(22,39,29,0.06); border-radius: 50%; font-size: 24px; color: var(--ink); cursor: pointer; transition: background .25s; line-height: 1; }
.modal-close:hover { background: rgba(22,39,29,0.12); }
.modal-form h3 { font-size: 28px; color: var(--green-800); margin: 12px 0 6px; }
.modal-sub { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.check-inline { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--muted); cursor: pointer; margin-top: 12px; font-size: 14px; }
.check-inline input { width: auto; }
.opt { color: var(--muted); font-weight: 400; }
.check-privacy { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 18px 0; cursor: pointer; line-height: 1.4; }
.check-privacy input { width: auto; margin-top: 2px; flex: none; }
.check-privacy a { color: var(--gold-2); text-decoration: underline; }
#form-error { color: #c0392b; min-height: 18px; margin-top: 10px; text-align: center; font-size: 14px; }
.modal-success { display: none; text-align: center; padding: 20px 10px; }
.modal-success.show { display: block; }
.modal-success .check { width: 70px; height: 70px; border-radius: 50%; background: var(--green-600); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal-success .check svg { width: 34px; height: 34px; color: #fff; }
.modal-success h3 { color: var(--green-800); font-size: 26px; margin-bottom: 10px; }
.modal-success p { color: var(--muted); margin-bottom: 22px; }

/* ============ CTA band ============ */
.cta-band { background: var(--green-800); color: var(--cream); padding: 70px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--cream); margin: 12px 0 10px; }
.cta-inner p { color: rgba(244,239,227,0.85); max-width: 520px; }

/* ============ FAQ ============ */
.faq { padding: 100px 0; background: var(--paper); }
.faq-list { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-family: var(--font-display); font-size: clamp(18px, 2.4vw, 23px); color: var(--green-800); font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; background: var(--gold-2); border-radius: 2px; transition: transform .3s; }
.faq-plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-plus::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-answer { padding: 0 44px 24px 0; color: var(--muted); font-size: 16px; }
.faq-answer p { margin: 0; }

/* ============ Page hero (blog / legal) ============ */
.page-hero { background: var(--green-800); color: var(--cream); padding: 150px 0 70px; text-align: center; }
.page-hero.small { padding: 140px 0 50px; }
.page-hero h1 { font-size: clamp(36px, 6vw, 68px); margin: 14px 0 16px; }
.page-hero p { max-width: 620px; margin: 0 auto; color: rgba(244,239,227,0.85); font-size: 18px; }
.page-hero .eyebrow { color: var(--gold); }

/* ============ Blog ============ */
.blog-section { padding: 80px 0 110px; background: var(--paper); }
.blog-empty { text-align: center; color: var(--muted); font-size: 18px; padding: 60px 0; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body time { font-size: 13px; color: var(--gold-2); font-weight: 700; letter-spacing: 0.04em; }
.blog-card-body h2, .blog-card-body h3 { font-size: 23px; color: var(--green-800); margin: 10px 0 10px; line-height: 1.15; }
.blog-card-body p { color: var(--muted); font-size: 15px; flex: 1; }
.blog-more { display: inline-flex; align-items: center; gap: 8px; color: var(--green-700); font-weight: 700; font-size: 15px; margin-top: 16px; }
.blog-more svg { width: 18px; height: 18px; transition: transform .3s; }
.blog-card:hover .blog-more svg { transform: translateX(4px); }

/* ============ Article ============ */
.article-hero { min-height: 60vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; position: relative; padding: 60px 0; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,39,29,0.4), rgba(16,39,29,0.88)); }
.article-hero .container { position: relative; z-index: 2; color: var(--cream); }
.article-back { display: inline-block; color: rgba(244,239,227,0.85); font-weight: 600; margin-bottom: 20px; }
.article-back:hover { color: var(--gold); }
.article-hero time { display: block; color: var(--gold); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.article-hero h1 { font-size: clamp(32px, 5.5vw, 62px); max-width: 900px; line-height: 1.05; }
.article-body { max-width: 780px; padding: 60px 20px 40px; }
.article-content { font-size: 18px; line-height: 1.75; color: var(--ink); }
.article-content .lead { font-size: 22px; color: var(--green-800); font-weight: 500; margin-bottom: 28px; }
.article-content h2 { font-size: clamp(26px, 3.4vw, 36px); color: var(--green-800); margin: 40px 0 16px; }
.article-content h3 { font-size: 24px; color: var(--green-800); margin: 30px 0 12px; }
.article-content p { margin-bottom: 20px; }
.article-content ul, .article-content ol { margin: 0 0 20px 22px; }
.article-content li { margin-bottom: 8px; }
.article-content img { border-radius: var(--radius); margin: 24px 0; }
.article-content a { color: var(--gold-2); text-decoration: underline; }
.article-faq { margin-top: 50px; }
.article-faq h2 { font-size: 32px; color: var(--green-800); margin-bottom: 20px; }
.article-cta { margin: 50px 0 20px; background: var(--cream); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.article-cta h3 { font-size: 28px; color: var(--green-800); margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 24px; }
.related { max-width: 1000px; margin: 0 auto; padding: 40px 0 100px; }
.related > h2 { font-size: 32px; color: var(--green-800); margin-bottom: 28px; text-align: center; }
.related .blog-grid { grid-template-columns: repeat(2, 1fr); }

/* ============ Legal ============ */
.legal { padding: 70px 0 100px; background: var(--paper); }
.legal-content { max-width: 800px; font-size: 16px; line-height: 1.7; color: var(--ink); }
.legal-content h2 { font-size: 24px; color: var(--green-800); margin: 30px 0 12px; }
.legal-content p, .legal-content li { color: var(--muted); margin-bottom: 12px; }
.legal-content ul { margin-left: 22px; }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .related .blog-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .blog-grid { grid-template-columns: 1fr; }
  .modal-card { padding: 26px; }
  .page-hero { padding: 120px 0 50px; }
}
