﻿/* ============================================================
   ATLAS GROUP  Studio Design System v2
   Tech Minimalist  Glassmorphism  Enterprise Dark-to-Light
   ============================================================ */

:root {
    --bg-cosmos:        #0B0D10;
    --bg-surface:       #14171D;
    --bg-surface-2:     #1A1E25;
    --bg-hover:         #22262E;
    --bg-light:         #F7F9FC;
    --bg-white:         #FFFFFF;

    --text-high:        #0F172A;
    --text-on-dark:     #FFFFFF;
    --text-muted:       #64748B;
    --text-on-dark-2:   #94A3B8;

    --red:              #E63946;
    --red-hover:        #D62839;
    --red-glow:         rgba(230, 57, 70, 0.35);
    --red-soft:         rgba(230, 57, 70, 0.10);
    --red-softer:       rgba(230, 57, 70, 0.04);

    --border-dark:      rgba(255, 255, 255, 0.08);
    --border-dark-2:    rgba(255, 255, 255, 0.14);
    --border-light:     #E8ECF2;
    --border-glass:     rgba(255, 255, 255, 0.10);

    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-pill: 999px;

    --shadow-card-light: 0 20px 40px -15px rgba(15, 23, 42, 0.08),
                         0 4px 12px -4px rgba(15, 23, 42, 0.04);
    --shadow-card-hover: 0 32px 60px -20px rgba(15, 23, 42, 0.14),
                         0 8px 20px -6px rgba(15, 23, 42, 0.06);
    --shadow-hero:       0 40px 80px -20px rgba(0, 0, 0, 0.55);
    --shadow-cta:        0 10px 30px -8px var(--red-glow);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-high);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; }
h1 { font-size: clamp(34px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.015em; }
p  { line-height: 1.65; }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .3s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}
.btn--primary {
    background: var(--red);
    color: #fff;
    box-shadow: var(--shadow-cta);
}
.btn--primary::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
    transition: left .8s var(--ease);
}
.btn--primary:hover::after { left: 140%; }
.btn--primary:hover {
    background: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 16px 40px -8px var(--red-glow);
}
.btn--outline {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    border: 1px solid var(--border-dark-2);
    backdrop-filter: blur(8px);
}
.btn--outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }

/* ---------- Header: floating glass ---------- */
.header {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1280px;
    z-index: 1000;
    transition: all .4s var(--ease);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 20px 12px 16px;
    border-radius: var(--r-lg);
    background: rgba(11, 13, 16, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 8px 32px -8px rgba(0, 0, 0, 0.4);
    transition: all .4s var(--ease);
}
.header.is-scrolled .header__inner {
    background: rgba(11, 13, 16, 0.9);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.6);
}
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    padding: 4px;
}
.logo__img {
    width: 36px; height: 36px;
    object-fit: contain;
    border-radius: 9px;
    background: #fff;
    padding: 4px;
    display: block;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
}
.logo:hover .logo__img { transform: scale(1.06) rotate(-3deg); }

.nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.nav a {
    color: var(--text-on-dark-2);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    transition: all .25s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.header__contacts { display: flex; align-items: center; gap: 16px; }
.phone-status { display: flex; flex-direction: column; gap: 2px; text-align: right; }
.phone { color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.phone-status__badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #4ADE80;
    font-weight: 500;
    justify-content: flex-end;
}
.phone-status__badge::before {
    content: "";
    width: 6px; height: 6px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ADE80;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.burger {
    display: none;
    background: none;
    border: none;
    color: #fff;
    width: 40px; height: 40px;
    cursor: pointer;
    border-radius: var(--r-sm);
}
.burger span {
    display: block;
    width: 20px; height: 2px;
    background: #fff;
    margin: 4px auto;
    border-radius: 2px;
}
@media (max-width: 1024px) {
    .nav { display: none; }
    .phone-status { display: none; }
    .burger { display: block; }
}
@media (max-width: 640px) {
    .header { top: 12px; width: calc(100% - 24px); }
    .header__contacts .btn { display: none; }
    .logo span:not(.logo__img) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 100px;
    background: var(--bg-cosmos);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(230, 57, 70, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(230, 57, 70, 0.08) 0%, transparent 60%),
        url('../img/bg-tech.jpg') center/cover;
    opacity: 0.35;
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute;
    top: 10%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.22) 0%, transparent 65%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; width: 100%; }

.hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: rgba(230, 57, 70, 0.10);
    border: 1px solid rgba(230, 57, 70, 0.25);
    color: #FFB4B9;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}
.hero__badge::before {
    content: "";
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red);
    animation: pulse-dot 2s infinite;
}
.hero h1 {
    font-size: clamp(34px, 5vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    color: #fff;
}
.hero h1 .accent {
    background: linear-gradient(135deg, #FF5C6C 0%, var(--red) 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.hero__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-on-dark-2);
    margin-bottom: 40px;
    max-width: 560px;
}
.hero__buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.hero__features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    font-size: 14px;
    color: var(--text-on-dark-2);
}
.hero__features li { display: flex; align-items: center; gap: 8px; }
.hero__features li::before {
    content: "";
    width: 16px; height: 16px;
    flex-shrink: 0;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

.hero__image-wrap { position: relative; }
.hero__image {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-hero);
    border: 1px solid var(--border-dark);
}
.hero__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.hero__image:hover img { transform: scale(1.03); }
.hero__float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--r-md);
    background: rgba(20, 23, 29, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    box-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.6);
    font-size: 13px;
    color: #fff;
    font-weight: 600;
    animation: float-y 6s ease-in-out infinite;
    z-index: 2;
}
.hero__float--top { top: 24px; right: -28px; }
.hero__float--bottom { bottom: 32px; left: -28px; animation-delay: -3s; }
.hero__float .icon-check {
    width: 24px; height: 24px;
    background: var(--red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero__float .icon-check::after {
    content: "";
    width: 12px; height: 12px;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero__float b { color: var(--red); font-weight: 700; }
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@media (max-width: 1200px) {
    .hero__float--top { right: 8px; }
    .hero__float--bottom { left: 8px; }
}
@media (max-width: 992px) {
    .hero { padding: 120px 0 80px; min-height: auto; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__image img { aspect-ratio: 4 / 3; }
}

/* ---------- Stats ---------- */
.stats {
    background: var(--bg-cosmos);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 200px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}
.stat { text-align: center; }
.stat__num {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.6) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.stat__num .suffix { color: var(--red); -webkit-text-fill-color: var(--red); }
.stat__label { font-size: 13px; color: var(--text-on-dark-2); letter-spacing: 0.02em; font-weight: 500; }
@media (max-width: 768px) {
    .stats { padding: 48px 0; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
}

/* ---------- Секции ---------- */
.section { padding: 120px 0; }
.section--dark { background: var(--bg-cosmos); color: #fff; }
.section--dark .section__title { color: #fff; }
.section--dark .section__subtitle { color: var(--text-on-dark-2); }
.section--light { background: var(--bg-light); }

.section__head { text-align: center; margin-bottom: 64px; }
.section__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.section__title {
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-high);
}
.section__subtitle {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Услуги ---------- */
.services { background: var(--bg-white); }
.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    position: relative;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    transition: all .4s var(--ease);
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    color: inherit;
    display: block;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), var(--red-softer) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .4s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.25);
    box-shadow: var(--shadow-card-hover);
}
.service-card > * { position: relative; z-index: 1; }
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(230,57,70,0.10), rgba(230,57,70,0.02));
    border: 1px solid rgba(230, 57, 70, 0.14);
    margin-bottom: 22px;
    transition: transform .4s var(--ease);
}
.service-card:hover .service-card__icon { transform: scale(1.08) rotate(-3deg); }
.service-card__icon img { width: 30px; height: 30px; display: block; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--text-high); letter-spacing: -0.02em; }
.service-card h3 a { color: inherit; text-decoration: none; }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
@media (max-width: 992px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .services__grid { grid-template-columns: 1fr; } .section { padding: 72px 0; } }

/* ---------- Почему мы ---------- */
.why { background: var(--bg-light); }
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.why-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 28px 24px;
    transition: all .4s var(--ease);
    box-shadow: var(--shadow-card-light);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(230, 57, 70, 0.18);
}
.why-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, rgba(230,57,70,0.10), rgba(230,57,70,0.02));
    border: 1px solid rgba(230, 57, 70, 0.12);
    border-radius: var(--r-sm);
    margin-bottom: 18px;
}
.why-card__icon img { width: 26px; height: 26px; }
.why-card h3 { font-size: 17px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
@media (max-width: 992px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Как работаем ---------- */
.how { background: var(--bg-white); }
.how__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    padding-top: 24px;
}
.how__progress {
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    z-index: 0;
}
.how__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    border-radius: 2px;
    transition: width .3s var(--ease);
    box-shadow: 0 0 12px var(--red-glow);
}
.step { position: relative; z-index: 1; text-align: center; padding: 0 6px; }
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: var(--bg-white);
    color: var(--text-muted);
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    border: 2px solid var(--border-light);
    transition: all .5s var(--ease);
    position: relative;
}
.step.is-active .step__num {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 0 0 6px var(--red-soft), 0 10px 24px -8px var(--red-glow);
}
.step h3 { font-size: 16px; margin-bottom: 6px; color: var(--text-high); }
.step p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 992px) {
    .how__steps { grid-template-columns: repeat(2, 1fr); gap: 32px; padding-top: 0; }
    .how__progress { display: none; }
}
@media (max-width: 480px) { .how__steps { grid-template-columns: 1fr; } }

/* ---------- Портфолио ---------- */
.portfolio { background: var(--bg-light); }
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portfolio-item {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-cosmos);
    box-shadow: var(--shadow-card-light);
    transition: all .5s var(--ease);
    cursor: pointer;
}
.portfolio-item:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }
.portfolio-item img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    pointer-events: none;
}
.portfolio-item__title {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}
.portfolio-item__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: rgba(230, 57, 70, 0.9);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
}
@media (max-width: 992px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .portfolio__grid { grid-template-columns: 1fr; } }

/* ---------- География ---------- */
.geography { background: var(--bg-cosmos); color: #fff; position: relative; overflow: hidden; }
.geography::before {
    content: "";
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(230,57,70,0.10) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.geography > .container { position: relative; z-index: 1; }
.geography .section__title { color: #fff; }
.geography .section__subtitle { color: var(--text-on-dark-2); }
.geography__content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: center;
}
.geography__map {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border-dark);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
}
.geography__map img { display: block; width: 100%; height: auto; }
.geography__list h3 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin: 0 0 16px;
    font-weight: 600;
}
.geography__list h3 + ul { margin-bottom: 32px; }
.geography__list ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 20px;
}
.geography__list li {
    color: var(--text-on-dark-2);
    font-size: 15px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.geography__list li::before {
    content: "";
    width: 5px; height: 5px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--red);
    flex-shrink: 0;
}
@media (max-width: 992px) { .geography__content { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Отзывы ---------- */
.reviews { background: var(--bg-white); }
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.review {
    background: var(--bg-light);
    border-radius: var(--r-lg);
    padding: 36px 32px 32px;
    position: relative;
    border: 1px solid var(--border-light);
    transition: all .4s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); border-color: rgba(230,57,70,0.2); }
.review::before {
    content: "\201C";
    position: absolute;
    top: 20px; right: 28px;
    font-size: 72px;
    line-height: 1;
    color: var(--red);
    opacity: 0.14;
    font-family: Georgia, serif;
    font-weight: 700;
}
.review p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-high);
    margin-bottom: 24px;
    font-weight: 500;
}
.review cite {
    font-style: normal;
    font-weight: 600;
    color: var(--red);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.review cite::before {
    content: "";
    width: 24px;
    height: 1px;
    background: var(--red);
}
@media (max-width: 768px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- Партнёрам ---------- */
.partners {
    background: linear-gradient(135deg, var(--red) 0%, #B8151A 100%);
    color: #fff;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.partners::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    opacity: 0.10;
    mix-blend-mode: overlay;
}
.partners::after {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(255,255,255,0.15) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.partners > .container { position: relative; z-index: 1; }
.partners h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    margin-bottom: 16px;
    color: #fff;
    letter-spacing: -0.03em;
}
.partners p {
    font-size: 18px;
    margin: 0 auto 36px;
    color: rgba(255,255,255,0.92);
    max-width: 640px;
    line-height: 1.6;
}
.partners .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.3);
}
.partners .btn--primary:hover { background: #fff; color: var(--red-hover); }

/* ---------- Контакты ---------- */
.contact { background: var(--bg-light); }
.contact__inner {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact__form h2 { margin-bottom: 12px; color: var(--text-high); letter-spacing: -0.03em; }
.contact__form > p { color: var(--text-muted); margin-bottom: 32px; font-size: 16px; }
.contact__form form { display: grid; gap: 18px; }
.contact__form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-high);
    margin-bottom: 8px;
}
.contact__form input,
.contact__form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-white);
    color: var(--text-high);
    transition: all .25s var(--ease);
}
.contact__form input:focus,
.contact__form textarea:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}
.contact__form textarea { min-height: 120px; resize: vertical; }
.contact__form .form-note {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: -6px;
    line-height: 1.5;
}
.contact__form .form-note a { color: var(--red); text-decoration: none; }
.contact__form button { justify-self: start; margin-top: 8px; }

.contact__info {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 40px 36px;
    border-radius: var(--r-lg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.contact__info::before {
    content: "";
    position: absolute;
    top: -50%; right: -30%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(230,57,70,0.18) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}
.contact__info h3 { font-size: 18px; margin-bottom: 24px; color: #fff; position: relative; }
.contact-line {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-dark);
    font-size: 15px;
    position: relative;
}
.contact-line:last-of-type { border-bottom: none; }
.contact-line img { width: 20px; height: 20px; flex-shrink: 0; }
.contact-line a, .contact-line span { color: #fff; text-decoration: none; }
.contact-line a:hover { color: var(--red); }
.contact__info p {
    margin-top: 24px;
    font-size: 13px;
    color: var(--text-on-dark-2);
    line-height: 1.6;
    position: relative;
}
@media (max-width: 992px) { .contact__inner { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-cosmos);
    color: var(--text-on-dark-2);
    padding: 32px 0;
    font-size: 14px;
    border-top: 1px solid var(--border-dark);
}
.footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer a { color: var(--text-on-dark-2); text-decoration: none; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }

/* ---------- Focus ---------- */
:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 3px;
    border-radius: 6px;
}

/* ---------- Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Внутренние страницы ---------- */
.page-hero {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 180px 0 80px;
    border-bottom: 1px solid var(--border-dark);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    top: 20%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 16px; letter-spacing: -0.03em; }
.page-hero p { color: var(--text-on-dark-2); font-size: 17px; max-width: 720px; }

.content-section { padding: 80px 0; }
.content-section h2 {
    font-size: 28px;
    margin: 40px 0 16px;
    color: var(--text-high);
    letter-spacing: -0.02em;
}
.content-section h2:first-child { margin-top: 0; }
.content-section p { margin-bottom: 16px; color: var(--text-muted); font-size: 16px; }
.content-section ul { margin: 0 0 24px 20px; color: var(--text-muted); font-size: 16px; }
.content-section li { padding: 6px 0; }
.content-section a { color: var(--red); text-decoration: none; }
.content-section a:hover { text-decoration: underline; }
.content-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: var(--bg-white);
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-card-light);
}
.content-section th, .content-section td {
    padding: 18px 24px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}
.content-section th {
    background: var(--bg-light);
    font-weight: 600;
    color: var(--text-high);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.content-section tr:last-child td { border-bottom: none; }

/* ---------- Mobile nav overlay ---------- */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 13, 16, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    padding: 100px 32px 32px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.nav-overlay.is-open { display: flex; opacity: 1; }
.nav-overlay a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-dark);
    letter-spacing: -0.02em;
}
.nav-overlay a:hover { color: var(--red); }

/* ============================================================
   CONTACT V2  обновлённый блок Форма + Контакты
   ============================================================ */

.contact--v2 {
    background: linear-gradient(180deg, #F7F9FC 0%, #EEF1F6 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.contact--v2::before {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.contact--v2 > .container { position: relative; z-index: 1; }

.contact__grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 72px;
    align-items: start;
}

/* ---------- Левая колонка: форма ---------- */
.contact__main { max-width: 640px; }

.contact__eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 20px;
}
.contact__title {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-high);
}
.contact__lead {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
    max-width: 540px;
}

.contact__benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
}
.contact__benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-high);
}
.contact__benefits li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Форма */
.contact__form { display: grid; gap: 18px; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.form-field { display: flex; flex-direction: column; }
.form-field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.form-field label span {
    color: #A0AEC0;
    font-weight: 500;
    letter-spacing: 0.06em;
}
.form-field input,
.form-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-white);
    color: var(--text-high);
    transition: all .25s var(--ease);
    outline: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #B0B7C3; }
.form-field input:hover,
.form-field textarea:hover { border-color: #D5DBE5; }
.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}
.form-field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.contact__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.contact__actions .btn {
    flex-shrink: 0;
}
.contact__note {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 320px;
}
.contact__note a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 57, 70, 0.3);
    transition: border-color .2s var(--ease);
}
.contact__note a:hover { border-bottom-color: var(--red); }

/* ---------- Правая колонка: карточка ---------- */
.contact__side {
    background: var(--bg-cosmos);
    color: #fff;
    border-radius: var(--r-xl);
    padding: 36px 32px;
    position: sticky;
    top: 100px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.35),
                0 8px 24px -8px rgba(0, 0, 0, 0.2);
}
.contact__side::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -30%;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.22) 0%, transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.contact__side > * { position: relative; z-index: 1; }

/* Статус сверху */
.contact__status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: var(--r-md);
    font-size: 13px;
    color: #C6F6D5;
    font-weight: 500;
    margin-bottom: 28px;
    line-height: 1.4;
}
.contact__status-dot {
    width: 8px;
    height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 12px #4ADE80;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

/* Блоки внутри карточки */
.contact__block {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-dark);
}
.contact__block:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact__block h3 {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-on-dark-2);
    margin-bottom: 16px;
}

/* Строки контактов */
.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    margin: 0 -12px;
    border-radius: var(--r-sm);
    text-decoration: none;
    color: #fff;
    transition: background .25s var(--ease);
}
.contact-row:hover { background: rgba(255, 255, 255, 0.05); }
.contact-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.2);
    border-radius: 10px;
    transition: all .25s var(--ease);
}
.contact-row:hover .contact-row__icon {
    background: var(--red);
    border-color: var(--red);
    transform: scale(1.05);
}
.contact-row__icon img {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter .25s var(--ease);
}
.contact-row:hover .contact-row__icon img { filter: brightness(0) invert(1); }

.contact-row__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.contact-row__label {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-on-dark-2);
}
.contact-row__value {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Зона выезда */
.contact__zones {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-on-dark-2);
    margin: 0;
}

/* Реквизиты */
.contact__requisites {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-dark);
}
.contact__requisites-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--text-on-dark-2);
    margin-bottom: 10px;
}
.contact__requisites p {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-on-dark-2);
    margin: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .contact--v2 { padding: 80px 0; }
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .contact__side { position: static; }
    .contact__main { max-width: none; }
}
@media (max-width: 640px) {
    .form-row { grid-template-columns: 1fr; }
    .contact__actions { flex-direction: column; align-items: stretch; }
    .contact__actions .btn { width: 100%; }
    .contact__note { max-width: none; text-align: center; }
    .contact__side { padding: 28px 22px; }
}

/* ============================================================
   PARTNERS V2  премиальный B2B-блок
   ============================================================ */

.partners--v2 {
    position: relative;
    background:
        linear-gradient(135deg, #E63946 0%, #C21830 50%, #8B1220 100%);
    color: #fff;
    padding: 120px 0;
    overflow: hidden;
    isolation: isolate;
}
.partners--v2::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.25) 100%),
        url('../img/bg-tech.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    mix-blend-mode: overlay;
    z-index: -1;
}
.partners--v2::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.12) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.partners--v2 > .container { position: relative; z-index: 1; }

.partners__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 72px;
    align-items: center;
}

/* ---------- Левая колонка ---------- */
.partners__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 28px;
}
.partners__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
}
.partners__title {
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: #fff;
    font-weight: 700;
}
.partners__lead {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 40px;
    max-width: 560px;
}
.partners__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.partners--v2 .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
}
.partners--v2 .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.45);
}
.partners--v2 .btn--outline {
    background: rgba(255, 255, 255, 0.10);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
}
.partners--v2 .btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.7);
}

.partners__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.01em;
}
.partners__trust span {
    display: flex;
    align-items: center;
    gap: 8px;
}
.partners__trust span::before {
    content: "";
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------- Правая колонка: карточка условий ---------- */
.partners__card {
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-xl);
    padding: 40px 36px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}
.partners__card::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.25) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}
.partners__card > * { position: relative; z-index: 1; }

.partners__card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.partners__card-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-on-dark-2);
    margin: 0;
}
.partners__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    border-radius: var(--r-pill);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86EFAC;
}
.partners__card-badge::before {
    content: "";
    width: 5px;
    height: 5px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ADE80;
    animation: pulse-dot 2s infinite;
}

.partners__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 4px;
    padding: 0;
}
.partners__list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    line-height: 1.5;
    color: #fff;
    font-weight: 500;
}
.partners__list li:last-child { border-bottom: none; }
.partners__list li .num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    color: var(--red);
    flex-shrink: 0;
    padding-top: 3px;
    min-width: 24px;
}
.partners__list li .text { flex: 1; }

.partners__card-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 13px;
    color: var(--text-on-dark-2);
}
.partners__card-footer strong {
    color: #fff;
    font-weight: 600;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .partners--v2 { padding: 80px 0; }
    .partners__grid { grid-template-columns: 1fr; gap: 48px; }
    .partners__lead { font-size: 17px; }
}
@media (max-width: 640px) {
    .partners__actions { flex-direction: column; align-items: stretch; }
    .partners__actions .btn { width: 100%; }
    .partners__card { padding: 28px 22px; }
    .partners__card-head { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ============================================================
   PARTNERS MINIMAL  чистый редакционный блок
   ============================================================ */

.partners-minimal {
    background: var(--bg-white);
    padding: 140px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}
.partners-minimal__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 96px;
    align-items: start;
}
.partners-minimal__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.partners-minimal__title {
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: var(--text-high);
    margin-bottom: 24px;
    font-weight: 700;
}
.partners-minimal__lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 40px;
}
.partners-minimal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.partners-minimal__actions .btn {
    padding: 14px 28px;
}

/* Список условий */
.partners-minimal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--border-light);
}
.partners-minimal__list li {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-high);
    transition: padding-left .3s var(--ease);
}
.partners-minimal__list li:hover {
    padding-left: 8px;
    color: var(--red);
}
.partners-minimal__list li .num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    flex-shrink: 0;
    min-width: 28px;
    transition: color .3s var(--ease);
}
.partners-minimal__list li:hover .num { color: var(--red); }

/* Адаптив */
@media (max-width: 992px) {
    .partners-minimal { padding: 96px 0; }
    .partners-minimal__grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
    .partners-minimal { padding: 72px 0; }
    .partners-minimal__actions { flex-direction: column; align-items: stretch; }
    .partners-minimal__actions .btn { width: 100%; }
    .partners-minimal__list li { gap: 16px; padding: 18px 0; font-size: 15px; }
}

/* ============================================================
   PARTNERS MINIMAL  RED EDITION
   Минимализм + многослойный красный градиент с текстурой
   ============================================================ */

.partners-minimal {
    position: relative;
    padding: 140px 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;

    /* Многослойный градиент: тёплый красный  глубокий бордо */
    background:
        radial-gradient(ellipse 80% 60% at 15% 0%,   rgba(255, 90, 100, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 70% at 100% 100%, rgba(60, 10, 20, 0.65)   0%, transparent 60%),
        linear-gradient(135deg, #E63946 0%, #C21830 45%, #8B1220 100%);
}

/* Слой текстуры: оптоволокно */
.partners-minimal::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.16;
    mix-blend-mode: overlay;
    z-index: -1;
    pointer-events: none;
}

/* Слой тонкой сетки + виньетка */
.partners-minimal::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.35) 100%);
    background-size: 64px 64px, 64px 64px, 100% 100%;
    z-index: -1;
    pointer-events: none;
}

.partners-minimal > .container {
    position: relative;
    z-index: 1;
}

.partners-minimal__grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 96px;
    align-items: start;
}

/* ---------- Левая колонка ---------- */
.partners-minimal__eyebrow {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}
.partners-minimal__title {
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.05;
    letter-spacing: -0.035em;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 700;
}
.partners-minimal__lead {
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    max-width: 480px;
    margin-bottom: 40px;
}
.partners-minimal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.partners-minimal__actions .btn {
    padding: 14px 28px;
}

/* Кнопки под красный фон */
.partners-minimal .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.35);
}
.partners-minimal .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.45);
}
.partners-minimal .btn--outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.partners-minimal .btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.8);
}

/* ---------- Правая колонка: список ---------- */
.partners-minimal__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.partners-minimal__list li {
    display: flex;
    align-items: baseline;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    transition: all .3s var(--ease);
}
.partners-minimal__list li:hover {
    padding-left: 12px;
    border-bottom-color: rgba(255, 255, 255, 0.55);
}
.partners-minimal__list li .num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.55);
    flex-shrink: 0;
    min-width: 28px;
    transition: color .3s var(--ease);
}
.partners-minimal__list li:hover .num {
    color: #fff;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .partners-minimal { padding: 96px 0; }
    .partners-minimal__grid { grid-template-columns: 1fr; gap: 56px; }
}
@media (max-width: 640px) {
    .partners-minimal { padding: 72px 0; }
    .partners-minimal__actions { flex-direction: column; align-items: stretch; }
    .partners-minimal__actions .btn { width: 100%; }
    .partners-minimal__list li { gap: 16px; padding: 18px 0; font-size: 15px; }
}

/* ============================================================
   SERVICES V2  редакционные карточки с номерами
   ============================================================ */

.services { background: var(--bg-white); padding: 120px 0; }

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Карточка */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all .4s var(--ease);
    isolation: isolate;
}
.service-card::before {
    /* Верхняя красная линия */
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.service-card::after {
    /* Мягкое свечение под курсором */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(230, 57, 70, 0.06) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.18),
                0 8px 20px -8px rgba(230, 57, 70, 0.14);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 1; }

.service-card > * { position: relative; z-index: 1; }

/* Номер карточки в углу */
.service-card__num {
    position: absolute;
    top: 28px;
    right: 28px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: var(--text-muted);
    z-index: 2;
    transition: color .3s var(--ease);
}
.service-card:hover .service-card__num { color: var(--red); }

/* Иконка */
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: var(--r-md);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.10), rgba(230, 57, 70, 0.02));
    border: 1px solid rgba(230, 57, 70, 0.14);
    margin-bottom: 28px;
    transition: all .5s var(--ease);
}
.service-card:hover .service-card__icon {
    transform: scale(1.08) rotate(-4deg);
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(230, 57, 70, 0.05));
    border-color: rgba(230, 57, 70, 0.32);
    box-shadow: 0 8px 20px -8px rgba(230, 57, 70, 0.4);
}
.service-card__icon img {
    width: 32px;
    height: 32px;
    display: block;
    transition: transform .5s var(--ease);
}
.service-card:hover .service-card__icon img { transform: scale(1.05); }

/* Заголовок и текст */
.service-card h3 {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin-bottom: 12px;
    font-weight: 700;
    transition: color .3s var(--ease);
}
.service-card:hover h3 { color: var(--red); }
.service-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 24px;
    flex: 1;
}

/* Стрелка внизу */
.service-card__arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text-high);
    transition: all .3s var(--ease);
}
.service-card__arrow svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.service-card:hover .service-card__arrow {
    color: var(--red);
    gap: 12px;
}
.service-card:hover .service-card__arrow svg {
    transform: translateX(3px);
}

/* ---------- CTA под сеткой ---------- */
.services__cta {
    display: flex;
    justify-content: center;
    margin-top: 56px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}
.services__cta-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-high);
    text-decoration: none;
    transition: all .3s var(--ease);
}
.services__cta-link svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.services__cta-link:hover {
    border-color: var(--red);
    background: var(--red);
    color: #fff;
}
.services__cta-link:hover svg { transform: translateX(4px); }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { padding: 32px 26px 28px; }
}
@media (max-width: 640px) {
    .services { padding: 72px 0; }
    .services__grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 28px 24px 24px; }
    .service-card__icon { width: 56px; height: 56px; margin-bottom: 22px; }
    .service-card__icon img { width: 28px; height: 28px; }
    .service-card h3 { font-size: 18px; }
}

/* ============================================================
   WHY V2  редакционный блок с крупными номерами
   ============================================================ */

.why {
    background: var(--bg-light);
    padding: 120px 0;
    position: relative;
}

/* Сетка */
.why__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
}

/* Карточка */
.why-card {
    position: relative;
    padding: 44px 32px 40px;
    background: var(--bg-white);
    transition: all .4s var(--ease);
    isolation: isolate;
    overflow: hidden;
}

/* Верхняя красная линия при hover */
.why-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
    z-index: 2;
}
.why-card:hover::before { transform: scaleX(1); }

/* Мягкое свечение */
.why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.why-card:hover::after { opacity: 1; }
.why-card:hover { background: #FDFDFE; }

.why-card > * { position: relative; z-index: 1; }

/* Крупный номер */
.why-card__num {
    display: block;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 40px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-high);
    opacity: 0.12;
    margin-bottom: 24px;
    transition: all .4s var(--ease);
}
.why-card:hover .why-card__num {
    opacity: 1;
    color: var(--red);
}

/* Иконка  маленькая, в углу с номером */
.why-card__icon {
    position: absolute;
    top: 44px;
    right: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.10), rgba(230, 57, 70, 0.02));
    border: 1px solid rgba(230, 57, 70, 0.14);
    border-radius: 10px;
    transition: all .4s var(--ease);
    z-index: 2;
}
.why-card__icon img {
    width: 22px;
    height: 22px;
    display: block;
    transition: transform .4s var(--ease);
}
.why-card:hover .why-card__icon {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.18), rgba(230, 57, 70, 0.05));
    border-color: rgba(230, 57, 70, 0.32);
    transform: scale(1.05);
}
.why-card:hover .why-card__icon img { transform: scale(1.08); }

/* Заголовок и текст */
.why-card h3 {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin-bottom: 12px;
    font-weight: 700;
    max-width: 240px;
}
.why-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
    max-width: 260px;
}

/* ---------- Подблок с итогом под сеткой ---------- */
.why__footer {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 32px 40px;
    background: var(--bg-cosmos);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}
.why__footer::before {
    content: "";
    position: absolute;
    top: -60%; right: -10%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}
.why__footer > * { position: relative; z-index: 1; }
.why__footer-text {
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
    max-width: 620px;
    margin: 0;
    font-weight: 500;
}
.why__footer-text strong {
    color: var(--red);
    font-weight: 700;
}
.why__footer .btn {
    flex-shrink: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .why { padding: 96px 0; }
    .why__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
    }
    .why-card { padding: 40px 28px 36px; }
    .why-card__icon { top: 40px; right: 28px; }
}
@media (max-width: 640px) {
    .why { padding: 72px 0; }
    .why__grid { grid-template-columns: 1fr; }
    .why-card { padding: 36px 24px 32px; }
    .why-card__num { font-size: 32px; margin-bottom: 18px; }
    .why-card__icon { top: 36px; right: 24px; width: 40px; height: 40px; }
    .why-card__icon img { width: 20px; height: 20px; }
    .why-card h3 { font-size: 18px; max-width: none; }
    .why-card p { max-width: none; }

    .why__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 28px 24px;
        gap: 20px;
    }
    .why__footer-text { font-size: 16px; }
    .why__footer .btn { width: 100%; }
}

/* ============================================================
   HOW V2  премиальный stepper с карточками и прогрессом
   ============================================================ */

.how {
    background: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.how::before {
    content: "";
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    width: 900px; height: 400px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.04) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.how > .container { position: relative; z-index: 1; }

/* ---------- Общая сетка ---------- */
.how__steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    padding-top: 48px;
    margin-top: 32px;
}

/* ---------- Прогресс-линия ---------- */
.how__progress {
    position: absolute;
    top: 24px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    z-index: 0;
}
.how__progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #FF5C6C, var(--red));
    background-size: 200% 100%;
    border-radius: 2px;
    transition: width .4s var(--ease);
    box-shadow: 0 0 16px rgba(230, 57, 70, 0.6);
    animation: shimmer-progress 3s linear infinite;
}
@keyframes shimmer-progress {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ---------- Шаг ---------- */
.step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 28px 22px 24px;
    transition: all .4s var(--ease);
    overflow: hidden;
    isolation: isolate;
    min-height: 240px;
}

/* Красная линия сверху при hover */
.step::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
    z-index: 2;
}
.step:hover::before { transform: scaleX(1); }

/* Мягкое свечение */
.step::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(230, 57, 70, 0.06) 0%, transparent 65%);
    opacity: 0;
    transition: opacity .5s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.step:hover::after { opacity: 1; }

.step:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.15),
                0 8px 20px -8px rgba(230, 57, 70, 0.12);
}

.step > * { position: relative; z-index: 1; }

/* ---------- Номер шага (большой) ---------- */
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    color: var(--text-muted);
    border-radius: 50%;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 2px solid var(--border-light);
    transition: all .5s var(--ease);
    letter-spacing: 0;
}
.step.is-active .step__num,
.step:hover .step__num {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 0 0 6px var(--red-soft), 0 10px 24px -8px var(--red-glow);
    transform: scale(1.05);
}

/* ---------- Срок выполнения ---------- */
.step__duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: var(--r-pill);
    margin-bottom: 16px;
    width: max-content;
    transition: all .4s var(--ease);
}
.step__duration::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}
.step:hover .step__duration {
    background: rgba(230, 57, 70, 0.1);
    color: var(--red);
}

/* ---------- Заголовок и описание ---------- */
.step h3 {
    font-size: 18px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin-bottom: 10px;
    font-weight: 700;
    transition: color .3s var(--ease);
}
.step:hover h3 { color: var(--red); }
.step p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    flex: 1;
}

/* ---------- Иконка внутри карточки (опционально) ---------- */
.step__icon {
    position: absolute;
    top: 28px;
    right: 22px;
    width: 32px;
    height: 32px;
    opacity: 0.35;
    transition: all .4s var(--ease);
    z-index: 1;
}
.step:hover .step__icon {
    opacity: 1;
    transform: scale(1.05);
}

/* ---------- Итог под сеткой ---------- */
.how__footer {
    margin-top: 56px;
    padding: 32px 40px;
    background: var(--bg-light);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    border: 1px solid var(--border-light);
}
.how__footer-text {
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-high);
    margin: 0;
    max-width: 620px;
    font-weight: 500;
}
.how__footer-text strong {
    color: var(--red);
    font-weight: 700;
}
.how__footer .btn { flex-shrink: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .step { min-height: 220px; padding: 24px 20px 22px; }
    .step h3 { font-size: 16px; }
    .step p { font-size: 13px; }
    .step__icon { width: 26px; height: 26px; top: 24px; right: 18px; }
}
@media (max-width: 992px) {
    .how { padding: 96px 0; }
    .how__steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding-top: 0;
        margin-top: 0;
    }
    .how__progress { display: none; }
    .step { min-height: auto; }
    .step__icon { display: none; }
}
@media (max-width: 640px) {
    .how { padding: 72px 0; }
    .how__steps { grid-template-columns: 1fr; gap: 12px; }
    .step { padding: 24px 20px; }
    .step__num { width: 40px; height: 40px; font-size: 13px; margin-bottom: 20px; }

    .how__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 24px 20px;
        gap: 20px;
    }
    .how__footer-text { font-size: 15px; }
    .how__footer .btn { width: 100%; }
}

/* ============================================================
   PORTFOLIO V2  премиальная галерея с фильтрами
   ============================================================ */

.portfolio {
    background: var(--bg-light);
    padding: 120px 0;
    position: relative;
}

/* ---------- Фильтры ---------- */
.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 56px;
}
.portfolio__filter {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.005em;
    color: var(--text-muted);
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.portfolio__filter:hover {
    color: var(--text-high);
    border-color: #CBD2DD;
}
.portfolio__filter.is-active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 8px 20px -6px var(--red-glow);
}

/* ---------- Сетка ---------- */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ---------- Карточка ---------- */
.portfolio-item {
    position: relative;
    display: block;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--bg-cosmos);
    aspect-ratio: 4 / 3;
    text-decoration: none;
    color: inherit;
    transition: all .5s var(--ease);
    isolation: isolate;
}
.portfolio-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 60px -20px rgba(15, 23, 42, 0.25);
}

.portfolio-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.portfolio-item:hover img { transform: scale(1.08); }

/* ---------- Оверлей с градиентом ---------- */
.portfolio-item__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 13, 16, 0.15) 0%,
        rgba(11, 13, 16, 0.05) 40%,
        rgba(11, 13, 16, 0.75) 75%,
        rgba(11, 13, 16, 0.92) 100%
    );
    transition: opacity .4s var(--ease);
    pointer-events: none;
    z-index: 1;
}

/* ---------- Тег категории ---------- */
.portfolio-item__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--text-high);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    z-index: 2;
    transition: all .3s var(--ease);
}
.portfolio-item__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
}
.portfolio-item:hover .portfolio-item__tag {
    background: var(--red);
    color: #fff;
}
.portfolio-item:hover .portfolio-item__tag::before {
    background: #fff;
}

/* ---------- Контент внизу карточки ---------- */
.portfolio-item__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 24px 22px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .4s var(--ease);
}
.portfolio-item__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: #fff;
    margin: 0;
}

/* ---------- Скрываемая часть (появляется при hover) ---------- */
.portfolio-item__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all .45s var(--ease);
}
.portfolio-item:hover .portfolio-item__meta {
    max-height: 40px;
    opacity: 1;
    margin-top: 4px;
}
.portfolio-item__desc {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    flex: 1;
}
.portfolio-item__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: var(--red);
    border-radius: 50%;
    color: #fff;
    transition: all .35s var(--ease);
}
.portfolio-item__arrow svg {
    width: 14px;
    height: 14px;
    transition: transform .35s var(--ease);
}
.portfolio-item:hover .portfolio-item__arrow svg {
    transform: translateX(2px);
}

/* ---------- CTA и счётчик под сеткой ---------- */
.portfolio__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
}
.portfolio__counter {
    display: flex;
    align-items: baseline;
    gap: 12px;
}
.portfolio__counter-num {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-high);
    font-variant-numeric: tabular-nums;
}
.portfolio__counter-num .accent {
    color: var(--red);
}
.portfolio__counter-label {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 220px;
}
.portfolio__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-high);
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    transition: all .3s var(--ease);
}
.portfolio__footer-link svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.portfolio__footer-link:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 10px 24px -8px var(--red-glow);
}
.portfolio__footer-link:hover svg {
    transform: translateX(4px);
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .portfolio { padding: 96px 0; }
    .portfolio__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }

    .portfolio__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 24px;
    }
    .portfolio__counter { justify-content: center; flex-wrap: wrap; }
    .portfolio__footer-link { justify-content: center; }
}
@media (max-width: 640px) {
    .portfolio { padding: 72px 0; }
    .portfolio__grid { grid-template-columns: 1fr; gap: 14px; }

    .portfolio__filters { gap: 6px; margin-bottom: 36px; }
    .portfolio__filter { padding: 8px 14px; font-size: 12px; }

    .portfolio-item__content { padding: 20px 20px 18px; }
    .portfolio-item__title { font-size: 16px; }

    .portfolio__counter-num { font-size: 36px; }
    .portfolio__counter-label { font-size: 13px; }
    .portfolio__footer-link { width: 100%; justify-content: center; }
}

/* ============================================================
   REVIEWS V2  премиальный блок отзывов
   ============================================================ */

.reviews {
    background: var(--bg-white);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.reviews::before {
    content: "";
    position: absolute;
    top: 50%; right: -10%;
    transform: translateY(-50%);
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
}
.reviews > .container { position: relative; z-index: 1; }

/* ---------- Верхняя сводка ---------- */
.reviews__summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: center;
    padding: 28px 36px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    margin-bottom: 56px;
}
.reviews__rating {
    display: flex;
    align-items: center;
    gap: 20px;
}
.reviews__rating-num {
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-high);
    font-variant-numeric: tabular-nums;
}
.reviews__rating-num span {
    font-size: 24px;
    color: var(--text-muted);
    font-weight: 600;
}
.reviews__rating-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.reviews__stars {
    display: inline-flex;
    gap: 3px;
    color: #F5B301;
}
.reviews__stars svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}
.reviews__rating-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}
.reviews__rating-label strong {
    color: var(--text-high);
    font-weight: 600;
}

.reviews__sources {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-left: 40px;
    border-left: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.reviews__source {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.35;
}
.reviews__source-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.reviews__source-dot--yandex { background: #FC3F1D; }
.reviews__source-dot--2gis   { background: #2E7D32; }
.reviews__source-dot--avito  { background: #00AAFF; }
.reviews__source strong {
    color: var(--text-high);
    font-weight: 600;
    display: block;
    font-size: 13.5px;
}
.reviews__source span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------- Сетка отзывов ---------- */
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ---------- Карточка отзыва ---------- */
.review {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 36px 36px 32px;
    transition: all .4s var(--ease);
    isolation: isolate;
    overflow: hidden;
}
.review::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.review:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.15),
                0 8px 20px -8px rgba(230, 57, 70, 0.12);
}
.review:hover::before { transform: scaleX(1); }

/* Кавычки в углу */
.review__quote {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 40px;
    height: 40px;
    color: var(--red);
    opacity: 0.14;
    transition: opacity .4s var(--ease);
    pointer-events: none;
}
.review:hover .review__quote { opacity: 0.28; }
.review__quote svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

/* Звёзды отзыва */
.review__stars {
    display: inline-flex;
    gap: 3px;
    color: #F5B301;
    margin-bottom: 18px;
}
.review__stars svg {
    width: 15px;
    height: 15px;
    display: block;
    fill: currentColor;
}

/* Текст отзыва */
.review__text {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-high);
    letter-spacing: -0.005em;
    margin: 0 0 28px;
    flex: 1;
    font-weight: 500;
}

/* Футер карточки: аватар + автор + мета */
.review__footer {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 22px;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}
.review__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--red), #B8151A);
    color: #fff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 6px 16px -6px var(--red-glow);
}
.review__author {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.review__author-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-high);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.review__author-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Метка-тип в правом углу футера */
.review__tag {
    margin-left: auto;
    padding: 5px 10px;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-light);
    border-radius: var(--r-pill);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---------- CTA под сеткой ---------- */
.reviews__footer {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.reviews__footer-text {
    font-size: 15.5px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
    max-width: 560px;
}
.reviews__footer-text strong {
    color: var(--text-high);
    font-weight: 600;
}
.reviews__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-high);
    text-decoration: none;
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    transition: all .3s var(--ease);
    flex-shrink: 0;
}
.reviews__footer-link svg {
    width: 16px;
    height: 16px;
    transition: transform .3s var(--ease);
}
.reviews__footer-link:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 10px 24px -8px var(--red-glow);
}
.reviews__footer-link:hover svg { transform: translateX(4px); }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .reviews { padding: 96px 0; }

    .reviews__summary {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px 28px;
    }
    .reviews__sources {
        padding-left: 0;
        padding-top: 24px;
        border-left: none;
        border-top: 1px solid var(--border-light);
        gap: 20px;
    }
    .reviews__rating-num { font-size: 48px; }

    .reviews__grid { grid-template-columns: 1fr; }

    .reviews__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 20px;
    }
    .reviews__footer-link { justify-content: center; }
}
@media (max-width: 640px) {
    .reviews { padding: 72px 0; }
    .review { padding: 28px 24px 24px; }
    .review__text { font-size: 15.5px; margin-bottom: 22px; }
    .review__quote { width: 32px; height: 32px; top: 20px; right: 22px; }
    .review__avatar { width: 40px; height: 40px; font-size: 14px; }
    .reviews__rating-num { font-size: 42px; }
    .reviews__rating-num span { font-size: 20px; }
    .reviews__sources { flex-direction: column; align-items: flex-start; gap: 14px; }
    .reviews__footer-link { width: 100%; }
}


/* ============================================================
   PARTNERS DIVIDER  DARK EDITION
   Тёмный градиент с деликатной текстурой
   ============================================================ */

.partners-divider {
    position: relative;
    padding: 120px 0;
    color: #fff;
    overflow: hidden;
    isolation: isolate;

    /* Многослойный градиент: графит  приглушённый бордо */
    background:
        radial-gradient(ellipse 70% 60% at 90% 10%,  rgba(180, 30, 40, 0.28) 0%, transparent 60%),
        radial-gradient(ellipse 60% 70% at 5% 100%,  rgba(80, 12, 20, 0.55)  0%, transparent 65%),
        linear-gradient(160deg, #0F1115 0%, #14171D 55%, #1A0F12 100%);
}

/* Текстура: оптоволокно, очень приглушённая */
.partners-divider::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.07;
    mix-blend-mode: screen;
    z-index: -1;
    pointer-events: none;
}

/* Тонкая сетка + мягкая виньетка */
.partners-divider::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
    background-size: 72px 72px, 72px 72px, 100% 100%;
    z-index: -1;
    pointer-events: none;
}

.partners-divider > .container {
    position: relative;
    z-index: 1;
}

/* Убираем старую верхнюю линию  теперь разделителем служит сам фон */
.partners-divider::before,
.partners-divider::after { /* указано выше */ }

.partners-divider__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

/* ---------- Левая колонка ---------- */
.partners-divider__label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 28px;
}
.partners-divider__label::before {
    content: "";
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    flex-shrink: 0;
}

.partners-divider__title {
    font-size: clamp(26px, 3vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 22px;
    font-weight: 700;
    max-width: 480px;
}

.partners-divider__lead {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
    margin: 0 0 30px;
    max-width: 480px;
}

.partners-divider__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    transition: all .3s var(--ease);
}
.partners-divider__link svg {
    width: 14px;
    height: 14px;
    transition: transform .3s var(--ease);
}
.partners-divider__link:hover {
    color: #FF5C6C;
    border-bottom-color: #FF5C6C;
    gap: 12px;
}
.partners-divider__link:hover svg {
    transform: translateX(2px);
}

/* ---------- Правая колонка ---------- */
.partners-divider__list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.partners-divider__list li {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
    transition: all .3s var(--ease);
}
.partners-divider__list li:hover {
    color: #fff;
    padding-left: 8px;
    border-bottom-color: rgba(230, 57, 70, 0.5);
}
.partners-divider__list li .num {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
    min-width: 24px;
    transition: color .3s var(--ease);
}
.partners-divider__list li:hover .num {
    color: #FF5C6C;
}

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .partners-divider { padding: 88px 0; }
    .partners-divider__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}
@media (max-width: 640px) {
    .partners-divider { padding: 72px 0; }
    .partners-divider__title { font-size: 24px; }
    .partners-divider__lead { font-size: 15px; }
    .partners-divider__list li {
        font-size: 14.5px;
        padding: 18px 0;
        gap: 14px;
    }
}

/* ============================================================
   GEOGRAPHY V2  региональные карточки с метриками
   ============================================================ */

.geography {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.geography::before {
    content: "";
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 500px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.geography > .container { position: relative; z-index: 1; }

.geography .section__title { color: #fff; }
.geography .section__subtitle { color: var(--text-on-dark-2); }

.geography__content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: start;
}

/* ---------- Карта ---------- */
.geography__map {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #0E1013;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    transition: all .4s var(--ease);
}
.geography__map::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.06) 0%, transparent 40%);
    pointer-events: none;
}
.geography__map img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform .8s var(--ease);
}
.geography__map:hover img { transform: scale(1.02); }

/* Плашка со счётчиком поверх карты */
.geography__map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: #fff;
    z-index: 2;
}
.geography__map-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red);
    animation: pulse-dot 2s infinite;
}
.geography__map-badge strong {
    color: var(--red);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ---------- Список регионов ---------- */
.geography__list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.geography__region {
    padding: 28px 28px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--r-lg);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.geography__region:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(230, 57, 70, 0.24);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.geography__region::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease);
}
.geography__region:hover::before { transform: scaleY(1); }

.geography__region-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.geography__region-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    text-transform: none;
}
.geography__region-name::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--red);
    flex-shrink: 0;
}
.geography__region-count {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    padding: 5px 10px;
    background: rgba(230, 57, 70, 0.10);
    border: 1px solid rgba(230, 57, 70, 0.22);
    border-radius: var(--r-pill);
    white-space: nowrap;
}

/* Города */
.geography__cities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 20px;
}
.geography__cities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    padding: 6px 0;
    transition: color .25s var(--ease);
    cursor: default;
}
.geography__cities li::before {
    content: "";
    width: 4px;
    height: 4px;
    background: rgba(230, 57, 70, 0.7);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all .25s var(--ease);
}
.geography__cities li:hover {
    color: #fff;
}
.geography__cities li:hover::before {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    transform: scale(1.4);
}

/* Время выезда */
.geography__region-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.geography__region-time strong {
    color: var(--red);
    font-weight: 600;
}

/* ---------- Нижняя сводка + CTA ---------- */
.geography__footer {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.geography__footer-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.geography__footer-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.geography__footer-num {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.geography__footer-num .accent {
    color: var(--red);
}
.geography__footer-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.01em;
}

.geography__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-pill);
    backdrop-filter: blur(10px);
    transition: all .3s var(--ease);
    flex-shrink: 0;
}
.geography__footer-link svg {
    width: 15px;
    height: 15px;
    transition: transform .3s var(--ease);
}
.geography__footer-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 12px 32px -10px var(--red-glow);
}
.geography__footer-link:hover svg { transform: translateX(3px); }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .geography { padding: 96px 0; }
    .geography__content { grid-template-columns: 1fr; gap: 40px; }
    .geography__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .geography__footer-stats { justify-content: center; gap: 32px; }
    .geography__footer-link { justify-content: center; }
}
@media (max-width: 640px) {
    .geography { padding: 72px 0; }
    .geography__region { padding: 24px 22px 20px; }
    .geography__region-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .geography__cities { grid-template-columns: 1fr; }
    .geography__footer-stats { flex-direction: column; gap: 20px; align-items: center; }
    .geography__footer-num { font-size: 24px; }
    .geography__footer-link { width: 100%; }
}

/* ============================================================
   GEOGRAPHY  REAL MAP  интерактивная карта с Leaflet
   ============================================================ */

.geography {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.geography::before {
    content: "";
    position: absolute;
    top: -10%; left: 50%;
    transform: translateX(-50%);
    width: 1000px; height: 500px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.geography > .container { position: relative; z-index: 1; }

.geography .section__title { color: #fff; }
.geography .section__subtitle { color: var(--text-on-dark-2); }

.geography__content {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 48px;
    align-items: stretch;
    min-height: 720px;
}

/* ---------- Карта ---------- */
.geography__map {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: #0E1013;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02) inset;
    height: 100%;
    min-height: 640px;
}

/* Сам контейнер Leaflet */
#atlasMap {
    width: 100%;
    height: 100%;
    min-height: 640px;
    background: #0E1013;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Тёмная тема Leaflet */
.leaflet-container {
    background: #0E1013 !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}
.leaflet-tile-pane { filter: brightness(0.85) saturate(0.9); }
.leaflet-control-attribution {
    background: rgba(11, 13, 16, 0.75) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.leaflet-control-attribution a { color: rgba(255, 255, 255, 0.75) !important; }
.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-control-zoom a {
    background: rgba(11, 13, 16, 0.85) !important;
    color: #fff !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    backdrop-filter: blur(8px);
    transition: background .2s ease;
}
.leaflet-control-zoom a:hover {
    background: var(--red) !important;
    color: #fff !important;
}
.leaflet-control-zoom a:first-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; }

/* Плашка со счётчиком */
.geography__map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(11, 13, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-pill);
    font-size: 12.5px;
    font-weight: 500;
    color: #fff;
    z-index: 500;
    pointer-events: none;
}
.geography__map-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red);
    animation: pulse-dot 2s infinite;
}
.geography__map-badge strong {
    color: var(--red);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Кастомный маркер офиса */
.atlas-office-marker {
    position: relative;
}
.atlas-office-marker__pulse {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: rgba(230, 57, 70, 0.28);
    border-radius: 50%;
    animation: office-pulse 2s ease-out infinite;
    pointer-events: none;
}
.atlas-office-marker__dot {
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 16px; height: 16px;
    background: var(--red);
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
@keyframes office-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

/* Тултип и попап Leaflet в тёмной теме */
.leaflet-popup-content-wrapper {
    background: rgba(20, 23, 29, 0.96) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(12px);
}
.leaflet-popup-content {
    margin: 12px 16px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.leaflet-popup-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 700;
}
.leaflet-popup-content .popup-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}
.leaflet-popup-content .popup-region {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
}
.leaflet-popup-tip {
    background: rgba(20, 23, 29, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    box-shadow: none !important;
}
.leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 20px !important;
    padding: 8px 10px 0 0 !important;
}
.leaflet-popup-close-button:hover { color: #fff !important; }

/* Кнопка Показать все города */
.geography__map-reset {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(11, 13, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #fff;
    cursor: pointer;
    z-index: 500;
    transition: all .3s var(--ease);
}
.geography__map-reset svg {
    width: 14px;
    height: 14px;
}
.geography__map-reset:hover {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 8px 20px -6px var(--red-glow);
}

/* ---------- Правая колонка ---------- */
.geography__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Карточка офиса  наверху */
.geography__office {
    padding: 24px 26px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.10), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.24);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}
.geography__office::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.18) 0%, transparent 65%);
    filter: blur(40px);
    pointer-events: none;
}
.geography__office > * { position: relative; z-index: 1; }
.geography__office-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.geography__office-label::before {
    content: "";
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--red);
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}
.geography__office-address {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.35;
    color: #fff;
    margin: 0 0 12px;
}
.geography__office-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
}
.geography__office-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.geography__office-meta svg {
    width: 14px;
    height: 14px;
    color: var(--red);
    flex-shrink: 0;
}

/* Карточки регионов */
.geography__region {
    padding: 24px 26px 22px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--r-lg);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
    flex: 1;
}
.geography__region:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(230, 57, 70, 0.24);
    transform: translateY(-2px);
}
.geography__region::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: 100%;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform .4s var(--ease);
}
.geography__region:hover::before { transform: scaleY(1); }

.geography__region-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.geography__region-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
}
.geography__region-name::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--red);
    flex-shrink: 0;
}
.geography__region-count {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.65);
    padding: 4px 10px;
    background: rgba(230, 57, 70, 0.10);
    border: 1px solid rgba(230, 57, 70, 0.22);
    border-radius: var(--r-pill);
    white-space: nowrap;
}

.geography__cities {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
}
.geography__cities li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    padding: 5px 0;
    transition: color .25s var(--ease);
}
.geography__cities li::before {
    content: "";
    width: 4px; height: 4px;
    background: rgba(230, 57, 70, 0.7);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all .25s var(--ease);
}
.geography__cities li:hover { color: #fff; }
.geography__cities li:hover::before {
    background: var(--red);
    box-shadow: 0 0 8px var(--red);
    transform: scale(1.5);
}

.geography__region-time {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.geography__region-time strong { color: var(--red); font-weight: 600; }

/* ---------- Нижняя сводка + CTA ---------- */
.geography__footer {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.geography__footer-stats {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.geography__footer-stat { display: flex; flex-direction: column; gap: 4px; }
.geography__footer-num {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.geography__footer-num .accent { color: var(--red); }
.geography__footer-label { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); }

.geography__footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-pill);
    backdrop-filter: blur(10px);
    transition: all .3s var(--ease);
    flex-shrink: 0;
}
.geography__footer-link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.geography__footer-link:hover {
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 12px 32px -10px var(--red-glow);
}
.geography__footer-link:hover svg { transform: translateX(3px); }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .geography { padding: 96px 0; }
    .geography__content { grid-template-columns: 1fr; gap: 32px; min-height: auto; }
    .geography__map { min-height: 480px; height: 480px; }
    #atlasMap { min-height: 480px; }

    .geography__footer {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .geography__footer-stats { justify-content: center; gap: 32px; }
    .geography__footer-link { justify-content: center; }
}
@media (max-width: 640px) {
    .geography { padding: 72px 0; }
    .geography__map { min-height: 380px; height: 380px; }
    #atlasMap { min-height: 380px; }

    .geography__office { padding: 20px 22px; }
    .geography__office-address { font-size: 15.5px; }
    .geography__region { padding: 20px 22px 18px; }
    .geography__region-head { flex-direction: column; align-items: flex-start; gap: 10px; }
    .geography__cities { grid-template-columns: 1fr; }

    .geography__footer-stats { flex-direction: column; gap: 18px; }
    .geography__footer-num { font-size: 22px; }
    .geography__footer-link { width: 100%; justify-content: center; }

    .geography__map-reset { bottom: 14px; right: 14px; font-size: 11px; padding: 8px 14px; }
    .geography__map-badge { top: 14px; left: 14px; font-size: 11.5px; padding: 8px 14px; }
}

/* ============================================================
   MAP V2  стили маркеров, OSM и границ
   ============================================================ */

/* --- Города-маркеры (пульсирующие) --- */
.atlas-city-marker {
    background: transparent !important;
    border: none !important;
}
.atlas-city-marker__dot {
    width: 14px;
    height: 14px;
    background: #E63946;
    border: 2.5px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 4px 12px rgba(230, 57, 70, 0.6);
    transition: transform 0.25s ease;
    position: relative;
    z-index: 2;
}
.atlas-city-marker__pulse {
    position: absolute;
    left: 50%; top: 50%;
    width: 34px; height: 34px;
    background: rgba(230, 57, 70, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: city-pulse 2.2s ease-out infinite;
    pointer-events: none;
    z-index: 1;
}
@keyframes city-pulse {
    0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}
.atlas-city-marker:hover .atlas-city-marker__dot {
    transform: scale(1.2);
}

/* --- Текст на карте  тёмная тема --- */
.leaflet-tile-pane {
    filter: brightness(0.85) saturate(0.85);
}
.leaflet-popup-content-wrapper {
    background: rgba(20, 23, 29, 0.96) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(12px);
}
.leaflet-popup-content {
    margin: 12px 16px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.leaflet-popup-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 700;
}
.leaflet-popup-content .popup-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E63946;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}
.leaflet-popup-content .popup-region {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
}
.leaflet-popup-tip {
    background: rgba(20, 23, 29, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}
.leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 20px !important;
    padding: 8px 10px 0 0 !important;
}
.leaflet-popup-close-button:hover { color: #fff !important; }

/* --- Контролы Leaflet --- */
.leaflet-control-attribution {
    background: rgba(11, 13, 16, 0.75) !important;
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 10px !important;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.leaflet-control-attribution a { color: rgba(255, 255, 255, 0.75) !important; }
.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-control-zoom a {
    background: rgba(11, 13, 16, 0.85) !important;
    color: #fff !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    backdrop-filter: blur(8px);
    transition: background .2s ease;
}
.leaflet-control-zoom a:hover {
    background: #E63946 !important;
    color: #fff !important;
}
.leaflet-control-zoom a:first-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; }

/* --- Границы регионов (слой) --- */
.leaflet-interactive {
    transition: fill-opacity 0.3s ease;
}

/* ============================================================
   Убираем подпись Leaflet / OSM
   ============================================================ */

.leaflet-control-attribution,
.leaflet-attribution-flag,
.leaflet-control-attribution a {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Тёмная тема для ESRI-тайлов */
.leaflet-tile-pane {
    filter: brightness(0.9) contrast(1.05) saturate(0.85);
}

/* ============================================================
   MAP V3  OpenStreetMap с русскими названиями, тёмная тема
   ============================================================ */

/* Тёмная тема для светлых тайлов OSM через инверсию */
.leaflet-tile-pane {
    filter: invert(1) hue-rotate(180deg) brightness(0.85) contrast(1.1) saturate(0.8);
}

/* Скрываем подпись Leaflet / OSM */
.leaflet-control-attribution {
    display: none !important;
}

/* Стили для попапов (оставляем как было) */
.leaflet-popup-content-wrapper {
    background: rgba(20, 23, 29, 0.96) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7) !important;
    backdrop-filter: blur(12px);
}
.leaflet-popup-content {
    margin: 12px 16px !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}
.leaflet-popup-content strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 700;
}
.leaflet-popup-content .popup-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #E63946;
    margin-bottom: 6px;
    display: block;
    font-weight: 600;
}
.leaflet-popup-content .popup-region {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    display: block;
}
.leaflet-popup-tip {
    background: rgba(20, 23, 29, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}
.leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.55) !important;
    font-size: 20px !important;
    padding: 8px 10px 0 0 !important;
}
.leaflet-popup-close-button:hover { color: #fff !important; }

/* Контролы Leaflet */
.leaflet-control-zoom {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.5) !important;
}
.leaflet-control-zoom a {
    background: rgba(11, 13, 16, 0.85) !important;
    color: #fff !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    backdrop-filter: blur(8px);
    transition: background .2s ease;
}
.leaflet-control-zoom a:hover {
    background: #E63946 !important;
    color: #fff !important;
}
.leaflet-control-zoom a:first-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important; }

/* ============================================================
   DECOR  анимированные фоновые объекты
   Все элементы  pointer-events: none, z-index: 0
   ============================================================ */

/* ---------- 1. Services: пульсирующие узлы сети ---------- */
.services {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.services .container {
    position: relative;
    z-index: 2;
}
.services__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    overflow: hidden;
}
.services__decor svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.services__decor circle {
    fill: #E63946;
    opacity: 0.28;
    transform-origin: center;
    transform-box: fill-box;
    animation: node-pulse 3.6s ease-in-out infinite;
}
.services__decor circle:nth-child(2n) { animation-delay: -0.6s; }
.services__decor circle:nth-child(3n) { animation-delay: -1.2s; }
.services__decor circle:nth-child(4n) { animation-delay: -1.8s; }
.services__decor circle:nth-child(5n) { animation-delay: -2.4s; }
.services__decor circle:nth-child(7n) { animation-delay: -3s; }
.services__decor line {
    stroke: #E63946;
    stroke-width: 0.7;
    opacity: 0.06;
}

@keyframes node-pulse {
    0%, 100% { transform: scale(0.6); opacity: 0.15; }
    50%      { transform: scale(1.4); opacity: 0.5; }
}

/* ---------- 2. How: импульсы по прогресс-линии ---------- */
.step__num {
    position: relative;
    overflow: visible;
}
.step__num::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(230, 57, 70, 0.35);
    opacity: 0;
    pointer-events: none;
}
.step.is-active .step__num::after {
    animation: step-ripple 2.4s ease-out infinite;
}
@keyframes step-ripple {
    0%   { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* Бегущая искра по прогресс-линии */
.how__progress-fill {
    position: relative;
}
.how__progress-fill::after {
    content: "";
    position: absolute;
    right: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #FF5C6C;
    border-radius: 50%;
    box-shadow:
        0 0 12px #FF5C6C,
        0 0 24px rgba(230, 57, 70, 0.6),
        0 0 40px rgba(230, 57, 70, 0.3);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
}
.how__progress-fill[style*="width"]::after { opacity: 1; }

/* ---------- 3. Geography: radar sweep за картой ---------- */
.geography {
    position: relative;
    overflow: hidden;
}
.geography__map {
    position: relative;
}
.geography__map::before {
    content: "";
    position: absolute;
    inset: -100px;
    background:
        conic-gradient(from 0deg at 50% 50%,
            transparent 0deg,
            transparent 300deg,
            rgba(230, 57, 70, 0.05) 340deg,
            rgba(230, 57, 70, 0.20) 358deg,
            rgba(255, 90, 100, 0.45) 360deg);
    animation: radar-sweep 8s linear infinite;
    pointer-events: none;
    z-index: 3;
    mix-blend-mode: screen;
    opacity: 0.9;
    border-radius: 50%;
    -webkit-mask: radial-gradient(circle at 50% 50%, #000 0%, #000 55%, transparent 75%);
            mask: radial-gradient(circle at 50% 50%, #000 0%, #000 55%, transparent 75%);
}

@keyframes radar-sweep {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Пульсирующие кольца за картой */
.geography__map::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 40%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(230, 57, 70, 0.28);
    border-radius: 50%;
    animation: geo-ring 5s ease-out infinite;
    pointer-events: none;
    z-index: 3;
}
@keyframes geo-ring {
    0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* ---------- 4. Partners: data-потоки по диагонали ---------- */
.partners-divider {
    position: relative;
    overflow: hidden;
}
.partners-divider__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.partners-divider__decor span {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #FF5C6C;
    border-radius: 50%;
    box-shadow:
        0 0 6px #FF5C6C,
        0 0 12px rgba(230, 57, 70, 0.6);
    opacity: 0;
    animation: data-fly 7s linear infinite;
}
.partners-divider__decor span::before {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(230, 57, 70, 0.6));
    border-radius: 1px;
}
.partners-divider__decor span:nth-child(1)  { top: 12%; left: -10%; animation-delay: 0s; }
.partners-divider__decor span:nth-child(2)  { top: 28%; left: -10%; animation-delay: 1.4s; animation-duration: 8.5s; }
.partners-divider__decor span:nth-child(3)  { top: 44%; left: -10%; animation-delay: 2.8s; animation-duration: 6.5s; }
.partners-divider__decor span:nth-child(4)  { top: 60%; left: -10%; animation-delay: 0.7s; animation-duration: 9s; }
.partners-divider__decor span:nth-child(5)  { top: 76%; left: -10%; animation-delay: 2.1s; animation-duration: 7.5s; }
.partners-divider__decor span:nth-child(6)  { top: 88%; left: -10%; animation-delay: 3.5s; animation-duration: 8s; }

@keyframes data-fly {
    0%   { transform: translateX(0)      translateY(0);    opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { transform: translateX(110vw)  translateY(-24px); opacity: 0; }
}

/* ---------- 5. Hero: усиление сетки (мягкие искры) ---------- */
.hero__sparks {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hero__sparks span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 90, 100, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 90, 100, 0.7);
    animation: spark-float 12s ease-in-out infinite;
}
.hero__sparks span:nth-child(1) { top: 22%; left: 12%;  animation-delay: 0s;   animation-duration: 11s; }
.hero__sparks span:nth-child(2) { top: 68%; left: 28%;  animation-delay: 1.5s; animation-duration: 14s; }
.hero__sparks span:nth-child(3) { top: 35%; left: 52%;  animation-delay: 3s;   animation-duration: 9s; }
.hero__sparks span:nth-child(4) { top: 78%; left: 72%;  animation-delay: 4.5s; animation-duration: 13s; }
.hero__sparks span:nth-child(5) { top: 15%; left: 82%;  animation-delay: 2.2s; animation-duration: 10s; }
.hero__sparks span:nth-child(6) { top: 55%; left: 8%;   animation-delay: 5.5s; animation-duration: 12s; }

@keyframes spark-float {
    0%, 100% { transform: translate(0, 0)        scale(0.8); opacity: 0.3; }
    25%      { transform: translate(20px, -30px) scale(1.2); opacity: 1; }
    50%      { transform: translate(-15px, -60px) scale(0.9); opacity: 0.5; }
    75%      { transform: translate(30px, -90px) scale(1.1); opacity: 0.9; }
}

/* ---------- Отключаем анимации для пользователей с prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .services__decor circle,
    .step__num::after,
    .geography__map::before,
    .geography__map::after,
    .partners-divider__decor span,
    .hero__sparks span {
        animation: none !important;
    }
}

/* ---------- Скрываем тяжёлые декорации на мобильных ---------- */
@media (max-width: 640px) {
    .services__decor { opacity: 0.35; }
    .partners-divider__decor span:nth-child(n+4) { display: none; }
    .hero__sparks span:nth-child(n+5) { display: none; }
}

/* ============================================================
   COMPLEX DECOR  слаботочка: провода, платы, узлы, сигналы
   Всё приглушённое, не мешает контенту
   ============================================================ */

/* ---------- Общие стили для декора ---------- */
[class$="__decor"],
[class*="__decor "] {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    isolation: isolate;
}
[class$="__decor"] svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
[class$="__decor"] .trace {
    fill: none;
    stroke: #E63946;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.10;
}
[class$="__decor"] .trace-thin {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.7;
    opacity: 0.06;
}
[class$="__decor"] .node {
    fill: #E63946;
    opacity: 0.20;
    transform-origin: center;
    transform-box: fill-box;
    animation: nodeGlow 4s ease-in-out infinite;
}
[class$="__decor"] .node:nth-of-type(3n) { animation-delay: -1.3s; }
[class$="__decor"] .node:nth-of-type(5n) { animation-delay: -2.6s; }
[class$="__decor"] .pad {
    fill: #E63946;
    opacity: 0.10;
    animation: padGlow 6s ease-in-out infinite;
}
[class$="__decor"] .pulse-dot {
    fill: #FF5C6C;
    filter: drop-shadow(0 0 4px #FF5C6C);
}
[class$="__decor"] .bus-line {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.6;
    opacity: 0.05;
    stroke-dasharray: 2 4;
}
[class$="__decor"] .signal-wave {
    fill: none;
    stroke: #E63946;
    stroke-width: 1;
    opacity: 0.12;
}
[class$="__decor"] .terminal {
    fill: none;
    stroke: #E63946;
    stroke-width: 1;
    opacity: 0.14;
}
[class$="__decor"] .terminal-dot {
    fill: #E63946;
    opacity: 0.25;
}

@keyframes nodeGlow {
    0%, 100% { opacity: 0.12; transform: scale(0.85); }
    50%      { opacity: 0.42; transform: scale(1.25); }
}
@keyframes padGlow {
    0%, 100% { opacity: 0.06; }
    50%      { opacity: 0.18; }
}

/* ---------- Универсальные сигнальные дуги ---------- */
.signal-arc {
    position: absolute;
    border: 1px solid rgba(230, 57, 70, 0.15);
    border-radius: 50%;
    pointer-events: none;
    animation: signalSpread 5s ease-out infinite;
}
@keyframes signalSpread {
    0%   { transform: scale(0.4); opacity: 0.5; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* ---------- Секции должны иметь relative ---------- */
.hero, .services, .why, .how, .portfolio, .reviews, .contact {
    position: relative;
    overflow: hidden;
}
.hero > .container,
.services > .container,
.why > .container,
.how > .container,
.portfolio > .container,
.reviews > .container,
.contact > .container {
    position: relative;
    z-index: 2;
}

/* ---------- Reviews: сигнальные волны ---------- */
.reviews__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.5;
}

/* ---------- Contact: разъёмы и порты ---------- */
.contact__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.55;
}

/* ---------- Why: матрица сенсоров ---------- */
.why__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.5;
}

/* ---------- How: жгуты кабелей ---------- */
.how__decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
}

/* ---------- Portfolio: мини-разъёмы в углах ---------- */
.portfolio {
    position: relative;
    overflow: hidden;
}
.portfolio::before,
.portfolio::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    border: 1px solid rgba(230, 57, 70, 0.10);
    pointer-events: none;
    z-index: 1;
}
.portfolio::before {
    top: 40px;
    left: 40px;
    border-right: none;
    border-bottom: none;
}
.portfolio::after {
    bottom: 40px;
    right: 40px;
    border-left: none;
    border-top: none;
}

/* ---------- Дополнительные мелкие разъёмы в углах ---------- */
.decor-connector {
    position: absolute;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}
.decor-connector svg {
    width: 100%;
    height: 100%;
}
.decor-connector--tl { top: 32px;    left: 32px;    }
.decor-connector--tr { top: 32px;    right: 32px;   }
.decor-connector--bl { bottom: 32px; left: 32px;    }
.decor-connector--br { bottom: 32px; right: 32px;   }

/* ---------- Скрываем часть декора на мобильных ---------- */
@media (max-width: 768px) {
    [class$="__decor"] { opacity: 0.5 !important; }
    .decor-connector--tr,
    .decor-connector--bl { display: none; }
}
@media (max-width: 480px) {
    [class$="__decor"] { opacity: 0.35 !important; }
    .decor-connector { display: none; }
}

/* ---------- Отключение при reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [class$="__decor"] .node,
    [class$="__decor"] .pad,
    .signal-arc {
        animation: none !important;
    }
}

/* ============================================================
   STATIC DECOR  статичные объекты тематики слаботочки
   Тонкие линии, приглушённые цвета, не мешают контенту
   ============================================================ */

/* ---------- Контейнер углового объекта ---------- */
.tech-obj {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.35;
    transition: opacity .4s var(--ease);
}
.tech-obj svg {
    display: block;
    width: 100%;
    height: 100%;
}
.tech-obj svg * {
    vector-effect: non-scaling-stroke;
}
.tech-obj--stroke svg [stroke] {
    stroke: #E63946;
}
.tech-obj--stroke svg [fill]:not([fill="none"]) {
    fill: #E63946;
}

/* ---------- Размеры ---------- */
.tech-obj--lg { width: 96px;  height: 96px;  opacity: 0.22; }
.tech-obj--md { width: 64px;  height: 64px;  opacity: 0.30; }
.tech-obj--sm { width: 40px;  height: 40px;  opacity: 0.40; }
.tech-obj--xs { width: 28px;  height: 28px;  opacity: 0.45; }

/* ---------- Позиции ---------- */
.tech-obj--tl { top: 40px;    left: 40px;    }
.tech-obj--tr { top: 40px;    right: 40px;   }
.tech-obj--bl { bottom: 40px; left: 40px;    }
.tech-obj--br { bottom: 40px; right: 40px;   }
.tech-obj--tr-far { top: 80px;    right: 8%;   }
.tech-obj--bl-far { bottom: 80px; left: 8%;    }
.tech-obj--br-far { bottom: 80px; right: 8%;   }
.tech-obj--tl-far { top: 80px;    left: 8%;    }

/* ---------- Повороты ---------- */
.tech-obj--rot-90  { transform: rotate(90deg); }
.tech-obj--rot-180 { transform: rotate(180deg); }
.tech-obj--rot-270 { transform: rotate(270deg); }
.tech-obj--flip-x  { transform: scaleX(-1); }
.tech-obj--flip-y  { transform: scaleY(-1); }

/* ---------- Фоновые схемы ---------- */
.tech-scheme {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    opacity: 0.055;
}
.tech-scheme svg {
    display: block;
    width: 100%;
    height: 100%;
}
.tech-scheme svg * {
    stroke: #E63946;
    fill: none;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.tech-scheme svg [data-fill] { fill: #E63946; }

.tech-scheme--tr {
    top: 5%;
    right: 3%;
    width: 380px;
    height: 260px;
}
.tech-scheme--bl {
    bottom: 5%;
    left: 3%;
    width: 400px;
    height: 220px;
}
.tech-scheme--br {
    bottom: 4%;
    right: 4%;
    width: 340px;
    height: 240px;
}

/* ---------- Горизонтальная линия-разделитель с узлами ---------- */
.tech-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    z-index: 1;
    background-image: linear-gradient(90deg, transparent 0%, rgba(230,57,70,0.10) 20%, rgba(230,57,70,0.10) 80%, transparent 100%);
}
.tech-line::before,
.tech-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 5px;
    height: 5px;
    background: #E63946;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}
.tech-line::before { left: 20%; }
.tech-line::after  { right: 20%; }
.tech-line--top    { top: 24px; }
.tech-line--bottom { bottom: 24px; }

/* ---------- Скрытие на мобильных ---------- */
@media (max-width: 992px) {
    .tech-obj--lg,
    .tech-obj--tr-far,
    .tech-obj--bl-far,
    .tech-obj--br-far,
    .tech-obj--tl-far { display: none; }
    .tech-scheme { display: none; }
}
@media (max-width: 640px) {
    .tech-obj--md { display: none; }
    .tech-obj--sm,
    .tech-obj--xs { opacity: 0.25; }
}

/* ---------- Отключение при reduced motion  не нужно, тут статика ---------- */

/* ============================================================
   HERO NETWORK  топология сети на фоне
   ============================================================ */

.hero__network {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    opacity: 0.9;
}
.hero__network svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Соединительные линии */
.hero__network .link {
    fill: none;
    stroke: #E63946;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.18;
}
.hero__network .link-thin {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.12;
}
.hero__network .link-dash {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-dasharray: 3 4;
    opacity: 0.16;
}

/* Устройства */
.hero__network .device {
    fill: none;
    stroke: #E63946;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.32;
}
.hero__network .device-accent {
    fill: none;
    stroke: #FF5C6C;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.5;
}
.hero__network .device-fill {
    fill: #E63946;
    opacity: 0.35;
}
.hero__network .device-dot {
    fill: #E63946;
    opacity: 0.55;
}
.hero__network .device-dot-accent {
    fill: #FF5C6C;
    opacity: 0.75;
}

/* Мерцание ключевых узлов */
.hero__network .node-glow {
    fill: #FF5C6C;
    animation: netNodeGlow 3.5s ease-in-out infinite;
}
.hero__network .node-glow:nth-of-type(2n) { animation-delay: -1.2s; }
.hero__network .node-glow:nth-of-type(3n) { animation-delay: -2.4s; }

@keyframes netNodeGlow {
    0%, 100% { opacity: 0.35; }
    50%      { opacity: 0.9; }
}

/* Прячем часть схемы на средних и мобильных экранах */
@media (max-width: 1200px) {
    .hero__network { opacity: 0.75; }
}
@media (max-width: 992px) {
    .hero__network { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero__network .node-glow { animation: none; opacity: 0.55; }
}

/* ============================================================
   DATA FLOW  импульсы данных, бегущие по проводам
   ============================================================ */

/* Каждый пакет данных  светящаяся точка */
.hero__network .data-packet {
    fill: #FF5C6C;
    opacity: 0.95;
    filter: drop-shadow(0 0 4px #FF5C6C) drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
}
.hero__network .data-packet--soft {
    fill: #E63946;
    opacity: 0.75;
    filter: drop-shadow(0 0 3px #E63946);
}
.hero__network .data-packet--bright {
    fill: #FFB4B9;
    opacity: 1;
    filter: drop-shadow(0 0 5px #FF5C6C) drop-shadow(0 0 12px rgba(230, 57, 70, 0.7));
}
.hero__network .data-packet--tiny {
    fill: #FF5C6C;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px #FF5C6C);
}

@media (prefers-reduced-motion: reduce) {
    .hero__network .data-packet,
    .hero__network .data-packet--soft,
    .hero__network .data-packet--bright,
    .hero__network .data-packet--tiny {
        display: none;
    }
}

/* ============================================================
   FULL DATA FLOW  единые стили схем по всей странице
   ============================================================ */

/* Общий контейнер схемы */
.net-scheme {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.net-scheme svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Линии-провода */
.net-scheme .link {
    fill: none;
    stroke: #E63946;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.16;
}
.net-scheme .link-thin {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.10;
}
.net-scheme .link-dash {
    fill: none;
    stroke: #E63946;
    stroke-width: 0.8;
    stroke-linecap: round;
    stroke-dasharray: 3 4;
    opacity: 0.14;
}

/* Узлы-устройства */
.net-scheme .device {
    fill: none;
    stroke: #E63946;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.30;
}
.net-scheme .device-fill {
    fill: #E63946;
    opacity: 0.28;
}
.net-scheme .device-dot {
    fill: #E63946;
    opacity: 0.5;
}
.net-scheme .device-dot-accent {
    fill: #FF5C6C;
    opacity: 0.7;
}
.net-scheme .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 8px;
    fill: #E63946;
    opacity: 0.45;
    letter-spacing: 1.5px;
}

/* Пакеты данных  те же стили, что в Hero */
.net-scheme .data-packet {
    fill: #FF5C6C;
    opacity: 0.95;
    filter: drop-shadow(0 0 4px #FF5C6C) drop-shadow(0 0 8px rgba(230, 57, 70, 0.6));
}
.net-scheme .data-packet--soft {
    fill: #E63946;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px #E63946);
}
.net-scheme .data-packet--bright {
    fill: #FFB4B9;
    opacity: 1;
    filter: drop-shadow(0 0 5px #FF5C6C) drop-shadow(0 0 12px rgba(230, 57, 70, 0.7));
}
.net-scheme .data-packet--tiny {
    fill: #FF5C6C;
    opacity: 0.65;
    filter: drop-shadow(0 0 3px #FF5C6C);
}
.net-scheme .data-packet--reverse {
    fill: #FF5C6C;
    opacity: 0.7;
    filter: drop-shadow(0 0 3px #FF5C6C);
}

/* Пульсирующие узлы */
.net-scheme .node-glow {
    fill: #FF5C6C;
    animation: netNodeGlow 3.5s ease-in-out infinite;
}
.net-scheme .node-glow:nth-of-type(2n) { animation-delay: -1.2s; }
.net-scheme .node-glow:nth-of-type(3n) { animation-delay: -2.4s; }

/* Настройка позиционирования блоков */
.services, .why, .how, .portfolio, .geography, .reviews, .contact, .partners-divider {
    position: relative;
    overflow: hidden;
}
.services > .container,
.why > .container,
.how > .container,
.portfolio > .container,
.geography > .container,
.reviews > .container,
.contact > .container {
    position: relative;
    z-index: 2;
}

/* Разная прозрачность для светлых / тёмных секций */
.services .net-scheme,
.why .net-scheme,
.portfolio .net-scheme,
.reviews .net-scheme { opacity: 0.85; }

.geography .net-scheme,
.contact .net-scheme,
.how .net-scheme,
.partners-divider .net-scheme { opacity: 1; }

/* Мобильные  скрываем все схемы */
@media (max-width: 992px) {
    .net-scheme { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .net-scheme .data-packet,
    .net-scheme .data-packet--soft,
    .net-scheme .data-packet--bright,
    .net-scheme .data-packet--tiny,
    .net-scheme .data-packet--reverse { display: none; }
    .net-scheme .node-glow { animation: none; opacity: 0.5; }
}

/* ============================================================
   FOOTER PRO  профессиональный многоуровневый футер
   ============================================================ */

.footer-pro {
    background: var(--bg-cosmos);
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 0;
}

/* Верхняя декоративная линия */
.footer-pro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(230, 57, 70, 0.4) 20%,
        rgba(230, 57, 70, 0.4) 80%,
        transparent 100%);
}

/* Мягкое свечение в углу */
.footer-pro::after {
    content: "";
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.06) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.footer-pro > .container {
    position: relative;
    z-index: 1;
}

/* ---------- Верхняя часть: 4 колонки ---------- */
.footer-pro__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 64px;
    padding: 80px 0 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Колонка с логотипом */
.footer-pro__brand {
    max-width: 340px;
}
.footer-pro__logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}
.footer-pro__logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 9px;
    background: #fff;
    padding: 4px;
    display: block;
}
.footer-pro__tagline {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 24px;
    max-width: 320px;
}

/* Статус работаем */
.footer-pro__status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(74, 222, 128, 0.06);
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: var(--r-pill);
    font-size: 12px;
    font-weight: 500;
    color: #86EFAC;
    margin-bottom: 24px;
}
.footer-pro__status::before {
    content: "";
    width: 7px;
    height: 7px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ADE80;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

/* Соцсети */
.footer-pro__socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-pro__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
    transition: all .25s var(--ease);
}
.footer-pro__social svg {
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.7);
    transition: color .25s var(--ease);
}
.footer-pro__social:hover {
    background: var(--red);
    border-color: var(--red);
    transform: translateY(-2px);
}
.footer-pro__social:hover svg { color: #fff; }

/* Колонки с навигацией */
.footer-pro__col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.footer-pro__col-title {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-pro__col a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.4;
    padding: 7px 0;
    transition: all .25s var(--ease);
    position: relative;
    padding-left: 0;
}
.footer-pro__col a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 1px;
    background: var(--red);
    transition: width .3s var(--ease);
    transform: translateY(-50%);
}
.footer-pro__col a:hover {
    color: #fff;
    padding-left: 16px;
}
.footer-pro__col a:hover::before { width: 10px; }

/* Колонка контактов */
.footer-pro__contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer-pro__contact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
    transition: color .25s var(--ease);
}
.footer-pro__contact:hover { color: #fff; }
.footer-pro__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.10);
    border: 1px solid rgba(230, 57, 70, 0.20);
    border-radius: 8px;
    transition: all .25s var(--ease);
}
.footer-pro__contact-icon svg {
    width: 16px;
    height: 16px;
    color: #FF5C6C;
}
.footer-pro__contact:hover .footer-pro__contact-icon {
    background: var(--red);
    border-color: var(--red);
}
.footer-pro__contact:hover .footer-pro__contact-icon svg { color: #fff; }
.footer-pro__contact-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 6px;
}
.footer-pro__contact-label {
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}
.footer-pro__contact-value {
    font-weight: 500;
    color: inherit;
}

/* ---------- Нижняя полоса ---------- */
.footer-pro__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 0;
    flex-wrap: wrap;
}
.footer-pro__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.45);
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    letter-spacing: 0.02em;
}
.footer-pro__legal-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-pro__legal-item::before {
    content: "";
    width: 3px;
    height: 3px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0.6;
    flex-shrink: 0;
}
.footer-pro__legal-item:first-child::before { display: none; }

.footer-pro__links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-pro__links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 12.5px;
    transition: color .25s var(--ease);
    border-bottom: 1px solid transparent;
    padding-bottom: 1px;
}
.footer-pro__links a:hover {
    color: #fff;
    border-bottom-color: var(--red);
}

/* Строка Разработано + стрелка наверх */
.footer-pro__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.35);
}
.footer-pro__up {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-family: 'JetBrains Mono', ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color .25s var(--ease);
}
.footer-pro__up svg {
    width: 14px;
    height: 14px;
    transition: transform .25s var(--ease);
}
.footer-pro__up:hover { color: var(--red); }
.footer-pro__up:hover svg { transform: translateY(-3px); }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .footer-pro__main {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    .footer-pro__brand { max-width: none; grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .footer-pro__main { padding: 64px 0 48px; gap: 40px; }
    .footer-pro__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .footer-pro__legal { flex-direction: column; gap: 6px; }
    .footer-pro__legal-item::before { display: none; }
    .footer-pro__meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .footer-pro__main { grid-template-columns: 1fr; }
    .footer-pro__col-title { margin-bottom: 14px; padding-bottom: 12px; }
}

/* ============================================================
   DEPTH SYSTEM  тени, свечение, визуальное отделение блоков
   Работает и на тёмном фоне (светлая рамка + glow),
   и на светлом (многослойные мягкие тени)
   ============================================================ */

:root {
    /* Многослойные тени для светлых секций */
    --shadow-elev-1: 0 1px 2px rgba(15, 23, 42, 0.04),
                     0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-elev-2: 0 2px 4px rgba(15, 23, 42, 0.04),
                     0 8px 20px -4px rgba(15, 23, 42, 0.08);
    --shadow-elev-3: 0 4px 8px rgba(15, 23, 42, 0.04),
                     0 16px 32px -8px rgba(15, 23, 42, 0.10),
                     0 32px 64px -16px rgba(15, 23, 42, 0.08);
    --shadow-elev-4: 0 4px 8px rgba(15, 23, 42, 0.05),
                     0 20px 40px -10px rgba(15, 23, 42, 0.12),
                     0 48px 80px -24px rgba(15, 23, 42, 0.10);
    --shadow-elev-red: 0 4px 12px rgba(230, 57, 70, 0.08),
                       0 16px 40px -8px rgba(230, 57, 70, 0.12);

    /* Для тёмного фона  светлая рамка + ambient glow */
    --dark-card-border: 1px solid rgba(255, 255, 255, 0.08);
    --dark-card-border-hover: 1px solid rgba(255, 255, 255, 0.16);
    --dark-card-glow: 0 0 0 1px rgba(255, 255, 255, 0.02) inset,
                      0 20px 40px -20px rgba(0, 0, 0, 0.5),
                      0 40px 80px -32px rgba(0, 0, 0, 0.4);
    --dark-card-glow-hover: 0 0 0 1px rgba(255, 255, 255, 0.04) inset,
                            0 30px 60px -24px rgba(0, 0, 0, 0.6),
                            0 60px 100px -32px rgba(0, 0, 0, 0.5),
                            0 0 60px -12px rgba(230, 57, 70, 0.15);
}

/* ============================================================
   HERO  фото серверной стойки получает объём
   ============================================================ */
.hero__image {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 80px 120px -40px rgba(0, 0, 0, 0.5),
        0 0 100px -20px rgba(230, 57, 70, 0.18);
    transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.hero__image:hover {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.10) inset,
        0 50px 100px -24px rgba(0, 0, 0, 0.8),
        0 100px 150px -50px rgba(0, 0, 0, 0.55),
        0 0 120px -16px rgba(230, 57, 70, 0.25);
}

/* ============================================================
   SERVICES  карточки услуг на светлом фоне
   ============================================================ */
.service-card {
    box-shadow: var(--shadow-elev-2);
    border: 1px solid var(--border-light);
    transition: all .4s var(--ease);
}
.service-card:hover {
    box-shadow:
        var(--shadow-elev-4),
        var(--shadow-elev-red);
    border-color: rgba(230, 57, 70, 0.22);
    transform: translateY(-6px);
}

/* ============================================================
   WHY  карточки преимуществ на светлом фоне
   ============================================================ */
.why-card {
    box-shadow: var(--shadow-elev-2);
    border: 1px solid var(--border-light);
    transition: all .4s var(--ease);
}
.why-card:hover {
    box-shadow:
        var(--shadow-elev-3),
        0 12px 32px -8px rgba(230, 57, 70, 0.10);
    transform: translateY(-4px);
    border-color: rgba(230, 57, 70, 0.18);
}

/* ============================================================
   HOW  карточки этапов
   ============================================================ */
.step {
    box-shadow: var(--shadow-elev-2);
    border: 1px solid var(--border-light);
    transition: all .4s var(--ease);
}
.step:hover {
    box-shadow:
        var(--shadow-elev-4),
        0 20px 40px -12px rgba(230, 57, 70, 0.14);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
}
.step.is-active {
    box-shadow:
        var(--shadow-elev-3),
        0 0 0 1px rgba(230, 57, 70, 0.14),
        0 20px 40px -12px rgba(230, 57, 70, 0.10);
}

/* ============================================================
   PORTFOLIO  карточки объектов
   ============================================================ */
.portfolio-item {
    box-shadow: var(--shadow-elev-2);
    transition: all .5s var(--ease);
}
.portfolio-item:hover {
    box-shadow:
        var(--shadow-elev-4),
        0 24px 48px -12px rgba(0, 0, 0, 0.3),
        0 0 40px -8px rgba(230, 57, 70, 0.15);
    transform: translateY(-6px);
}

/* ============================================================
   REVIEWS  карточки отзывов
   ============================================================ */
.review {
    box-shadow: var(--shadow-elev-2);
    border: 1px solid var(--border-light);
    transition: all .4s var(--ease);
}
.review:hover {
    box-shadow:
        var(--shadow-elev-4),
        0 20px 40px -12px rgba(230, 57, 70, 0.10);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.20);
}

/* ============================================================
   CONTACT  карточка контактов (тёмная на светлом)
   ============================================================ */
.contact__info {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 32px 60px -20px rgba(0, 0, 0, 0.35),
        0 60px 100px -40px rgba(0, 0, 0, 0.25),
        0 0 80px -20px rgba(230, 57, 70, 0.10);
    transition: all .5s var(--ease);
}
.contact__info:hover {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 40px 80px -24px rgba(0, 0, 0, 0.4),
        0 80px 120px -48px rgba(0, 0, 0, 0.3),
        0 0 100px -20px rgba(230, 57, 70, 0.15);
}

/* Форма слева  карточка с лёгким отделением */
.contact__form {
    padding: 40px 40px 36px;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-elev-3);
    border: 1px solid var(--border-light);
}
@media (max-width: 992px) {
    .contact__form { padding: 32px 28px 28px; }
}
@media (max-width: 640px) {
    .contact__form { padding: 24px 20px 20px; }
}

/* ============================================================
   ГЕОГРАФИЯ  карточки регионов на тёмном фоне
   ============================================================ */
.geography__region {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 12px 32px -12px rgba(0, 0, 0, 0.4);
    transition: all .4s var(--ease);
}
.geography__region:hover {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 20px 48px -16px rgba(0, 0, 0, 0.55),
        0 0 40px -12px rgba(230, 57, 70, 0.20);
    transform: translateY(-3px);
}

/* Карта  крупная тень */
.geography__map {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 80px 120px -48px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   PARTNERS-DIVIDER  тёмный разделитель
   ============================================================ */
.partners-divider {
    box-shadow:
        0 -20px 40px -20px rgba(0, 0, 0, 0.25),
        0 20px 40px -20px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   FOOTER  отделение от контента
   ============================================================ */
.footer-pro {
    box-shadow: 0 -30px 60px -20px rgba(0, 0, 0, 0.25);
}

/* ============================================================
   ЛОГОТИП (картинка)  небольшой объём
   ============================================================ */
.logo__img {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.2),
        0 4px 12px -4px rgba(0, 0, 0, 0.3);
}
.footer-pro__logo img {
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.3),
        0 8px 20px -6px rgba(0, 0, 0, 0.4);
}

/* ============================================================
   ПЛАВАЮЩИЕ БЕЙДЖИ В HERO  усиление объёма
   ============================================================ */
.hero__float {
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 12px 32px -8px rgba(0, 0, 0, 0.6),
        0 24px 48px -16px rgba(0, 0, 0, 0.4),
        0 0 40px -12px rgba(230, 57, 70, 0.15);
}

/* ============================================================
   СТАТИСТИКА (цифры)  лёгкое свечение под секцией
   ============================================================ */
.stats {
    box-shadow:
        0 30px 60px -30px rgba(0, 0, 0, 0.5),
        0 -30px 60px -30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* ============================================================
   УЛУЧШЕНИЕ ТЁМНЫХ БЛОКОВ  общая рамка и подсветка
   ============================================================ */
.section--dark .container,
.geography > .container {
    position: relative;
}

/* ============================================================
   КАРТОЧКИ В КОЛОНКАХ ФУТЕРА  лёгкая тень
   ============================================================ */
.footer-pro__social {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.footer-pro__social:hover {
    box-shadow: 0 8px 20px -6px rgba(230, 57, 70, 0.4);
}

/* ============================================================
   КНОПКИ  объём
   ============================================================ */
.btn--primary {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 4px 12px -2px rgba(230, 57, 70, 0.35),
        0 12px 28px -6px rgba(230, 57, 70, 0.3);
}
.btn--primary:hover {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 6px 20px -2px rgba(230, 57, 70, 0.5),
        0 20px 40px -8px rgba(230, 57, 70, 0.4),
        0 0 40px -10px rgba(230, 57, 70, 0.3);
}

.btn--outline {
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   MOBILE  уменьшаем интенсивность теней
   ============================================================ */
@media (max-width: 768px) {
    .service-card,
    .why-card,
    .step,
    .review,
    .contact__form {
        box-shadow: var(--shadow-elev-1);
    }
    .hero__image {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.05) inset,
            0 20px 40px -12px rgba(0, 0, 0, 0.6),
            0 0 60px -16px rgba(230, 57, 70, 0.12);
    }
}

/* ============================================================
   DEPTH INTERNAL  тени и глубина для внутренних страниц
   ============================================================ */

/* ---------- Page Hero  отделение от контента ---------- */
.page-hero {
    position: relative;
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 20px 40px -20px rgba(0, 0, 0, 0.6),
        0 40px 80px -32px rgba(0, 0, 0, 0.4);
    z-index: 2;
}
.page-hero::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(230, 57, 70, 0.35) 20%,
        rgba(230, 57, 70, 0.35) 80%,
        transparent 100%);
}

/* ---------- Content Section  карточка ---------- */
.content-section {
    position: relative;
    background: var(--bg-light);
    padding: 80px 0;
}
.content-section > .container {
    position: relative;
    z-index: 1;
}

/* Оборачиваем контент в карточку */
.content-section .content-inner {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 56px 56px 48px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -4px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-light);
}
@media (max-width: 992px) {
    .content-section .content-inner { padding: 40px 32px 36px; }
}
@media (max-width: 640px) {
    .content-section { padding: 48px 0; }
    .content-section .content-inner { padding: 28px 22px 24px; border-radius: var(--r-md); }
}

/* ---------- Карточки услуг на services.html ---------- */
.services .service-card,
section.services .service-card {
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 4px 12px -2px rgba(15, 23, 42, 0.06),
        0 16px 32px -8px rgba(15, 23, 42, 0.08);
    transition: all .4s var(--ease);
}
.services .service-card:hover,
section.services .service-card:hover {
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 40px -10px rgba(15, 23, 42, 0.14),
        0 40px 72px -20px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.18);
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
}

/* ---------- Карточки портфолио на portfolio.html ---------- */
.portfolio .portfolio-item,
section.portfolio .portfolio-item {
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 12px 32px -8px rgba(15, 23, 42, 0.10);
    transition: all .5s var(--ease);
}
.portfolio .portfolio-item:hover,
section.portfolio .portfolio-item:hover {
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.18),
        0 48px 80px -24px rgba(15, 23, 42, 0.12),
        0 0 60px -12px rgba(230, 57, 70, 0.18);
    transform: translateY(-6px);
}

/* ---------- Таблицы (цены, сравнения) ---------- */
.content-section table,
.content-inner table {
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 20px 40px -12px rgba(15, 23, 42, 0.06);
    border: 1px solid var(--border-light);
    background: var(--bg-white);
}
.content-section th,
.content-inner th {
    background: var(--bg-light);
    font-weight: 600;
}
.content-section tr:hover td,
.content-inner tr:hover td {
    background: rgba(230, 57, 70, 0.02);
}

/* ---------- Блоки статей в блоге ---------- */
.content-section article,
.blog-item {
    transition: all .4s var(--ease);
}
.content-section article {
    padding: 32px 36px;
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.content-section article:hover {
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 40px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.12);
    transform: translateY(-3px);
    border-color: rgba(230, 57, 70, 0.16);
}
@media (max-width: 640px) {
    .content-section article { padding: 24px 22px; }
}

/* ---------- Промпты (страница prompts.html) ---------- */
.prompt-card {
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 20px 40px -12px rgba(15, 23, 42, 0.04);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--red);
    transition: all .3s var(--ease);
}
.prompt-card:hover {
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 16px 32px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.12);
    transform: translateY(-2px);
}

/* ---------- Формы на внутренних страницах ---------- */
.content-section form {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
@media (max-width: 640px) {
    .content-section form { padding: 20px 18px; }
}

/* ---------- Список статей в блоге (редакционный) ---------- */
.blog-list {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
}
.blog-item {
    padding-left: 32px;
    padding-right: 32px;
    transition: all .3s var(--ease);
}
.blog-item:hover {
    background: var(--bg-light);
    padding-left: 40px;
}
@media (max-width: 768px) {
    .blog-item { padding-left: 20px; padding-right: 20px; }
    .blog-item:hover { padding-left: 24px; }
}

/* ---------- Тёмные карточки на светлых страницах ---------- */
.page-hero .btn--outline,
.section--dark .btn--outline {
    box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}

/* ---------- Общий контейнер для форм и информационных блоков ---------- */
.page-card {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    padding: 40px;
    border: 1px solid var(--border-light);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
}
@media (max-width: 640px) {
    .page-card { padding: 24px 20px; }
}

/* ---------- Кнопки на внутренних страницах ---------- */
.page-hero .btn--primary {
    box-shadow:
        0 1px 2px rgba(0, 0, 0, 0.1),
        0 6px 16px -4px rgba(230, 57, 70, 0.4),
        0 16px 32px -8px rgba(230, 57, 70, 0.3);
}
.page-hero .btn--primary:hover {
    box-shadow:
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 10px 24px -4px rgba(230, 57, 70, 0.5),
        0 24px 48px -10px rgba(230, 57, 70, 0.4),
        0 0 40px -10px rgba(230, 57, 70, 0.3);
}

/* ---------- CTA-блоки на внутренних страницах ---------- */
.cta-block,
.partners,
.first-step {
    box-shadow:
        0 -20px 40px -20px rgba(0, 0, 0, 0.25),
        0 20px 40px -20px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}

/* ---------- Хлебные крошки (если есть) ---------- */
.breadcrumbs {
    background: var(--bg-light);
    border-radius: var(--r-md);
    padding: 12px 20px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    display: inline-block;
}

/* ---------- Мобильная адаптация теней ---------- */
@media (max-width: 768px) {
    .content-section .content-inner,
    .content-section article,
    .blog-list,
    .page-card {
        box-shadow:
            0 1px 2px rgba(15, 23, 42, 0.04),
            0 4px 12px -4px rgba(15, 23, 42, 0.06);
    }
}

/* ============================================================
   CALCULATOR  интерактивный калькулятор сметы
   ============================================================ */

.calc {
    position: relative;
    padding: 120px 0;
    background: var(--bg-cosmos);
    color: #fff;
    overflow: hidden;
}
.calc::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.10) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.calc > .container { position: relative; z-index: 1; }

.calc__head {
    text-align: center;
    margin-bottom: 64px;
}
.calc__head .section__eyebrow { color: #FF5C6C; }
.calc__head h2 {
    color: #fff;
    font-size: clamp(28px, 3.8vw, 48px);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.calc__head p {
    color: var(--text-on-dark-2);
    font-size: 17px;
    max-width: 640px;
    margin: 0 auto;
}

.calc__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ---------- Левая часть: каталог позиций ---------- */
.calc__catalog {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    backdrop-filter: blur(12px);
}
.calc__catalog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.calc__catalog-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.calc__catalog-title::before {
    content: "";
    width: 6px; height: 6px;
    background: var(--red);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--red);
    animation: pulse-dot 2s infinite;
}
.calc__catalog-hint {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Табы категорий */
.calc__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.calc__tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
}
.calc__tab:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}
.calc__tab.is-active {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    box-shadow: 0 8px 20px -8px var(--red-glow);
}
.calc__tab-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.9;
}
.calc__tab-icon svg { width: 100%; height: 100%; }

/* Сетка позиций */
.calc__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.calc-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all .25s var(--ease);
    text-align: left;
    font-family: inherit;
    color: inherit;
    width: 100%;
    overflow: hidden;
}
.calc-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(230, 57, 70, 0.28);
    transform: translateY(-2px);
}
.calc-item.is-added {
    background: rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.35);
}
.calc-item.is-added::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 3px;
    height: 100%;
    background: var(--red);
}
.calc-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.20);
    border-radius: 10px;
    color: #FF5C6C;
}
.calc-item__icon svg { width: 20px; height: 20px; }
.calc-item__body {
    flex: 1;
    min-width: 0;
}
.calc-item__name {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.35;
    letter-spacing: -0.005em;
}
.calc-item__meta {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.calc-item__price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: #FF5C6C;
    letter-spacing: -0.01em;
}
.calc-item__plus {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.15);
    border-radius: 50%;
    color: var(--red);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    transition: all .25s var(--ease);
}
.calc-item.is-added .calc-item__plus {
    background: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

/* ---------- Правая часть: корзина ---------- */
.calc__cart {
    position: sticky;
    top: 100px;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.08), rgba(230, 57, 70, 0.02));
    border: 1px solid rgba(230, 57, 70, 0.28);
    border-radius: var(--r-lg);
    padding: 28px 26px 24px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}
.calc__cart::before {
    content: "";
    position: absolute;
    top: -40%; right: -30%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.20) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}
.calc__cart > * { position: relative; z-index: 1; }

.calc__cart-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.calc__cart-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
.calc__cart-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--r-pill);
    text-transform: uppercase;
}

.calc__cart-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 20px;
    padding-right: 4px;
}
.calc__cart-list::-webkit-scrollbar { width: 4px; }
.calc__cart-list::-webkit-scrollbar-track { background: rgba(255,255,255,0.04); border-radius: 2px; }
.calc__cart-list::-webkit-scrollbar-thumb { background: rgba(230,57,70,0.5); border-radius: 2px; }

.calc__empty {
    text-align: center;
    padding: 32px 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13.5px;
    line-height: 1.55;
}
.calc__empty-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.35);
}
.calc__empty-icon svg { width: 22px; height: 22px; }

/* Строка позиции в корзине */
.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 13.5px;
}
.cart-row:last-child { border-bottom: none; }
.cart-row__name {
    color: #fff;
    font-weight: 500;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-row__price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    font-weight: 600;
    color: #FF5C6C;
    white-space: nowrap;
}

/* Счётчик +/- */
.cart-qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--r-pill);
    overflow: hidden;
    height: 28px;
}
.cart-qty button {
    width: 26px;
    height: 28px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-qty button:hover { background: rgba(230, 57, 70, 0.4); }
.cart-qty span {
    min-width: 26px;
    text-align: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    user-select: none;
}

/* Итог */
.calc__total {
    padding: 18px 4px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}
.calc__total-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.02em;
}
.calc__total-value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.calc__total-value small {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-left: 4px;
}

.calc__cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.calc__cart-actions .btn {
    width: 100%;
    justify-content: center;
}
.calc__clear {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all .25s var(--ease);
}
.calc__clear:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.calc__note {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.5;
    margin: 14px 0 0;
    text-align: center;
}

/* ---------- Модальное окно отправки ---------- */
.calc-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(11, 13, 16, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.calc-modal.is-open { display: flex; opacity: 1; }
.calc-modal__dialog {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-lg);
    max-width: 480px;
    width: 100%;
    padding: 36px 32px 32px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.calc-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
    cursor: pointer;
    transition: all .2s ease;
}
.calc-modal__close:hover { background: rgba(230, 57, 70, 0.3); color: #fff; }
.calc-modal h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.calc-modal p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
}
.calc-modal .form-field { margin-bottom: 14px; }
.calc-modal .form-field label {
    display: block;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 6px;
    font-weight: 600;
}
.calc-modal .form-field input,
.calc-modal .form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-sm);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    transition: all .2s ease;
}
.calc-modal .form-field input::placeholder,
.calc-modal .form-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.calc-modal .form-field input:focus,
.calc-modal .form-field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.07);
}
.calc-modal .form-field textarea { min-height: 80px; resize: vertical; }

/* ---------- Адаптив ---------- */
@media (max-width: 992px) {
    .calc { padding: 80px 0; }
    .calc__grid { grid-template-columns: 1fr; gap: 24px; }
    .calc__cart { position: static; }
    .calc__items { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .calc { padding: 64px 0; }
    .calc__catalog { padding: 22px 18px; }
    .calc__tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; margin-right: -18px; margin-left: -18px; padding-left: 18px; padding-right: 18px; }
    .calc__tabs::-webkit-scrollbar { height: 3px; }
    .calc__tabs::-webkit-scrollbar-thumb { background: rgba(230,57,70,0.4); border-radius: 2px; }
    .calc-item { padding: 14px; }
    .calc-item__icon { width: 36px; height: 36px; }
    .calc-item__name { font-size: 13.5px; }
    .calc__cart { padding: 24px 20px 20px; }
    .calc__total-value { font-size: 24px; }
    .cart-row { grid-template-columns: 1fr auto; gap: 8px; }
    .cart-row__price { grid-column: 2; }
    .cart-qty { grid-column: 2; }
    .calc-modal__dialog { padding: 28px 22px 24px; }
}

/* ============================================================
   ABOUT PAGE  стили страницы О компании
   ============================================================ */

/* ---------- Stats: цифры компании ---------- */
.about-stats {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.about-stats::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 300px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
}
.about-stats > .container { position: relative; z-index: 1; }
.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.about-stat { text-align: center; }
.about-stat__num {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}
.about-stat__num .suffix {
    color: var(--red);
    -webkit-text-fill-color: var(--red);
}
.about-stat__label {
    font-size: 13px;
    color: var(--text-on-dark-2);
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .about-stats { padding: 56px 0; }
    .about-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}

/* ---------- Values: ценности ---------- */
.about-values {
    padding: 100px 0;
    background: var(--bg-light);
}
.about-values__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.value-card {
    position: relative;
    padding: 36px 32px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
    transition: all .4s var(--ease);
    isolation: isolate;
    overflow: hidden;
}
.value-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.value-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 40px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.14);
    border-color: rgba(230, 57, 70, 0.20);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card__num {
    display: block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--red);
    margin-bottom: 18px;
}
.value-card h3 {
    font-size: 20px;
    margin: 0 0 12px;
    color: var(--text-high);
    letter-spacing: -0.02em;
}
.value-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 992px) { .about-values__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .about-values { padding: 64px 0; }
    .about-values__grid { grid-template-columns: 1fr; }
}

/* ---------- Timeline: история ---------- */
.about-timeline {
    padding: 120px 0;
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}
.about-timeline__inner {
    max-width: 860px;
    margin: 0 auto;
    position: relative;
}
/* Вертикальная линия */
.about-timeline__line {
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--border-light) 8%,
        var(--border-light) 92%,
        transparent 100%);
}
.tl-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 40px;
    padding: 32px 0;
    position: relative;
}
.tl-item::before {
    content: "";
    position: absolute;
    left: 54px;
    top: 44px;
    width: 13px;
    height: 13px;
    background: var(--bg-white);
    border: 3px solid var(--red);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    z-index: 2;
}
.tl-item__year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--red);
    line-height: 1;
    text-align: right;
    padding-top: 6px;
    padding-right: 16px;
}
.tl-item__body {
    padding-left: 60px;
}
.tl-item__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-high);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.tl-item__text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 640px) {
    .about-timeline { padding: 72px 0; }
    .about-timeline__line { left: 20px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
    .tl-item::before { left: 14px; top: 30px; }
    .tl-item__year { text-align: left; padding: 0 0 0 44px; font-size: 18px; }
    .tl-item__body { padding-left: 44px; }
}

/* ---------- Team: команда ---------- */
.about-team {
    padding: 120px 0;
    background: var(--bg-light);
}
.about-team__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.team-card {
    padding: 32px 26px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 40px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.12);
    border-color: rgba(230, 57, 70, 0.20);
}
.team-card__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--red), #B8151A);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    box-shadow: 0 12px 24px -8px var(--red-glow);
}
.team-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-high);
    letter-spacing: -0.015em;
    margin: 0 0 6px;
    line-height: 1.3;
}
.team-card__role {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    display: block;
}
.team-card__desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 992px) { .about-team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .about-team { padding: 72px 0; }
    .about-team__grid { grid-template-columns: 1fr; }
}

/* ---------- Guarantees: гарантии ---------- */
.about-guarantees {
    padding: 120px 0;
    background: var(--bg-white);
}
.about-guarantees__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.guarantee-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    transition: all .3s var(--ease);
}
.guarantee-card:hover {
    background: var(--bg-white);
    box-shadow:
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 20px 40px -12px rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.20);
    transform: translateY(-3px);
}
.guarantee-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: var(--r-sm);
    color: var(--red);
}
.guarantee-card__icon svg { width: 22px; height: 22px; }
.guarantee-card h3 {
    font-size: 17px;
    margin: 0 0 6px;
    color: var(--text-high);
    letter-spacing: -0.015em;
}
.guarantee-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 768px) { .about-guarantees__grid { grid-template-columns: 1fr; } }

/* ---------- Documents: реквизиты и документы ---------- */
.about-docs {
    padding: 120px 0;
    background: var(--bg-light);
}
.about-docs__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
    margin-top: 56px;
}
.about-docs__table {
    background: var(--bg-white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.about-docs__table tr {
    border-bottom: 1px solid var(--border-light);
}
.about-docs__table tr:last-child { border-bottom: none; }
.about-docs__table td {
    padding: 18px 24px;
    font-size: 14.5px;
    line-height: 1.5;
}
.about-docs__table td:first-child {
    width: 220px;
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}
.about-docs__table td:last-child {
    color: var(--text-high);
    font-weight: 500;
}
.about-docs__list {
    background: var(--bg-white);
    padding: 32px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border-light);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.about-docs__list h3 {
    font-size: 15px;
    margin: 0 0 20px;
    color: var(--text-high);
    letter-spacing: -0.01em;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}
.about-docs__list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-docs__list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
}
.about-docs__list li:last-child { border-bottom: none; }
.about-docs__list li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
@media (max-width: 992px) {
    .about-docs__grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- CTA в конце страницы ---------- */
.about-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--red) 0%, #B8151A 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    opacity: 0.10;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.about-cta > .container { position: relative; z-index: 1; }
.about-cta h2 {
    font-size: clamp(28px, 3.8vw, 44px);
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}
.about-cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.about-cta .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.about-cta .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

/* Скрываем стандартные стили content-section для about (мы используем свои блоки) */
body.about-page .content-section { padding: 0; background: transparent; }
body.about-page .content-section > .container { padding: 0; max-width: none; }
body.about-page .content-section .content-inner { padding: 0; box-shadow: none; border: none; background: transparent; }

/* ============================================================
   TIMELINE FIX  корректное позиционирование маркеров
   Точка и линия  между колонкой года и колонкой контента
   ============================================================ */

/* Линия проходит по середине gap между колонкой года и контентом */
.about-timeline__line {
    left: 140px;
}

/* Маркер центрируется на линии (линия 1px, маркер 19px) */
.tl-item::before {
    left: 131px;
    top: 46px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--red);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
    background: var(--bg-white);
}

/* Год  выровнен по правому краю своей колонки, не задевая маркер */
.tl-item__year {
    padding-right: 24px;
}

/* Контент  с нормальным отступом от маркера */
.tl-item__body {
    padding-left: 32px;
}

/* ---------- Адаптив ---------- */
@media (max-width: 768px) {
    /* На планшетах сдвигаем линию и маркер под узкую колонку */
    .about-timeline__line { left: 100px; }
    .tl-item::before { left: 91px; }
    .tl-item__year { padding-right: 20px; font-size: 20px; }
    .tl-item__body { padding-left: 24px; }
}

@media (max-width: 640px) {
    /* Мобильная раскладка  вертикальный таймлайн */
    .about-timeline__line { left: 20px; }
    .tl-item { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
    .tl-item::before {
        left: 14px;
        top: 32px;
        width: 11px;
        height: 11px;
    }
    .tl-item__year {
        padding: 0 0 0 44px;
        text-align: left;
        font-size: 18px;
    }
    .tl-item__body { padding-left: 44px; }
}

/* ============================================================
   ABOUT MOBILE FIX  адаптация страницы под мобильные
   ============================================================ */

/* ---------- Миссия  отдельный блок с правильной адаптацией ---------- */
.about-mission {
    background: var(--bg-white);
    padding: 100px 0;
}
.about-mission .container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}
.about-mission__title {
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 32px;
    color: var(--text-high);
}
.about-mission p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 0 0 20px;
}
.about-mission p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
    .about-mission { padding: 56px 0; }
    .about-mission .container { padding: 0 20px; }
    .about-mission__title {
        font-size: 24px;
        margin-bottom: 24px;
        letter-spacing: -0.025em;
    }
    .about-mission p { font-size: 15px; line-height: 1.65; margin-bottom: 16px; }
}

/* ---------- Глобальная адаптация about-page ---------- */
@media (max-width: 768px) {
    /* Все секции about-page получают компактные отступы */
    .about-stats,
    .about-values,
    .about-timeline,
    .about-team,
    .about-guarantees,
    .about-docs,
    .about-cta {
        padding: 56px 0;
    }

    /* Заголовки секций */
    .about-values .section__head,
    .about-timeline .section__head,
    .about-team .section__head,
    .about-guarantees .section__head,
    .about-docs .section__head {
        margin-bottom: 36px;
    }
    .about-values .section__title,
    .about-timeline .section__title,
    .about-team .section__title,
    .about-guarantees .section__title,
    .about-docs .section__title {
        font-size: 24px;
        line-height: 1.15;
    }
    .about-values .section__subtitle,
    .about-timeline .section__subtitle,
    .about-team .section__subtitle,
    .about-guarantees .section__subtitle,
    .about-docs .section__subtitle {
        font-size: 15px;
    }

    /* Сетка цифр  2 колонки */
    .about-stats__grid { gap: 24px 20px; }
    .about-stat__num { font-size: 36px; }
    .about-stat__label { font-size: 12.5px; }

    /* Карточки ценностей, команды, гарантий  компактнее */
    .value-card { padding: 26px 22px 24px; }
    .value-card h3 { font-size: 18px; }
    .value-card p { font-size: 14px; }

    .team-card { padding: 26px 22px 24px; }
    .team-card__avatar { width: 56px; height: 56px; font-size: 20px; margin-bottom: 18px; }
    .team-card__name { font-size: 16px; }
    .team-card__desc { font-size: 13.5px; }

    .guarantee-card { padding: 22px 20px; gap: 16px; }
    .guarantee-card__icon { width: 42px; height: 42px; }
    .guarantee-card__icon svg { width: 20px; height: 20px; }
    .guarantee-card h3 { font-size: 16px; }
    .guarantee-card p { font-size: 13.5px; }

    /* Реквизиты */
    .about-docs__table td { padding: 14px 18px; font-size: 14px; }
    .about-docs__table td:first-child {
        width: auto;
        display: block;
        padding-bottom: 2px;
        font-size: 11.5px;
    }
    .about-docs__table td:last-child {
        display: block;
        padding-top: 2px;
        padding-bottom: 14px;
    }
    .about-docs__list { padding: 24px 20px; }
    .about-docs__list h3 { font-size: 14px; }
    .about-docs__list li { font-size: 13.5px; padding: 10px 0; }

    /* CTA */
    .about-cta h2 { font-size: 24px; }
    .about-cta p { font-size: 15px; }

    /* Page hero */
    .page-hero { padding: 120px 0 56px; }
    .page-hero h1 { font-size: 30px; line-height: 1.12; }
    .page-hero p { font-size: 15px; line-height: 1.6; }
}

/* ---------- Очень узкие экраны  480px ---------- */
@media (max-width: 480px) {
    .about-stats__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .about-stat__num { font-size: 30px; }
    .about-stat__label { font-size: 11.5px; }

    .about-values__grid,
    .about-team__grid,
    .about-guarantees__grid { gap: 14px; }

    .value-card { padding: 22px 18px 20px; }
    .value-card h3 { font-size: 17px; }
    .team-card { padding: 22px 18px 20px; }
    .guarantee-card { padding: 20px 16px; gap: 14px; }

    .about-mission__title { font-size: 22px; }
    .about-mission p { font-size: 14.5px; }
}

/* ---------- Убираем агрессивный сброс на about-page ---------- */
/* Вместо body.about-page .content-section { padding: 0 }  
   используем только для .content-inner и только там, где не мешает */

body.about-page .content-section { padding: 0; background: transparent; }
body.about-page .content-section > .container {
    padding: 0 40px;
    max-width: 1280px;
}
body.about-page .content-section .content-inner {
    padding: 0;
    box-shadow: none;
    border: none;
    background: transparent;
}

@media (max-width: 768px) {
    body.about-page .content-section > .container { padding: 0 20px; }
}


/* ============================================================
   SCROLL ANIMATIONS  система анимаций при скролле
   Управление через data-scroll="тип"
   ============================================================ */

/* Базовые состояния  элементы скрыты до появления */
[data-scroll] {
    opacity: 0;
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    will-change: opacity, transform;
}
[data-scroll].is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- 1. fade-up (снизу вверх) ---------- */
[data-scroll="fade-up"] {
    transform: translateY(36px);
}

/* ---------- 2. fade-down (сверху вниз) ---------- */
[data-scroll="fade-down"] {
    transform: translateY(-36px);
}

/* ---------- 3. fade-left (появление слева) ---------- */
[data-scroll="fade-left"] {
    transform: translateX(-48px);
}

/* ---------- 4. fade-right (появление справа) ---------- */
[data-scroll="fade-right"] {
    transform: translateX(48px);
}

/* ---------- 5. zoom-in (увеличение) ---------- */
[data-scroll="zoom-in"] {
    transform: scale(.92);
}

/* ---------- 6. zoom-out (сжатие) ---------- */
[data-scroll="zoom-out"] {
    transform: scale(1.06);
}

/* ---------- 7. flip-up (лёгкий поворот) ---------- */
[data-scroll="flip-up"] {
    transform: perspective(1200px) rotateX(-14deg) translateY(28px);
    transform-origin: center bottom;
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

/* ---------- 8. blur-in (размытие  чёткость) ---------- */
[data-scroll="blur-in"] {
    filter: blur(10px);
    transform: translateY(24px);
    transition: opacity .9s var(--ease-out),
                transform .9s var(--ease-out),
                filter .9s var(--ease-out);
}
[data-scroll="blur-in"].is-visible {
    filter: blur(0);
}

/* ---------- Модификаторы задержки ---------- */
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }
[data-delay="6"] { transition-delay: .48s; }
[data-delay="7"] { transition-delay: .56s; }
[data-delay="8"] { transition-delay: .64s; }

/* ============================================================
   PARALLAX  лёгкое движение фона при скролле
   ============================================================ */
[data-parallax] {
    will-change: transform;
}

/* ============================================================
   STAGGERED REVEAL  поочерёдное появление группы
   ============================================================ */

/* Автоматическое появление карточек услуг, преимуществ, шагов */
.stagger-grid > * {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.stagger-grid.is-visible > * {
    opacity: 1;
    transform: translateY(0);
}
/* Задержки для каждого элемента */
.stagger-grid.is-visible > *:nth-child(1) { transition-delay: .05s; }
.stagger-grid.is-visible > *:nth-child(2) { transition-delay: .13s; }
.stagger-grid.is-visible > *:nth-child(3) { transition-delay: .21s; }
.stagger-grid.is-visible > *:nth-child(4) { transition-delay: .29s; }
.stagger-grid.is-visible > *:nth-child(5) { transition-delay: .37s; }
.stagger-grid.is-visible > *:nth-child(6) { transition-delay: .45s; }
.stagger-grid.is-visible > *:nth-child(7) { transition-delay: .53s; }
.stagger-grid.is-visible > *:nth-child(8) { transition-delay: .61s; }

/* ============================================================
   ЗАГОЛОВКИ СЕКЦИЙ  эффект появления
   ============================================================ */
.section__head {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.section__head.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.section__head .section__eyebrow {
    transition: opacity .6s var(--ease-out) .1s;
    opacity: 0;
}
.section__head.is-visible .section__eyebrow {
    opacity: 1;
}
.section__head .section__title {
    transition: opacity .8s var(--ease-out) .15s, transform .8s var(--ease-out) .15s;
    opacity: 0;
    transform: translateY(20px);
}
.section__head.is-visible .section__title {
    opacity: 1;
    transform: translateY(0);
}
.section__head .section__subtitle {
    transition: opacity .8s var(--ease-out) .25s, transform .8s var(--ease-out) .25s;
    opacity: 0;
    transform: translateY(16px);
}
.section__head.is-visible .section__subtitle {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   ПАРАЛЛАКС ДЛЯ ГЕРОЯ
   ============================================================ */
.hero__content {
    transition: transform .1s linear;
}

/* ============================================================
   СЧЁТЧИК  лёгкая пульсация при появлении
   ============================================================ */
.stat__num.is-visible,
.about-stat__num.is-visible {
    animation: counter-pop .6s var(--ease-out);
}
@keyframes counter-pop {
    0% { transform: scale(1); }
    40% { transform: scale(1.08); }
    100% { transform: scale(1); }
}

/* ============================================================
   КАРТОЧКИ ПОРТФОЛИО  индивидуальное появление
   ============================================================ */
.portfolio-item {
    opacity: 0;
    transform: translateY(40px) scale(.96);
    transition: opacity .8s var(--ease-out),
                transform .8s var(--ease-out),
                box-shadow .5s var(--ease);
}
.portfolio-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.portfolio-item.is-visible:hover {
    transform: translateY(-6px) scale(1);
}
.portfolio-item.is-visible:nth-child(2) { transition-delay: .1s; }
.portfolio-item.is-visible:nth-child(3) { transition-delay: .2s; }
.portfolio-item.is-visible:nth-child(4) { transition-delay: .3s; }
.portfolio-item.is-visible:nth-child(5) { transition-delay: .4s; }
.portfolio-item.is-visible:nth-child(6) { transition-delay: .5s; }

/* ============================================================
   ЛИНИЯ-ПРОГРЕСС ПРИ СКРОЛЛЕ (сверху страницы)
   ============================================================ */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    box-shadow: 0 0 12px var(--red-glow);
    z-index: 2000;
    transition: width .05s linear;
    pointer-events: none;
}

/* ============================================================
   КАРТА  появление
   ============================================================ */
.geography__map {
    opacity: 0;
    transform: scale(.97);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.geography__map.is-visible {
    opacity: 1;
    transform: scale(1);
}

.geography__region {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.geography__region.is-visible {
    opacity: 1;
    transform: translateX(0);
}
.geography__region.is-visible:nth-child(2) { transition-delay: .1s; }
.geography__region.is-visible:nth-child(3) { transition-delay: .2s; }

/* ============================================================
   HERO  появление элементов по очереди при загрузке
   ============================================================ */
.hero__badge,
.hero h1,
.hero__subtitle,
.hero__buttons,
.hero__features {
    opacity: 0;
    transform: translateY(24px);
    animation: heroReveal .9s var(--ease-out) forwards;
}
.hero__badge    { animation-delay: .1s; }
.hero h1        { animation-delay: .25s; }
.hero__subtitle { animation-delay: .4s; }
.hero__buttons  { animation-delay: .55s; }
.hero__features { animation-delay: .7s; }

.hero__image-wrap {
    opacity: 0;
    transform: translateY(40px) scale(.98);
    animation: heroReveal .9s var(--ease-out) .3s forwards;
}

@keyframes heroReveal {
    to { opacity: 1; transform: none; }
}

/* ---------- Отключение анимаций для reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    [data-scroll],
    .stagger-grid > *,
    .section__head,
    .portfolio-item,
    .geography__map,
    .geography__region,
    .hero__badge,
    .hero h1,
    .hero__subtitle,
    .hero__buttons,
    .hero__features,
    .hero__image-wrap {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }
    .scroll-progress { display: none; }
}

/* ============================================================
   FIX HERO + SCROLL  отменяем пропадание контента
   ============================================================ */

/* ---------- 1. Переопределяем: сбрасываем opacity: 0 у hero ---------- */
.hero__badge,
.hero h1,
.hero__subtitle,
.hero__buttons,
.hero__features,
.hero__image-wrap {
    opacity: 1;
    transform: none;
    /* Явный cubic-bezier вместо var(--ease-out)  чтобы анимация работала надёжно */
}

.hero__badge,
.hero h1,
.hero__subtitle,
.hero__buttons,
.hero__features {
    animation-name: heroRevealFixed;
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    animation-fill-mode: both;
}
.hero__badge    { animation-delay: .10s; }
.hero h1        { animation-delay: .25s; }
.hero__subtitle { animation-delay: .40s; }
.hero__buttons  { animation-delay: .55s; }
.hero__features { animation-delay: .70s; }

.hero__image-wrap {
    animation-name: heroRevealFixed;
    animation-duration: .9s;
    animation-timing-function: cubic-bezier(.16, 1, .3, 1);
    animation-delay: .30s;
    animation-fill-mode: both;
}

@keyframes heroRevealFixed {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero__image-wrap {
    animation-name: heroRevealImgFixed !important;
}
@keyframes heroRevealImgFixed {
    from { opacity: 0; transform: translateY(40px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 2. Если <html> без .js  сразу показываем всё ---------- */
html:not(.js) [data-scroll],
html:not(.js) .stagger-grid > *,
html:not(.js) .section__head,
html:not(.js) .section__head .section__eyebrow,
html:not(.js) .section__head .section__title,
html:not(.js) .section__head .section__subtitle,
html:not(.js) .portfolio-item,
html:not(.js) .geography__map,
html:not(.js) .geography__region {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
}

/* ---------- 3. Отключаем var() в transition/animation у scroll-блока ---------- */
[data-scroll] {
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
}
.section__head {
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
}
.section__head .section__eyebrow {
    transition: opacity .6s cubic-bezier(.16, 1, .3, 1) .1s;
}
.section__head .section__title {
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1) .15s,
                transform .8s cubic-bezier(.16, 1, .3, 1) .15s;
}
.section__head .section__subtitle {
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1) .25s,
                transform .8s cubic-bezier(.16, 1, .3, 1) .25s;
}
.stagger-grid > * {
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
                transform .8s cubic-bezier(.16, 1, .3, 1);
}
.portfolio-item {
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
                transform .8s cubic-bezier(.16, 1, .3, 1),
                box-shadow .5s cubic-bezier(.22, 1, .36, 1);
}
.geography__map,
.geography__region {
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 4. Хедер  плотнее, чтобы паттерн не просвечивал ---------- */
.header__inner {
    background: rgba(11, 13, 16, 0.94);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
}
.header.is-scrolled .header__inner {
    background: rgba(11, 13, 16, 0.98);
}

/* Закрываем верхний зазор между хедером и краем окна */
.header::before {
    content: "";
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
    background: var(--bg-cosmos);
    pointer-events: none;
}

/* ---------- 5. Маскируем верх hero-сети (за хедером) ---------- */
.hero__network {
    -webkit-mask-image: linear-gradient(180deg,
        transparent 0%,
        transparent 80px,
        #000 220px);
    mask-image: linear-gradient(180deg,
        transparent 0%,
        transparent 80px,
        #000 220px);
}

/* ---------- 6. Отключаем все анимации при prefers-reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .hero__badge,
    .hero h1,
    .hero__subtitle,
    .hero__buttons,
    .hero__features,
    .hero__image-wrap {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================================
   EMERGENCY FIX  принудительная видимость + чистый хедер
   Этот блок в конце файла, перекрывает все предыдущие правила
   ============================================================ */

/* ---------- 1. ПОКАЗЫВАЕМ ВСЁ, ЧТО БЫЛО СКРЫТО ---------- */
[data-scroll],
.section__head,
.section__head .section__eyebrow,
.section__head .section__title,
.section__head .section__subtitle,
.stagger-grid > *,
.stagger-grid.is-visible > *,
.portfolio-item,
.portfolio-item.is-visible,
.geography__map,
.geography__map.is-visible,
.geography__region,
.geography__region.is-visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
}

/* ---------- 2. HERO  тоже показываем всё сразу ---------- */
.hero__badge,
.hero h1,
.hero__subtitle,
.hero__buttons,
.hero__features,
.hero__image-wrap {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

/* Отключаем прогресс-бар вверху  он не нужен, если скролл-анимаций нет */
.scroll-progress {
    display: none !important;
}

/* ---------- 3. ХЕДЕР  убираем картинку из фона ---------- */

/* 3.1. Убираем bg-tech.jpg из фона hero::before */
.hero::before {
    background:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(230, 57, 70, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(230, 57, 70, 0.08) 0%, transparent 60%) !important;
    background-image:
        radial-gradient(ellipse 80% 60% at 85% 20%, rgba(230, 57, 70, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 10% 90%, rgba(230, 57, 70, 0.08) 0%, transparent 60%) !important;
    opacity: 1 !important;
}

/* 3.2. Маскируем SVG-схему сети в верхней зоне  она попадает под хедер */
.hero__network {
    -webkit-mask-image: linear-gradient(180deg,
        transparent 0px,
        transparent 120px,
        black 260px) !important;
    mask-image: linear-gradient(180deg,
        transparent 0px,
        transparent 120px,
        black 260px) !important;
}

/* 3.3. Хедер  плотный фон, паттерн не просвечивает */
.header__inner {
    background: rgba(11, 13, 16, 0.96) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* 3.4. Закрываем верхний зазор 16px над хедером */
.header::before {
    content: "";
    position: absolute;
    top: -16px;
    left: -8px;
    right: -8px;
    height: 16px;
    background: var(--bg-cosmos);
    pointer-events: none;
}

/* ---------- 4. Убираем декоративные схемы в hero, если они мешают ---------- */
.hero__network {
    opacity: 0.7 !important;
}

/* ---------- 5. Параллакс тоже отключаем (не нужен без скролл-анимаций) ---------- */
.hero__content,
.hero__image-wrap {
    transform: none !important;
}

/* ============================================================
   SAFE SCROLL ANIMATIONS v2
   CSS НЕ скрывает элементы. Всё скрытие делает JS через .will-animate
   Если JS не работает  контент виден без анимации.
   ============================================================ */

/* Когда JS активировал элемент, но он ещё не в viewport  скрываем */
.will-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
}
.will-animate[data-scroll="fade-left"]   { transform: translateX(-50px); }
.will-animate[data-scroll="fade-right"]  { transform: translateX(50px); }
.will-animate[data-scroll="zoom-in"]     { transform: scale(.93); }
.will-animate[data-scroll="blur-in"]     {
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1),
                filter .9s cubic-bezier(.16, 1, .3, 1);
}

/* Когда элемент становится видимым  возвращаем в норму */
.will-animate.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* ---------- Задержки ---------- */
.will-animate[data-delay="1"] { transition-delay: .08s; }
.will-animate[data-delay="2"] { transition-delay: .16s; }
.will-animate[data-delay="3"] { transition-delay: .24s; }
.will-animate[data-delay="4"] { transition-delay: .32s; }
.will-animate[data-delay="5"] { transition-delay: .40s; }
.will-animate[data-delay="6"] { transition-delay: .48s; }

/* ---------- Stagger: карточки внутри .stagger-grid ---------- */
.stagger-grid.will-animate > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
}
.stagger-grid.is-visible > * {
    opacity: 1;
    transform: none;
}
.stagger-grid.is-visible > *:nth-child(1) { transition-delay: .04s; }
.stagger-grid.is-visible > *:nth-child(2) { transition-delay: .12s; }
.stagger-grid.is-visible > *:nth-child(3) { transition-delay: .20s; }
.stagger-grid.is-visible > *:nth-child(4) { transition-delay: .28s; }
.stagger-grid.is-visible > *:nth-child(5) { transition-delay: .36s; }
.stagger-grid.is-visible > *:nth-child(6) { transition-delay: .44s; }

/* ---------- Section head  появление по частям ---------- */
.section__head.will-animate .section__eyebrow,
.section__head.will-animate .section__title,
.section__head.will-animate .section__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
}
.section__head.is-visible .section__eyebrow {
    opacity: 1;
    transform: none;
    transition-delay: .05s;
}
.section__head.is-visible .section__title {
    opacity: 1;
    transform: none;
    transition-delay: .15s;
}
.section__head.is-visible .section__subtitle {
    opacity: 1;
    transform: none;
    transition-delay: .25s;
}
/* Сам блок section__head НЕ двигаем, чтобы не было рывка */
.section__head.will-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* ---------- Портфолио  карточки ---------- */
.portfolio-item.will-animate {
    opacity: 0;
    transform: translateY(36px) scale(.97);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
                transform .8s cubic-bezier(.16, 1, .3, 1),
                box-shadow .45s cubic-bezier(.22, 1, .36, 1);
}
.portfolio-item.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.portfolio-item.will-animate.is-visible:nth-child(2) { transition-delay: .08s; }
.portfolio-item.will-animate.is-visible:nth-child(3) { transition-delay: .16s; }
.portfolio-item.will-animate.is-visible:nth-child(4) { transition-delay: .24s; }
.portfolio-item.will-animate.is-visible:nth-child(5) { transition-delay: .32s; }
.portfolio-item.will-animate.is-visible:nth-child(6) { transition-delay: .40s; }

/* ---------- Прогресс-бар ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.6);
    z-index: 2000;
    pointer-events: none;
    transition: width .08s linear;
}

/* ---------- Параллакс ---------- */
.hero__content,
.hero__image-wrap {
    will-change: transform;
}

/* ---------- Отключение при reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .will-animate,
    .stagger-grid.will-animate > *,
    .section__head.will-animate .section__eyebrow,
    .section__head.will-animate .section__title,
    .section__head.will-animate .section__subtitle,
    .portfolio-item.will-animate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .scroll-progress { display: none !important; }
}

/* ============================================================
   CLEAN SCROLL ANIMATIONS  финальная версия
   ============================================================ */

/* Скрытое состояние  только у элементов, которым JS навесил will-animate */
.will-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1);
    will-change: opacity, transform;
}
.will-animate[data-scroll="fade-left"]  { transform: translateX(-50px); }
.will-animate[data-scroll="fade-right"] { transform: translateX(50px); }
.will-animate[data-scroll="zoom-in"]    { transform: scale(.93); }
.will-animate[data-scroll="blur-in"] {
    transform: translateY(30px);
    filter: blur(10px);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1),
                transform .9s cubic-bezier(.16, 1, .3, 1),
                filter .9s cubic-bezier(.16, 1, .3, 1);
}

/* Видимое состояние */
.will-animate.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Задержки для одиночных элементов */
.will-animate[data-delay="1"] { transition-delay: .08s; }
.will-animate[data-delay="2"] { transition-delay: .16s; }
.will-animate[data-delay="3"] { transition-delay: .24s; }
.will-animate[data-delay="4"] { transition-delay: .32s; }

/* ---------- Section head  появление по частям ---------- */
.section__head.will-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}
.section__head.will-animate .section__eyebrow,
.section__head.will-animate .section__title,
.section__head.will-animate .section__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
}
.section__head.is-visible .section__eyebrow {
    opacity: 1;
    transform: none;
    transition-delay: .05s;
}
.section__head.is-visible .section__title {
    opacity: 1;
    transform: none;
    transition-delay: .15s;
}
.section__head.is-visible .section__subtitle {
    opacity: 1;
    transform: none;
    transition-delay: .25s;
}

/* ---------- Stagger-сетки ---------- */
.stagger-grid.will-animate > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.16, 1, .3, 1),
                transform .7s cubic-bezier(.16, 1, .3, 1);
}
.stagger-grid.is-visible > * {
    opacity: 1;
    transform: none;
}
.stagger-grid.is-visible > *:nth-child(1) { transition-delay: .04s; }
.stagger-grid.is-visible > *:nth-child(2) { transition-delay: .12s; }
.stagger-grid.is-visible > *:nth-child(3) { transition-delay: .20s; }
.stagger-grid.is-visible > *:nth-child(4) { transition-delay: .28s; }
.stagger-grid.is-visible > *:nth-child(5) { transition-delay: .36s; }
.stagger-grid.is-visible > *:nth-child(6) { transition-delay: .44s; }

/* ---------- Портфолио ---------- */
.portfolio-item.will-animate {
    opacity: 0;
    transform: translateY(36px) scale(.97);
    transition: opacity .8s cubic-bezier(.16, 1, .3, 1),
                transform .8s cubic-bezier(.16, 1, .3, 1),
                box-shadow .45s cubic-bezier(.22, 1, .36, 1);
}
.portfolio-item.will-animate.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---------- Прогресс-бар ---------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    box-shadow: 0 0 12px rgba(230, 57, 70, 0.6);
    z-index: 2000;
    pointer-events: none;
    transition: width .08s linear;
}

/* ---------- Отключаем при reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .will-animate,
    .stagger-grid.will-animate > *,
    .section__head.will-animate .section__eyebrow,
    .section__head.will-animate .section__title,
    .section__head.will-animate .section__subtitle,
    .portfolio-item.will-animate {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
    }
    .scroll-progress { display: none !important; }
}

/* ============================================================
   HEADER FIX  убираем чёрную полосу над хедером
   ============================================================ */

/* 1. Полностью удаляем псевдоэлемент, создававший чёрную полосу */
.header::before {
    display: none !important;
    content: none !important;
}

/* 2. Хедер прижимается ближе к верху  зазор 8px вместо 16px */
.header {
    top: 8px !important;
    width: calc(100% - 24px) !important;
}

/* 3. Прогресс-бар не перекрывает хедер */
.scroll-progress {
    z-index: 2100;
}

/* 4. Убираем возможные артефакты сверху страницы */
body::before { display: none !important; }
body::after  { display: none !important; }

/* 5. Мобильные  то же самое */
@media (max-width: 640px) {
    .header {
        top: 6px !important;
        width: calc(100% - 16px) !important;
    }
}

/* ============================================================
   PORTFOLIO PAGE  премиальная страница портфолио
   ============================================================ */

/* ---------- Статистика сверху ---------- */
.pf-stats {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 72px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.pf-stats::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 300px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
}
.pf-stats > .container { position: relative; z-index: 1; }
.pf-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.pf-stat { text-align: center; }
.pf-stat__num {
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.pf-stat__num .suffix {
    color: var(--red);
    -webkit-text-fill-color: var(--red);
}
.pf-stat__label {
    font-size: 13px;
    color: var(--text-on-dark-2);
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .pf-stats { padding: 48px 0; }
    .pf-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .pf-stat__num { font-size: 34px; }
}

/* ---------- Секция с фильтрами и карточками ---------- */
.pf-section {
    padding: 96px 0;
    background: var(--bg-light);
}
.pf-section__head {
    text-align: center;
    margin-bottom: 48px;
}
.pf-section__head .section__title { margin-bottom: 16px; }
.pf-section__head .section__subtitle { margin: 0 auto; }

/* Фильтры */
.portfolio__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 48px;
}
.portfolio__filter {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .25s var(--ease);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.portfolio__filter:hover {
    color: var(--text-high);
    border-color: #CBD2DD;
    transform: translateY(-1px);
}
.portfolio__filter.is-active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 8px 20px -6px var(--red-glow);
}
.portfolio__filter-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    padding: 2px 7px;
    border-radius: var(--r-pill);
    background: var(--bg-light);
    color: var(--text-muted);
    transition: all .25s var(--ease);
}
.portfolio__filter.is-active .portfolio__filter-count {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ---------- Расширенная сетка карточек ---------- */
.pf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Карточка проекта */
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
    transition: all .45s var(--ease);
    text-decoration: none;
    color: inherit;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.16),
        0 48px 80px -24px rgba(15, 23, 42, 0.10),
        0 0 60px -20px rgba(230, 57, 70, 0.15);
    border-color: rgba(230, 57, 70, 0.22);
}

/* Фото проекта */
.project-card__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-cosmos);
}
.project-card__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.project-card:hover .project-card__image img {
    transform: scale(1.06);
}

/* Тег категории */
.project-card__tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    color: var(--text-high);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    z-index: 2;
    transition: all .3s var(--ease);
}
.project-card__tag::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
}
.project-card:hover .project-card__tag {
    background: var(--red);
    color: #fff;
}
.project-card:hover .project-card__tag::before { background: #fff; }

/* Год проекта */
.project-card__year {
    position: absolute;
    top: 16px;
    right: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: #fff;
    padding: 5px 10px;
    background: rgba(11, 13, 16, 0.65);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--r-pill);
    z-index: 2;
}

/* Контент карточки */
.project-card__body {
    padding: 28px 28px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.project-card__title {
    font-size: 19px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0 0 10px;
    font-weight: 700;
}
.project-card__desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 20px;
    flex: 1;
}

/* Метрики проекта */
.project-card__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-light);
    margin-bottom: 18px;
}
.project-metric {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.project-metric svg {
    width: 14px;
    height: 14px;
    color: var(--red);
    flex-shrink: 0;
}
.project-metric strong {
    color: var(--text-high);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* Список технологий */
.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}
.project-tech {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(230, 57, 70, 0.08);
    color: var(--red);
    border: 1px solid rgba(230, 57, 70, 0.18);
}

/* Ссылка Подробнее */
.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-high);
    transition: all .3s var(--ease);
}
.project-card__link svg {
    width: 14px;
    height: 14px;
    transition: transform .3s var(--ease);
}
.project-card:hover .project-card__link {
    color: var(--red);
}
.project-card:hover .project-card__link svg {
    transform: translateX(4px);
}

@media (max-width: 992px) {
    .pf-grid { grid-template-columns: 1fr; }
    .pf-section { padding: 72px 0; }
}
@media (max-width: 640px) {
    .project-card__body { padding: 22px 20px 20px; }
    .project-card__title { font-size: 17px; }
    .project-card__desc { font-size: 14px; }
}

/* ---------- FEATURED CASE  большой кейс ---------- */
.featured-case {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
.featured-case::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.10) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.featured-case > .container { position: relative; z-index: 1; }

.featured-case__head {
    margin-bottom: 56px;
    max-width: 900px;
}
.featured-case__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FF5C6C;
    margin-bottom: 24px;
}
.featured-case__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #FF5C6C;
}
.featured-case__title {
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0;
    font-weight: 700;
}

.featured-case__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: start;
}

.featured-case__image {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 40px 80px -20px rgba(0, 0, 0, 0.7),
        0 80px 120px -48px rgba(0, 0, 0, 0.5),
        0 0 100px -30px rgba(230, 57, 70, 0.20);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.featured-case__image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* Структура: задача / решение / результат */
.featured-case__steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.fc-step {
    padding-left: 24px;
    border-left: 2px solid rgba(230, 57, 70, 0.3);
    position: relative;
}
.fc-step::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--red);
    border: 3px solid var(--bg-cosmos);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(230, 57, 70, 0.4);
}
.fc-step__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    display: block;
    margin-bottom: 8px;
}
.fc-step__text {
    font-size: 15.5px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

/* Метрики кейса */
.featured-case__metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.fc-metric {
    text-align: left;
}
.fc-metric__num {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}
.fc-metric__num .accent { color: var(--red); }
.fc-metric__label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}

/* Отзыв клиента */
.featured-case__review {
    margin-top: 40px;
    padding: 24px 28px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid var(--red);
    border-radius: var(--r-md);
    backdrop-filter: blur(10px);
}
.featured-case__review p {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
    margin: 0 0 12px;
    font-style: italic;
}
.featured-case__review cite {
    font-style: normal;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

@media (max-width: 992px) {
    .featured-case { padding: 80px 0; }
    .featured-case__grid { grid-template-columns: 1fr; gap: 40px; }
    .featured-case__metrics { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .featured-case { padding: 64px 0; }
    .featured-case__title { font-size: 24px; }
    .featured-case__metrics { grid-template-columns: 1fr; gap: 20px; }
    .fc-metric__num { font-size: 26px; }
    .featured-case__review { padding: 20px 22px; }
}

/* ---------- География проектов ---------- */
.pf-geography {
    background: var(--bg-white);
    padding: 96px 0;
}
.pf-geography__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: center;
    margin-top: 48px;
}
.pf-geography__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pf-geo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    background: var(--bg-light);
    border-radius: var(--r-md);
    border: 1px solid var(--border-light);
    transition: all .3s var(--ease);
}
.pf-geo-item:hover {
    border-color: rgba(230, 57, 70, 0.22);
    background: var(--bg-white);
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.1);
    transform: translateX(4px);
}
.pf-geo-item__city {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-high);
    letter-spacing: -0.01em;
}
.pf-geo-item__count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    background: rgba(230, 57, 70, 0.10);
    color: var(--red);
    border: 1px solid rgba(230, 57, 70, 0.18);
    white-space: nowrap;
}
.pf-geography__map {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.04),
        0 20px 40px -10px rgba(15, 23, 42, 0.10);
}
.pf-geography__map img { display: block; width: 100%; height: auto; }
@media (max-width: 992px) {
    .pf-geography { padding: 72px 0; }
    .pf-geography__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
    .pf-geo-item { padding: 14px 18px; }
    .pf-geo-item__city { font-size: 14px; }
}

/* ---------- CTA в конце ---------- */
.pf-cta {
    background: linear-gradient(135deg, var(--red) 0%, #B8151A 100%);
    color: #fff;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pf-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    opacity: 0.10;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.pf-cta > .container { position: relative; z-index: 1; }
.pf-cta h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.pf-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.pf-cta .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.pf-cta .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   PRICES PAGE  стили страницы Цены
   ============================================================ */

/* ---------- Популярные пакеты ---------- */
.pkgs-section {
    padding: 96px 0;
    background: var(--bg-light);
}
.pkgs-head {
    text-align: center;
    margin-bottom: 56px;
}
.pkgs-head .section__title { margin-bottom: 16px; }
.pkgs-head .section__subtitle { margin: 0 auto; }

.pkgs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Карточка пакета */
.pkg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 24px 48px -16px rgba(15, 23, 42, 0.06);
    transition: all .45s var(--ease);
    overflow: hidden;
    isolation: isolate;
}
.pkg-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
    z-index: 2;
}
.pkg-card:hover::before { transform: scaleX(1); }
.pkg-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.22);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.14),
        0 40px 72px -20px rgba(15, 23, 42, 0.10),
        0 0 60px -20px rgba(230, 57, 70, 0.16);
}

/* Пакет с бейджем Хит */
.pkg-card--featured {
    border-color: rgba(230, 57, 70, 0.28);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 12px 32px -10px rgba(230, 57, 70, 0.14),
        0 32px 64px -20px rgba(15, 23, 42, 0.10);
}
.pkg-card__badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--red);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    box-shadow: 0 6px 16px -4px var(--red-glow);
    z-index: 3;
}
.pkg-card__badge::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

.pkg-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: var(--r-md);
    color: var(--red);
}
.pkg-card__icon svg { width: 26px; height: 26px; }

.pkg-card__name {
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0 0 8px;
    font-weight: 700;
}
.pkg-card__for {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0 0 22px;
    line-height: 1.5;
}

/* Цена */
.pkg-card__price-block {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 20px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--border-light);
}
.pkg-card__price {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-high);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.pkg-card__price small {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 2px;
}
.pkg-card__price-note {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--red);
    padding: 4px 8px;
    border: 1px solid rgba(230, 57, 70, 0.24);
    border-radius: var(--r-pill);
    white-space: nowrap;
}

/* Что входит */
.pkg-card__includes {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    flex: 1;
}
.pkg-card__includes li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-muted);
}
.pkg-card__includes li::before {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

.pkg-card__cta {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-pill);
    text-decoration: none;
    cursor: pointer;
    transition: all .3s var(--ease);
    background: var(--bg-light);
    color: var(--text-high);
    border: 1px solid var(--border-light);
}
.pkg-card__cta:hover {
    background: var(--text-high);
    color: #fff;
    border-color: var(--text-high);
}
.pkg-card--featured .pkg-card__cta {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 10px 24px -8px var(--red-glow);
}
.pkg-card--featured .pkg-card__cta:hover {
    background: var(--red-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px -8px var(--red-glow);
}

@media (max-width: 992px) { .pkgs-grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
    .pkgs-section { padding: 64px 0; }
    .pkg-card { padding: 28px 22px 24px; }
    .pkg-card__price { font-size: 28px; }
}

/* ---------- Расширенная таблица цен ---------- */
.prices-table-section {
    padding: 96px 0;
    background: var(--bg-white);
}
.prices-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}
.prices-tab {
    padding: 10px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .25s var(--ease);
}
.prices-tab:hover { color: var(--text-high); border-color: #CBD2DD; }
.prices-tab.is-active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 8px 20px -6px var(--red-glow);
}

.prices-panel { display: none; }
.prices-panel.is-active { display: block; }

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
}
.prices-table th {
    background: var(--bg-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
}
.prices-table td {
    padding: 18px 24px;
    font-size: 15px;
    color: var(--text-high);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.prices-table tbody tr:last-child td { border-bottom: none; }
.prices-table tbody tr:hover td {
    background: rgba(230, 57, 70, 0.02);
}
.prices-table td:first-child {
    font-weight: 500;
}
.prices-table td:last-child {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--red);
    white-space: nowrap;
}
.prices-table td .unit {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    margin-top: 2px;
}
.prices-table th:last-child { text-align: right; }

@media (max-width: 768px) {
    .prices-table-section { padding: 64px 0; }
    .prices-table th { padding: 14px 16px; font-size: 10px; }
    .prices-table td { padding: 14px 16px; font-size: 14px; }
    .prices-table td:first-child { padding-right: 8px; }
}

/* ---------- Что входит в стоимость ---------- */
.prices-includes {
    padding: 96px 0;
    background: var(--bg-light);
}
.prices-includes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}
.include-card {
    padding: 28px 26px 26px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    transition: all .35s var(--ease);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 6px 16px -6px rgba(15, 23, 42, 0.05);
}
.include-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 16px 32px -10px rgba(15, 23, 42, 0.10);
    border-color: rgba(230, 57, 70, 0.20);
}
.include-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: var(--r-sm);
    color: var(--red);
}
.include-card__icon svg { width: 22px; height: 22px; }
.include-card h3 {
    font-size: 17px;
    margin: 0 0 8px;
    color: var(--text-high);
    letter-spacing: -0.015em;
}
.include-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 992px) { .prices-includes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .prices-includes { padding: 64px 0; }
    .prices-includes__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- FAQ ---------- */
.prices-faq {
    padding: 96px 0;
    background: var(--bg-white);
}
.prices-faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.prices-faq__title {
    font-size: clamp(26px, 3.2vw, 38px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0 0 16px;
}
.prices-faq__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
.prices-faq__list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-item__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-high);
    letter-spacing: -0.01em;
    transition: color .2s var(--ease);
    list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
    content: "+";
    font-size: 22px;
    font-weight: 300;
    color: var(--red);
    line-height: 1;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
}
.faq-item[open] .faq-item__q::after { transform: rotate(45deg); }
.faq-item__q:hover { color: var(--red); }
.faq-item__a {
    padding: 0 4px 22px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-muted);
    max-width: 640px;
}
@media (max-width: 992px) {
    .prices-faq { padding: 64px 0; }
    .prices-faq__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA ---------- */
.prices-cta {
    background: linear-gradient(135deg, var(--red) 0%, #B8151A 100%);
    color: #fff;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.prices-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    opacity: 0.10;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.prices-cta > .container { position: relative; z-index: 1; }
.prices-cta h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.prices-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.prices-cta .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.prices-cta .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   CONTACTS PAGE  премиальная страница контактов
   ============================================================ */

/* ---------- Сетка быстрых контактов ---------- */
.ct-quick {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ct-quick__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.ct-quick__item {
    display: block;
    padding: 40px 32px;
    text-decoration: none;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.ct-quick__item:last-child { border-right: none; }
.ct-quick__item::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.ct-quick__item:hover {
    background: rgba(255, 255, 255, 0.03);
}
.ct-quick__item:hover::before { transform: scaleX(1); }
.ct-quick__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 12px;
}
.ct-quick__value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 6px;
}
.ct-quick__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}
.ct-quick__item:hover .ct-quick__value { color: var(--red); }

@media (max-width: 992px) {
    .ct-quick__grid { grid-template-columns: 1fr; }
    .ct-quick__item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
    .ct-quick__item:last-child { border-bottom: none; }
}

/* ---------- Основной блок: форма + контакты ---------- */
.ct-main {
    padding: 96px 0;
    background: var(--bg-light);
}
.ct-main__grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Форма */
.ct-form {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 44px 40px 40px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
}
.ct-form__eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
}
.ct-form h2 {
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0 0 12px;
}
.ct-form__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 32px;
    max-width: 520px;
}
.ct-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.ct-form__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
}
.ct-form__field label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.ct-form__field label span {
    color: #A0AEC0;
    font-weight: 500;
    letter-spacing: 0.06em;
}
.ct-form__field input,
.ct-form__field textarea,
.ct-form__field select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-white);
    color: var(--text-high);
    transition: all .25s var(--ease);
    outline: none;
}
.ct-form__field input::placeholder,
.ct-form__field textarea::placeholder { color: #B0B7C3; }
.ct-form__field input:hover,
.ct-form__field textarea:hover,
.ct-form__field select:hover { border-color: #D5DBE5; }
.ct-form__field input:focus,
.ct-form__field textarea:focus,
.ct-form__field select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}
.ct-form__field textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}
.ct-form__topics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.ct-form__topic {
    padding: 8px 14px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.ct-form__topic:hover { color: var(--text-high); border-color: #CBD2DD; }
.ct-form__topic.is-active {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
    box-shadow: 0 6px 14px -6px var(--red-glow);
}
.ct-form__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.ct-form__note {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 340px;
}
.ct-form__note a {
    color: var(--red);
    text-decoration: none;
    border-bottom: 1px solid rgba(230, 57, 70, 0.3);
}
.ct-form__note a:hover { border-bottom-color: var(--red); }

/* Сайдбар контактов */
.ct-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 100px;
}
.ct-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 26px 24px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 6px 16px -6px rgba(15, 23, 42, 0.05);
    transition: all .3s var(--ease);
}
.ct-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 16px 32px -10px rgba(15, 23, 42, 0.10);
    border-color: rgba(230, 57, 70, 0.20);
}
.ct-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.ct-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: 10px;
    color: var(--red);
}
.ct-card__icon svg { width: 20px; height: 20px; }
.ct-card__title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0;
}
.ct-card__body { }
.ct-card__value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-high);
    text-decoration: none;
    margin-bottom: 6px;
    line-height: 1.3;
}
.ct-card__value:hover { color: var(--red); }
.ct-card__meta {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
}

/* Мессенджеры */
.ct-messengers {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}
.ct-messenger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    background: var(--bg-light);
    color: var(--text-high);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--border-light);
    transition: all .25s var(--ease);
    flex: 1;
    justify-content: center;
}
.ct-messenger svg { width: 16px; height: 16px; }
.ct-messenger:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px var(--red-glow);
}

/* Статус работы */
.ct-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: rgba(74, 222, 128, 0.08);
    border: 1px solid rgba(74, 222, 128, 0.22);
    border-radius: var(--r-md);
    font-size: 13px;
    color: #15803D;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 4px;
}
.ct-status__dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    box-shadow: 0 0 12px #22C55E;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

/* Расписание */
.ct-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}
.ct-hours li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    font-size: 13.5px;
    border-bottom: 1px solid var(--border-light);
}
.ct-hours li:last-child { border-bottom: none; }
.ct-hours li span:first-child { color: var(--text-muted); }
.ct-hours li span:last-child { color: var(--text-high); font-weight: 600; }
.ct-hours li.is-today span:first-child { color: var(--red); font-weight: 600; }

@media (max-width: 992px) {
    .ct-main { padding: 72px 0; }
    .ct-main__grid { grid-template-columns: 1fr; gap: 24px; }
    .ct-side { position: static; }
}
@media (max-width: 640px) {
    .ct-form { padding: 28px 22px 24px; }
    .ct-form__row { grid-template-columns: 1fr; gap: 0; }
    .ct-form__actions { flex-direction: column; align-items: stretch; }
    .ct-form__actions .btn { width: 100%; }
    .ct-form__note { max-width: none; text-align: center; }
    .ct-messengers { flex-direction: column; }
}

/* ---------- Карта ---------- */
.ct-map {
    padding: 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}
.ct-map__head {
    padding: 72px 0 40px;
    text-align: center;
}
.ct-map__head h2 {
    font-size: clamp(24px, 3vw, 38px);
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0 0 12px;
}
.ct-map__head p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.ct-map__wrapper {
    position: relative;
    height: 520px;
    background: var(--bg-cosmos);
    border-top: 1px solid var(--border-light);
    overflow: hidden;
}
#contactsMap {
    width: 100%;
    height: 100%;
    background: var(--bg-cosmos);
}
.ct-map__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 500;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px 14px 14px;
    background: rgba(11, 13, 16, 0.92);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    color: #fff;
    max-width: 340px;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6);
    pointer-events: none;
}
.ct-map__badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--red);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.4);
}
.ct-map__badge-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}
.ct-map__badge-body { min-width: 0; }
.ct-map__badge-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 4px;
}
.ct-map__badge-value {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .ct-map__head { padding: 56px 0 32px; }
    .ct-map__wrapper { height: 400px; }
    .ct-map__badge { top: 14px; left: 14px; padding: 12px 14px 12px 12px; max-width: calc(100% - 28px); }
    .ct-map__badge-icon { width: 36px; height: 36px; }
    .ct-map__badge-icon svg { width: 18px; height: 18px; }
}

/* ---------- Реквизиты ---------- */
.ct-requisites {
    padding: 96px 0;
    background: var(--bg-light);
}
.ct-requisites__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
    margin-top: 48px;
}
.ct-req-table {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.ct-req-table tr { border-bottom: 1px solid var(--border-light); }
.ct-req-table tr:last-child { border-bottom: none; }
.ct-req-table td {
    padding: 18px 24px;
    font-size: 14.5px;
    line-height: 1.5;
}
.ct-req-table td:first-child {
    width: 240px;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    background: var(--bg-light);
}
.ct-req-table td:last-child {
    color: var(--text-high);
    font-weight: 500;
}

.ct-req-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ct-info-card {
    padding: 22px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 4px 12px -6px rgba(15, 23, 42, 0.05);
}
.ct-info-card h4 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--red);
    margin: 0 0 10px;
}
.ct-info-card p {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--text-muted);
    margin: 0;
}
.ct-info-card strong { color: var(--text-high); font-weight: 600; }

@media (max-width: 992px) {
    .ct-requisites { padding: 72px 0; }
    .ct-requisites__grid { grid-template-columns: 1fr; }
    .ct-req-table td:first-child { width: auto; }
}
@media (max-width: 640px) {
    .ct-req-table td { padding: 14px 18px; font-size: 14px; }
    .ct-req-table td:first-child { display: block; padding-bottom: 4px; border-bottom: none; font-size: 11px; }
    .ct-req-table td:last-child { display: block; padding-top: 0; }
}

/* ---------- FAQ ---------- */
.ct-faq {
    padding: 96px 0;
    background: var(--bg-white);
}
.ct-faq__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
    align-items: start;
}
.ct-faq__title {
    font-size: clamp(26px, 3.2vw, 38px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0 0 16px;
}
.ct-faq__lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
.ct-faq__list { display: flex; flex-direction: column; gap: 0; }
@media (max-width: 992px) {
    .ct-faq { padding: 64px 0; }
    .ct-faq__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- CTA ---------- */
.ct-cta {
    background: linear-gradient(135deg, var(--red) 0%, #B8151A 100%);
    color: #fff;
    padding: 96px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.ct-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../img/bg-tech.jpg');
    background-size: cover;
    opacity: 0.10;
    mix-blend-mode: overlay;
    pointer-events: none;
}
.ct-cta > .container { position: relative; z-index: 1; }
.ct-cta h2 {
    font-size: clamp(28px, 3.6vw, 42px);
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}
.ct-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.ct-cta .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.ct-cta .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   B2B UPGRADE  стили для B2B-страниц
   ============================================================ */

/* ---------- Trust-статистика ---------- */
.b2b-stats {
    background: var(--bg-cosmos);
    color: #fff;
    padding: 72px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}
.b2b-stats::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 300px;
    background: radial-gradient(ellipse, rgba(230, 57, 70, 0.08) 0%, transparent 65%);
    filter: blur(70px);
    pointer-events: none;
}
.b2b-stats > .container { position: relative; z-index: 1; }
.b2b-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.b2b-stat { text-align: center; }
.b2b-stat__num {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    font-variant-numeric: tabular-nums;
}
.b2b-stat__num .suffix { color: var(--red); -webkit-text-fill-color: var(--red); }
.b2b-stat__label {
    font-size: 13px;
    color: var(--text-on-dark-2);
    letter-spacing: 0.02em;
}
@media (max-width: 768px) {
    .b2b-stats { padding: 48px 0; }
    .b2b-stats__grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
    .b2b-stat__num { font-size: 32px; }
}

/* ---------- Клиенты ---------- */
.clients {
    padding: 96px 0;
    background: var(--bg-white);
}
.clients__head {
    text-align: center;
    margin-bottom: 56px;
}
.clients__head h2 {
    font-size: clamp(24px, 3vw, 36px);
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0 0 12px;
}
.clients__head p {
    font-size: 16px;
    color: var(--text-muted);
    margin: 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}
.clients__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.client-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    transition: all .35s var(--ease);
    text-align: center;
    min-height: 130px;
}
.client-card:hover {
    background: var(--bg-white);
    border-color: rgba(230, 57, 70, 0.22);
    transform: translateY(-4px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 16px 32px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.12);
}
.client-card__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    background: linear-gradient(135deg, var(--red), #B8151A);
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 20px -8px var(--red-glow);
}
.client-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-high);
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    line-height: 1.3;
}
.client-card__meta {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
.clients__note {
    margin-top: 32px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
@media (max-width: 992px) { .clients__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
    .clients { padding: 64px 0; }
    .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .client-card { padding: 24px 14px; min-height: 110px; }
    .client-card__mark { width: 40px; height: 40px; font-size: 15px; }
    .client-card__name { font-size: 12.5px; }
    .client-card__meta { font-size: 11px; }
}

/* ---------- B2B преимущества ---------- */
.b2b-adv {
    padding: 96px 0;
    background: var(--bg-light);
}
.b2b-adv__head {
    text-align: center;
    margin-bottom: 56px;
}
.b2b-adv__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.b2b-card {
    padding: 32px 28px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 6px 16px -6px rgba(15, 23, 42, 0.05);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.b2b-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--red), #FF5C6C);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
}
.b2b-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 20px 40px -10px rgba(15, 23, 42, 0.10),
        0 0 40px -12px rgba(230, 57, 70, 0.14);
    border-color: rgba(230, 57, 70, 0.20);
}
.b2b-card:hover::before { transform: scaleX(1); }
.b2b-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: 12px;
    color: var(--red);
}
.b2b-card__icon svg { width: 22px; height: 22px; }
.b2b-card h3 {
    font-size: 17px;
    margin: 0 0 10px;
    color: var(--text-high);
    letter-spacing: -0.015em;
    line-height: 1.3;
}
.b2b-card p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}
@media (max-width: 992px) { .b2b-adv__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
    .b2b-adv { padding: 64px 0; }
    .b2b-adv__grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Документооборот ---------- */
.docs-section {
    padding: 96px 0;
    background: var(--bg-white);
}
.docs-section__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
    margin-top: 48px;
}
.docs-section__title {
    font-size: clamp(26px, 3.2vw, 40px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0 0 20px;
}
.docs-section__lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 32px;
}
.docs-section__hint {
    padding: 20px 24px;
    background: var(--bg-light);
    border-left: 3px solid var(--red);
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-muted);
}
.docs-section__hint strong {
    color: var(--text-high);
    font-weight: 600;
}
.docs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.doc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    transition: all .3s var(--ease);
}
.doc-item:hover {
    background: var(--bg-white);
    border-color: rgba(230, 57, 70, 0.20);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.1);
}
.doc-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.10);
    border-radius: 8px;
    color: var(--red);
}
.doc-item__icon svg { width: 16px; height: 16px; }
.doc-item__body { min-width: 0; }
.doc-item__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-high);
    letter-spacing: -0.01em;
    margin: 0 0 2px;
    line-height: 1.3;
}
.doc-item__meta {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
@media (max-width: 992px) {
    .docs-section { padding: 64px 0; }
    .docs-section__inner { grid-template-columns: 1fr; gap: 40px; }
    .docs-list { grid-template-columns: 1fr; }
}

/* ---------- Тендерный блок ---------- */
.tenders-block {
    padding: 96px 0;
    background: var(--bg-cosmos);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.tenders-block::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.10) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.tenders-block > .container { position: relative; z-index: 1; }
.tenders-block__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.tenders-block__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FF5C6C;
    margin-bottom: 24px;
}
.tenders-block__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #FF5C6C;
}
.tenders-block h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 24px;
}
.tenders-block p {
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-on-dark-2);
    margin: 0 0 32px;
}
.tenders-block__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tenders-block__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}
.tenders-block__item:last-child { border-bottom: none; }
.tenders-block__item::before {
    content: "";
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tenders-block .btn--primary {
    background: #fff;
    color: var(--red);
}
.tenders-block .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
}
@media (max-width: 992px) {
    .tenders-block { padding: 64px 0; }
    .tenders-block__grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- B2B-кейсы ---------- */
.b2b-cases {
    padding: 96px 0;
    background: var(--bg-light);
}
.b2b-cases__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
}
.b2b-case {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06);
    transition: all .4s var(--ease);
}
.b2b-case:hover {
    transform: translateY(-6px);
    box-shadow:
        0 4px 8px rgba(15, 23, 42, 0.05),
        0 24px 48px -12px rgba(15, 23, 42, 0.14),
        0 0 60px -20px rgba(230, 57, 70, 0.16);
    border-color: rgba(230, 57, 70, 0.22);
}
.b2b-case__image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-cosmos);
}
.b2b-case__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.b2b-case:hover .b2b-case__image img { transform: scale(1.06); }
.b2b-case__type {
    position: absolute;
    top: 14px; left: 14px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    color: var(--text-high);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    z-index: 2;
}
.b2b-case__body {
    padding: 26px 26px 24px;
}
.b2b-case__title {
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0 0 10px;
    font-weight: 700;
}
.b2b-case__desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0 0 18px;
}
.b2b-case__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.b2b-case__metric {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}
.b2b-case__metric strong {
    color: var(--text-high);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    font-size: 15px;
}
.b2b-case__metric .accent {
    color: var(--red);
    font-weight: 700;
    font-size: 15px;
}
@media (max-width: 992px) { .b2b-cases__grid { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) { .b2b-cases { padding: 64px 0; } .b2b-case__body { padding: 22px 20px 20px; } }

/* ---------- B2B-форма ---------- */
.b2b-form {
    padding: 96px 0;
    background: var(--bg-white);
}
.b2b-form__inner {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
}
.b2b-form__title {
    font-size: clamp(28px, 3.6vw, 42px);
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text-high);
    margin: 0 0 20px;
}
.b2b-form__lead {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 32px;
}
.b2b-form__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}
.b2b-form__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-muted);
}
.b2b-form__bullets li::before {
    content: "";
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    background: var(--red);
    border-radius: 5px;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/13px no-repeat;
}
.b2b-form__card {
    padding: 40px 36px 32px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.b2b-form__card h3 {
    font-size: 20px;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0 0 8px;
}
.b2b-form__card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 24px;
    line-height: 1.5;
}
.b2b-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}
.b2b-form__field { margin-bottom: 14px; }
.b2b-form__field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.b2b-form__field input,
.b2b-form__field textarea,
.b2b-form__field select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-white);
    color: var(--text-high);
    transition: all .2s var(--ease);
    outline: none;
}
.b2b-form__field input:focus,
.b2b-form__field textarea:focus,
.b2b-form__field select:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}
.b2b-form__field textarea { min-height: 100px; resize: vertical; line-height: 1.5; }
.b2b-form__card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.b2b-form__note {
    font-size: 12px;
    color: var(--text-muted);
    text-align: center;
    margin: 14px 0 0;
    line-height: 1.5;
}
.b2b-form__note a { color: var(--red); text-decoration: none; }
@media (max-width: 992px) {
    .b2b-form { padding: 64px 0; }
    .b2b-form__inner { grid-template-columns: 1fr; gap: 40px; }
    .b2b-form__row { grid-template-columns: 1fr; gap: 0; }
    .b2b-form__card { padding: 28px 22px 24px; }
}

/* ---------- Обычные отзывы (уже есть, но дополню для B2B) ---------- */
.b2b-review {
    padding: 20px 24px;
    background: var(--bg-light);
    border-left: 3px solid var(--red);
    border-radius: var(--r-md);
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-high);
    font-style: italic;
    margin-top: 24px;
}
.b2b-review cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
}

/* ---------- Заголовок секции (переиспользуем) ---------- */
.b2b-section__head {
    text-align: center;
    margin-bottom: 56px;
}
.b2b-section__head .section__eyebrow { display: inline-block; margin-bottom: 16px; }
.b2b-section__head h2 {
    font-size: clamp(26px, 3.4vw, 42px);
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0 0 16px;
}
.b2b-section__head p {
    font-size: 16.5px;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================
   B2B TOOLS  стили КП, калькулятора, личного кабинета
   ============================================================ */

/* ---------- Кнопка Скачать КП в хедере ---------- */
.btn--ghost-light {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}
.btn--ghost-light:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ============================================================
   1. B2B-КАЛЬКУЛЯТОР
   ============================================================ */

.b2b-calc {
    padding: 96px 0;
    background: var(--bg-cosmos);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.b2b-calc::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.10) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
}
.b2b-calc > .container { position: relative; z-index: 1; }

.b2b-calc__head {
    text-align: center;
    margin-bottom: 56px;
}
.b2b-calc__head h2 {
    font-size: clamp(28px, 3.6vw, 44px);
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 16px;
}
.b2b-calc__head p {
    font-size: 17px;
    color: var(--text-on-dark-2);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

.b2b-calc__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Левая часть  форма */
.b2b-calc__panel {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-lg);
    padding: 32px 32px 28px;
    backdrop-filter: blur(12px);
}
.b2b-calc__panel-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 24px;
}

.b2b-calc__field {
    margin-bottom: 24px;
}
.b2b-calc__field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}
.b2b-calc__field .hint {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-left: 6px;
    font-weight: 400;
}

/* Тип объекта */
.b2b-calc__types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.b2b-type {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all .25s var(--ease);
    text-align: left;
    font-family: inherit;
    color: #fff;
}
.b2b-type:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 57, 70, 0.3);
}
.b2b-type.is-active {
    background: rgba(230, 57, 70, 0.10);
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}
.b2b-type__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.14);
    border-radius: 8px;
    color: #FF5C6C;
}
.b2b-type.is-active .b2b-type__icon {
    background: var(--red);
    color: #fff;
}
.b2b-type__icon svg { width: 18px; height: 18px; }
.b2b-type__body { min-width: 0; }
.b2b-type__name {
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 2px;
    line-height: 1.2;
}
.b2b-type__meta {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.3;
}

/* Ползунок */
.b2b-calc__slider-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
}
.b2b-calc__slider {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    position: relative;
}
.b2b-calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--red);
    border: 3px solid var(--bg-cosmos);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 0 1px var(--red), 0 4px 12px -2px var(--red-glow);
    transition: transform .15s ease;
}
.b2b-calc__slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}
.b2b-calc__slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--red);
    border: 3px solid var(--bg-cosmos);
    border-radius: 50%;
    cursor: grab;
    box-shadow: 0 0 0 1px var(--red), 0 4px 12px -2px var(--red-glow);
}
.b2b-calc__slider-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    min-width: 60px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.b2b-calc__quick {
    display: flex;
    gap: 6px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.b2b-calc__quick-btn {
    padding: 6px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.b2b-calc__quick-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.05);
}

/* Чекбоксы доп. опций */
.b2b-calc__checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.b2b-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    cursor: pointer;
    transition: all .2s var(--ease);
    user-select: none;
}
.b2b-check:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
}
.b2b-check.is-checked {
    background: rgba(230, 57, 70, 0.08);
    border-color: rgba(230, 57, 70, 0.32);
}
.b2b-check__box {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s var(--ease);
}
.b2b-check__box::after {
    content: "";
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    opacity: 0;
    transform: scale(0.4);
    transition: all .2s var(--ease);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
}
.b2b-check.is-checked .b2b-check__box {
    background: var(--red);
    border-color: var(--red);
}
.b2b-check.is-checked .b2b-check__box::after {
    opacity: 1;
    transform: scale(1);
}
.b2b-check__label {
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    font-weight: 500;
}
.b2b-check__label small {
    display: block;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 2px;
}

/* Правая часть  итог */
.b2b-calc__result {
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.08), rgba(230, 57, 70, 0.02));
    border: 1px solid rgba(230, 57, 70, 0.28);
    border-radius: var(--r-lg);
    padding: 32px 28px 26px;
    position: sticky;
    top: 100px;
    overflow: hidden;
}
.b2b-calc__result::before {
    content: "";
    position: absolute;
    top: -40%; right: -30%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.20) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
}
.b2b-calc__result > * { position: relative; z-index: 1; }
.b2b-calc__result-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #FF5C6C;
    margin: 0 0 20px;
}

.b2b-calc__lines {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.b2b-calc__line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding: 10px 0;
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.b2b-calc__line:last-child { border-bottom: none; }
.b2b-calc__line-label { color: rgba(255, 255, 255, 0.7); }
.b2b-calc__line-value {
    color: #fff;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.b2b-calc__line--discount .b2b-calc__line-value {
    color: #4ADE80;
}
.b2b-calc__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #86EFAC;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: var(--r-pill);
    margin-left: 8px;
    text-transform: uppercase;
}

.b2b-calc__total {
    padding: 20px 0 24px;
    margin-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.b2b-calc__total-label {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.b2b-calc__total-value {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.b2b-calc__total-value small {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    margin-left: 4px;
}
.b2b-calc__total-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
    margin: 12px 0 0;
    line-height: 1.5;
}

.b2b-calc__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.b2b-calc__actions .btn { width: 100%; justify-content: center; }
.b2b-calc__actions .btn--outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    padding: 14px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--r-pill);
    text-decoration: none;
    text-align: center;
    transition: all .25s var(--ease);
    cursor: pointer;
    font-family: inherit;
}
.b2b-calc__actions .btn--outline:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 992px) {
    .b2b-calc { padding: 64px 0; }
    .b2b-calc__grid { grid-template-columns: 1fr; }
    .b2b-calc__result { position: static; }
    .b2b-calc__types { grid-template-columns: 1fr; }
    .b2b-calc__checks { grid-template-columns: 1fr; }
    .b2b-calc__panel { padding: 24px 22px 20px; }
    .b2b-calc__total-value { font-size: 30px; }
}

/* ============================================================
   2. ЛИЧНЫЙ КАБИНЕТ ПАРТНЁРА
   ============================================================ */

.partner {
    min-height: 100vh;
    background: var(--bg-light);
    padding: 140px 0 96px;
}

/* Логин */
.partner-login {
    max-width: 460px;
    margin: 0 auto;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 44px 40px 36px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.06),
        0 24px 48px -12px rgba(15, 23, 42, 0.06);
}
.partner-login__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.12), rgba(230, 57, 70, 0.03));
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: 14px;
    color: var(--red);
}
.partner-login__icon svg { width: 26px; height: 26px; }
.partner-login h1 {
    font-size: 26px;
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0 0 8px;
}
.partner-login__lead {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0 0 28px;
}
.partner-login__field {
    margin-bottom: 14px;
}
.partner-login__field label {
    display: block;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.partner-login__field input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-md);
    font-family: inherit;
    font-size: 15px;
    background: var(--bg-white);
    color: var(--text-high);
    transition: all .2s var(--ease);
    outline: none;
}
.partner-login__field input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 4px var(--red-soft);
}
.partner-login__hint {
    padding: 12px 16px;
    background: rgba(230, 57, 70, 0.06);
    border: 1px solid rgba(230, 57, 70, 0.18);
    border-radius: var(--r-sm);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    color: var(--red);
    margin: 18px 0 20px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}
.partner-login__hint strong { color: var(--red); font-weight: 700; }
.partner-login .btn { width: 100%; justify-content: center; }

/* Dashboard */
.partner-dash {
    display: none;
}
.partner-dash.is-active { display: block; }
.partner-login.is-hidden { display: none; }

.partner-dash__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.partner-dash__title {
    font-size: 30px;
    letter-spacing: -0.03em;
    color: var(--text-high);
    margin: 0 0 4px;
}
.partner-dash__company {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}
.partner-dash__company strong {
    color: var(--text-high);
    font-weight: 600;
}
.partner-dash__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}
.partner-dash__logout {
    padding: 10px 18px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .25s var(--ease);
}
.partner-dash__logout:hover {
    color: var(--red);
    border-color: rgba(230, 57, 70, 0.3);
}

/* Метрики */
.partner-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.partner-metric {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 22px 22px 20px;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 4px 12px -6px rgba(15, 23, 42, 0.05);
}
.partner-metric__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin: 0 0 10px;
}
.partner-metric__value {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-high);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.partner-metric__value .accent { color: var(--red); }
.partner-metric__meta {
    font-size: 12px;
    color: var(--text-muted);
    margin: 8px 0 0;
}

/* Таблица заявок */
.partner-table-wrap {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        0 8px 20px -6px rgba(15, 23, 42, 0.05);
}
.partner-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px 20px;
    border-bottom: 1px solid var(--border-light);
    flex-wrap: wrap;
}
.partner-table-head h2 {
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--text-high);
    margin: 0;
}
.partner-table-tabs {
    display: flex;
    gap: 6px;
}
.partner-tab {
    padding: 8px 14px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-light);
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: all .2s var(--ease);
}
.partner-tab:hover { color: var(--text-high); }
.partner-tab.is-active {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
    box-shadow: 0 6px 14px -6px var(--red-glow);
}

.partner-table {
    width: 100%;
    border-collapse: collapse;
}
.partner-table th {
    background: var(--bg-light);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    text-align: left;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
}
.partner-table td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-high);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.partner-table tbody tr:last-child td { border-bottom: none; }
.partner-table tbody tr:hover td { background: rgba(230, 57, 70, 0.02); }
.partner-table__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
    color: var(--text-muted);
    font-weight: 500;
}
.partner-table__title {
    font-weight: 600;
    color: var(--text-high);
    letter-spacing: -0.01em;
}
.partner-table__meta {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
    font-weight: 400;
}
.partner-table__amount {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--text-high);
    white-space: nowrap;
}

/* Статусы */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    white-space: nowrap;
}
.status-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}
.status-badge--new      { background: rgba(59, 130, 246, 0.10); color: #1E40AF; }
.status-badge--new::before      { background: #3B82F6; }
.status-badge--progress { background: rgba(245, 158, 11, 0.12); color: #B45309; }
.status-badge--progress::before { background: #F59E0B; animation: pulse-dot 2s infinite; }
.status-badge--review   { background: rgba(139, 92, 246, 0.10); color: #6D28D9; }
.status-badge--review::before   { background: #8B5CF6; }
.status-badge--done     { background: rgba(34, 197, 94, 0.12); color: #15803D; }
.status-badge--done::before     { background: #22C55E; }
.status-badge--cancel   { background: rgba(148, 163, 184, 0.15); color: #475569; }
.status-badge--cancel::before   { background: #94A3B8; }

/* Пустое состояние */
.partner-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

@media (max-width: 992px) {
    .partner { padding: 120px 0 64px; }
    .partner-metrics { grid-template-columns: repeat(2, 1fr); }
    .partner-table-wrap { overflow-x: auto; }
    .partner-table { min-width: 720px; }
}
@media (max-width: 640px) {
    .partner-login { padding: 32px 24px 28px; }
    .partner-dash__title { font-size: 22px; }
    .partner-metric__value { font-size: 22px; }
    .partner-table-head { flex-direction: column; align-items: stretch; gap: 14px; }
}

/* ============================================================
   3. PDF-презентация КП  стили печати
   ============================================================ */

/* Основной контейнер КП на экране */
.kp-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 40px 100px;
    background: var(--bg-white);
    color: #1A1C1F;
    font-family: 'Plus Jakarta Sans', sans-serif;
}
.kp-actions {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 100;
    display: flex;
    gap: 10px;
}
.kp-actions .btn {
    box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.25);
}

/* Стили документа */
.kp-page h1 {
    font-size: 32px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1A1C1F;
    margin: 0 0 12px;
}
.kp-page h2 {
    font-size: 22px;
    letter-spacing: -0.02em;
    color: #1A1C1F;
    margin: 48px 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E63946;
}
.kp-page h3 {
    font-size: 17px;
    letter-spacing: -0.015em;
    color: #1A1C1F;
    margin: 24px 0 12px;
}
.kp-page p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4A5568;
    margin: 0 0 14px;
}
.kp-page ul { padding-left: 22px; margin: 0 0 18px; }
.kp-page ul li {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4A5568;
    padding: 4px 0;
}

/* Шапка КП */
.kp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 2px solid #E63946;
    margin-bottom: 40px;
    gap: 20px;
}
.kp-header__brand {
    display: flex;
    align-items: center;
    gap: 14px;
}
.kp-header__logo {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.kp-header__logo img { width: 100%; height: 100%; object-fit: contain; }
.kp-header__brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1A1C1F;
    margin: 0 0 3px;
}
.kp-header__brand-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748B;
}
.kp-header__meta {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #64748B;
    letter-spacing: 0.08em;
    line-height: 1.7;
}
.kp-header__meta strong { color: #E63946; }

/* Титульный блок */
.kp-title-block {
    margin-bottom: 40px;
}
.kp-title-block .kp-eyebrow {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #E63946;
    margin-bottom: 16px;
}
.kp-title-block h1 {
    font-size: 38px;
    line-height: 1.05;
    margin: 0 0 16px;
}
.kp-title-block p {
    font-size: 16px;
    color: #4A5568;
    max-width: 700px;
    margin: 0;
}

/* Информационные блоки */
.kp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}
.kp-info-card {
    padding: 20px 22px;
    background: #F7F9FC;
    border-left: 3px solid #E63946;
    border-radius: 8px;
}
.kp-info-card__label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #E63946;
    margin: 0 0 8px;
}
.kp-info-card__value {
    font-size: 15px;
    font-weight: 600;
    color: #1A1C1F;
    margin: 0;
    line-height: 1.4;
}
.kp-info-card__meta {
    font-size: 13px;
    color: #64748B;
    margin: 6px 0 0;
    line-height: 1.5;
}

/* Таблица */
.kp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 28px;
    font-size: 14px;
}
.kp-table th {
    background: #F7F9FC;
    text-align: left;
    padding: 12px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748B;
    border-bottom: 2px solid #E63946;
}
.kp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #E8ECF2;
    color: #1A1C1F;
    vertical-align: top;
}
.kp-table tbody tr:last-child td { border-bottom: none; }
.kp-table td:last-child {
    text-align: right;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    white-space: nowrap;
}
.kp-table tfoot td {
    border-top: 2px solid #E63946;
    background: #FEF2F2;
    font-size: 15px;
    font-weight: 700;
}
.kp-table tfoot td:last-child {
    color: #E63946;
    font-size: 17px;
}

/* Блок с преимуществами */
.kp-advantages {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}
.kp-advantage {
    padding: 16px 18px;
    background: #F7F9FC;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.kp-advantage__num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: #E63946;
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 22px;
}
.kp-advantage__text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #1A1C1F;
    font-weight: 500;
}

/* Подпись / реквизиты внизу */
.kp-signature {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #E8ECF2;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    font-size: 13px;
    color: #64748B;
    line-height: 1.6;
}
.kp-signature strong { color: #1A1C1F; font-weight: 600; }

/* ---------- Стили печати (Ctrl+P) ---------- */
@media print {
    @page {
        size: A4;
        margin: 20mm 16mm;
    }
    html, body {
        background: #fff !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .header,
    .footer-pro,
    .kp-actions,
    .net-scheme,
    .scroll-progress {
        display: none !important;
    }
    .kp-page {
        max-width: none;
        padding: 0;
        margin: 0;
    }
    .kp-page h2 {
        page-break-after: avoid;
        margin-top: 24px;
    }
    .kp-table,
    .kp-info-grid,
    .kp-advantages {
        page-break-inside: avoid;
    }
    .kp-header {
        padding-bottom: 16px;
        margin-bottom: 24px;
    }
    .kp-title-block h1 { font-size: 28px; }
    .kp-page h2 { font-size: 18px; }
    .kp-page h3 { font-size: 15px; }
    .kp-table th, .kp-table td { padding: 8px 12px; font-size: 12px; }
    a { color: #1A1C1F !important; text-decoration: none; }
    /* Убираем фоны */
    .kp-info-card,
    .kp-advantage,
    .kp-table th {
        background: transparent !important;
        border: 1px solid #E8ECF2 !important;
        border-left: 3px solid #E63946 !important;
    }
    .kp-table th { border-bottom: 2px solid #E63946 !important; border-left: none !important; }
}

/* ============================================================
   B2B TEASER на главной  переход на страницу Для бизнеса
   ============================================================ */

.b2b-teaser {
    padding: 96px 0;
    background: var(--bg-cosmos);
    color: #fff;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.b2b-teaser::before {
    content: "";
    position: absolute;
    top: -20%; right: -10%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.10) 0%, transparent 65%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.b2b-teaser > .container { position: relative; z-index: 1; }

.b2b-teaser__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.b2b-teaser__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #FF5C6C;
    margin-bottom: 24px;
}
.b2b-teaser__eyebrow::before {
    content: "";
    width: 32px;
    height: 1px;
    background: #FF5C6C;
}
.b2b-teaser__title {
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 20px;
    font-weight: 700;
}
.b2b-teaser__lead {
    font-size: 17px;
    line-height: 1.65;
    color: var(--text-on-dark-2);
    margin: 0 0 32px;
    max-width: 520px;
}
.b2b-teaser__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.b2b-teaser__actions .btn--primary {
    background: #fff;
    color: var(--red);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.b2b-teaser__actions .btn--primary:hover {
    background: #fff;
    color: var(--red-hover);
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(0, 0, 0, 0.5);
}
.b2b-teaser__actions .btn--outline {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: #fff;
}
.b2b-teaser__actions .btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Список преимуществ */
.b2b-teaser__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.b2b-teaser__item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 20px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
    transition: all .35s var(--ease);
}
.b2b-teaser__item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(230, 57, 70, 0.30);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
}
.b2b-teaser__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(230, 57, 70, 0.14);
    border: 1px solid rgba(230, 57, 70, 0.24);
    border-radius: 8px;
    color: #FF5C6C;
}
.b2b-teaser__item-icon svg { width: 18px; height: 18px; }
.b2b-teaser__item-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.b2b-teaser__item-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.b2b-teaser__item-text {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .b2b-teaser { padding: 64px 0; }
    .b2b-teaser__grid { grid-template-columns: 1fr; gap: 40px; }
    .b2b-teaser__list { grid-template-columns: 1fr; gap: 10px; }
}
@media (max-width: 640px) {
    .b2b-teaser__actions { flex-direction: column; align-items: stretch; }
    .b2b-teaser__actions .btn { width: 100%; justify-content: center; }
}
