/* ============================================================
   Турклуб «5642» — демо-проект CloudxBear
   Дизайн-ДНК: экспедиционный стиль — рассветный градиент
   (глубокий синий → персик), Unbounded CAPS + Onest,
   отметки высот, топографические штрихи, коралловые CTA.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700&family=Onest:wght@400;500;600;700&display=swap');

:root {
    --night: #121b32;
    --night-2: #1b2848;
    --night-3: #253464;
    --dawn-peach: #ffb37e;
    --dawn-gold: #ffd29b;
    --coral: #ff6d4d;
    --coral-deep: #e5502f;
    --mist: #eef1f7;
    --paper: #fafbfd;
    --ink: #1a2238;
    --ink-soft: #46506e;
    --muted: #7d87a3;
    --line: #d9deea;
    --line-dark: rgba(255, 255, 255, 0.14);
    --on-night: #eef1f9;
    --on-night-soft: #aab4d0;
    --grad-dawn: linear-gradient(178deg, #121b32 0%, #1e2b52 34%, #4b3f6e 56%, #a05f74 72%, #e08a6d 86%, #ffb37e 100%);
    --font-display: 'Unbounded', 'Arial Black', sans-serif;
    --font-body: 'Onest', 'Segoe UI', system-ui, sans-serif;
    --radius: 18px;
    --nav-h: 74px;
    --shadow: 0 24px 60px -28px rgba(18, 27, 50, 0.45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--paper);
    color: var(--ink);
    font-size: 16.5px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--coral); color: #fff; }

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

a { color: inherit; }

button { font-family: inherit; cursor: pointer; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* ---------- Типографика ---------- */

h1, h2, h3, .display {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.005em;
}

h1 { font-size: clamp(1.9rem, 4.6vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.35rem, 2.8vw, 2.1rem); text-transform: uppercase; }
h3 { font-size: 1.06rem; font-weight: 600; }

.tag-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--coral);
}

.tag-label::before {
    content: '';
    width: 26px;
    height: 2px;
    background: var(--coral);
}

.on-dark .tag-label { color: var(--dawn-peach); }
.on-dark .tag-label::before { background: var(--dawn-peach); }

.lead { font-size: 1.1rem; color: var(--ink-soft); }

/* Отметка высоты — фирменный элемент */
.alt-mark {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 999px;
    padding: 5px 12px;
    white-space: nowrap;
}

.alt-mark b { font-weight: 600; color: var(--ink); }

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.btn:active { transform: translateY(1px); }

.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-deep); }

.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

.on-dark .btn-line { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.on-dark .btn-line:hover { background: #fff; color: var(--night); border-color: #fff; }

/* ---------- Навигация ---------- */

.site-nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 60;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    color: var(--on-night);
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}

.site-nav.scrolled {
    background: rgba(18, 27, 50, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--line-dark);
}

.nav-inner { width: 100%; display: flex; align-items: center; gap: 26px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }

.logo-text { line-height: 1.1; }

.logo-text strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.22rem;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.logo-text span {
    font-size: 0.64rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--on-night-soft);
}

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--on-night-soft);
    padding: 6px 0;
    transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

.nav-links a.active { color: var(--dawn-peach); }

.nav-cta { padding: 12px 24px; font-size: 0.72rem; white-space: nowrap; }

.burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-dark);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.burger span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero: рассвет ---------- */

.hero {
    position: relative;
    background: var(--grad-dawn);
    color: var(--on-night);
    padding: calc(var(--nav-h) + 70px) 0 0;
    overflow: hidden;
}

.hero-stars {
    position: absolute;
    inset: 0 0 45% 0;
    background-image:
        radial-gradient(1.4px 1.4px at 12% 22%, rgba(255,255,255,0.9) 50%, transparent 51%),
        radial-gradient(1px 1px at 28% 10%, rgba(255,255,255,0.7) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 44% 30%, rgba(255,255,255,0.8) 50%, transparent 51%),
        radial-gradient(1px 1px at 61% 14%, rgba(255,255,255,0.65) 50%, transparent 51%),
        radial-gradient(1.5px 1.5px at 76% 25%, rgba(255,255,255,0.85) 50%, transparent 51%),
        radial-gradient(1px 1px at 88% 9%, rgba(255,255,255,0.6) 50%, transparent 51%),
        radial-gradient(1px 1px at 52% 6%, rgba(255,255,255,0.75) 50%, transparent 51%),
        radial-gradient(1.2px 1.2px at 8% 8%, rgba(255,255,255,0.7) 50%, transparent 51%),
        radial-gradient(1px 1px at 94% 33%, rgba(255,255,255,0.5) 50%, transparent 51%);
    animation: twinkle 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes twinkle {
    from { opacity: 0.55; }
    to { opacity: 1; }
}

.hero-inner { position: relative; z-index: 2; max-width: 880px; }

.hero h1 { margin: 22px 0 20px; text-wrap: balance; }

.hero h1 em {
    font-style: normal;
    color: var(--dawn-gold);
}

.hero-sub {
    max-width: 54ch;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.12rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 44px;
    padding: 22px 0 60px;
}

.hero-stats div { line-height: 1.25; }

.hero-stats b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.7rem;
    color: #fff;
}

.hero-stats span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.75); }

/* Слои гор внизу hero */
.hero-ridges {
    position: relative;
    height: 190px;
    margin-top: -20px;
    pointer-events: none;
}

.hero-ridges svg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.hero-ridges .r1 path { fill: rgba(18, 27, 50, 0.32); }
.hero-ridges .r2 path { fill: rgba(18, 27, 50, 0.6); }
.hero-ridges .r3 path { fill: var(--paper); }

/* ---------- Секции ---------- */

.section { padding: 92px 0; }

.section-dark {
    background: var(--night);
    color: var(--on-night);
}

.section-mist { background: var(--mist); }

.section-head { max-width: 720px; margin-bottom: 44px; }

.section-head h2 { margin: 16px 0 14px; }

.section-head p { color: var(--ink-soft); }

.section-dark .section-head p { color: var(--on-night-soft); }

/* ---------- Лента туров (вау-приём 1) ---------- */

.rail-wrap { position: relative; }

.tours-rail {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 6px 30px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.tours-rail::-webkit-scrollbar { display: none; }

.tour-card {
    flex: 0 0 min(420px, 80vw);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tour-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.tour-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }

.tour-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.tour-card:hover .tour-media img { transform: scale(1.05); }

.tour-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 27, 50, 0.82);
    color: #fff;
    backdrop-filter: blur(6px);
    border-radius: 999px;
    padding: 7px 14px;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tour-alt {
    position: absolute;
    right: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    padding: 6px 13px;
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--night);
}

.tour-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }

.tour-body h3 {
    font-size: 1.05rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tour-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    font-size: 0.85rem;
    color: var(--muted);
}

.tour-foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tour-price { line-height: 1.15; }

.tour-price b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--ink);
}

.tour-price span { display: block; font-size: 0.76rem; color: var(--muted); }

.tour-seats {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--coral-deep);
    white-space: nowrap;
}

.tour-seats.ok { color: #3f8f5b; }

.rail-controls { display: flex; align-items: center; gap: 20px; }

.rail-arrows { display: flex; gap: 10px; }

.rail-arrows button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    font-size: 1.2rem;
    color: var(--ink);
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
}

.rail-arrows button:hover:not(:disabled) { border-color: var(--ink); }
.rail-arrows button:disabled { opacity: 0.3; cursor: default; }

.rail-progress { flex: 1; max-width: 280px; height: 2px; background: var(--line); position: relative; }

.rail-progress i {
    position: absolute;
    top: -1px;
    left: 0;
    height: 4px;
    width: 25%;
    border-radius: 4px;
    background: var(--coral);
    transition: left 0.25s, width 0.25s;
}

.rail-hint { font-size: 0.82rem; color: var(--muted); }

/* ---------- Фильтры каталога ---------- */

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
}

.chip {
    border: 1.5px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 20px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.chip:hover { border-color: var(--ink); color: var(--ink); }

.chip.active { background: var(--night); border-color: var(--night); color: #fff; }

.tours-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tours-grid .tour-card { flex: none; }

.tour-card.hidden { display: none; }

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--muted);
    padding: 40px 0;
}

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

.facts-band { padding: 64px 0; }

.facts-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.fact b {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    color: var(--dawn-peach);
    line-height: 1.05;
    margin-bottom: 8px;
}

.fact span { font-size: 0.9rem; color: var(--on-night-soft); }

/* ---------- Высотный профиль (вау-приём 2) ---------- */

.elevation-block {
    background: var(--night);
    color: var(--on-night);
    border-radius: var(--radius);
    padding: 44px 46px 38px;
    overflow: hidden;
    position: relative;
}

.elevation-block::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 15% 20%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 70% 12%, rgba(255,255,255,0.4) 50%, transparent 51%),
        radial-gradient(1.3px 1.3px at 88% 28%, rgba(255,255,255,0.5) 50%, transparent 51%),
        radial-gradient(1px 1px at 40% 8%, rgba(255,255,255,0.35) 50%, transparent 51%);
    pointer-events: none;
}

.elevation-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px 20px;
    margin-bottom: 26px;
    position: relative;
    z-index: 1;
}

.elevation-head h2 { font-size: 1.2rem; }

.elevation-head span { font-size: 0.84rem; color: var(--on-night-soft); }

.elevation-svg-wrap { position: relative; z-index: 1; }

.elevation-svg-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }

.elev-area { fill: url(#elevGrad); opacity: 0.35; }

.elev-line {
    fill: none;
    stroke: var(--dawn-peach);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px rgba(255, 179, 126, 0.65));
}

.elev-base {
    fill: none;
    stroke: rgba(255, 255, 255, 0.14);
    stroke-width: 1;
    stroke-dasharray: 4 6;
}

.elev-point circle {
    fill: var(--night);
    stroke: var(--dawn-peach);
    stroke-width: 2.5;
    transition: fill 0.3s, r 0.3s;
}

.elev-point.lit circle { fill: var(--dawn-peach); }

.elev-point text {
    font-family: var(--font-body);
    font-size: 12.5px;
    fill: var(--on-night-soft);
    transition: fill 0.3s;
}

.elev-point text.pt-alt {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    fill: rgba(255, 255, 255, 0.5);
}

.elev-point.lit text { fill: #fff; }
.elev-point.lit text.pt-alt { fill: var(--dawn-gold); }

.elevation-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 20px;
    font-size: 0.82rem;
    color: var(--on-night-soft);
    position: relative;
    z-index: 1;
}

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

.page-hero {
    position: relative;
    background: var(--grad-dawn);
    color: var(--on-night);
    padding: calc(var(--nav-h) + 46px) 0 54px;
    overflow: hidden;
}

.page-hero .hero-stars { inset: 0 0 30% 0; }

.page-hero-inner { position: relative; z-index: 1; }

.page-hero h1 { margin: 16px 0 14px; max-width: 24ch; }

.page-hero .lead { color: rgba(255, 255, 255, 0.85); max-width: 60ch; }

.crumbs {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.crumbs a { color: rgba(255, 255, 255, 0.65); text-decoration: none; }

.crumbs a:hover { color: #fff; }

.crumbs span::before { content: '·'; margin-right: 8px; }

.tour-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.tour-quick .alt-mark {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.tour-quick .alt-mark b { color: #fff; }

.tour-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.tour-content > section { margin-bottom: 54px; }

.tour-content h2 { font-size: 1.25rem; margin-bottom: 20px; }

.tour-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 54px; }

.tour-photo img { width: 100%; aspect-ratio: 16 / 8.5; object-fit: cover; }

/* программа по времени */
.timeline { position: relative; padding-left: 30px; }

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    border-left: 2px dashed var(--line);
}

.tl-item { position: relative; padding: 0 0 26px; }

.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 6px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--coral);
}

.tl-time {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--coral-deep);
    letter-spacing: 0.06em;
}

.tl-item h3 { margin: 4px 0 6px; font-size: 1.02rem; }

.tl-item p { color: var(--ink-soft); font-size: 0.97rem; max-width: 58ch; }

/* два списка: включено / взять с собой */
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.check-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px;
}

.check-card h3 { margin-bottom: 16px; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.06em; }

.check-card ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.check-card li { display: flex; gap: 11px; align-items: baseline; color: var(--ink-soft); font-size: 0.97rem; }

.check-card li::before { content: '—'; color: var(--coral); font-weight: 700; }

.check-card.warn li::before { content: '!'; font-family: var(--font-display); }

/* сайдбар брони */
.tour-side {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
}

.side-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

.side-price b {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
}

.side-price span { color: var(--muted); font-size: 0.85rem; }

.side-kid { font-size: 0.9rem; color: var(--ink-soft); margin-top: 4px; }

.side-dates { margin: 20px 0; display: flex; flex-direction: column; gap: 9px; }

.side-date {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    padding: 11px 15px;
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.side-date:hover { border-color: var(--muted); }

.side-date.selected { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }

.side-date b { font-weight: 600; }

.side-date .seats { font-size: 0.78rem; font-weight: 600; color: #3f8f5b; }

.side-date .seats.few { color: var(--coral-deep); }

.side-form .form-row { margin-bottom: 12px; }

.side-form input {
    width: 100%;
    padding: 13px 15px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.95rem;
}

.side-form input:focus { outline: none; border-color: var(--coral); }

.side-form .btn { width: 100%; }

.side-note { font-size: 0.76rem; color: var(--muted); margin-top: 12px; line-height: 1.5; }

.side-ok { text-align: center; padding: 18px 6px 8px; }

.side-ok .ok-badge {
    width: 54px;
    height: 54px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255, 109, 77, 0.12);
    color: var(--coral-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.side-ok p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Расписание ---------- */

.sched-list { display: flex; flex-direction: column; gap: 14px; }

.sched-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto auto;
    gap: 16px 24px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px 24px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sched-row:hover { border-color: var(--muted); box-shadow: var(--shadow); }

.sched-date { line-height: 1.2; }

.sched-date b {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}

.sched-date span { font-size: 0.78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

.sched-tour b { display: block; font-weight: 600; }

.sched-tour span { font-size: 0.84rem; color: var(--muted); }

.sched-price {
    font-family: var(--font-display);
    font-weight: 600;
    white-space: nowrap;
}

.sched-seats { font-size: 0.82rem; font-weight: 600; white-space: nowrap; color: #3f8f5b; }

.sched-seats.few { color: var(--coral-deep); }

.sched-seats.full { color: var(--muted); text-decoration: line-through; }

/* ---------- Сплит и отзывы ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.split.reverse .split-media { order: 2; }

.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

.split-text h2 { margin: 16px 0 16px; }

.split-text p { color: var(--ink-soft); margin-bottom: 14px; }

.split-text .btn { margin-top: 12px; }

.plain-list { list-style: none; margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }

.plain-list li { display: flex; gap: 12px; align-items: baseline; color: var(--ink-soft); }

.plain-list li::before { content: '—'; color: var(--coral); font-weight: 700; }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
}

.section-dark .review {
    background: var(--night-2);
    border-color: var(--line-dark);
}

.review p { font-size: 0.97rem; color: var(--ink-soft); margin-bottom: 16px; }

.section-dark .review p { color: var(--on-night-soft); }

.review footer { font-size: 0.82rem; color: var(--muted); }

.review footer strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink);
}

.section-dark .review footer strong { color: #fff; }

/* ---------- CTA ---------- */

.cta-band {
    position: relative;
    background: var(--grad-dawn);
    color: #fff;
    padding: 84px 0;
    overflow: hidden;
}

.cta-inner { position: relative; z-index: 1; max-width: 680px; }

.cta-inner h2 { margin-bottom: 16px; }

.cta-inner p { color: rgba(255, 255, 255, 0.85); margin-bottom: 30px; }

/* ---------- Футер ---------- */

.site-footer {
    background: var(--night);
    color: var(--on-night-soft);
    padding: 60px 0 36px;
    font-size: 0.92rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px;
    margin-bottom: 40px;
}

.footer-brand strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    display: block;
    margin-bottom: 10px;
}

.footer-brand p { max-width: 36ch; color: var(--on-night-soft); }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #6f7a99;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }

.footer-col a { color: var(--on-night-soft); text-decoration: none; transition: color 0.2s; }

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid var(--line-dark);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6f7a99;
}

.footer-bottom a { color: #99a3c0; }

/* ---------- Прелоадер-альтиметр ---------- */

.altimeter-loader {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--night);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--on-night);
    transition: opacity 0.5s ease, visibility 0.5s;
}

.altimeter-loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.al-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.6rem, 8vw, 5rem);
    line-height: 1;
    color: var(--dawn-peach);
    font-variant-numeric: tabular-nums;
}

.al-num small { font-size: 0.35em; color: var(--on-night-soft); font-weight: 500; }

.al-line {
    width: min(320px, 60vw);
    height: 2px;
    background: var(--line-dark);
    position: relative;
    overflow: hidden;
}

.al-line i {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--coral), var(--dawn-peach));
    transform-origin: left;
    transform: scaleX(0);
}

.al-label {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--on-night-soft);
}

/* ---------- Восход по скроллу: солнце, облака, гаснущие звёзды ---------- */

.hero-sun {
    position: absolute;
    left: 50%;
    bottom: 40px;
    width: 190px;
    height: 190px;
    margin-left: -95px;
    border-radius: 50%;
    background: radial-gradient(circle,
        #fff6e6 0%, #ffd8a0 28%, rgba(255, 179, 126, 0.55) 55%, rgba(255, 179, 126, 0) 72%);
    filter: blur(1px);
    pointer-events: none;
    will-change: transform, opacity;
    z-index: 0;
}

.hero-cloud {
    position: absolute;
    height: 90px;
    width: 340px;
    border-radius: 999px;
    background: radial-gradient(ellipse at 50% 60%, rgba(255, 255, 255, 0.13), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}

.hero-cloud.c1 { top: 26%; left: -8%; animation: clouddrift 46s linear infinite; }
.hero-cloud.c2 { top: 42%; left: 30%; width: 460px; opacity: 0.7; animation: clouddrift 64s linear infinite reverse; }
.hero-cloud.c3 { top: 14%; left: 62%; width: 260px; opacity: 0.5; animation: clouddrift 38s linear infinite; }

@keyframes clouddrift {
    from { transform: translateX(-6vw); }
    to { transform: translateX(106vw); }
}

/* падающая звезда */
.shooting-star {
    position: absolute;
    top: 12%;
    left: 65%;
    width: 130px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), transparent);
    border-radius: 2px;
    transform: rotate(-28deg);
    opacity: 0;
    pointer-events: none;
    animation: shoot 9s ease-in 3s infinite;
}

.shooting-star.s2 { top: 22%; left: 18%; width: 90px; animation-delay: 6.4s; animation-duration: 11s; }

@keyframes shoot {
    0% { opacity: 0; transform: translate(0, 0) rotate(-28deg); }
    1.4% { opacity: 1; }
    5% { opacity: 0; transform: translate(-260px, 140px) rotate(-28deg); }
    100% { opacity: 0; transform: translate(-260px, 140px) rotate(-28deg); }
}

/* каскадное появление заголовка */
.stagger .w {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.55em) rotate(1.2deg);
    animation: wordup 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

@keyframes wordup {
    to { opacity: 1; transform: none; }
}

.hero .hero-sub, .hero .hero-actions, .hero .hero-stats {
    opacity: 0;
    animation: wordup 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.hero .hero-sub { animation-delay: 0.55s; }
.hero .hero-actions { animation-delay: 0.7s; }
.hero .hero-stats { animation-delay: 0.85s; }

/* штрих под «до рассвета» */
.hero h1 em { position: relative; white-space: nowrap; }

.hero h1 em::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.08em;
    height: 0.08em;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--coral), var(--dawn-gold));
    transform-origin: left;
    transform: scaleX(0);
    animation: underline 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 1.1s forwards;
}

@keyframes underline {
    to { transform: scaleX(1); }
}

/* ---------- HUD-высотомер ---------- */

.hud {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 55;
    background: rgba(18, 27, 50, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 14px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.hud.visible { opacity: 1; transform: none; }

.hud .hud-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--coral);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.hud b { color: var(--dawn-peach); font-variant-numeric: tabular-nums; }

.hud span { color: var(--on-night-soft); font-weight: 500; }

/* ---------- Лента-шкала высот (разделитель) ---------- */

.alt-tape {
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 14px 0;
    user-select: none;
}

.alt-tape-track {
    display: flex;
    gap: 0;
    width: max-content;
    animation: tapemove 40s linear infinite;
}

.alt-tape:hover .alt-tape-track { animation-play-state: paused; }

.alt-tape-item {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 0 22px;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}

.alt-tape-item .tick {
    display: inline-block;
    width: 1px;
    height: 22px;
    background: var(--line);
    box-shadow: 6px 6px 0 -5px var(--line), 12px 3px 0 -5px var(--line),
        -6px 6px 0 -5px var(--line), -12px 3px 0 -5px var(--line);
}

.alt-tape-item .alt-val { color: var(--coral-deep); }

@keyframes tapemove {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Магнитные кнопки и блик ---------- */

.btn-magnetic { position: relative; overflow: hidden; transition: transform 0.18s ease-out; }

.btn-magnetic::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 55%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
}

.btn-magnetic:hover::after { left: 130%; }

/* ---------- Тилт карточек ---------- */

.tours-rail { perspective: 1100px; }

.tour-card { transform-style: preserve-3d; }

.tour-card.tilting { transition: none; }

/* ---------- Прогресс «набор высоты» в шапке ---------- */

.climb-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 70;
    pointer-events: none;
}

.climb-progress i {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--coral), var(--dawn-gold));
}

.climb-progress .cp-peak {
    position: absolute;
    top: -1px;
    font-size: 10px;
    line-height: 1;
    color: var(--dawn-gold);
    transform: translateX(-50%);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
}

/* ---------- Киношное зерно на тёмных блоках ---------- */

.grain::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.7'/%3E%3C/svg%3E");
}

.hero.grain, .ticket-wrap.grain, .page-hero.grain { position: relative; }

/* ---------- Живая сводка (вместо плитки фактов) ---------- */

.live-brief {
    position: relative;
    z-index: 3;
    margin-top: -34px;
    background: var(--night);
    color: var(--on-night);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.lb-item {
    padding: 24px 26px 22px;
    border-left: 1px solid var(--line-dark);
    line-height: 1.3;
}

.lb-item:first-child { border-left: none; }

.lb-item small {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--on-night-soft);
    margin-bottom: 8px;
}

.lb-item b {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.22rem;
    color: #fff;
}

.lb-item .lb-sub { display: block; font-size: 0.8rem; color: var(--on-night-soft); margin-top: 4px; }

.lb-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #57d98a;
    animation: lbpulse 1.6s ease-in-out infinite;
}

@keyframes lbpulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.lb-item .accent { color: var(--dawn-peach); }

/* ---------- Тропа (вместо сплит-секций) ---------- */

.trail { position: relative; max-width: 980px; margin: 0 auto; }

.trail-line {
    position: absolute;
    left: 24px;
    top: 8px;
    bottom: 8px;
    width: 0;
    border-left: 2px dashed var(--line);
}

.trail-fill {
    position: absolute;
    left: 23px;
    top: 8px;
    width: 4px;
    height: 0;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--coral), var(--dawn-peach));
    box-shadow: 0 0 10px rgba(255, 140, 90, 0.5);
}

.trail-stop {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px 36px;
    align-items: center;
    padding: 0 0 58px 74px;
}

.trail-stop:last-child { padding-bottom: 0; }

.ts-dot {
    position: absolute;
    left: 13px;
    top: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--paper);
    border: 2.5px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.ts-dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    transition: background 0.3s;
}

.trail-stop.lit .ts-dot { border-color: var(--coral); box-shadow: 0 0 0 5px rgba(255, 109, 77, 0.14); }
.trail-stop.lit .ts-dot::after { background: var(--coral); }

.ts-time {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--coral-deep);
}

.ts-body h3 { margin: 6px 0 8px; font-size: 1.12rem; text-transform: uppercase; }

.ts-body p { color: var(--ink-soft); max-width: 52ch; }

.ts-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
}

.trail-stop:nth-child(even) .ts-photo { order: -1; }

/* ---------- Журнал экспедиции (вместо сетки отзывов) ---------- */

.journal { max-width: 860px; }

.journal-entry {
    position: relative;
    border-left: 3px solid var(--dawn-peach);
    padding: 6px 0 6px 30px;
    margin-bottom: 44px;
}

.journal-entry:nth-child(2) { margin-left: 9%; border-left-color: var(--coral); }
.journal-entry:nth-child(3) { margin-left: 4%; }
.journal-entry:last-child { margin-bottom: 0; }

.je-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.je-route {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--coral-deep);
}

.je-alt {
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 500;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 999px;
    padding: 4px 11px;
}

.journal-entry blockquote {
    font-size: clamp(1.05rem, 1.9vw, 1.35rem);
    line-height: 1.5;
    color: var(--ink);
    font-weight: 500;
}

.journal-entry footer { margin-top: 12px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Посадочный талон (вместо CTA-полосы) ---------- */

.ticket-wrap { padding: 92px 0; background: var(--night); position: relative; overflow: hidden; }

.ticket-wrap .hero-stars { inset: 0; }

.ticket {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 250px;
    background: var(--grad-dawn);
    border-radius: 20px;
    color: #fff;
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
}

.ticket-main { padding: 40px 44px; }

.ticket-brand {
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--dawn-gold);
    margin-bottom: 16px;
}

.ticket-main h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin-bottom: 12px; }

.ticket-main p { color: rgba(255, 255, 255, 0.85); max-width: 46ch; margin-bottom: 24px; }

.ticket-fields { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-bottom: 26px; }

.tf b {
    display: block;
    font-family: var(--font-display);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 4px;
}

.tf span { font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; }

.ticket-stub {
    position: relative;
    border-left: 2px dashed rgba(255, 255, 255, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 20px;
}

.ticket-stub::before,
.ticket-stub::after {
    content: '';
    position: absolute;
    left: -14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--night);
}

.ticket-stub::before { top: -14px; }
.ticket-stub::after { bottom: -14px; }

.ticket-barcode {
    width: 100%;
    height: 52px;
    border-radius: 6px;
    background: repeating-linear-gradient(90deg,
        rgba(255, 255, 255, 0.9) 0 2px, transparent 2px 5px,
        rgba(255, 255, 255, 0.9) 5px 9px, transparent 9px 12px,
        rgba(255, 255, 255, 0.9) 12px 13px, transparent 13px 17px);
    opacity: 0.85;
}

.ticket-stub small {
    font-family: var(--font-display);
    font-size: 0.56rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* ---------- Маршрутные строки каталога ---------- */

.routes-list { display: flex; flex-direction: column; }

.route-row {
    display: grid;
    grid-template-columns: 92px 150px minmax(0, 1fr) auto auto 30px;
    gap: 18px 30px;
    align-items: center;
    padding: 26px 10px;
    border-top: 1px solid var(--line);
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.route-row:last-of-type { border-bottom: 1px solid var(--line); }

.route-row:hover { background: #fff; transform: translateX(4px); }

.route-row.hidden { display: none; }

.route-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.9rem;
    color: transparent;
    -webkit-text-stroke: 1.6px var(--coral);
    letter-spacing: 0.02em;
}

.route-row:hover .route-num { color: var(--coral); -webkit-text-stroke: 0; }

.route-spark svg { display: block; width: 100%; height: 44px; overflow: visible; }

.route-spark polyline {
    fill: none;
    stroke: var(--night-3);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.route-spark circle { fill: var(--coral); }

.route-spark .rs-alt {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 600;
    fill: var(--muted);
}

.route-body h3 { font-size: 1.08rem; text-transform: uppercase; margin-bottom: 6px; }

.route-body .route-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.85rem; color: var(--muted); }

.route-price { text-align: right; line-height: 1.2; white-space: nowrap; }

.route-price b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }

.route-price span { display: block; font-size: 0.76rem; color: var(--muted); }

.route-seats { font-size: 0.8rem; font-weight: 600; color: #3f8f5b; white-space: nowrap; }

.route-seats.few { color: var(--coral-deep); }

.route-arrow { font-size: 1.3rem; color: var(--muted); transition: color 0.2s, transform 0.2s; }

.route-row:hover .route-arrow { color: var(--coral); transform: translateX(4px); }

/* ---------- Чек-лист снаряжения (страницы туров) ---------- */

.pack-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 30px;
}

.pack-card h3 {
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.pack-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }

.pack-card li { display: flex; gap: 13px; align-items: baseline; color: var(--ink-soft); font-size: 0.97rem; }

.pack-card li::before {
    content: '';
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border: 2px solid var(--coral);
    border-radius: 4px;
    transform: translateY(2px);
}

.pack-card.done li::before {
    background: var(--coral);
    box-shadow: inset 0 0 0 3px #fff;
}

/* ---------- Протокол (контакты) ---------- */

.protocol { counter-reset: proto; max-width: 720px; }

.protocol li {
    counter-increment: proto;
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--line);
    align-items: baseline;
}

.protocol li::before {
    content: counter(proto, decimal-leading-zero);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: transparent;
    -webkit-text-stroke: 1.3px var(--coral);
    flex: 0 0 44px;
}

.protocol li b { display: block; margin-bottom: 4px; }

.protocol li p { color: var(--ink-soft); font-size: 0.96rem; }

.contact-big {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    text-decoration: none;
    color: var(--ink);
    display: inline-block;
    border-bottom: 3px solid var(--coral);
    padding-bottom: 4px;
}

.contact-big:hover { color: var(--coral-deep); }

/* ---------- Манифест (о клубе) ---------- */

.manifesto { max-width: 900px; }

.manifesto-item {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 26px;
    padding: 34px 0;
    border-top: 1px solid var(--line);
    align-items: start;
}

.manifesto-item:last-child { border-bottom: 1px solid var(--line); }

.manifesto-item .m-num {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.6px var(--dawn-peach);
}

.manifesto-item h3 { font-size: 1.15rem; text-transform: uppercase; margin-bottom: 8px; }

.manifesto-item p { color: var(--ink-soft); max-width: 62ch; }

.photo-band { position: relative; border-radius: var(--radius); overflow: hidden; }

.photo-band img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; }

.photo-band figcaption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 30px 20px;
    background: linear-gradient(transparent, rgba(18, 27, 50, 0.85));
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
}

/* ---------- Появление ---------- */

.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-stars, .elevation-block::after { animation: none; }
    .hero-ridges svg { transform: none !important; }
    .hero-cloud, .shooting-star, .alt-tape-track { animation: none; }
    .shooting-star { display: none; }
    .stagger .w, .hero .hero-sub, .hero .hero-actions, .hero .hero-stats {
        opacity: 1; transform: none; animation: none;
    }
    .hero h1 em::after { transform: scaleX(1); animation: none; }
    .altimeter-loader { display: none; }
    .hero-sun { transform: none !important; }
    .btn-magnetic { transform: none !important; }
    .tour-card { transform: none !important; }
}

/* ---------- Адаптив ---------- */

@media (max-width: 1024px) {
    .tours-grid { grid-template-columns: repeat(2, 1fr); }
    .live-brief { grid-template-columns: 1fr 1fr; }
    .lb-item:nth-child(3) { border-left: none; }
    .lb-item:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
    .route-row { grid-template-columns: 64px minmax(0, 1fr) auto; }
    .route-spark, .route-arrow { display: none; }
    .route-seats { grid-column: 2; }
    .trail-stop { grid-template-columns: 1fr; }
    .trail-stop:nth-child(even) .ts-photo { order: 0; }
    .ts-photo { max-width: 420px; }
    .tour-layout { grid-template-columns: 1fr; }
    .tour-side { position: static; }
    .facts-row { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
    .reviews-grid { grid-template-columns: 1fr; max-width: 640px; }
    .split { grid-template-columns: 1fr; gap: 34px; }
    .split.reverse .split-media { order: 0; }
    .cols-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .container { padding: 0 20px; }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--night);
        border-bottom: 1px solid var(--line-dark);
        padding: 8px 20px 18px;
        display: none;
    }

    .nav-links.open { display: flex; }

    .nav-links a {
        display: block;
        padding: 14px 4px;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line-dark);
    }

    .nav-links li:last-child a { border-bottom: none; }

    .burger { display: flex; }

    .nav-inner { gap: 12px; }

    .logo-text strong { font-size: 1.05rem; }
    .logo-text span { display: none; }

    .nav-cta { padding: 10px 16px; font-size: 0.62rem; }

    .hero { padding-top: calc(var(--nav-h) + 40px); }

    .hero-stats { gap: 18px 28px; padding-bottom: 40px; }
    .hero-stats b { font-size: 1.3rem; }

    .hero-ridges { height: 110px; }

    .tour-card { flex-basis: 84vw; }

    .rail-hint { display: none; }

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

    .elevation-block { padding: 26px 18px 24px; border-radius: 14px; }

    /* SVG масштабируется — на телефоне поднимаем кегль подписей и толщину линии */
    .elev-line { stroke-width: 4.5; }
    .elev-point circle { r: 8; }
    .elev-point text { font-size: 21px; }
    .elev-point text.pt-alt { font-size: 23px; }

    .sched-row { grid-template-columns: 1fr auto; }
    .sched-tour { grid-column: 1 / -1; order: -1; }

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

    .filter-bar { gap: 8px; }
    .chip { padding: 9px 14px; font-size: 0.62rem; }

    .live-brief { margin-top: -22px; border-radius: 14px; }
    .lb-item { padding: 18px 18px 16px; }
    .lb-item b { font-size: 1.02rem; }

    .trail-line, .trail-fill { left: 15px; }
    .trail-fill { left: 14px; }
    .trail-stop { padding-left: 52px; padding-bottom: 46px; }
    .ts-dot { left: 4px; }

    .journal-entry:nth-child(2), .journal-entry:nth-child(3) { margin-left: 0; }

    .ticket { grid-template-columns: 1fr; }
    .ticket-main { padding: 30px 26px; }
    .ticket-stub {
        border-left: none;
        border-top: 2px dashed rgba(255, 255, 255, 0.45);
        flex-direction: row;
        padding: 20px 26px;
    }
    .ticket-stub::before { top: -13px; left: -13px; }
    .ticket-stub::after { top: -13px; bottom: auto; left: auto; right: -13px; }
    .ticket-barcode { height: 40px; }

    .route-row { padding: 20px 4px; gap: 12px 18px; }
    .route-num { font-size: 1.4rem; }

    .manifesto-item { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 26px 0; }
    .manifesto-item .m-num { font-size: 1.7rem; }

    .photo-band img { aspect-ratio: 4 / 3; }

    .hud { left: 12px; bottom: 84px; font-size: 0.68rem; padding: 8px 15px 8px 10px; }
    .hud .hud-icon { width: 24px; height: 24px; font-size: 0.66rem; }

    .hero-sun { width: 130px; height: 130px; margin-left: -65px; }

    .alt-tape-item { padding: 0 14px; font-size: 0.64rem; gap: 12px; }
}

@media (max-width: 480px) {
    .hero-actions .btn { width: 100%; }
    .facts-row { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
    .tour-quick { gap: 7px; }
    .alt-mark { font-size: 0.62rem; padding: 4px 10px; }
    .sched-row { padding: 15px 16px; }
}
