/*
 * Gistics — стили сайта.
 * Фирменный красный — акцентом: логотип, кнопки, мягкие «облака» на светлом фоне.
 * Основа — белый и тёплый светло-серый, текст — почти чёрный для идеальной читаемости.
 * Шрифт Golos Text. Длинные списки — горизонтальные ленты с прокруткой.
 */
@font-face {
    font-family: "Golos Text";
    src: url("../fonts/golos.woff") format("woff");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --red: #C8202A;
    --red-hover: #B01A23;
    --red-deep: #8E1219;
    --red-soft: #FDF1F1;
    --red-line: #F5D4D6;
    --ink: #14151A;
    --text: #23252C;
    --muted: #646976;
    --line: #E6E7EB;
    --soft: #F5F5F7;
    --bg: #FFFFFF;
    --card: #FFFFFF;
    --dark: #121317;
    --dark-2: #1C1D23;
    --on-dark: #F3F3F5;
    --on-dark-muted: #A4A7B2;
    --on-dark-line: rgba(255, 255, 255, .12);
    --ok: #18794E;
    --err: #C8202A;
    --focus: #C8202A;

    --font: "Golos Text", "Segoe UI", Roboto, Arial, system-ui, sans-serif;
    --wrap: 1240px;
    --gutter: max(16px, min(4.5vw, 40px));
    --r-sm: 10px;
    --r: 14px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow: 0 1px 2px rgba(20, 21, 26, .04), 0 8px 24px -12px rgba(20, 21, 26, .12);
    --ease: cubic-bezier(.2, .7, .2, 1);

    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: 1.0625rem;
    --fs-md: 1.1875rem;
    --fs-lg: clamp(1.35rem, 1.15rem + .7vw, 1.625rem);
    --fs-xl: clamp(1.85rem, 1.35rem + 1.7vw, 2.75rem);
    --fs-2xl: clamp(2.3rem, 1.5rem + 3vw, 4rem);
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --ink: #F4F4F6; --text: #E3E4E8; --muted: #A2A6B1; --line: #2B2D35; --soft: #17181D;
        --bg: #0F1013; --card: #17181D; --red-soft: #2A1215; --red-line: #4A1D21; --ok: #5FD39A;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
        color-scheme: dark;
    }
}
:root[data-theme="dark"] {
    --ink: #F4F4F6; --text: #E3E4E8; --muted: #A2A6B1; --line: #2B2D35; --soft: #17181D;
    --bg: #0F1013; --card: #17181D; --red-soft: #2A1215; --red-line: #4A1D21; --ok: #5FD39A;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-2xl); font-weight: 700; line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-xl); font-weight: 700; line-height: 1.12; letter-spacing: -0.028em; }
h3 { font-size: var(--fs-md); font-weight: 600; line-height: 1.3; letter-spacing: -0.012em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--red); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.stat strong, .t-price, .calc-sum { font-variant-numeric: tabular-nums; }

/* ---------- кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 22px; border-radius: 12px;
    font: 600 .975rem/1.2 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
    border: 1px solid transparent; transition: background .2s var(--ease), color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: 15px 26px; font-size: 1rem; }
.btn-red, .btn-ink, .btn-tape { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover, .btn-ink:hover, .btn-tape:hover { background: var(--red-hover); border-color: var(--red-hover); color: #fff; }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-light:hover { background: #fff; color: var(--red-hover); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* ---------- шапка ---------- */
.site-head { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
/* Размытие — на отдельном слое: backdrop-filter на самой шапке ломает position: fixed у мобильного меню внутри неё. */
.site-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(20, 21, 26, .35); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .site-head::before { background: rgba(15, 16, 19, .82); } }
.head-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo img { height: 30px; width: auto; }
.nav { flex: 1; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list > li > a { display: block; padding: 9px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text); white-space: nowrap; transition: background .15s, color .15s; }
.nav-list > li > a:hover, .has-mega:hover > a { background: var(--soft); color: var(--ink); }
.nav-list > li > a[aria-current="page"] { color: var(--red); }
.head-side { display: flex; align-items: center; gap: 16px; }
.head-phone { font-weight: 600; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.langs { display: inline-flex; gap: 2px; font-size: var(--fs-xs); }
.langs a { padding: 4px 7px; border-radius: 6px; text-decoration: none; color: var(--muted); font-weight: 500; }
.langs a[aria-current="true"] { color: var(--ink); background: var(--soft); }
.has-mega { position: static; }
.site-head .wrap { position: relative; }
.mega { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - 6px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 24px 60px -24px rgba(20, 21, 26, .3); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { visibility: visible; opacity: 1; transform: none; }
.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .95fr); gap: 28px; padding: 28px; }
.mega-h { font-size: var(--fs-xs); color: var(--muted); font-weight: 500; margin-bottom: 8px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega ul a { display: grid; gap: 1px; padding: 9px 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; transition: background .15s; }
.mega ul a:hover { background: var(--soft); color: inherit; }
.mega ul a strong { font-weight: 600; color: var(--ink); }
.mega ul a span { font-size: var(--fs-sm); color: var(--muted); }
.mega-promo { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; padding: 22px; border-radius: 18px; color: #fff; text-decoration: none; background: radial-gradient(120% 90% at 100% 0%, #E5434A 0%, transparent 60%), linear-gradient(160deg, var(--red) 0%, var(--red-deep) 100%); min-height: 190px; }
.mega-promo:hover { color: #fff; }
.mega-promo strong { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.mega-promo span { font-size: var(--fs-sm); opacity: .85; }
.burger { display: none; width: 44px; height: 44px; flex-shrink: 0; border: 1px solid var(--line); background: var(--card); border-radius: 12px; cursor: pointer; position: relative; color: var(--ink); padding: 0; }
/* Три полоски строго по центру кнопки: и «гамбургер», и крестик */
.burger span:first-child { position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; margin: -1px 0 0 -9px; border-radius: 2px; background: currentColor; transition: background .2s; }
.burger span:first-child::before, .burger span:first-child::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.burger span:first-child::before { top: -6px; }
.burger span:first-child::after { top: 6px; }
.burger[aria-expanded="true"] span:first-child { background: transparent; }
.burger[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }
.sub-toggle, .nav-mobile-extra, .nav-backdrop { display: none; }

/* Переключатель темы — неоновый красный значок: полумесяц превращается в солнце */
.theme-btn { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; padding: 0; border: 0; background: none; cursor: pointer; color: #E5434A; border-radius: 50%; }
.theme-btn svg { width: 26px; height: 26px; overflow: visible; filter: drop-shadow(0 0 2px rgba(255, 90, 98, .9)) drop-shadow(0 0 7px rgba(229, 67, 74, .7)) drop-shadow(0 0 14px rgba(200, 32, 42, .45)); transition: filter .3s; }
.theme-btn:hover svg { filter: drop-shadow(0 0 3px rgba(255, 110, 118, 1)) drop-shadow(0 0 10px rgba(229, 67, 74, .9)) drop-shadow(0 0 22px rgba(200, 32, 42, .6)); }
.theme-btn:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.tm-moon, .tm-sun, .tm-rays { transform-box: view-box; transform-origin: 12px 12px; }
.tm-moon { transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .35s; }
.tm-sun { opacity: 0; transform: rotate(-120deg) scale(.3); transition: transform .65s cubic-bezier(.34, 1.56, .64, 1), opacity .35s; }
.tm-rays { transform: scale(.4); opacity: 0; transition: transform .5s .15s cubic-bezier(.34, 1.56, .64, 1), opacity .3s .15s; }
:root[data-theme="dark"] .tm-moon { opacity: 0; transform: rotate(120deg) scale(.3); }
:root[data-theme="dark"] .tm-sun { opacity: 1; transform: none; }
:root[data-theme="dark"] .tm-rays { opacity: 1; transform: rotate(45deg); }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .tm-moon { opacity: 0; transform: rotate(120deg) scale(.3); }
    :root:not([data-theme="light"]) .tm-sun { opacity: 1; transform: none; }
    :root:not([data-theme="light"]) .tm-rays { opacity: 1; transform: rotate(45deg); }
}

/* Кнопки мессенджеров — красное стекло, как плавающие кнопки */
.glass-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 20px; border-radius: 16px; font-weight: 600; font-size: 1rem; color: #fff; text-decoration: none;
    background: radial-gradient(120% 140% at 20% 0%, rgba(236, 72, 80, .82), rgba(200, 32, 42, .72) 55%, rgba(142, 18, 25, .8));
    -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 14px 30px -14px rgba(200, 32, 42, .75), inset 0 1px 0 rgba(255, 255, 255, .3);
    transition: transform .2s var(--ease), box-shadow .2s; }
.glass-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(200, 32, 42, .9), inset 0 1px 0 rgba(255, 255, 255, .4); }
.glass-btn svg { width: 22px; height: 22px; }

@media (max-width: 1279px) {
    .head-row { gap: 10px; min-height: 64px; }
    .burger { display: block; border: 0; background: var(--soft); border-radius: 50%; width: 42px; height: 42px; }
    .burger[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
    .head-side { margin-left: auto; gap: 8px; }
    .head-phone, .head-side .langs { display: none; }

    .nav-backdrop { position: fixed; inset: 0; z-index: -2; background: rgba(10, 11, 14, .5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
    .nav-backdrop.is-open { display: block; animation: fade-in .25s var(--ease); }

    /* Меню на всю ширину: выезжает из-под шапки, с красным свечением */
    .nav { --pad: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
        position: fixed; left: 0; right: 0; top: var(--menu-top, 64px); max-height: calc(100dvh - var(--menu-top, 64px)); overflow-y: auto; overscroll-behavior: contain;
        padding: 18px var(--pad) 28px; border-radius: 0 0 28px 28px; border-bottom: 1px solid var(--line);
        background: radial-gradient(60% 70% at 100% 0%, rgba(200, 32, 42, .16), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(200, 32, 42, .08), transparent 70%), var(--bg);
        box-shadow: 0 40px 80px -30px rgba(10, 11, 14, .55);
        display: grid; grid-template-columns: 1fr; gap: 22px; align-content: start;
        visibility: hidden; opacity: 0; transform: translateY(-14px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s; }
    .nav.is-open { visibility: visible; opacity: 1; transform: none; }

    .nav-list { flex-direction: column; gap: 0; counter-reset: nav; }
    .nav-list > li { position: relative; border-bottom: 1px solid var(--line); }
    .nav.is-open .nav-list > li { animation: nav-in .45s var(--ease) both; }
    .nav.is-open .nav-list > li:nth-child(2) { animation-delay: .03s; } .nav.is-open .nav-list > li:nth-child(3) { animation-delay: .06s; } .nav.is-open .nav-list > li:nth-child(4) { animation-delay: .09s; }
    .nav.is-open .nav-list > li:nth-child(5) { animation-delay: .12s; } .nav.is-open .nav-list > li:nth-child(6) { animation-delay: .15s; } .nav.is-open .nav-list > li:nth-child(n+7) { animation-delay: .18s; }
    .nav-list > li > a { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 44px 16px 0; border-radius: 0; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); background: none !important; }
    .nav-list > li > a::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); opacity: .35; transition: transform .2s var(--ease), opacity .2s; }
    .nav-list > li > a:hover { color: var(--red); }
    .nav-list > li > a:hover::after { opacity: 1; transform: translate(3px, -50%) rotate(45deg); }
    .nav-list > li > a[aria-current="page"] { color: var(--red); }
    .has-mega > a::after { display: none; }
    .sub-toggle { display: grid; place-items: center; position: absolute; right: -4px; top: 50%; margin-top: -21px; width: 42px; height: 42px; border: 0; border-radius: 50%; color: #fff; cursor: pointer;
        background: radial-gradient(circle at 30% 25%, rgba(236, 72, 80, .9), rgba(200, 32, 42, .85) 55%, rgba(142, 18, 25, .9)); box-shadow: 0 8px 20px -8px rgba(200, 32, 42, .7); }
    .has-mega { --sub-top: 30px; }
    .has-mega .sub-toggle { top: var(--sub-top); }
    .sub-toggle svg { width: 18px; height: 18px; transform: rotate(90deg); transition: transform .25s var(--ease); }
    .has-mega.is-sub-open .sub-toggle svg { transform: rotate(-90deg); }

    .mega { position: static; display: none; visibility: visible; opacity: 1; transform: none; box-shadow: none; border: 0; border-radius: 20px; margin: 0 0 16px;
        background: radial-gradient(80% 120% at 100% 0%, rgba(200, 32, 42, .12), transparent 60%), var(--soft); }
    .has-mega.is-sub-open .mega { display: block; animation: nav-in .3s var(--ease) both; }
    .has-mega:hover .mega { visibility: visible; }
    .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 18px 20px; }
    .mega-promo, .mega ul a span { display: none; }
    .mega-h { display: block; margin: 0 0 6px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--red); font-weight: 600; }
    .mega ul { gap: 0; }
    .mega ul a { padding: 8px 0; margin: 0; border-radius: 0; font-size: 1rem; }
    .mega ul a:hover { background: none; }
    .mega ul a:hover strong { color: var(--red); }
    .mega ul a strong { font-weight: 500; }

    .nav-mobile-extra { display: grid; gap: 14px; align-content: start; }
    .nav-contact { display: grid; gap: 2px; }
    .nav-contact small { color: var(--muted); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
    .nav-contact a { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
    .nav-contact span { color: var(--muted); font-size: var(--fs-sm); }
    .msg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .nav-mobile-extra .langs { justify-content: flex-start; font-size: var(--fs-sm); gap: 4px; }
    .nav-mobile-extra .langs a { padding: 6px 12px; border-radius: 999px; }
    .nav-mobile-extra .langs a[aria-current="true"] { background: var(--red); color: #fff; }
}
@media (max-width: 1279px) and (min-width: 760px) {
    .nav { grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 48px; padding-top: 28px; padding-bottom: 36px; }
    .nav-mobile-extra { position: sticky; top: 0; padding: 22px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
}
@media (max-width: 560px) { .mega-grid { grid-template-columns: 1fr 1fr; } .mega-grid > div:last-of-type { grid-column: span 2; } .mega-grid > div:last-of-type ul { grid-template-columns: repeat(3, 1fr); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 520px) { .head-cta { padding: 10px 14px; min-height: 42px; font-size: .9rem; } }

/* ---------- облака и фон ---------- */
.clouds { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.clouds::before, .clouds::after { content: ""; position: absolute; border-radius: 50%; will-change: transform; }
.clouds::before { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -18vw; top: -26vw; background: radial-gradient(closest-side, rgba(200, 32, 42, .20), rgba(200, 32, 42, .08) 55%, rgba(200, 32, 42, 0)); animation: drift 22s ease-in-out infinite alternate; }
.clouds::after { width: 46vw; height: 46vw; max-width: 680px; max-height: 680px; left: -16vw; bottom: -24vw; background: radial-gradient(closest-side, rgba(229, 67, 74, .14), rgba(229, 67, 74, 0)); animation: drift 28s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-4%, 5%, 0) scale(1.08); } }
@media (max-width: 760px) { .clouds::before, .clouds::after { animation: none; } .clouds::before { width: 120vw; height: 120vw; right: -50vw; top: -60vw; } .clouds::after { width: 90vw; height: 90vw; left: -45vw; bottom: -40vw; } }

/* ---------- хлебные крошки ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; list-style: none; padding: 18px 0 0; margin: 0; font-size: var(--fs-xs); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .45; }
.crumbs a { text-decoration: none; }
.hero-copy .crumbs ol { padding: 0 0 22px; }

/* ---------- первый экран ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #FFF 0%, #FFF 60%, var(--soft) 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero { background: linear-gradient(180deg, var(--bg), var(--soft)); } }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: clamp(28px, 5vw, 72px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero-plain .hero-grid { grid-template-columns: minmax(0, 1fr); max-width: 900px; margin-left: 0; }
.hero h1 { max-width: 16ch; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; margin: 20px 0 0; max-width: 56ch; color: var(--muted); }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: var(--fs-sm); line-height: 1.35; color: var(--text); }
.hero-points li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.5' fill='none' stroke='%23C8202A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-visual { position: relative; }
.hero-photo-card { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: 0 30px 60px -30px rgba(142, 18, 25, .45); background: var(--soft); }
.hero-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .45) 100%); }
.hero-badge { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #14151A; font-size: var(--fs-sm); }
.hero-badge strong { font-size: 1.05rem; }
.hero-badge span { color: #646976; }
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-photo-card { aspect-ratio: 16 / 10; border-radius: var(--r-lg); }
}

/* Карточки цифр и условий под первым экраном */
.hero-band { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 64px); }
.stat-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat strong, .stat dd { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); margin: 0; }
.stat span, .stat dt { font-size: var(--fs-sm); color: var(--muted); line-height: 1.35; }
.stat-facts .stat dd { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.stat-facts .stat dt { order: -1; font-size: var(--fs-xs); }
.stat-facts .stat.is-main { background: linear-gradient(150deg, var(--red) 0%, var(--red-deep) 100%); border-color: transparent; }
.stat-facts .stat.is-main dd { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 700; color: #fff; letter-spacing: -0.03em; }
.stat-facts .stat.is-main dt { color: rgba(255, 255, 255, .8); }
.stat-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
@media (max-width: 760px) {
    .stat-list, .stat-facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
    .stat-list::-webkit-scrollbar { display: none; }
    .stat { flex: 0 0 64%; scroll-snap-align: start; }
}

/* ---------- секции ---------- */
.sec { position: relative; padding: clamp(48px, 7vw, 96px) 0; }
.sec-alt { background: var(--soft); }
.sec + .sec:not(.sec-alt):not(.sec-dark):not(.sec-panel) { padding-top: clamp(16px, 3vw, 40px); }
.sec-alt + .sec-alt { padding-top: 0; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.sec-head > div, .sec-head h2 { max-width: 640px; }
.sec-head p { color: var(--muted); font-size: var(--fs-md); line-height: 1.55; max-width: 560px; margin: 12px 0 0; }
.sec-head-row { display: flex; align-items: center; gap: 8px; }
.note { color: var(--muted); font-size: var(--fs-sm); margin-top: 16px; max-width: 80ch; }

/* Тёмная панель со скруглением и красным свечением */
.sec-panel, .sec-dark, .sec-ink { padding: 0; }
.panel { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--dark); color: var(--on-dark); padding: clamp(32px, 5vw, 72px) clamp(20px, 4.5vw, 64px); isolation: isolate; }
.panel::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -45%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 32, 42, .55), rgba(200, 32, 42, .18) 50%, transparent); }
.panel::after { content: ""; position: absolute; z-index: -1; width: 50%; aspect-ratio: 1; left: -18%; bottom: -55%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 32, 42, .3), transparent); }
.panel h2, .panel h3 { color: #fff; }
.panel .sec-head p { color: var(--on-dark-muted); }
@media (max-width: 760px) { .sec-panel .wrap, .sec-dark .wrap { padding-left: 10px; padding-right: 10px; } .panel { border-radius: var(--r-lg); } }

/* Горизонтальные ленты */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; list-style: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; min-width: 0; }
.rail-fixed { grid-auto-columns: minmax(300px, 360px); }
.rail-nav { display: flex; gap: 8px; }
.rail-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: border-color .15s, background .15s, opacity .2s; }
.rail-btn:hover { border-color: var(--ink); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn svg { width: 18px; height: 18px; }
.panel .rail-btn { background: rgba(255, 255, 255, .06); border-color: var(--on-dark-line); color: #fff; }
@media (min-width: 1000px) { .rail-desk-grid { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; } .rail-desk-grid + .rail-nav, .sec-head .rail-nav.for-grid { display: none; } }
@media (max-width: 760px) { .rail { grid-auto-columns: 82%; gap: 12px; } .rail-nav { display: none; } }

/* Карточки */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .25s var(--ease), box-shadow .25s var(--ease); }
a.card { text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--red-line); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.card h3 { font-size: 1.2rem; }
.card p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 6px; font-weight: 700; }
.card-ico svg { width: 22px; height: 22px; }
.card-link { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: var(--fs-sm); color: var(--red); display: inline-flex; align-items: center; gap: 6px; }
.panel .card { background: rgba(255, 255, 255, .04); border-color: var(--on-dark-line); }
.panel .card p { color: var(--on-dark-muted); }
.panel .card h3 { color: #fff; }
.sec-alt .card { border-color: transparent; }

/* Маркетплейсы */
.mp-card .mp-name { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-card .mp-name h3 { font-size: 1.45rem; letter-spacing: -0.02em; }
.mp-tag { font-size: var(--fs-xs); font-weight: 600; color: var(--red); background: var(--red-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* Этапы */
.step-card .step-n { font-size: .875rem; font-weight: 700; color: var(--red); display: inline-flex; align-items: center; gap: 10px; }
.step-card .step-n::after { content: ""; height: 1px; width: 40px; background: var(--red-line); }

/* Направления с фото */
.div-card { padding: 0; overflow: hidden; }
.div-media { aspect-ratio: 16 / 10; background: var(--soft); overflow: hidden; }
.div-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.div-card:hover .div-media img { transform: scale(1.04); }
.div-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.div-body h3 { font-size: 1.35rem; letter-spacing: -0.02em; }
.div-fact { align-self: flex-start; font-size: var(--fs-xs); font-weight: 600; color: var(--red); background: var(--red-soft); padding: 5px 10px; border-radius: 999px; }

/* Отзывы */
.quote-card blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.quote-card blockquote p::before { content: "«"; } .quote-card blockquote p::after { content: "»"; }
.who { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 14px; font-size: var(--fs-sm); color: var(--muted); }
.who strong { display: block; color: var(--ink); font-weight: 600; }
.avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); font-weight: 700; }
.stars { color: var(--red); letter-spacing: 2px; font-size: .9rem; }

/* Тарифы */
.tabs { display: inline-flex; padding: 4px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); gap: 2px; }
.sec-alt .tabs { background: var(--card); }
.tab { border: 0; background: none; padding: 10px 18px; border-radius: 10px; font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; transition: background .2s, color .2s; white-space: nowrap; }
.tab[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(20, 21, 26, .08), 0 2px 8px -2px rgba(20, 21, 26, .1); }
.sec-alt .tab[aria-selected="true"] { background: var(--red); color: #fff; }
.tab-intro { color: var(--muted); margin: 18px 0 20px; font-size: var(--fs-sm); }
.price-card { gap: 6px; }
.price-card.is-featured { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.price-card .t-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t-name { font-weight: 600; color: var(--ink); }
.t-badge { font-size: .72rem; font-weight: 700; color: #fff; background: var(--red); padding: 3px 9px; border-radius: 999px; }
.t-price { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.035em; color: var(--ink); line-height: 1.1; margin-top: 6px; }
.t-unit { font-size: var(--fs-sm); color: var(--muted); }
.t-for { font-size: var(--fs-sm); color: var(--text); padding: 10px 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.t-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: var(--fs-sm); }
.t-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.t-list li::before { content: ""; flex-shrink: 0; margin-top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2L11.5 5.7' fill='none' stroke='%23C8202A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.t-list li.is-extra { color: var(--muted); }
.t-list li.is-extra::before { background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' stroke='%23646976' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-card .t-list { margin-bottom: 18px; }
[role="tabpanel"][hidden] { display: none; }
@media (max-width: 760px) { .tabs { width: 100%; } .tab { flex: 1; padding: 10px 8px; } }

/* Таблицы */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: .975rem; min-width: 620px; }
.tbl th, .tbl td { padding: 15px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl thead th { font-weight: 600; font-size: var(--fs-sm); color: var(--muted); background: var(--soft); }
.tbl tbody th { font-weight: 600; color: var(--ink); }
.tbl tbody tr:last-child > * { border-bottom: 0; }

/* Чек-лист и текст */
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split .sec-head { display: block; margin: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); line-height: 1.45; }
.ticks li::before { content: ""; flex-shrink: 0; margin-top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--red-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.5L13 6.5' fill='none' stroke='%23C8202A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.ticks-cols { grid-template-columns: 1fr 1fr; }
.prose { max-width: 70ch; }
.prose p, .prose li { font-size: 1.0625rem; line-height: 1.7; }
.prose h2 { margin: 1.6em 0 .55em; font-size: var(--fs-lg); }
.prose h3 { margin: 1.4em 0 .5em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); }
.prose blockquote { margin: 1.4em 0; padding: 16px 20px; border-radius: var(--r); background: var(--red-soft); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 12px 14px 12px 0; text-align: left; vertical-align: top; }
.prose thead th { color: var(--muted); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .ticks-cols { grid-template-columns: 1fr; } }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); transition: border-color .2s; }
.faq details[open] { border-color: var(--red-line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26'%3E%3Cpath d='M8.5 11l4.5 4.5 4.5-4.5' fill='none' stroke='%2323252C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px no-repeat; transition: transform .25s var(--ease), background-color .2s; }
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--red-soft); }
.faq-a { padding: 0 20px 20px; color: var(--muted); max-width: 72ch; line-height: 1.65; }
.faq-a p, .faq-a ul { margin: 0 0 .8em; }
.faq-a a { color: var(--red); }

/* Ссылки-чипы */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chips a { display: inline-flex; flex-direction: column; gap: 2px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.chips a:hover { border-color: var(--red-line); transform: translateY(-1px); color: inherit; }
.chips strong { font-weight: 600; color: var(--ink); }
.chips span { font-size: var(--fs-xs); color: var(--muted); }

/* Акция */
.callout { padding: 0 0 8px; }
.callout-row { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 18px 22px; border-radius: var(--r-lg); background: linear-gradient(100deg, var(--red-soft) 0%, var(--card) 70%); border: 1px solid var(--red-line); }
.callout p { margin: 0; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.callout p::before { content: "%"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; }
@media (max-width: 700px) { .callout-row { flex-direction: column; align-items: stretch; } .callout .btn { width: 100%; } }

/* Калькулятор */
.calc { display: grid; gap: 18px; padding: clamp(20px, 3vw, 32px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: var(--fs-xs); color: var(--muted); margin-bottom: 8px; font-weight: 500; }
.seg label { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: var(--fs-sm); transition: border-color .15s, background .15s; }
.seg label:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.seg input { accent-color: var(--red); width: 16px; height: 16px; }
.calc-out { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: 14px; background: var(--soft); }
.calc-sum { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; color: var(--ink); line-height: 1.15; }
.calc-hint { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 520px) { .seg { grid-template-columns: 1fr; } }

/* Поля форм */
.field { display: grid; gap: 6px; }
.field > span { font-size: var(--fs-xs); font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 12px 14px; min-height: 50px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(200, 32, 42, .12); }
.field.is-err input { border-color: var(--err); }
.field .err { color: var(--err); font-size: var(--fs-xs); }

/* География */
.geo-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.geo-copy > p { color: var(--on-dark-muted); font-size: var(--fs-md); margin: 16px 0 24px; max-width: 46ch; }
.geo-list { margin: 0; display: grid; gap: 10px; }
.geo-list > div { padding: 14px 16px; border-radius: var(--r); background: rgba(255, 255, 255, .05); border: 1px solid var(--on-dark-line); }
.geo-list dt { font-weight: 600; color: #fff; }
.geo-list dd { margin: 2px 0 0; color: var(--on-dark-muted); font-size: var(--fs-sm); }
.map-svg { width: 100%; height: auto; overflow: visible; }
.m-region { opacity: .55; }
.m-kz { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .5); stroke-width: 1.2; stroke-linejoin: round; }
.m-city { fill: rgba(255, 255, 255, .6); }
.m-routes path { fill: none; stroke: #F0565C; stroke-width: 1.6; stroke-dasharray: 5 6; }
.m-routes .m-link { stroke-dasharray: none; opacity: .7; }
.m-hub circle:nth-child(2) { fill: #fff; stroke: var(--red); stroke-width: 4; }
.m-pulse { fill: rgba(200, 32, 42, .35); stroke: none; transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.m-hub text { fill: #fff; font: 600 22px var(--font); }
.m-ext circle { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.5; }
.m-ext text { fill: var(--on-dark-muted); font: 500 16px var(--font); }
@media (max-width: 960px) { .geo-grid { grid-template-columns: 1fr; } }

/* Статьи */
.art-card .meta { margin-top: auto; padding-top: 8px; }
.meta { color: var(--muted); font-size: var(--fs-xs); }
.art-head { padding-top: clamp(24px, 4vw, 56px); padding-bottom: 32px; }
.art-head h1 { max-width: 22ch; font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.4rem); }
.art-head .meta { margin-top: 16px; display: block; }
.art-grid { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding-bottom: 72px; }
.toc { position: sticky; top: 96px; align-self: start; font-size: var(--fs-sm); padding: 18px; border-radius: var(--r); background: var(--soft); }
.toc p { font-weight: 600; margin-bottom: 10px; color: var(--ink); }
.toc ol { padding-left: 1.2em; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.toc a { text-decoration: none; }
.art-body { font-size: 1.0625rem; line-height: 1.75; }
.art-body h2 { scroll-margin-top: 96px; }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; gap: 20px; } .toc { position: static; } }

/* ---------- заявка ---------- */
.lead { padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 6vw, 88px); }
.lead-panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: linear-gradient(140deg, #D4262F 0%, var(--red) 40%, var(--red-deep) 100%); color: #fff; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.lead-panel::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; left: -25%; top: -60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .22), transparent); }
.lead-panel::after { content: ""; position: absolute; z-index: -1; width: 55%; aspect-ratio: 1; right: -15%; bottom: -60%; border-radius: 50%; background: radial-gradient(closest-side, rgba(90, 0, 8, .5), transparent); }
.lead h2 { color: #fff; max-width: 15ch; }
.lead-copy > p { color: rgba(255, 255, 255, .86); font-size: var(--fs-md); line-height: 1.55; margin-top: 14px; }
.lead-alt { margin-top: 26px !important; font-size: var(--fs-sm) !important; color: rgba(255, 255, 255, .75) !important; }
.lead-channels { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lead-channels a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: background .15s; }
.lead-channels a:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.form { display: grid; gap: 14px; background: var(--card); color: var(--text); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); box-shadow: 0 30px 60px -30px rgba(60, 0, 6, .6); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { width: 100%; margin-top: 4px; }
.form-note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.form-note a { color: var(--muted); }
.form-status { margin: 0; font-weight: 600; font-size: var(--fs-sm); }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.bad { color: var(--err); }
@media (max-width: 900px) { .lead-panel { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .lead .wrap { padding-left: 10px; padding-right: 10px; } .lead-panel { border-radius: var(--r-lg); padding: 28px 18px 18px; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* ---------- подвал ---------- */
.site-foot { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark-muted); font-size: var(--fs-sm); padding: 56px 0 28px; isolation: isolate; }
.site-foot::before { content: ""; position: absolute; z-index: -1; width: 60%; aspect-ratio: 2 / 1; right: -15%; top: -40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 32, 42, .28), transparent); }
.site-foot a { color: var(--on-dark); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 36px; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand p { margin: 14px 0 0; max-width: 38ch; }
.foot-contacts { display: grid; gap: 4px; text-align: right; }
.foot-phone { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: #fff !important; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--on-dark-line); }
.foot-h { color: #fff; font-weight: 600; margin-bottom: 12px; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a { color: var(--on-dark-muted); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--on-dark-line); font-size: var(--fs-xs); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-contacts { text-align: left; } }

/* ---------- плавающие кнопки мессенджеров ---------- */
.fab { position: fixed; z-index: 60; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 10px; }
.fab a { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 25%, rgba(236, 72, 80, .82), rgba(200, 32, 42, .72) 55%, rgba(142, 18, 25, .78));
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 14px 30px -10px rgba(200, 32, 42, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .25s var(--ease), background-color .25s, box-shadow .25s; }
.fab a::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(200, 32, 42, .28), transparent 70%); filter: blur(6px); }
.fab a:hover { transform: translateY(-2px) scale(1.05); color: #fff; box-shadow: 0 18px 36px -10px rgba(200, 32, 42, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.fab a::after { content: attr(data-label); position: absolute; right: calc(100% + 10px); top: 50%; transform: translate(6px, -50%); opacity: 0; pointer-events: none; white-space: nowrap; padding: 7px 12px; border-radius: 10px; background: #14151A; color: #fff; font-size: .85rem; font-weight: 500; transition: opacity .2s, transform .2s var(--ease); }
.fab a:hover::after, .fab a:focus-visible::after { opacity: 1; transform: translate(0, -50%); }
.fab svg { width: 27px; height: 27px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .15)); }
.fab-tg svg { transform: translateX(-1px); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .fab a { background: #C8202A; } }
@media (max-width: 760px) { .fab { gap: 8px; } .fab a { width: 50px; height: 50px; } .fab svg { width: 24px; height: 24px; } .fab a::after { display: none; } }
@media (hover: none) { .fab a::after { display: none; } }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; margin-top: 28px; }
.contact-cards .stat dd { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
.contact-cards .stat dt { order: -1; font-size: var(--fs-xs); }

/* 404 */
.nf { position: relative; overflow: hidden; padding: 96px 0; }
.nf .chips { margin-top: 32px; }

/* --- уточнения --- */
.card-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.head-side .langs { display: none; }
@media (min-width: 1400px) { .head-side .langs { display: inline-flex; } }
.langs a { white-space: nowrap; }
.hero-points { display: grid; gap: 10px; }
.hero-points li { padding: 0; border: 0; background: none; border-radius: 0; font-size: 1rem; align-items: flex-start; gap: 12px; }
.hero-points li::before { margin-top: 2px; width: 20px; height: 20px; background-size: 20px; }
.geo-map { --fade: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: var(--fade); -webkit-mask-composite: source-in; mask-image: var(--fade); mask-composite: intersect; }
@media (min-width: 1280px) and (max-width: 1340px) { .head-phone { display: none; } .nav-list > li > a { padding: 9px 9px; } }
@media (max-width: 760px) { .tab { font-size: .85rem; white-space: normal; line-height: 1.2; } }
.head-side .langs { display: none !important; }
.art-grid > *, .split > *, .hero-grid > *, .geo-grid > *, .lead-panel > * { min-width: 0; }
.foot-base .langs a { color: var(--on-dark-muted); }
.foot-base .langs a[aria-current="true"] { color: #fff; background: rgba(255,255,255,.08); }
@media (max-width: 760px) { .stat-list, .stat-facts { scroll-padding-left: var(--gutter); } .hero-band { padding-bottom: 36px; } }

/* v3.1: мобильный первый экран, плавное появление блоков */
@media (max-width: 560px) {
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-badge span { display: none; }
}
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-kids > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal-kids.is-in > * { opacity: 1; transform: none; }
.reveal-kids.is-in > :nth-child(2) { transition-delay: 70ms; } .reveal-kids.is-in > :nth-child(3) { transition-delay: 140ms; } .reveal-kids.is-in > :nth-child(n+4) { transition-delay: 210ms; }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal-kids > * { opacity: 1; transform: none; transition: none; } }
.hero-photo-card picture, .div-media picture { display: contents; }

/* v3.2: логотип крупнее, кнопка в шапке компактнее */
.logo img { height: 36px; }
@media (max-width: 1279px) { .logo img { height: 34px; } }
@media (max-width: 520px) {
  .logo img { height: 32px; }
  .head-side { gap: 10px; }
  .head-cta { padding: 8px 14px; min-height: 40px; font-size: .875rem; border-radius: 10px; }
  .burger { width: 40px; height: 40px; }
}
@media (max-width: 360px) { .logo img { height: 28px; } .head-cta { padding: 8px 11px; } }

/* v4: выбор языка, кейсы, Шымкент, языковые версии */
.lang-pick { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--ink); font: 600 var(--fs-xs)/1 var(--font); cursor: pointer; transition: border-color .2s, background .2s; }
.lang-btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); opacity: .6; transition: transform .2s var(--ease); }
.lang-btn:hover { border-color: #C9CCD3; }
.lang-pick.is-open .lang-btn::after { transform: translateY(1px) rotate(-135deg); }
.head-side .lang-pick .langs { display: none !important; position: absolute; right: 0; top: calc(100% + 8px); z-index: 70; flex-direction: column; gap: 2px; min-width: 160px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -18px rgba(20, 21, 26, .3); font-size: var(--fs-sm); }
.head-side .lang-pick.is-open .langs { display: flex !important; }
.lang-pick .langs a { padding: 9px 12px; border-radius: 9px; color: var(--text); }
.lang-pick .langs a:hover { background: var(--soft); }
.lang-pick .langs a[aria-current="true"] { background: var(--red-soft); color: var(--red); }
@media (max-width: 1279px) { .lang-pick { display: none; } }

.geo-list { grid-template-columns: 1fr 1fr; }
.geo-list dt a { color: #fff; text-decoration: none; }
.geo-list dt a::after { content: " →"; color: var(--red); opacity: .9; }
.geo-list dt a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .geo-list { grid-template-columns: 1fr; } }

.case-rail { grid-auto-columns: minmax(300px, 1fr); }
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-tag { align-self: flex-start; padding: 5px 10px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: var(--fs-xs); font-weight: 600; }
.case-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 10px; margin: 0; }
.case-metrics > div { padding: 14px 14px 12px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.case-metrics dt { font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
.case-metrics dd { margin: 4px 0 0; color: var(--muted); font-size: var(--fs-xs); line-height: 1.35; }
.case-card h3 { margin: 4px 0 0; font-size: 1.125rem; }
.case-card p { margin: 0; color: var(--muted); }
.case-card .case-who { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 6px; color: var(--ink); font-weight: 600; font-size: var(--fs-sm); }
.case-card .avatar { width: 34px; height: 34px; font-size: .85rem; }

.lang-zh { --font: "Golos Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { letter-spacing: 0; }
.lang-zh body, body.lang-zh { line-height: 1.75; word-break: normal; line-break: strict; }
.lang-en .quote-card blockquote p::before, .lang-zh .quote-card blockquote p::before { content: "“"; }
.lang-en .quote-card blockquote p::after, .lang-zh .quote-card blockquote p::after { content: "”"; }
/* Казахские пункты меню длиннее: телефон в шапке прячем раньше, отступы меньше */
@media (min-width: 1280px) and (max-width: 1560px) { .lang-kk .head-phone { display: none; } }
@media (min-width: 1280px) and (max-width: 1290px) { .lang-kk .nav-list > li > a { padding-left: 7px; padding-right: 7px; font-size: .92rem; } }
/* Футер: линии-разделители в пределах контента, а не до краёв экрана */
.foot-grid, .foot-base { border-top: 0; position: relative; }
.foot-grid::before, .foot-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--on-dark-line); }
@media (max-width: 560px) { .foot-grid { gap: 28px 16px; } .foot-col ul { gap: 10px; } }
body:has(.nav.is-open) .fab { display: none; }
:root[data-theme="dark"] .site-head::before { background: rgba(15, 16, 19, .82); }
:root[data-theme="dark"] .hero { background: linear-gradient(180deg, var(--bg), var(--soft)); } /* кнопки мессенджеров не перекрывают открытое меню */
/* Пункты только для мобильного меню (на компьютере — в футере) */
@media (min-width: 1280px) { .nav-list > li.nav-m { display: none; } }
@media (min-width: 1280px) and (max-width: 1719px) { .head-phone { display: none !important; } }
@media (min-width: 1280px) and (max-width: 1279px) { .nav-list > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: .92rem; } .head-side { gap: 10px; } }
/* Пока меню открыто, шапка непрозрачная и сливается с панелью */
.site-head:has(.nav.is-open)::before { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-head:has(.nav.is-open) { border-bottom-color: transparent; box-shadow: none; }
@media (max-width: 1279px) and (min-width: 760px) { .nav-mobile-extra { align-self: start; } }
.glass-btn { background: radial-gradient(120% 140% at 20% 0%, rgba(236, 72, 80, .95), rgba(200, 32, 42, .92) 55%, rgba(142, 18, 25, .95)); }

/* «Оставить заявку» в шапке — прозрачная неоновая; при наведении заливается красным, по ней пробегает блик */
.head-cta { position: relative; overflow: hidden; isolation: isolate; border-radius: 999px; padding-left: 22px; padding-right: 22px;
    background: rgba(229, 67, 74, .06) !important; color: #D62F38 !important; border: 1.5px solid rgba(229, 67, 74, .95) !important;
    box-shadow: 0 0 0 1px rgba(229, 67, 74, .12), 0 0 14px -2px rgba(229, 67, 74, .55), inset 0 0 14px -4px rgba(229, 67, 74, .45);
    text-shadow: 0 0 10px rgba(229, 67, 74, .35); transition: color .25s, box-shadow .25s, background-color .25s, transform .2s var(--ease); }
.head-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; transition: opacity .3s;
    background: radial-gradient(120% 140% at 20% 0%, #EC4850, #C8202A 55%, #8E1219); }
.head-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; transform: skewX(-20deg);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); opacity: 0; }
.head-cta:hover { color: #fff !important; text-shadow: none; transform: translateY(-1px);
    box-shadow: 0 0 0 1px rgba(229, 67, 74, .25), 0 0 22px rgba(229, 67, 74, .65), 0 10px 28px -10px rgba(200, 32, 42, .8); }
.head-cta:hover::before { opacity: 1; }
.head-cta:hover::after { opacity: 1; animation: cta-shine .8s var(--ease); }
@keyframes cta-shine { from { left: -60%; } to { left: 130%; } }
:root[data-theme="dark"] .head-cta { color: #FF5A62 !important; background: rgba(229, 67, 74, .08) !important; text-shadow: 0 0 10px rgba(255, 90, 98, .6); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .head-cta { color: #FF5A62 !important; background: rgba(229, 67, 74, .08) !important; text-shadow: 0 0 10px rgba(255, 90, 98, .6); } }
:root[data-theme="dark"] .head-cta:hover, :root:not([data-theme="light"]) .head-cta:hover { color: #fff !important; }
@media (max-width: 520px) { .head-cta { padding-left: 14px; padding-right: 14px; border-radius: 999px; } }
