/* ==========================================================================
   eSIM Tours — дизайн-система
   Палитра взята из аэропортовой навигации: ночное небо + янтарь указателей.
   ========================================================================== */

/* ---------- Шрифты (лежат локально, без обращений к сторонним серверам) ---------- */
@font-face {
    font-family: "Geologica";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/geologica-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Geologica";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/geologica-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Onest";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/onest-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
    --night: #0d1526;        /* ночное небо: шапка героя, тёмные секции */
    --night-2: #16203a;      /* панель табло */
    --night-line: rgba(255, 255, 255, .12);
    --amber: #ffb81c;        /* янтарь указателей: главное действие */
    --amber-deep: #e59f00;
    --amber-soft: #fff4d6;
    --cloud: #f3f5f9;        /* фон страницы */
    --paper: #ffffff;
    --ink: #0d1526;
    --slate: #556079;        /* вторичный текст */
    --mist: #8a94a8;
    --line: #dde2ec;
    --line-soft: #e9edf4;
    --ok: #13805a;
    --ok-soft: #e4f5ee;
    --bad: #c23a2b;
    --bad-soft: #fdecea;

    --font-display: "Geologica", "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-text: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --r-s: 8px;
    --r-m: 14px;
    --r-l: 22px;

    --shadow-card: 0 1px 2px rgba(13, 21, 38, .04), 0 12px 32px -18px rgba(13, 21, 38, .22);
    --shadow-pop: 0 30px 80px -30px rgba(13, 21, 38, .55);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 72px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--cloud);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden], .hidden { display: none !important; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0;
    text-wrap: balance;
}
p { margin: 0; }

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

::selection { background: var(--amber); color: var(--night); }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    background: var(--amber); color: var(--night); padding: 10px 16px;
    border-radius: var(--r-s); font-weight: 600; text-decoration: none;
    transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Сетка и секции ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 860px; }

.section { padding: 96px 0; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--night); color: #fff; }
.section--flush-top { padding-top: 0; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
.section-head p { margin-top: 16px; color: var(--slate); font-size: 1.125rem; }
.section--dark .section-head p { color: rgba(255, 255, 255, .7); }

.lead { font-size: 1.125rem; color: var(--slate); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px;
    border: 1.5px solid transparent; border-radius: 999px;
    font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1;
    text-decoration: none; white-space: nowrap;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--amber); color: var(--night); box-shadow: 0 10px 24px -12px rgba(255, 184, 28, .9); }
.btn--primary:hover { background: #ffc640; box-shadow: 0 14px 30px -12px rgba(255, 184, 28, 1); }
.btn--dark { background: var(--night); color: #fff; }
.btn--dark:hover { background: #1c2947; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; background: transparent; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--light { background: #fff; color: var(--night); }
.btn--light:hover { background: var(--amber-soft); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: .9375rem; }
.btn--block { width: 100%; }
.btn--danger { background: var(--bad-soft); color: var(--bad); }
.btn--danger:hover { background: #fbd9d5; }
.btn[disabled], .btn.is-disabled {
    background: var(--line-soft); color: var(--mist); box-shadow: none; cursor: not-allowed;
}

.link { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- Формы ---------- */
.field { display: block; margin-bottom: 18px; }
.field__label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; }
.input, .select {
    width: 100%; min-height: 52px; padding: 0 16px;
    background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-m);
    transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: var(--mist); }
.input:hover, .select:hover { border-color: #b9c2d3; }
.input:focus, .select:focus { outline: none; border-color: var(--night); box-shadow: 0 0 0 4px rgba(255, 184, 28, .35); }
.input--upper { text-transform: uppercase; }
.input-row { display: flex; gap: 10px; }
.input-row .input { flex: 1; min-width: 0; }

.search { position: relative; }
.search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--mist); pointer-events: none; }
.search .input { padding-left: 50px; border-radius: 999px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .8125rem; line-height: 1.45; color: var(--slate); margin-bottom: 22px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--night); cursor: pointer; }
.consent a { color: var(--ink); }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r-m); font-size: .9375rem; font-weight: 500; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--ok { background: var(--ok-soft); color: #0c5a3f; }
.alert--bad { background: var(--bad-soft); color: #94281c; }
.alert--info { background: var(--amber-soft); color: #6b4a00; }

.note { font-size: .875rem; font-weight: 500; margin-top: 10px; }
.note--ok { color: var(--ok); }
.note--bad { color: var(--bad); }

.tag {
    display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
    border-radius: 6px; font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
    background: var(--line-soft); color: var(--slate);
}
.tag--5g { background: var(--night); color: var(--amber); }
.tag--region { background: var(--amber-soft); color: #6b4a00; }
.tag--ok { background: var(--ok-soft); color: #0c5a3f; }
.tag--muted { background: var(--line-soft); color: var(--slate); }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-soft);
    transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(13, 21, 38, .5); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.brand span span { font-weight: 300; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .9375rem; color: var(--slate); position: relative; padding: 6px 0; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.site-header__actions { display: flex; align-items: center; gap: 12px; }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* Шапка поверх тёмного героя на главной */
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .brand,
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .burger { color: #fff; }
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .nav a { color: rgba(255, 255, 255, .72); }
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .nav a:hover { color: #fff; }
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .btn--dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); }
.has-dark-hero .site-header:not(.is-stuck):not(.is-open) .btn--dark:hover { background: rgba(255, 255, 255, .18); }
.has-dark-hero main { margin-top: calc(var(--header-h) * -1 - 1px); }

@media (max-width: 900px) {
    .burger { display: block; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line);
        padding: 8px 24px 24px;
        box-shadow: 0 30px 40px -30px rgba(13, 21, 38, .4);
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
    }
    .site-header.is-open .nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
    .nav a { padding: 16px 0; font-size: 1.0625rem; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
    .nav a::after { display: none; }
    .nav .btn { margin-top: 18px; border-bottom: 0; color: #fff; }
    .site-header__actions .btn { display: none; }
}
@media (min-width: 901px) { .nav .btn { display: none; } }

/* ---------- Герой ---------- */
.hero {
    position: relative; overflow: hidden;
    background: var(--night); color: #fff;
    padding: calc(var(--header-h) + 72px) 0 104px;
}
.hero__sky { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__sky .graticule { stroke: rgba(255, 255, 255, .06); fill: none; }
.hero__sky .route { stroke: var(--amber); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-dasharray: 2 9; opacity: .38; }
.hero__sky .route-mask { stroke: #fff; stroke-width: 6; fill: none; stroke-dasharray: 1; stroke-dashoffset: 1; animation: route-draw 2.6s .5s var(--ease) forwards; }
.hero__sky .plane { fill: var(--amber); opacity: 0; animation: plane-fly 2.6s .5s var(--ease) forwards; offset-path: path("M-40 520 C 300 420, 620 80, 1480 150"); offset-rotate: auto; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
@keyframes plane-fly { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 100% { offset-distance: 78%; opacity: 1; } }

.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 4.5rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
.hero__lead { margin-top: 26px; max-width: 520px; font-size: 1.1875rem; color: rgba(255, 255, 255, .74); }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__facts { margin: 52px 0 0; padding: 26px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; border-top: 1px solid var(--night-line); font-size: .9375rem; color: rgba(255, 255, 255, .72); }
.hero__facts li { display: flex; align-items: center; gap: 10px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--amber); flex: none; }

.hero__text > * { opacity: 0; transform: translateY(18px); animation: rise .8s var(--ease) forwards; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(2) { animation-delay: .17s; }
.hero__text > :nth-child(3) { animation-delay: .29s; }
.hero__text > :nth-child(4) { animation-delay: .41s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Табло направлений */
.board {
    background: linear-gradient(180deg, #19243f 0%, #131c33 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-l);
    padding: 10px 10px 14px;
    box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, .08);
    opacity: 0; transform: translateY(24px);
    animation: rise .9s .3s var(--ease) forwards;
}
.board__head, .board__row { display: grid; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.board__head { padding: 12px 16px 12px; font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .5); }
.board__head span:last-child { text-align: right; }
.board__list { list-style: none; margin: 0; padding: 0; perspective: 900px; }
.board__row {
    padding: 13px 16px; margin-top: 4px;
    background: rgba(8, 13, 26, .6);
    border-radius: 12px;
    text-decoration: none; color: #fff;
    transform-origin: 50% 0;
    transition: background-color .2s;
    backface-visibility: hidden;
}
.board__row:hover { background: rgba(255, 184, 28, .1); }
.board__code {
    font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .08em;
    color: var(--amber); text-align: center;
    background: rgba(255, 184, 28, .08); border: 1px solid rgba(255, 184, 28, .22);
    border-radius: 8px; padding: 6px 0;
}
.board__name { font-family: var(--font-display); font-weight: 500; font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__pack { display: block; font-family: var(--font-text); font-weight: 400; font-size: .8125rem; color: rgba(255, 255, 255, .55); margin-top: 1px; }
.board__price { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.board__price small { font-weight: 400; font-size: .8125rem; color: rgba(255, 255, 255, .55); margin-right: 4px; }
.board__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px 2px; font-size: .8125rem; color: rgba(255, 255, 255, .55); }
.board__foot a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }
.board__live { display: inline-flex; align-items: center; gap: 8px; }
.board__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 0 rgba(56, 211, 159, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(56, 211, 159, 0); } 100% { box-shadow: 0 0 0 0 rgba(56, 211, 159, 0); } }

.board__row.is-in { animation: flap-in .55s var(--ease) both; }
.board__row.is-out { animation: flap-out .28s ease-in both; }
@keyframes flap-in { from { transform: rotateX(-88deg); opacity: 0; } to { transform: rotateX(0); opacity: 1; } }
@keyframes flap-out { to { transform: rotateX(88deg); opacity: 0; } }

@media (max-width: 980px) {
    .hero { padding: calc(var(--header-h) + 40px) 0 72px; }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 520px) {
    .board__head, .board__row { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; }
    .board__row { padding: 12px; }
    .board__head { padding: 10px 12px; }
    .hero__cta .btn { width: 100%; }
}

/* ---------- Три довода под героем ---------- */
.proofs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.proof { padding: 40px 40px 8px 0; }
.proof + .proof { padding-left: 40px; border-left: 1px solid var(--line); }
.proof svg { width: 28px; height: 28px; color: var(--night); margin-bottom: 22px; }
.proof h3 { font-size: 1.3125rem; margin-bottom: 10px; }
.proof p { color: var(--slate); }
@media (max-width: 820px) {
    .proofs { grid-template-columns: 1fr; }
    .proof, .proof + .proof { padding: 28px 0; border-left: 0; }
    .proof + .proof { border-top: 1px solid var(--line); }
}

/* ---------- Каталог ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.catalog-head h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.9rem); }
.catalog-head p { margin-top: 12px; color: var(--slate); font-size: 1.0625rem; }
.catalog-head .search { width: 100%; max-width: 340px; }

.catalog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 1020px) { .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .catalog-grid { grid-template-columns: 1fr; } }

.country-card {
    background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-l);
    padding: 24px; box-shadow: var(--shadow-card);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.country-card:hover { border-color: var(--line); }
.country-card.is-active { border-color: var(--night); box-shadow: 0 24px 50px -28px rgba(13, 21, 38, .45); }
.country-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.country-card__code {
    flex: none; min-width: 44px; padding: 7px 8px; text-align: center;
    font-family: var(--font-display); font-weight: 700; font-size: .8125rem; letter-spacing: .08em;
    background: var(--night); color: var(--amber); border-radius: 8px;
}
.country-card__head h3 { font-size: 1.25rem; flex: 1; min-width: 0; }
.country-card__head h3 a { text-decoration: none; }
.country-card__head h3 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.country-card__more { display: inline-block; margin-top: 16px; font-size: .875rem; color: var(--slate); text-decoration: none; }
.country-card__more:hover { color: var(--ink); text-decoration: underline; }

.sub-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; margin-bottom: 14px; font-size: .875rem; color: var(--slate); }
.sub-toggle:hover { color: var(--ink); }
.sub-toggle svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub-locations { margin: -4px 0 16px; padding: 12px 14px; background: var(--cloud); border-radius: var(--r-s); font-size: .875rem; color: var(--slate); max-height: 132px; overflow-y: auto; }

.package-list { display: grid; gap: 6px; }
.package-row {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    width: 100%; padding: 12px 14px; text-align: left;
    background: var(--cloud); border: 1.5px solid transparent; border-radius: 12px;
    cursor: pointer; user-select: none;
    transition: background-color .18s, border-color .18s, transform .18s var(--ease);
}
.package-row:hover { background: #eaeef5; }
.package-row.is-selected { background: var(--amber-soft); border-color: var(--amber); }
.package-row.is-selected .package-name::before { background: var(--night); border-color: var(--night); box-shadow: inset 0 0 0 3px var(--amber-soft); }
.package-name { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.package-name::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b9c2d3; background: #fff; flex: none; transition: background-color .18s, border-color .18s, box-shadow .18s; }
.package-price { font-family: var(--font-display); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.benefit-box { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--ok-soft); color: #0c5a3f; font-size: .875rem; animation: pop .35s var(--ease); }
.benefit-box b { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 2px; }
.benefit-box svg { width: 18px; height: 18px; flex: none; }
.buy-btn { margin-top: 14px; animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.catalog-more { text-align: center; margin-top: 44px; }
.catalog-empty { grid-column: 1 / -1; padding: 48px 24px; text-align: center; color: var(--slate); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-l); }

/* ---------- Модальное окно ---------- */
.modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(8, 13, 26, .62);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    opacity: 0; transition: opacity .25s var(--ease);
    overflow-y: auto;
}
.modal.is-open { opacity: 1; }
.modal__dialog {
    position: relative; width: 100%; max-width: 460px; margin: auto;
    background: var(--paper); border-radius: var(--r-l); padding: 32px;
    box-shadow: var(--shadow-pop);
    transform: translateY(24px) scale(.97); transition: transform .35s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--cloud); color: var(--slate); display: grid; place-items: center; transition: background-color .2s, color .2s, transform .3s var(--ease); }
.modal__close:hover { background: var(--night); color: #fff; transform: rotate(90deg); }
.modal__close svg { width: 18px; height: 18px; }
.modal h3 { font-size: 1.625rem; padding-right: 48px; }
.modal__sub { margin: 8px 0 22px; color: var(--slate); font-size: .9375rem; }

.ticket { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; margin-bottom: 22px; background: var(--night); color: #fff; border-radius: var(--r-m); position: relative; }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 16px; height: 16px; margin-top: -8px; border-radius: 50%; background: var(--paper); }
.ticket::before { left: -8px; }
.ticket::after { right: -8px; }
.ticket__country { font-size: .8125rem; color: rgba(255, 255, 255, .6); }
.ticket__package { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; margin-top: 2px; }
.ticket__price { font-family: var(--font-display); font-weight: 600; font-size: 1.625rem; color: var(--amber); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ticket__price del { font-size: .9375rem; font-weight: 400; color: rgba(255, 255, 255, .5); margin-right: 8px; }

/* ---------- Сравнение ---------- */
.table-wrap { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow-card); }
.table-scroll { overflow-x: auto; }
.compare { min-width: 640px; text-align: left; }
.compare th, .compare td { padding: 20px 24px; vertical-align: top; }
.compare thead th { font-family: var(--font-display); font-weight: 500; font-size: .9375rem; color: var(--slate); border-bottom: 1px solid var(--line); }
.compare tbody tr + tr td, .compare tbody tr + tr th { border-top: 1px solid var(--line-soft); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 34%; }
.compare td { color: var(--slate); }
.compare .is-us { background: var(--amber-soft); color: var(--ink); font-weight: 600; }
.compare thead .is-us { color: var(--ink); font-weight: 700; font-size: 1.0625rem; }
.table-note { margin-top: 20px; color: var(--slate); font-size: .9375rem; }

/* ---------- Поддержка ---------- */
.assure { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.assure__item { padding: 36px 48px 36px 0; border-bottom: 1px solid var(--line); }
.assure__item:nth-child(even) { padding: 36px 0 36px 48px; border-left: 1px solid var(--line); }
.assure__when { font-size: .875rem; font-weight: 500; color: var(--amber-deep); margin-bottom: 10px; }
.assure__item h3 { font-size: 1.375rem; margin-bottom: 10px; }
.assure__item p { color: var(--slate); max-width: 46ch; }
.assure__item .link { display: inline-block; margin-top: 14px; }
@media (max-width: 760px) {
    .assure { grid-template-columns: 1fr; }
    .assure__item, .assure__item:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* ---------- Шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 14px); transform: scaleX(0); transform-origin: left; transition: transform 1.4s .2s var(--ease); }
.steps.is-visible::before { transform: scaleX(1); }
.step { position: relative; counter-increment: step; }
.step::before {
    content: counter(step); display: grid; place-items: center;
    width: 56px; height: 56px; margin-bottom: 26px; border-radius: 50%;
    background: var(--amber); color: var(--night);
    font-family: var(--font-display); font-weight: 700; font-size: 1.375rem;
    position: relative; box-shadow: 0 0 0 8px var(--night);
}
.step h3 { font-size: 1.375rem; margin-bottom: 10px; }
.step p { color: rgba(255, 255, 255, .7); max-width: 34ch; }
.steps-cta { margin-top: 56px; }
.steps--light::before { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 14px); }
.steps--light .step::before { box-shadow: 0 0 0 8px var(--paper); }
.steps--light .step p { color: var(--slate); }
@media (max-width: 820px) {
    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps::before { top: 28px; bottom: 28px; left: 27px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .35) 0 6px, transparent 6px 14px); transform: scaleY(0); transform-origin: top; }
    .steps--light::before { background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 14px); }
    .steps.is-visible::before { transform: scaleY(1); }
    .step { padding: 0 0 36px 84px; min-height: 56px; }
    .step::before { position: absolute; left: 0; top: 0; margin: 0; }
    .step:last-child { padding-bottom: 0; }
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); background: no-repeat center / 14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none' stroke='%230d1526' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 1v12M1 7h12'/%3E%3C/svg%3E"); transition: transform .35s var(--ease), background-color .2s, border-color .2s; }
.faq summary:hover::after { border-color: var(--ink); }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--amber); border-color: var(--amber); }
.faq__body { overflow: hidden; }
.faq__body p { padding: 0 60px 28px 0; color: var(--slate); max-width: 70ch; }

/* ---------- Направления (ссылки) ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.dest { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .25s var(--ease), border-color .2s; }
.dest:hover { padding-left: 8px; border-color: var(--ink); }
.dest__name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dest__price { font-size: .875rem; color: var(--slate); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .dest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .dest-grid { grid-template-columns: 1fr; } }

.prose { color: var(--slate); max-width: 72ch; }
.prose p + p { margin-top: 14px; }
.prose h2, .prose h3 { color: var(--ink); }
.seo-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.seo-cols h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem); }
@media (max-width: 860px) { .seo-cols { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, .7); padding: 80px 0 32px; font-size: .9375rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 48px; }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--font-text); font-size: .875rem; font-weight: 500; letter-spacing: 0; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.site-footer a { color: #fff; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--amber); }
.site-footer__about { max-width: 32ch; }
.site-footer__bottom { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--night-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; font-size: .8125rem; color: rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Внутренние страницы ---------- */
.page-head { background: var(--paper); padding: 36px 0 56px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); letter-spacing: -.03em; max-width: 20ch; }
.page-head .lead { margin-top: 18px; max-width: 60ch; }
.page-body { padding: 56px 0 96px; }

.crumbs { margin-bottom: 28px; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .875rem; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: var(--mist); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }

.facts { margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.facts div { padding: 20px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: .8125rem; color: var(--slate); margin-bottom: 4px; }
.facts dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; }
@media (max-width: 760px) {
    .facts { grid-template-columns: 1fr 1fr; }
    .facts div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); }
    .facts div + div { padding-left: 0; border-left: 0; }
    .facts div:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
}

.panel { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-l); padding: 32px; box-shadow: var(--shadow-card); }
.panel h2 { font-size: 1.5rem; margin-bottom: 16px; }
.panel h3 { font-size: 1.1875rem; }
.panel--dark { background: var(--night); color: #fff; border-color: transparent; }
.panel--dark p, .panel--dark li { color: rgba(255, 255, 255, .78); }
.panel--flat { box-shadow: none; }
@media (max-width: 560px) { .panel { padding: 24px 20px; } .modal__dialog { padding: 26px 20px; } }

.country-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 28px; align-items: start; }
.country-layout__aside { display: grid; gap: 28px; }
.stack { display: grid; gap: 28px; }
.stack--lg { gap: 72px; margin-top: 72px; }
@media (max-width: 980px) { .country-layout { grid-template-columns: 1fr; } }
.country-card--page { padding: 32px; }
.country-card--page .package-row { padding: 15px 16px; }
.country-card--page .package-price { font-size: 1.125rem; }
@media (max-width: 560px) { .country-card--page { padding: 22px 18px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 5px 12px; background: var(--cloud); border-radius: 999px; font-size: .875rem; color: var(--slate); }

.usage { display: grid; gap: 18px; margin: 0; }
.usage div { display: grid; grid-template-columns: 84px 1fr; gap: 16px; }
.usage dt { font-family: var(--font-display); font-weight: 600; }
.usage dd { margin: 0; color: var(--slate); font-size: .9375rem; }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; font-size: .9375rem; }
.checks svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 2px; }
.checks b { color: #fff; }

.devices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.devices h3 { margin-bottom: 8px; }
.devices p { color: var(--slate); font-size: .9375rem; }
@media (max-width: 760px) { .devices { grid-template-columns: 1fr; gap: 22px; } }
.tip { margin-top: 28px; padding: 16px 18px; background: var(--cloud); border-radius: var(--r-m); font-size: .9375rem; color: var(--slate); }

.block-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem); margin-bottom: 12px; }
.block-sub { color: var(--slate); margin-bottom: 28px; }

/* Каталог стран */
.country-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; margin-bottom: 72px; }
.country-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: padding .2s var(--ease), border-color .2s; }
.country-list a:hover { padding-left: 6px; border-color: var(--ink); }
@media (max-width: 1020px) { .country-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .country-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; } }

.region-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.region { display: block; padding: 22px 24px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); text-decoration: none; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
.region:hover { border-color: var(--night); transform: translateY(-2px); box-shadow: var(--shadow-card); }
.region b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; margin-bottom: 6px; }
.region span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8125rem; color: var(--slate); line-height: 1.5; }
@media (max-width: 900px) { .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .region-grid { grid-template-columns: 1fr; } }
.list-title { font-size: 1.5rem; margin-bottom: 20px; }
.no-results { padding: 32px 0; color: var(--slate); }

/* ---------- Личный кабинет ---------- */
.cab { max-width: 920px; }
.cab .panel + .panel, .cab .panel + section, .cab section + .panel { margin-top: 24px; }
.cab-hint { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cab-hint p { color: var(--slate); max-width: 56ch; font-size: .9375rem; margin-top: 6px; }
.esim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .esim-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .esim-grid { grid-template-columns: 1fr; } }
.esim-card { display: flex; flex-direction: column; gap: 14px; text-align: left; padding: 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); box-shadow: var(--shadow-card); transition: border-color .2s, transform .25s var(--ease); }
.esim-card:hover { border-color: var(--night); transform: translateY(-2px); }
.esim-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: .75rem; color: var(--slate); }
.esim-card__title { font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; }
.esim-card__iccid { font-size: .75rem; color: var(--slate); font-variant-numeric: tabular-nums; word-break: break-all; }
.esim-card__go { margin-top: auto; padding: 10px; text-align: center; background: var(--cloud); border-radius: 10px; font-weight: 600; font-size: .875rem; }

.balance-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.balance-head p { color: var(--slate); font-size: .875rem; font-variant-numeric: tabular-nums; word-break: break-all; }
.balance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
@media (max-width: 620px) { .balance-grid { grid-template-columns: 1fr; } }
.metric { padding: 20px; background: var(--cloud); border-radius: var(--r-m); }
.metric__label { font-size: .875rem; color: var(--slate); margin-bottom: 6px; }
.metric__value { font-family: var(--font-display); font-weight: 600; font-size: 2rem; letter-spacing: -.02em; }
.metric__value small { font-size: 1rem; font-weight: 400; color: var(--slate); }
.metric__value--date { font-size: 1.25rem; }
.meter { height: 8px; margin: 12px 0 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; background: var(--night); border-radius: inherit; transition: width 1.1s .2s var(--ease); }
.meter--low span { background: var(--bad); }
.metric__foot { font-size: .75rem; color: var(--slate); text-align: right; }
.qr-box { padding: 20px; text-align: center; background: var(--cloud); border-radius: var(--r-m); margin-bottom: 24px; }
.qr-box p { font-weight: 600; font-size: .9375rem; margin-bottom: 12px; }
.qr-box img { width: 190px; height: 190px; margin: 0 auto; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row .btn { flex: 1 1 auto; }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 120; transform: translate(-50%, 24px); padding: 14px 22px; background: var(--night); color: #fff; border-radius: 999px; font-weight: 500; font-size: .9375rem; box-shadow: var(--shadow-pop); opacity: 0; transition: opacity .3s var(--ease), transform .3s var(--ease); max-width: calc(100vw - 32px); }
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Админка ---------- */
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.admin-bar h1 { font-size: 2rem; }
.admin-bar p { color: var(--slate); }
.admin-bar__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.admin-count { padding: 0 18px; min-height: 42px; display: inline-flex; align-items: center; background: var(--amber-soft); border-radius: 999px; font-weight: 600; font-size: .9375rem; }
.orders { min-width: 760px; text-align: left; font-size: .9375rem; }
.orders th { padding: 14px 18px; font-weight: 500; color: var(--slate); font-size: .8125rem; border-bottom: 1px solid var(--line); white-space: nowrap; }
.orders td { padding: 14px 18px; border-top: 1px solid var(--line-soft); vertical-align: top; }
.orders tbody tr:hover { background: var(--cloud); }
.orders small { display: block; color: var(--slate); }
.orders .num { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.orders .mono { font-variant-numeric: tabular-nums; font-size: .8125rem; color: var(--slate); }
.login { max-width: 420px; margin: 40px auto; }
.login h1 { font-size: 1.75rem; margin-bottom: 6px; }
.login p { color: var(--slate); margin-bottom: 22px; }

/* ---------- Юридические страницы ---------- */
.legal { max-width: 800px; }
.legal__meta { color: var(--slate); font-size: .9375rem; margin-top: 16px; }
.legal section + section { margin-top: 44px; }
.legal h2 { font-size: 1.5rem; margin-bottom: 16px; }
.legal p, .legal li { color: #3a4560; }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 12px; }
.legal ul { margin: 0; padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal b { color: var(--ink); }
.legal a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.legal .is-ok { color: var(--ok); }
.legal .is-bad { color: var(--bad); }
.legal__box { padding: 20px 22px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); }
.legal__box--warn { background: var(--amber-soft); border-color: transparent; }

/* ---------- Статусные страницы ---------- */
.status { min-height: 68vh; display: grid; place-items: center; padding: 64px 24px 96px; }
.status__card { width: 100%; max-width: 540px; text-align: center; }
.status__icon { width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); animation: stamp .6s var(--ease) both; }
.status__icon--bad { background: var(--bad-soft); color: var(--bad); }
.status__icon--neutral { background: var(--amber-soft); color: var(--night); }
.status__icon svg { width: 34px; height: 34px; }
.status__icon path { stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .5s .35s var(--ease) forwards; }
@keyframes stamp { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.status h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 14px; }
.status__card > p { color: var(--slate); font-size: 1.0625rem; }
.status__actions { display: grid; gap: 12px; margin-top: 30px; }
.status .qr-box { margin: 28px 0 0; background: var(--paper); border: 1px solid var(--line-soft); }
.status .qr-box img { width: 220px; height: 220px; }
.order-facts { margin: 16px 0 0; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-m); text-align: left; font-size: .9375rem; display: grid; gap: 10px; }
.order-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.order-facts dt { color: var(--slate); }
.order-facts dd { margin: 0; font-weight: 500; word-break: break-all; }
.code-404 { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 12vw, 9rem); line-height: 1; letter-spacing: -.05em; color: var(--night); margin-bottom: 8px; }
.code-404 span { color: var(--amber); }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 640px) {
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 32px; }
    .container { padding: 0 18px; }
    .page-body { padding: 36px 0 64px; }
    .faq summary { font-size: 1.0625rem; padding: 22px 0; }
    .faq__body p { padding-right: 0; }
    .compare th, .compare td { padding: 16px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .js .reveal { opacity: 1; transform: none; }
    .hero__sky .plane { display: none; }
}

@media print {
    .site-header, .site-footer, .modal, .btn { display: none !important; }
    body { background: #fff; }
}

/* Элементы сетки не должны распирать страницу (широкие таблицы прокручиваются внутри) */
.stack > *, .country-layout > *, .country-layout__aside > *, .seo-cols > *, .hero__grid > * { min-width: 0; }
.site-header.is-open { background: #fff; }
.status .status__card > .code-404 { font-size: clamp(5rem, 3rem + 12vw, 9rem); color: var(--night); }
.input--upper::placeholder { text-transform: none; }
