/* =========================================================
   Гостевые дома «Юца» — дизайн-система
   Современный, природный стиль: горы, река, дерево, зелень
   ========================================================= */

:root {
  --forest: #3f6f53;
  --forest-dark: #2d5740;
  --forest-light: #5d8c72;
  --terra: #c0714a;
  --terra-dark: #a85d39;
  --sky: #4a7a96;
  --sand: #f4f1ea;
  --cream: #fbfaf6;
  --paper: #ffffff;
  --ink: #2c2a25;
  --ink-soft: #4a463d;
  --muted: #837b6c;
  --line: #e7e3d9;
  --line-soft: #efece4;
  --gold: #d9a441;

  --shadow-sm: 0 2px 8px rgba(60, 50, 30, 0.06);
  --shadow: 0 8px 30px rgba(60, 50, 30, 0.10);
  --shadow-lg: 0 20px 60px rgba(60, 50, 30, 0.16);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  --maxw: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--forest-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terra); }

h1, h2, h3, h4 { line-height: 1.18; color: var(--ink); font-weight: 750; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: inherit; font-size: 1rem; font-weight: 650; line-height: 1;
  padding: 15px 28px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: all 0.22s var(--ease); white-space: nowrap;
  text-decoration: none;
}
.btn-sm { padding: 11px 20px; font-size: 0.92rem; }
.btn-lg { padding: 18px 38px; font-size: 1.08rem; }
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 8px 22px rgba(63, 111, 83, 0.28); }
.btn-primary:hover { background: var(--forest-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(63, 111, 83, 0.36); }
.btn-accent { background: var(--terra); color: #fff; box-shadow: 0 8px 22px rgba(192, 113, 74, 0.28); }
.btn-accent:hover { background: var(--terra-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--forest-dark); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-ghost { background: var(--cream); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--forest-light); color: var(--forest-dark); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none !important; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { display: flex; align-items: center; gap: 11px; font-size: 1.18rem; color: var(--ink); flex-shrink: 0; }
.logo:hover { color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--forest-light), var(--forest-dark));
  color: #fff; display: grid; place-items: center; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.logo-text { font-weight: 600; letter-spacing: -0.01em; }
.logo-text b { font-weight: 800; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav a {
  color: var(--ink-soft); font-weight: 550; font-size: 0.97rem; padding: 9px 14px;
  border-radius: 100px; transition: all 0.18s;
}
.nav a:hover { background: rgba(63, 111, 83, 0.08); color: var(--forest-dark); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.phone-link { font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 0.98rem; }
.phone-link:hover { color: var(--forest-dark); }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2.5px; background: var(--ink); border-radius: 3px; margin: 5px 0; transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #dce8e2 0%, #eef1e9 55%, var(--sand) 100%); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg svg { position: absolute; bottom: 0; width: 100%; height: auto; display: block; }
.hero-inner { position: relative; z-index: 2; padding: 76px 0 120px; max-width: 720px; }
.hero .eyebrow { color: var(--forest-dark); }
.hero h1 { margin-bottom: 0.4em; }
.hero-lead { font-size: 1.22rem; color: var(--ink-soft); max-width: 600px; margin-bottom: 1.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-points li { list-style: none; display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); font-size: 0.98rem; }
.hero-points li svg { color: var(--forest); flex-shrink: 0; }
.hero-points { padding: 0; }

/* ---------- Секции ---------- */
section { position: relative; }
.section { padding: 84px 0; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-forest { background: var(--forest-dark); color: #f3efe6; }
.section-forest h2, .section-forest h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: 0.82rem; font-weight: 750; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terra); margin-bottom: 14px;
}
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

/* ---------- Дома: карточки ---------- */
.houses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.house-card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.house-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.house-media { position: relative; aspect-ratio: 16 / 10; background: var(--line-soft); overflow: hidden; }
.house-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.house-card:hover .house-media img { transform: scale(1.05); }
.house-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255, 255, 255, 0.92); color: var(--forest-dark);
  padding: 7px 14px; border-radius: 100px; font-size: 0.82rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.house-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.house-body h3 { margin-bottom: 6px; }
.house-sub { color: var(--muted); font-size: 0.95rem; font-weight: 600; margin-bottom: 14px; }
.house-feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; }
.house-feats li { display: flex; align-items: center; gap: 8px; font-size: 0.94rem; color: var(--ink-soft); }
.house-feats svg { color: var(--forest-light); flex-shrink: 0; }
.house-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.price { line-height: 1.1; }
.price b { font-size: 1.7rem; color: var(--ink); font-weight: 800; }
.price span { color: var(--muted); font-size: 0.9rem; display: block; margin-top: 2px; }

/* ---------- Удобства ---------- */
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.amenity {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 22px; transition: transform 0.25s, box-shadow 0.25s;
}
.amenity:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.amenity-ico {
  width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(63, 111, 83, 0.10); color: var(--forest); margin-bottom: 16px;
}
.amenity h3 { font-size: 1.08rem; margin-bottom: 6px; }
.amenity p { color: var(--muted); font-size: 0.94rem; margin: 0; }

/* ---------- Фичи / списки с галочками ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { color: var(--forest); flex-shrink: 0; margin-top: 3px; }

/* ---------- Баня блок ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; background: var(--line-soft); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Статистика / преимущества полоса ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-size: 2.4rem; font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.stat span { color: #cfe0d6; font-size: 0.95rem; }

/* ---------- Локация / достопримечательности ---------- */
.destinations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.dest {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 22px; transition: 0.25s;
}
.dest:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.dest .km { font-size: 0.8rem; font-weight: 700; color: var(--terra); letter-spacing: 0.05em; text-transform: uppercase; }
.dest h3 { font-size: 1.12rem; margin: 6px 0; }
.dest p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery a { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; background: var(--line-soft); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery .wide { grid-column: span 2; aspect-ratio: 2; }

/* ---------- Статьи (карточки) ---------- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.article-card {
  background: var(--paper); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-soft); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: 0.3s var(--ease);
}
.article-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.article-cover { aspect-ratio: 16/9; position: relative; overflow: hidden; }
.article-cover svg, .article-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.article-tag { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terra); }
.article-card h3 { font-size: 1.16rem; margin: 8px 0 8px; }
.article-card p { color: var(--muted); font-size: 0.95rem; margin: 0 0 16px; }
.article-card .more { margin-top: auto; font-weight: 700; color: var(--forest-dark); display: inline-flex; align-items: center; gap: 6px; }
.article-card:hover .more { gap: 11px; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico { width: 46px; height: 46px; border-radius: 12px; background: rgba(63,111,83,0.10); color: var(--forest); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .label { font-size: 0.85rem; color: var(--muted); }
.contact-list .val { font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.contact-list a.val:hover { color: var(--forest-dark); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Формы ---------- */
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: 0.92rem; margin-bottom: 7px; color: var(--ink-soft); }
.field .hint { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.input, .select, .textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s; appearance: none;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--forest-light); box-shadow: 0 0 0 4px rgba(63, 111, 83, 0.12);
}
.select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23837b6c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 18px; padding-right: 42px;
}
.textarea { resize: vertical; min-height: 96px; }
.field.invalid .input, .field.invalid .select, .field.invalid .textarea { border-color: #c0493a; box-shadow: 0 0 0 4px rgba(192, 73, 58, 0.10); }
.field .error-msg { color: #c0493a; font-size: 0.85rem; margin-top: 6px; display: none; }
.field.invalid .error-msg { display: block; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.char-count { text-align: right; font-size: 0.8rem; color: var(--muted); margin-top: 4px; }

/* ---------- Бронирование (страница) ---------- */
.booking-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: start; }
.booking-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 30px 32px; }
.unit-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.unit-tab {
  flex: 1; min-width: 150px; cursor: pointer; border: 1.5px solid var(--line); background: #fff;
  border-radius: var(--radius); padding: 14px 16px; transition: 0.2s; text-align: left;
}
.unit-tab:hover { border-color: var(--forest-light); }
.unit-tab.active { border-color: var(--forest); background: rgba(63, 111, 83, 0.06); box-shadow: 0 0 0 3px rgba(63,111,83,0.10); }
.unit-tab .t { font-weight: 700; font-size: 1rem; display: block; }
.unit-tab .s { color: var(--muted); font-size: 0.84rem; }
.unit-tab .p { color: var(--forest-dark); font-weight: 700; font-size: 0.9rem; margin-top: 4px; display: block; }

.summary-card { background: var(--forest-dark); color: #eef3ee; border-radius: var(--radius-lg); padding: 30px 30px; position: sticky; top: 96px; box-shadow: var(--shadow-lg); }
.summary-card h3 { color: #fff; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.14); font-size: 0.96rem; }
.summary-row span:first-child { color: #c2d6c9; }
.summary-row span:last-child { font-weight: 700; color: #fff; text-align: right; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; padding-top: 16px; }
.summary-total .lbl { color: #c2d6c9; }
.summary-total .amt { font-size: 1.9rem; font-weight: 800; color: #fff; }
.summary-note { font-size: 0.82rem; color: #a9c2b3; margin-top: 8px; }

.legal-links { margin-top: 16px; font-size: 0.85rem; color: var(--muted); text-align: center; line-height: 1.7; }
.legal-links a { color: var(--forest-dark); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Календарь ---------- */
.calendar { user-select: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-title { font-weight: 700; font-size: 1.08rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); transition: 0.2s; }
.cal-nav button:hover:not(:disabled) { border-color: var(--forest-light); color: var(--forest-dark); }
.cal-nav button:disabled { opacity: 0.4; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-dow { text-align: center; font-size: 0.78rem; font-weight: 700; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 0; background: #fff; border-radius: 10px; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--ink);
  display: grid; place-items: center; position: relative; transition: 0.12s;
}
.cal-day:hover:not(.disabled):not(.empty) { background: rgba(63,111,83,0.12); }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day.disabled { color: #c5c0b4; cursor: not-allowed; text-decoration: line-through; background: var(--line-soft); }
.cal-day.booked { color: #b86a4a; cursor: not-allowed; background: rgba(192,113,74,0.10); text-decoration: line-through; }
.cal-day.today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-day.in-range { background: rgba(63,111,83,0.16); border-radius: 0; }
.cal-day.range-start { background: var(--forest); color: #fff; border-radius: 10px 0 0 10px; }
.cal-day.range-end { background: var(--forest); color: #fff; border-radius: 0 10px 10px 0; }
.cal-day.range-start.range-end { border-radius: 10px; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 0.85rem; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: 7px; }
.cal-legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.dot-free { background: #fff; border: 1.5px solid var(--line); }
.dot-busy { background: rgba(192,113,74,0.30); }
.dot-sel { background: var(--forest); }

/* ---------- Алерты / уведомления ---------- */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-size: 0.95rem; margin-bottom: 18px; display: none; }
.alert.show { display: block; }
.alert-success { background: rgba(63,111,83,0.10); color: var(--forest-dark); border: 1px solid rgba(63,111,83,0.25); }
.alert-error { background: rgba(192,73,58,0.08); color: #a23b2d; border: 1px solid rgba(192,73,58,0.22); }
.alert-info { background: rgba(74,122,150,0.08); color: #355d72; border: 1px solid rgba(74,122,150,0.22); }

/* ---------- Modal (успешная бронь) ---------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(36, 32, 24, 0.5); backdrop-filter: blur(4px); z-index: 1000; display: none; place-items: center; padding: 20px; }
.modal-overlay.show { display: grid; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%; padding: 38px 36px; box-shadow: var(--shadow-lg); text-align: center; animation: pop 0.3s var(--ease); }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .ok-ico { width: 72px; height: 72px; border-radius: 50%; background: rgba(63,111,83,0.12); color: var(--forest); display: grid; place-items: center; margin: 0 auto 18px; }
.modal .booking-id { font-family: monospace; font-size: 1.3rem; letter-spacing: 2px; font-weight: 700; color: var(--forest-dark); background: var(--sand); padding: 8px 16px; border-radius: 10px; display: inline-block; margin: 6px 0 4px; }

/* ---------- Текстовые страницы (статьи / юр.документы) ---------- */
.page-hero { background: linear-gradient(180deg, #dce8e2, var(--sand)); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.breadcrumbs { font-size: 0.86rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--forest-dark); }
.breadcrumbs span { margin: 0 7px; opacity: 0.5; }
.prose { max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.prose.article { padding: 56px 0 80px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose p { color: var(--ink-soft); }
.prose ul, .prose ol { color: var(--ink-soft); padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose blockquote { border-left: 4px solid var(--forest-light); background: var(--cream); margin: 1.5em 0; padding: 16px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink-soft); }
.prose .lead { font-size: 1.2rem; color: var(--ink); }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; margin-top: 12px; }
.toc { background: var(--cream); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 22px 26px; margin: 0 0 36px; }
.toc strong { display: block; margin-bottom: 10px; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 1.2em; }
.cta-band { background: var(--forest-dark); color: #fff; border-radius: var(--radius-lg); padding: 40px; text-align: center; margin: 50px 0 0; }
.cta-band h3 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #cfe0d6; margin-bottom: 22px; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: #c9c3b6; padding: 60px 0 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 38px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.footer-grid h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing: 0.02em; }
.site-footer a { color: #c9c3b6; }
.site-footer a:hover { color: #fff; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-about p { color: #a9a293; margin-bottom: 16px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 1.15rem; margin-bottom: 14px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; color: #8a8475; font-size: 0.86rem; }
.footer-bottom a { color: #8a8475; text-decoration: underline; }
.footer-yandex { padding-top: 16px; margin-top: 4px; }
.footer-yandex a { color: #c9c3b6; font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.footer-yandex a:hover { color: #fff; }

/* ---------- Reveal-анимация ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Мобильное меню ---------- */
.mobile-menu { position: fixed; inset: 72px 0 0; background: var(--cream); z-index: 99; transform: translateX(100%); transition: transform 0.35s var(--ease); padding: 24px 22px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu.open { transform: none; }
.mobile-menu a { font-size: 1.15rem; font-weight: 600; padding: 14px 16px; border-radius: 12px; color: var(--ink); }
.mobile-menu a:hover { background: rgba(63,111,83,0.08); }
.mobile-menu .btn { margin-top: 16px; }
body.menu-open { overflow: hidden; }

/* ---------- Утилиты ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tag { background: var(--cream); border: 1px solid var(--line); border-radius: 100px; padding: 6px 14px; font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 980px) {
  .nav, .header-cta .phone-link { display: none; }
  .burger { display: block; }
  .houses-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .booking-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .amenities-grid, .stats, .destinations, .articles-grid, .gallery { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .wide { grid-column: span 2; }
  .grid-2 { grid-template-columns: 1fr; }
  .house-feats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .booking-card { padding: 22px 18px; }
  .hero-inner { padding: 50px 0 90px; }
  .stats { gap: 30px; }
}
