/* Dag Tours — стили сайта v2. Токены, база, секции по порядку страницы. */

:root {
  --ink: #0f1b24;        /* ночь в горах */
  --ink-2: #16262f;
  --foam: #eef2f1;       /* каспийская пена, светлый фон */
  --paper: #ffffff;
  --sulak: #19b3c2;      /* бирюза Сулака */
  --sulak-deep: #0d7f8b;
  --sun: #ffb03b;        /* солнце: кнопки, маркер */
  --text: #16262f;
  --text-soft: rgba(22, 38, 47, 0.68);
  --on-dark: #f3f6f5;
  --on-dark-soft: rgba(243, 246, 245, 0.72);
  --line: rgba(22, 38, 47, 0.12);
  --line-dark: rgba(243, 246, 245, 0.14);

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --body: 'Golos Text', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Caveat', 'Comic Sans MS', cursive;

  --r-sheet: 28px;
  --r-card: 20px;
  --r-pill: 999px;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: calc(var(--nav-h) + 28px); }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--foam);
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
::selection { background: var(--sun); color: var(--ink); }
[hidden] { display: none !important; }

.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Типографика */
.h-display { font-family: var(--display); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.015em; }
.h3 { font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 62ch; }
.soft { color: var(--text-soft); }
.hand { font-family: var(--hand); font-weight: 600; font-size: 1.45em; line-height: 1.1; }
.mark {
  background: linear-gradient(104deg, transparent 2%, var(--sun) 3%, var(--sun) 97%, transparent 98%);
  padding: 0.05em 0.3em; margin-inline: -0.2em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  color: var(--ink);
}
.locs { font-weight: 500; color: var(--text-soft); }
.locs span + span::before { content: ' / '; color: var(--sulak); }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 16px; line-height: 1; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.2s, box-shadow 0.25s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 176, 59, 0.35); }
.btn--sun:hover { background: #ffc061; transform: translateY(-1px); box-shadow: 0 12px 30px rgba(255, 176, 59, 0.45); }
.btn--ghost { color: var(--on-dark); border: 1.5px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--ink { background: var(--ink); color: var(--on-dark); }
.btn--ink:hover { background: var(--ink-2); }
.btn--line { color: var(--text); border: 1.5px solid var(--text); }
.btn--line:hover { background: var(--ink); color: var(--on-dark); }
.btn--wa { background: #25d366; color: #052e16; }
.btn--wa:hover { background: #3fe07c; }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn svg { width: 20px; height: 20px; }

/* Меню */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; display: flex; justify-content: center; padding-inline: 0; pointer-events: none; transition: transform 0.45s var(--ease); }
.nav__bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 6px;
  height: var(--nav-h); padding: 6px 8px 6px 16px;
  border-radius: var(--r-pill);
  background: rgba(15, 27, 36, 0.6);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--on-dark);
  width: min(100% - 2 * var(--gutter) + 24px, var(--max));
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}
.nav--light .nav__bar { background: rgba(255, 255, 255, 0.78); color: var(--ink); border-color: rgba(15, 27, 36, 0.08); }
.nav--light .nav__logo img { filter: invert(1); }
.nav--light .nav__links a:hover { background: rgba(15, 27, 36, 0.08); }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 0.02em; margin-right: auto; }
.nav__logo img { width: 34px; height: 24px; object-fit: contain; transition: filter 0.35s; }
.nav__links { display: flex; gap: 2px; }
.nav__links a { padding: 10px 13px; border-radius: var(--r-pill); font-size: 15px; font-weight: 500; text-decoration: none; opacity: 0.9; }
.nav__links a:hover { background: rgba(255, 255, 255, 0.12); opacity: 1; }
.nav__links-cta { display: none; }
.nav__cta { margin-left: 6px; }
.nav__menu { display: none; }
.nav__menu > summary { list-style: none; display: grid; width: 44px; height: 44px; border-radius: 50%; place-items: center; cursor: pointer; }
.nav__menu > summary::-webkit-details-marker { display: none; }
.nav__menu > summary svg { width: 22px; height: 22px; }
.nav__menu[open] > summary { background: rgba(255, 255, 255, 0.12); }
@media (max-width: 900px) {
  .nav__bar { padding-left: 12px; }
  .nav__menu { display: block; }
  .nav__links {
    display: none; flex-direction: column; position: absolute; right: 8px; top: 64px; min-width: 250px;
    padding: 10px; border-radius: 22px; color: var(--on-dark);
    background: rgba(15, 27, 36, 0.95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
  }
  .nav__bar:has(.nav__menu[open]) .nav__links, .nav__bar.nav--open .nav__links { display: flex; }
  .nav__links a { padding: 12px 14px; font-size: 16px; }
  .nav__links-cta { display: block; margin-top: 6px; background: var(--sun); color: var(--ink); text-align: center; font-weight: 600; }
  .nav__cta { display: none; }
}
@media (max-width: 400px) { .nav__logo span { font-size: 13px; } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: var(--on-dark); background: var(--ink); isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.12); }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 36, 0.25) 0%, rgba(15, 27, 36, 0) 30%, rgba(15, 27, 36, 0.1) 50%, rgba(15, 27, 36, 0.78) 88%, rgba(15, 27, 36, 0.9) 100%); }
.hero__inner { padding: calc(var(--nav-h) + 60px) 0 clamp(200px, 24vh, 260px); }
.hero__title { display: grid; }
.hero__kicker { font-family: var(--display); font-weight: 700; font-size: clamp(16px, 2.2vw, 26px); letter-spacing: 0.01em; color: var(--sun); }
.hero__line { display: block; overflow: hidden; margin-top: 6px; padding-bottom: 0.08em; }
.hero__line .word { display: block; font-size: clamp(46px, 9.6vw, 150px); }
.hero__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: clamp(20px, 3vw, 36px); }
.hero__text { max-width: 54ch; font-size: clamp(16px, 1.3vw, 19px); color: var(--on-dark-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.ticket {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: center;
  padding: 14px 18px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18); text-decoration: none;
}
.ticket__date { grid-row: span 2; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; color: var(--sun); }
.ticket__l { font-size: 14px; color: var(--on-dark-soft); }
.ticket__v { font-weight: 600; white-space: nowrap; }
.hero__scroll { position: absolute; left: 50%; bottom: 150px; transform: translateX(-50%); font-size: 13px; color: var(--on-dark-soft); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hero__scroll::after { content: ''; width: 1px; height: 36px; background: linear-gradient(var(--sun), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 700px) { .hero__scroll { display: none; } .hero__inner { padding-bottom: 90px; } }
@media (max-width: 480px) { .ticket { grid-template-columns: 1fr; gap: 2px; } .ticket__date { grid-row: auto; font-size: 26px; margin-bottom: 4px; } }

/* Hero: один оркестрованный момент при загрузке */
.js .hero__media img { animation: hero-zoom 1.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.js .hero__kicker { animation: rise 0.7s var(--ease) 0.1s both; }
.js .hero__line .word { animation: slide-up 0.8s var(--ease) 0.22s both; }
.js .hero__text, .js .hero__actions { animation: rise 0.7s var(--ease) 0.45s both; }
.js .ticket { animation: stamp 0.6s var(--ease) 0.62s both; }
.js .nav__bar { animation: rise 0.7s var(--ease) 0.7s both; }
.js .hero__scroll { animation: rise 0.8s var(--ease) 1.4s both; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes slide-up { from { transform: translateY(110%); } to { transform: none; } }
@keyframes stamp { from { opacity: 0; transform: rotate(-3deg) scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: none; } }
@media (max-width: 700px) { .js .hero__media img { animation: none; } }

/* Горные переходы между секциями: дальние хребты светлее, ближний уходит градиентом в цвет секции */
.mtn { position: relative; z-index: 2; height: 180px; margin-top: -180px; pointer-events: none; }
.mtn svg { width: 100%; height: 100%; display: block; }
.mtn--foam-hero { --m-back: rgba(238, 242, 241, 0.35); --m-mid: rgba(238, 242, 241, 0.62); --m-mid-b: rgba(238, 242, 241, 0.8); --m-front-top: #d9e2e0; --m-front: #eef2f1; --m-snow: #ffffff; --m-river: #7fa6ad; }
.mtn--foam-tours { --m-back: #34444f; --m-mid: #8a9ba2; --m-mid-b: #b3c1c4; --m-front-top: #cfd9d7; --m-front: #eef2f1; --m-snow: #e8eff1; --m-river: #5e8a94; }
.mtn--sulak { --m-back: #214852; --m-mid: #0e6470; --m-mid-b: #0d727e; --m-front-top: #0a6e79; --m-front: #0d7f8b; --m-snow: #cfe9ec; --m-river: #9fd9e0; }
.mtn--ink-film { --m-back: #c9d4d8; --m-mid: #6f808b; --m-mid-b: #4b5b67; --m-front-top: #2b3b47; --m-front: #0f1b24; --m-snow: #f2f6f7; --m-river: #9bbcc4; }
.mtn--ink { --m-back: #c7d2d7; --m-mid: #6e7f8a; --m-mid-b: #4a5a66; --m-front-top: #2b3b47; --m-front: #0f1b24; --m-snow: #f2f6f7; --m-river: #9bbcc4; }
@media (max-width: 700px) { .mtn { height: 110px; margin-top: -110px; } }

/* Лист-вступление, наезжающий на hero */
.sheet {
  position: relative; z-index: 3; margin: 28px auto clamp(200px, 22vw, 260px);
  background: var(--paper); border-radius: var(--r-sheet);
  padding: clamp(28px, 5vw, 64px);
  box-shadow: 0 30px 80px rgba(15, 27, 36, 0.18);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  overflow: hidden;
}
.sheet__doodle { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0.5; }
.sheet > :not(.sheet__doodle) { position: relative; z-index: 1; }
.sheet__title { font-size: clamp(26px, 3.6vw, 44px); }
.perks { margin-top: 26px; display: grid; gap: 12px; }
.perks li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 17px; }
.perks svg { width: 28px; height: 28px; color: var(--sulak); margin-top: 1px; }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.polaroid { position: absolute; padding: 8px 8px 30px; background: #fff; border-radius: 4px; box-shadow: 0 18px 44px rgba(15, 27, 36, 0.22); }
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.polaroid figcaption { position: absolute; left: 10px; right: 10px; bottom: 6px; font-family: var(--hand); font-weight: 600; font-size: 20px; color: var(--text-soft); text-align: center; line-height: 1; }
.collage__a { left: 0; top: 4%; width: 56%; aspect-ratio: 3 / 4.3; transform: rotate(-4deg); }
.collage__b { right: 0; top: 0; width: 44%; aspect-ratio: 4 / 5.6; transform: rotate(3deg); }
.collage__c { right: 10%; bottom: 0; width: 52%; aspect-ratio: 4 / 3.6; transform: rotate(-2deg); }
.stamp { position: absolute; left: 2%; bottom: 6%; width: 120px; height: 120px; color: var(--sulak-deep); transform: rotate(-12deg); opacity: 0.85; z-index: 2; font-family: var(--body); }
.js .collage .polaroid { animation: lay 0.7s var(--ease) both; }
.js .collage__b { animation-delay: 0.08s; } .js .collage__c { animation-delay: 0.16s; }
@keyframes lay { from { opacity: 0; transform: translateY(16px) rotate(0); } }
@media (max-width: 860px) { .sheet { grid-template-columns: 1fr; } .collage { max-width: 420px; } }

/* ДОРОГА-ФИЛЬМ */
.film { position: relative; background: var(--ink); color: var(--on-dark); margin-top: 0; }
.film__intro { padding: clamp(40px, 6vw, 80px) 0 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.film__intro .h2 { font-size: clamp(34px, 6vw, 84px); line-height: 0.95; }
.film__intro p { color: var(--on-dark-soft); max-width: 48ch; }
@media (max-width: 760px) { .film__intro { grid-template-columns: 1fr; } }

.film__track { position: relative; height: calc(var(--stops, 6) * 220vh); }
.film__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.scene { position: absolute; inset: 0; opacity: 0; transition: opacity 0.55s ease; }
.scene.is-on { opacity: 1; }
.scene picture { display: block; height: 100%; }
.scene img { width: 100%; height: 100%; object-fit: cover; transform: translate(var(--px, 0), var(--py, 0)) scale(var(--kb, 1.06)); transform-origin: 50% 45%; }
.scene.is-on img { will-change: transform; }
.scene::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 36, 0.5) 0%, rgba(15, 27, 36, 0.05) 28%, rgba(15, 27, 36, 0.08) 60%, rgba(15, 27, 36, 0.8) 100%); }
.film__vignette { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(5, 10, 14, 0.55)); }
.film__grain { display: none; position: absolute; inset: -50%; width: 200%; height: 200%; z-index: 1; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -2%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(-2%, 1%); } }
@media (hover: hover) and (min-width: 900px) { .film__grain { display: block; } }

.film__bar { position: absolute; left: 0; right: 0; z-index: 4; display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); height: 56px; background: rgba(5, 10, 14, 0.9); font-size: 15px; }
.film__bar--top { top: 0; height: 64px; background: linear-gradient(180deg, rgba(5, 10, 14, 0.78) 0%, rgba(5, 10, 14, 0.35) 70%, rgba(5, 10, 14, 0) 100%); }
.film__bar--bottom { bottom: 0; height: 64px; }
.slate { display: flex; align-items: center; gap: 14px; min-width: 0; }
.slate__day { font-family: var(--display); font-weight: 700; font-size: 15px; padding: 6px 10px; border-radius: 6px; background: var(--sun); color: var(--ink); transform-origin: 50% 100%; white-space: nowrap; flex: none; }
.slate__day.is-clap { animation: clap 0.18s ease; }
@keyframes clap { 0% { transform: scaleY(1); } 50% { transform: scaleY(0.55); } 100% { transform: scaleY(1); } }
.slate__place { font-weight: 500; white-space: nowrap; }
.slate__note { font-family: var(--hand); font-weight: 600; font-size: 20px; color: var(--sun); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: none; }
.slate__time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--on-dark-soft); }
.film__skip { font-size: 14px; color: var(--on-dark-soft); text-decoration: none; padding: 8px 12px; border: 1px solid var(--line-dark); border-radius: var(--r-pill); white-space: nowrap; }
.film__skip:hover { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.4); }
.timeline { flex: 1; position: relative; height: 4px; background: rgba(255, 255, 255, 0.18); border-radius: 2px; }
.timeline__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--sun); border-radius: 2px; transform-origin: left; transform: scaleX(0); }
.timeline__stop { position: absolute; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, 0.5); font-size: 11px; font-weight: 600; color: #fff; display: grid; place-items: center; transition: background 0.3s, border-color 0.3s; }
.timeline__stop::before { content: ''; position: absolute; inset: -12px; }
.timeline__stop.is-done, .timeline__stop.is-on { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.timeline__label { white-space: nowrap; color: var(--on-dark-soft); font-size: 14px; }
@media (max-width: 700px) {
  .timeline__label { display: none; } .slate__time { display: none; } .slate__place { display: none; } .slate__note { display: block; }
  .film__skip { margin-left: auto; }
  .film__track { height: calc(var(--stops, 6) * 170vh); }
}

.road { position: absolute; inset: 62px 0 64px; z-index: 3; pointer-events: none; }
.road svg { width: 100%; height: 100%; overflow: visible; }
.road__wide { display: block; }
.road__tall { display: none; }
@media (hover: hover) and (min-width: 900px) { .road { transform: perspective(1500px) rotateX(9deg); transform-origin: 50% 100%; } }
@media (max-aspect-ratio: 1/1) { .road__wide { display: none; } .road__tall { display: block; } .road { inset: 60px 0 44%; transform: none; } .caption__card .h2 { font-size: 26px; } .caption__card p { font-size: 14px; } }
.r { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.r-shadow { stroke: rgba(0, 0, 0, 0.35); stroke-width: 44; transform: translate(6px, 12px); }
.r-shadow2 { stroke: rgba(0, 0, 0, 0.25); stroke-width: 34; transform: translate(4px, 8px); }
.r-shoulder { stroke: #9c8b6e; stroke-width: 36; opacity: 0.9; }
.r-rim { stroke: rgba(255, 255, 255, 0.6); stroke-width: 26; }
.r-asphalt { stroke: url(#asph); stroke-width: 22; }
.r-center { stroke: rgba(255, 236, 180, 0.6); stroke-width: 1.6; stroke-dasharray: 12 10; }
.r-done { stroke: var(--sun); stroke-width: 3.5; opacity: 0.95; }
.road__tall .r-shoulder { stroke-width: 24; } .road__tall .r-rim { stroke-width: 17; } .road__tall .r-asphalt { stroke-width: 14; } .road__tall .r-center { stroke-width: 1.2; stroke-dasharray: 8 7; } .road__tall .r-done { stroke-width: 2.5; } .road__tall .r-shadow { stroke-width: 30; transform: translate(4px, 7px); }
.stop__dot { fill: var(--ink); stroke: #fff; stroke-width: 3; transition: fill 0.3s; }
.stop text { font: 700 13px var(--display); fill: #fff; text-anchor: middle; dominant-baseline: central; }
.road__tall .stop text { font-size: 10px; }
.stop.is-on .stop__dot, .stop.is-done .stop__dot { fill: var(--sun); }
.stop.is-on text, .stop.is-done text { fill: var(--ink); }
.stop__pulse { fill: none; stroke: var(--sun); stroke-width: 3; opacity: 0; transform-origin: center; transform-box: fill-box; }
.stop.is-on .stop__pulse { animation: pulse 1.4s ease-out 2; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.3); opacity: 0; } }
.note { opacity: 0; transition: opacity 0.4s, transform 0.5s var(--ease); transform: translateY(8px); }
.note.is-on { opacity: 1; transform: none; }
.note rect { fill: #eef2f1; rx: 4; }
.note text { font: 600 22px var(--hand); fill: var(--ink); dominant-baseline: central; }
.road__tall .note { display: none; }
.finish { opacity: 0; transition: opacity 0.5s; }
.finish.is-on { opacity: 1; }
.finish__pole { stroke: var(--sun); stroke-width: 2; }
.finish__flag { fill: var(--sun); }
.finish__tape { fill: rgba(5, 10, 14, 0.85); }
.finish__text { font: 600 16px var(--hand); fill: var(--sun); text-anchor: middle; }
.road__tall .finish__text { font-size: 12px; }
.car__shadow { fill: url(#shd); }
.van__beams { opacity: 0.25; transition: opacity 0.5s; }
.car.is-dark .van__beams { opacity: 1; }
.van__brake { opacity: 0.45; transition: opacity 0.2s; }
.car.is-brake .van__brake { opacity: 1; }

.caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 90px; z-index: 3; max-width: 560px; min-height: 220px; }
.caption__card { position: absolute; left: 0; bottom: 0; width: 100%; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), visibility 0s 0.45s; pointer-events: none; }
.caption__card.is-on { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition-delay: 0s; }
.caption__card .h2 { font-size: clamp(26px, 3.4vw, 46px); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.caption__card .locs { color: var(--on-dark); margin-top: 8px; font-size: clamp(14px, 1.2vw, 17px); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.caption__card .locs span + span::before { color: var(--sun); }
.caption__card p { margin-top: 10px; color: rgba(255, 255, 255, 0.88); font-size: 15px; max-width: 46ch; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.caption__card .btn { margin-top: 14px; }
@media (max-width: 700px) { .caption { bottom: 80px; min-height: 0; } }

/* Панель дней справа: всегда видно, какой день и куда едем */
.daybar { position: absolute; right: var(--gutter); top: 84px; z-index: 5; width: 272px; padding: 14px 14px 12px; border-radius: 18px; background: rgba(5, 10, 14, 0.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-dark); }
.daybar__title { font-size: 13px; color: var(--on-dark-soft); margin-bottom: 8px; padding-left: 4px; }
.daybar__list { display: grid; gap: 2px; }
.daybar__item { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; padding: 7px 8px; border-radius: 10px; opacity: 0.55; transition: opacity 0.3s, background 0.3s, transform 0.3s var(--ease); }
.daybar__item b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 12px; background: rgba(255, 255, 255, 0.12); }
.daybar__item strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.2; }
.daybar__item small { display: none; font-size: 12px; color: var(--on-dark-soft); line-height: 1.25; margin-top: 2px; }
.daybar__item.is-done { opacity: 0.8; }
.daybar__item.is-done b { background: var(--sun); color: var(--ink); }
.daybar__item.is-on { opacity: 1; background: rgba(255, 176, 59, 0.14); transform: translateX(2px); }
.daybar__item.is-on b { background: var(--sun); color: var(--ink); }
.daybar__item.is-on small { display: block; }
.daybar__item.is-next { opacity: 0.9; }
.daybar__now { margin-top: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--on-dark-soft); }
.daybar__now:empty { display: none; }
.daybar__now b { color: var(--sun); }
@media (max-width: 900px) {
  .daybar { right: 10px; left: 10px; top: auto; bottom: 72px; width: auto; padding: 8px; border-radius: 14px; }
  .daybar__title, .daybar__now, .daybar__item small { display: none !important; }
  .daybar__list { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
  .daybar__item { flex: none; grid-template-columns: 24px auto; padding: 6px 8px; }
  .daybar__item b { width: 24px; height: 24px; font-size: 11px; }
  .daybar__item strong { font-size: 13px; white-space: nowrap; }
  .daybar__item:not(.is-on):not(.is-done) strong { display: none; }
  .caption { bottom: 136px; }
  .caption__card .h2 { font-size: 24px; }
  .caption__card p:not(.locs) { display: none; }
}
.no-js .daybar { display: none; }

/* Подложка под подписи (читаемость поверх фото и 3D) */
.film__stage::after { content: ''; position: absolute; left: 0; right: 0; bottom: 64px; height: 48%; z-index: 2; pointer-events: none; background: linear-gradient(0deg, rgba(5, 10, 14, 0.82) 0%, rgba(5, 10, 14, 0.45) 45%, transparent 100%); }
.stop__label { font: 600 15px var(--body); fill: #fff; stroke: rgba(5, 10, 14, 0.85); stroke-width: 4px; paint-order: stroke; text-anchor: middle; letter-spacing: 0.01em; }
.road__tall .stop__label { display: none; }
.plane { opacity: 0; transition: opacity 0.4s; }
.plane.is-on { opacity: 1; }
.car.is-gone { opacity: 0; transition: opacity 0.4s; }
.caption__actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.caption__actions .btn { margin-top: 0; }

/* 3D-режим (three.js): холст вместо фото и SVG-дороги */
.film__gl { display: none; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.film--3d .film__gl { display: block; }
.film--gl-wait .scene, .film--gl-wait .road { visibility: hidden; }
.film--collapsed .film__track { height: 100vh; height: 100svh; }
html { overflow-anchor: none; }   /* сворачивание фильма компенсируем сами, якорение прокрутки мешает */
.film--3d .scene, .film--3d .road { display: none; }
.film--3d .film__vignette { background: radial-gradient(ellipse at 50% 45%, transparent 62%, rgba(5, 10, 14, 0.4)); z-index: 2; }
.film--3d .caption__card .h2 { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6); }

/* Без JS: фильм раскладывается в список */
.no-js .film__track { height: auto; }
.no-js .film__stage { position: static; height: auto; }
.no-js .scene { position: relative; opacity: 1; height: 60vh; }
.no-js .road, .no-js .film__bar, .no-js .film__grain, .no-js .film__vignette { display: none; }
.no-js .caption { position: static; max-width: none; padding: 20px var(--gutter); min-height: 0; }
.no-js .caption__card { position: static; opacity: 1; visibility: visible; transform: none; margin-top: 24px; pointer-events: auto; }
.in-film .nav { transform: translateY(-120%); }
.in-film .cta-bar { transform: translateY(120%); }
@media (prefers-reduced-motion: reduce) {
  .scene img { transform: none !important; }
  .js .hero__media img, .js .hero__kicker, .js .hero__line .word, .js .hero__text, .js .hero__actions, .js .ticket, .js .nav__bar, .js .hero__scroll, .js .collage .polaroid { animation: none; }
  .hero__scroll::after, .film__grain, .stop.is-on .stop__pulse, .slate__day.is-clap { animation: none; }
}

/* Программа по дням (полные тексты) */
.program { background: var(--ink); color: var(--on-dark); padding: clamp(60px, 8vw, 110px) 0 clamp(120px, 14vw, 180px); }
.program__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.program__head p { color: var(--on-dark-soft); max-width: 52ch; }
.day { border-top: 1px solid var(--line-dark); }
.day:last-of-type { border-bottom: 1px solid var(--line-dark); }
.day > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; }
.day > summary::-webkit-details-marker { display: none; }
.day__n { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 56px); line-height: 1; color: var(--sun); }
.day__n small { display: block; font-family: var(--body); font-weight: 500; font-size: 12px; color: var(--on-dark-soft); margin-bottom: 4px; }
.day__head { display: block; min-width: 0; }
.day__t { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.8vw, 24px); line-height: 1.2; }
.day__locs { display: block; margin-top: 6px; color: var(--on-dark-soft); font-size: 15px; }
.day__locs span + span::before { content: ' / '; color: var(--sun); }
.day__plus { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); display: grid; place-items: center; transition: transform 0.3s var(--ease), background 0.3s; }
.day__plus svg { width: 18px; height: 18px; }
.day[open] .day__plus { transform: rotate(45deg); background: var(--sun); color: var(--ink); border-color: var(--sun); }
.day__body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 4px 0 40px 110px; }
.day[open] .day__body { animation: fade-in 0.3s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-6px); } }
.day__text p + p, .day__text p + div, .day__text div + p { margin-top: 0.9em; }
.day__text { color: rgba(243, 246, 245, 0.88); }
.day__text .ps { padding: 16px 18px; border-radius: 14px; background: rgba(255, 176, 59, 0.12); border-left: 3px solid var(--sun); }
.day__text .fine { color: var(--on-dark-soft); font-size: 15px; }
.day__gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; position: sticky; top: 90px; }
.day__gal figure { border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; background: #334; }
.day__gal figure:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
.day__gal img { width: 100%; height: 100%; object-fit: cover; }
.day--finish { padding: 22px 0 22px 110px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; border-top: 1px solid var(--line-dark); color: var(--on-dark-soft); }
.day--finish .hand { color: var(--sun); font-size: 26px; }
.day--finish .btn { margin-left: auto; }
.program__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px) {
  .day > summary { grid-template-columns: 56px 1fr auto; gap: 12px; }
  .day__t { font-size: 16px; }
  .day__body { grid-template-columns: 1fr; padding-left: 0; gap: 24px; }
  .day__gal { position: static; }
  .day--finish { padding-left: 0; }
  .day--finish .btn { margin-left: 0; }
}

/* Цифры доверия и кнопки секций */
.stats-row { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.stats-row b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 2.4vw, 30px); line-height: 1; color: var(--sulak-deep); }
.stats-row span { font-size: 13px; color: var(--text-soft); }
.section__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.section__cta--left { justify-content: flex-start; margin-top: 22px; }
.more--box { margin-top: 0; border-radius: var(--r-card); background: var(--paper); box-shadow: 0 14px 40px rgba(15, 27, 36, 0.06); }
.more--box > summary { padding: 22px 24px; min-height: 0; color: var(--text); font-size: 16px; line-height: 1.4; display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.more--box > summary::after { flex: none; width: 34px; height: 34px; font-size: 20px; }
.more__body { padding: 0 24px 24px; font-size: 15px; }
.more__body ul { margin-top: 10px; display: grid; gap: 8px; }
.more__body li::before { content: '— '; color: var(--sulak-deep); }
.cta-bar { transform: translateY(120%); }
.past-hero .cta-bar { transform: none; }
.in-film .cta-bar { transform: translateY(120%); }

/* Раскрывашки «Читать дальше» */
.more { margin-top: 10px; }
.more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 600; font-size: 15px; color: var(--sulak-deep); }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: '+'; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid currentColor; display: grid; place-items: center; font-size: 16px; line-height: 1; transition: transform 0.3s var(--ease); }
.more[open] > summary::after { transform: rotate(45deg); }
.more > p, .more > ul { margin-top: 8px; }
.inc .more > summary { color: inherit; }
.months__more { grid-column: 1 / -1; }
.months__more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, 0.4); font-weight: 600; margin: 6px 0 16px; }
.months__more > summary::-webkit-details-marker { display: none; }
.months__more[open] > summary { display: none; }
.months--more { display: contents; }
@media (min-width: 900px) { .js [data-open-desktop] > summary { display: none; } .js .inc .more[data-open-desktop] > summary { display: inline-flex; pointer-events: none; } .js .inc .more[data-open-desktop] > summary::after { display: none; } }

/* Общие светлые секции */
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { max-width: 56ch; color: var(--text-soft); }

/* Продукты (4 тура) — на светлом */
.products { padding-top: clamp(70px, 8vw, 110px); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { display: flex; flex-direction: column; border-radius: var(--r-card); overflow: hidden; background: var(--paper); box-shadow: 0 14px 40px rgba(15, 27, 36, 0.08); }
.pcard__img { position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; background: #9bb; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.05); }
.pcard--main { outline: 2px solid var(--sun); outline-offset: -2px; }
.reviews .section__head { margin-bottom: 24px; }
.sticker { position: absolute; right: 12px; top: 12px; width: 84px; height: 84px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--hand); font-weight: 600; font-size: 21px; line-height: 1; text-align: center; transform: rotate(-10deg); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); }
.pcard__in { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { font-size: 14px; color: var(--text-soft); }
.pcard__t { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.15; margin-top: 6px; }
.pcard__list { margin-top: 12px; display: grid; gap: 5px; font-size: 15px; color: var(--text-soft); }
.pcard__list li::before { content: '— '; color: var(--sulak); }
.pcard__price { margin-top: auto; padding-top: 16px; display: flex; align-items: baseline; gap: 10px; }
.pcard__price b { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--sulak-deep); }
.pcard__price b.txt { font-size: 15px; font-family: var(--body); font-weight: 600; }
.pcard__price small { font-size: 13px; color: var(--text-soft); }
.pcard .btn { margin-top: 14px; align-self: start; }
@media (max-width: 1000px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pgrid { grid-template-columns: 1fr; } .pcard__img { aspect-ratio: 16 / 9; } }

/* Даты */
.dates { position: relative; color: var(--on-dark); background: var(--ink); padding: clamp(70px, 9vw, 130px) 0 clamp(110px, 12vw, 160px); isolation: isolate; overflow: hidden; }
.dates__bg { position: absolute; inset: 0; z-index: -1; }
.dates__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; filter: saturate(1.1); }
.dates__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(15, 27, 36, 0.45) 30%, rgba(15, 27, 36, 0.6) 70%, var(--ink) 100%); }
.dates__head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; margin-bottom: 28px; }
.dates__head p { color: var(--on-dark-soft); margin-top: 10px; max-width: 46ch; }
.switch { display: inline-flex; padding: 4px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.16); }
.switch label { padding: 12px 20px; border-radius: var(--r-pill); cursor: pointer; font-weight: 600; font-size: 15px; color: var(--on-dark-soft); transition: background 0.25s, color 0.25s; }
.dates input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
#d5:checked ~ .container .switch label[for="d5"], #d3:checked ~ .container .switch label[for="d3"] { background: var(--sun); color: var(--ink); }
#d5:checked ~ .container .trip--3, #d5:checked ~ .container .only-3 { display: none; }
#d3:checked ~ .container .trip--5, #d3:checked ~ .container .only-5 { display: none; }
.dates__quick { display: grid; grid-template-columns: 1fr 1.3fr auto; gap: 20px 32px; align-items: center; margin-bottom: 22px; padding: 20px 26px; border-radius: 18px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.quick__item small { display: block; font-size: 14px; color: var(--on-dark-soft); margin-bottom: 4px; }
.quick__item b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.quick__item--dep b { color: var(--sun); }
.quick__item span { display: block; font-size: 14px; color: var(--on-dark-soft); margin-top: 6px; }
@media (max-width: 860px) { .dates__quick { grid-template-columns: 1fr; gap: 14px; } .dates__quick .btn { justify-self: start; } }
.months { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.month { padding: 18px 20px 10px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.month__name { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.month__note { font-size: 14px; color: var(--sun); margin-bottom: 6px; }
.trip { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; border-top: 1px dashed rgba(255, 255, 255, 0.12); }
.trip--soon { box-shadow: inset 4px 0 0 var(--sun); padding-left: 12px; margin-left: -12px; }
.trip__d { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.trip__m { color: var(--on-dark-soft); font-size: 15px; }
.trip__go { margin-left: auto; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, 0.35); font-size: 13px; font-weight: 600; color: var(--on-dark); white-space: nowrap; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.trip__go:hover, .trip--soon .trip__go { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.trip__go::before { content: ''; position: absolute; }
.dates__foot { margin-top: 34px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; padding: 26px 28px; border-radius: var(--r-card); background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.pay-steps { display: grid; gap: 12px; }
.pay-steps li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start; font-size: 16px; }
.pay-steps b { width: 32px; height: 32px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; }
.pay-steps strong { color: var(--sun); }
.pay-note { display: grid; gap: 12px; align-content: start; color: var(--on-dark-soft); font-size: 15px; }
.pay-note a:not(.btn) { color: var(--sun); }
.pay-note .btn { justify-self: start; margin-top: 4px; }
@media (max-width: 860px) { .dates__foot { grid-template-columns: 1fr; } }
.dates__price b { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 3.4vw, 42px); line-height: 1; }
.dates__price small { display: block; margin-top: 6px; color: var(--on-dark-soft); font-size: 14px; }
.dates__limited { color: var(--on-dark-soft); font-size: 15px; max-width: 40ch; }
@media (max-width: 900px) { .months { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dates__head { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .months { grid-template-columns: 1fr; }
  .trip { flex-wrap: wrap; } .trip__d { font-size: 21px; white-space: normal; }
}

/* Что входит — бирюзовая секция */
.included { background: linear-gradient(180deg, #0d7f8b 0%, #19b3c2 100%); color: var(--on-dark); padding-top: clamp(100px, 12vw, 150px); }
.included .section__head p { color: rgba(255, 255, 255, 0.85); }
.include { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.inc { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-card); }
.inc--yes { background: var(--paper); color: var(--text); }
.inc--no { background: rgba(15, 27, 36, 0.35); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.inc .h3 { margin-bottom: 18px; }
.inc ul { display: grid; gap: 10px; }
.inc li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.inc li svg { width: 20px; height: 20px; margin-top: 3px; }
.inc--yes li svg { color: var(--sun); stroke-width: 2.6; }
.inc--no li svg { color: var(--sun); }
.inc__sub { margin: 22px 0 10px; font-weight: 600; }
.extras { display: grid; gap: 6px; }
.extras li { display: flex; justify-content: space-between; gap: 14px; font-size: 16px; padding: 7px 0; border-bottom: 1px dashed rgba(255, 255, 255, 0.2); }
.extras li b { white-space: nowrap; font-weight: 600; color: var(--sun); }
.extras li small { display: block; color: rgba(255, 255, 255, 0.72); font-size: 14px; }
@media (max-width: 800px) { .include { grid-template-columns: 1fr; } }

/* Проживание / трансфер / питание */
.comfort { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ccard { border-radius: var(--r-card); overflow: hidden; background: var(--paper); display: grid; grid-template-rows: auto 1fr; box-shadow: 0 14px 40px rgba(15, 27, 36, 0.06); }
.ccard--stay { grid-column: span 2; grid-template-columns: 1.35fr 1fr; grid-template-rows: none; }
.ccard__gal { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 210px 210px; gap: 4px; }
.ccard__gal figure { overflow: hidden; background: #ccd; }
.ccard__gal figure:first-child { grid-row: span 2; }
.ccard__gal img { width: 100%; height: 100%; object-fit: cover; }
.ccard--van > figure { aspect-ratio: 16 / 8; overflow: hidden; background: #ccd; }
.ccard--van img { width: 100%; height: 100%; object-fit: cover; }
.ccard--food .ccard__gal { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 220px; }
.ccard--food .ccard__gal figure:first-child { grid-row: auto; }
.ccard__in { padding: clamp(20px, 2.6vw, 32px); align-self: center; }
.ccard__in .h3 { margin-bottom: 10px; }
.ccard__in p + p { margin-top: 0.7em; }
@media (max-width: 860px) { .comfort { grid-template-columns: 1fr; } .ccard--stay { grid-column: span 1; grid-template-columns: 1fr; } .ccard__gal { grid-template-rows: 160px 160px; } .ccard--food .ccard__gal { grid-template-rows: 140px; } }

/* Трёхдневный — фото-полоса */
.three { position: relative; color: var(--on-dark); background: var(--ink); isolation: isolate; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0; }
.three__bg { position: absolute; inset: 0; z-index: -1; }
.three__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1); }
.three__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 27, 36, 0.85) 0%, rgba(15, 27, 36, 0.45) 55%, rgba(15, 27, 36, 0.25) 100%); }
.three__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.three__card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: rgba(15, 27, 36, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.14); }
.three__card .pcard__meta { color: var(--on-dark-soft); }
.three__card .h2 { margin-top: 6px; }
.three__card > p { margin-top: 14px; color: rgba(243, 246, 245, 0.88); }
.three__price { margin-top: 20px; }
.three__price b { font-family: var(--display); font-weight: 900; font-size: clamp(34px, 4vw, 48px); line-height: 1; color: var(--sun); display: block; }
.three__price small { display: block; margin-top: 6px; color: var(--on-dark-soft); font-size: 14px; }
.three__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }
.three__fine { margin-top: 18px; font-size: 14px; color: var(--on-dark-soft); }
.three__swap { border-radius: var(--r-card); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.three__swap > summary { list-style: none; cursor: pointer; padding: 22px 24px; font-weight: 600; font-size: 17px; line-height: 1.4; display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.three__swap > summary::-webkit-details-marker { display: none; }
.three__swap > summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, 0.4); display: grid; place-items: center; font-weight: 400; font-size: 22px; transition: transform 0.3s var(--ease), background 0.3s; }
.three__swap[open] > summary::after { transform: rotate(45deg); background: var(--sun); border-color: var(--sun); color: var(--ink); }
.three__swap-body { padding: 0 24px 24px; color: rgba(243, 246, 245, 0.88); }
.three__swap-body ul { margin-top: 10px; display: grid; gap: 8px; }
.three__swap-body li::before { content: '— '; color: var(--sun); }
@media (max-width: 860px) { .three__grid { grid-template-columns: 1fr; } }

/* Однодневные */
.oneday { background: var(--paper); }
.oneday__lead { font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.4; max-width: 56ch; margin-top: 14px; color: var(--text); }
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.ocard { border-radius: var(--r-card); overflow: hidden; background: var(--foam); }
.ocard > summary { list-style: none; cursor: pointer; }
.ocard > summary::-webkit-details-marker { display: none; }
.ocard__img { aspect-ratio: 4 / 3; overflow: hidden; background: #bcc; position: relative; }
.ocard--wide .ocard__img { aspect-ratio: 8 / 3; }
.ocard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.ocard:hover .ocard__img img { transform: scale(1.04); }
.ocard__n { position: absolute; left: 14px; top: 14px; font-family: var(--display); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--paper); color: var(--ink); }
.ocard__in { padding: 18px 20px 20px; }
.ocard__t { font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.25; }
.ocard__locs { margin-top: 8px; font-size: 15px; }
.ocard__more { margin-top: 12px; font-weight: 600; font-size: 15px; color: var(--sulak-deep); }
.ocard[open] .ocard__more { display: none; }
.ocard__body { padding: 0 20px 22px; font-size: 15px; color: var(--text); }
.ocard[open] .ocard__body { animation: fade-in 0.3s var(--ease); }
.ocard__body p + p { margin-top: 0.7em; }
.ocard__body .btn { margin-top: 16px; }
.ocard--wide { grid-column: span 2; }
@media (max-width: 960px) { .ogrid { grid-template-columns: 1fr 1fr; } .ocard--wide { grid-column: span 2; } }
@media (max-width: 600px) { .ogrid { grid-template-columns: 1fr; } .ocard--wide { grid-column: span 1; } .ocard__img, .ocard--wide .ocard__img { aspect-ratio: 16 / 9; } }

/* Индивидуальные */
.custom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.custom ol { counter-reset: q; display: grid; gap: 10px; margin: 20px 0; }
.custom ol li { counter-increment: q; display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; font-weight: 500; }
.custom ol li::before { content: counter(q); width: 36px; height: 36px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; }
@media (max-width: 860px) { .custom { grid-template-columns: 1fr; } }

/* Форма */
.form { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-card); background: var(--paper); box-shadow: 0 20px 60px rgba(15, 27, 36, 0.1); position: relative; }
.form--pass { -webkit-mask: radial-gradient(circle 13px at 0 56%, transparent 97%, #000) left, radial-gradient(circle 13px at 100% 56%, transparent 97%, #000) right; -webkit-mask-composite: source-in; mask: radial-gradient(circle 13px at 0 56%, transparent 97%, #000), radial-gradient(circle 13px at 100% 56%, transparent 97%, #000); mask-composite: intersect; }
.form__title { font-family: var(--display); font-weight: 700; font-size: 20px; }
.form__sub { color: var(--text-soft); font-size: 14px; margin-top: -6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span { font-size: 13px; font-weight: 500; color: var(--text-soft); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--foam); transition: border-color 0.2s; }
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sulak); background: #fff; }
.check { display: flex; gap: 10px; align-items: start; font-size: 14px; color: var(--text-soft); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--sulak-deep); flex: none; }
.check a { color: var(--sulak-deep); }
.form__note { font-size: 13px; color: var(--text-soft); margin-top: -4px; }
.form__note a { color: var(--sulak-deep); }
.form__ok { display: none; padding: 16px 18px; border-radius: 14px; background: rgba(25, 179, 194, 0.12); }
.form__err { display: none; padding: 16px 18px; border-radius: 14px; background: rgba(255, 90, 60, 0.12); }
.form__links { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.form__links a:not(.btn) { color: var(--sulak-deep); font-weight: 600; }
.form.is-ok .form__ok, .form.is-err .form__err { display: block; }
.form.is-ok fieldset, .form.is-ok > .btn, .form.is-ok .form__note { display: none; }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* Отзывы — на ночи */
.reviews { background: var(--ink); color: var(--on-dark); }
.reviews .section__head p { color: var(--on-dark-soft); }
.reviews__stats { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-bottom: 30px; }
.stat b { display: block; font-family: var(--display); font-weight: 900; font-size: clamp(36px, 5vw, 64px); line-height: 1; color: var(--sun); }
.stat span { color: var(--on-dark-soft); }
.rgrid { columns: 3 260px; column-gap: 14px; }
.rgrid figure { break-inside: avoid; margin-bottom: 14px; border-radius: 14px; overflow: hidden; background: var(--paper); padding: 8px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); transform: rotate(var(--rot, 0)); }
.rgrid figure:nth-child(3n) { --rot: 1deg; } .rgrid figure:nth-child(3n + 1) { --rot: -0.8deg; }
.rgrid img { border-radius: 8px; width: 100%; }
.rgrid button { width: 100%; }
.reviews__more { margin-top: 10px; }
.reviews__more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); border: 1.5px solid rgba(255, 255, 255, 0.4); font-weight: 600; margin-bottom: 20px; }
.reviews__more > summary::-webkit-details-marker { display: none; }
.reviews__more[open] > summary { display: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 560px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(15, 27, 36, 0.85); }
.lightbox img { border-radius: 14px; max-height: 88vh; width: auto; margin-inline: auto; }
.lightbox button { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; }

/* Команда */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.member { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 20px; border-radius: var(--r-card); background: var(--paper); align-items: start; box-shadow: 0 14px 40px rgba(15, 27, 36, 0.06); }
.member figure { border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; background: #bcc; }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.member__name { font-family: var(--display); font-weight: 700; font-size: 30px; line-height: 1.1; }
.member__role { color: var(--sulak-deep); font-weight: 600; font-size: 14px; margin-top: 6px; }
.member__text { margin-top: 14px; font-size: 15px; }
.member__text p + p { margin-top: 0.7em; }
.member__contact { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.team__guides { grid-column: span 2; position: relative; padding: 26px 28px; border-radius: var(--r-card); background: var(--paper); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; box-shadow: 0 14px 40px rgba(15, 27, 36, 0.06); }
.team__guides .h3 { white-space: nowrap; }
.team__hand { position: absolute; right: 28px; top: -14px; color: var(--sulak-deep); transform: rotate(-4deg); font-size: 24px; }
@media (max-width: 960px) { .team { grid-template-columns: 1fr; } .team__guides { grid-column: span 1; grid-template-columns: 1fr; } }
@media (max-width: 520px) { .member { grid-template-columns: 1fr; } .member figure { max-width: 220px; } }

/* FAQ */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq__side { position: sticky; top: 90px; }
.faq__side p { margin-top: 12px; color: var(--text-soft); }
.faq__side .btn { margin-top: 20px; }
.q { border-top: 1px solid var(--line); }
.q:last-of-type { border-bottom: 1px solid var(--line); }
.q > summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 17px; }
.q > summary::-webkit-details-marker { display: none; }
.q > summary::after { content: '+'; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-weight: 400; font-size: 22px; transition: transform 0.3s var(--ease), background 0.3s; }
.q[open] > summary::after { transform: rotate(45deg); background: var(--sun); border-color: var(--sun); }
.q__a { padding: 0 48px 20px 0; color: var(--text); font-size: 16px; }
.q[open] .q__a { animation: fade-in 0.3s var(--ease); }
.q__a p + p, .q__a ul + p, .q__a p + ul { margin-top: 0.7em; }
.q__a ul { display: grid; gap: 4px; }
.q__a ul li::before { content: '— '; color: var(--sulak-deep); }
.important { margin-top: 28px; padding: 16px 18px; border-radius: 14px; background: var(--ink); color: var(--on-dark); font-size: 15px; }
.important b { color: var(--sun); }
@media (max-width: 860px) { .faq__grid { grid-template-columns: 1fr; } .faq__side { position: static; } }

/* Бронь */
.book { position: relative; color: var(--on-dark); background: var(--ink); isolation: isolate; overflow: hidden; padding-top: clamp(150px, 16vw, 220px); }
.book__bg { position: absolute; inset: 0; z-index: -1; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; filter: saturate(1.15); }
.book__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(15, 27, 36, 0.85) 14%, rgba(15, 27, 36, 0) 42%), linear-gradient(90deg, rgba(15, 27, 36, 0.85) 0%, rgba(15, 27, 36, 0.45) 60%, rgba(15, 27, 36, 0.3) 100%); }
.book__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.book__title { font-size: clamp(36px, 6vw, 80px); }
.book__text { margin-top: 20px; color: var(--on-dark-soft); max-width: 46ch; }
.book__steps { margin-top: 24px; display: grid; gap: 10px; }
.book__steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; }
.book__steps b { font-family: var(--display); color: var(--sun); }
.book .form { color: var(--text); }
@media (max-width: 860px) { .book__grid { grid-template-columns: 1fr; } }

/* Подвал */
.footer { background: var(--ink); color: var(--on-dark-soft); padding: 60px 0 40px; border-top: 1px solid var(--line-dark); font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand { color: var(--on-dark); font-family: var(--display); font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.footer__brand img { width: 40px; height: 28px; object-fit: contain; }
.footer p { margin-top: 12px; max-width: 36ch; }
.footer h4 { color: var(--on-dark); font-size: 15px; margin-bottom: 12px; }
.footer ul { display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); }
.footer__credits { margin-top: 36px; font-size: 13px; color: var(--on-dark-soft); line-height: 1.6; }
.footer__credits a { text-decoration: underline; }
.footer__credits b { color: var(--on-dark); font-weight: 600; }
.footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } .footer { padding-bottom: 110px; } }

/* Липкая панель на телефоне */
.cta-bar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 27, 36, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(255, 255, 255, 0.12); color: var(--on-dark); align-items: center; gap: 12px; transition: transform 0.4s var(--ease); }
.cta-bar__price { margin-right: auto; line-height: 1.1; }
.cta-bar__price b { font-family: var(--display); font-weight: 700; font-size: 18px; display: block; }
.cta-bar__price small { font-size: 12px; color: var(--on-dark-soft); }
.cta-bar__wa { width: 44px; height: 44px; border-radius: 50%; background: #25d366; color: #052e16; display: grid; place-items: center; flex: none; }
.cta-bar__wa svg { width: 24px; height: 24px; }
@media (max-width: 700px) { .cta-bar { display: flex; } }

/* Модалка брони */
.modal { border: 0; padding: 0; background: transparent; width: min(94vw, 640px); max-height: 94vh; }
.modal::backdrop { background: rgba(15, 27, 36, 0.78); backdrop-filter: blur(6px); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; background: var(--foam); display: grid; place-items: center; z-index: 2; }
.modal__close svg { width: 18px; height: 18px; }
.modal .form--pass { -webkit-mask: none; mask: none; }
@media (max-width: 560px) {
  .modal { width: 100vw; max-width: none; max-height: 92vh; margin: auto 0 0; }
  .modal .form { border-radius: 22px 22px 0 0; padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
}


/* ================= аудит 08.11.2026: правки по отчётам экспертов ================= */
:root { --mtn-h: 180px; }
@media (max-width: 700px) { :root { --mtn-h: 110px; } }
/* горы не закрывают кнопки в конце секций */
#program, #dates, #faq { padding-bottom: calc(var(--mtn-h) + 48px); }
.mtn { margin-bottom: -1px; }
/* hero: читаемость на светлой скале, заголовок не режется */
.hero__kicker { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
@media (max-width: 900px) {
  .hero__media::after { background: linear-gradient(180deg, rgba(15, 27, 36, 0.35) 0%, rgba(15, 27, 36, 0.18) 22%, rgba(15, 27, 36, 0.55) 40%, rgba(15, 27, 36, 0.82) 70%, rgba(15, 27, 36, 0.92) 100%); }
  .hero__text { color: rgba(243, 246, 245, 0.94); text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45); }
  .caption { bottom: 144px; }
}
@media (max-width: 480px) { .hero__line .word { font-size: 11.2vw; } }
@media (max-width: 700px) {
  .hero__inner { padding-top: calc(var(--nav-h) + 32px); padding-bottom: 124px; }
  :root { --nav-h: 56px; }
  .nav { inset: 10px 0 auto; }
  .nav-hidden .nav { transform: translateY(-120%); }
  .sheet { margin-bottom: 130px; }
  .slate__note { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 18px; line-height: 1.05; }
  .timeline__stop { width: 26px; height: 26px; margin: -13px 0 0 -13px; font-size: 12px; }
}
@media (max-width: 420px) { .hero__actions .btn { flex: 1 1 100%; } }
/* шапка плотнее, чтобы не было грязно-серой на смешанном фоне */
.nav__bar { background: rgba(15, 27, 36, 0.84); }
.nav--light .nav__bar { background: rgba(255, 255, 255, 0.92); }
/* даты: вся строка нажимается, кнопка всегда справа */
.trip { position: relative; }
.trip__go::before { inset: 0; }
@media (max-width: 560px) {
  .trip { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; flex-wrap: nowrap; }
  .trip__d { font-size: 19px; }
  .trip__m { grid-row: 2; font-size: 13px; }
  .trip__go { grid-column: 2; grid-row: 1 / span 2; min-height: 44px; padding: 0 16px; font-size: 14px; }
}
.pay-note a:not(.btn) { display: inline-block; padding-block: 10px; }
/* вступление: штамп не закрывает подпись */
.stamp { left: -6%; bottom: 2%; width: 104px; height: 104px; }
@media (max-width: 560px) { .stamp { width: 86px; height: 86px; left: -8px; top: -14px; bottom: auto; } .collage__b { z-index: 1; } }
/* программа: длинные заголовки дней читаются легче */
.day__t { font-family: var(--body); font-weight: 700; line-height: 1.3; }
.day__n small { font-size: 13px; }
/* что входит */
.extras li small { color: rgba(255, 255, 255, 0.86); }
/* команда */
@media (max-width: 560px) {
  .stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
  .member figure { max-width: none; aspect-ratio: 4 / 3; }
}
/* отзывы на телефоне: карусель вместо 4 экранов прокрутки */
@media (max-width: 560px) {
  .rgrid { columns: auto; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scrollbar-width: none; }
  .rgrid::-webkit-scrollbar { display: none; }
  .rgrid figure { flex: 0 0 82%; scroll-snap-align: center; margin: 0; align-self: start; --rot: 0deg; }
  .ccard__gal { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 120px; }
  .ccard__gal figure:first-child { grid-row: auto; grid-column: span 2; }
  .ccard--food .ccard__gal { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 140px; }
  .ccard--food .ccard__gal figure:first-child { grid-column: auto; }
  .ocard__img, .ocard--wide .ocard__img { aspect-ratio: 2 / 1; }
}
.ccard--food .ccard__gal img { object-position: 50% 80%; }
/* однодневные: без декоративной нумерации */
.ocard__n { display: none; }
/* форма: без «укусов» на телефоне, подписи крупнее */
@media (max-width: 560px) { .form--pass { -webkit-mask: none; mask: none; } }
.field span { font-size: 14px; }
/* липкая панель не висит над формой и клавиатурой */
.cta-bar__price small { font-size: 13px; }
.at-book .cta-bar, .typing .cta-bar { transform: translateY(120%); }
/* модалка: влезает на SE, крестик не наезжает, фон не скроллится */
.modal { max-height: 92dvh; overscroll-behavior: contain; }
.modal .form__title { padding-right: 52px; }
html:has(dialog[open]) { overflow: hidden; }
@media (max-width: 560px) {
  .modal { max-height: 92dvh; }
  .modal .form { gap: 10px; }
  .modal .field textarea { min-height: 64px; }
  .modal .form::before { content: ''; width: 40px; height: 4px; border-radius: 2px; background: var(--line); justify-self: center; margin: -8px 0 4px; }
}
/* подвал: телефоны как ссылки, авторы фото свёрнуты */
.footer a[href^="tel:"] { text-decoration: underline; text-underline-offset: 3px; }
.footer ul a { display: inline-block; padding-block: 8px; }
.footer__credits summary { cursor: pointer; font-weight: 600; padding-block: 10px; }
/* кнопки: тень спокойнее */
.btn--sun { box-shadow: 0 4px 12px rgba(255, 176, 59, 0.22); }
@media (max-width: 400px) { .xs-hide { display: none; } }

/* производительность: размытие фона дорого для слабой графики телефонов */
@media (pointer: coarse), (max-width: 860px) {
  .nav__bar, .ticket, .btn--ghost, .daybar, .month, .inc--no, .three__card, .three__swap, .cta-bar, .modal::backdrop { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__bar { background: rgba(15, 27, 36, 0.9); }
  .nav--light .nav__bar { background: rgba(255, 255, 255, 0.95); }
  .ticket { background: rgba(15, 27, 36, 0.6); }
  .daybar { background: rgba(5, 10, 14, 0.85); }
  .month { background: rgba(255, 255, 255, 0.1); }
  .three__card { background: rgba(15, 27, 36, 0.8); }
}
.film__grain { inset: -10%; width: 120%; height: 120%; }
/* день 0: вывеска «Каспийск» в кадре на вертикальном экране */
.scene:first-child img { object-position: 100% 42%; transform-origin: 88% 38%; }
.oneday__note { margin-top: 10px; max-width: 60ch; color: var(--text-soft); }

/* правки клиента 09.11 */
.day__body p b, .day__text p b { font-weight: 700; color: inherit; }
.guides__row { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.guides__row figure { border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: #bcc; margin: 0; }
.guides__row img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.ccard--stay .ccard__gal { grid-template-rows: 260px 260px; }
.ccard__gal img { cursor: zoom-in; }
@media (max-width: 860px) { .team__guides { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .guides__row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -28px; padding: 0 28px 6px; }
  .guides__row figure { flex: 0 0 62%; scroll-snap-align: center; }
  /* проживание: крупные фото листаются вбок */
  .ccard--stay .ccard__gal { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 6px; grid-template-rows: none; }
  .ccard--stay .ccard__gal figure, .ccard--stay .ccard__gal figure:first-child { flex: 0 0 88%; aspect-ratio: 4 / 5; scroll-snap-align: center; grid-column: auto; }
  /* даты и оплата: крупнее */
  .pay-steps li { font-size: 17px; line-height: 1.45; }
  .pay-note { font-size: 16px; }
  .pay-note a:not(.btn) { font-size: 16px; }
  .trip__d { font-size: 21px; }
  .trip__m { font-size: 15px; }
  .member figure { aspect-ratio: 4 / 5; }
}
