/* ══════════════════════════════════════════
   МЕТЕОРИТ · v8
   3 стилі: eco-flat, photo-overlay, mid-century retro
   ══════════════════════════════════════════ */

:root {
  --brand-green: #00A050;
  --brand-blue: #006098;
  --brand-cyan: #30A8D0;

  --cta: #F5A623;
  --cta-hover: #E8921A;
  --cta-light: #FFD074;

  --forest-dark: #0F4F2C;
  --forest-mid: #2B5238;
  --cream-green: #F5FAF7;
  --light-green: #E8F3EC;
  --white: #FFFFFF;

  --text-main: #1A1208;
  --text-sec: #5A6B5F;
  --text-mute: #8A9A8F;

  --retro-paper: #EFE5D0;
  --retro-terracotta: #E76F3C;
  --retro-ochre: #D4851A;
  --retro-choco: #3A2814;

  --border-soft: #D0E4D8;
  --border-retro: #E8D9B8;

  --f-heading: 'Playfair Display', Georgia, serif;
  --f-body: 'Montserrat', -apple-system, sans-serif;
  --f-stamp: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --f-script: 'Caveat', cursive;

  --max-w: 1440px;
  --pad-x: clamp(16px, 4vw, 56px);
  --pad-y: clamp(48px, 7vw, 96px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--f-body);
  font-weight: 400;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
img, iframe, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--f-heading);
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1.2;
}
em { font-style: italic; color: var(--cta); }

.ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ico-blue { color: var(--brand-blue); }

.eyebrow {
  font-size: 12px;
  color: var(--cta-hover);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
  display: inline-block;
}
.eyebrow-light { color: var(--cta-light); }
.eyebrow-accent { color: var(--brand-cyan); }

.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, background 0.15s;
  white-space: nowrap;
  max-width: 100%;
}
.btn:hover { transform: translateY(-1px); }
.btn-cta { background: var(--cta); color: #fff; }
.btn-cta:hover { background: var(--cta-hover); }
.btn-outline {
  background: transparent;
  color: var(--forest-dark);
  border: 1.5px solid var(--border-soft);
}
.btn-outline:hover { background: var(--cream-green); }
.btn-big { padding: 16px 32px; font-size: 15px; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(15, 79, 44, 0.08);
}
.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: height 0.3s;
}
.nav.scrolled .nav-inner { height: 70px; }
.nav-logo img {
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px;
  border-radius: 8px;
  transition: height 0.3s, background 0.3s;
}
.nav.scrolled .nav-logo img {
  height: 48px;
  background: transparent;
  padding: 0;
}
.nav-links { display: flex; gap: clamp(12px, 1.4vw, 20px); }
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  transition: color 0.15s;
}
.nav.scrolled .nav-links a { color: var(--text-sec); text-shadow: none; }
.nav-links a:hover { color: var(--cta-light); }
.nav.scrolled .nav-links a:hover { color: var(--forest-dark); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang-switch {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.nav.scrolled .lang-switch { color: var(--text-mute); text-shadow: none; }
.lang-switch a.active { color: #fff; }
.nav.scrolled .lang-switch a.active { color: var(--forest-dark); }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.nav.scrolled .nav-phone { color: var(--forest-dark); text-shadow: none; }
.nav-cta { padding: 10px 22px; font-size: 13px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s;
}
.nav.scrolled .burger span { background: var(--forest-dark); }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--cream-green);
  z-index: 300;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 20px;
  overflow-y: auto;
  padding: 60px 16px;
}
.mobile-menu.open { display: flex; }
.mm-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none;
  cursor: pointer; padding: 8px;
  color: var(--forest-dark);
}
.mm-nav { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.mm-nav a {
  font-family: var(--f-heading);
  font-size: 22px;
  color: var(--forest-dark);
}

/* HERO — photo-overlay стиль */
.hero {
  position: relative;
  min-height: clamp(540px, 70vh, 720px);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 79, 44, 0.5) 0%, rgba(15, 79, 44, 0.25) 50%, rgba(15, 79, 44, 0.85) 100%);
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: clamp(100px, 11vw, 140px) var(--pad-x) clamp(40px, 5vw, 60px);
  min-height: clamp(540px, 70vh, 720px);
  display: flex;
  align-items: flex-end;
}
.hero-text { max-width: 760px; }
.hero-h {
  font-size: clamp(28px, 4.5vw, 54px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}
.hero-h em { color: var(--cta-light); }
.hero-p {
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
  font-weight: 300;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  padding: 7px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.tag .ico { color: var(--cta-light); }

/* STATS */
.stats { background: var(--brand-blue); }
.stats-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 0;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.stat:last-child { border: none; }
.stat-num {
  font-family: var(--f-heading);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 8px;
}

/* SECTION BASE */
.section { padding: var(--pad-y) 0; position: relative; }
.sec-head { margin-bottom: 48px; max-width: 720px; }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-h {
  font-size: clamp(28px, 3.6vw, 46px);
  margin-bottom: 12px;
  line-height: 1.15;
}
.sec-p {
  font-size: clamp(15px, 1.2vw, 18px);
  color: var(--text-sec);
  line-height: 1.7;
  font-weight: 300;
}
.sec-head-light .sec-h-light { color: #fff; }
.sec-head-light .sec-p-light { color: rgba(255, 255, 255, 0.78); }

/* ABOUT — photo-overlay */
.about { background: var(--cream-green); position: relative; }
.about-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  grid-template-rows: 280px 280px;
  gap: 16px;
  margin-bottom: 32px;
}
.am-card {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 20px rgba(15, 79, 44, 0.05);
}
.am-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 79, 44, 0.15);
}
.am-large { grid-column: 1 / 2; grid-row: 1 / 3; }
.am-photo { color: #fff; display: flex; align-items: flex-end; min-height: 280px; }
.am-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 79, 44, 0.88) 100%);
}
.am-content { position: relative; padding: 24px; z-index: 1; }
.am-content h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  font-family: var(--f-heading);
}
.am-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.5;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}
.am-large .am-content h3 { font-size: 30px; }
.am-large .am-content p { font-size: 16px; max-width: 420px; }

.about-barik {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  justify-content: center;
  margin-top: 24px;
}
.barik-img {
  width: clamp(140px, 14vw, 200px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(15, 79, 44, 0.18));
}
.barik-video-wrap {
  width: clamp(160px, 16vw, 220px);
  aspect-ratio: 1 / 1.06;
  filter: drop-shadow(0 12px 24px rgba(15, 79, 44, 0.18));
}
.barik-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
}

.speech-bubble {
  position: relative;
  background: #fff;
  padding: 16px 22px;
  border-radius: 18px;
  font-family: var(--f-script);
  font-size: 22px;
  color: var(--forest-dark);
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(15, 79, 44, 0.12);
  max-width: 240px;
  margin-bottom: 30px;
}
.speech-bubble span {
  display: block;
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--text-sec);
  font-weight: 400;
  margin-top: 4px;
  font-style: normal;
}
.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px; left: 30px;
  width: 16px; height: 16px;
  background: #fff;
  rotate: 45deg;
}
.speech-left::before { right: 30px; left: auto; }

/* GALLERY — photo-overlay (темна) */
.gallery-bg { background: var(--forest-dark); padding-bottom: var(--pad-y); }
.apple-slider {
  position: relative;
  margin-top: 16px;
  padding: 0 0 60px;
  overflow: hidden;
}
.as-track {
  display: flex;
  gap: 24px;
  padding: 0 calc(50vw - 380px);
  transition: transform 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
.as-slide {
  flex: 0 0 760px;
  height: 480px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: opacity 0.4s, transform 0.4s;
  position: relative;
  background: rgba(255, 255, 255, 0.06);
}
.as-slide img { width: 100%; height: 100%; object-fit: cover; }
.as-slide:not(.active) { opacity: 0.5; transform: scale(0.94); }
.as-slide.active {
  opacity: 1; transform: scale(1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.as-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
}
.as-nav:hover { background: rgba(255, 255, 255, 0.28); }
.as-prev { left: 32px; }
.as-next { right: 32px; }
.as-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.as-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}
.as-dot.active {
  background: var(--cta);
  width: 28px;
  border-radius: 8px;
}

/* PRICING — eco-flat */
.pricing { background: var(--white); }
.lodging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.lodge-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(15, 79, 44, 0.06), 0 1px 3px rgba(15, 79, 44, 0.04);
}
.lodge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(15, 79, 44, 0.16), 0 4px 12px rgba(15, 79, 44, 0.08);
}
.lodge-feat { border: 2px solid var(--brand-green); }
.lodge-luxe { border: 2px solid var(--cta); }
.lodge-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--brand-green);
  color: #fff;
  font-size: 11px;
  padding: 5px 14px;
  border-radius: 14px;
  font-weight: 500;
  z-index: 2;
  text-transform: uppercase;
}
.lodge-badge-luxe { background: var(--cta); color: #3A1E00; }
.lodge-img {
  height: 220px;
  background-size: cover;
  background-position: center;
}
.lodge-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.lodge-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--forest-dark);
  margin-bottom: 12px;
  font-family: var(--f-heading);
}
.lodge-price { font-size: 14px; color: var(--text-sec); }
.lodge-price strong {
  font-family: var(--f-heading);
  font-size: 28px;
  color: var(--brand-blue);
}
.lodge-more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-green);
}
.price-note {
  margin-top: 32px;
  padding: 22px 28px;
  background: var(--cream-green);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.7;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
}
.price-note span { display: inline-flex; align-items: center; gap: 8px; }

/* MODAL */
.modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(15, 79, 44, 0.85);
  backdrop-filter: blur(8px);
  z-index: 600;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; animation: fade-in 0.25s; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-route { grid-template-columns: 1fr; max-width: 720px; }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.modal-img-wrap { position: relative; min-height: 460px; }
.modal-img {
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  min-height: 460px;
}
.modal-img-prev, .modal-img-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  cursor: pointer;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  color: var(--forest-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.modal-img-prev { left: 12px; }
.modal-img-next { right: 12px; }
.modal-img-dots {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 4;
}
.modal-img-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.2s;
}
.modal-img-dot.active { background: var(--cta); }

.modal-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-route-content { padding: 44px 40px; }
.modal-content h3 { font-size: 26px; margin-bottom: 4px; font-family: var(--f-heading); }
.modal-content .modal-price {
  font-family: var(--f-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-blue);
  line-height: 1;
}
.modal-content .modal-price small {
  display: inline;
  font-size: 14px;
  color: var(--text-sec);
  font-family: var(--f-body);
  font-weight: 400;
  margin-left: 6px;
}
.modal-content .modal-desc { color: var(--text-sec); font-size: 15px; line-height: 1.65; }
.modal-content h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-mute);
  font-weight: 500;
  font-family: var(--f-body);
  margin-top: 12px;
}
.modal-content ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.modal-content ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.55;
}
.modal-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  margin-top: 8px;
  flex-shrink: 0;
}
.modal-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 8px; }
.modal-table th, .modal-table td {
  padding: 10px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}
.modal-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-mute);
  font-weight: 500;
}
.modal-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--brand-blue);
  font-family: var(--f-heading);
  white-space: nowrap;
}
.modal-cta { margin-top: auto; padding-top: 16px; }
.modal-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 7px 14px;
  background: transparent;
  color: #c2185b;
  border: 1px solid rgba(194, 24, 91, 0.3);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.modal-ig:hover {
  background: rgba(194, 24, 91, 0.06);
  border-color: rgba(194, 24, 91, 0.55);
  color: #a01548;
}
.modal-ig svg { flex-shrink: 0; opacity: 0.9; }

.route-steps {
  list-style: none;
  counter-reset: route;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0;
}
.route-steps li {
  counter-increment: route;
  position: relative;
  padding-left: 48px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-main);
}
.route-steps li::before {
  content: counter(route);
  position: absolute;
  left: 0; top: 0;
  width: 32px; height: 32px;
  background: var(--brand-green);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 15px;
}
.route-warn {
  background: #FFF4DA;
  border: 1px solid var(--cta-light);
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--retro-choco);
  line-height: 1.5;
}

/* LEISURE — eco-flat (об'єднано Прокат + Активності) */
.leisure { background: var(--forest-dark); }
.leisure .eyebrow { color: rgba(255, 255, 255, 0.6); }
.leisure .sec-h { color: #fff; }
.leisure .sec-p { color: rgba(255, 255, 255, 0.78); }
.leisure-cat {
  font-family: var(--f-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  color: #fff;
  margin: 40px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}
.leisure-cat .ico { color: var(--cta-light); flex-shrink: 0; }
.leisure-cat:first-of-type { margin-top: 0; }
.leisure-subcat {
  font-family: var(--f-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  margin: 24px 0 14px;
}
.leisure .rent-card,
.leisure .act-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.leisure .rent-name,
.leisure .act-name { color: #fff; }
.leisure .rent-price,
.leisure .act-price { color: var(--cta-light); }
.leisure .rent-hint { color: rgba(255, 255, 255, 0.7); }
.leisure .rent-card-photo {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.leisure .rcp-name { color: #fff; }
.leisure .rcp-price { color: var(--cta-light); }

.rent-grid-water {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.rent-grid-altankas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.rent-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.rent-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(15, 79, 44, 0.08);
}
.rent-name {
  font-size: 14px;
  color: var(--forest-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  font-weight: 500;
}
.rent-price {
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
}
.rent-hint {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mute);
  font-style: italic;
  text-align: center;
}

/* Альтанки з фото */
.rent-card-photo {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  position: relative;
}
.rent-card-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 79, 44, 0.12);
}
.rent-card-photo.rent-card-feat { border: 2px solid var(--brand-green); }
.rcp-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--brand-green);
  color: #fff;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 14px;
  font-weight: 500;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.rcp-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.rcp-body {
  padding: 18px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}
.rcp-name {
  font-size: 15px;
  color: var(--forest-dark);
  line-height: 1.4;
  font-weight: 500;
}
.rcp-price {
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand-blue);
  margin-top: auto;
}

/* Активності — час дня */
.act-day-block { margin-bottom: 24px; }
.act-time {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--cta-hover);
  margin: 24px 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.act-time .ico { color: var(--cta); }
.act-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.act-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.act-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 79, 44, 0.12), 0 3px 8px rgba(15, 79, 44, 0.06);
  border-color: var(--brand-green);
}
.act-card:hover .act-price {
  color: var(--cta-hover, var(--brand-green));
}
.act-name { font-size: 15px; font-weight: 500; color: var(--forest-dark); transition: color 0.2s; }
.act-price { font-size: 14px; color: var(--brand-green); font-weight: 600; white-space: nowrap; transition: color 0.2s; }

/* Скрытые карточки спорта (по умолчанию свёрнуты) */
.act-grid-collapse .act-hidden { display: none; }
.act-grid-collapse.expanded .act-hidden { display: flex; animation: act-fade-in 0.35s ease; }
@keyframes act-fade-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Кнопка "Показати всі позиції" */
.act-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.act-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--white);
  color: var(--brand-green);
  border: 1.5px solid var(--brand-green);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.act-toggle-btn:hover {
  background: var(--brand-green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 79, 44, 0.2);
}
.act-toggle-icon { transition: transform 0.3s; }
.act-toggle-btn.expanded .act-toggle-icon { transform: rotate(180deg); }

/* CAFE — гибридная секция (компактнее Events) */
.cafe-summer { background: var(--cream-green); padding: 64px 0 0; }
.cafe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}
.cafe-text .sec-h { margin-bottom: 14px; }
.cafe-hours {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 24px;
  font-size: 14px;
  color: var(--forest-dark);
  margin: 18px 0 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 2px 8px rgba(15, 79, 44, 0.05);
}
.cafe-hours .ico { color: var(--brand-green); flex-shrink: 0; }
.cafe-hours strong { color: var(--brand-green); }
.cafe-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 18px;
}
.cafe-list li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.5;
}
.cafe-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--brand-green);
  font-weight: 700;
}
.cafe-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  height: 460px;
}
.cafe-photo {
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(15, 79, 44, 0.08), 0 2px 6px rgba(15, 79, 44, 0.05);
}
.cafe-photo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 79, 44, 0.18), 0 4px 12px rgba(15, 79, 44, 0.08);
}
.cafe-photo-big { grid-row: 1 / 3; }

/* Волнистый разделитель между секциями */
.wave-divider {
  position: relative;
  width: 100%;
  height: 90px;
  margin-top: 48px;
  margin-bottom: -1px;
  line-height: 0;
  pointer-events: none;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.wave-divider .wave-back path {
  fill: var(--brand-green);
  opacity: 0.85;
}
.wave-divider .wave-front path {
  fill: var(--white);
}

/* EVENTS — photo-overlay */
.events { background: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 36px;
}
.event-card {
  position: relative;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(15, 79, 44, 0.08), 0 2px 6px rgba(15, 79, 44, 0.05);
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 44px rgba(15, 79, 44, 0.22), 0 6px 16px rgba(15, 79, 44, 0.1);
}
.event-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(15, 79, 44, 0.95) 100%);
}
.event-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 26px 24px;
  color: #fff;
}
.event-badge {
  display: inline-block;
  background: var(--cta);
  color: #3A1E00;
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.event-content h3 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 4px;
  font-family: var(--f-heading);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.event-sub {
  font-style: italic;
  font-size: 13px;
  color: var(--cta-light);
  margin-bottom: 10px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.event-content p:not(.event-sub) {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.events-contact {
  text-align: center;
  font-size: 15px;
  color: var(--text-sec);
  padding: 18px 24px;
  background: var(--cream-green);
  border-radius: 12px;
}
.events-contact a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}

/* FISHING — eco-flat */
.fishing { background: var(--cream-green); }
.fishing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.fishing-text { max-width: 560px; }
.fishing-body {
  font-size: 15px;
  color: var(--text-sec);
  line-height: 1.75;
  margin: 18px 0 22px;
}
.fishing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fishing-list li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--text-main);
  line-height: 1.5;
}
.fishing-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand-green);
}
.fishing-photos {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
  height: 492px;
}
.fishing-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 79, 44, 0.15);
}
.fishing-thumb {
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 79, 44, 0.12);
}

/* HISTORY — mid-century retro */
.history {
  background: var(--retro-paper);
  position: relative;
  border-top: 4px solid var(--retro-ochre);
  border-bottom: 4px solid var(--retro-ochre);
}
.history > .container::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(58, 40, 20, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.hist-stamp {
  position: absolute;
  top: 48px;
  right: var(--pad-x);
  width: 96px; height: 96px;
  border: 3px solid var(--retro-terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--retro-terracotta);
  font-family: var(--f-stamp);
  font-size: 22px;
  line-height: 1.1;
  text-align: center;
  transform: rotate(-10deg);
  background: rgba(239, 229, 208, 0.7);
  z-index: 1;
}
.hist-script {
  font-family: var(--f-script);
  font-size: 28px;
  color: var(--retro-ochre);
  font-weight: 700;
  margin-bottom: 4px;
}
.hist-h { font-size: clamp(32px, 4vw, 52px); color: var(--retro-choco); }
.hist-h em { color: var(--retro-terracotta); }
.hist-p { color: var(--retro-choco); }
.hist-body {
  max-width: 720px;
  margin: 32px 0 40px;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.8;
  color: var(--retro-choco);
  position: relative; z-index: 1;
}
.hist-body p + p { margin-top: 16px; }
.hist-accent {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: clamp(18px, 1.6vw, 22px);
  color: var(--retro-terracotta);
}
.hist-timeline {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-left: 2px solid var(--retro-ochre);
  padding-left: 28px;
  max-width: 640px;
  position: relative; z-index: 1;
  margin-bottom: 40px;
}
.tl-row {
  position: relative;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.tl-row::before {
  content: '';
  position: absolute;
  left: -34px; top: 8px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--retro-terracotta);
  border: 2px solid var(--retro-paper);
}
.tl-year {
  font-family: var(--f-stamp);
  font-size: 19px;
  color: var(--retro-terracotta);
  letter-spacing: 1px;
  min-width: 92px;
}
.tl-text {
  font-size: 15px;
  color: var(--retro-choco);
  line-height: 1.6;
}

.hist-accordion {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-retro);
  border-radius: 12px;
  margin: 0 0 40px;
  position: relative; z-index: 1;
}
.hist-accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 24px;
  font-family: var(--f-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--retro-choco);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s;
}
.hist-accordion summary::-webkit-details-marker { display: none; }
.hist-accordion summary:hover { background: rgba(212, 133, 26, 0.05); }
.hist-accordion[open] summary { border-bottom: 1px solid var(--border-retro); }
.hist-accordion[open] summary .ico { transform: rotate(180deg); }
.hist-accordion .ico { transition: transform 0.3s; color: var(--retro-ochre); }
.hist-accordion-body {
  padding: 22px 24px 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--retro-choco);
}
.hist-accordion-body p + p { margin-top: 12px; }
/* Видеокарточка архива (с превью YouTube) */
.hist-video-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  background: rgba(212, 133, 26, 0.08);
  border-left: 3px solid var(--retro-ochre);
  padding: 14px 18px 14px 14px;
  margin: 16px 0;
  border-radius: 0 12px 12px 0;
  text-decoration: none;
  color: var(--retro-choco);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  align-items: center;
}
.hist-video-card:hover {
  background: rgba(212, 133, 26, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 133, 26, 0.22);
}
.hvc-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--retro-choco);
  flex-shrink: 0;
}
.hvc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: sepia(15%) contrast(0.95);
  transition: transform 0.3s, filter 0.3s;
}
.hist-video-card:hover .hvc-thumb img {
  transform: scale(1.04);
  filter: sepia(0%) contrast(1);
}
.hvc-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(196, 48, 43, 0.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, background 0.2s;
}
.hvc-play svg { margin-left: 3px; }
.hist-video-card:hover .hvc-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: #c4302b;
}
.hvc-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hvc-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--retro-choco);
  line-height: 1.3;
}
.hvc-loc {
  font-size: 14px;
  color: var(--retro-choco);
  opacity: 0.85;
  line-height: 1.4;
}
.hvc-author {
  font-size: 13px;
  font-style: italic;
  color: var(--retro-choco);
  opacity: 0.75;
  line-height: 1.4;
  margin-top: 2px;
}
.hvc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
  color: #c4302b;
  margin-top: 8px;
}
.hist-video-card:hover .hvc-link { color: #8e1c18; }

.hist-gallery-title {
  font-family: var(--f-heading);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--retro-choco);
  margin-bottom: 4px;
  position: relative; z-index: 1;
}
.hist-gallery-sub {
  font-family: var(--f-script);
  font-size: 20px;
  color: var(--retro-ochre);
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.hist-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  position: relative; z-index: 1;
}
.hist-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  filter: sepia(35%) contrast(0.92) brightness(1.05);
  cursor: pointer;
  transition: transform 0.25s, filter 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 12px rgba(58, 40, 20, 0.15);
}
.hist-gallery img:hover {
  filter: sepia(15%) contrast(1) brightness(1);
  transform: scale(1.03) rotate(-0.5deg);
  box-shadow: 0 8px 24px rgba(58, 40, 20, 0.25);
}
.hist-gallery .hg-hidden { display: none; }
.hist-gallery.expanded .hg-hidden { display: block; }
.hist-gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border-retro);
  border-radius: 28px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--retro-choco);
  cursor: pointer;
  transition: background 0.2s;
  position: relative; z-index: 1;
}
.hist-gallery-btn:hover { background: rgba(255, 255, 255, 0.8); }
.hist-gallery-btn.expanded .ico { transform: rotate(180deg); }
.hist-gallery-btn .ico { color: var(--retro-ochre); transition: transform 0.3s; }

/* REVIEWS */
.reviews { background: var(--white); }
.reviews-carousel {
  position: relative;
  min-height: 280px;
  max-width: 800px;
  margin: 0 auto;
}
.review {
  display: none;
  background: var(--cream-green);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 48px 56px;
  text-align: center;
}
.review.active { display: block; animation: fade-in 0.4s; }
.review-stars {
  color: var(--cta);
  font-size: 18px;
  letter-spacing: 4px;
  margin-bottom: 20px;
}
.review-text {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: clamp(17px, 1.4vw, 22px);
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 24px;
}
.review-author { font-size: 16px; font-weight: 500; color: var(--forest-dark); }
.review-role { font-size: 13px; color: var(--text-mute); margin-top: 4px; }
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.rn-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border-soft);
  cursor: pointer;
  color: var(--forest-dark);
  display: flex; align-items: center; justify-content: center;
}
.rn-btn:hover { background: var(--light-green); }
.rn-dots { display: flex; gap: 8px; }
.rn-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-soft);
  cursor: pointer;
}
.rn-dot.active { background: var(--brand-green); }

/* CONTACTS */
.contacts { background: var(--cream-green); }
.cont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.cont-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 28px;
}
.cont-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--light-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-green);
  margin-bottom: 14px;
}
.cont-title {
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-bottom: 14px;
}
.cont-line { font-size: 15px; color: var(--forest-dark); margin-bottom: 4px; word-break: break-word; }
.cont-line a {
  color: var(--brand-blue);
  font-weight: 500;
  transition: color 0.2s, opacity 0.2s;
  display: inline-block;
}
.cont-line a:hover {
  text-decoration: underline;
  color: var(--brand-green);
  opacity: 0.85;
}

/* ROUTE */
.route-block {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  align-items: center;
}
.route-text h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 12px; font-family: var(--f-heading); }
.route-text p {
  font-size: 15px;
  color: var(--text-sec);
  margin-bottom: 20px;
  word-break: break-word;
}
.route-text strong { color: var(--brand-blue); font-weight: 600; }
.route-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.route-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(15, 79, 44, 0.18);
  box-shadow: 0 6px 20px rgba(15, 79, 44, 0.12);
}
.route-map-img {
  width: 100%;
  height: auto;
  display: block;
}
.route-map-zoom {
  position: absolute;
  bottom: 12px; right: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 12px;
  border-radius: 16px;
  font-size: 12px;
  color: var(--forest-dark);
  font-weight: 500;
}

/* RULES — відкритий блок */
.rules-block {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.rules-block-title {
  padding: 22px 28px;
  margin: 0;
  font-family: var(--f-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--forest-dark);
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-soft);
}
.rules-block-title .ico { color: var(--brand-green); flex-shrink: 0; }
.rules-block-body { padding: 24px 28px; }
.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.rule {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}
.rule:nth-last-child(-n+2) { border-bottom: none; }
.rule-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 6px;
}
.rule-text {
  font-size: 14px;
  color: var(--text-sec);
  line-height: 1.6;
}

/* FOOTER — 4 колонки */
.footer {
  background: var(--forest-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 36px;
}
.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1fr;
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-brand { gap: 14px; }
.footer-logo {
  height: 64px;
  width: auto;
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  align-self: flex-start;
}
.footer-desc {
  font-family: var(--f-heading);
  font-style: italic;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
}
.footer-title {
  font-size: 11px;
  color: var(--cta-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
  margin-bottom: 6px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-col a:hover { color: var(--cta-light); }
.footer-info {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}
.footer-info .ico { color: var(--cta-light); flex-shrink: 0; }
.footer-bottom {
  background: #0A3520;
  padding: 18px var(--pad-x);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* МАСКОТ МАША — попугай-гид с фразами */
.masha-mascot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.masha-mascot.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.masha-mascot.minimized .masha-bubble { display: none; }
.masha-mascot.minimized .masha-video-btn {
  width: 56px;
  height: 60px;
  opacity: 0.85;
}

/* Облачко с фразой */
.masha-bubble {
  position: relative;
  background: #fff;
  padding: 12px 18px 14px;
  border-radius: 18px 18px 6px 18px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--forest-dark);
  line-height: 1.4;
  box-shadow: 0 8px 24px rgba(15, 79, 44, 0.18);
  max-width: 240px;
  min-height: 22px;
  margin-right: 14px;
  opacity: 0;
  transform: translateY(6px) scale(0.95);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.masha-bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.masha-bubble.is-promo {
  background: linear-gradient(135deg, #fff8e6 0%, #fff 100%);
  border: 1.5px solid var(--cta);
}
.masha-bubble.is-promo strong { color: var(--cta-hover); }
.masha-bubble.is-promo::after { background: #fff; }
.masha-bubble strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 13px;
  color: var(--cta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-weight: 600;
}
.masha-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px; right: 18px;
  width: 14px; height: 14px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 3px 3px 6px rgba(15, 79, 44, 0.06);
}
.masha-bubble-close {
  position: absolute;
  top: -8px; right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--forest-dark);
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  pointer-events: auto;
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.masha-bubble-close:hover {
  background: var(--cta);
  transform: scale(1.1);
}

/* Кнопка-видео */
.masha-video-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 130px;
  height: 142px;
  filter:
    drop-shadow(0 0 1px rgba(15, 79, 44, 0.9))
    drop-shadow(0 0 1px rgba(15, 79, 44, 0.7))
    drop-shadow(0 8px 20px rgba(15, 79, 44, 0.5));
  animation: masha-bob 4s ease-in-out infinite;
  transition: width 0.3s, height 0.3s, opacity 0.2s;
}
.masha-video-btn:hover { opacity: 0.92; }
.masha-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
  pointer-events: none;
}
@keyframes masha-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 500;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  border-radius: 8px;
}
.lb-close {
  position: absolute;
  top: 24px; right: 28px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

/* АДАПТИВ */
@media (max-width: 1200px) {
  .rent-grid-water { grid-template-columns: repeat(3, 1fr); }
  .rent-grid-altankas { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .nav-secondary { display: none; }
  .about-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 280px 240px 240px;
    gap: 14px;
  }
  .am-large { grid-column: 1 / 3; grid-row: 1 / 2; min-height: 280px; }
  .am-card { min-height: 240px; }
  .as-track { padding: 0 calc(50vw - 320px); }
  .as-slide { flex: 0 0 640px; height: 400px; }
  .route-block { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .event-card { height: 320px; }
  .fishing-grid { grid-template-columns: 1fr; gap: 32px; }
  .fishing-photos { height: 400px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3), .stat:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .modal-box { grid-template-columns: 1fr; max-height: 92vh; }
  .modal-img-wrap, .modal-img { min-height: 280px; }

  .as-track { padding: 0 calc(50vw - 240px); }
  .as-slide { flex: 0 0 480px; height: 320px; }
  .as-prev { left: 16px; }
  .as-next { right: 16px; }

  .rent-grid-water { grid-template-columns: repeat(2, 1fr); }

  .fishing-photos { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px; height: auto; }
  .fishing-main { grid-row: 1 / 2; grid-column: 1 / 3; }

  .route-actions { flex-direction: column; }
  .route-actions .btn { width: 100%; white-space: normal; }

  /* Кафе: на планшетах текст и галерея в столбик */
  .cafe-grid { grid-template-columns: 1fr; gap: 24px; }
  .cafe-gallery { height: 380px; }
}

@media (max-width: 640px) {
  :root { --pad-x: 16px; }

  /* Кафе: на мобильной — список в один столбик, галерея ниже */
  .cafe-list { grid-template-columns: 1fr; }
  .cafe-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 160px 160px;
    height: auto;
  }
  .cafe-photo-big { grid-row: auto; }

  /* Правила: на мобильной 1 колонка — рамка только у последнего */
  .rule:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
  .rule:last-child { border-bottom: none; }

  .hist-video-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .nav-inner { height: 64px; padding: 0 16px; }
  .nav.scrolled .nav-inner { height: 60px; }
  .nav-logo img { height: 44px; }
  .nav.scrolled .nav-logo img { height: 40px; }
  .lang-switch, .nav-phone { display: none; }

  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-inner {
    padding: 88px 16px 32px;
    min-height: 100vh;
    min-height: 100svh;
  }
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; max-width: 100%; white-space: normal; }
  .hero-tags { gap: 6px; }
  .tag { font-size: 11px; padding: 6px 12px; white-space: normal; }

  .stats-inner { grid-template-columns: 1fr 1fr; }

  .about-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .am-large { grid-column: 1; grid-row: auto; min-height: 280px; }
  .am-card { min-height: 220px; }
  /* На мобильной все карточки одного размера — выравниваем шрифты */
  .am-content h3,
  .am-large .am-content h3 { font-size: 20px; }
  .am-content p,
  .am-large .am-content p { font-size: 14px; max-width: none; }
  /* Мобильные карточки: сильнее затемнение под текстом, чтобы не рябило */
  .am-overlay {
    background: linear-gradient(180deg,
      rgba(15, 79, 44, 0.15) 0%,
      rgba(15, 79, 44, 0.55) 45%,
      rgba(15, 79, 44, 0.95) 100%);
  }
  .am-content h3 {
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 0 14px rgba(0, 0, 0, 0.5);
  }
  .am-content p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85), 0 0 10px rgba(0, 0, 0, 0.5);
  }
  .about-barik { flex-direction: column-reverse; align-items: center; gap: 8px; }
  .speech-bubble { margin-bottom: 0; }
  .barik-img { width: 160px; }
  .barik-video-wrap { width: 180px; }

  .as-track { padding: 0 calc(50vw - 160px); gap: 12px; }
  .as-slide { flex: 0 0 320px; height: 240px; border-radius: 14px; }
  .as-nav { width: 44px; height: 44px; }

  .lodging-grid { grid-template-columns: 1fr; }

  .rent-grid-water { grid-template-columns: 1fr 1fr; }
  .rent-grid-altankas { grid-template-columns: 1fr; }
  .rent-card { padding: 16px 12px; }
  .rcp-img { height: 180px; }

  .act-grid { grid-template-columns: 1fr; }

  .events-grid { grid-template-columns: 1fr; }
  .event-card { height: 320px; }

  .fishing-photos {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 180px 180px;
    height: auto;
  }
  .fishing-main { grid-column: 1; grid-row: 1 / 2; }
  .fishing-thumb-1 { grid-row: 2 / 3; }
  .fishing-thumb-2 { grid-row: 3 / 4; }

  .hist-stamp {
    position: static;
    transform: none;
    margin-bottom: 24px;
    width: 80px; height: 80px;
    font-size: 16px;
  }
  .history > .container::before { display: none; }
  .hist-timeline { padding-left: 22px; }
  .tl-row::before { left: -28px; }
  .tl-year { min-width: 70px; font-size: 17px; }
  .hist-gallery { grid-template-columns: 1fr 1fr; }
  .hist-gallery img { height: 160px; }

  .review { padding: 32px 24px; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }

  .price-note { flex-direction: column; gap: 10px; }
  .modal-content { padding: 24px 20px; }
  .modal-route-content { padding: 28px 20px; }
  .route-block { padding: 20px; gap: 20px; }
  .route-actions .btn { width: 100%; }
  .route-steps li { padding-left: 42px; font-size: 14px; }
  .route-steps li::before { width: 28px; height: 28px; font-size: 13px; }
  .route-map-zoom { font-size: 10px; padding: 4px 10px; bottom: 8px; right: 8px; }

  .cont-card { padding: 20px; }
  .cont-line { font-size: 14px; }

  .rules-block-title { padding: 18px 20px; font-size: 18px; gap: 10px; }
  .rules-block-body { padding: 18px 20px; }

  .masha-mascot { bottom: 14px; right: 14px; gap: 6px; }
  .masha-video-btn { width: 96px; height: 105px; }
  .masha-bubble { font-size: 13px; padding: 10px 14px 12px; max-width: 200px; margin-right: 10px; }
  .masha-bubble strong { font-size: 11px; }
  .masha-mascot.minimized .masha-video-btn { width: 60px; height: 65px; }

  .leisure-cat { font-size: 22px; gap: 10px; }
  .leisure-cat .ico { width: 20px; height: 20px; }
}

@media (max-width: 380px) {
  :root { --pad-x: 12px; }
  .hero-h { font-size: 24px; }
  .sec-h { font-size: 22px; }
  .hist-gallery { grid-template-columns: 1fr; }
}
