/* Alpine Shale Terskol — тёмно-зелёная горная палитра, засечковый дисплейный
   шрифт, скруглённые карточки, тёмные акцентные секции. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --bg: #f6f1e4;
  --bg-alt: #eee6d2;
  --card: #ffffff;
  --ink: #1c2117;
  --ink-soft: #5b5f4f;
  --ink-faint: #8b8a72;
  --line: #e2d9c1;
  --accent: #c9a876;
  --accent-dark: #b08f5f;
  --accent-soft: #f1e4cc;
  --dark: #161f18;
  --dark-soft: #202b21;
  --dark-line: rgba(255,255,255,0.12);
  --dark-ink: #f4efe1;
  --dark-ink-soft: #b9bfae;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 24px 50px rgba(15, 20, 12, 0.16);
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none; user-select: none;
}
.contact-list, .contact-list *, input, textarea, select { -webkit-user-select: text; user-select: text; }
img { max-width: 100%; display: block; -webkit-user-drag: none; user-drag: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 em, h2 em, h3 em { font-style: normal; }
h1 .nowrap { white-space: nowrap; }

h1 { font-size: clamp(2.4rem, 4.6vw, 3.9rem); font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.22rem; font-weight: 600; }

p { color: var(--ink-soft); margin: 0 0 1em; }
a { color: var(--accent-dark); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 1em;
}

/* Header — тёмный, поверх hero */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(22, 31, 24, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dark-line);
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
/* На странице с полноэкранным hero шапка прозрачная, пока не проскроллили вниз */
body.has-hero .site-header:not(.scrolled) {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}
main { padding-top: var(--header-h, 91px); }
body.has-hero main { padding-top: 0; }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  color: var(--dark-ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  line-height: 1.15;
}
.logo svg { flex-shrink: 0; color: var(--dark-ink); }
.logo-mark { width: 44px; height: auto; flex-shrink: 0; }
.logo .logo-lines { display: flex; flex-direction: column; align-items: center; }
.logo .logo-top { font-size: 1.02rem; font-weight: 500; letter-spacing: 0.08em; }
.logo .logo-bottom { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.34em; color: var(--accent); margin-top: 2px; }

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--dark-ink-soft);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 9px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
nav.main-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }
nav.main-nav a.active { color: var(--accent); }

.lang-switch {
  display: flex;
  gap: 2px;
  margin-left: 10px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  overflow: hidden;
}
.lang-switch a {
  padding: 6px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--dark-ink-soft);
  border-radius: 0;
  text-transform: uppercase;
}
.lang-switch a.active { background: var(--accent); color: #1c2117; }
.lang-switch a:hover:not(.active) { background: rgba(255,255,255,0.08); }

.btn-book { padding: 10px 22px; font-size: 0.8rem; flex-shrink: 0; }
@media (max-width: 900px) { .btn-book { display: none; } }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--dark-ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    border-bottom: 1px solid var(--dark-line);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 20px 20px;
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--dark-line); }
  .lang-switch { margin: 14px 0 0; align-self: flex-start; }
}

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; align-items: center; }
.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: background .15s, border-color .15s, color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #201a10; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border: none; color: inherit; padding: 15px 4px; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { opacity: 0.75; }
footer .btn-ghost, .section .btn-ghost { color: var(--ink); }

/* Sections */
.section { padding: 76px 0; }
.section-dark { background: var(--dark); color: var(--dark-ink); }
.section-dark p { color: var(--dark-ink-soft); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 640px; margin: 0 0 40px; }

.grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }

.grid-2 { grid-template-columns: repeat(2, 1fr); gap: 52px; align-items: center; }
@media (max-width: 620px) { .grid-2 { grid-template-columns: 1fr; gap: 28px; } }

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card .card-body { padding: 24px 26px 28px; }
.card h3 { margin-bottom: 0.4em; }
.card p { margin-bottom: 0.6em; font-size: 0.94rem; }
.card .card-link { font-weight: 600; font-size: 0.82rem; text-decoration: none; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 0.02em; }
button.card-link { display: inline-block; background: none; border: none; padding: 0; margin: 0; cursor: pointer; font-family: inherit; }

img.card-photo {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
}
img.photo-real {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
img.photo-real.short { aspect-ratio: 16 / 9; }
img.photo-real.tall { aspect-ratio: 3 / 4; }

.photo-ph {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #e9e2cf 0%, #d9cfb4 100%);
  display: flex;
  align-items: flex-end;
  color: var(--ink-soft);
  overflow: hidden;
}
.photo-ph .ph-label { position: relative; z-index: 1; padding: 14px 16px; font-size: 0.78rem; font-weight: 500; }
.card > .photo-ph { border-radius: 0; }
.card > .photo-slideshow { border-radius: 0; box-shadow: none; height: auto; aspect-ratio: 4 / 3; }
.photo-ph.short { aspect-ratio: 16 / 9; }
.photo-ph.tall { aspect-ratio: 3 / 4; }

/* ---------------------------------------------------------------------- */
/* Hero — полноэкранное фото на весь блок, шапка прозрачная поверх него   */
/* ---------------------------------------------------------------------- */
.hero-v2 {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-v2-bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 38%;
}
.hero-v2-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(9,13,8,0.92) 0%, rgba(9,13,8,0.72) 38%, rgba(9,13,8,0.38) 65%, rgba(9,13,8,0.12) 88%, rgba(9,13,8,0.03) 100%),
    linear-gradient(0deg, rgba(6,8,5,0.72) 0%, rgba(6,8,5,0) 32%);
}
.hero-inner {
  max-width: none;
  margin: 0;
  padding-left: clamp(24px, 6vw, 100px);
  padding-right: 24px;
}
.hero-v2-copy {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h, 91px) + 40px);
}
.hero-v2-copy-inner { max-width: 520px; }
.hero-v2-copy .eyebrow { color: var(--accent); }
.hero-v2-copy h1 { color: #fff; }
.hero-v2-copy p.lead { color: rgba(255,255,255,0.88); font-size: 1.08rem; max-width: 46ch; }

.hero-stats {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding: 30px 0 46px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hero-v2-copy { padding-top: calc(var(--header-h, 91px) + 50px); } .hero-v2 { min-height: 100vh; } }
.hero-stat { display: flex; align-items: flex-start; gap: 12px; }
.hero-stat .hs-icon {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.hero-stat strong { display: block; font-size: 0.88rem; font-weight: 600; color: #fff; }
.hero-stat span { display: block; font-size: 0.8rem; color: var(--dark-ink-soft); }

/* "О месте" — фото-карточки с подписью поверх */
.about-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 760px) { .about-cards { grid-template-columns: 1fr; } }
.about-card {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
}
.about-card img { width: 100%; height: 100%; object-fit: cover; }
.about-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,6,0.78) 0%, rgba(10,10,6,0.05) 55%);
}
.about-card .ac-copy { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; }
.about-card .ac-copy h3 { color: #fff; margin-bottom: 0.2em; font-size: 1.1rem; }
.about-card .ac-copy p { color: rgba(255,255,255,0.82); font-size: 0.86rem; margin: 0; }

/* Тёмная секция "Домики" с каруселью */
.houses-carousel { position: relative; }
.houses-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.houses-track::-webkit-scrollbar { display: none; }
.house-card { scroll-snap-align: start; border-radius: var(--radius-sm); overflow: hidden; position: relative; aspect-ratio: 4 / 3.4; }
.house-card img { width: 100%; height: 100%; object-fit: cover; }
.house-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,8,5,0.86) 0%, rgba(6,8,5,0.05) 50%);
}
.house-card .hc-copy { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.house-card .hc-copy strong { display: block; font-size: 0.86rem; letter-spacing: 0.06em; text-transform: uppercase; }
.house-card .hc-copy span { display: block; font-size: 0.8rem; color: rgba(255,255,255,0.78); margin-top: 3px; }

.carousel-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }
.carousel-btn {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--dark-line);
  background: transparent; color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: background .15s;
}
.carousel-btn:hover { background: rgba(255,255,255,0.1); }
.carousel-btn.primary { background: var(--accent); color: #201a10; border-color: var(--accent); }
.carousel-btn.primary:hover { background: var(--accent-dark); }

/* Бронирование — фото-баннер с формой поверх */
.booking-section { position: relative; padding: 0; }
.booking-bg { position: relative; }
.booking-bg img { width: 100%; height: clamp(320px, 40vw, 460px); object-fit: cover; }
.booking-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(10,12,8,0.55), rgba(10,12,8,0.72)); pointer-events: none; }
.booking-copy { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.booking-copy .eyebrow { color: var(--accent); }
.booking-copy h2 { color: #fff; max-width: 20ch; }
.booking-copy p { color: rgba(255,255,255,0.85); }

.booking-form {
  display: flex; flex-wrap: wrap; gap: 12px;
  background: #fff; border-radius: var(--radius-sm);
  padding: 12px; margin-top: 26px;
  box-shadow: var(--shadow);
}
.booking-form .bf-field {
  display: flex; flex-direction: column; gap: 4px;
  padding: 6px 16px; text-align: left; flex: 1; min-width: 130px;
  border-right: 1px solid var(--line);
}
.booking-form .bf-field:last-of-type { border-right: none; }
.booking-form label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); font-weight: 600; }
.booking-form input, .booking-form select {
  border: none; font-family: var(--font-body); font-size: 0.92rem; color: var(--ink);
  background: transparent; padding: 0; outline: none;
}
.booking-form .btn-primary { flex-shrink: 0; align-self: center; margin: 4px; border: none; cursor: pointer; font-family: var(--font-body); }
.bf-status { margin-top: 10px; font-size: 0.85rem; color: #fff; min-height: 1.2em; }
.bf-status.err { color: #ffb4b4; font-weight: 600; }
@media (max-width: 760px) { .booking-form { flex-direction: column; } .booking-form .bf-field { border-right: none; border-bottom: 1px solid var(--line); } }

/* Отзывы */
.review-card { background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 26px 24px; }
.review-card .review-stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.9rem; }
.review-card p { font-size: 0.94rem; }
.review-card .review-author { font-weight: 600; color: var(--ink); font-size: 0.88rem; }
.review-card .review-reply {
  margin-top: 16px; padding: 14px 16px;
  background: var(--bg-alt); border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-dark);
}
.review-card .review-reply .rr-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); display: block; margin-bottom: 4px; }
.review-card .review-reply p { font-size: 0.88rem; margin: 0; }
.reviews-list { margin-bottom: 44px; }
.reviews-list .reviews-placeholder { grid-column: 1 / -1; color: var(--ink-faint); font-size: 0.94rem; text-align: center; padding: 20px 0; }

.review-form-wrap {
  max-width: 640px; margin: 0 auto;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 32px 34px;
}
.review-form-wrap h3 { margin-bottom: 0.3em; }
.review-form-note { font-size: 0.86rem; margin-bottom: 1.2em; }
.site-form .rf-row { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 14px; }
.site-form .rf-row input[type="text"],
.site-form .rf-row input[type="date"],
.site-form .rf-row input[type="time"],
.site-form .rf-row input[type="number"],
.site-form .rf-row select { flex: 1 1 120px; min-width: 0; }
.site-form input[type="text"], .site-form input[type="tel"], .site-form input[type="date"],
.site-form input[type="time"], .site-form input[type="number"], .site-form select, .site-form textarea {
  font-family: var(--font-body); font-size: 0.94rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; background: var(--bg); outline: none;
  width: 100%;
}
.review-form .rf-row select { flex: 0 0 120px; }
.site-form textarea { width: 100%; resize: vertical; margin-bottom: 14px; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { border-color: var(--accent-dark); }
.site-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.site-form .rf-row-submit { align-items: center; margin-bottom: 0; }
.site-form .rf-status { font-size: 0.86rem; color: var(--ink-soft); }
.site-form .rf-status.ok { color: var(--accent-dark); font-weight: 600; }
.site-form .rf-status.err { color: #b6432f; font-weight: 600; }
.site-form button[disabled] { opacity: 0.6; cursor: default; }
.site-form label.field-label { display: block; font-size: 0.78rem; color: var(--ink-faint); margin-bottom: 4px; }
@media (max-width: 620px) {
  .review-form-wrap { padding: 24px 20px; }
  .site-form .rf-row { flex-direction: column; }
  .site-form select { width: 100%; }
}

/* Feature list / удобства */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-soft); font-size: 0.96rem; }
.feature-list li::before { content: ""; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--accent-dark); flex-shrink: 0; }

.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
.amenity-item {
  background: var(--card); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  padding: 22px 18px; text-align: center;
}
.amenity-item .am-icon {
  width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--accent-soft); color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
}
.amenity-item strong { display: block; font-size: 0.9rem; }

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  margin-right: 6px;
}
.badge.brand { background: var(--accent); color: #201a10; }

.meta-row { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.88rem; color: var(--ink-soft); margin: 16px 0 20px; }
.meta-row strong { color: var(--ink); font-weight: 600; }

.placeholder-note {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.86rem;
  margin: 0 0 28px;
}

blockquote { border-left: 2px solid var(--accent-dark); margin: 0 0 1.2em; padding: 4px 0 4px 20px; font-style: italic; color: var(--ink-soft); }

/* Footer */
footer.site-footer {
  background: var(--dark);
  color: var(--dark-ink);
  padding: 64px 0 28px;
}
footer.site-footer h2, footer.site-footer h3 { color: #fff; }
footer.site-footer p, footer.site-footer a { color: var(--dark-ink-soft); }
footer.site-footer a { text-decoration: none; }
footer.site-footer a:hover { color: #fff; }
footer.site-footer .logo { margin-bottom: 14px; }

.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

footer .col-label { font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dark-ink-soft); font-weight: 600; margin-bottom: 1.2em; display: block; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 0.92rem; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .ci-icon { color: var(--accent); flex-shrink: 0; display: flex; }

.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--dark-line);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-ink);
}
.social-row a:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.3); }

.footer-nav-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }

.map-embed {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 16/9;
  border: 1px solid var(--dark-line);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.map-ph {
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-line);
  background: rgba(255,255,255,0.04);
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark-ink-soft); font-size: 0.85rem; text-align: center; padding: 16px;
}

.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--dark-ink-soft);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}

.route-detail-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: start; }
@media (max-width: 860px) { .route-detail-hero { grid-template-columns: 1fr; } }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 10px 0 0; }
@media (max-width: 620px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* Модальное окно (заявка на трансфер и т.п.) */
.modal-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(10, 12, 8, 0.72);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease;
  padding: 20px;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 34px 32px;
}
.modal-box h3 { margin-bottom: 0.3em; }
.modal-box .review-form-note { margin-bottom: 1.4em; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  background: none; border: 1px solid var(--line);
  font-size: 1.2rem; line-height: 1; color: var(--ink-faint); cursor: pointer;
}
.modal-close:hover { background: var(--bg-alt); color: var(--ink); }
.modal-box.wide { max-width: 760px; }
@media (max-width: 620px) { .modal-box { padding: 28px 22px; } }

/* Календарь доступности домика */
.bw-calendar { display: flex; gap: 26px; flex-wrap: wrap; margin: 6px 0 24px; }
.bw-month { flex: 1 1 200px; min-width: 200px; }
.bw-month-title { font-family: var(--font-display); font-weight: 600; text-align: center; margin-bottom: 10px; font-size: 0.98rem; }
.bw-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.bw-dow { font-size: 0.66rem; text-align: center; color: var(--ink-faint); text-transform: uppercase; padding-bottom: 4px; }
.bw-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 0.82rem; font-family: var(--font-body);
  border: none; background: transparent; color: var(--ink); cursor: pointer;
}
.bw-day.empty { visibility: hidden; cursor: default; }
.bw-day.past {
  color: var(--ink-faint); background: var(--bg-alt); cursor: not-allowed; text-decoration: line-through;
}
.bw-day.booked {
  color: #b6432f; background: #f7e2dc; cursor: not-allowed; text-decoration: line-through;
}
.bw-day.available:hover { background: var(--accent-soft); }
.bw-day.selected-start, .bw-day.selected-end { background: var(--accent); color: #fff; font-weight: 600; }
.bw-day.in-range { background: var(--accent-soft); }
.bw-day.today:not(.selected-start):not(.selected-end) { box-shadow: inset 0 0 0 1.5px var(--accent-dark); }
.bw-legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-soft); margin: -8px 0 20px; }
.bw-legend span { display: inline-flex; align-items: center; gap: 6px; }
.bw-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.bw-legend .lg-available i { background: var(--accent-soft); }
.bw-legend .lg-selected i { background: var(--accent); }
.bw-legend .lg-booked i { background: #f7e2dc; border: 1px solid #e3b3a4; }
@media (max-width: 620px) { .bw-calendar { gap: 20px 12px; } .bw-month { min-width: 150px; } }

/* Фото, открываемые в лайтбоксе по клику */
img.card-photo, img.photo-real, .photo-slideshow .slide, .about-card img, .house-card img {
  cursor: zoom-in;
}

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 12, 8, 0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .2s ease;
  padding: 40px;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  -webkit-user-drag: none;
  user-select: none;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background .15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
}

/* Слайдшоу (используется на внутренних страницах) */
.photo-banner, .photo-slideshow {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-banner img { width: 100%; height: clamp(280px, 42vw, 480px); object-fit: cover; display: block; }
.photo-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 15, 10, 0.62), transparent 55%); }
.photo-banner .banner-caption { position: absolute; left: 30px; right: 30px; bottom: 26px; z-index: 1; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }

.photo-slideshow { height: clamp(280px, 42vw, 480px); }
.photo-slideshow .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.photo-slideshow .slide.active { opacity: 1; }
.photo-slideshow::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(10, 8, 4, 0.66), transparent 55%); }
.photo-slideshow .banner-caption { position: absolute; left: 30px; right: 96px; bottom: 26px; z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
.photo-slideshow .slide-dots { position: absolute; right: 24px; bottom: 30px; z-index: 2; display: flex; gap: 8px; }
.photo-slideshow .slide-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; padding: 0; cursor: pointer; }
.photo-slideshow .slide-dot.active { background: var(--accent); }
