/* =========================================================================
   HERO.CSS вЂ” Р РµС„Р°РєС‚РѕСЂРёРЅРі hero-СЃРµРєС†РёРё
   Р”РµСЃРєС‚РѕРї (в‰Ґ769px): СЃРІРµС‚Р»РѕРµ РїСЂРµРјРёР°Р»СЊРЅРѕРµ B2B-РѕС„РѕСЂРјР»РµРЅРёРµ (СЃРІРµС‚Р»С‹Р№ С„РѕРЅ,
   С‚С‘РјРЅС‹Р№ С‚РµРєСЃС‚ Slate-900, СЃРІРµС‚Р»С‹Р№ Р±РµР№РґР¶, Р±РµР»С‹Рµ РєР°СЂС‚РѕС‡РєРё РјРµС‚СЂРёРє,
   С‚С‘РјРЅС‹Р№ primary CTA vest-deep #16233F, СЃРІРµС‚Р»С‹Р№ secondary).
   РњРѕР±РёР»СЊРЅС‹Р№ (в‰¤768px): РІР°СЂРёР°РЅС‚ A3 В«Р–РёР»РµС‚РєР° + РєРѕСЃС‚СЊВ» (С‚С‘РјРЅР°СЏ СЃС†РµРЅР°, Ken Burns).
   РўРѕРєРµРЅС‹: tokens.css (--sp-*). Р‘РµР· layout-С…Р°РєРѕРІ РІ СЂР°Р·РјРµС‚РєРµ (hero.php РЅРµ С‚СЂРѕРЅСѓС‚).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Р›Р•Р™РђРЈРў HERO (РґРµСЃРєС‚РѕРї: СЃРІРµС‚Р»Р°СЏ СЃС…РµРјР°)
   ------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    padding: 130px 0 60px;
    background-color: var(--sp-bg-surface, #FFFFFF);
    background-image: none;
    border-bottom: 1px solid var(--sp-line, #E2E8F0);
}
/* logged-in: WP сдвигает документ на 32px (html margin-top) — вычитаем admin-bar,
   иначе hero переливался бы за вьюпорт. Мобильный порог переопределяет ниже (46px). */
body.admin-bar .hero-section {
    min-height: calc(100dvh - 32px);
}
.hero-section::before,
.hero-section::after {
    content: none;
}

.hero-bg-visual {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    height: 100%;
    z-index: var(--sp-z-bg, 1);
    overflow: hidden;
    pointer-events: none;
}
.hero-engineer-img,
.hero-bg-visual img {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    z-index: var(--sp-z-bg, 1);
    filter: contrast(1.02) saturate(1.04);
    animation: kenBurnsBreath 18s ease-in-out infinite;
    will-change: transform;
    mask-image: none;
    -webkit-mask-image: none;
}
@keyframes kenBurnsBreath {
    0%   { transform: scale(1.0); }
    50%  { transform: scale(1.05); }
    100% { transform: scale(1.0); }
}

.hero-gradient-overlay {
    position: absolute;
    inset: 0;
    z-index: var(--sp-z-scrim, 2);
    /* РњСЏРіРєРёР№ СЃРІРµС‚Р»С‹Р№ РіСЂР°РґРёРµРЅС‚-СЃРєСЂРёРј СЃР»РµРІР° РЅР°РїСЂР°РІРѕ РґР»СЏ С‡РёС‚Р°РµРјРѕСЃС‚Рё С‚РµРєСЃС‚Р° */
    background:
        linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.96) 24%, rgba(255, 255, 255, 0.40) 60%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 40%);
}

.hero-container {
    position: relative;
    z-index: var(--sp-z-content, 10);
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 32px;
}
.hero-copy-column {
    max-width: min(780px, 56vw);
}
.hero-actions-block {
    margin-bottom: clamp(32px, 3.8vh, 48px);
}
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

/* РџР»Р°РЅС€РµС‚ 769вЂ“1024 */
@media (max-width: 1024px) {
    .hero-copy-column {
        max-width: 640px;
    }
    .hero-bg-visual {
        width: 65%;
    }
    .hero-gradient-overlay {
        background:
            linear-gradient(90deg, #FFFFFF 0%, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.55) 70%, rgba(255, 255, 255, 0.1) 100%),
            linear-gradient(0deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0) 40%);
    }
}

/* -------------------------------------------------------------------------
   2. РљРћРќРўР•РќРў HERO (РґРµСЃРєС‚РѕРї: СЃРІРµС‚Р»Р°СЏ СЃС…РµРјР°)
   ------------------------------------------------------------------------- */
.region-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFFFFF;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sp-line, #E2E8F0);
    color: var(--sp-ink-700, #334155);
    font-family: var(--font-ui, var(--sp-font-ui, 'Inter', sans-serif));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: var(--sp-r-pill, 999px);
    margin-bottom: 24px;
    box-shadow: var(--ds-shadow-soft);
    line-height: 1.5;
}
.live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sp-emerald-dot, var(--ds-mint));
    flex-shrink: 0;
    box-shadow: 0 0 0 2px var(--ds-brand-line);
}

.hero-h1 {
    font-family: var(--sp-font-display, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
    font-size: clamp(38px, 3.4vw, 54px);
    font-weight: var(--ds-fw-bold);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: var(--sp-ink-900, #090E17);
    text-shadow: none;
    margin: 0 0 20px;
}
.hero-h1 span.highlight {
    color: var(--sp-emerald-ink);
}

.hero-lead {
    font-family: var(--sp-font-ui, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 16.5px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--sp-ink-500, #475569);
    letter-spacing: -0.01em;
    text-shadow: none;
    max-width: 640px;
    margin: 0 0 32px;
}

/* --- РљРЅРѕРїРєРё (РґРµСЃРєС‚РѕРї) --- */
.btn-primary-lead {
    position: relative;
    box-sizing: border-box;
    height: 50px;
    padding: 0 32px;
    border-radius: var(--sp-r-pill, 999px);
    background: var(--ds-brand);
    color: #FFFFFF !important;
    font-family: var(--sp-font-ui, "Inter", -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid var(--ds-brand);
    box-shadow: var(--ds-shadow-btn-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-primary-lead:hover {
    background: var(--ds-brand-deep);
    border-color: var(--ds-brand-deep);
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: var(--ds-shadow-btn-primary-hover);
}
/* РџСѓР»СЊСЃ-РєРѕРЅС‚СѓСЂ */
.btn-primary-lead::after {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50px;
    border: 1px solid rgb(var(--ds-brand-deep-rgb) / 0.35);
    animation: spPulseOutline 3s cubic-bezier(0.16, 1, 0.3, 1) infinite;
    pointer-events: none;
    z-index: -1;
}
@keyframes spPulseOutline {
    0% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 0 0 rgb(var(--ds-brand-deep-rgb) / 0.3);
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: scale(1.08, 1.18);
        opacity: 0;
        box-shadow: 0 0 0 12px rgb(var(--ds-brand-deep-rgb) / 0);
    }
}

.btn-secondary-lead {
    box-sizing: border-box;
    height: 50px;
    padding: 0 28px;
    border-radius: var(--sp-r-pill, 999px);
    background: #FFFFFF;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sp-line, #CBD5E1);
    color: var(--sp-ink-700, var(--ds-brand)) !important;
    font-family: var(--sp-font-ui, "Inter", -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--ds-shadow-soft);
}
.btn-secondary-lead:hover {
    background: #F8FAFC;
    border-color: rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
    color: var(--sp-ink-900, #090E17) !important;
    box-shadow: var(--ds-shadow-hover);
}

.reassurance-note {
    font-family: var(--font-ui, var(--sp-font-ui, 'Inter', sans-serif));
    font-size: 13px;
    color: var(--sp-ink-400, #64748B);
    letter-spacing: -0.01em;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.reassurance-note svg {
    color: var(--sp-emerald-ink);
    flex-shrink: 0;
}

/* --- РњРµС‚СЂРёРєРё: СЃРІРµС‚Р»С‹Рµ РєР°СЂС‚РѕС‡РєРё СЃ РјСЏРіРєРѕР№ С‚РµРЅСЊСЋ --- */
.hero-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 680px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--sp-line, #E2E8F0);
}
.metric-block {
    position: relative;
    cursor: default;
    background: #FFFFFF;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--sp-line, #E2E8F0);
    border-radius: var(--sp-r-lg, 16px);
    padding: 14px 16px;
    box-shadow: var(--ds-shadow-soft);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.metric-block:hover {
    transform: translateY(-2px);
    background: #FFFFFF;
    border-color: rgba(148, 163, 184, 0.8);
    box-shadow: var(--ds-shadow-hover);
}
.metric-block .metric-value {
    font-family: var(--sp-font-display, -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 17px;
    font-weight: var(--ds-fw-bold);
    color: var(--sp-ink-900, #090E17);
    letter-spacing: -0.02em;
    margin: 0 0 2px;
}
.metric-block p {
    font-family: var(--sp-font-ui, 'Inter', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: 12px;
    color: var(--sp-ink-400, #64748B);
    line-height: 1.35;
    margin: 0;
}
/* РўСѓР»С‚РёРї РјРµС‚СЂРёРє */
.metric-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: rgba(15, 23, 42, 0.92);
    color: #FFFFFF;
    font-family: var(--sp-font-ui, 'Inter', sans-serif);
    font-size: 11px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 10;
}
.metric-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: rgba(15, 23, 42, 0.92);
}
.metric-block:hover .metric-tooltip,
.metric-tooltip.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- Р’С…РѕРґ РєРѕРЅС‚РµРЅС‚Р° (delays) --- */
.anim-delay-100 { animation-delay: 0.1s; }
.anim-delay-250 { animation-delay: 0.25s; }
.anim-delay-400 { animation-delay: 0.4s; }
.anim-delay-550 { animation-delay: 0.55s; }
.anim-delay-650 { animation-delay: 0.65s; }

/* -------------------------------------------------------------------------
   3. РњРћР‘РР›Р¬РќР«Р™ HERO в‰¤768 вЂ” РІР°СЂРёР°РЅС‚ A3 В«Р–РёР»РµС‚РєР° + РєРѕСЃС‚СЊВ»
   Р’СЃС‘ СЃРєРѕСѓРїРёС‚СЃСЏ РІ @media (max-width: 768px): РЅР° РґРµСЃРєС‚РѕРї РЅРµ РІР»РёСЏРµС‚.
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .hero-section {
        background-color: var(--sp-night);
        min-height: 100vh;
        min-height: 100dvh;
        align-items: flex-end;              /* РєРѕРЅС‚РµРЅС‚ РїСЂРёР¶Р°С‚ Рє РЅРёР·Сѓ */
        padding: 96px 0 24px;
        border-bottom: 1px solid var(--ds-brand-line);
    }

    /* Р¤РѕС‚Рѕ РЅР° РІРµСЃСЊ СЌРєСЂР°РЅ, Р¶РёРІС‘С‚ СЃРІРѕРёРј Ken Burns */
    .hero-section .hero-bg-visual {
        display: block;
        inset: 0;
        width: 100%;
        height: 100%;
    }
    .hero-section .hero-bg-visual::before {
        display: none;
    }
    .hero-section .hero-engineer-img,
    .hero-section .hero-bg-visual img {
        width: 100%;
        height: 100%;
        opacity: 1;
        object-position: 62% 20%;
        animation: spKenBurns var(--sp-dur-kb, 24s) ease-in-out infinite alternate;
        will-change: transform;
    }
    .hero-section .hero-gradient-overlay {
        background:
            linear-gradient(76deg,
                rgb(var(--ds-scrim-rgb) / 0.82) 0%,
                rgb(var(--ds-scrim-rgb) / 0.58) 34%,
                rgb(var(--ds-scrim-rgb) / 0.18) 62%,
                rgb(var(--ds-scrim-rgb) / 0) 82%),
            linear-gradient(180deg,
                rgb(var(--ds-scrim-rgb) / 0.34) 0%,
                rgb(var(--ds-scrim-rgb) / 0) 32%,
                rgb(var(--ds-scrim-rgb) / 0.22) 62%,
                rgb(var(--ds-scrim-rgb) / 0.90) 100%);
    }
    .hero-section .hero-container {
        max-width: 100%;
        padding: 0 20px;
    }
    .hero-section .hero-copy-column {
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    /* Р‘РµР№РґР¶ вЂ” СЃС‚РµРєР»Рѕ, В«Р¶РёР»РµС‚РєР°В» РІ live-dot */
    .hero-section .region-badge {
        background: var(--sp-glass-bg);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border-color: var(--sp-glass-line);
        color: var(--sp-on-dark);
        font-size: 12px;
        letter-spacing: 0.02em;
        text-transform: none;
        padding: 7px 14px;
        border-radius: var(--sp-r-pill);
        margin-bottom: 18px;
        box-shadow: none;
    }
    .hero-section .region-badge .live-dot {
        background: var(--ds-brand-hi);
        animation: none;
        box-shadow: 0 0 10px var(--ds-brand-soft-strong);
    }

    .hero-section .hero-h1 {
        font-family: var(--sp-font-display);
        font-size: clamp(28px, 7.4vw, 34px);
        line-height: 1.12;
        letter-spacing: -0.03em;
        color: var(--sp-on-dark);
        text-shadow: 0 2px 18px rgb(var(--ds-scrim-rgb) / 0.55);
        margin-bottom: 14px;
    }
    .hero-section .hero-h1 span.highlight {
        color: var(--ds-brand-hi);
    }
    .hero-section .hero-lead {
        font-size: 15.5px;
        line-height: 1.58;
        color: var(--sp-on-dark-muted);
        letter-spacing: -0.01em;
        text-shadow: 0 1px 12px rgb(var(--ds-scrim-rgb) / 0.45);
        max-width: 46ch;
        margin-bottom: 24px;
    }

    /* РљРѕСЃС‚СЊ-CTA: РіР»Р°РІРЅР°СЏ РєРЅРѕРїРєР° вЂ” СЃРІРµС‚Р»Р°СЏ РєРѕСЃС‚СЊ РЅР° С‚С‘РјРЅРѕРј */
    .hero-section .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 14px;
    }
    .hero-section .btn-primary-lead {
        min-height: 52px;
        border-radius: var(--sp-r-pill);
        background: var(--ds-brand);
        color: var(--ds-white) !important;
        border: 0;
        box-shadow: var(--ds-shadow-btn-primary);
        font-size: 15px;
        letter-spacing: 0;
        transition: transform var(--sp-dur-fast) var(--sp-ease-out),
                    box-shadow var(--sp-dur-fast) var(--sp-ease-out);
    }
    .hero-section .btn-primary-lead::after {
        display: none;                       /* РїСѓР»СЊСЃ-РєРѕРЅС‚СѓСЂ вЂ” РґРµСЃРєС‚РѕРїРЅС‹Р№ РїСЂРёС‘Рј */
    }
    .hero-section .btn-primary-lead:hover {
        background: var(--ds-brand-deep);
        color: var(--ds-white) !important;
        transform: none;
        box-shadow: var(--ds-shadow-btn-primary-hover);
    }
    .hero-section .btn-primary-lead:active {
        transform: scale(0.97);
    }
    .hero-section .btn-secondary-lead {
        min-height: 52px;
        border-radius: var(--sp-r-pill);
        background: var(--ds-brand-soft);   /* бренд-ghost вместо «жилетки» */
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        border: 1px solid var(--ds-brand-line);
        color: var(--sp-on-dark) !important;
        box-shadow: none;
        transition: background var(--sp-dur-fast) var(--sp-ease-out),
                    transform var(--sp-dur-fast) var(--sp-ease-out);
    }
    .hero-section .btn-secondary-lead:hover,
    .hero-section .btn-secondary-lead:active {
        background: var(--ds-brand-soft-strong);
        border-color: var(--ds-brand-line);
        color: var(--sp-on-dark) !important;
        transform: none;
    }

    .hero-section .reassurance-note {
        font-size: 12px;
        font-weight: 500;
        color: var(--sp-on-dark-muted);
        text-shadow: 0 1px 10px rgb(var(--ds-scrim-rgb) / 0.5);
    }
    .hero-section .reassurance-note svg {
        color: var(--ds-brand-hi);
    }
    .hero-section .hero-actions-block {
        margin-bottom: 22px;
    }

    /* РњРµС‚СЂРёРєРё: СЃР»Р°Р№РґРµСЂ-РєР°СЂСѓСЃРµР»СЊ СЃРѕ snap */
    .hero-section .hero-metrics-row {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;                     /* СЃРєСЂРѕР»Р» РёР·-РїРѕРґ РІСЊСЋС‚РїРѕСЂС‚Р° */
        margin-top: 0;
        padding: 4px 20px 8px;
        max-width: none;
        border-top: 0;
        scrollbar-width: none;
    }
    .hero-section .hero-metrics-row::-webkit-scrollbar {
        display: none;
    }
    .hero-section .metric-block {
        flex: 0 0 152px;
        scroll-snap-align: start;
        background: linear-gradient(180deg, rgb(var(--ds-scrim-rgb) / 0.55), rgb(var(--ds-scrim-rgb) / 0.80));
        -webkit-backdrop-filter: blur(16px);
        backdrop-filter: blur(16px);
        border: 1px solid var(--ds-brand-line);
        border-top: 1px solid var(--ds-brand-line);
        border-radius: var(--sp-r-lg);
        padding: 14px 14px 16px;
        box-shadow: none;
        transition: none;
    }
    .hero-section .metric-block:hover {
        transform: none;
        background: linear-gradient(180deg, rgb(var(--ds-scrim-rgb) / 0.55), rgb(var(--ds-scrim-rgb) / 0.80));
        border-color: var(--ds-brand-line);
        box-shadow: none;
    }
    .hero-section .metric-block .metric-value {
        font-family: var(--sp-font-display);
        font-size: 19px;
        color: var(--sp-on-dark);
    }
    .hero-section .metric-block p {
        font-size: 11.5px;
        line-height: 1.4;
        color: var(--sp-on-dark-muted);
    }
    .hero-section .metric-tooltip {
        display: none;
    }

    /* Hint-С‚РѕС‡РєРё: СЃРІР°Р№Рї РєР°СЂСѓСЃРµР»Рё (РїРµСЂРІР°СЏ вЂ” Р¶РёР»РµС‚РєР°-Р°Р№СЃ, РѕСЃС‚Р°Р»СЊРЅС‹Рµ РїРѕР»СѓРїСЂРѕР·СЂР°С‡РЅС‹Рµ) */
    .hero-section .hero-copy-column::after {
        content: "";
        display: block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--ds-brand-hi);
        margin: 10px auto 0;
        box-shadow: -10px 0 rgba(255, 255, 255, 0.25),
                    -20px 0 rgba(255, 255, 255, 0.25),
                    -30px 0 rgba(255, 255, 255, 0.25);
    }
}

@keyframes spKenBurns {
    from { transform: scale(1.02) translate3d(0, 0, 0); }
    to   { transform: scale(1.14) translate3d(-2.2%, -1.6%, 0); }
}

/* -------------------------------------------------------------------------
   4. Р”РћРЎРўРЈРџРќРћРЎРўР¬: prefers-reduced-motion (РїРѕС‡РёРЅРєР° Р·Р°РѕРґРЅРѕ Рё РґР»СЏ СЃС‚Р°СЂС‹С… СЃРµРєС†РёР№)
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .anim-stagger,
    .anim-fade-up,
    .anim-item,
    .glassFadeUp,
    .fadeInUp {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .hero-section .hero-engineer-img,
    .hero-section .hero-bg-visual img {
        animation: none;
        transform: scale(1.04);
    }
    .btn-primary-lead::after {
        animation: none;
        opacity: 0;
    }
    .live-dot {
        animation: none;
    }
    /* Scroll-stagger СЃРµРєС†РёР№ РїРѕСЂС‚Р°Р»Р°: РїРѕРєР°Р·Р°С‚СЊ СЃСЂР°Р·Сѓ, Р±РµР· РґРІРёР¶РµРЅРёСЏ */
    .js [data-stagger] {
        transition: none;
        opacity: 1;
        transform: none;
    }
    .metric-block,
    .btn-primary-lead,
    .btn-secondary-lead {
        transition: none;
    }
}

/* -------------------------------------------------------------------------
   5. HERO METRICS SWIPE-STRIP: живой индикатор активной карточки (≤768)
   Заменяет статичные «точки» на ::after — они не отражали позицию скролла
   (4 дырки всегда выглядели одинаково, активная не переезжала).
   Новый индикатор: реальные кнопки, тап = переход к карточке (orientation).
   ------------------------------------------------------------------------- */

.hero-metrics-dots {
    display: none;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
}

.hero-metrics-dot {
    width: 36px;
    height: 44px;              /* тап-таргет */
    padding: 0;
    border: 0;
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.hero-metrics-dot::after {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: var(--ds-r-full, 50%);
    background: var(--ds-white-40);
    transition: width var(--ds-dur-fast, 160ms) var(--ds-ease),
                background var(--ds-dur-fast, 160ms) var(--ds-ease);
}

.hero-metrics-dot:hover::after {
    background: var(--ds-white-90);
}

.hero-metrics-dot.is-active::after {
    width: 18px;
    border-radius: 3px;
    background: var(--ds-brand-hi);
}

@media (max-width: 768px) {
    .hero-metrics-dots.is-visible { display: flex; }
    /* Старый статичный индикатор на ::after больше не нужен */
    .hero-section .hero-copy-column::after { display: none; }

    /* Компактная лента: карточка ~половина ширины → видно 2 карточки.
       Перебивает базовый flex: 0 0 152px (правило ниже). */
    .hero-section .metric-block {
        flex: 0 0 min(48%, 240px);
        scroll-snap-stop: always;
    }
    .hero-section .hero-metrics-row {
        overscroll-behavior-x: contain;   /* свайп не уходит в системный жест «назад» */
    }

    /* logged-in: WP сдвигает документ на 46px (html margin-top), хедер это компенсирует,
       а hero с min-height:100vh — нет: уезжал вниз на 46px и его низ (метрики + точки)
       обрезался за вьюпортом. Вычитаем админ-бар из высоты (он 46px при ≤782px). */
    body.admin-bar .hero-section {
        min-height: calc(100dvh - 46px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-metrics-dot::after { transition: none; }
}
