/* ============================================================
   NDFL final — main.css
   Premium light theme · Manrope + Inter · Lucide-style icons
   ============================================================ */

/* ---------- 1. Дизайн-токены ---------- */
:root {
    /* Бренд */
    --color-primary:   #2563EB;
    --color-primary-2: #1D4ED8;
    --color-violet:    #7C3AED;
    --color-violet-2:  #6D28D9;
    --color-cyan:      #06B6D4;
    --color-magenta:   #C026D3;

    /* Поверхности */
    --bg-page:    #F8FAFC;
    --bg-soft:    #F2F5FA;
    --bg-card:    #FFFFFF;
    --bg-elev:    #FFFFFF;
    --bg-tint:    #EEF2FF;
    --border-soft:   #E5E7EB;
    --border-strong: #D1D5DB;

    /* Текст */
    --text-primary:    #111827;
    --text-secondary:  #4B5563;
    --text-muted:      #6B7280;
    --text-faint:      #9CA3AF;

    /* Градиенты */
    --gradient-brand:  linear-gradient(120deg, #2563EB 0%, #7C3AED 100%);
    --gradient-brand-deep: linear-gradient(120deg, #1D4ED8 0%, #6D28D9 100%);
    --gradient-soft:   linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.08));
    --gradient-glow:   radial-gradient(50% 50% at 50% 50%, rgba(37,99,235,0.20) 0%, rgba(124,58,237,0.10) 60%, transparent 100%);

    /* Типографика */
    --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
    --font-body:    'Inter',   system-ui, -apple-system, sans-serif;

    /* Размеры */
    --container:        1400px;
    --container-narrow: 880px;
    --container-pad:    clamp(20px, 4vw, 64px);
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;

    /* Тени */
    --shadow-xs:   0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-sm:   0 4px 14px rgba(15, 23, 42, 0.06);
    --shadow-md:   0 10px 30px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-lg:   0 24px 60px rgba(15, 23, 42, 0.10), 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 18px 48px rgba(37, 99, 235, 0.22);
    --shadow-glow-violet: 0 18px 48px rgba(124, 58, 237, 0.22);

    --ease: cubic-bezier(.2,.8,.2,1);
    --ease-soft: cubic-bezier(.4,0,.2,1);
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-page);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-violet); }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    margin: 0 0 .5em;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus {
    left: 1rem; top: 1rem;
    background: var(--color-primary); color: #fff;
    padding: .5rem 1rem; border-radius: var(--radius-sm);
    z-index: 10000;
}

/* Focus-visible для доступности */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 4px;
}

/* Иконки */
.icon { flex-shrink: 0; display: inline-block; }
.icon--star { color: #F59E0B; stroke-width: 2.5; }
.btn-icon { transition: transform .25s var(--ease); }
.btn-icon--flip { transform: scaleX(-1); }

/* ---------- 3. Контейнеры и общие классы ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    padding-inline: var(--container-pad);
    margin-inline: auto;
    position: relative;
}
.container--narrow { max-width: var(--container-narrow); }
.section {
    padding: clamp(64px, 9vw, 120px) 0;
    position: relative;
    overflow: clip;
}
.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 56px;
}
.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: var(--text-primary);
}
.section-title--left { text-align: left; }
.section-sub {
    color: var(--text-secondary);
    font-size: clamp(16px, 1.6vw, 18px);
    margin: 0;
    max-width: 60ch;
    margin-inline: auto;
}
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--left .section-sub { margin-inline: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--color-primary);
    margin-bottom: 16px;
}

.grad-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
}
.grad-bg { background: var(--gradient-brand); color: #fff; }

/* Glass card */
.glass {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* ---------- 4. Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.005em;
    border-radius: 999px;
    transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
    text-decoration: none !important;
    white-space: nowrap;
    line-height: 1;
    cursor: pointer;
    user-select: none;
}
.btn--lg { padding: 17px 32px; font-size: 16px; }
.btn--gradient {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.30);
    position: relative;
    overflow: hidden;
    border: 0;
}
.btn--gradient::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--gradient-brand-deep);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.btn--gradient::after {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 60%; height: 200%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-20deg);
    transition: left .7s var(--ease);
    pointer-events: none;
}
.btn--gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(124, 58, 237, 0.36);
    color: #fff;
}
.btn--gradient:hover::before { opacity: 1; }
.btn--gradient:hover::after { left: 130%; }
.btn--gradient:hover .btn-icon { transform: translateX(2px); }
.btn--gradient:hover .btn-icon--flip { transform: scaleX(-1) translateX(2px); }
.btn--gradient:active { transform: translateY(0) scale(0.98); }
.btn--gradient > * { position: relative; z-index: 1; }
.btn--ghost {
    border: 1.5px solid var(--border-strong);
    color: var(--text-primary);
    background: var(--bg-card);
}
.btn--ghost:hover {
    background: var(--bg-tint);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}
.btn--ghost:active { transform: translateY(0) scale(0.98); }

/* ---------- 5. Прелоадер (Stripe-like word reveal + gradient line) ---------- */
.preloader {
    position: fixed; inset: 0;
    background: var(--bg-page);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: transform .55s var(--ease), opacity .5s var(--ease);
    overflow: hidden;
}
.preloader::before {
    content: '';
    position: absolute;
    width: 800px; height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.10) 0%, transparent 60%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: preloader-glow 3s ease-in-out infinite;
    pointer-events: none;
}
.preloader__inner {
    position: relative;
    text-align: center;
    z-index: 1;
}
.preloader__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(36px, 7vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 0 14px;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.25em;
    overflow: hidden;
}
.preloader__word {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    animation: preloader-word-rise .7s var(--ease) forwards;
}
.preloader__word--1 { animation-delay: .1s; }
.preloader__word--2 { animation-delay: .35s; }
.preloader__sub {
    font-family: var(--font-body);
    font-size: clamp(14px, 1.6vw, 16px);
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: lowercase;
    margin: 0 0 28px;
    opacity: 0;
    transform: translateY(8px);
    animation: preloader-fade-up .6s var(--ease) .65s forwards;
}
.preloader__bar {
    margin: 0 auto;
    width: clamp(220px, 30vw, 320px);
    height: 2px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: preloader-fade-up .5s var(--ease) .85s forwards;
}
.preloader__bar > span {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 0;
    background: var(--gradient-brand);
    border-radius: inherit;
    animation: preloader-progress 1.6s cubic-bezier(.65,.05,.35,1) 1s forwards;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}
.preloader--hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

@keyframes preloader-word-rise {
    0%   { transform: translateY(110%); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}
@keyframes preloader-fade-up {
    0%   { transform: translateY(8px); opacity: 0; }
    100% { transform: translateY(0);   opacity: 1; }
}
@keyframes preloader-progress {
    0%   { width: 0; }
    60%  { width: 70%; }
    100% { width: 100%; }
}
@keyframes preloader-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* ---------- 6. Шапка ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
    padding: 16px 0;
    background: rgba(248, 250, 252, 0.78);
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05), 0 8px 24px rgba(15, 23, 42, 0.06);
    padding: 10px 0;
}
.site-header__inner {
    display: flex; align-items: center; gap: 28px;
}
.site-logo {
    display: inline-flex; align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform .3s var(--ease);
}
.site-logo__img {
    height: 42px;
    width: auto;
    transition: height .3s var(--ease);
    display: block;
}
.site-header.is-scrolled .site-logo__img { height: 34px; }
.site-logo:hover { transform: scale(1.02); }

.site-nav { margin-left: auto; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
    font-family: var(--font-display);
}
.nav__list a:hover { color: var(--text-primary); }
.nav__list a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--gradient-brand);
    transition: width .3s var(--ease);
    border-radius: 2px;
}
.nav__list a:hover::after { width: 100%; }

.site-header__cta { padding: 11px 20px; font-size: 14px; }

/* Burger — минималистичный: 3 тонкие линии без фона */
.burger {
    display: none;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 8px;
    background: transparent;
    color: var(--text-primary);
    border: 0;
    position: relative;
    transition: background .2s var(--ease);
    -webkit-tap-highlight-color: transparent;
}
.burger:hover { background: rgba(15, 23, 42, 0.05); }
.burger:active { background: rgba(15, 23, 42, 0.08); }
.burger__pulse { display: none; } /* fallback — оставляем span в HTML, но не показываем */
.burger__lines {
    position: relative;
    width: 22px; height: 14px;
    display: inline-block;
}
.burger__lines span {
    position: absolute;
    left: 0; right: 0;
    height: 1.75px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease), bottom .3s var(--ease);
}
.burger__lines span:nth-child(1) { top: 0; }
.burger__lines span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.burger__lines span:nth-child(3) { bottom: 0; }
.burger.is-open .burger__lines span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.burger.is-open .burger__lines span:nth-child(2) { opacity: 0; }
.burger.is-open .burger__lines span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Мобильное меню — fullscreen overlay со своей шапкой */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: #FFFFFF;
    z-index: 1100; /* выше social-bar (90), modal (1000) */
    display: flex !important;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .35s var(--ease), visibility .35s var(--ease);
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
}
/* HTML5 hidden — не доверяем UA, перебиваем явно */
.mobile-menu[hidden] {
    display: flex !important;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
}
.mobile-menu.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__top {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-soft);
    background: #FFFFFF;
}
.mobile-menu__logo img {
    height: 40px;
    width: auto;
    display: block;
}
.mobile-menu__close {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg-soft);
    color: var(--text-primary);
    border: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease), color .2s var(--ease);
    flex-shrink: 0;
}
.mobile-menu__close:hover {
    background: var(--bg-tint);
    color: var(--color-primary);
}

.mobile-menu__nav {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 20px;
}
.mobile-menu__nav .mobile-menu__list,
.mobile-menu__nav .menu,
.mobile-menu__nav .nav__list,
.mobile-menu__nav ul {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}
.mobile-menu__nav li,
.mobile-menu__nav .menu-item {
    display: block;
    width: 100%;
    margin: 0;
    border-bottom: 1px solid var(--border-soft);
}
.mobile-menu__nav li:last-child,
.mobile-menu__nav .menu-item:last-child {
    border-bottom: 0;
}
.mobile-menu__nav a {
    display: block;
    width: 100%;
    padding: 18px 4px;
    color: var(--text-primary);
    font-size: 20px;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.005em;
    text-decoration: none;
    transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.mobile-menu__nav a::after { display: none !important; content: none !important; }
.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
    color: var(--color-primary);
    padding-left: 12px;
}

.mobile-menu__footer {
    flex-shrink: 0;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--border-soft);
    background: #FFFFFF;
}
.mobile-menu__cta { width: 100%; }

@media (max-width: 960px) {
    .site-nav, .site-header__cta { display: none; }
    .burger { display: inline-flex; margin-left: auto; }
    .site-logo__img { height: 36px; }
}

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: clip;
    display: flex;
    align-items: center;
    background: var(--bg-page);
}
.hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: clip;
}
.hero__bg .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .35;
    animation: float-slow 18s ease-in-out infinite;
    will-change: transform;
}
.blob--1 { width: 540px; height: 540px; background: var(--color-primary);  top: -160px; left: -180px; }
.blob--2 { width: 460px; height: 460px; background: var(--color-violet);   top: 30%;     right: -160px; animation-delay: -6s; opacity: .30; }
.blob--3 { width: 380px; height: 380px; background: var(--color-cyan);     bottom: -140px; left: 25%; animation-delay: -10s; opacity: .20; }

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,0.04) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
            mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.bg-word {
    position: absolute;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(120px, 18vw, 240px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(37, 99, 235, 0.10);
    pointer-events: none;
    user-select: none;
    white-space: nowrap;
    will-change: transform;
}
.bg-word--1 { top: 8%;   left: -2%; }
.bg-word--2 { bottom: 12%; right: -3%; -webkit-text-stroke-color: rgba(124, 58, 237, 0.10); }
.bg-word--side {
    top: 50%;
    left: -4%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: left center;
    font-size: clamp(80px, 12vw, 180px);
    -webkit-text-stroke-color: rgba(37, 99, 235, 0.07);
    z-index: 0;
}
.bg-word--right { left: auto; right: -4%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; }

.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__content { position: relative; z-index: 2; }

.badge-trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-xs);
    margin-bottom: 22px;
}
.badge-trust .icon { color: var(--color-primary); }

.hero__title {
    font-size: clamp(30px, 3.8vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.022em;
    margin: 0 0 18px;
    color: var(--text-primary);
    font-weight: 800;
    max-width: 640px;
}
.hero__title .nowrap { white-space: nowrap; }
.hero__lead {
    font-size: clamp(16px, 1.8vw, 19px);
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 0 32px;
    line-height: 1.6;
}

/* Разделительная линия между H1 и подзаголовком */
.hero__divider {
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: var(--gradient-brand);
    margin: 0 0 14px;
}

/* Подзаголовок */
.hero__subtitle {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.4vw, 19px);
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 20px;
    letter-spacing: -0.005em;
}

/* Список услуг — в столбик, без плашек, с чек-иконками */
.hero__services {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero__services li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.35;
}
.hero__services li > span {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0 6px;
    align-items: baseline;
}
.hero__services strong {
    font-weight: 600;
    color: var(--text-primary);
}
.hero__services em {
    font-style: normal;
    color: var(--text-muted);
    font-weight: 400;
    font-size: 15px;
}
.hero__services .icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 4px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 50%;
}

/* Социальное доказательство под списком услуг */
.hero__proof {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 30px;
    padding: 11px 18px;
    background: var(--bg-tint);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 14px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.3;
    letter-spacing: -0.005em;
}
.hero__proof .icon {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.micro-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin: 0;
}
.micro-trust li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}
.micro-trust .icon { color: var(--color-primary); }

/* Hero — правый визуал (refund-card + floating cards) */
.hero__visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__glow {
    position: absolute;
    inset: -10%;
    background: var(--gradient-glow);
    filter: blur(40px);
    z-index: 0;
    pointer-events: none;
}

.refund-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 32px;
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 28px 60px rgba(15, 23, 42, 0.10),
        0 6px 14px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}
.refund-card::before {
    content: '';
    position: absolute; inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(140deg, rgba(37,99,235,0.35), rgba(124,58,237,0.25), transparent 60%);
    -webkit-mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
            mask: linear-gradient(#000, #000) content-box, linear-gradient(#000, #000);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}
.refund-card__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px;
}
.refund-card__eyebrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 600; letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-family: var(--font-display);
}
.refund-card__eyebrow .icon { color: var(--color-primary); }
.refund-card__chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-tint);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}
.refund-card__amount {
    display: flex; align-items: baseline; gap: 8px;
    margin-bottom: 6px;
}
.refund-card__currency { font-size: 16px; color: var(--text-muted); font-weight: 500; }
.refund-card__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 6vw, 56px);
    line-height: 1;
    letter-spacing: -0.03em;
}
.refund-card__hint {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 0 24px;
}
.refund-card__steps {
    display: flex; flex-direction: column; gap: 12px;
    margin: 0 0 24px;
    padding: 18px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}
.refund-card__steps li {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}
.refund-card__step-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.refund-card__cta {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-weight: 600; font-size: 14px;
    color: var(--color-primary);
}
.refund-card__cta .icon { transition: transform .25s var(--ease); }
.refund-card__cta:hover { color: var(--color-violet); }
.refund-card__cta:hover .icon { transform: translateX(3px); }

/* Floating cards вокруг refund-card */
.floater {
    position: absolute;
    z-index: 3;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(12px);
    will-change: transform;
    animation: floater-bob 6s ease-in-out infinite;
}
.floater__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.floater__body { display: flex; flex-direction: column; line-height: 1.2; }
.floater__body strong {
    font-family: var(--font-display);
    font-weight: 700; font-size: 13px;
    color: var(--text-primary);
}
.floater__body span {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}
.floater--check  { top: 6%;   left: -6%;  animation-delay: 0s; }
.floater--shield { bottom: 14%; left: -8%; animation-delay: -2s; }
.floater--clock  { top: 18%;  right: -10%; animation-delay: -4s; }

@keyframes floater-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(20px, -30px) scale(1.06); }
}

/* Hero responsive */
@media (max-width: 960px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .hero__inner { grid-template-columns: 1fr; gap: 56px; text-align: center; }
    .hero__lead { margin-inline: auto; }
    .hero__cta, .micro-trust { justify-content: center; }
    .hero__visual { min-height: 440px; }
}
@media (max-width: 600px) {
    .hero__visual { min-height: 460px; }
    .refund-card { max-width: 360px; padding: 26px; }
    .floater--check  { top: 0;   left: 4%; }
    .floater--shield { bottom: -2%; left: 0; }
    .floater--clock  { top: 4%;  right: 0; }
    .floater__body strong { font-size: 12px; }
    .floater__body span { font-size: 10px; }
    .micro-trust { gap: 8px 16px; }
}

/* ---------- 8. (удалено: блок "Боли клиента" заменён на ng-stats-cases) ---------- */

/* ---------- 9. (удалено: блок «С чем помогаем» заменён на ng-services) ---------- */

/* ---------- 10. Доверие ---------- */
.trust { background: var(--bg-soft); }
.trust__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
@media (max-width: 1100px) {
    .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .trust__grid { grid-template-columns: 1fr; }
}
.trust-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-xs);
    transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37,99,235,0.20); }
.trust-card__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.trust-card__title { font-size: 17px; margin: 0 0 6px; color: var(--text-primary); }
.trust-card__text { color: var(--text-secondary); font-size: 14px; margin: 0; line-height: 1.55; }

/* ---------- 11. Калькулятор ---------- */
.calc { background: var(--bg-page); }
.calc__form {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    display: flex; flex-direction: column; gap: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}
.calc__field { border: 0; padding: 0; margin: 0; }
.calc__field legend {
    font-family: var(--font-display);
    font-weight: 600; margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 12px; text-transform: uppercase; letter-spacing: 0.10em;
}
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill {
    display: inline-flex; align-items: center;
    cursor: pointer;
    padding: 11px 20px;
    border-radius: 999px;
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    transition: all .25s var(--ease);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    font-family: var(--font-body);
    font-size: 14px;
}
.radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.radio-pill > span { display: inline-flex; align-items: center; gap: 8px; }
.radio-pill .icon { color: currentColor; opacity: .8; }
.radio-pill:hover { border-color: var(--color-primary); color: var(--color-primary); }
.radio-pill:has(input:checked) {
    background: var(--gradient-brand);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__label {
    display: flex; flex-direction: column; gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: var(--font-display);
}
.calc__label > span { letter-spacing: 0.02em; }
.calc__label input,
.calc__label textarea,
.calc__label select {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.calc__label input:focus,
.calc__label textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.calc__label textarea { resize: vertical; min-height: 90px; }
.calc__result {
    padding: 22px;
    border-radius: var(--radius-md);
    background: var(--gradient-soft);
    border: 1px solid rgba(37, 99, 235, 0.18);
}
.calc__result-row {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 4px 0;
    color: var(--text-primary);
    font-size: 15px;
}
.calc__result-row strong {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
}
.calc__result-row strong#calc-refund {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    letter-spacing: -0.02em;
}
.calc__result-row--secondary { color: var(--text-secondary); font-size: 13px; }
.calc__result-row--secondary strong { font-size: 16px; color: var(--text-secondary); }
.calc__hint { color: var(--text-muted); font-size: 13px; margin: 10px 0 0; line-height: 1.5; }
@media (max-width: 600px) {
    .calc__row { grid-template-columns: 1fr; }
    .calc__form { padding: 28px 22px; }
}

/* ---------- 12. Квиз ---------- */
.quiz-form {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}
.quiz__progress {
    height: 5px;
    background: var(--bg-soft);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 14px;
}
.quiz__progress-bar {
    display: block;
    height: 100%; width: 25%;
    background: var(--gradient-brand);
    transition: width .4s var(--ease);
    border-radius: 999px;
}
.quiz__counter {
    font-family: var(--font-display);
    font-size: 12px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.12em;
    margin-bottom: 24px; font-weight: 700;
}
.quiz__step { display: none; animation: quiz-fade .35s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes quiz-fade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.quiz__q {
    font-size: clamp(22px, 2.8vw, 28px);
    margin-bottom: 22px;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}
.quiz__options {
    display: grid; gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.quiz-opt {
    cursor: pointer;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    transition: all .25s var(--ease);
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    font-size: 15px;
}
.quiz-opt input { position: absolute; opacity: 0; }
.quiz-opt > span { display: flex; align-items: center; gap: 10px; }
.quiz-opt .icon { color: var(--text-muted); transition: color .25s var(--ease); flex-shrink: 0; }
.quiz-opt:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.10);
}
.quiz-opt:hover .icon { color: var(--color-primary); }
.quiz-opt:has(input:checked) {
    background: var(--gradient-soft);
    border-color: var(--color-primary);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
}
.quiz-opt:has(input:checked) .icon { color: var(--color-primary); }
.quiz__contacts { display: flex; flex-direction: column; gap: 16px; }
.quiz__nav { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.quiz__nav .btn { flex: 1 1 auto; min-width: 130px; }
.quiz__step--done { text-align: center; padding: 20px 0; }
.quiz__done-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    margin-bottom: 18px;
    box-shadow: var(--shadow-glow);
}
.quiz__step--done .quiz__q { font-size: clamp(24px, 3.5vw, 32px); }
.quiz__messengers { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }

/* ---------- 13. Согласие ПД ---------- */
.consent-label {
    display: flex; align-items: flex-start; gap: 12px;
    cursor: pointer;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    user-select: none;
    position: relative;
}
.consent-label input { position: absolute; opacity: 0; pointer-events: none; }
.consent-box {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 6px;
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    position: relative;
    transition: all .2s var(--ease);
    margin-top: 1px;
}
.consent-label input:checked + .consent-box {
    background: var(--gradient-brand);
    border-color: transparent;
}
.consent-label input:checked + .consent-box::after {
    content: '';
    position: absolute;
    left: 7px; top: 3px;
    width: 5px; height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.consent-label a { text-decoration: underline; color: var(--color-primary); }

.form-error {
    margin-top: 14px;
    padding: 11px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    color: #B91C1C;
    font-size: 14px;
}
.form-success {
    margin-top: 14px;
    padding: 11px 14px;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: var(--radius-sm);
    color: #15803D;
    font-size: 14px;
}

/* ---------- 14. Эксперты ---------- */
.experts { background: var(--bg-soft); }
.experts__grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 50px;
}
.expert-card {
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.expert-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo-frame {
    padding: 3px;
    background: var(--gradient-brand);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 0 auto 20px;
    max-width: 320px;
    transition: transform .4s var(--ease);
}
.expert-card:hover .photo-frame { transform: rotate(-1deg); }
.photo-frame > img {
    border-radius: calc(var(--radius-xl) - 3px);
    width: 100%; height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
    display: block;
}
.photo-expert {
    filter: contrast(1.03) saturate(1);
    border-radius: var(--radius-lg);
}
.expert-card__name {
    font-size: 24px; margin: 0 0 4px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.expert-card__role { color: var(--text-secondary); margin: 0 0 14px; font-size: 14px; }
.expert-card__phone {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: var(--color-primary);
    transition: color .2s var(--ease);
}
.expert-card__phone:hover { color: var(--color-violet); }

.seminar-banner {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 21/8;
    box-shadow: var(--shadow-lg);
    background: var(--bg-card);
}
.seminar-banner .photo-card {
    position: absolute; inset: 0;
}
.seminar-banner .photo-card img {
    width: 100%; height: 100%; object-fit: cover;
}
.seminar-banner .photo-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(95deg, rgba(15, 23, 42, 0.55) 0%, rgba(15, 23, 42, 0.20) 50%, transparent 100%);
}
.seminar-banner__overlay {
    position: absolute;
    left: 6%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 460px;
}
.seminar-banner__chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    margin-bottom: 16px;
}
.seminar-banner__text {
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
@media (max-width: 700px) {
    .seminar-banner { aspect-ratio: 4/3; }
    .seminar-banner__overlay { left: 5%; right: 5%; }
}

/* ---------- 15. Как работаем (timeline) ---------- */
.how { background: var(--bg-page); }
.timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 0;
}
.timeline::before {
    content: '';
    position: absolute;
    top: 28px; left: 6%; right: 6%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-violet));
    z-index: 0;
    opacity: .3;
    border-radius: 2px;
}
.timeline__item {
    position: relative;
    text-align: center;
    z-index: 1;
}
.timeline__num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.30);
    transition: transform .3s var(--ease);
}
.timeline__item:hover .timeline__num { transform: scale(1.08); }
.timeline__body h3 {
    font-size: 16px; margin: 0 0 6px;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}
.timeline__body p { color: var(--text-secondary); font-size: 14px; margin: 0; line-height: 1.5; }

@media (max-width: 960px) {
    .timeline { grid-template-columns: 1fr; gap: 24px; }
    .timeline::before {
        top: 0; bottom: 0; left: 28px; right: auto;
        width: 2px; height: auto;
    }
    .timeline__item { text-align: left; padding-left: 80px; }
    .timeline__num { position: absolute; left: 0; top: 0; }
}

/* ---------- 16. Истории клиентов — Marquee ---------- */
.stories {
    background: #F5F7FB;
    overflow: hidden;
    padding-bottom: 80px;
}
.stories .section-head { margin-bottom: 48px; }

/* ── Полоса прокрутки ── */
.marquee-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: marquee-scroll 48s linear infinite;
    will-change: transform;
}

.marquee-wrap:hover .marquee-track,
.marquee-wrap:focus-within .marquee-track {
    animation-play-state: paused;
}

/* ── Затухание по краям ── */
.marquee-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(60px, 8vw, 120px);
    pointer-events: none;
    z-index: 2;
}
.marquee-fade--left  { left: 0;  background: linear-gradient(to right,  #F5F7FB 0%, transparent 100%); }
.marquee-fade--right { right: 0; background: linear-gradient(to left, #F5F7FB 0%, transparent 100%); }

/* ── Карточка ── */
.story-card {
    flex-shrink: 0;
    width: 340px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 1px 4px rgba(15, 23, 42, 0.04);
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
    cursor: default;
}
.story-card:hover {
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
}

/* ── Шапка карточки ── */
.story-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}
.story-card__avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 17px;
    color: #fff;
    flex-shrink: 0;
}
.story-card__meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.story-card__name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}
.story-card__service {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-family: var(--font-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Бейдж источника ── */
.story-card__source {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px 4px 6px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
    flex-shrink: 0;
}
.story-card__source--vk  { background: rgba(65, 105, 225, 0.08); color: #3b5bdb; }
.story-card__source--max { background: rgba(124, 58, 237, 0.08); color: #6d28d9; }
.story-card__source img  { display: block; flex-shrink: 0; }

/* ── Звёзды ── */
.story-card__rating {
    display: flex;
    gap: 3px;
    color: #F59E0B;
}

/* ── Список ситуация / действие / результат ── */
.story-card__list {
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.story-card__list > div { margin: 0; }
.story-card__list dt {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 3px;
}
.story-card__list dd {
    margin: 0;
    color: var(--text-primary);
    font-size: 13.5px;
    line-height: 1.55;
}

/* ── Источник: email / phone ── */
.story-card__source--email { background: rgba(5, 150, 105, 0.08); color: #059669; }
.story-card__source--phone { background: rgba(217, 119, 6, 0.08); color: #B45309; }

/* ── Футер блока историй: кнопка ── */
.stories__footer {
    display: flex;
    justify-content: center;
    padding-top: 40px;
}
.btn-review-open {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px 13px 20px;
    background: #fff;
    border: 1px solid #E8ECF3;
    border-radius: 40px;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.10);
    transition: background .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-review-open:hover {
    background: var(--gradient-brand);
    color: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}
.btn-review-open__icon {
    display: inline-flex;
    align-items: center;
    color: #F59E0B;
    transition: color .25s var(--ease);
}
.btn-review-open:hover .btn-review-open__icon { color: rgba(255,255,255,0.9); }
.btn-review-open__arrow {
    transition: transform .25s var(--ease);
}
.btn-review-open:hover .btn-review-open__arrow { transform: translateX(4px); }

/* ── Адаптив ── */
@media (max-width: 1024px) {
    .story-card { width: 300px; }
}
@media (max-width: 640px) {
    .story-card {
        width: 272px;
        padding: 18px;
        gap: 12px;
        border-radius: 18px;
    }
    .story-card__list dd { font-size: 13px; }
    .marquee-track { gap: 14px; animation-duration: 38s; }
    .stories { padding-bottom: 60px; }
}

/* ──────────────────────────────────────────
   Поп-ап «Оставить отзыв»
   ────────────────────────────────────────── */
.review-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.review-modal[hidden] { display: none; }

.review-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.review-modal__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 28px;
    padding: 36px;
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.18), 0 4px 16px rgba(15, 23, 42, 0.08);
    animation: modal-in .3s var(--ease) both;
}
@keyframes modal-in {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.review-modal__close {
    position: absolute;
    top: 18px; right: 18px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    color: var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.review-modal__close:hover { background: #fee2e2; color: #dc2626; border-color: #fca5a5; }

.review-modal__head { text-align: center; margin-bottom: 24px; }
.review-modal__stars {
    display: flex;
    justify-content: center;
    gap: 4px;
    color: #F59E0B;
    margin-bottom: 12px;
}
.review-modal__title {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 6px;
}
.review-modal__sub {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* Группа кнопок источника */
.review-source-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}
.review-source-btn input { position: absolute; opacity: 0; width: 0; height: 0; }
.review-source-btn span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-soft);
    background: var(--bg-soft);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    cursor: pointer;
    transition: border-color .2s, background .2s, color .2s;
    user-select: none;
}
.review-source-btn input:checked + span {
    border-color: var(--color-primary);
    background: var(--bg-tint);
    color: var(--color-primary);
}
.review-source-btn span:hover { border-color: var(--color-primary); color: var(--color-primary); }

.review-modal__form { display: flex; flex-direction: column; gap: 14px; }
.field__label {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
}

@media (max-width: 600px) {
    .review-modal__panel { padding: 24px 20px; border-radius: 20px; }
    .review-modal__title { font-size: 18px; }
}

/* ---------- 17. Контакты ---------- */
.contacts {
    background:
        radial-gradient(60% 50% at 0% 0%, rgba(37,99,235,0.08), transparent 60%),
        radial-gradient(50% 50% at 100% 100%, rgba(124,58,237,0.08), transparent 60%),
        var(--bg-page);
}
.contacts__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: start;
}
.contacts__copy .section-sub { margin-inline: 0; max-width: 50ch; }
.contacts__channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 32px 0 24px;
}
.contact-tile {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-xs);
    color: var(--text-primary) !important;
    transition: all .25s var(--ease);
}
.contact-tile:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    color: var(--color-primary) !important;
}
.contact-tile__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.contact-tile:hover .contact-tile__icon {
    background: var(--gradient-brand);
    color: #fff;
}
.contact-tile__body { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.contact-tile__body strong {
    font-family: var(--font-display);
    font-weight: 700; font-size: 14px;
    letter-spacing: -0.005em;
}
.contact-tile__body span {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}
.contact-tile__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform .25s var(--ease), color .25s var(--ease);
}
.contact-tile:hover .contact-tile__arrow { transform: translateX(3px); color: var(--color-primary); }

.contacts__list {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--border-soft);
}
.contacts__list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 15px;
    color: var(--text-secondary);
}
.contacts__list .icon { color: var(--color-primary); flex-shrink: 0; }
.contacts__list a { color: var(--text-primary); }
.contacts__list a:hover { color: var(--color-primary); }

.contacts__form {
    padding: 36px;
    display: flex; flex-direction: column; gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-xl);
}
.contacts__form h3 {
    font-size: 24px; margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.contacts__form-sub {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 8px;
}

@media (max-width: 960px) {
    .contacts__inner { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- 18. Футер ---------- */
.site-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--border-soft);
    padding: 60px 0 24px;
    margin-top: 0;
}
.site-footer__grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-soft);
}
.site-footer__logo img { height: 48px; margin-bottom: 16px; }
.site-footer__slogan { color: var(--text-secondary); font-size: 14px; }
.site-footer__heading {
    font-size: 14px; margin-bottom: 16px;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.site-footer__list { display: flex; flex-direction: column; gap: 10px; }
.site-footer__list a { color: var(--text-secondary); font-size: 14px; }
.site-footer__list a:hover { color: var(--color-primary); }
.site-footer__list li { font-size: 14px; color: var(--text-secondary); }
.site-footer__messengers { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.social-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    transition: transform .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
    overflow: hidden;
    padding: 0;
}
.social-link:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}
.social-link .social-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: block;
}

/* Бренд-иконки соцсетей: общий класс */
.social-icon { display: inline-block; flex-shrink: 0; }

/* SVG бренд-иконки внутри кнопок (вместо lucide) */
.btn-icon--social {
    width: 20px; height: 20px;
    border-radius: 4px;
    background: rgba(255,255,255,0.95);
    padding: 1px;
}
.btn--ghost .btn-icon--social { background: transparent; }

/* Контейнер для бренд-иконки внутри contact-tile */
.contact-tile__icon--brand {
    background: transparent !important;
    padding: 0;
    overflow: hidden;
}
.contact-tile__icon--brand .social-icon {
    width: 100%; height: 100%;
    border-radius: 10px;
}
.contact-tile:hover .contact-tile__icon--brand { background: transparent !important; }

.site-footer__bottom {
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
    padding-top: 24px;
    color: var(--text-muted); font-size: 13px;
}

@media (max-width: 800px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 480px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- 19. Cookie banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 16px; left: 16px; right: auto;
    width: min(360px, calc(100vw - 32px));
    z-index: 200;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    transform: translateY(calc(100% + 32px));
    transition: transform .4s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    max-width: none;
}
.cookie-banner__text { margin: 0; font-size: 13px; line-height: 1.45; color: var(--text-secondary); }
.cookie-banner__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner__actions .btn { padding: 8px 14px; font-size: 13px; }

/* ---------- 20. Страницы (политика, соглашение, блог) ---------- */
.main-page, .main-legal, .main-blog {
    padding-top: 140px; padding-bottom: 80px;
    background: var(--bg-page);
}
.page-header { text-align: center; margin-bottom: 40px; }
.page-title {
    font-size: clamp(28px, 5vw, 44px);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 40px;
}
.page-layout__sidebar {
    display: flex; flex-direction: column; gap: 20px;
    position: sticky; top: 110px;
}
.widget {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-sm);
}
.widget h3 { font-size: 18px; margin: 0 0 8px; color: var(--text-primary); }
@media (max-width: 900px) {
    .page-layout { grid-template-columns: 1fr; }
    .page-layout__sidebar { position: static; }
}
.entry-content h2 {
    font-size: clamp(22px, 3vw, 28px); margin-top: 1.5em;
    color: var(--text-primary); letter-spacing: -0.01em;
}
.entry-content ul { padding-left: 1.5em; list-style: disc; }
.entry-content li { margin-bottom: .4em; color: var(--text-secondary); }
.entry-content p { color: var(--text-secondary); }
.entry-content a { text-decoration: underline; }
.legal-doc__date { color: var(--text-muted); font-size: 14px; }

.post-card {
    display: grid; grid-template-columns: 200px 1fr; gap: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    box-shadow: var(--shadow-xs);
    margin-bottom: 22px;
}
.post-card__thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }
.post-card__title a { color: var(--text-primary); font-family: var(--font-display); font-weight: 700; }
.post-card__meta { color: var(--text-muted); font-size: 14px; margin-bottom: 8px; }
.post-card__excerpt { color: var(--text-secondary); margin-bottom: 12px; }
@media (max-width: 600px) { .post-card { grid-template-columns: 1fr; } }

/* ---------- 21. Reveal-анимации ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
    .blob, .floater, .bg-word { animation: none !important; }
}

/* ---------- 22. Утилиты ---------- */
.no-scroll { overflow: hidden; }

/* ============================================================
   22.5 Безлейбловые поля форм (.field)
   ============================================================ */
.field {
    display: block;
    width: 100%;
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-strong);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder {
    color: var(--text-faint);
    opacity: 1;
    font-weight: 400;
}
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field textarea { resize: vertical; min-height: 96px; }

/* ============================================================
   22.6 People-card для финального CTA («Просто напишите нам»)
   ============================================================ */
.contacts__people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
    margin: 32px 0 14px;
}
.people-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: 18px 18px 14px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.people-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
}
.people-card__head { margin-bottom: 12px; }
.people-card__name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.people-card__role {
    color: var(--text-muted);
    font-size: 13px;
    margin: 2px 0 0;
}
.people-card__row {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.people-call {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    color: var(--text-primary);
    transition: all .25s var(--ease);
    text-decoration: none;
    min-width: 0;
}
.people-call:hover {
    background: var(--bg-tint);
    color: var(--color-primary);
    transform: translateY(-1px);
}
.people-call__icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.people-call:hover .people-call__icon {
    background: var(--gradient-brand);
    color: #fff;
}
.people-call__body { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.people-call__body strong {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    color: inherit;
}
.people-call__body span {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.people-max {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--bg-soft);
    border: 1px solid var(--border-soft);
    transition: all .25s var(--ease);
    overflow: hidden;
    padding: 0;
}
.people-max:hover {
    transform: translateY(-1px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}
.people-max .social-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: block;
}
.people-max.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* «контакты-мессенджеры» (VK/Telegram) под people-cards */
.contacts__messengers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin: 14px 0 0;
}

/* ============================================================
   23. Модалки
   ============================================================ */
.modal {
    position: fixed; inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal[hidden] { display: none; }
.modal__backdrop {
    position: absolute; inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.modal__panel {
    position: relative;
    width: 100%;
    max-width: 720px;
    max-height: calc(100vh - 48px);
    background: var(--bg-card);
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.30);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.modal__panel--small { max-width: 460px; }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { transform: translateY(0) scale(1); opacity: 1; }
.modal__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-secondary);
    display: inline-flex; align-items: center; justify-content: center;
    z-index: 2;
    border: 0;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.modal__close:hover {
    background: var(--bg-tint);
    color: var(--color-primary);
    transform: rotate(90deg);
}
.modal__body {
    padding: 36px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.modal__head {
    margin-bottom: 24px;
    padding-right: 40px;
}
.modal__head--center { text-align: center; padding-right: 0; }
.modal__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.2;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}
.modal__sub {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
}

/* квиз внутри модалки — без двойного border/shadow */
.modal .quiz-form {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
    max-width: none;
}

/* call-modal список */
.call-modal__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}
.call-modal__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    color: var(--text-primary);
    transition: all .25s var(--ease);
    text-decoration: none;
}
.call-modal__item:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    color: var(--color-primary);
}
.call-modal__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background .25s var(--ease), color .25s var(--ease);
}
.call-modal__item:hover .call-modal__icon {
    background: var(--gradient-brand);
    color: #fff;
}
.call-modal__body { display: flex; flex-direction: column; line-height: 1.25; }
.call-modal__body strong {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.call-modal__body span {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 2px;
}

@media (max-width: 600px) {
    .modal { padding: 0; }
    .modal__panel {
        max-width: 100%;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
    }
    .modal__panel--small {
        max-width: 100%;
        height: auto;
        max-height: 100vh;
        border-radius: 24px 24px 0 0;
        margin-top: auto;
    }
    .modal__body { padding: 28px 22px; }
}

/* ============================================================
   24. Sticky social-bar (нижний док)
   ============================================================ */
.social-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%) translateY(150%);
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform .4s var(--ease), opacity .3s var(--ease);
    opacity: 0;
}
.social-bar.is-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.social-bar__item {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-primary);
    border: 0;
    transition: transform .2s var(--ease), background .25s var(--ease);
    cursor: pointer;
    text-decoration: none;
}
.social-bar__item:hover {
    transform: translateY(-2px);
    background: var(--bg-tint);
}
.social-bar__item--phone {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
}
.social-bar__item--phone:hover {
    background: var(--gradient-brand-deep);
    color: #fff;
    box-shadow: 0 10px 22px rgba(124, 58, 237, 0.40);
}
.social-bar__item--calc {
    background: transparent;
    padding: 0;
}
.social-bar__item--calc .social-bar__icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
    transition: transform .25s var(--ease);
}
.social-bar__item--calc:hover {
    background: transparent;
    transform: translateY(-2px);
}
.social-bar__item--calc:hover .social-bar__icon {
    transform: scale(1.05);
}
.social-bar__icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    display: block;
}

/* «Отправить документы» — выравниваем размер с калькулятором */
.social-bar__item--docs { background: transparent; padding: 0; }
.social-bar__item--docs .social-bar__icon {
    width: 38px; height: 38px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform .25s var(--ease);
}
.social-bar__item--docs:hover { background: transparent; transform: translateY(-2px); }
.social-bar__item--docs:hover .social-bar__icon { transform: scale(1.05); }

/* ---- Бегущая подсказка над иконкой ---- */
.social-bar__item { position: relative; }
.social-bar__item::after {
    content: attr(data-tip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translate(-50%, 6px) scale(.96);
    background: #ffffff;
    color: #0f172a;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    z-index: 1;
}
.social-bar__item::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    width: 10px; height: 10px;
    background: #ffffff;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    transform: translate(-50%, 6px) rotate(45deg);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    pointer-events: none;
    z-index: 1;
}
.social-bar__item:not([data-tip])::after,
.social-bar__item:not([data-tip])::before { content: none; }

.social-bar__item.is-tip-active::after {
    opacity: 1; visibility: visible;
    transform: translate(-50%, 0) scale(1);
}
.social-bar__item.is-tip-active::before {
    opacity: 1; visibility: visible;
    transform: translate(-50%, 0) rotate(45deg);
}

@media (max-width: 600px) {
    .social-bar__item::after { font-size: 12px; padding: 6px 10px; bottom: calc(100% + 10px); }
    .social-bar__item--docs .social-bar__icon { width: 34px; height: 34px; }
}

/* Когда баннер cookie виден — поднять social-bar выше */
.cookie-banner.is-visible ~ .social-bar.is-visible,
body:has(.cookie-banner.is-visible) .social-bar.is-visible {
    bottom: 100px;
}

@media (max-width: 600px) {
    .social-bar { gap: 4px; padding: 5px; }
    .social-bar__item { width: 42px; height: 42px; }
    .social-bar__icon { width: 28px; height: 28px; }
}

/* ============================================================
   25. (удалено: мобильная карусель .services__grid — блок заменён на ng-services)
   ============================================================ */

/* ============================================================
   26. Buffer в footer — чтобы sticky social-bar не перекрывал реквизиты
   ============================================================ */
.site-footer { padding-bottom: 90px; }
@media (min-width: 1025px) {
    .site-footer { padding-bottom: 24px; }
    /* На ПК социал-бар тоже видим (как и просил клиент), но он по центру внизу — footer не пересекает */
}

/* ============================================================
   27. Hard override — мобильное меню (защита от naked .nav__list стилей)
   ============================================================ */
.mobile-menu__nav .menu,
.mobile-menu__nav .nav__list,
.mobile-menu__nav .mobile-menu__list,
.mobile-menu__nav ul {
    display: block !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}
.mobile-menu__nav li,
.mobile-menu__nav .menu-item {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

/* ============================================================
   28. ЭКСПЕРТНОСТЬ ЛЮБОВИ — секция #expertise
   ============================================================ */
/* ═══════════════════════════════════════════
   Блок экспертности Любови — новый дизайн
   ═══════════════════════════════════════════ */
.expertise {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(60% 55% at 8% 0%,   rgba(37, 99, 235, 0.07), transparent 65%),
        radial-gradient(50% 50% at 95% 100%, rgba(124, 58, 237, 0.07), transparent 65%),
        var(--bg-page);
    overflow: hidden;
}

/* Декоративное свечение */
.expertise__glow {
    position: absolute;
    top: -120px; left: 50%;
    transform: translateX(-50%);
    width: min(900px, 120%);
    height: 400px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.expertise .container { position: relative; z-index: 1; }

/* Eyebrow */
.eyebrow--exp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.eyebrow--exp .icon { color: var(--color-violet); }

/* ── Широкое фото сверху ── */
.expertise__photo-banner {
    width: 100%;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 48px;
    line-height: 0;
}
.expertise__banner-img {
    display: block;
    width: 100%;
    height: clamp(280px, 30vw, 420px);
    object-fit: cover;
    object-position: center 30%;
}

/* ── Текстовый блок ── */
.expertise__intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.expertise__intro-head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.expertise__intro-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 12px 0 16px;
}
.expertise__intro-sub {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
}

/* ── Карточки 2×2 ── */
.expertise__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.expertise__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.expertise__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.20);
}
.expertise__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--gradient-soft);
    color: var(--color-primary);
    flex-shrink: 0;
    transition: background .3s var(--ease), color .3s var(--ease);
}
.expertise__card:hover .expertise__card-icon {
    background: var(--gradient-brand);
    color: #fff;
}
.expertise__card-title {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}
.expertise__card-text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ── CTA ── */
.expertise__cta {
    display: flex;
    justify-content: center;
    padding-top: 4px;
}
.expertise__cta-btn { min-width: 240px; }

/* ── Адаптив ── */
@media (max-width: 720px) {
    .expertise__photo-banner {
        border-radius: 20px;
        margin-bottom: 32px;
    }
    .expertise__banner-img {
        height: clamp(200px, 55vw, 300px);
        object-position: center 20%;
    }
    .expertise__cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .expertise__card { padding: 18px; }
    .expertise__card-title { font-size: 16px; }
    .expertise__cta-btn { width: 100%; justify-content: center; }
    .expertise__intro { gap: 28px; }
    .expertise__intro-head { text-align: left; }
    .expertise__intro-sub { margin-inline: 0; }
}

/* ---- Уважение к prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
    .expertise__card { transition: none; }
    .expertise__card-icon { transition: none; }
    .expertise-fact:hover { transform: none; }
}

/* ============================================================
   29. HERO — фото эксперта в градиентной рамке (стиль C)
   ============================================================ */
.hero__visual--photo {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-portrait {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    margin: 0;
    padding: 0;
    aspect-ratio: 5 / 6;
    border-radius: var(--radius-xl);
    /* НЕ isolation: isolate — иначе фото не сможет выйти за границы */
    /* добавляем верхний отступ под "вылезающую" голову */
    margin-top: clamp(48px, 7vw, 90px);
}

/* Градиентная рамка-обводка (двухслойная техника: внешний градиент + белая «прорезь» для inner-card) */
.hero-portrait__frame {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--gradient-brand);
    box-shadow:
        0 30px 60px rgba(37, 99, 235, 0.28),
        0 12px 24px rgba(124, 58, 237, 0.20);
    z-index: 0;
    /* лёгкий «дышащий» glow */
    animation: heroFrameGlow 6s ease-in-out infinite;
}
.hero-portrait__frame::before {
    /* уголки в стиле "корнеры" — 4 декоративные L-метки */
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.25), transparent 30%);
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* Внутренняя «прорезь» рамки: однотонный градиентный фон.
   ВАЖНО: фото лежит НЕ внутри inner, а отдельным слоем поверх — чтобы могло выходить за границы рамки. */
.hero-portrait__inner {
    position: absolute;
    inset: 8px;
    border-radius: calc(var(--radius-xl) - 6px);
    background:
        radial-gradient(120% 80% at 50% 0%, rgba(37, 99, 235, 0.10) 0%, transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F6FF 100%);
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

/* Сама фигура — отдельный слой ВЫШЕ рамки (z-index: 4).
   Низ фигуры прибит к низу рамки, высота = 116% от высоты рамки →
   верхняя часть (голова) "вылетает" над верхним краем на 16%. */
.hero-portrait__img {
    position: absolute;
    z-index: 4;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 116%;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 24px 30px rgba(15, 23, 42, 0.18));
}

/* Подпись внизу рамки в стиле "карточка имени" из референса.
   z-index выше img, чтобы лежала ПОВЕРХ фигуры (как на референсе бухгалтерии). */
.hero-portrait__caption {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    background: var(--gradient-brand);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.32);
    text-align: center;
    white-space: nowrap;
}
.hero-portrait__caption strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* "Дышащий" glow рамки */
@keyframes heroFrameGlow {
    0%, 100% {
        box-shadow:
            0 30px 60px rgba(37, 99, 235, 0.28),
            0 12px 24px rgba(124, 58, 237, 0.20);
    }
    50% {
        box-shadow:
            0 36px 72px rgba(37, 99, 235, 0.34),
            0 16px 32px rgba(124, 58, 237, 0.26);
    }
}

/* Плавающие чипы вокруг фото */
.hero-chip {
    position: absolute;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    will-change: transform;
    animation: heroChipFloat 6s ease-in-out infinite;
}
.hero-chip__icon {
    width: 36px; height: 36px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tint);
    color: var(--color-primary);
    border-radius: 50%;
}
.hero-chip__icon--accent {
    background: var(--gradient-brand);
    color: #fff;
}
.hero-chip__body {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.hero-chip__body strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: -0.005em;
}
.hero-chip__body span {
    font-size: 12px;
    color: var(--text-muted);
}

.hero-chip--experience {
    top: 38%;
    left: -8%;
    animation-delay: 0s;
}
.hero-chip--reply {
    bottom: 18%;
    right: -8%;
    animation-delay: -3s;
}

@keyframes heroChipFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

/* ---- Адаптив для hero-портрета ---- */
@media (max-width: 1100px) {
    .hero-portrait { max-width: 450px; }
    .hero-chip--experience { left: -2%; }
    .hero-chip--reply { right: -2%; }
}
@media (max-width: 960px) {
    .hero__visual--photo { min-height: auto; padding: 24px 0 60px; }
    .hero-portrait {
        max-width: 420px;
        aspect-ratio: 5 / 6;
        margin-inline: auto;
        margin-top: 70px;
    }
    .hero-chip--experience { top: 36%; left: -10px; }
    /* "Ответ в течение часа" поднимаем выше: чтобы не пересекался с подписью "Никифорова Любовь" */
    .hero-chip--reply      { bottom: 28%; right: -10px; }
}
@media (max-width: 600px) {
    .hero__visual--photo { padding: 24px 0 70px; }
    .hero-portrait { max-width: 360px; margin-top: 56px; }
    .hero-portrait__img { height: 114%; }
    .hero-portrait__caption {
        min-width: 220px;
        padding: 12px 18px;
        bottom: -22px;
    }
    .hero-portrait__caption strong { font-size: 14px; }
    .hero-portrait__caption span { font-size: 11px; }
    .hero-chip { padding: 10px 14px 10px 10px; gap: 10px; }
    .hero-chip__icon { width: 30px; height: 30px; }
    .hero-chip__body strong { font-size: 12px; }
    .hero-chip__body span { font-size: 10px; }
    .hero-chip--experience { top: 34%; left: -8px; }
    /* На мобиле "Ответ в течение часа" ставим выше середины — гарантированно над подписью */
    .hero-chip--reply      { bottom: 32%; right: -8px; }
}
@media (max-width: 380px) {
    /* на самых узких — прячем чипы, чтобы не наезжали на лицо */
    .hero-chip { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-portrait__frame { animation: none; }
    .hero-chip { animation: none; }
}

/* ── FAQ ─────────────────────────────────────────── */
.faq { padding: var(--section-pad, 80px) 0; }

.faq__list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: .625rem;
}

.faq__item {
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 16px;
    background: var(--bg-card, #fff);
    transition: border-color .2s, box-shadow .2s;
    overflow: hidden;
}
.faq__item[open] {
    border-color: var(--color-primary, #4f46e5);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.faq__question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    user-select: none;
    color: var(--text-primary);
    transition: color .2s;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__item[open] .faq__question { color: var(--color-primary, #4f46e5); }

/* иконка — плавный поворот */
.faq__icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-tint, #f0f0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, transform .3s cubic-bezier(.4,0,.2,1);
}
.faq__icon svg {
    display: block;
    width: 14px;
    height: 14px;
    stroke: var(--color-primary, #4f46e5);
    transition: stroke .2s;
}
.faq__item[open] .faq__icon {
    background: var(--color-primary, #4f46e5);
    transform: rotate(45deg);
}
.faq__item[open] .faq__icon svg { stroke: #fff; }

/* плавное раскрытие через grid */
.faq__body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .32s cubic-bezier(.4,0,.2,1);
}
.faq__item[open] .faq__body {
    grid-template-rows: 1fr;
}
.faq__body-inner {
    overflow: hidden;
}

.faq__answer {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary, #666);
    line-height: 1.7;
    font-size: .9375rem;
}
.faq__answer p { margin: 0; }

@media (max-width: 640px) {
    .faq__question { padding: 1rem 1.25rem; font-size: .9375rem; }
    .faq__answer   { padding: 0 1.25rem 1rem; }
}
