/* ════════════════════════════════════════════
   TEMUPMR · V3 — иммерсивный тёмный сайт
   посылка · склад · оранжевый
   ════════════════════════════════════════════ */

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

:root {
    --bg: #0a0604;
    --bg-2: #0e0906;
    --ink-100: #f5efe6;
    --ink-60: rgba(245, 239, 230, 0.68);
    --ink-35: rgba(245, 239, 230, 0.46);
    --line: rgba(245, 239, 230, 0.2);
    --card: rgba(245, 239, 230, 0.05);
    --orange: #fb7701;
    --orange-hot: #ff6a00;
    --disp: 'Unbounded', sans-serif;
    --body: 'Golos Text', sans-serif;
    --mono: 'IBM Plex Mono', monospace;
    --out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --inout-hard: cubic-bezier(0.76, 0, 0.24, 1);
    --pad: clamp(20px, 3.5vw, 48px);
}

html { scroll-behavior: auto; }
body {
    background: var(--bg);
    color: var(--ink-100);
    font-family: var(--body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.mono { font-family: var(--mono); }
.dim { color: var(--ink-35); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }

::selection { background: var(--orange); color: #190a00; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2a2018; border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: #3d2e20; }

/* ════ КНОПКИ ════ */
.pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--mono); font-weight: 500; font-size: 12px;
    letter-spacing: 0.14em; text-transform: uppercase;
    padding: 14px 26px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink-100);
    cursor: pointer;
    transition: border-color 0.25s, background 0.25s, box-shadow 0.25s, transform 0.25s var(--out-expo);
}
.pill:hover { transform: translateY(-1px); }
.pill-ghost:hover { border-color: rgba(245, 239, 230, 0.45); }
.pill-solid {
    background: var(--orange);
    border-color: var(--orange);
    color: #190a00;
    font-weight: 600;
    box-shadow: 0 0 32px rgba(251, 119, 1, 0.22);
}
.pill-solid:hover { background: var(--orange-hot); box-shadow: 0 0 52px rgba(251, 119, 1, 0.4); }
.pill-full { width: 100%; }

/* ════ ШАПКА ════ */
.topbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 60;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 16px var(--pad);
    transition: background 0.35s, border-color 0.35s, transform 0.35s var(--out-expo);
    border-bottom: 1px solid transparent;
}
.topbar.scrolled {
    background: rgba(10, 6, 4, 0.94);
    border-bottom-color: var(--line);
}
.topbar.hidden { transform: translateY(-105%); }
.brand { font-family: var(--disp); font-weight: 800; font-size: 17px; letter-spacing: 0.02em; }
.brand em { font-style: normal; color: var(--orange); }
.topnav { display: flex; gap: 26px; }
.topnav a {
    font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--ink-60);
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.topnav a:hover { color: var(--ink-100); border-color: var(--orange); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.topbar .pill { padding: 11px 20px; font-size: 11px; }

.burger {
    display: none;
    flex-direction: column; gap: 6px; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--line); border-radius: 50%;
    cursor: pointer;
}
.burger span { width: 16px; height: 1.5px; background: var(--ink-100); transition: transform 0.3s; }
.burger.active span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.burger.active span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

.mobmenu {
    position: fixed; inset: 0; z-index: 55;
    background: rgba(10, 6, 4, 0.985);
    display: flex; flex-direction: column; justify-content: center; gap: 40px;
    padding: 0 28px;
    transform: translateX(102%);
    transition: transform 0.5s var(--inout-hard);
}
.mobmenu.open { transform: translateX(0); }
.mobmenu nav { display: flex; flex-direction: column; }
.mobmenu a {
    font-family: var(--disp); font-weight: 800; font-size: 26px; text-transform: uppercase;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: flex; align-items: baseline; gap: 16px;
}
.mobmenu a b { font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--orange); }
.mobmenu p { font-size: 11px; letter-spacing: 0.14em; }

/* ════ HERO ════ */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }

.hero-layers { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.2s ease 0.1s; }
.hero.gl-ready .hero-layers { opacity: 1; }
.hlayer {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 62% center;
    transform: scale(1.06);
    will-change: transform;
}
.hlayer-video { opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hlayer-video.on { opacity: 1; }
/* нативная плашка запуска WebKit: вылезает, пока видео формально на паузе */
.hlayer-video::-webkit-media-controls,
.hlayer-video::-webkit-media-controls-enclosure,
.hlayer-video::-webkit-media-controls-panel,
.hlayer-video::-webkit-media-controls-play-button,
.hlayer-video::-webkit-media-controls-overlay-play-button,
.hlayer-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.hsat {
    position: absolute; left: 0; top: 0;
    will-change: transform;
    pointer-events: none;
}
.hdust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

.poster { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 110%, #1c0f04 0%, var(--bg) 55%); }
.poster-glow {
    position: absolute; left: 60%; top: 58%;
    width: 70vmin; height: 38vmin;
    transform: translate(-50%, -50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(251, 119, 1, 0.2) 0%, transparent 70%);
    filter: blur(10px);
}

.ui { position: absolute; z-index: 10; }

.stage {
    left: var(--pad); right: var(--pad);
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}
.stage a { pointer-events: auto; }

.kicker {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--ink-60);
    margin-bottom: clamp(14px, 2.4vh, 26px);
}
.blink { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); animation: blink 1.1s steps(2) infinite; flex: none; }
@keyframes blink { 50% { opacity: 0.15; } }

.title {
    font-family: var(--disp);
    font-weight: 800;
    font-size: clamp(20px, 6vw, 82px);
    line-height: 1.04;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 22px rgba(0, 0, 0, 0.45);
}
.title .ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.title .ln > span { display: inline-block; transform: translateY(118%); transition: transform 1.1s var(--out-expo); }
.title .ln:nth-child(2) > span { transition-delay: 0.09s; }
.title .ln:nth-child(3) > span { transition-delay: 0.18s; }
body.revealed .title .ln > span { transform: translateY(0); }
.title em, .h2 em { font-style: normal; color: var(--orange); }

.sub {
    margin-top: clamp(16px, 2.6vh, 28px);
    font-size: 11.5px; letter-spacing: 0.16em;
    color: var(--ink-60);
    max-width: 560px; line-height: 1.9;
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.9s ease 0.5s, transform 0.9s var(--out-expo) 0.5s;
}
.sub b { color: var(--orange); font-weight: 600; }
body.revealed .sub { opacity: 1; transform: translateY(0); }

.cta {
    display: flex; gap: 14px; flex-wrap: wrap;
    margin-top: clamp(20px, 3.4vh, 36px);
    opacity: 0; transform: translateY(18px);
    transition: opacity 0.9s ease 0.66s, transform 0.9s var(--out-expo) 0.66s;
}
body.revealed .cta { opacity: 1; transform: translateY(0); }

.hud {
    left: 0; right: 0; bottom: 0;
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
    padding: 0 var(--pad) clamp(18px, 3vh, 28px);
    opacity: 0;
    transition: opacity 1s ease 0.85s;
}
body.revealed .hud { opacity: 1; }
.hud-left { display: flex; align-items: center; gap: 18px; font-size: 11px; letter-spacing: 0.14em; color: var(--ink-60); }
.hud-left b { color: var(--ink-100); font-weight: 600; font-variant-numeric: tabular-nums; }
.hud .sep { width: 1px; height: 14px; background: var(--line); }
.hud-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 10px; letter-spacing: 0.14em; text-align: right; font-variant-numeric: tabular-nums; }

.scrollcue {
    left: 50%; bottom: clamp(18px, 3vh, 28px);
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: 10px; letter-spacing: 0.3em;
    color: var(--ink-35);
    opacity: 0;
    transition: opacity 1s ease 1.1s, color 0.3s;
}
.scrollcue:hover { color: var(--ink-60); }
body.revealed .scrollcue { opacity: 1; }
.scrollcue i {
    width: 1px; height: 34px;
    background: var(--line);
    position: relative; overflow: hidden;
}
.scrollcue i::after {
    content: '';
    position: absolute; left: 0; top: -100%;
    width: 100%; height: 100%;
    background: var(--orange);
    animation: cueDrain 1.8s var(--inout-hard) infinite;
}
@keyframes cueDrain { 0% { top: -100%; } 55%, 100% { top: 100%; } }

.frame { inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease 1s; }
body.revealed .frame { opacity: 1; }
.fc { position: absolute; width: 18px; height: 18px; border: 1px solid var(--ink-35); }
.fc-tl { top: 76px; left: var(--pad); border-right: 0; border-bottom: 0; }
.fc-tr { top: 76px; right: var(--pad); border-left: 0; border-bottom: 0; }
.fc-bl { bottom: 64px; left: var(--pad); border-right: 0; border-top: 0; }
.fc-br { bottom: 64px; right: var(--pad); border-left: 0; border-top: 0; }

/* ════ СЕКЦИИ — ОБЩЕЕ ════ */
section[id] { scroll-margin-top: 64px; }
.sec { padding: clamp(64px, 9vh, 110px) 0; position: relative; }
.sec-head { margin-bottom: clamp(40px, 7vh, 72px); }
.h2 {
    font-family: var(--disp);
    font-weight: 800;
    font-size: clamp(26px, 4vw, 54px);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: -0.005em;
}
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fineprint {
    margin-top: 32px;
    font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(245, 239, 230, 0.5);
    line-height: 2;
}

/* появление блоков (включается при наличии GSAP) */
.has-anim .rv { opacity: 0; transform: translateY(40px); }

/* ════ КАРТОЧКИ ════ */
.dcard {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 30px 28px;
    transition: border-color 0.3s, background 0.3s, transform 0.3s var(--out-expo), box-shadow 0.3s;
}
.dcard:hover {
    border-color: rgba(251, 119, 1, 0.45);
    background: rgba(251, 119, 1, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(251, 119, 1, 0.07);
}
.dnum {
    position: absolute; top: 24px; right: 26px;
    font-size: 11px; letter-spacing: 0.14em;
    color: var(--ink-35);
}
.dicon { width: 36px; height: 36px; color: var(--orange); margin-bottom: 20px; }
.dcard h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.dcard p { font-size: 14.5px; color: var(--ink-60); }

/* ════ МАРШРУТ ════ */
.route { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.route-pin {
    min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
    padding: 90px 0 70px;
}
.route .sec-head { padding: 0 var(--pad); margin-bottom: 30px; }
.route-hud {
    display: flex; align-items: center; gap: 20px;
    padding: 0 var(--pad);
    margin-bottom: 44px;
    font-size: 11px; letter-spacing: 0.14em;
    color: var(--ink-60);
    font-variant-numeric: tabular-nums;
}
.route-progress { flex: 1; max-width: 360px; height: 1px; background: var(--line); position: relative; }
.route-progress i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--orange); }
.route-track {
    display: flex; gap: 18px;
    width: max-content;
    padding: 0 var(--pad);
    will-change: transform;
}
.rstep {
    width: clamp(280px, 30vw, 420px);
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 34px 30px 30px;
    position: relative;
    flex: none;
}
.rstep-num {
    display: block;
    font-size: clamp(44px, 5vw, 72px); font-weight: 600;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(245, 239, 230, 0.45);
    margin-bottom: 22px;
}
.rstep.passed .rstep-num { -webkit-text-stroke: 1px var(--orange); }
.rstep h3 { font-family: var(--disp); font-weight: 800; font-size: 19px; text-transform: uppercase; margin-bottom: 10px; }
.rstep p { font-size: 14.5px; color: var(--ink-60); margin-bottom: 24px; }
.rstamp {
    display: inline-block;
    font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--orange);
    border: 1.5px solid currentColor;
    border-radius: 8px;
    padding: 7px 12px;
    opacity: 0;
    transform: scale(2.2) rotate(6deg);
}
.rstep.passed .rstamp { animation: stampIn 0.4s var(--out-expo) forwards; }
.rstamp-green { color: #3dba6f; }
@keyframes stampIn {
    from { opacity: 0; transform: scale(2.2) rotate(6deg); }
    to { opacity: 1; transform: scale(1) rotate(-4deg); }
}
.route-line { display: none; }
.route-clip {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

/* ════ ТАРИФ ════ */
.price { display: flex; flex-direction: column; }
.ptag {
    align-self: flex-start;
    font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 14px;
    margin-bottom: 26px;
    color: var(--ink-60);
}
.pnum { display: flex; align-items: baseline; gap: 4px; }
.pnum b { font-family: var(--disp); font-weight: 800; font-size: clamp(56px, 5.4vw, 84px); line-height: 0.9; }
.pnum i { font-family: var(--disp); font-style: normal; font-weight: 800; font-size: 30px; color: var(--orange); }
.pnum-text b { font-size: clamp(40px, 3.6vw, 56px); }
.psub { font-size: 11px; letter-spacing: 0.16em; color: var(--ink-35); margin: 14px 0 22px; }
.ptotal {
    font-size: 14px; font-weight: 500;
    color: var(--ink-100);
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-bottom: 20px;
}
.ptotal b { color: var(--orange); font-weight: 600; }
.plist { list-style: none; margin-bottom: 28px; flex: 1; }
.plist li { padding: 9px 0 9px 22px; font-size: 14.5px; color: var(--ink-60); position: relative; border-bottom: 1px dashed rgba(245, 239, 230, 0.1); }
.plist li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-family: var(--mono); font-size: 12px; }
.price-hot { border-color: rgba(251, 119, 1, 0.55); background: rgba(251, 119, 1, 0.05); box-shadow: 0 0 60px rgba(251, 119, 1, 0.1); }
.price-hot .ptag { border-color: var(--orange); color: var(--orange); }

/* ════ ЕВРОПА · iPHONE ════ */
.europe { position: relative; border-top: 1px solid var(--line); background: var(--bg-2); }
.europe-pin {
    min-height: 100svh;
    display: flex; align-items: center;
    padding: 100px 0 40px;
}
.europe-grid {
    display: grid; grid-template-columns: 1.05fr 1fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}
.europe-sub { max-width: 460px; font-size: 17px; line-height: 1.65; color: rgba(245, 239, 230, 0.75); margin: 22px 0 26px; }
.europe-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.europe-chips span {
    font-size: 10px; letter-spacing: 0.16em;
    border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 14px;
    color: var(--ink-60);
}
.europe-visual { position: relative; height: clamp(380px, 64vh, 640px); }
#phoneGl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.phone-glow {
    position: absolute; left: 50%; top: 55%;
    width: 80%; height: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(50% 50% at 50% 50%, rgba(251, 119, 1, 0.14) 0%, transparent 70%);
    filter: blur(12px);
    pointer-events: none;
}
.brands { overflow: hidden; padding: 26px 0 34px; border-top: 1px solid var(--line); }
.brands-track { display: flex; gap: 12px; width: max-content; animation: marquee 36s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.brands-track span {
    display: inline-flex; align-items: center; gap: 10px;
    background: #1a1410; color: rgba(245, 239, 230, 0.85);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-weight: 500; font-size: 13.5px;
    white-space: nowrap;
    transition: color 0.25s, border-color 0.25s;
}
.brands-track span:hover { color: var(--ink-100); border-color: rgba(245, 239, 230, 0.35); }
.brands-track img { width: 18px; height: 18px; object-fit: contain; }

/* ════ РОЗЫГРЫШ ════ */
.give {
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 48px; align-items: center;
    background: var(--card);
    border: 1px solid rgba(251, 119, 1, 0.35);
    border-radius: 22px;
    padding: clamp(32px, 4vw, 56px);
    box-shadow: 0 0 80px rgba(251, 119, 1, 0.07);
}
.give .h2 { font-size: clamp(22px, 2.8vw, 36px); margin-bottom: 26px; }
.give-steps { list-style: none; counter-reset: g; margin-bottom: 8px; }
.give-steps li {
    counter-increment: g;
    padding: 11px 0 11px 42px;
    position: relative;
    font-size: 15px; color: var(--ink-60);
    border-bottom: 1px dashed rgba(245, 239, 230, 0.1);
}
.give-steps li::before {
    content: '0' counter(g);
    position: absolute; left: 0; top: 13px;
    font-family: var(--mono); font-size: 12px; font-weight: 600;
    color: var(--orange);
}
.give .fineprint { margin: 16px 0 28px; }
.give-prizes { display: flex; align-items: flex-end; gap: 12px; justify-content: center; }
.prize {
    flex: 1; max-width: 120px;
    text-align: center;
    border: 1px solid var(--line); border-radius: 14px;
    padding: 20px 12px;
    background: var(--card);
}
.prize span { display: block; font-size: 9.5px; letter-spacing: 0.14em; color: var(--ink-35); margin-bottom: 8px; }
.prize b { font-family: var(--disp); font-weight: 800; font-size: 22px; }
.prize-1 {
    border-color: rgba(251, 119, 1, 0.6);
    background: rgba(251, 119, 1, 0.07);
    padding-top: 44px; padding-bottom: 30px;
    box-shadow: 0 0 40px rgba(251, 119, 1, 0.12);
}
.prize-1 b { color: var(--orange); font-size: 26px; }

/* ════ ОТЗЫВЫ ════ */
.rev { margin: 0; }
.stars { color: var(--orange); letter-spacing: 4px; font-size: 14px; display: block; margin-bottom: 16px; }
.rev blockquote { font-size: 15px; color: var(--ink-100); line-height: 1.65; margin-bottom: 22px; }
.rev figcaption { font-size: 10.5px; letter-spacing: 0.14em; color: var(--ink-35); border-top: 1px dashed rgba(245, 239, 230, 0.12); padding-top: 14px; }

/* ════ КОНТАКТЫ ════ */
.order-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.order-sub { font-size: 16px; color: var(--ink-60); margin: 18px 0 36px; }
.contacts { list-style: none; }
.contacts li {
    display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
    padding: 15px 0;
    border-bottom: 1px dashed rgba(245, 239, 230, 0.12);
}
.contacts span { font-size: 10px; letter-spacing: 0.16em; }
.contacts a, .contacts b { font-weight: 500; font-size: 16px; }
.contacts a:hover { color: var(--orange); }
.order-form {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: clamp(26px, 3vw, 40px);
    display: flex; flex-direction: column; gap: 18px;
}
.order-form label span {
    display: block;
    font-size: 10px; font-weight: 500; letter-spacing: 0.18em;
    color: var(--ink-35);
    margin-bottom: 8px;
}
.order-form input, .order-form textarea {
    width: 100%;
    font-family: var(--body); font-size: 15.5px;
    color: var(--ink-100);
    background: rgba(245, 239, 230, 0.04);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}
.order-form input:focus, .order-form textarea:focus {
    outline: none;
    border-color: rgba(251, 119, 1, 0.6);
    box-shadow: 0 0 0 3px rgba(251, 119, 1, 0.12);
}
.order-form ::placeholder { color: rgba(245, 239, 230, 0.25); }
.form-status { font-size: 12px; min-height: 18px; text-align: center; letter-spacing: 0.06em; }
.form-status.ok { color: #3dba6f; }
.form-status.err { color: #e2574a; }

/* ════ ПОДВАЛ ════ */
.footer { border-top: 1px solid var(--line); padding: 60px 0 26px; background: var(--bg-2); }
.foot-top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; margin-bottom: 48px; }
.foot-top p { max-width: 320px; font-size: 14px; margin-top: 14px; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; }
.foot-nav a { font-size: 14px; color: var(--ink-60); transition: color 0.2s; }
.foot-nav a:hover { color: var(--orange); }
.foot-bottom {
    border-top: 1px solid var(--line);
    padding-top: 22px;
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
}
.foot-code {
    display: inline-block; width: 120px; height: 20px; opacity: 0.5;
    background: repeating-linear-gradient(90deg, var(--ink-35) 0 2px, transparent 2px 5px, var(--ink-35) 5px 7px, transparent 7px 11px, var(--ink-35) 11px 12px, transparent 12px 16px);
}

/* ════ ВИНЬЕТКА + ЗЕРНО (на весь сайт) ════ */
.vignette {
    position: fixed; inset: 0; z-index: 40; pointer-events: none;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
}
.grain {
    position: fixed; z-index: 41; pointer-events: none;
    inset: -100%;
    width: 300%; height: 300%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.045;
}
@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -8%); }
    20% { transform: translate(-12%, 3%); }
    30% { transform: translate(6%, -10%); }
    40% { transform: translate(-4%, 12%); }
    50% { transform: translate(-10%, 6%); }
    60% { transform: translate(12%, 0); }
    70% { transform: translate(0, 9%); }
    80% { transform: translate(3%, 13%); }
    90% { transform: translate(-8%, 8%); }
}

/* ════ ЛОАДЕР ════ */
.curtain { position: fixed; inset: 0; z-index: 97; background: var(--orange); }
.loader {
    position: fixed; inset: 0; z-index: 98;
    background: var(--bg);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: clamp(20px, 4vw, 48px);
}
.loader-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.loader-label { font-size: 11px; letter-spacing: 0.2em; line-height: 2; color: var(--ink-35); text-transform: uppercase; }
.loader-count-mask { overflow: hidden; }
.loader-count {
    display: inline-block;
    font-size: clamp(70px, 14vw, 180px);
    font-weight: 600;
    line-height: 0.85;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--ink-100);
    padding-right: 0.45em;
}
.loader-count::after { content: '%'; font-size: 0.35em; color: var(--orange); margin-left: 0.06em; }
.loader-bar { height: 1px; background: var(--line); margin-top: clamp(18px, 3vh, 30px); }
.loader-bar i { display: block; height: 100%; width: 0; background: var(--orange); transition: width 0.45s var(--out-expo); }

body.loaded .loader-count { transform: translateY(-110%); transition: transform 0.7s cubic-bezier(0.55, 0, 0.68, 0.19); }
body.loaded .loader-label, body.loaded .loader-bar { opacity: 0; transition: opacity 0.4s; }
body.loaded .loader { transform: translateY(-100%); transition: transform 1.05s var(--inout-hard) 0.55s; pointer-events: none; }
body.loaded .curtain { transform: translateY(-100%); transition: transform 1.05s var(--inout-hard) 0.67s; }

/* ════ REDUCED MOTION ════ */
@media (prefers-reduced-motion: reduce) {
    .grain, .blink, .scrollcue i::after, .brands-track { animation: none; }
    .title .ln > span, .sub, .cta, .hud, .frame, .scrollcue { transition: none; transform: none; opacity: 1; }
    .loader, .curtain { transition-duration: 0.01s; }
    .has-anim .rv { opacity: 1; transform: none; }
}

/* ════ ПЛАНШЕТ / МОБИЛЬНЫЙ ════ */
@media (max-width: 1024px) {
    .grid3 { grid-template-columns: 1fr 1fr; }
    .europe-grid { grid-template-columns: 1fr; gap: 12px; }
    .europe-visual { height: clamp(320px, 44vh, 460px); order: -1; }
    .give { grid-template-columns: 1fr; }
    .order-grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 700px) {
    .hlayer { object-position: 66% center; }
    .topnav { display: none; }
    .topbar .pill { display: none; }
    .burger { display: flex; }

    .stage { top: auto; bottom: 118px; transform: none; }
    .stage::before {
        content: '';
        position: absolute; inset: -90px -24px -40px;
        background: linear-gradient(180deg, transparent 0%, rgba(10, 6, 4, 0.45) 35%, rgba(10, 6, 4, 0.78) 70%);
        z-index: -1;
        pointer-events: none;
    }
    .title { font-size: clamp(28px, 9.4vw, 44px); }
    .title .ln:nth-child(3) { font-size: 0.62em; line-height: 1.25; }
    .sub { font-size: 10.5px; }
    .hud { flex-direction: column; align-items: flex-start; gap: 10px; padding-bottom: 16px; }
    .hud-left { gap: 12px; font-size: 9.5px; flex-wrap: wrap; }
    .hud-right, .scrollcue, .fc-bl, .fc-br { display: none; }

    .grid3 { grid-template-columns: 1fr; }
    .route-track { flex-direction: column; width: 100%; }
    .rstep { width: 100%; }
    .route-pin { min-height: 0; padding: 80px 0 60px; }
    .route-line { display: none; }
    .route-hud { margin-bottom: 30px; }
    .europe-pin { min-height: 0; padding: 90px 0 30px; }
    .give-prizes { padding-top: 10px; }
    .foot-top { flex-direction: column; gap: 30px; }
}
