/* =========================================================
   Jora House — стили макета
   ========================================================= */

:root {
  --accent: #2f7d4f;          /* лесной зелёный */
  --accent-dark: #245f3c;
  --accent-light: #e8f3ec;
  --wood: #8a5a2b;            /* древесный */
  --bg: #f7f5f0;              /* тёплый фон */
  --surface: #ffffff;
  --text: #23302a;
  --muted: #6b7a72;
  --border: #e3e0d8;
  --danger: #c0392b;
  --danger-light: #fdecea;
  --shadow: 0 6px 24px rgba(35, 48, 42, 0.08);
  --shadow-lg: 0 18px 50px rgba(35, 48, 42, 0.18);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 64px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 84px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--accent-dark); }

.container { width: min(1120px, 92vw); margin-inline: auto; }

.center { text-align: center; }
.muted { color: var(--muted); }

[hidden] { display: none !important; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.08s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(47, 125, 79, 0.45); outline-offset: 2px; }

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-primary[disabled], .btn-primary:disabled { background: #b9c7bf; border-color: #b9c7bf; cursor: not-allowed; transform: none; }

.btn-ghost { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--text); font-weight: 700; }
.logo-mark { font-size: 22px; }
.logo-text { font-family: var(--font-heading); font-size: 17px; }

.main-nav { display: flex; gap: 4px; }
.main-nav a {
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}
.main-nav a:hover { background: var(--accent-light); color: var(--accent-dark); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--surface);
  cursor: pointer;
  padding: 9px;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); margin: 4px 0; border-radius: 2px; }

.demo-ribbon {
  background: #fff4d6;
  color: #7a5b12;
  text-align: center;
  font-size: 12.5px;
  padding: 5px 12px;
  border-top: 1px solid #f0e2b8;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
  color: #fff;
  background:
    linear-gradient(160deg, rgba(18, 42, 30, 0.55), rgba(24, 58, 40, 0.78)),
    url("https://upload.wikimedia.org/wikipedia/commons/1/18/Mountain-country-house_-_West_Virginia_-_ForestWander.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Затемняющая подложка поверх фото — для контраста текста */
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: linear-gradient(135deg, rgba(10,24,17,0.72) 0%, rgba(10,24,17,0.52) 45%, rgba(10,24,17,0.78) 100%);
}
.hero-content {
  position: relative; z-index: 1; max-width: 760px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.hero-content .badge,
.hero-content .hero-facts li,
.hero-content .btn { text-shadow: none; }

.badge {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  margin-bottom: 18px;
}

.hero h1 { font-family: var(--font-heading); font-size: clamp(30px, 5vw, 52px); line-height: 1.15; margin: 0 0 16px; }
.hero-subtitle { font-size: clamp(15px, 1.6vw, 18px); max-width: 640px; color: rgba(255,255,255,0.92); margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.hero-facts li {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  padding: 10px 18px;
  min-width: 92px;
  text-align: center;
}
.hero-facts strong { display: block; font-size: 22px; font-family: var(--font-heading); }
.hero-facts span { font-size: 12.5px; color: rgba(255,255,255,0.85); }

/* ---------- Секции ---------- */
.section { padding: clamp(48px, 7vw, 84px) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 36px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; font-weight: 700; color: var(--accent); margin: 0 0 8px; }
.section-head h2 { font-family: var(--font-heading); font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 10px; }
.section-subtitle { color: var(--muted); margin: 0; }

/* ---------- О доме ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; align-items: center; }
.about-text p { margin: 0 0 14px; }
.about-photo { min-height: 340px; border-radius: var(--radius); }

.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.info-item { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 14px; }
.section-alt .info-item { background: var(--bg); }
.info-item strong { display: block; font-size: 14.5px; }
.info-item span { font-size: 13.5px; color: var(--muted); }
.info-item a { font-size: 14px; word-break: break-word; }
.info-icon { font-size: 20px; line-height: 1.3; }

/* ---------- Фото-заглушки ---------- */
.photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 -60px 80px rgba(0,0,0,0.25);
}
.photo span {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.35);
  padding: 5px 12px;
  border-radius: 8px;
  margin: 12px;
  font-size: 13px;
}
.photo-tag { background: rgba(255,255,255,0.85) !important; color: var(--text) !important; }

.photo-house {
  background-image: linear-gradient(135deg, #4a7c59, #2f5d3f 55%, #6b4a2b),
    url("https://thumb.wikimedia.org/wikipedia/commons/thumb/4/4a/Country_House_on_the_edge_of_Hollymount_Forest_-_geograph.org.uk_-_5983597.jpg/1920px-Country_House_on_the_edge_of_Hollymount_Forest_-_geograph.org.uk_-_5983597.jpg");
  background-size: cover; background-position: center;
}

/* ---------- Галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; gap: 12px; }
.gallery-item { border-radius: var(--radius-sm); transition: transform 0.18s ease; }
.gallery-item:hover { transform: scale(1.02); }
.gallery-item.g-1 { grid-column: span 2; grid-row: span 2; }
.g-1 { background-image: linear-gradient(135deg, #5d8aa8, #3a6b4f), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/4/4d/Wooden_house_%28window_shutters%29%2C_Riga.jpg/1920px-Wooden_house_%28window_shutters%29%2C_Riga.jpg"); background-size: cover; background-position: center; }
.g-2 { background-image: linear-gradient(135deg, #8a5a2b, #c98f5a), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/3/39/Culloden_Tower_living_room_fireplace_02.jpg/1920px-Culloden_Tower_living_room_fireplace_02.jpg"); background-size: cover; background-position: center; }
.g-3 { background-image: linear-gradient(135deg, #4a7c59, #7fb98f), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/e/e5/Kitchen_at_Alcatraz.jpg/1920px-Kitchen_at_Alcatraz.jpg"); background-size: cover; background-position: center; }
.g-4 { background-image: linear-gradient(135deg, #6b7a72, #9aa79e), url("https://upload.wikimedia.org/wikipedia/commons/0/07/Adamton_Country_House_Hotel_Bedroom_Extension_-_geograph.org.uk_-_7506348.jpg"); background-size: cover; background-position: center; }
.g-5 { background-image: linear-gradient(135deg, #7a4a2b, #b07d4f), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/3/3b/Barrel_sauna_in_Lah%C3%A4lla_5.jpg/1920px-Barrel_sauna_in_Lah%C3%A4lla_5.jpg"); background-size: cover; background-position: center; }
.g-6 { background-image: linear-gradient(135deg, #2f7d4f, #5da87a), url("https://upload.wikimedia.org/wikipedia/commons/1/10/A_terrace_in_Baden%2C_Austria.JPG"); background-size: cover; background-position: center; }
.g-7 { background-image: linear-gradient(135deg, #3a6b8a, #6fa3bf), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/c/c5/Moraine_Lake_17092005.jpg/1920px-Moraine_Lake_17092005.jpg"); background-size: cover; background-position: center; }
.g-8 { background-image: linear-gradient(135deg, #4a5d3a, #8aa86b), url("https://thumb.wikimedia.org/wikipedia/commons/thumb/2/21/Uttarakhand_Pine_Forest.jpg/1920px-Uttarakhand_Pine_Forest.jpg"); background-size: cover; background-position: center; }

/* ---------- Удобства ---------- */
.amenities-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
}
.amenities-grid li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.amenities-grid li span { font-size: 18px; }
.section-alt .amenities-grid li { background: var(--bg); }

/* ---------- Цены ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 24px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.section-alt .price-card { background: var(--bg); }
.price-card h3 { margin: 0 0 10px; font-family: var(--font-heading); }
.price { font-size: 17px; margin: 0 0 6px; }
.price strong { font-size: 30px; font-family: var(--font-heading); color: var(--accent-dark); }
.price span { color: var(--muted); font-size: 14px; }
.price-card-accent { border-color: var(--accent); box-shadow: var(--shadow); position: relative; }
.price-flag {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 700;
  padding: 3px 12px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.pricing-notes { max-width: 760px; margin: 0 auto 28px; padding-left: 20px; color: var(--muted); font-size: 14.5px; }
.pricing-notes li { margin-bottom: 7px; }
.pricing-notes strong { color: var(--text); }

/* ---------- Демо-баннер ---------- */
.demo-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff8e8;
  border: 1px solid #f0dfa8;
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-bottom: 26px;
  font-size: 14px;
  max-width: 900px;
  margin-inline: auto;
}
.demo-note code { background: rgba(0,0,0,0.06); padding: 1px 6px; border-radius: 5px; font-size: 13px; }

/* ---------- Бронирование ---------- */
.booking-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: start; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card h3 { font-family: var(--font-heading); margin: 0 0 14px; font-size: 19px; }

/* Календарь */
.calendar-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.calendar-nav h3 { margin: 0; text-transform: capitalize; }
.cal-btn {
  width: 38px; height: 38px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  line-height: 1;
}
.cal-btn:hover:not(:disabled) { background: var(--accent-light); border-color: var(--accent); color: var(--accent-dark); }
.cal-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-bottom: 6px; }
.calendar-weekdays span { text-align: center; font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 0; }

.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }

.cal-day {
  aspect-ratio: 1 / 1;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--surface);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.cal-day:hover:not(:disabled):not(.busy) { background: var(--accent-light); border-color: var(--accent); }
.cal-day:focus-visible { outline: 3px solid rgba(47,125,79,0.45); outline-offset: 1px; z-index: 1; }
.cal-day.empty { visibility: hidden; pointer-events: none; }
.cal-day.past { color: #c4c9c5; cursor: not-allowed; background: transparent; }
.cal-day.past:hover { background: transparent; border-color: transparent; }
.cal-day.today { border-color: var(--wood); font-weight: 700; }
.cal-day.today::after {
  content: ""; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--wood);
}
.cal-day.busy {
  background: repeating-linear-gradient(45deg, #efece6, #efece6 5px, #e6e2da 5px, #e6e2da 10px);
  color: #a5aba6;
  cursor: not-allowed;
  text-decoration: line-through;
}
.cal-day.busy:hover { border-color: transparent; }
.cal-day.in-range { background: var(--accent-light); border-radius: 0; }
.cal-day.selected { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: 700; }
.cal-day.selected.today::after { background: #fff; }
.cal-day.start { border-top-left-radius: 9px; border-bottom-left-radius: 9px; }
.cal-day.end { border-top-right-radius: 9px; border-bottom-right-radius: 9px; }

.calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; font-size: 12px; color: var(--muted); }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot-free { background: var(--surface); border: 1px solid var(--border); }
.dot-busy { background: repeating-linear-gradient(45deg, #efece6, #efece6 3px, #e6e2da 3px, #e6e2da 6px); border: 1px solid var(--border); }
.dot-selected { background: var(--accent); }
.dot-today { background: var(--surface); border: 2px solid var(--wood); }

.hint { font-size: 13px; color: var(--muted); margin: 12px 0 0; }
.hint.center { text-align: center; }

/* Сводка */
#summaryBody { margin-bottom: 18px; }
.summary-empty { color: var(--muted); font-size: 14px; background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius-sm); padding: 16px; text-align: center; }

.summary-dates { display: flex; gap: 10px; margin-bottom: 14px; }
.summary-dates .date-box { flex: 1; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 12px; }
.summary-dates .date-box strong { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 3px; }
.summary-dates .date-box span { font-size: 14.5px; font-weight: 600; }
.summary-dates .nights { align-self: center; color: var(--accent-dark); font-size: 13px; white-space: nowrap; background: var(--accent-light); padding: 4px 10px; border-radius: 999px; }

.price-list { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--border); font-size: 14px; }
.price-list li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; }
.price-list .discount { color: var(--accent-dark); }
.price-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--text); margin-top: 8px; padding-top: 10px; font-weight: 700; }
.price-total strong { font-size: 22px; font-family: var(--font-heading); color: var(--accent-dark); }

/* Форма гостя */
.guest-form { border-top: 1px solid var(--border); padding-top: 16px; }
.guest-form h4 { margin: 0 0 12px; font-size: 15px; }
.field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 5px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14.5px;
  background: var(--surface);
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,125,79,0.18); }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }
.req { color: var(--danger); }
.field-error { color: var(--danger); font-size: 12.5px; margin-top: 4px; }

.checkbox { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin: 4px 0 14px; cursor: pointer; }
.checkbox input { margin-top: 3px; accent-color: var(--accent); width: 16px; height: 16px; flex: none; }

.form-errors { color: var(--danger); background: var(--danger-light); border-radius: var(--radius-sm); padding: 10px 12px; font-size: 13.5px; margin-bottom: 12px; }
.form-errors:empty { display: none; }

/* ---------- Модалка оплаты ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(20, 28, 24, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 200;
  animation: fadeIn 0.18s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 28px;
  animation: slideUp 0.2s ease;
}
@keyframes slideUp { from { transform: translateY(14px); opacity: 0.6; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  border: none; border-radius: 9px;
  background: var(--bg); color: var(--text);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.modal-close:hover { background: var(--border); }

.payment-summary { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; font-size: 14px; }
.payment-summary .row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.payment-summary .total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 8px; font-weight: 700; }

.card-input-wrap { position: relative; }
.card-input-wrap input { padding-right: 52px; letter-spacing: 0.04em; }
.card-brand { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg); padding: 3px 7px; border-radius: 5px; }

.secure-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--muted); background: var(--accent-light); border-radius: var(--radius-sm); padding: 10px 12px; margin: 4px 0 16px; }

/* Спиннер */
.spinner {
  width: 18px; height: 18px;
  border: 2.5px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Успех оплаты */
.payment-success { text-align: center; padding: 12px 4px; }
.success-icon {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px; color: var(--accent-dark);
  animation: pop 0.35s ease;
}
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.payment-success h3 { font-family: var(--font-heading); font-size: 22px; margin: 0 0 8px; }
.payment-success p { color: var(--muted); margin: 0 0 18px; font-size: 14.5px; }
.order-id {
  display: inline-block; background: var(--bg); border: 1px dashed var(--border);
  border-radius: 8px; padding: 8px 14px; font-family: monospace; font-size: 15px; margin-bottom: 18px;
}

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.contact-info { display: grid; gap: 12px; }
.map-placeholder { height: 150px; border-radius: var(--radius-sm); margin-top: 6px; background-image: linear-gradient(135deg, #a8d5b5, #7fb98f 60%, #5d8aa8); }
.section-alt .contact-form { background: var(--bg); }
.contact-form h3 { margin-top: 0; }

/* ---------- Подвал ---------- */
.site-footer { background: #1d2a23; color: #d7ded9; padding: 36px 0 22px; }
.site-footer .logo-text { color: #fff; }
.site-footer a { color: #cfe3d6; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; font-size: 13px; color: #9db0a5; }
.site-footer .muted { color: #9db0a5; }

/* ---------- Тост ---------- */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--text); color: #fff; padding: 12px 20px; border-radius: 10px;
  box-shadow: var(--shadow-lg); z-index: 300; font-size: 14px; max-width: 90vw;
}

/* ---------- Адаптив ---------- */
@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    display: none;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 10px; gap: 2px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 11px 14px; }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .info-list { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-facts li { min-width: 70px; padding: 8px 10px; }
  .gallery-grid { grid-auto-rows: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
