/* ============================================================
   isaev.trip — стили
   ============================================================ */
:root {
  --bg:        #0A0E14;
  --bg-raise:  #111823;
  --bg-card:   #141C28;
  --line:      #1F2A3A;

  --fg:        #E8EDF2;
  --fg-mute:   #8A96A5;
  --fg-dim:    #5C6775;   /* только крупный текст и линии: контраст 3.3:1 */

  --alert:     #C25E3A;
  --alert-fg:  #E8875F;   /* текст цвета alert: контраст 4.5+ */

  --accent:    #3FB68B;   /* подменяется цветом направления */

  --aurora-1:  #3FB68B;
  --aurora-2:  #7C6BD6;
  --aurora-3:  #2E8FA8;

  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --step:  8px;
  --gut:   clamp(20px, 5vw, 64px);
  --maxw:  1180px;
  --radius: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);

  color-scheme: dark;
}

/* ---------- база ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 clamp(16px, 1.3vw, 18px)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { max-width: 68ch; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; padding: 8px 14px; border-radius: 8px; background: var(--fg); color: var(--bg); }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }

/* цифры в колонку — там, где цифры */
.price, .tcard__price, .tcard__dates, .tcard__left, .rows, .facts, .route__date, .route__n,
.hero__status, .eyebrow, .hero__date, .tariff__price, .sticky-book__price, .how__n { font-variant-numeric: tabular-nums; }

/* ---------- типографика ---------- */
h1 { font: 800 clamp(40px, 9vw, 96px)/.96 var(--font-display); letter-spacing: -.03em; }
h2 { font: 600 clamp(28px, 4.5vw, 52px)/1.05 var(--font-display); letter-spacing: -.015em; }
h3 { font: 600 clamp(19px, 2.2vw, 26px)/1.25 var(--font-body); letter-spacing: -.01em; }
small { font-size: 14px; color: var(--fg-mute); }

.eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px;
  margin-bottom: 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.55; }
.note { margin-top: 16px; font-size: 14px; color: var(--fg-mute); }
.link { color: var(--fg); text-decoration: underline; text-decoration-color: var(--fg-dim); text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--accent); }

/* ---------- кнопки ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border: 1px solid transparent; border-radius: 10px;
  font: 600 16px/1.2 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: filter .2s, border-color .2s, background-color .2s, transform .35s var(--ease), box-shadow .3s;
}
.btn--primary { background: var(--accent); color: #07110D; }
.btn--primary:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--fg); }
.btn--ghost:hover { border-color: var(--accent); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--wide { width: 100%; padding-inline: 20px; white-space: normal; text-align: center; }

/* ---------- шапка: прилипает после 80 px ---------- */
.header { position: absolute; inset: 0 0 auto; z-index: 50; height: 72px; }
.header.is-stuck {
  position: fixed; height: 64px;
  background: rgba(10, 14, 20, .82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  animation: drop .35s var(--ease);
}
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.header__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__end { display: flex; align-items: center; gap: 12px; }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 32px; height: 32px; }
.logo__word { font: 600 18px/1 var(--font-display); letter-spacing: -.01em; }
.logo__dot { color: var(--accent); }

.lang { display: flex; padding: 2px; border: 1px solid var(--line); border-radius: 8px; }
.lang button {
  padding: 6px 10px; border: 0; border-radius: 6px; background: none; cursor: pointer;
  color: var(--fg-mute); font: 600 13px/1.2 var(--font-body); letter-spacing: .04em;
}
.lang button[aria-pressed="true"] { background: var(--bg-card); color: var(--fg); }

@media (max-width: 420px) {
  .logo__word { font-size: 15px; }
  .logo__mark { width: 28px; height: 28px; }
  .header__end { gap: 8px; }
  .header .btn--sm { padding: 9px 12px; }
}

/* ---------- сияние ---------- */
.aurora { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora__layer { position: absolute; border-radius: 50%; will-change: transform, opacity; }
.aurora__layer--a {
  top: -8%; left: -20%; width: 95%; height: 42%;
  background: radial-gradient(closest-side, var(--aurora-1) 35%, transparent);
  filter: blur(90px); opacity: .42;
  animation: aurora-a 38s ease-in-out infinite alternate;
}
.aurora__layer--b {
  top: 4%; right: -25%; width: 75%; height: 34%;
  background: radial-gradient(closest-side, var(--aurora-2) 30%, transparent);
  filter: blur(110px); opacity: .32;
  animation: aurora-b 54s ease-in-out infinite alternate;
}
.aurora__layer--c {
  top: 18%; left: 15%; width: 70%; height: 26%;
  background: radial-gradient(closest-side, var(--aurora-3) 35%, transparent);
  filter: blur(70px); opacity: .25;
  animation: aurora-c 67s ease-in-out infinite alternate;
}
@keyframes aurora-a { from { transform: translate3d(0,0,0) rotate(-9deg); opacity: .42; } to { transform: translate3d(18%,6%,0) rotate(3deg); opacity: .27; } }
@keyframes aurora-b { from { transform: translate3d(0,0,0) rotate(6deg); opacity: .32; } to { transform: translate3d(-22%,10%,0) rotate(-4deg); opacity: .42; } }
@keyframes aurora-c { from { transform: translate3d(0,0,0); opacity: .25; } to { transform: translate3d(12%,-14%,0) rotate(8deg); opacity: .36; } }

/* мягкое свечение цвета направления там, где сияния нет */
.hero__glow {
  position: absolute; z-index: 0; pointer-events: none;
  top: -20%; right: -10%; width: 70%; height: 80%; border-radius: 50%;
  background: radial-gradient(closest-side, var(--accent), transparent);
  filter: blur(120px); opacity: .16;
}

/* ---------- герой ---------- */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: 600px; min-height: max(600px, 100vh); min-height: max(600px, 100svh);
  padding: 120px 0 clamp(72px, 14vh, 150px);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
/* главная: текст выше, ближе к середине экрана */
.hero:not(.hero--tour) { align-items: center; padding-bottom: clamp(96px, 16vh, 160px); }
.hero--tour { min-height: 560px; min-height: max(560px, 88svh); }
/* фото тура из админки — приглушённый фон шапки, сияние и текст поверх */
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,14,20,.55) 0%, rgba(10,14,20,.25) 45%, var(--bg) 100%);
}
.hero__in { position: relative; z-index: 1; }
.hero__text { grid-column: 1 / -1; }
@media (min-width: 900px) { .hero__text { grid-column: 1 / span 9; } }
.hero__title { margin-bottom: 4px; }
.hero__date { margin-top: 14px; font: 600 clamp(22px, 3.4vw, 40px)/1.1 var(--font-display); color: var(--accent); }
.hero__sub { max-width: 46ch; margin-top: 24px; font-size: clamp(17px, 1.6vw, 21px); color: var(--fg); }

.price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 32px; }
.price { font: 800 clamp(40px, 5vw, 56px)/1 var(--font-display); letter-spacing: -.02em; }
.price-row__notes { display: flex; flex-direction: column; font-size: 15px; line-height: 1.45; color: var(--fg-mute); }
.price-row__notes span:first-child { color: var(--fg); }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__status { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--fg-mute); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: dot 2.4s infinite; }
@keyframes dot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }

.back { display: inline-block; margin-bottom: 28px; font-size: 14px; color: var(--fg-mute); text-decoration: none; }
.back:hover { color: var(--fg); }

.scroll-cue {
  position: absolute; z-index: 1; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); text-decoration: none;
}
.scroll-cue__arrow { font-size: 18px; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(6px); opacity: 1; } }
@media (max-height: 700px) { .scroll-cue { display: none; } }

/* ---------- значки статуса ---------- */
.badge {
  display: inline-flex; align-items: center;
  padding: 5px 10px; border: 1px solid currentColor; border-radius: 999px;
  font: 600 11px/1.2 var(--font-body); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(10, 14, 20, .7);
}
.badge--open    { color: var(--accent); }
.badge--closing { color: var(--alert-fg); border-color: var(--alert); }
.badge--full, .badge--past { color: var(--fg-mute); border-color: var(--fg-dim); }

/* ---------- секции ---------- */
.section { position: relative; padding: clamp(72px, 10vw, 136px) 0; }
.section--line { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sub { margin-top: clamp(56px, 7vw, 96px); }
.sub__h { margin-bottom: 24px; color: var(--fg-mute); }

/* ---------- карточки туров ---------- */
.tours { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .tours { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .tours { grid-template-columns: repeat(3, 1fr); } }

.tcard {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
  transition: border-color .3s, transform .5s var(--ease), box-shadow .4s;
}
.tcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.tcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-raise); }
.tcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.tcard:hover .tcard__media img { transform: scale(1.06); }
.tcard__media .badge { position: absolute; top: 14px; right: 14px; }
.tcard__art {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px;
  background:
    radial-gradient(120% 90% at 85% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
    repeating-linear-gradient(115deg, transparent 0 22px, color-mix(in srgb, var(--accent) 7%, transparent) 22px 23px);
}
.tcard__art span {
  font: 800 clamp(30px, 4vw, 44px)/1 var(--font-display); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1px color-mix(in srgb, var(--accent) 60%, transparent);
}
.tcard__body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.tcard__title { font: 800 clamp(30px, 3.2vw, 40px)/1 var(--font-display); letter-spacing: -.03em; color: var(--fg); }
.tcard__dates { margin-top: 12px; font-size: 17px; font-weight: 600; color: var(--accent); }
.tcard__sum { flex: 1; margin-top: 12px; font-size: 15px; color: var(--fg-mute); }
.tcard__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 20px; }
.tcard__price { font: 800 30px/1 var(--font-display); color: var(--accent); }
.tcard__left { font-size: 14px; color: var(--fg-mute); }
.tcard__more { margin-top: 18px; font-weight: 600; font-size: 15px; text-decoration: none; }
/* вся карточка кликабельна */
.tcard__more::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tcard__more:hover { color: var(--accent); }
.tcard--past .tcard__media, .tcard--past .tcard__dates { opacity: .6; }
.tcard--past .tcard__title { color: var(--fg-mute); }

/* ---------- как устроено ---------- */
.how { display: grid; grid-template-columns: 1fr; gap: 40px 32px; }
@media (min-width: 900px) { .how { grid-template-columns: repeat(3, 1fr); } }
.how__n { display: block; font: 800 clamp(44px, 5vw, 64px)/1 var(--font-display); color: var(--fg-dim); }
.how__item h3 { margin: 18px 0 10px; font-size: 19px; }
.how__item p { font-size: 15px; color: var(--fg-mute); }

/* таблица «подпись — значение» */
.rows { border-top: 1px solid var(--line); }
.rows__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.rows dt { color: var(--fg); }
.rows dt small { display: block; margin-top: 2px; }
.rows dd { flex: none; max-width: 60%; text-align: right; font-weight: 600; }
.rows dd.is-accent { color: var(--accent); }
.rows dd.is-big { font: 800 28px/1 var(--font-display); color: var(--accent); }
.rows dd.is-mute { font-weight: 400; color: var(--fg-mute); }
@media (max-width: 520px) {
  .rows__row { flex-direction: column; gap: 4px; }
  .rows dd { max-width: none; text-align: left; }
}

/* ---------- о нас ---------- */
.about { align-items: center; row-gap: 40px; }
.about__photo, .about__text { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .about__photo { grid-column: 1 / span 5; }
  .about__text { grid-column: 7 / span 6; }
}
.about__photo {
  max-width: 440px; aspect-ratio: 4 / 5; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text h2 { margin-bottom: 28px; }
.about__text p + p { margin-top: 1em; }
.about__text p:not(:first-of-type) { color: var(--fg-mute); }
.ph { display: grid; place-items: center; height: 100%; color: var(--fg-mute); font-size: 14px; }

/* ---------- футер ---------- */
.footer { padding: 56px 0 48px; border-top: 1px solid var(--line); font-size: 14px; color: var(--fg-mute); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--fg); }
.footer__note { margin-top: 28px; }
.footer__year { margin-top: 6px; }

/* ============================================================
   Страница тура
   ============================================================ */

.facts {
  display: grid; grid-template-columns: 1fr; gap: 1px; margin-top: 40px; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--line);
}
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
.fact { position: relative; padding: 22px 24px; background: var(--bg-card); }
.fact dt { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-mute); }
.fact dd { margin-top: 6px; font-size: 20px; font-weight: 500; line-height: 1.35; }
.fact--accent dd { color: var(--accent); }

/* маршрутный лист */
.route { position: relative; display: grid; gap: 0; max-width: 860px; }
.route::before {
  content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px;
  background: linear-gradient(var(--accent), color-mix(in srgb, var(--accent) 10%, transparent));
  transform-origin: top;
}
.route__day { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 36px; }
.route__day:last-child { padding-bottom: 0; }
.route__n {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent); color: var(--accent);
  font: 600 15px/1 var(--font-display);
}
.route__date { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-mute); padding-top: 2px; }
.route__title { margin-top: 4px; }
.route__text { margin-top: 8px; color: var(--fg-mute); }

/* что входит */
.inc { display: grid; grid-template-columns: 1fr; gap: 0 48px; }
@media (min-width: 900px) { .inc { grid-template-columns: repeat(2, 1fr); } }
.inc li { position: relative; padding: 20px 0 20px 30px; border-top: 1px solid var(--line); }
.inc li::before { content: "✓"; position: absolute; left: 0; top: 20px; color: var(--accent); font-weight: 700; }
.inc h4 { font-size: 17px; font-weight: 600; line-height: 1.35; }
.inc p { margin-top: 4px; font-size: 15px; color: var(--fg-mute); }
.inc--quiet li::before { content: "—"; color: var(--fg-mute); }

.callout {
  margin-top: 32px; padding: 20px 24px; max-width: none;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); border-radius: var(--radius);
  font-size: 16px;
}

/* честный блок */
.honest {
  position: relative; padding: clamp(28px, 5vw, 56px);
  border-left: 3px solid var(--alert); border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--bg-raise);
}
.honest h2 { margin-bottom: 24px; font-size: clamp(24px, 3vw, 36px); }
.honest p { max-width: 64ch; font-size: clamp(17px, 1.45vw, 19px); color: var(--fg-mute); }
.honest p + p { margin-top: 1em; }
.honest strong { color: var(--fg); font-weight: 600; }

/* бронирование */
.section--book { background: linear-gradient(180deg, var(--bg-raise), var(--bg)); }
.book { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
@media (min-width: 900px) { .book { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } }
@media (max-width: 420px) { .book__right { padding: 22px 18px; } }
.book__lead { color: var(--fg-mute); margin-bottom: 24px; }
.book__tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 32px; }
.tariff {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-card);
  color: var(--fg); font: inherit; cursor: pointer;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease);
}
.tariff:hover { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.tariff.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg-card)); }
.tariff__name { font-size: 14px; color: var(--fg-mute); line-height: 1.3; }
.tariff.is-on .tariff__name { color: var(--fg); }
.tariff__price { font: 800 26px/1 var(--font-display); }
.tariff.is-on .tariff__price { color: var(--accent); }
.book__h { margin-bottom: 12px; font-size: 17px; }
.book__inside { display: grid; gap: 8px; }
.book__inside li { position: relative; padding-left: 26px; font-size: 15px; transition: opacity .3s, color .3s; }
.book__inside li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.book__inside li.is-off { color: var(--fg-mute); text-decoration: line-through; text-decoration-color: var(--fg-dim); }
.book__inside li.is-off::before { content: "—"; color: var(--fg-dim); }
.book__right {
  align-self: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-card);
}
@media (min-width: 900px) { .book__right { position: sticky; top: 88px; } }
.book__right .btn { margin-top: 24px; }

/* форма брони */
.book__right.is-flow { position: static; }
.form { display: grid; gap: 18px; }
.form__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.form__back { padding: 0; border: 0; background: none; color: var(--fg-mute); font: inherit; font-size: 14px; cursor: pointer; }
.form__back:hover { color: var(--fg); }
.form__sum { font-size: 14px; font-weight: 600; color: var(--accent); }
.form__h { margin-top: 4px; font-size: 20px; }
.fld { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.fld > label, .fld legend { padding: 0; font-size: 14px; font-weight: 500; color: var(--fg); }
.fld__opt { font-weight: 400; color: var(--fg-mute); }
.fld input[type="text"], .fld input[type="email"], .fld textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--fg); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.fld textarea { min-height: 88px; resize: vertical; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.fld ::placeholder { color: var(--fg-dim); }
.fld__err { min-height: 0; font-size: 13px; color: var(--alert-fg); }
.fld.is-err input, .fld.is-err textarea { border-color: var(--alert); }
.fld--choice legend { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label {
  display: inline-block; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; cursor: pointer; user-select: none; transition: border-color .2s, background-color .2s, color .2s;
}
.chip label:hover { border-color: var(--accent); }
.chip input:checked + label { border-color: var(--accent); background: var(--accent); color: #07110D; font-weight: 600; }
.chip input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.fld.is-err .chip label { border-color: var(--alert); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--fg-mute); line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__status { font-size: 14px; color: var(--alert-fg); }
.form__status:empty { display: none; }

/* после брони */
.done { display: grid; gap: 16px; }
/* шаги брони */
.steps { display: flex; gap: 6px; margin-bottom: 4px; }
.steps__item {
  flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0;
  padding-top: 10px; border-top: 2px solid var(--line);
  font-size: 13px; color: var(--fg-mute); transition: border-color .4s, color .4s;
}
.steps__n {
  flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--line); font: 600 11px/1 var(--font-body);
}
.steps__item.is-done { border-top-color: var(--accent); }
.steps__item.is-done .steps__n { background: var(--accent); border-color: var(--accent); color: #07110D; }
.steps__item.is-cur { border-top-color: var(--accent); color: var(--fg); font-weight: 600; }
.steps__item.is-cur .steps__n { border-color: var(--accent); color: var(--accent); }
.done__how { font-size: 15px; color: var(--fg); }
.how-to { display: grid; gap: 10px; counter-reset: how; }
.how-to li { position: relative; padding-left: 34px; counter-increment: how; }
.how-to li::before {
  content: counter(how); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font: 600 12px/1 var(--font-body);
}
.done__h { font-size: 24px; outline: none; }
.done__lead { color: var(--fg-mute); }
.done__rows .rows__row { flex-direction: column; align-items: stretch; gap: 6px; }
.done__rows dt { font-size: 13px; color: var(--fg-mute); }
.done__rows dd { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: none; text-align: left; }
.mono { font-variant-numeric: tabular-nums; letter-spacing: .02em; overflow-wrap: anywhere; }
.copy {
  flex: none; padding: 5px 10px; border: 1px solid var(--line); border-radius: 8px;
  background: none; color: var(--fg-mute); font: 600 12px/1.2 var(--font-body); cursor: pointer; transition: .2s;
}
.copy:hover { border-color: var(--accent); color: var(--fg); }
.copy.is-ok { border-color: var(--accent); color: var(--accent); }

/* отмена */
.cancel { margin-top: 56px; }
.cancel h3 { margin-bottom: 20px; }
.cancel .rows dd { font-weight: 400; color: var(--fg-mute); }
.cancel__foot { margin-top: 20px; color: var(--fg); }

.end h2 { margin-bottom: 16px; }
.end .btn { margin-top: 28px; }

/* липкая кнопка на телефоне */
.sticky-book {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(17, 24, 35, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-book.is-on { transform: none; }
.sticky-book__price { font: 800 22px/1 var(--font-display); color: var(--accent); }
@media (min-width: 900px) { .sticky-book { display: none; } }

/* ---------- появление секций ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 280ms ease-out, transform 280ms ease-out; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora__layer, .dot, .scroll-cue__arrow { animation: none; }
  .header.is-stuck { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Instagram и сообщество */
.ico { width: 20px; height: 20px; flex: none; opacity: .9; }
.header__ig { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; transition: background .2s; }
.header__ig:hover { background: rgba(255,255,255,.08); }
.social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.social__a {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--fg); text-decoration: none; font-weight: 500;
  transition: border-color .2s, background .2s, transform .2s;
}
.social__a:hover { border-color: var(--accent); background: rgba(255,255,255,.04); transform: translateY(-1px); }
@media (max-width: 400px) { .header__ig { display: none; } }

/* ---------- видео с дрона в шапке ---------- */
.hero__photo video { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero__photo--video video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__photo--video.is-playing video { opacity: .5; }
/* пока видео не пошло — показываем заставку (poster) приглушённо */
.hero__photo--video:not(.is-playing) { background: var(--bg); }

/* ---------- «Ещё поездки» внизу шапки главной ---------- */
.hero--more { padding-bottom: clamp(150px, 20vh, 200px); }
.more {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(10,14,20,0) 0%, rgba(10,14,20,.72) 100%);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.more__in { display: flex; align-items: center; gap: 20px; }
.more__label { flex: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-mute); }
.more__list { display: flex; gap: 12px; min-width: 0; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.more__list::-webkit-scrollbar { display: none; }
.more__a {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 16px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.03);
  color: var(--fg); text-decoration: none; white-space: nowrap;
  transition: border-color .25s, background .25s, transform .25s var(--ease);
}
.more__a:hover { border-color: var(--accent); background: rgba(255,255,255,.06); transform: translateY(-2px); }
.more__dot { align-self: center; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.more__t { font-family: var(--font-display); font-weight: 600; font-size: 15px; }
.more__d { font-size: 14px; color: var(--fg-mute); }
.more__p { font-size: 14px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.more__p.is-mute { color: var(--fg-dim); font-weight: 500; }
.more__arr { color: var(--fg-mute); transition: transform .25s var(--ease); }
.more__a:hover .more__arr { transform: translateX(3px); color: var(--fg); }
@media (max-width: 700px) {
  .more__in { flex-direction: column; align-items: stretch; gap: 10px; padding-right: 0; }
  .more__list { margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  .more__d { display: none; }
}

/* ---------- фильм о прошлой поездке ---------- */
.film { margin-top: 28px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* ночное видео (сияние) само тёмное — его можно показывать ярче */
.hero--aurora .hero__photo--video.is-playing video { opacity: .9; }
.hero--aurora .hero__photo::after { background: linear-gradient(180deg, rgba(10,14,20,.35) 0%, rgba(10,14,20,0) 45%, var(--bg) 100%); }

/* ---------- шапка (главная и туры) на телефоне: горизонтальный ролик целиком, не обрезанный ----------
   Ролик встаёт под меню на всю ширину экрана (кадр 16:9 виден полностью),
   сверху и снизу плавно уходит в тёмный фон, текст тура идёт сразу под ним. */
@media (max-width: 800px) {
  .hero:has(.hero__photo--video) {
    min-height: 0;
    padding-top: calc(60px + 56.25vw - 28px);
  }
  .hero .hero__photo--video { inset: 60px 0 auto; aspect-ratio: 16 / 9; }
  .hero .hero__photo--video video { object-fit: cover; }
  .hero .hero__photo--video.is-playing video { opacity: .85; }
  .hero .hero__photo--video::after,
  .hero.hero--aurora .hero__photo--video::after {
    background: linear-gradient(180deg,
      var(--bg) 0%, rgba(10,14,20,.45) 14%, rgba(10,14,20,0) 32%,
      rgba(10,14,20,0) 62%, rgba(10,14,20,.6) 84%, var(--bg) 100%);
  }
  /* полоска фона над роликом, чтобы затемнение начиналось от самого верха */
  .hero:has(.hero__photo--video)::before {
    content: ""; position: absolute; inset: 0 0 auto; height: 60px; z-index: 0; background: var(--bg);
  }
}

/* ---------- прошлая поездка: значок видео на карточке и «куда дальше» ---------- */
.tcard__play {
  position: absolute; left: 14px; bottom: 14px; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px;
  border-radius: 999px; background: rgba(10,14,20,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 13px; font-weight: 600; color: var(--fg);
}
.tcard__playbtn { position: relative; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); }
.tcard__playbtn::after {
  content: ""; position: absolute; left: 11px; top: 8px;
  border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #07110D;
}
/* у прошлой поездки с видео карточку не приглушаем — её хочется открыть */
.tcard--past:has(.tcard__play) .tcard__media { opacity: 1; }
.hero--past .hero__photo img { opacity: .5; }
.next { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.next__a {
  display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px;
  background: var(--bg-raise); color: var(--fg); text-decoration: none;
  transition: border-color .25s, transform .25s var(--ease);
}
.next__a:hover { border-color: var(--accent); transform: translateY(-3px); }
.next__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.next__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.next__t { font: 800 26px/1 var(--font-display); letter-spacing: -.02em; }
.next__d { font-weight: 600; color: var(--accent); }
.next__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.next__p { font: 800 22px/1 var(--font-display); color: var(--accent); }
.next__go { font-size: 14px; font-weight: 600; color: var(--fg-mute); }
