/* ==========================================================================
   Город-на-Озере 2026 — дизайн-система
   ========================================================================== */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/opensans-400-cyrext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/opensans-400-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/opensans-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/opensans-500-cyrext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/opensans-500-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/opensans-500-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/opensans-600-cyrext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/opensans-600-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/opensans-600-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/philosopher-400-cyrext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/philosopher-400-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/philosopher-400-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/philosopher-700-cyrext.woff2") format("woff2");
  unicode-range:
    U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/philosopher-700-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Philosopher";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/philosopher-700-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --green: #293625;
  --milk: #e5ded6;
  --graphite: #414141;
  --white: #ffffff;
  --sand: #c9bfa5;
  --olive: #5b6650;
  --wine: #6b3a3a;

  --font-head: "Philosopher", Georgia, serif;
  --font-body: "Open Sans", -apple-system, sans-serif;

  --header-h: 70px;
  --container: 1200px;
  --content-narrow: 720px;

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

* {
  box-sizing: border-box;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--green);
  margin: 0 0 0.5em;
  line-height: 1.2;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.content-narrow {
  max-width: var(--content-narrow);
  margin: 0 auto;
}

section {
  padding: 96px 0;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  color: var(--olive);
  margin-bottom: 16px;
  display: block;
  font-weight: 600;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 32px;
}

.quote {
  font-family: var(--font-head);
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.4;
  color: var(--green);
  border-left: 3px solid var(--sand);
  padding-left: 24px;
  margin: 28px 0;
}

/* Reveal-on-scroll (progressive enhancement: content is visible by default,
   JS opts in to the hidden-then-fade state so a failed/slow/blocked script
   never leaves the page permanently blank) */
.reveal {
  opacity: 1;
  transform: none;
}
html.js-reveal .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
html.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 32px;
  cursor: pointer;
  border: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--milk);
  color: var(--green);
}
.btn-primary:hover {
  background: var(--graphite);
  color: var(--milk);
}

.btn-outline {
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: var(--milk);
}

.btn-outline-light {
  background: transparent;
  color: var(--milk);
  border: 1px solid var(--milk);
}
.btn-outline-light:hover {
  background: var(--milk);
  color: var(--green);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 17px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--green);
  display: flex;
  align-items: center;
  transition:
    height 0.3s var(--ease),
    box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  height: 58px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
  width: 100%;
}

.brand {
  flex: 0 0 auto;
  margin-right: auto;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--milk);
}
.brand-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--milk);
  white-space: nowrap;
}
.brand-sub {
  font-size: 12px;
  color: var(--milk);
  opacity: 0.7;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
  flex-shrink: 1;
  min-width: 0;
}
.main-nav a {
  color: var(--milk);
  text-decoration: none;
  font-size: clamp(13px, 1.1vw, 15px);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--white);
}

.header-cta {
  margin-left: 8px;
  flex-shrink: 0;
  padding: 12px 24px;
  font-size: 14px;
}

.burger {
  display: none;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--milk);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.burger span {
  top: 15px;
}
.burger span::before {
  top: -8px;
}
.burger span::after {
  top: 8px;
}
.burger.is-open span {
  background: transparent;
}
.burger.is-open span::before {
  transform: translateY(8px) rotate(45deg);
}
.burger.is-open span::after {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: 140px 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--olive), var(--green) 60%);
  overflow: hidden;
  will-change: transform;
}

.hero-collage {
  position: relative;
  z-index: 2;
  margin-top: 48px;
}
.hero-collage img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.3);
}

@media (max-width: 780px) {
  .hero {
    padding: 112px 20px 64px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  width: 100%;
}

.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  color: var(--white);
  margin-bottom: 6px;
}
.hero-subtitle {
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--milk);
  margin-bottom: 16px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 15px;
  color: var(--milk);
  margin-bottom: 28px;
}
.hero-meta span {
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.hero .btn-primary {
  animation: heroPulse 2.4s infinite;
}
@keyframes heroPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(229, 222, 214, 0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(229, 222, 214, 0);
  }
}

/* ==========================================================================
   Editorial text blocks (manifest, время и отношения)
   ========================================================================== */

.editorial p {
  font-size: 18px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.editorial p em {
  font-family: var(--font-head);
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}
.editorial ul {
  font-size: 18px;
  line-height: 1.5;
  padding-left: 20px;
}
.editorial ul li {
  margin-bottom: 6px;
}

.scene {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sand), var(--olive));
  aspect-ratio: 16/9;
  margin: 40px 0;
}
.scene img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scene .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  text-align: center;
  padding: 16px;
  letter-spacing: 0.05em;
}

.split-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin: 36px 0;
}
.split-columns h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

/* ==========================================================================
   Город 2026 stat block
   ========================================================================== */

.stat-block {
  background: var(--green);
  color: var(--milk);
  border-radius: 8px;
  padding: 64px 48px;
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(72px, 10vw, 120px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat-caption {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 8px;
}
.stat-text {
  flex: 1;
  min-width: 260px;
  font-size: 17px;
}

/* ==========================================================================
   Archive: video + galleries
   ========================================================================== */

.video-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--graphite);
  margin-bottom: 56px;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.gallery-year-timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}
.gallery-year-btn {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--graphite);
  opacity: 0.4;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  position: relative;
  transition:
    opacity 0.3s ease,
    color 0.3s ease;
}
.gallery-year-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--wine);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.gallery-year-btn + .gallery-year-btn::before {
  content: "·";
  position: absolute;
  left: -12px;
  opacity: 0.4;
}
.gallery-year-btn.is-active {
  opacity: 1;
  color: var(--green);
  font-size: 32px;
}
.gallery-year-btn.is-active::after {
  transform: scaleX(1);
}

.gallery-video-player {
  position: relative;
  width: 100%;
  max-width: 860px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(41, 54, 37, 0.18);
  background: var(--green);
}
.gallery-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.gallery-video-player.is-empty iframe {
  display: none;
}
.gallery-video-player.is-empty::after {
  content: "Видео скоро появится";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}
.video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.25s ease;
}
.video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play-btn {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding-left: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
}
.video-poster:hover .video-play-btn {
  transform: scale(1.06);
}
.video-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
}

/* Focused carousel: center slide large, neighbors peeking on the sides */
.focus-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Hint that appears next to an arrow only right at a year boundary,
   e.g. "Дальше — Город 2024" */
.carousel-hint {
  position: absolute;
  bottom: -32px;
  font-size: 13px;
  color: var(--olive);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}
.carousel-hint.is-visible {
  opacity: 1;
}
.carousel-hint--prev {
  left: 48px;
}
.carousel-hint--next {
  right: 48px;
}
@media (max-width: 640px) {
  .carousel-hint--prev {
    left: 8px;
  }
  .carousel-hint--next {
    right: 8px;
  }
}
.focus-track {
  position: relative;
  width: 100%;
  max-width: 1320px;
  height: 660px;
  margin: 0 auto;
}
.focus-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 100%;
  border: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.82);
  transition:
    transform 0.5s var(--ease),
    opacity 0.5s var(--ease),
    filter 0.5s var(--ease);
  z-index: 1;
}
.focus-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.focus-slide.is-current {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: 3;
  pointer-events: auto;
}
.focus-slide.is-prev,
.focus-slide.is-next {
  width: 34%;
  height: 76%;
  opacity: 0.55;
  filter: brightness(0.7);
  z-index: 2;
  pointer-events: auto;
}
.focus-slide.is-prev {
  transform: translate(calc(-50% - 84%), -50%) scale(0.92);
}
.focus-slide.is-next {
  transform: translate(calc(-50% + 84%), -50%) scale(0.92);
}
.focus-slide.is-prev:hover,
.focus-slide.is-next:hover {
  opacity: 0.8;
  filter: brightness(0.85);
}

.focus-arrow {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: var(--milk);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  z-index: 4;
}
.focus-arrow:hover {
  background: var(--graphite);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(20, 24, 17, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 4px;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(229, 222, 214, 0.15);
  color: var(--milk);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(229, 222, 214, 0.3);
}
.lightbox-close {
  top: 24px;
  right: 24px;
}
.lightbox-prev {
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-next {
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--milk);
  font-size: 13px;
  opacity: 0.7;
}

/* ==========================================================================
   Для кого
   ========================================================================== */

.for-whom-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 32px 0;
}
.for-whom-item {
  background: var(--milk);
  border-radius: 4px;
  padding: 14px 16px;
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.3;
  color: var(--green);
}

/* ==========================================================================
   Location
   ========================================================================== */

.location-hero {
  aspect-ratio: 21/9;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--olive), var(--green));
  margin-bottom: 48px;
  position: relative;
}
.location-hero .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}
.location-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.location-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 40px 0;
}
.location-gallery .scene {
  margin: 0;
  aspect-ratio: 1;
}
.location-map-cta {
  margin-top: 32px;
}

/* ==========================================================================
   Reviews
   ========================================================================== */

.reviews-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0;
}
.reviews-featured img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 16px 32px rgba(41, 54, 37, 0.14);
}

.reviews-strip {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  margin: 0 0 8px;
  -webkit-overflow-scrolling: touch;
}
.review-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  flex-shrink: 0;
}

.review-quote {
  flex: 0 0 auto;
  width: 360px;
  scroll-snap-align: start;
  margin: 0;
  padding: 28px 24px;
  background: var(--milk);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.review-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-width: 100%;
}
.review-name {
  font-family: var(--font-head);
  font-size: 16px;
  line-height: 1.25;
  color: var(--green);
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}
.review-handle {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--wine);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.review-handle:hover {
  text-decoration: underline;
}
.review-quote p {
  font-family: var(--font-head);
  font-size: 17px;
  line-height: 1.5;
  color: var(--graphite);
  margin: 0;
}

@media (max-width: 780px) {
  .reviews-featured {
    grid-template-columns: 1fr;
  }
  .review-quote {
    width: 300px;
  }
  .review-avatar {
    width: 64px;
    height: 64px;
  }
}

/* ==========================================================================
   Program accordion
   ========================================================================== */

.program-days {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.day-item {
  border: 1px solid rgba(41, 54, 37, 0.12);
  border-radius: 8px;
  overflow: hidden;
}
.day-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--milk);
  border: none;
  padding: 22px 28px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--green);
}
.day-header .day-date {
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--olive);
  font-weight: 600;
}
.day-header .chevron {
  transition: transform 0.3s var(--ease);
  font-size: 18px;
}
.day-item.is-open .chevron {
  transform: rotate(180deg);
}

.day-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  background: var(--white);
}
.day-item.is-open .day-panel {
  max-height: 4000px;
}

.slots {
  padding: 8px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.slot {
  display: flex;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(41, 54, 37, 0.08);
}
.slot:first-child {
  border-top: none;
}
.slot-time {
  flex: 0 0 100px;
  font-weight: 600;
  color: var(--olive);
  font-size: 14px;
  padding-top: 2px;
}
.slot-body {
  flex: 1;
  min-width: 0;
}
.slot-title {
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--green);
  margin-bottom: 4px;
}
.slot-desc {
  font-size: 15px;
  color: var(--graphite);
  margin-bottom: 6px;
}
.slot-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  color: var(--olive);
}
.slot-meta b {
  color: var(--graphite);
  font-weight: 600;
}
.slot-note {
  font-size: 13px;
  color: var(--wine);
  margin-top: 6px;
}

.slot-poster {
  margin-top: 16px;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 480px;
  background: linear-gradient(135deg, var(--sand), var(--olive));
  position: relative;
}
.slot-poster .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  padding: 12px;
  text-align: center;
}
.slot-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-placeholder {
  margin-top: 16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--green);
  color: var(--milk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}

/* ==========================================================================
   Cost
   ========================================================================== */

.cost-questions {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 40px 0;
}
.cq-line {
  position: relative;
  display: inline-block;
  width: fit-content;
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 20px);
  color: var(--graphite);
  opacity: 0.75;
  margin: 0;
  padding: 9px 0;
}

/* Arrow of consequence: each question leads to the next */
.cq-arrow {
  display: block;
  padding-left: 6px;
  color: var(--sand);
  font-size: 18px;
  line-height: 1;
  opacity: 0.7;
}

/* The final, most tangled question is the weightiest one —
   right before the simple answer ("Пожалуй, бесценно.") lands */
.cq-line--last {
  opacity: 1;
  font-weight: 700;
  color: var(--green);
}

/* Price tag: the one answer that isn't crossed out */
.price-tag {
  position: relative;
  max-width: 380px;
  margin: 64px auto 0;
  background: var(--green);
  color: var(--milk);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 30px);
  text-align: center;
  padding: 36px 32px 36px 52px;
  border-radius: 4px;
  transform: rotate(-2deg);
  box-shadow: 0 16px 32px rgba(41, 54, 37, 0.22);
}
.price-tag::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--milk);
  transform: translateY(-50%);
  box-shadow: inset 0 0 0 4px var(--green);
}
.price-tag::after {
  content: "";
  position: absolute;
  left: 26px;
  top: -28px;
  width: 2px;
  height: 32px;
  background: rgba(65, 65, 65, 0.35);
}

.cost-card {
  background: var(--green);
  color: var(--milk);
  border-radius: 8px;
  padding: 48px;
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-main {
  font-family: var(--font-head);
  font-size: 40px;
  color: var(--white);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.price-old {
  font-size: 20px;
  color: var(--milk);
  opacity: 0.5;
  text-decoration: line-through;
  white-space: nowrap;
}
.price-note {
  font-size: 14px;
  color: var(--milk);
  opacity: 0.75;
}
.cost-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Как доехать
   ========================================================================== */

.route-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 40px 0;
}
.route-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.route-step-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--milk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
}
.route-step-body h4 {
  font-size: 17px;
  margin-bottom: 4px;
}
.route-step-body p {
  margin: 0;
  font-size: 15px;
}

.arrival-box {
  background: var(--milk);
  border-radius: 8px;
  padding: 28px 32px;
  margin-top: 40px;
}
.arrival-box h4 {
  margin-bottom: 12px;
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-item {
  border-bottom: 1px solid rgba(41, 54, 37, 0.12);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 22px 4px;
  cursor: pointer;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--green);
  font-family: var(--font-body);
}
.faq-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--olive);
  transition: transform 0.3s ease-in-out;
}
.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
}
.faq-item.is-open .faq-answer {
  max-height: 600px;
}
.faq-answer p {
  padding: 0 4px 22px;
  margin: 0;
  font-size: 15px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--green);
  color: var(--milk);
  padding: 64px 0 32px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .brand-name {
  font-size: 24px;
}
.footer-brand .brand-sub {
  display: block;
  margin-top: 4px;
  opacity: 0.7;
}

.social-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 12px;
}
.social-icons {
  display: flex;
  gap: 12px;
}
.social-icons a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--milk);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition:
    background 0.2s ease-in-out,
    color 0.2s ease-in-out;
}
.social-icons a:hover {
  background: var(--green);
  color: var(--milk);
  outline: 1px solid var(--milk);
}
.social-icons svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(229, 222, 214, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  opacity: 0.7;
}
.footer-bottom a {
  text-decoration: underline;
}

.footer-legal {
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 13px;
  opacity: 0.7;
}
.footer-legal a,
.footer-legal-link {
  color: inherit;
  text-decoration: underline;
}
.footer-legal-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Cookie consent
   ========================================================================== */

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  max-width: 640px;
  margin: 0 auto;
  background: var(--green);
  color: var(--milk);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.25);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 16px;
}
.cookie-banner a {
  color: inherit;
  text-decoration: underline;
}
.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cookie-banner-actions .btn {
  flex: 1 1 auto;
  text-align: center;
  white-space: nowrap;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 20, 18, 0.6);
}
.cookie-modal[hidden] {
  display: none;
}
.cookie-modal-card {
  background: var(--milk);
  color: var(--green);
  border-radius: 12px;
  padding: 28px;
  max-width: 480px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
}
.cookie-modal-card h3 {
  margin: 0 0 16px;
}
.cookie-option {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.cookie-option:first-of-type {
  border-top: none;
}
.cookie-option-text b {
  display: block;
  margin-bottom: 4px;
}
.cookie-option-text span {
  font-size: 13px;
  opacity: 0.75;
}
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.cookie-modal-actions .btn {
  flex: 1 1 auto;
  text-align: center;
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--green);
  padding: 12px 16px;
  display: none;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(0);
  transition: transform 0.3s var(--ease);
}
.sticky-cta.is-hidden {
  transform: translateY(100%);
}
.sticky-cta .btn {
  width: 100%;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: block;
  }
  .header-cta.desktop-only {
    display: none;
  }

  .mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--green);
    display: flex;
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.3s var(--ease),
      opacity 0.3s ease;
    z-index: 999;
  }
  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .mobile-nav a:not(.btn) {
    color: var(--milk);
    text-decoration: none;
    padding: 14px 4px;
    border-bottom: 1px solid rgba(229, 222, 214, 0.12);
    font-size: 16px;
  }
  .mobile-nav .btn {
    margin-top: 16px;
  }

  .split-columns {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .focus-track {
    height: 320px;
  }
  .focus-slide.is-current {
    width: 80%;
  }
  .focus-slide.is-prev {
    transform: translate(calc(-50% - 62%), -50%) scale(0.85);
  }
  .focus-slide.is-next {
    transform: translate(calc(-50% + 62%), -50%) scale(0.85);
  }
  .for-whom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .location-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-block {
    padding: 40px 28px;
  }
  .cost-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .sticky-cta {
    display: block;
  }
  .slot {
    flex-direction: column;
    gap: 8px;
  }
  .slot-time {
    flex: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 64px 0;
  }
  .focus-track {
    height: 240px;
  }
  .focus-slide.is-current {
    width: 92%;
  }
  .focus-slide.is-prev,
  .focus-slide.is-next {
    width: 20%;
    height: 60%;
    opacity: 0.4;
  }
  .focus-slide.is-prev {
    transform: translate(calc(-50% - 54%), -50%) scale(0.8);
  }
  .focus-slide.is-next {
    transform: translate(calc(-50% + 54%), -50%) scale(0.8);
  }
  .focus-arrow {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .day-header {
    padding: 18px 20px;
    font-size: 17px;
  }
  .slots {
    padding: 4px 20px 20px;
  }
}
