/* ============================================================
   «Хутор у залива» — база отдыха на Выборгском заливе
   Палитра — из фотографий базы: песок пляжа, хвоя, три
   крашеных домика (красно-кирпичный, светло-бежевый, фисташковый), вода залива.
   ============================================================ */

:root {
  --sand: #F3EFE4;        /* фон страницы — песок пляжа */
  --sand-deep: #E9E2CF;   /* карточки, чередование секций */
  --paper: #FBF9F2;       /* светлые карточки */
  --pine: #22312A;        /* тёмная хвоя — текст и тёмные секции */
  --pine-soft: #33473D;   /* карточки на тёмном */
  --falu: #96382C;        /* красно-кирпичный домик — акцент */
  --falu-dark: #7C2D23;
  --water: #46708A;       /* вода залива — ссылки */
  --ochre: #D9A03F;       /* светло-бежевый домик */
  --sage: #8A9689;        /* зелёно-фисташковый домик */
  --ink-soft: rgba(34, 49, 42, .72);
  --line: rgba(34, 49, 42, .16);
  --line-dark: rgba(243, 239, 228, .18);

  --font-display: 'Alegreya', 'Georgia', serif;
  --font-body: 'Golos Text', -apple-system, 'Segoe UI', sans-serif;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(34, 49, 42, .10);
}

/* ---------- база ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

img, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.008em; }
h3 { font-size: 1.3rem; font-weight: 700; }

p { margin: 0 0 1em; }
a { color: var(--water); text-underline-offset: 3px; }
a:hover { color: var(--falu); }

:focus-visible {
  outline: 3px solid var(--water);
  outline-offset: 2px;
  border-radius: 2px;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 120px); }
.section--paper { background: var(--paper); }
.section--deep { background: var(--sand-deep); }
.section--pine { background: var(--pine); color: var(--sand); }
.section--pine h2, .section--pine h3 { color: var(--sand); }
.section--pine a { color: #A8C6D8; }
.section--pine a:hover { color: var(--ochre); }
/* кнопки не должны наследовать цвет ссылок тёмной секции */
.section--pine .btn--light, .section--pine .btn--light:hover { color: var(--pine); }
.section--pine .btn--glass, .section--pine .btn--glass:hover { color: #fff; }
.section--pine .btn--primary, .section--pine .btn--primary:hover { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.section--pine .section-head p { color: rgba(243, 239, 228, .78); }

/* ---------- триада: три домика ---------- */

.triad {
  display: inline-flex;
  gap: 5px;
  flex: none;
}
.triad i {
  width: 10px; height: 10px;
  border-radius: 2px;
}
.triad i:nth-child(1) { background: var(--falu); }
.triad i:nth-child(2) { background: var(--ochre); }
.triad i:nth-child(3) { background: var(--sage); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--falu);
  margin-bottom: 18px;
}
.section--pine .eyebrow { color: var(--ochre); }

/* ---------- кнопки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background: var(--falu); color: #fff; }
.btn--primary:hover { background: var(--falu-dark); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--pine); background: transparent; }
.btn--ghost:hover { border-color: var(--pine); color: var(--pine); }

.btn--glass {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
}
.btn--glass:hover { background: rgba(255, 255, 255, .2); color: #fff; }

.btn--light { background: var(--sand); color: var(--pine); }
.btn--light:hover { background: #fff; color: var(--pine); }

/* ---------- шапка ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(34, 49, 42, .92);
  backdrop-filter: blur(10px);
  color: var(--sand);
  border-bottom: 1px solid rgba(243, 239, 228, .12);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  color: var(--sand);
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { color: #fff; }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav a {
  display: block;
  padding: 8px 13px;
  border-radius: 8px;
  color: rgba(243, 239, 228, .85);
  text-decoration: none;
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover { color: #fff; background: rgba(243, 239, 228, .1); }

.header__ask {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  white-space: nowrap;
  cursor: pointer;
}
.header__ask:hover { color: var(--ochre); }

.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--sand);
  padding: 10px;
}
.burger svg { width: 100%; height: 100%; }
.burger .x { display: none; }
.nav-open .burger .bars { display: none; }
.nav-open .burger .x { display: block; }

@media (max-width: 1080px) {
  .burger { display: block; }
  .header__ask { margin-left: auto; }
  .burger { margin-left: 0; }
  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--pine);
    border-bottom: 1px solid rgba(243, 239, 228, .12);
    margin: 0;
    padding: 12px var(--gutter) 20px;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a { padding: 13px 8px; font-size: 1.05rem; border-bottom: 1px solid rgba(243, 239, 228, .08); border-radius: 0; }
}
@media (max-width: 560px) {
  .header__ask span { display: none; } /* остаётся иконка */
  .header__ask { padding: 10px; }
}

/* ---------- герой ---------- */

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(20, 32, 26, .82) 0%, rgba(20, 32, 26, .28) 45%, rgba(20, 32, 26, .30) 100%);
}
.hero__in {
  width: 100%;
  padding-block: clamp(56px, 8vw, 96px) clamp(48px, 7vw, 88px);
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .92);
  margin-bottom: 20px;
}
.hero h1 { max-width: 15ch; margin-bottom: .35em; }
.hero__sub {
  max-width: 56ch;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: rgba(255, 255, 255, .92);
  margin-bottom: 30px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 26px;
}
.hero__price {
  font-size: .98rem;
  color: rgba(255, 255, 255, .85);
}
.hero__price strong { color: #fff; font-size: 1.15rem; }

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(4px);
  font-size: .9rem;
  color: rgba(255, 255, 255, .92);
}
.hero__rating strong { font-size: 1.05rem; color: #fff; }
.hero__rating .star { color: var(--ochre); }

/* ---------- полоса фактов ---------- */

.facts { background: var(--pine); color: var(--sand); }
.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line-dark);
}
.fact {
  background: var(--pine);
  padding: 26px 24px;
  text-align: center;
}
.fact b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
}
.fact span { font-size: .92rem; color: rgba(243, 239, 228, .72); }
@media (max-width: 720px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- о базе ---------- */

.about {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.about__lead {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--pine);
  border-left: 4px solid var(--ochre);
  padding-left: 22px;
  margin: 26px 0;
}
.about__media { display: grid; gap: 16px; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.about__houses {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}
.house-chip {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.house-chip i {
  width: 14px; height: 14px;
  border-radius: 3px;
  flex: none;
}
@media (max-width: 880px) {
  .about { grid-template-columns: 1fr; }
}

/* ---------- дом и цены ---------- */

.house {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.house__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
}
.house__photo img { width: 100%; height: 100%; object-fit: cover; }

.house__list {
  columns: 2;
  column-gap: 28px;
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
}
.house__list li {
  break-inside: avoid;
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: .98rem;
}
.house__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 12px; height: 12px;
  border-radius: 3px;
  background: var(--sage);
}
.house__list li:nth-child(3n+1)::before { background: var(--falu); }
.house__list li:nth-child(3n+2)::before { background: var(--ochre); }

.price-card {
  margin-top: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.price-card__row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price-card__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--falu);
  font-variant-numeric: tabular-nums;
}
.price-tiers {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  font-size: .95rem;
}
.price-tiers li { padding: 4px 0; }
.price-card__note { color: var(--ink-soft); font-size: .95rem; margin: 12px 0 18px; }
.price-card .btn { width: 100%; }
@media (max-width: 880px) {
  .house { grid-template-columns: 1fr; }
  .house__photo { min-height: 240px; }
}
@media (max-width: 560px) {
  .house__list { columns: 1; }
}

/* ---------- услуги ---------- */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: var(--sand-deep);
}
.service:nth-child(3n+1) .service__icon { color: var(--falu); }
.service:nth-child(3n+2) .service__icon { color: #A97B27; }
.service:nth-child(3n)   .service__icon { color: #5F6E5E; }
.service h3 { font-family: var(--font-body); font-size: 1.04rem; font-weight: 600; margin: 0; }
.service p { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.service__free {
  align-self: flex-start;
  margin-top: auto;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--falu);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 3px 10px;
}
@media (max-width: 1020px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .services { grid-template-columns: 1fr; } }

/* ---------- рыбалка (тизер) ---------- */

.fishing {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.fishing__photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  transform: rotate(-1.2deg);
}
.fishing ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.fishing li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: rgba(243, 239, 228, .9);
}
.fishing li::before {
  content: '';
  position: absolute;
  left: 2px; top: 17px;
  width: 14px; height: 3px;
  border-radius: 2px;
  background: var(--ochre);
}
@media (max-width: 880px) {
  .fishing { grid-template-columns: 1fr; }
  .fishing__photo { transform: none; max-width: 480px; }
}

/* ---------- галерея ---------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gallery a, .gallery .gallery__video {
  border-radius: 12px;
  overflow: hidden;
  display: block;
  position: relative;
  background: var(--sand-deep);
}
.gallery img, .gallery video {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery a:hover img { transform: scale(1.045); }
.gallery .span-2w { grid-column: span 2; }
.gallery .span-2h { grid-row: span 2; }
.gallery__video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 32, 26, .18);
  pointer-events: none;
}
.gallery__video .play {
  position: absolute;
  z-index: 2;
  inset: 0;
  margin: auto;
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 249, 242, .92);
  color: var(--falu);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform .2s ease;
}
.gallery__video .play:hover { transform: scale(1.08); }
.gallery__video.playing::after, .gallery__video.playing .play { display: none; }
@media (max-width: 880px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}

/* лайтбокс */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
}
.lightbox::backdrop { background: rgba(15, 24, 19, .9); }
.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto; height: auto;
  margin-inline: auto;
  border-radius: 10px;
}
.lightbox figcaption {
  color: var(--sand);
  text-align: center;
  padding-top: 12px;
  font-size: .95rem;
}
.lightbox__close {
  position: fixed;
  top: 18px; right: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  background: rgba(251, 249, 242, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(251, 249, 242, .3); }

/* форма бронирования */
.booking {
  border: 0;
  padding: 0;
  background: transparent;
  width: min(92vw, 480px);
  max-width: min(92vw, 480px);
  max-height: 92dvh;
  overflow: visible;
}
.booking::backdrop { background: rgba(15, 24, 19, .88); }
.booking__form {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 28px 28px max(26px, env(safe-area-inset-bottom));
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  box-sizing: border-box;
  max-height: 92dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.booking__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 0;
  background: var(--sand-deep);
  color: var(--pine);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.booking__close:hover { background: var(--sand); }
.booking__title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin: 0 36px 6px 0;
}
.booking__lead { color: var(--ink-soft); font-size: .95rem; margin: 0 0 14px; }
.booking__prices {
  list-style: none;
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--sand);
  border-radius: 10px;
  font-size: .92rem;
}
.booking__prices li + li { margin-top: 6px; }
.booking__quote {
  margin: 0 0 18px;
  padding: 14px 16px;
  background: var(--sand);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--pine);
}
.booking__quote-label,
.booking__quote-sum,
.booking__quote-detail {
  display: block;
}
.booking__quote-label {
  font-weight: 650;
}
.booking__quote-sum {
  margin-top: 4px;
  font-size: calc(1rem + 4pt);
  font-weight: 700;
  line-height: 1.2;
}
.booking__quote-detail {
  margin-top: 4px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.booking__field {
  display: block;
  margin-bottom: 14px;
}
.booking__field span {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.booking__field input:not([type="date"]),
.booking__field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--pine);
  background: #fff;
}
.booking__field textarea {
  min-height: 110px;
  resize: vertical;
}
.booking__date-wrap {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.booking__date-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 24px; /* center of 48px input — not whole wrap with calendar */
  width: 1.125rem;
  height: 1.125rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 2;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322312A' stroke-width='2' stroke-linecap='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}
.booking__field input[type="date"],
.booking__field input.flatpickr-input,
.booking__field input.form-control {
  display: block;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
  min-height: 48px;
  padding: 12px 2.5rem 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 16px;
  line-height: 1.25;
  color: var(--pine);
  background: #fff;
  cursor: pointer;
}
.booking__field input.form-control:disabled,
.booking__field input.form-control.is-disabled,
.booking__field input:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: #f3f2ef;
  color: var(--ink-soft);
}
.booking__field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
.booking__field input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

/* flatpickr: in-flow calendar (default .static is absolute and overlaps) */
.booking .flatpickr-wrapper {
  display: block;
  width: 100%;
}
.booking .flatpickr-calendar {
  z-index: 5;
  font-family: inherit;
}
.booking .flatpickr-calendar.static {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: 100% !important;
  max-width: 100%;
  margin: 8px 0 4px;
  padding: 10px 8px 12px;
  box-shadow: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
}
.booking .flatpickr-calendar.arrowTop::before,
.booking .flatpickr-calendar.arrowTop::after,
.booking .flatpickr-calendar.arrowBottom::before,
.booking .flatpickr-calendar.arrowBottom::after {
  display: none;
}
.booking .flatpickr-months {
  align-items: center;
  margin-bottom: 4px;
}
.booking .flatpickr-current-month {
  font-size: 1rem;
  font-weight: 650;
  color: var(--pine);
  padding-top: 0;
}
.booking .flatpickr-months .flatpickr-prev-month,
.booking .flatpickr-months .flatpickr-next-month {
  fill: var(--pine);
  color: var(--pine);
  padding: 6px;
}
.booking .flatpickr-weekdays {
  height: 28px;
}
.booking .flatpickr-weekday {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: .75rem;
}
.booking .flatpickr-innerContainer,
.booking .flatpickr-rContainer,
.booking .flatpickr-days {
  width: 100% !important;
  max-width: 100% !important;
}
.booking .dayContainer {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.booking .flatpickr-day {
  flex: 0 0 14.2857%;
  width: 14.2857% !important;
  max-width: 14.2857% !important;
  height: 40px;
  line-height: 40px;
  margin: 0;
  border-radius: 8px;
  border: 0;
  box-sizing: border-box;
  color: #142018 !important;
  font-weight: 650;
  font-size: .9rem;
  background: #8fd49a;
}
.booking .flatpickr-day:hover,
.booking .flatpickr-day:focus {
  background: #6fbf7d;
  border-color: transparent;
}
.booking .flatpickr-day.selected,
.booking .flatpickr-day.startRange,
.booking .flatpickr-day.endRange {
  background: var(--pine) !important;
  color: #fff !important;
  border-color: transparent;
}
.booking .flatpickr-calendar .flatpickr-day.flatpickr-disabled,
.booking .flatpickr-calendar .flatpickr-day.flatpickr-disabled:hover,
.booking .flatpickr-calendar .flatpickr-day.prevMonthDay,
.booking .flatpickr-calendar .flatpickr-day.nextMonthDay,
.booking .flatpickr-calendar .flatpickr-day.prevMonthDay.flatpickr-disabled,
.booking .flatpickr-calendar .flatpickr-day.nextMonthDay.flatpickr-disabled {
  background: #e4e7e4 !important;
  color: #5c6560 !important;
  font-weight: 600;
  opacity: 1 !important;
  cursor: not-allowed;
}
.booking__field input:focus,
.booking__field textarea:focus {
  outline: 2px solid var(--water);
  outline-offset: 1px;
}
.booking__dates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.booking__hint {
  color: var(--ink-soft);
  font-size: .85rem;
  margin: 0 0 16px;
}
.booking__notice {
  margin: 0 0 14px;
  padding: 12px 14px;
  background: rgba(70, 112, 138, .12);
  border-radius: 10px;
  font-size: .9rem;
}
.booking__notice--error { background: rgba(150, 56, 44, .12); }
.booking__submit { width: 100%; }
.booking__submit:disabled { opacity: .65; cursor: wait; }
.booking__form.is-sent .booking__submit { display: none; }
@media (max-width: 760px) {
  .booking__form { padding: 22px 20px max(20px, env(safe-area-inset-bottom)); }
  .booking__title { font-size: 1.35rem; }
  .booking__prices { margin-bottom: 14px; padding: 12px 14px; }
  .booking__field { margin-bottom: 12px; }
}

/* ---------- отзывы ---------- */

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--pine);
  color: var(--sand);
  border-radius: var(--radius);
  padding: 16px 22px;
}
.rating-badge b {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--ochre);
  font-variant-numeric: tabular-nums;
}
.rating-badge span { font-size: .88rem; line-height: 1.4; color: rgba(243, 239, 228, .8); }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.review p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.5;
  flex: 1;
}
.review footer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .95rem;
}
.review footer::before {
  content: '';
  width: 22px; height: 3px;
  border-radius: 2px;
  background: var(--falu);
}
.review:nth-child(3n+2) footer::before { background: var(--ochre); }
.review:nth-child(3n) footer::before { background: var(--sage); }
@media (max-width: 880px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 1.06rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--falu);
  flex: none;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 4px 20px; max-width: 66ch; }

/* ---------- как добраться / контакты ---------- */

.route {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(28px, 4vw, 56px);
}
.route__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line-dark);
}
.route__map iframe {
  width: 100%; height: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}
.map-facade {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%; height: 100%;
  min-height: 380px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(70, 112, 138, .35), transparent 55%),
    radial-gradient(ellipse at 75% 80%, rgba(138, 150, 137, .25), transparent 50%),
    var(--pine-soft);
  color: var(--sand);
  text-decoration: none;
  text-align: center;
  padding: 24px;
}
.map-facade:hover { color: #fff; }
.map-facade svg { color: var(--ochre); }
.map-facade b { font-size: 1.15rem; }
.map-facade span { font-size: .9rem; color: rgba(243, 239, 228, .7); max-width: 34ch; }
.route__steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: step;
}
.route__steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 52px;
}
.route__steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -2px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--pine-soft);
  color: var(--ochre);
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
}
.route__steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px; top: 36px; bottom: 4px;
  width: 2px;
  background: var(--line-dark);
}
.route__steps b { color: #fff; }
.route__steps li { color: rgba(243, 239, 228, .85); }
@media (max-width: 880px) {
  .route { grid-template-columns: 1fr; }
}

.contact-strip {
  margin-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid var(--line-dark);
  padding-top: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.contact-strip__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  color: #fff;
  margin: 0;
}
.contact-strip__note { color: rgba(243, 239, 228, .7); font-size: .95rem; margin-top: 6px; }
.contact-strip__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- футер ---------- */

.footer {
  background: #1A2620;
  color: rgba(243, 239, 228, .66);
  font-size: .92rem;
}
.footer__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 30px;
}
.footer a { color: rgba(243, 239, 228, .85); }
.footer .logo { font-size: 1.05rem; }

/* ---------- мобильная CTA-панель ---------- */

.cta-bar {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  background: rgba(26, 38, 32, .97);
  backdrop-filter: blur(8px);
  padding: 10px max(12px, env(safe-area-inset-left)) max(10px, env(safe-area-inset-bottom));
  gap: 10px;
}
.cta-bar .btn { flex: 1; padding: 13px 10px; font-size: .95rem; }
@media (max-width: 760px) {
  .cta-bar.is-visible { display: flex; }
  body.cta-bar-visible { padding-bottom: 74px; }
}

/* ---------- появление при прокрутке ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- страница «Рыбалка» ---------- */

.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.page-hero .hero__media::after {
  background: linear-gradient(to top, rgba(20, 32, 26, .84) 0%, rgba(20, 32, 26, .3) 60%);
}
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 20ch; }
.page-hero__in { width: 100%; padding-block: 72px 56px; }

.prose { max-width: 720px; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: .45em; }

.breadcrumbs {
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
  margin-bottom: 14px;
}
.breadcrumbs a { color: rgba(255, 255, 255, .8); }
.breadcrumbs a:hover { color: #fff; }
