/* ================= FONTS ================= */
@font-face {
    font-family: 'Bebas Neue';
    src: url('../fonts/bebas-neue-cyrillic.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ================= VARIABLES ================= */
:root {
    --navy-900: #0c1f3c;
    --navy-800: #12294a;
    --navy-700: #16305a;
    --navy-card: #12294a;
    --navy-line: #2c4468;
    --amber: #f2a31c;
    --amber-dark: #e0900f;
    --bg-light: #f2f3f4;
    --bg-white: #ffffff;
    --text-dark: #16305a;
    --text-body: #3d4658;
    --text-muted: #6b7488;
    --radius: 14px;
    --container: 1600px;
    --pad: 60px;
}

/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    font-family: 'Manrope', system-ui, sans-serif;
    color: var(--text-body);
    background: var(--bg-light);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--pad);
}

/* ================= HELPERS ================= */
.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 0.98;
    letter-spacing: 0.5px;
    font-size: clamp(38px, 4vw, 62px);
    text-transform: uppercase;
}
.section-title--light { color: #fff; }
.section-title--dark { color: var(--navy-700); }

.eyebrow {
    display: inline-block;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.eyebrow--amber { color: var(--amber); }
.eyebrow b { color: var(--amber); margin-right: 8px; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 17px 34px;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: .25s ease;
    white-space: nowrap;
}
.btn--primary { background: var(--amber); color: #1a1a1a; }
.btn--primary:hover { background: var(--amber-dark); }
.btn__play { font-size: 12px; }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }

/* ---- Arrow links ---- */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: gap .2s ease;
}
.link-arrow:hover { gap: 18px; }
.link-arrow--navy { color: var(--navy-700); }
.link-arrow--amber { color: var(--amber); }
.link-arrow--light { color: #fff; }


/* ---- Divider diamond ---- */
.numbers__divider {
    display: flex; align-items: center; gap: 14px;
    color: var(--amber); font-size: 12px; margin: 20px 0 34px;
}
.numbers__divider::before,
.numbers__divider::after {
    content: ""; height: 2px; width: 70px;
    background: linear-gradient(90deg, transparent, var(--amber));
}
.numbers__divider::after { background: linear-gradient(90deg, var(--amber), transparent); }
.numbers__divider--dark { color: var(--amber); }

.section-head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head--center .numbers__divider { justify-content: center; }

/* ---- Ornament band (buryat pattern strips) ---- */
.ornament-band {
    height: 26px;
    background-color: var(--navy-800);
    background-image: url('../img/ornament-line.png');
    background-repeat: repeat-x;
    background-position: center;
    background-size: auto 20px;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding-top: 22px; padding-bottom: 18px;
    transition: background-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.header--solid {
    background-color: rgba(10,26,50,.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px rgba(0,0,0,.28);
    padding-top: 12px; padding-bottom: 12px;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand { display: flex; align-items: center; gap: 30px; }
.header__logo img { height: 74px; width: auto; transition: height .3s ease; }
.header--solid .header__logo img { height: 58px; }
.header__divider { width: 1px; height: 56px; background: rgba(255,255,255,.3); transition: height .3s ease; }
.header--solid .header__divider { height: 44px; }
.header__partner { display: flex; flex-direction: column; }
.header__partner img { height: 52px; width: auto; transition: height .3s ease; }
.header--solid .header__partner img { height: 41px; }
.header__partner-label {
    font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,.7); margin-top: 4px; padding-left: 2px;
}
.header__right { display: flex; align-items: center; gap: 30px; }
.nav { display: flex; gap: 28px; }
.nav__link {
    color: #fff; font-weight: 500; font-size: 13px;
    letter-spacing: 0.6px; text-transform: uppercase;
    transition: color .2s;
}
.nav__link:hover { color: var(--amber); }
.header__socials { display: flex; align-items: center; gap: 14px; }
.header__soc { color: #fff; opacity: .85; transition: color .2s, opacity .2s; display: inline-flex; }
.header__soc svg { width: 19px; height: 19px; display: block; }
.header__soc:hover { color: var(--amber); opacity: 1; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; border-radius: 2px; }

/* ================= HERO ================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.hero__bg {
    /* Fixed to the viewport height (not the full .hero box, which also contains the
       feature bar below) — otherwise a tall .hero forces the cover-sized photo to
       zoom in far more than intended, cropping the car oddly. */
    position: absolute; top: 0; left: 0; right: 0; height: 100vh;
    background: url('../img/hero.jpg') center 42%/cover no-repeat;
}
.hero__overlay {
    position: absolute; top: 0; left: 0; right: 0; height: 100vh;
    background: linear-gradient(90deg, rgba(8,20,38,.85) 0%, rgba(8,20,38,.55) 35%, rgba(8,20,38,.1) 60%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 120px; padding-bottom: 60px; }
.hero__content { width: fit-content; max-width: 100%; text-align: center; }
.hero__title { display: inline-block; font-family: 'Bebas Neue', sans-serif; font-weight: 400; text-transform: uppercase; line-height: 0.9; }
.hero__title-main { display: block; font-size: clamp(64px, 8vw, 118px); letter-spacing: 1px; }
.hero__title-sub { display: block; font-size: clamp(31px, 4.55vw, 66px); letter-spacing: 0.5px; text-align: justify; text-align-last: justify; }
.hero__tagline {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin: 24px 0 30px;
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(22px, 2.4vw, 34px);
    letter-spacing: 2px;
    color: var(--amber);
    text-transform: uppercase;
}
.hero__ornament { font-size: 20px; }
.hero__text { font-size: 20px; line-height: 1.6; color: rgba(255,255,255,.92); margin-bottom: 40px; }
.hero__actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* Hero feature bar */
.hero__features { position: relative; z-index: 2; display: flex;
    background-color: var(--navy-800);
    background-image: linear-gradient(rgba(18,41,74,.8), rgba(18,41,74,.8)), url('../img/mountains-dark.png');
    background-size: cover; background-position: center; }
.hero__pattern { width: 46px; flex-shrink: 0; align-self: stretch;
    background-image:
        repeating-linear-gradient(45deg, rgba(196,164,92,.4) 0 2px, transparent 2px 9px),
        repeating-linear-gradient(-45deg, rgba(196,164,92,.4) 0 2px, transparent 2px 9px);
    background-size: 18px 18px;
}
.hero__features-inner { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 40px; padding-top: 30px; padding-bottom: 30px; }
.feature__divider { width: 1px; background: url('../img/ornament-line2.png') repeat-y center / 100% 100%; opacity: .9; }
.feature { display: flex; align-items: center; gap: 22px; }
.feature__icon { color: #fff; flex-shrink: 0; }
.feature__icon svg { width: 54px; height: 54px; }
.feature__icon img { height: 68px; width: auto; display: block; }
.feature__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 26px; letter-spacing: 1px; color: var(--amber); text-transform: uppercase; margin-bottom: 4px; }
.feature__text { color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.4; }

/* ================= ABOUT ================= */
.about { background: var(--bg-light); }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; }
.about__text { padding: 90px var(--pad) 90px; max-width: 760px; margin-left: auto; width: 100%; }
.about__lead { font-size: 18px; color: var(--text-body); margin: 30px 0 40px; max-width: 560px; }
.about__media { position: relative; }
.about__image { width: 100%; height: 100%; min-height: 480px; background-size: cover; background-position: center; }
.stat-badge {
    position: absolute; border-radius: 16px; padding: 22px 26px;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 45px rgba(10,25,50,.22);
    width: 220px;
    right: max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.stat-badge__num { font-family: 'Bebas Neue', sans-serif; font-size: 54px; line-height: 1; }
.stat-badge__label { font-size: 14px; line-height: 1.3; margin-top: 6px; }
.stat-badge--navy { background: var(--navy-800); color: #fff; top: 60px; }
.stat-badge--navy .stat-badge__num { color: var(--amber); }
.stat-badge--light { background: #fff; color: var(--navy-700); top: 214px; }

/* ================= NUMBERS ================= */
.numbers { position: relative;
    background-color: var(--navy-800);
    background-image: linear-gradient(rgba(18,41,74,.82), rgba(18,41,74,.82)), url('../img/mountains-dark.png');
    background-size: cover; background-position: center; }
.numbers__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.numbers__left { padding: 80px var(--pad); }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; flex-direction: column; align-items: flex-start; }
.stat__icon { color: #fff; margin-bottom: 16px; display: block; }
.stat__icon svg { width: 44px; height: 44px; }
.stat__icon img { height: 64px; width: auto; display: block; }
.stat__num { font-family: 'Bebas Neue', sans-serif; font-size: 72px; line-height: 0.9; color: #fff; }
.stat__label { font-weight: 700; font-size: 15px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.85); margin-top: 6px; }
.numbers__media { position: relative; min-height: 420px; }
.numbers__image { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: flex-end; }
.numbers__quote {
    position: relative; z-index: 2; text-align: right; color: #fff;
    font-style: italic; font-size: 17px; line-height: 1.5; padding: 40px;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.numbers__quote cite { font-style: normal; font-weight: 600; }

/* ================= WHY ================= */
.why { background: var(--bg-light); display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.why__media { position: relative; align-self: stretch; }
.why__image {
    width: 100%; height: 100%; min-height: 500px;
    background-size: cover; background-position: right;
}
.why__content { padding: 80px var(--pad); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px; margin-top: 30px; }
.why-card { text-align: center; }
.why-card__icon { color: var(--navy-700); display: inline-flex; margin-bottom: 20px; }
.why-card__icon svg { width: 56px; height: 56px; }
.why-card__icon img { height: 58px; width: auto; margin: 0 auto; display: block; }
.why-card__title { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 22px; letter-spacing: .8px; color: var(--navy-700); text-transform: uppercase; margin-bottom: 12px; }
.why-card__text { font-size: 15px; color: var(--text-body); line-height: 1.5; }

/* ================= ROUTE ================= */
.route { padding: 80px 0;
    background-color: var(--navy-900);
    background-image: linear-gradient(rgba(12,31,60,.8), rgba(12,31,60,.8)), url('../img/mountains-dark.png');
    background-size: cover; background-position: center; }
.route__inner { display: grid; grid-template-columns: 0.85fr 1.7fr 0.6fr; gap: 36px; align-items: center; }
.route__legend { margin: 30px 0 36px; display: flex; flex-direction: column; gap: 16px; }
.route__legend li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.9); font-size: 16px; }
.legend-pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--amber); }
.legend-line { width: 24px; height: 2px; background: #fff; }
.legend-dot { width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 2px solid #fff; }
.route__map-svg { width: 100%; height: auto; }
.route__stats { display: flex; flex-direction: column; gap: 30px; }
.route-stat { border-bottom: 1px solid var(--navy-line); padding-bottom: 24px; display: flex; align-items: center; gap: 18px; }
.route-stat:last-child { border-bottom: none; }
.route-stat__num { font-family: 'Bebas Neue', sans-serif; font-size: 64px; line-height: 1; color: var(--amber); flex-shrink: 0; }
.route-stat__num--lg { font-size: 64px; }
.route-stat__label { font-weight: 500; font-size: 14px; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* ================= EPISODES ================= */
.episodes { background: var(--bg-light); padding: 90px 0; }
.episodes__inner { display: grid; grid-template-columns: 340px 1fr; gap: 50px; align-items: start; }
.episodes__lead { font-size: 16px; color: var(--text-body); margin: 26px 0 40px; }
.episodes__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ep-card {
    position: relative; border-radius: 16px; overflow: hidden;
    min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end;
    background-size: cover; background-position: center;
    box-shadow: 0 20px 40px rgba(10,25,50,.18);
    transition: transform .3s ease;
}
.ep-card:hover { transform: translateY(-6px); }
.ep-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,40,.15) 0%, rgba(10,20,40,.85) 100%); }
.ep-card__tag {
    position: absolute; top: 18px; left: 18px; z-index: 2;
    background: rgba(20,35,60,.7); color: #fff; backdrop-filter: blur(4px);
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    padding: 7px 14px; border-radius: 20px;
}
.ep-card__body { position: relative; z-index: 2; padding: 24px; color: #fff; }
.ep-card__date { font-size: 13px; opacity: .85; }
.ep-card__title { font-size: 21px; font-weight: 700; line-height: 1.2; margin: 10px 0 18px; }
.ep-card .link-arrow { font-size: 12px; }

/* --- Coming-soon placeholder cards --- */
.ep-card--soon {
    background: linear-gradient(160deg, #1d3a63 0%, #12294a 60%, #0e2140 100%);
    border: 1px solid rgba(255,255,255,.08);
}
.ep-card--soon::after { display: none; }
.ep-card--soon:hover { transform: translateY(-6px); }
.ep-card__soon {
    position: absolute; inset: 0; z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
}
.ep-card__soon-ic {
    width: 74px; height: 74px; border-radius: 50%;
    border: 1.5px dashed rgba(242,163,28,.5); color: var(--amber);
    display: flex; align-items: center; justify-content: center;
}
.ep-card__soon-ic svg { width: 34px; height: 34px; }
.ep-card__soon-label {
    font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 3px;
    color: rgba(255,255,255,.85); text-transform: uppercase;
}
.ep-card--soon .ep-card__title { margin-bottom: 0; opacity: .8; font-weight: 600; font-size: 19px; }

/* ================= GALLERY ================= */
.gallery { position: relative;
    background-color: var(--navy-800);
    background-image: linear-gradient(rgba(18,41,74,.82), rgba(18,41,74,.82)), url('../img/mountains-dark.png');
    background-size: cover; background-position: center; }
.gallery__inner { display: grid; grid-template-columns: 360px 1fr; gap: 50px; padding-top: 70px; padding-bottom: 70px; align-items: center; }
.gallery__lead { font-size: 16px; color: rgba(255,255,255,.8); margin: 26px 0 30px; }
.gallery__nav { display: flex; gap: 16px; margin-top: 40px; }
.gallery__arrow {
    width: 54px; height: 54px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.4); background: transparent; color: #fff;
    font-size: 20px; cursor: pointer; transition: .2s;
}
.gallery__arrow:hover:not(:disabled) { background: rgba(255,255,255,.12); }
.gallery__arrow:disabled { opacity: .35; cursor: default; }

/* --- Mosaic grid --- */
.gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
}
.gallery__slide {
    width: 100%; height: 100%;
    border: none; padding: 0; cursor: pointer;
    border-radius: 14px; background-size: cover; background-position: center;
    position: relative; overflow: hidden;
}
.gallery__slide:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery__slide:nth-child(2) { grid-column: 3;     grid-row: 1; }
.gallery__slide:nth-child(3) { grid-column: 4;     grid-row: 1; }
.gallery__slide:nth-child(4) { grid-column: 3 / 5; grid-row: 2; }
.gallery__slide:nth-child(5) { grid-column: 1;     grid-row: 3; }
.gallery__slide:nth-child(6) { grid-column: 2;     grid-row: 3; }
.gallery__slide:nth-child(7) { grid-column: 3;     grid-row: 3; }
.gallery__slide:nth-child(8) { grid-column: 4;     grid-row: 3; }
.gallery__slide::after {
    content: ""; position: absolute; inset: 0;
    background: rgba(12,31,60,.15); transition: background .25s;
}
.gallery__slide:hover::after { background: rgba(12,31,60,.05); }
.gallery__zoom {
    position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; z-index: 2;
    background: rgba(18,41,74,.75); backdrop-filter: blur(3px); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.4);
    opacity: 0; transform: scale(.8); transition: .25s;
}
.gallery__zoom svg { width: 24px; height: 24px; }
.gallery__slide:hover .gallery__zoom,
.gallery__slide:focus-visible .gallery__zoom { opacity: 1; transform: scale(1); }

/* --- Lightbox --- */
.lightbox {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(6,14,28,.94);
    display: flex; align-items: center; justify-content: center; gap: 20px;
    padding: 40px;
    opacity: 0; animation: lbFade .25s ease forwards;
}
.lightbox[hidden] { display: none; }
@keyframes lbFade { to { opacity: 1; } }
.lightbox__figure { margin: 0; max-width: 82vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__img {
    max-width: 82vw; max-height: 80vh; width: auto; height: auto;
    border-radius: 10px; box-shadow: 0 24px 60px rgba(0,0,0,.5);
    object-fit: contain;
}
.lightbox__counter { margin-top: 16px; color: rgba(255,255,255,.8); font-size: 15px; letter-spacing: 1px; }
.lightbox__nav {
    flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff;
    font-size: 34px; line-height: 1; cursor: pointer; transition: .2s;
    display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:hover { background: var(--amber); color: #12294a; border-color: var(--amber); }
.lightbox__close {
    position: absolute; top: 26px; right: 34px; width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff;
    font-size: 20px; cursor: pointer; transition: .2s; z-index: 2;
}
.lightbox__close:hover { background: var(--amber); color: #12294a; border-color: var(--amber); }

/* ================= ORGANIZER ================= */
.organizer { background: var(--bg-light); padding: 80px 0; }
.organizer__inner { display: grid; grid-template-columns: 0.8fr 1.7fr 0.7fr; gap: 30px; align-items: stretch; }
.organizer__lead { font-size: 16px; color: var(--text-body); margin-top: 24px; }
.organizer__card {
    background: #fff; border-radius: 18px; padding: 50px;
    display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
    box-shadow: 0 20px 50px rgba(10,25,50,.08);
}
.organizer__logo { height: 90px; width: auto; opacity: 1; }
.organizer__desc { font-size: 17px; color: var(--text-body); }
.organizer__phone { display: inline-block; margin-top: 12px; font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: var(--navy-700); }
.organizer__phone:hover { color: var(--amber); }
.organizer__social {
    background: var(--navy-800); border-radius: 18px; padding: 40px 36px;
    display: flex; flex-direction: column; justify-content: center; gap: 26px;
}
.social-link { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 17px; transition: color .2s; }
.social-link:hover { color: var(--amber); }
.social-link__ic { width: 24px; height: 24px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.social-link__ic img { width: 22px; height: 22px; display: block; filter: brightness(0) invert(1); transition: filter .2s; }
.social-link:hover .social-link__ic img { filter: brightness(0) invert(72%) sepia(58%) saturate(900%) hue-rotate(360deg); }

/* ================= SUBSCRIBE ================= */
.subscribe { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; }
.subscribe__bg {
    position: absolute; inset: 0;
    background: url('../img/mountains-dark.png') center/cover;
    opacity: .8;
}
.subscribe__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1.1fr 0.8fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 70px; }
.subscribe__note { font-size: 17px; color: rgba(255,255,255,.85); margin-bottom: 24px; }
.subscribe__form { display: flex; max-width: 560px; border-radius: 8px; overflow: hidden; }
.subscribe__input { flex: 1; border: none; padding: 20px 24px; font-size: 16px; font-family: inherit; outline: none; }
.subscribe__btn { border-radius: 0; padding-left: 30px; padding-right: 30px; }
.subscribe__consent { display: flex; align-items: center; gap: 12px; margin-top: 18px; font-size: 14px; color: rgba(255,255,255,.8); }
.subscribe__consent input { width: 18px; height: 18px; accent-color: var(--amber); }
.subscribe__script { text-align: center; position: relative; }
.subscribe__road-img { width: 100%; max-width: 340px; height: auto; margin: 0 auto; display: block; }

/* ================= FOOTER ================= */
.footer { background: var(--bg-light); padding: 70px 0 40px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__index { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--amber); margin-bottom: 10px; }
.footer__logo { height: 70px; width: auto; margin-bottom: 22px; opacity: 1; }
.footer__desc { font-size: 14px; color: var(--text-muted); max-width: 300px; margin-bottom: 26px; }
.footer__socials { display: flex; gap: 12px; }
.footer__soc {
    width: 40px; height: 40px; border-radius: 50%; background: var(--navy-800); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700;
    transition: background .2s;
}
.footer__soc:hover { background: var(--amber); }
.footer__title { font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy-700); margin-bottom: 22px; }
.footer__list li { margin-bottom: 12px; }
.footer__list a { color: var(--text-body); font-size: 15px; transition: color .2s; }
.footer__list a:hover { color: var(--amber); }
.footer__list--muted li { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.footer__partner { height: 54px; width: auto; opacity: 1; }
.footer__bottom { display: flex; align-items: center; gap: 24px; margin-top: 50px; padding-top: 24px; font-size: 13px; color: var(--text-muted); }
.footer__rule { flex: 1; height: 1px; background: #d3d7dd; }

/* ================= CONTENT WIDTH CAP (1600) ================= */
/* Split sections are full-bleed: the image half runs to the screen edge,
   while the text half is padded so its content lines up with the 1600 container. */
:root { --edge-pad: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))); }

.about__grid,
.numbers__grid,
.why { max-width: none; margin: 0; }

.about__text { max-width: none; margin-left: 0; padding: 90px var(--pad); padding-left: var(--edge-pad); }
.numbers__left { padding-left: var(--edge-pad); }
.why__content { padding-right: var(--edge-pad); }

/* ================= INTERACTIVE MAP ================= */
.route__hint { margin-top: 28px; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.55); max-width: 340px; }
.route__map-col { position: relative; }
.rmap { position: relative; width: 100%; }
.rmap__svg { width: 100%; height: auto; overflow: visible; display: block; }

/* --- Route legend --- */
.route__legend--routes li { align-items: center; cursor: default; transition: opacity .2s; }
.route__legend--routes b { color: var(--amber); font-weight: 700; margin-left: 4px; font-size: 13px; }
.legend-route { width: 22px; height: 4px; border-radius: 2px; flex-shrink: 0; }
.legend-route--r1 { background: #4f8fe0; }
.legend-route--r2 { background: #7cba46; }
.legend-route--r3 { background: #f2a31c; }
.legend-route--start { width: 13px; height: 13px; border-radius: 50%; background: #0c1f3c; box-shadow: 0 0 0 2px #fff; }

/* --- Map base --- */
/* Terrain artwork (img/map-terrain.png) is the map; the vector fallback layers are hidden. */
.rmap__land, .rmap__baikal, .rmap__land-line, .rmap__edge { display: none; }
.rmap__bg { filter: drop-shadow(0 12px 24px rgba(0,0,0,.5)); }

/* --- Route lines --- */
.rt-line { fill: none; stroke-linecap: round; stroke-linejoin: round; transition: opacity .25s; }
.rt-line--glow { stroke-width: 9; opacity: .18; filter: blur(3px); }
.rt-line--main { stroke-width: 3.2; }
.rt-line--dash { stroke: rgba(255,255,255,.85); stroke-width: 1.1; stroke-dasharray: 1 7; opacity: .7; }
.rmap.dim-others .rt-line[data-route]:not(.is-active) { opacity: .12; }
.rmap.dim-others .rt-pin:not(.is-active) { opacity: .2; }

/* --- Ring markers --- */
.rt-pin { cursor: pointer; }
.rt-pin__ring, .rt-pin__mid, .rt-pin__core { transition: transform .2s; transform-box: fill-box; transform-origin: center; }
.rt-pin:hover .rt-pin__ring,
.rt-pin:focus .rt-pin__ring { transform: scale(1.35); }
.rt-pin:hover .rt-pin__mid,
.rt-pin:focus .rt-pin__mid { transform: scale(1.35); }
.rt-pin:focus { outline: none; }
.rt-pin__pulse { transform-box: fill-box; transform-origin: center; opacity: .55; animation: pinPulse 2.4s ease-out infinite; }
@keyframes pinPulse {
    0%   { transform: scale(.6); opacity: .6; }
    70%  { transform: scale(2.4); opacity: 0; }
    100% { transform: scale(2.4); opacity: 0; }
}

.rmap__tooltip {
    position: absolute; z-index: 10; transform: translate(-50%, -100%);
    background: #fff; color: var(--navy-700); border-radius: 10px;
    padding: 11px 15px; width: max-content; max-width: 260px; pointer-events: none;
    box-shadow: 0 12px 30px rgba(0,0,0,.35); display: flex; flex-direction: column; gap: 4px;
    font-size: 14px; line-height: 1.35;
}
.rmap__tooltip[hidden] { display: none; }
.rmap__tooltip strong { font-size: 15px; }
.rmap__tooltip::after {
    content: ""; position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
    border: 6px solid transparent; border-top-color: #fff; border-bottom: 0;
}
.rmap__tooltip--active { background: var(--amber); color: #12294a; }
.rmap__tooltip--active::after { border-top-color: var(--amber); }
.rmap__tooltip-hero { font-size: 12.5px; color: var(--text-body); }

/* ================= HEROES ================= */
.heroes { background: var(--bg-light); padding: 90px 0; }
.heroes__head { max-width: 720px; margin-bottom: 50px; }
.heroes__lead { font-size: 17px; color: var(--text-body); margin-top: 20px; }
.heroes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.hero-card {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 18px 45px rgba(10,25,50,.08); display: flex; flex-direction: column;
    transition: transform .3s, box-shadow .3s; border: 2px solid transparent;
}
.hero-card:hover { transform: translateY(-6px); box-shadow: 0 26px 55px rgba(10,25,50,.16); }
.hero-card.is-focus { border-color: var(--amber); box-shadow: 0 0 0 4px rgba(242,163,28,.25), 0 26px 55px rgba(10,25,50,.18); }
.hero-card__photo {
    position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center top;
    background-color: var(--navy-700);
    display: flex; align-items: flex-end;
}
.hero-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(12,31,60,.75)); }
.hero-card__initials {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: 'Bebas Neue', sans-serif; font-size: 72px; color: rgba(255,255,255,.25); letter-spacing: 4px;
}
.hero-card__tag {
    position: relative; z-index: 2; margin: 18px; background: var(--amber); color: #12294a;
    font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    padding: 7px 14px; border-radius: 20px;
}
.hero-card__body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.hero-card__name { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--navy-700); letter-spacing: .5px; }
.hero-card__role { font-size: 14px; color: var(--text-muted); margin: 6px 0 16px; }
.hero-card__quote { font-size: 16px; font-style: italic; color: var(--text-dark); line-height: 1.5; margin-bottom: 20px; }
.hero-card { cursor: pointer; }
.hero-card__meta { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 18px; border-top: 1px solid #e6e8ec; }
.hero-card__place { font-size: 13px; color: var(--text-muted); }
.hero-card__date { font-size: 13px; font-weight: 700; color: var(--amber); }
.hero-card__cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--navy-700); transition: gap .2s, color .2s;
}
.hero-card:hover .hero-card__cta,
.hero-card:focus-visible .hero-card__cta { color: var(--amber); gap: 14px; }
.hero-card:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

/* ================= HERO MODAL ================= */
.hero-modal {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: 30px;
}
.hero-modal[hidden] { display: none; }
.hero-modal__backdrop { position: absolute; inset: 0; background: rgba(6,14,28,.82); animation: lbFade .2s ease forwards; }
.hero-modal__dialog {
    position: relative; z-index: 2;
    width: 100%; max-width: 920px; max-height: 88vh;
    background: #fff; border-radius: 20px; overflow: hidden; overflow-y: auto;
    display: grid; grid-template-columns: 300px 1fr;
    box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.hero-modal__photo { background-size: cover; background-position: center top; background-color: var(--navy-700); min-height: 260px; }
.hero-modal__content { padding: 44px 44px 40px; }
.hero-modal__tag {
    display: inline-block; background: var(--amber); color: #12294a;
    font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase;
    padding: 7px 14px; border-radius: 20px; margin-bottom: 18px;
}
.hero-modal__name { font-family: 'Bebas Neue', sans-serif; font-size: 42px; color: var(--navy-700); line-height: 1; letter-spacing: .5px; }
.hero-modal__role { font-size: 15px; color: var(--text-muted); margin: 10px 0 24px; }
.hero-modal__text { font-size: 15.5px; line-height: 1.7; color: var(--text-body); }
.hero-modal__text p { margin-bottom: 16px; }
.hero-modal__quote {
    font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: .5px;
    color: var(--navy-700); border-left: 3px solid var(--amber); padding-left: 16px;
    margin-bottom: 22px !important; line-height: 1.15;
}
.hero-modal__meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #e6e8ec; font-size: 14px; color: var(--text-muted); font-weight: 700; }
.hero-modal__close {
    position: absolute; top: 18px; right: 18px; z-index: 3;
    width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,.6); background: rgba(12,31,60,.4); color: #fff;
    font-size: 18px; cursor: pointer; transition: .2s; backdrop-filter: blur(4px);
}
.hero-modal__close:hover { background: var(--amber); color: #12294a; border-color: var(--amber); }

/* ================= PARTNERS ================= */
.partners { background: var(--bg-light); padding: 30px 0 80px; }
.partners__title { font-weight: 700; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--navy-700); margin-bottom: 26px; }
.partners__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.partner-card {
    background: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 8px;
    box-shadow: 0 12px 30px rgba(10,25,50,.06); transition: transform .25s, box-shadow .25s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,25,50,.12); }
.partner-card__role { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--amber); }
.partner-card__logo { height: 32px; width: auto; max-width: 100%; object-fit: contain; object-position: left; margin: 2px 0 4px; }
.partner-card__name { font-size: 18px; font-weight: 700; color: var(--navy-700); line-height: 1.25; }
.partner-card__link { font-size: 13px; color: var(--text-muted); margin-top: 4px; word-break: break-word; }
.partner-card:hover .partner-card__link { color: var(--amber); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1400px) {
    :root { --pad: 40px; }
    .nav { gap: 26px; }
}
@media (max-width: 1200px) {
    .why__grid { grid-template-columns: repeat(2, 1fr); }
    .episodes__cards { grid-template-columns: repeat(2, 1fr); }
    .heroes__grid { grid-template-columns: repeat(3, 1fr); }
    .partners__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__inner { grid-template-columns: repeat(3, 1fr); }
    .footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
    .nav { position: fixed; inset: 0 0 0 auto; width: 280px; background: var(--navy-800);
        flex-direction: column; padding: 100px 30px; gap: 22px; transform: translateX(100%);
        transition: transform .3s ease; z-index: 40; }
    .nav.is-open { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 60; }
    .header__socials { display: none; }
    .about__grid, .numbers__grid, .why, .route__inner,
    .episodes__inner, .gallery__inner, .organizer__inner, .subscribe__inner {
        grid-template-columns: 1fr;
    }
    .about__text { max-width: none; }
    .why__image { min-height: 360px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .route__stats { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 28px 36px; }
    .route-stat { border-bottom: none; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
    .route-stat__num, .route-stat__num--lg { font-size: 56px; }
    .subscribe__script { display: none; }
    .organizer__social { flex-direction: row; flex-wrap: wrap; }
    .heroes__grid { grid-template-columns: 1fr; max-width: 480px; }
    .route__map-col { order: -1; }
    .hero-modal__dialog { grid-template-columns: 1fr; }
    .hero-modal__photo { min-height: 200px; }
    .hero-modal__content { padding: 32px 24px; }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gallery__slide:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
    .gallery__slide:nth-child(2) { grid-column: 1; grid-row: 3; }
    .gallery__slide:nth-child(3) { grid-column: 2; grid-row: 3; }
    .gallery__slide:nth-child(4) { grid-column: 1 / 3; grid-row: 4; }
    .gallery__slide:nth-child(5) { grid-column: 1; grid-row: 5; }
    .gallery__slide:nth-child(6) { grid-column: 2; grid-row: 5; }
    .gallery__slide:nth-child(7) { grid-column: 1; grid-row: 6; }
    .gallery__slide:nth-child(8) { grid-column: 2; grid-row: 6; }
    .gallery__nav { margin-top: 24px; }
}
@media (max-width: 620px) {
    :root { --pad: 20px; }
    .header__partner-label { display: none; }
    .header__brand { gap: 14px; }
    .header__logo img { height: 44px; }
    .hero__features-inner { grid-template-columns: 1fr; gap: 24px; }
    .feature__divider { display: none; }
    .hero__pattern { display: none; }
    .why__grid, .episodes__cards { grid-template-columns: 1fr; }
    .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .gallery__slide:nth-child(n) { grid-column: 1 !important; grid-row: auto !important; }
    .lightbox__nav { width: 46px; height: 46px; font-size: 26px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .footer__inner { grid-template-columns: 1fr 1fr; }
    .partners__grid { grid-template-columns: 1fr; }
    .subscribe__form { flex-direction: column; }
    .hero__actions { flex-direction: column; align-items: center; gap: 14px; }
    .hero__actions .btn--primary { width: 100%; }
    .hero__actions .btn--ghost { width: auto; padding-left: 44px; padding-right: 44px; }
    .footer__bottom { flex-direction: column; gap: 12px; align-items: flex-start; }

    /* --- Mobile: dedicated portrait photo, full car visible, taller section --- */
    /* Title/tagline/text sit in the sky (top); the button row is pushed to the
       bottom edge via margin-top:auto so it never overlaps the car's body/decal. */
    .hero { min-height: auto; }
    .hero__bg, .hero__overlay { display: none; }
    .hero__inner {
        aspect-ratio: 941 / 1672;
        height: auto; min-height: unset;
        padding-top: 104px; padding-bottom: 26px;
        display: flex; flex-direction: column;
        background-image:
            linear-gradient(180deg, rgba(6,16,32,.6) 0%, rgba(6,16,32,.24) 42%, rgba(6,16,32,0) 56%),
            linear-gradient(0deg, rgba(6,16,32,.6) 0%, rgba(6,16,32,0) 20%),
            url('../img/bg-mobile.jpg');
        background-size: cover; background-position: center top;
    }
    .hero__content { width: 100%; display: flex; flex-direction: column; align-items: center; flex: 1; }
    .hero__title-main { font-size: 50px; }
    .hero__title-sub { font-size: 25px; text-align: center; text-align-last: center; }
    .hero__tagline { font-size: 21px; margin: 16px 0 22px; }
    .hero__text { font-size: 16px; margin-bottom: 0; }
    .hero__actions { margin-top: auto; padding-top: 24px; }

    /* --- Mobile: center text blocks and their contents --- */
    .about__text, .numbers__left, .route__left, .episodes__intro, .gallery__intro,
    .organizer__text, .heroes__head, .why__content, .subscribe__head, .subscribe__form-wrap {
        text-align: center;
    }
    .about__lead, .heroes__lead, .episodes__lead, .gallery__lead, .organizer__lead, .subscribe__note {
        margin-left: auto; margin-right: auto;
    }
    .about__text .btn, .why__content .btn, .route__left .btn { margin-left: auto; margin-right: auto; }
    .numbers__divider { justify-content: center; }
    .route__legend { align-items: center; }
    .route__legend li { justify-content: center; }
    .stats-row { justify-items: center; text-align: center; }
    .stat { align-items: center; }
    .feature { flex-direction: column; text-align: center; gap: 10px; }
    .organizer__card { flex-direction: column; text-align: center; }
    .organizer__social { justify-content: center; }
    .social-link { justify-content: center; }
    .footer__inner { text-align: center; }
    .footer__col--brand { display: flex; flex-direction: column; align-items: center; }
    .footer__socials { justify-content: center; }
    .footer__bottom { align-items: center; text-align: center; }
    .link-arrow { justify-content: center; }
    .gallery__nav { justify-content: center; }
}
