@charset "UTF-8";
/* TelecomClub — карта офферов.
   Стиль перенесён с telecom-club.com (css/styles.css): те же токены, шрифт, фоны и акценты.
   Свои только компоненты офферволла: глобус, карточка страны, блоки стран и строки офферов.
   Шрифты на 2 px крупнее, чем на сайте, — по просьбе заказчика. */

:root {
    --tc-red-900: #2a0606;
    --tc-red-800: #3d0808;
    --tc-red-700: #7a0f0f;
    --tc-red-600: #b71818;
    --tc-red-500: #dd1d1d;
    --tc-red-400: #e61b1b;
    --tc-red-300: #f04040;
    --tc-white: #ffffff;
    --tc-gray-300: #cccccc;
    --tc-gray-400: #a6a6a6;
    --tc-gray-600: #595959;

    --tc-font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
    --tc-w-semibold: 600;
    --tc-w-bold: 700;
    --tc-w-extrabold: 800;
    --tc-radius-sm: 6px;
    --tc-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --tc-dur-fast: 120ms;
    --tc-dur: 240ms;

    --tc-grad-hero: radial-gradient(120% 100% at 70% 50%, var(--tc-red-400) 0%, var(--tc-red-500) 25%, var(--tc-red-700) 70%, var(--tc-red-800) 100%);
    --tc-scrim: linear-gradient(160deg, rgba(42, 6, 6, 0.3), rgba(42, 6, 6, 0.62));

    --container: 1200px;
    --gutter: clamp(16px, 4vw, 24px);
    --section-pt: clamp(52px, 8vw, 88px);
    --section-pb: clamp(56px, 9vw, 96px);
    --card-radius: clamp(14px, 2vw, 20px);
    --card-pad: clamp(20px, 3vw, 32px);
    --header-h: 72px;

    /* Светлая тема — по умолчанию */
    --pg-bg: #ffffff;
    --pg-bg-alt: #fafafa;
    --pg-card: #ffffff;
    --pg-text: #212121;
    --pg-muted: #595959;
    --pg-faint: #808080;
    --pg-border: rgba(0, 0, 0, 0.08);
    --pg-accent: #dd1d1d;
    --pg-accent-strong: #b71818;
    --pg-accent-soft: rgba(221, 29, 29, 0.1);
    --pg-shadow: 0 12px 32px rgba(40, 0, 0, 0.1);
    --pg-tag-line: rgba(0, 0, 0, 0.16);
    --pg-fx-op: 0.1;
    --pg-arc: rgba(221, 29, 29, 0.15);

    color-scheme: light;
}

:root[data-theme="dark"] {
    --pg-bg: #0e0e0e;
    --pg-bg-alt: #151011;
    --pg-card: #1e1516;
    --pg-text: #f4f4f4;
    --pg-muted: #a6a6a6;
    --pg-faint: #8a8a8a;
    --pg-border: rgba(255, 255, 255, 0.1);
    --pg-accent: #f04040;
    --pg-accent-strong: #f26060;
    --pg-accent-soft: rgba(240, 64, 64, 0.16);
    --pg-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    --pg-tag-line: rgba(255, 255, 255, 0.22);
    --pg-fx-op: 0.3;
    --pg-arc: rgba(240, 64, 64, 0.2);

    color-scheme: dark;
}

/* ── Основа ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
html, body { margin: 0; padding: 0; background: var(--pg-bg); }
body { font-family: var(--tc-font); font-size: 17px; line-height: 1.55; color: var(--pg-text); text-wrap: pretty; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--pg-accent); text-decoration: none; transition: color var(--tc-dur-fast) var(--tc-ease-out); }
a:hover { color: var(--pg-accent-strong); }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { overflow-wrap: break-word; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pg-accent); outline-offset: 3px; border-radius: 3px; }
.red-ground :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--tc-white); }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0ms !important; }
}

.skip-link { position: absolute; top: -100px; left: 12px; z-index: 200; padding: 12px 20px; border-radius: var(--tc-radius-sm); background: var(--tc-red-500); color: var(--tc-white); font-size: 16px; font-weight: var(--tc-w-bold); transition: top var(--tc-dur) var(--tc-ease-out); }
.skip-link:focus { top: 12px; color: var(--tc-white); }
.container { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }

/* Цифровой фон разделов — тот же файл и та же маска, что на сайте */
.fx { position: absolute; inset: 0; pointer-events: none; opacity: var(--pg-fx-op); background: url("img/digits.svg") no-repeat right center / cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.45) 72%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.45) 72%, #000 100%); }
.red-ground { background-image: var(--tc-scrim), url("../img/bg-red-wave.jpg"), var(--tc-grad-hero); background-size: cover; background-position: center; color: var(--tc-white); }

/* ── Кнопки, метки, флаги, логотипы ────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: var(--tc-radius-sm); font-weight: var(--tc-w-bold); text-align: center; cursor: pointer; transition: filter var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out), box-shadow var(--tc-dur-fast) var(--tc-ease-out); }
.btn--primary { height: 38px; padding-inline: 22px; background: var(--tc-red-500); color: var(--tc-white); font-size: 15px; letter-spacing: 0.03em; box-shadow: 0 4px 10px rgba(120, 10, 10, 0.3); }
.btn--primary:hover { filter: brightness(0.92); color: var(--tc-white); }
.btn--lg { width: 100%; height: 48px; font-size: 16px; }
.btn--on-red { flex: 1 1 240px; max-width: 340px; padding: 15px clamp(16px, 3vw, 32px); background: var(--tc-white); color: var(--tc-red-500); font-size: 17px; overflow-wrap: anywhere; }
.btn--on-red:hover { filter: brightness(0.94); color: var(--tc-red-500); }
.btn--ghost-red { flex: 1 1 240px; max-width: 340px; padding: 15px clamp(20px, 3vw, 32px); background: transparent; color: var(--tc-white); font-size: 17px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.6); }
.btn--ghost-red:hover { color: var(--tc-white); box-shadow: inset 0 0 0 1.5px var(--tc-white); }
.icon-btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--pg-border); border-radius: var(--tc-radius-sm); background: transparent; color: var(--pg-text); font-size: 24px; line-height: 1; transition: color var(--tc-dur-fast) var(--tc-ease-out); }
.icon-btn:hover { color: var(--pg-accent); }

.label { font-size: 13px; font-weight: var(--tc-w-bold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--pg-faint); }
.label--sm { font-size: 11px; }
.badge { display: inline-block; padding: 10px 18px; border-radius: 4px; background: var(--tc-red-500); color: var(--tc-white); font-size: 15px; font-weight: var(--tc-w-bold); letter-spacing: 0.03em; }
.badge--outline { border: 1px solid var(--pg-accent); background: transparent; color: var(--pg-accent); }
.badge--sm { padding: 4px 9px; font-size: 13px; line-height: 1.3; }
.tag { display: inline-flex; align-items: center; padding: 5px 10px; border: 1px solid var(--pg-tag-line); border-radius: 4px; background: var(--pg-card); font-size: 14px; font-weight: var(--tc-w-semibold); line-height: 1.3; color: var(--pg-text); white-space: nowrap; }
.tag--op { gap: 9px; padding: 3px 12px 3px 3px; }

.flag { display: inline-block; flex: none; width: 28px; height: 21px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px var(--pg-tag-line); vertical-align: middle; }
.flag--sm { width: 22px; height: 16.5px; border-radius: 2px; }
.flag--lg { width: 56px; height: 42px; border-radius: 6px; }

/* Логотип оператора всегда на белой плашке одного размера: знак вписывается внутрь, строки не «гуляют» */
.op-logo { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 30px; padding: 4px 6px; border: 1px solid rgba(0, 0, 0, 0.12); border-radius: 5px; background: #fff; color: #212121; }
.op-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.op-logo--icon svg { display: block; width: 20px; height: 20px; }
.tag--op .op-logo { border-color: transparent; border-radius: 3px; }

.card { padding: var(--card-pad); border: 1px solid var(--pg-border); border-radius: var(--card-radius); background: var(--pg-card); box-shadow: var(--pg-shadow); color: var(--pg-text); }
.card--arcs { background-image: linear-gradient(to bottom right, rgba(0, 0, 0, 0) 0%, var(--pg-card) 66%), repeating-radial-gradient(circle at 0% 0%, var(--pg-arc) 0 1px, transparent 1px 26px); }

/* ── Шапка ─────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--pg-bg); border-bottom: 1px solid var(--pg-border); }
.header__bar { display: flex; align-items: center; gap: 24px; max-width: var(--container); min-height: var(--header-h); margin: 0 auto; padding: 0 28px; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: 12px; min-width: 0; margin-right: auto; color: var(--pg-text); }
.brand:hover { color: var(--pg-text); }
.brand__mark { display: block; width: auto; height: 32px; }
.brand__mark--dark, :root[data-theme="dark"] .brand__mark--light { display: none; }
:root[data-theme="dark"] .brand__mark--dark { display: block; }
.brand__name { overflow: hidden; font-size: 21px; font-weight: var(--tc-w-extrabold); letter-spacing: -0.02em; white-space: nowrap; text-overflow: ellipsis; }
.brand__name span { color: var(--pg-faint); }
.nav { display: flex; gap: 18px; font-size: 16px; font-weight: var(--tc-w-semibold); white-space: nowrap; }
.nav a { color: var(--pg-text); }
.nav a:hover { color: var(--pg-accent); }
.header__actions { display: flex; flex-shrink: 0; align-items: center; gap: 12px; }
.lang { display: flex; flex-shrink: 0; height: 36px; overflow: hidden; border: 1px solid var(--pg-border); border-radius: var(--tc-radius-sm); }
.lang__btn { padding-inline: 11px; border: 0; background: transparent; color: var(--pg-muted); font-size: 14px; font-weight: var(--tc-w-bold); line-height: 1; transition: background var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out); }
.lang__btn[aria-pressed="true"] { background: var(--pg-accent); color: var(--tc-white); }
/* Кнопки шапки — высота как на telecom-club.com (36 px) */
.site-header .icon-btn { width: 36px; height: 36px; }
.header__actions .btn--primary { height: 36px; }
.icon-sun, :root[data-theme="dark"] .icon-moon { display: none; }
:root[data-theme="dark"] .icon-sun { display: block; }
/* Мобильное меню — как на telecom-club.com */
.burger { display: none; }
.burger .icon-close { display: none; }
.burger[aria-expanded="true"] .icon-burger { display: none; }
.burger[aria-expanded="true"] .icon-close { display: block; }
.mobile-nav { display: none; flex-direction: column; padding: 4px 16px 16px; border-top: 1px solid var(--pg-border); font-size: 17px; font-weight: var(--tc-w-semibold); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a:not(.btn) { padding: 12px 0; color: var(--pg-text); }
.mobile-nav a:not(.btn) + a:not(.btn) { border-top: 1px solid var(--pg-border); }
.mobile-nav .btn { margin-top: 12px; padding: 13px 24px; height: auto; font-size: 16px; }

/* ── Герой: красная волна, слева текст, справа глобус ───────── */
.hero { position: relative; overflow: hidden; padding-top: clamp(64px, 10vw, 104px); }
.hero__top { display: grid; grid-template-columns: minmax(300px, 430px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero__copy { min-width: 0; }
.hero__eyebrow { font-size: clamp(13px, 2.6vw, 15px); font-weight: var(--tc-w-bold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--tc-gray-300); }
.hero__title { margin-top: 20px; font-size: clamp(30px, 3.3vw, 44px); font-weight: var(--tc-w-extrabold); line-height: 1.08; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
.hero__title span { display: block; }
/* Двухцветный заголовок как на сайте: первая строка белая, вторая серая */
.hero__title { color: var(--tc-white); }
.hero__title span + span { color: var(--tc-gray-300); }
.hero__title b { font-weight: inherit; color: inherit; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.stat__value { font-size: clamp(26px, 7vw, 34px); font-weight: var(--tc-w-bold); font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat__label { margin-top: 8px; font-size: 15px; line-height: 1.35; color: var(--tc-gray-300); }

.hero__stage { position: relative; display: flex; align-items: center; min-width: 0; min-height: 540px; }
.globe { position: relative; flex: none; width: min(480px, 100%, calc(100vh - 230px)); min-width: 320px; aspect-ratio: 1; }
.globe canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; border-radius: 50%; }
.globe canvas.is-dragging { cursor: grabbing; }
.globe canvas.is-hit { cursor: pointer; }

/* Карточка страны: карточка сайта с дугами, стоит поверх края глобуса */
.geo-card { position: absolute; right: 0; top: 50%; z-index: 2; width: 344px; transform: translateY(-50%); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px; box-shadow: 0 22px 48px rgba(40, 0, 0, 0.34); }
.geo-card.is-swapping > * { animation: card-in 420ms var(--tc-ease-out) both; }
.geo-card.is-swapping > *:nth-child(2) { animation-delay: 50ms; }
.geo-card.is-swapping > *:nth-child(3) { animation-delay: 100ms; }
.geo-card.is-swapping > *:nth-child(n + 4) { animation-delay: 150ms; }
@keyframes card-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.geo-card__head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.geo-card__head h3 { font-size: 25px; font-weight: var(--tc-w-extrabold); line-height: 1.15; }
.geo-card__head p { font-size: 15px; color: var(--pg-muted); }
.geo-card__sub { display: flex; justify-content: flex-end; margin-bottom: -8px; }
.geo-card__ops { display: flex; flex-wrap: wrap; gap: 6px; }
.share { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; }
.share + .share { border-top: 1px solid var(--pg-border); }
.share__name { display: flex; align-items: center; gap: 12px; min-width: 0; font-size: 17px; font-weight: var(--tc-w-semibold); }
.share__name > span:not(.op-logo) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share__name small { flex: none; padding: 1px 6px; border: 1px solid var(--pg-accent); border-radius: 4px; font-size: 12px; font-weight: var(--tc-w-bold); color: var(--pg-accent); }
.share__val { flex: none; font-size: 19px; font-weight: var(--tc-w-bold); font-variant-numeric: tabular-nums; }
/* Строки операторов приглушены, чтобы итоговая строка под ними (ставка, офферы, охват) читалась контрастнее */
.share__name, .share__val { color: var(--pg-muted); }
.geo-card__facts { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 8px; padding-top: 14px; border-top: 1px solid var(--pg-border); }
.geo-card__facts div { min-width: 0; }
.geo-card__facts b { display: block; font-size: 23px; font-weight: var(--tc-w-bold); line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.geo-card__facts b.accent { color: var(--pg-accent); }
.geo-card__facts b i { font-size: 14px; font-style: normal; font-weight: var(--tc-w-semibold); color: var(--pg-faint); }
.geo-card__facts span { display: block; margin-top: 3px; font-size: 14px; line-height: 1.3; color: var(--pg-faint); }
.geo-card__src { font-size: 14px; line-height: 1.45; color: var(--pg-faint); }

.connector { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; transition: opacity var(--tc-dur) var(--tc-ease-out); }
.connector path { fill: none; stroke: var(--tc-white); stroke-width: 1.5; stroke-dasharray: 4 5; opacity: 0.85; }
.connector circle { fill: var(--tc-white); }

/* Переключатель стран — на месте полосы цифр в герое сайта */
.geo-tabs { display: flex; gap: 8px; margin-top: clamp(26px, 3vw, 36px); padding: 22px 0 clamp(32px, 4vw, 44px); border-top: 1px solid rgba(255, 255, 255, 0.22); overflow-x: auto; scrollbar-width: none; }
.geo-tabs::-webkit-scrollbar { display: none; }
.geo-tab { position: relative; flex: 1 1 auto; display: flex; align-items: center; gap: 9px; padding: 11px 11px 12px; overflow: hidden; border: 0; border-radius: var(--tc-radius-sm); background: transparent; color: var(--tc-white); text-align: left; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.4); transition: box-shadow var(--tc-dur-fast) var(--tc-ease-out), background var(--tc-dur-fast) var(--tc-ease-out); }
.geo-tab:hover { box-shadow: inset 0 0 0 1.5px var(--tc-white); }
.geo-tab .flag { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35); }
.geo-tab span { font-size: 14px; font-weight: var(--tc-w-bold); white-space: nowrap; }
.geo-tab small { margin-left: auto; padding-left: 4px; font-size: 14px; font-weight: var(--tc-w-semibold); color: var(--tc-gray-300); font-variant-numeric: tabular-nums; }
.geo-tab::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--tc-red-500); transform: scaleX(0); transform-origin: left; }
.geo-tab[aria-selected="true"] { background: var(--tc-white); color: var(--tc-red-500); box-shadow: none; }
.geo-tab[aria-selected="true"] .flag { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.16); }
.geo-tab[aria-selected="true"] small { color: var(--tc-gray-600); }
.geo-tab[aria-selected="true"]::after { transform: scaleX(1); }
.geo-tab.is-timing::after { animation: tab-progress var(--dwell, 5s) linear both; }
.geo-tabs.is-paused .geo-tab.is-timing::after { animation-play-state: paused; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ── Разделы и фильтры ─────────────────────────────────────── */
.section { position: relative; overflow: hidden; background: var(--pg-bg); border-bottom: 1px solid var(--pg-border); }
.section--alt { background: var(--pg-bg-alt); }
.section--last { border-bottom: 0; }
.section > .container { padding-block: var(--section-pt) var(--section-pb); }
.section__eyebrow { display: flex; align-items: baseline; gap: 14px; }
.section__num { font-size: 16px; font-weight: var(--tc-w-bold); font-variant-numeric: tabular-nums; color: var(--pg-accent); }
.section__label { font-size: 15px; font-weight: var(--tc-w-semibold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--pg-muted); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-top: 20px; }
.section__title { font-size: clamp(25px, 4.5vw, 36px); font-weight: var(--tc-w-extrabold); line-height: 1.2; letter-spacing: -0.01em; }
.section__count { font-size: 16px; color: var(--pg-muted); white-space: nowrap; }

.filters { display: grid; gap: 12px; margin-top: clamp(24px, 4vw, 36px); }
.filter { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.filter > .label { flex: none; width: 118px; }
.filter__opts { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.filter__opts button { display: inline-flex; flex: none; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid var(--pg-tag-line); border-radius: 4px; background: var(--pg-card); font-size: 15px; font-weight: var(--tc-w-semibold); color: var(--pg-text); transition: border-color var(--tc-dur-fast) var(--tc-ease-out), color var(--tc-dur-fast) var(--tc-ease-out); }
.filter__opts button:hover { border-color: var(--pg-accent); color: var(--pg-accent); }
.filter__opts button[aria-pressed="true"] { border-color: var(--tc-red-500); background: var(--tc-red-500); color: var(--tc-white); }
.filter__opts button small { font-size: 13px; font-weight: var(--tc-w-semibold); opacity: 0.6; }
.empty { margin-top: 24px; padding: 36px; border: 1px dashed var(--pg-tag-line); border-radius: var(--card-radius); text-align: center; color: var(--pg-muted); }

/* ── Каталог: блок страны и строки офферов ─────────────────── */
.offer-list { display: flex; flex-direction: column; gap: clamp(32px, 5vw, 48px); margin-top: clamp(28px, 4vw, 40px); }
.geo-group { display: flex; flex-direction: column; gap: 14px; }
.geo-group__head { position: relative; display: flex; align-items: center; gap: 16px; min-width: 0; padding: 12px 14px; border-radius: var(--tc-radius-sm); border-bottom: 2px solid var(--pg-accent); border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.geo-group__title { min-width: 0; margin-right: auto; }
.geo-group__title h3 { font-size: clamp(22px, 3vw, 28px); font-weight: var(--tc-w-extrabold); line-height: 1.15; letter-spacing: -0.01em; }
.geo-group__title p { margin-top: 2px; font-size: 16px; color: var(--pg-muted); }
.geo-group__ops { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
/* Короткая подсветка страны после перехода с глобуса: фон шапки мигает, строки офферов поднимаются по очереди */
.geo-group.is-flash .geo-group__head { animation: geo-flash 1600ms 350ms var(--tc-ease-out) both; }
.geo-group.is-flash .offer { animation: offer-rise 520ms var(--tc-ease-out) backwards; animation-delay: 420ms; }
.geo-group.is-flash .offer:nth-of-type(2) { animation-delay: 500ms; }
.geo-group.is-flash .offer:nth-of-type(3) { animation-delay: 580ms; }
.geo-group.is-flash .offer:nth-of-type(n + 4) { animation-delay: 660ms; }
@keyframes geo-flash { 0%, 100% { background-color: transparent; } 25% { background-color: var(--pg-accent-soft); } }
@keyframes offer-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Строка оффера: слева название с метками и под ними условия, справа превью лендингов на всю высоту строки */
.offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id thumbs" "terms thumbs"; gap: 14px 28px; align-items: center; padding: 18px 24px; min-width: 0; }
.offer__id { grid-area: id; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-width: 0; }
.offer__name { font-size: clamp(19px, 2.4vw, 21px); font-weight: var(--tc-w-extrabold); line-height: 1.25; overflow-wrap: anywhere; }
.offer__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 15px; color: var(--pg-faint); }
.offer__ask { margin-left: auto; font-size: 15px; font-weight: var(--tc-w-semibold); white-space: nowrap; }
.terms { grid-area: terms; display: grid; gap: 10px; min-width: 0; }
.term { display: grid; grid-template-columns: minmax(170px, 1.5fr) repeat(4, minmax(92px, 1fr)); gap: 10px; align-items: center; min-width: 0; }
.term + .term { padding-top: 10px; border-top: 1px solid var(--pg-border); }
.term__ops { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.term--many { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.term--many .term__ops { grid-column: 1 / -1; }
.kv { display: grid; gap: 2px; min-width: 0; }
.kv span { font-size: 13px; font-weight: var(--tc-w-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pg-faint); }
.kv b { font-size: 17px; font-weight: var(--tc-w-bold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.kv--cpa b { font-size: 20px; color: var(--pg-accent); }
.kv--flow b { font-size: 16px; line-height: 1.25; white-space: normal; }
.kv--note b { font-size: 15px; line-height: 1.2; white-space: normal; }
/* Таблица CPA по Wi-Fi: пять одинаковых ячеек — логотип, название, ставка */
.wifi { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 8px; padding: 12px 14px; border: 1px solid var(--pg-border); border-radius: var(--tc-radius-sm); background: var(--pg-bg-alt); }
.wifi p { grid-column: 1 / -1; }
.kv--op { gap: 6px; }
.kv--op span { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; letter-spacing: 0; text-transform: none; color: var(--pg-text); }
.kv--op span i { font-size: 14px; font-style: normal; font-weight: var(--tc-w-semibold); white-space: nowrap; }
/* Превью лендингов: высота сопоставима с высотой строки оффера */
.thumbs { grid-area: thumbs; display: flex; gap: 8px; align-items: center; justify-content: flex-end; width: 372px; }
.thumb { flex: none; width: 68px; height: 121px; padding: 0; overflow: hidden; border: 1px solid var(--pg-tag-line); border-radius: 6px; background: var(--pg-bg-alt); transition: border-color var(--tc-dur-fast) var(--tc-ease-out), transform var(--tc-dur-fast) var(--tc-ease-out); }
.thumb:hover { border-color: var(--pg-accent); transform: translateY(-2px); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ── Блок контактов и подвал — как на сайте ────────────────── */
.cta-panel { display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 64px); align-items: center; justify-content: space-between; padding: clamp(28px, 6vw, 72px) clamp(18px, 5vw, 64px); border-radius: clamp(18px, 3vw, 32px); box-shadow: 0 22px 48px rgba(40, 0, 0, 0.24); }
.cta-panel__copy { flex: 1 1 560px; min-width: 0; }
.cta-panel__eyebrow { font-size: clamp(13px, 2.6vw, 15px); font-weight: var(--tc-w-bold); letter-spacing: 0.18em; text-transform: uppercase; color: var(--tc-gray-300); }
.cta-panel__title { margin-top: 18px; max-width: 640px; font-size: clamp(24px, 3.6vw, 38px); font-weight: var(--tc-w-extrabold); line-height: 1.15; letter-spacing: -0.01em; text-transform: uppercase; }
.cta-panel__lead { margin-top: 18px; max-width: 560px; color: rgba(255, 255, 255, 0.92); }
.cta-panel__actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 32px; }
.cta-panel__logo { flex: 0 1 240px; min-width: 0; display: flex; justify-content: center; }
.cta-panel__logo img { display: block; width: 100%; max-width: min(240px, 58vw); height: auto; }

.site-footer { background: var(--tc-red-900); color: var(--tc-white); }
.site-footer > .container { padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: clamp(24px, 4vw, 40px); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { display: block; width: auto; height: 30px; }
.footer__brand span { font-size: 21px; font-weight: var(--tc-w-extrabold); letter-spacing: -0.02em; }
.footer__brand span span { color: var(--tc-gray-300); }
.footer__note { margin-top: 16px; max-width: 260px; font-size: 14px; line-height: 1.5; color: var(--tc-gray-300); }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.footer__col--muted { color: var(--tc-gray-300); }
.footer__title { margin-bottom: 4px; font-size: 14px; font-weight: var(--tc-w-semibold); letter-spacing: 0.14em; text-transform: uppercase; color: var(--tc-gray-400); }
.site-footer a { color: var(--tc-white); }
.site-footer a:hover { color: var(--tc-gray-300); }
.footer__sources { margin-top: 40px; max-width: 920px; font-size: 14px; line-height: 1.6; color: var(--tc-gray-400); }
.footer__sources a { color: var(--tc-gray-300); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; margin-top: 24px; padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 15px; color: var(--tc-gray-400); }

/* ── Плашка cookie — та же, что на сайте ───────────────────── */
.cookie { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: 100; max-width: 480px; padding: 20px clamp(18px, 3vw, 28px); border: 1px solid var(--pg-border); border-radius: 16px; background: var(--pg-card); color: var(--pg-text); box-shadow: 0 22px 48px rgba(40, 0, 0, 0.24); }
.cookie__title { font-size: 17px; font-weight: var(--tc-w-bold); }
.cookie__text { margin-top: 8px; font-size: 15px; color: var(--pg-muted); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie__btn { padding: 11px 24px; border: 0; border-radius: var(--tc-radius-sm); background: var(--tc-red-500); color: var(--tc-white); font-size: 15px; font-weight: var(--tc-w-bold); cursor: pointer; transition: filter var(--tc-dur-fast) var(--tc-ease-out); }
.cookie__btn:hover { filter: brightness(0.92); }
.cookie__btn--ghost { background: transparent; color: var(--pg-muted); box-shadow: inset 0 0 0 1px var(--pg-border); }
.cookie__btn--ghost:hover { filter: none; color: var(--pg-text); }

/* ── Просмотр лендинга ─────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 56px 16px 20px; background: rgba(14, 14, 14, 0.95); color: var(--tc-white); animation: fade-in 200ms ease both; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox .icon-btn { border-color: rgba(255, 255, 255, 0.3); color: var(--tc-white); }
.lightbox .icon-btn:hover { color: var(--tc-red-300); }
.lightbox figure { display: grid; justify-items: center; gap: 10px; min-width: 0; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); border-radius: var(--tc-radius-sm); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.6); }
.lightbox figcaption { font-size: 15px; color: var(--tc-gray-300); text-align: center; }
.lightbox__close { position: absolute; right: 16px; top: 12px; }

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 1279px) {
    :root { --header-h: 56px; }
    .header__bar { gap: 8px; min-height: 0; padding: 10px 12px; }
    .nav, .header__actions .btn--primary { display: none; }
    .burger { display: inline-flex; }
    .brand__name { font-size: 19px; }
    /* превью уходят под условия: колонке условий нужна вся ширина */
    .offer { grid-template-columns: minmax(0, 1fr); grid-template-areas: "id" "terms" "thumbs"; }
    .thumbs { justify-content: flex-start; width: auto; }
}
@media (max-width: 1100px) {
    .hero__top { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .hero__title { margin-top: 0; }
    .hero__copy { display: contents; }
    .hero__stage { order: 1; flex-direction: column; gap: 34px; min-height: 0; }
    .hero__actions { order: 2; margin-top: 4px; }
    .stats { order: 3; margin-top: 4px; }
    .globe { width: min(520px, 100%); min-width: 0; }
    .geo-card { position: relative; right: auto; top: auto; width: min(520px, 100%); transform: none; }
    .connector { display: none; }
}
@media (max-width: 760px) {
    .filter { flex-direction: column; align-items: stretch; gap: 6px; }
    .filter > .label { width: auto; }
    .filter__opts { flex-wrap: nowrap; padding: 2px; overflow-x: auto; scrollbar-width: none; }
    .filter__opts::-webkit-scrollbar { display: none; }
    .geo-tab { flex: 0 0 auto; }
    .geo-group__head { flex-wrap: wrap; padding-inline: 4px; }
    .geo-group__title { flex: 1 1 0; }
    .geo-group__ops { flex-basis: 100%; justify-content: flex-start; }
    .offer { padding: 16px; }
    .offer__ask { margin-left: 0; }
    .thumbs { overflow-x: auto; scrollbar-width: none; }
    .thumbs::-webkit-scrollbar { display: none; }
    .term { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .term__ops { grid-column: 1 / -1; }
    .wifi { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lightbox { grid-template-columns: minmax(0, 1fr); padding-inline: 12px; }
    .lightbox__nav { position: absolute; bottom: 16px; }
    .lightbox__nav[data-step="-1"] { left: 16px; }
    .lightbox__nav[data-step="1"] { right: 16px; }
    .lightbox img { max-height: calc(100vh - 190px); }
}
@media (max-width: 479px) {
    .brand__name { display: none; }
    .stats { gap: 12px; }
    /* на узком телефоне длинное название оператора переносится, а не обрезается */
    .share__name > span:not(.op-logo) { white-space: normal; line-height: 1.25; }
    /* ставка не наезжает на соседнюю цифру: первая колонка по ширине текста */
    .geo-card__facts { grid-template-columns: max-content minmax(0, 1fr) minmax(0, 1fr); gap: 8px 12px; }
    .stat__label { font-size: 14px; }
    .thumb { width: 54px; height: 96px; }
    .thumbs { gap: 6px; }
    /* на телефоне условия идут сеткой 2×2: диапазоны Rebill не помещаются в четверть ширины */
    .term, .term--many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
    .flag--lg { width: 48px; height: 36px; }
}
@media (max-width: 359px) {
    /* самые узкие телефоны: цифры карточки страны чуть мельче, чтобы 100% помещалось в колонку */
    .geo-card__facts b { font-size: 20px; }
}
