/* Токены: css/tokens.css подключать в HTML перед этим файлом */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    font-family: var(--font-ui), "Manrope", sans-serif;
    font-size: var(--fs-body);
    line-height: var(--lh-body);
    color: var(--text);
    background: var(--bg);
}

main {
    display: block;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

p {
    margin: 0;
}

h1,
h2,
h3 {
    margin: 0 0 16px;
    line-height: var(--lh-heading);
    text-transform: none;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

:where(a, button, input, textarea, select, summary, [role="button"], .btn):focus-visible {
    outline: var(--focus-outline);
    outline-offset: var(--focus-offset);
}

/* секционные интервалы из токенов */
.section {
    padding: var(--section-y) 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Затемнение контента при открытом меню (ниже панели #site-nav и FAB мессенджеров) */
.site-nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 248;
    background: rgba(15, 23, 42, 0.34);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.34s ease, visibility 0s linear 0.34s;
}

body.site-nav-open .site-nav-scrim {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.34s ease, visibility 0s;
}

.container {
    width: min(var(--container), calc(100% - 24px));
    max-width: 100%;
    margin: 0 auto;
}

.brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    margin-top: -10px;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-law {
    font-weight: 500;
    font-size: clamp(0.62rem, 0.72vw, 0.72rem);
    color: var(--hero-muted);
    letter-spacing: 0.01em;
    max-width: 240px;
}

.nav-brand,
.nav-cta,
.nav-social {
    display: none;
}

.nav-legal-line {
    margin: 0 0 12px;
    font-size: 0.72rem;
    line-height: 1.45;
    font-weight: 400;
    color: rgba(228, 237, 248, 0.65);
    text-transform: none;
}

.nav a {
    text-decoration: none;
    font-weight: 500;
    color: rgba(236, 243, 251, 0.85);
    transition: color 0.2s;
}

.nav a:hover {
    color: #ffffff;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 24px;
}

.nav-desktop a {
    text-decoration: none;
    font-weight: 500;
    color: rgba(236, 243, 251, 0.85);
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: #ffffff;
}

.desktop-legal {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    color: rgba(236, 243, 251, 0.92);
}

.desktop-legal-text {
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0.02em;
    color: rgba(236, 243, 251, 0.72);
}

.desktop-phone-toggle {
    border: 0;
    padding: 0;
    background: transparent;
    color: rgba(236, 243, 251, 0.78);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.86rem;
    line-height: 1.1;
    transition: color 0.2s ease;
    text-align: left;
}

.desktop-phone-toggle:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.45);
    outline-offset: 4px;
    border-radius: 8px;
}

.desktop-phone-tail {
    opacity: 0.25;
    filter: blur(0.2px);
    transition: opacity 0.25s ease, filter 0.25s ease;
}

.desktop-phone-toggle.is-open .desktop-phone-tail {
    opacity: 1;
    filter: none;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 12px;
    background: rgba(12, 20, 33, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 11px 10px;
    cursor: pointer;
    flex-shrink: 0;
    gap: 0;
    flex-direction: column;
    justify-content: center;
}

.menu-toggle span:not(.sr-only) {
    display: block;
    width: 20px;
    height: 1.5px;
    background: #f4f8ff;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle span:not(.sr-only) + span:not(.sr-only) {
    margin-top: 5px;
}

.menu-toggle:focus-visible {
    outline: 2px solid rgba(147, 197, 253, 0.55);
    outline-offset: 3px;
}

/* ===== Desktop: compact header nav + narrow right drawer ===== */
@media (min-width: 769px) {
    .nav-desktop {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
        z-index: 320; /* чтобы кнопка меню не перекрывалась панелью */
    }

    .nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 320px;
        padding: 24px 16px 20px;
        background: rgba(32, 34, 39, 0.98);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        transform: translateX(110%);
        transition: transform 0.36s cubic-bezier(0.25, 0.8, 0.22, 1);
        pointer-events: none;
        z-index: 250;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    .nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .nav-brand {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 8px;
        padding-bottom: 0;
        border-bottom: none;
        color: #e4edf8;
        font-weight: 700;
        font-size: 0.95rem;
    }

    .nav-brand img {
        width: 56px;
        height: 56px;
        border-radius: 14px;
        object-fit: contain;
    }

    .nav-close {
        display: flex;
        position: absolute;
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        color: #e4edf8;
        font-size: 1.6rem;
        line-height: 1;
        cursor: pointer;
        z-index: 251;
        padding: 0;
    }

    .nav > a {
        width: 100%;
        color: #ecf3ff;
        font-size: 1.05rem;
        padding: 10px 6px;
        border-radius: 12px;
        text-transform: none;
        font-variant: normal;
    }

    .nav > a:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    .nav-bottom {
        margin-top: auto;
        width: 100%;
        padding-top: 18px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .nav-bottom-social {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .nav-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.38);
        color: rgba(255, 255, 255, 0.88);
        text-decoration: none;
        background: transparent;
        box-shadow: none;
        transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
    }

    .nav-circle:hover {
        transform: translateY(-1px);
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.55);
        color: #fff;
    }

    .nav-circle--tg,
    .nav-circle--max {
        background: transparent;
        border-color: rgba(255, 255, 255, 0.38);
    }

    /* Светлые кружки с тёмными иконками в выезжающем меню */
    #site-nav a.nav-circle {
        background: rgba(255, 255, 255, 0.94);
        border-color: rgba(0, 0, 0, 0.1);
        color: #1a2332;
    }

    #site-nav a.nav-circle:hover {
        background: #fff;
        border-color: rgba(0, 0, 0, 0.16);
        color: #0f172a;
    }

    #site-nav .nav-bottom-social {
        transform: translateY(-5px);
    }

    .nav-consult {
        width: 100%;
        min-width: 0;
    }

    /* Только десктоп: иначе специфичность .hero > .nav#site-nav перебивает мобильное меню (#000, z-index, overflow) */
    .hero > .nav#site-nav {
        grid-column: 1 / -1;
        grid-row: 1 / -1;
        align-self: start;
        height: 0;
        min-height: 0;
        overflow: visible;
        pointer-events: none;
        z-index: 260;
    }

    .hero > .nav#site-nav.is-open {
        pointer-events: auto;
    }
}

/* ===== BUTTONS ===== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    min-width: 220px;
    padding: 0 28px;
    border-radius: var(--radius-sm);
    border: none;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--fs-button);
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow);
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    border-radius: var(--radius-sm);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #f1f5fc;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-sm:hover {
    background: rgba(255, 255, 255, 0.16);
}

.btn-block {
    width: 100%;
}

.link-btn {
    border: 0;
    padding: 0;
    background: transparent;
    color: #5a7a9b;
    cursor: pointer;
    font-weight: 600;
    font-size: inherit;
}

/* subtle periodic shine on the main CTA */
.hero-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero-cta::after {
    content: "";
    position: absolute;
    inset: -120% auto -120% -35%;
    width: 26%;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.72) 50%, transparent 100%);
    transform: translateX(-420%) rotate(14deg);
    animation: ctaShine 8s infinite;
}

@keyframes ctaShine {
    0%, 85% {
        transform: translateX(-420%) rotate(14deg);
    }
    96%, 100% {
        transform: translateX(980%) rotate(14deg);
    }
}

/* ===== HERO — split screen (композиция как mikitenko.ru: светлая колонка + фото) ===== */

.hero {
    display: grid;
    width: 100%;
    max-width: 100%;
    /* minmax(0,1fr): иначе min-width:auto у колонок раздувает сетку шире экрана */
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    position: relative;
}

/* --- Левая светлая колонка --- */
.hero-left {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    background: var(--hero-left-bg);
    color: var(--hero-heading);
    display: flex;
    flex-direction: column;
    padding: 0 var(--hero-pad-x) 0 var(--hero-pad-left);
    position: relative;
}

/* Верхняя полоса без фона: слева бренд + навигация в один ряд; меню — в правом верхнем углу над фото */
.hero-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 0;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
}

.hero-header > * {
    pointer-events: auto;
}

/* Горизонтальные отступы как у .hero-left — граница с фото совпадает */
.hero-header-left {
    grid-column: 1;
    min-width: 0;
    padding-left: var(--hero-pad-left);
    padding-right: var(--hero-pad-x);
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(10px, 1.5vh, 16px);
}

.hero-header-brand {
    min-width: 0;
    width: 100%;
}

.hero-header-brand .brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-top: 0;
}

.hero-header .nav-desktop {
    justify-content: flex-end;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: clamp(16px, 2.2vw, 28px);
    max-width: 100%;
}

.hero-header-aside {
    grid-column: 2;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    justify-self: stretch;
    align-self: start;
    padding: 0 clamp(6px, 1vw, 14px) 0 0;
    min-width: 0;
}

.hero-header .brand-law {
    color: var(--hero-muted);
}

/* Текстовые ссылки без плашек — как у mikitenko.ru */
.hero-header .nav-desktop a {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    border: none;
    background: none;
    box-shadow: none;
    border-radius: 0;
    color: var(--hero-heading);
    text-decoration: none;
    font-family: "Manrope", sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    font-variant: normal;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.hero-header .nav-desktop a:hover {
    color: var(--primary);
    background: none;
    box-shadow: none;
}

.hero-header .nav-desktop a:focus-visible {
    outline: 2px solid var(--hero-focus-ring);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Кнопка меню — плотно в углу над фото */
.hero-header .menu-toggle {
    border: none;
    background: rgba(17, 24, 39, 0.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-header .menu-toggle span:not(.sr-only) {
    background: #f8fafc;
}

/* Основной контент hero */
.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px 0 40px;
}

@media (min-width: 769px) {
    .hero-content {
        justify-content: flex-start;
        /* Фиксированный зазор +200px к базе (см. .cursor/rules — не уменьшать без явной просьбы) */
        padding-top: calc(200px + clamp(64px, 10vh, 118px));
    }
}

/* Долги-теги */
.hero-debts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-debts span {
    font-size: clamp(0.78rem, 1.1vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--hero-heading);
    text-transform: uppercase;
}

.hero-debts span::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--primary);
    vertical-align: 0.15em;
}

.hero .hero-content h1 {
    font-family: "Forum", "Cormorant Garamond", serif;
    font-size: clamp(3.05rem, 6vw, 5.65rem);
    letter-spacing: 0.01em;
    font-weight: 400;
    line-height: 1.12;
    color: var(--hero-heading);
    text-shadow: none;
    margin: 0 0 24px;
}

.hero-content .usps {
    display: grid;
    gap: 6px;
    margin: 0 0 28px;
    padding: 0 0 0 clamp(24px, 5vw, 52px);
    list-style: none;
}

.hero-content .usps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    font-size: 1.05rem;
    color: var(--hero-body);
    line-height: 1.22;
}

.hero-content .usps li::before {
    content: "";
    width: 7px;
    height: 7px;
    flex-shrink: 0;
    background: var(--primary);
    border-radius: 50%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions .btn-primary {
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-content .warning-bar {
    margin-top: auto;
    padding: 24px 0 4px;
    font-size: 0.9rem;
    color: var(--hero-subtle);
    max-width: 95%;
    line-height: 1.55;
    background: transparent;
    border: 0;
}

/* --- Правая фото-колонка: край в край --- */
.hero-right {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}

.hero-right .hero-photo-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Igor3.jpg: лицо чуть выше геометрического центра кадра — смещаем якорь вниз для визуального центра */
    object-position: 50% 46%;
    display: block;
}

.hero-right .hero-photo-mob {
    display: none;
}

/* Бейджи на фото */
.hero-badge {
    position: absolute;
    background: rgba(28, 40, 58, 0.38);
    color: #fff;
    border: none;
    outline: none;
    box-shadow: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 5px;
    padding: 12px 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.92rem;
    line-height: 1.45;
    z-index: 2;
    pointer-events: none;
}

.hero-badge strong {
    font-weight: 600;
}

.hero-badge--bl {
    left: 20px;
    bottom: 24px;
}

/* «Всеми делами…» — ниже, на рубашке, не на щеке */
.hero-badge--cr {
    right: 10px;
    top: 72%;
    transform: translateY(calc(-50% + 20px));
    max-width: 230px;
}

.btn-ghost {
    background: linear-gradient(135deg, #2a9d78, #45c9a0);
    color: #f4fffb;
    box-shadow: 0 10px 28px rgba(42, 157, 120, 0.28);
}

/* ===== TRUST BAR (единый блок: светлая полоса, разделители, без карточек) ===== */

.trust-bar {
    padding: 56px 0;
    background: var(--bg);
    color: var(--text);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-bar .trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: stretch;
}

.trust-bar .trust-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0 36px;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.trust-bar .trust-item:first-child {
    padding-left: 0;
}

.trust-bar .trust-item:last-child {
    padding-right: 0;
}

.trust-bar .trust-item + .trust-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8%;
    height: 84%;
    width: 1px;
    background: linear-gradient(180deg, transparent, #d3dfeb 15%, #d3dfeb 85%, transparent);
}

.trust-bar .trust-value {
    font-size: 2.1rem;
    font-weight: 500;
    font-family: var(--font-display);
    color: var(--primary);
    flex-shrink: 0;
    line-height: 1;
}

.trust-bar .trust-label {
    font-size: 0.97rem;
    color: var(--text-body-secondary);
    line-height: 1.5;
}

/* ===== SECTIONS ===== */

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    background: #183149;
    color: var(--text-on-dark);
}

.section-header {
    margin-bottom: 40px;
    max-width: 980px;
}

.section-header.center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.eyebrow {
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
}

.eyebrow-strong {
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    text-transform: none;
    font-weight: 700;
    color: #1f5fa2;
}

.ai-bot .eyebrow-strong {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3.4vw, 3.4rem);
    line-height: 1;
    color: #1d4670;
}

.eyebrow-light {
    color: #93c5fd;
}

h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 3.2vw, 4rem);
    line-height: 1.03;
    color: var(--heading-section);
}

.section-desc {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
    margin-top: 8px;
}

.subdesc {
    color: var(--text-light);
    margin-top: 8px;
}

/* ===== STAGES ===== */

.stages {
    display: grid;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.stage {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius);
    border: 0;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    align-items: start;
}

.stage-num {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(37, 77, 122, 0.08);
    color: #496e99;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.stage h3 {
    margin-bottom: 6px;
}

.stage p {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
}

/* ===== DEBT TAGS ===== */

.debt-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
}

.tag {
    padding: 10px 24px;
    border-radius: 999px;
    background: var(--bg-alt);
    border: 0;
    font-weight: 500;
    font-size: 0.88rem;
    color: #59718f;
}

.small-note {
    text-align: center;
    font-size: 0.85rem;
    color: #8090a4;
    max-width: 680px;
    margin: 0 auto;
}

/* ===== PROPERTY ===== */

.property-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.property-list {
    display: grid;
    gap: 12px;
}

.property-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg);
    border: 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.property-item i {
    color: #2f5d8f;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ===== FIRST STEP ===== */

.first-step {
    padding: 48px;
    border-radius: var(--radius);
    background: var(--bg-alt);
    border: 0;
    box-shadow: none;
}

.first-step-badges {
    display: flex;
    gap: 14px;
    margin-top: 20px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: var(--accent-light);
    border: 0;
    font-weight: 700;
    font-size: 0.88rem;
    color: #92400e;
}

.check-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.check-list li {
    position: relative;
    padding-left: 26px;
    font-weight: 500;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

/* ===== FAQ ===== */

.faq-list {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    padding: 18px 22px;
    border-radius: var(--radius);
    border: 0;
    background: var(--bg);
    box-shadow: none;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    font-weight: 500;
    position: relative;
    padding-right: 34px;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 12px;
    color: #73849a;
}

/* ===== FORM ===== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.form-info h2 {
    color: #fff;
}

.form-info p {
    color: rgba(226, 232, 240, 0.85);
}

.lead-form {
    padding: 32px;
    border-radius: var(--radius);
    background: #fff;
    color: var(--text);
    box-shadow: 0 18px 44px rgba(15, 23, 39, 0.22);
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-row input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text);
}

.form-row input:focus {
    outline: 2px solid rgba(30, 58, 95, 0.15);
    border-color: var(--primary);
}

.is-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 16px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.checkbox-row input {
    margin-top: 3px;
}

.checkbox-row a {
    color: var(--primary);
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.form-status.is-success {
    color: #16a34a;
}

.form-status.is-error {
    color: #dc2626;
}

.form-hint {
    margin-top: 10px;
    font-size: 0.88rem;
    color: var(--text-light);
    text-align: center;
}

.form-hint a {
    color: var(--primary);
}

.form-hint .link-btn {
    color: var(--primary);
}

.sep {
    margin: 0 6px;
    opacity: 0.4;
}

/* ===== FOOTER ===== */

.footer {
    padding: 40px 0 20px;
    background: #0f172a;
    color: var(--text-on-dark);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-brand strong {
    font-size: 1.1rem;
}

.footer-brand p {
    color: rgba(226, 232, 240, 0.7);
    font-size: 0.9rem;
    margin-top: 4px;
}

.footer-legal p {
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.7);
    margin-top: 4px;
}

.footer-legal p:first-child {
    margin-top: 0;
}

.footer-legal a {
    color: #93c5fd;
}

.footer-docs {
    display: grid;
    gap: 8px;
}

.footer-docs a {
    text-decoration: none;
    font-size: 0.88rem;
    color: rgba(226, 232, 240, 0.7);
    transition: color 0.2s;
}

.footer-docs a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(226, 232, 240, 0.5);
}

/* ===== AI BOT ===== */

.ai-bot-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr;
    gap: 32px;
    align-items: stretch;
}

.bot-points {
    margin: 20px 0 24px;
    display: grid;
    gap: 10px;
}

.bot-points li {
    color: #4c5f79;
}

.bot-points li::before {
    content: "• ";
    color: #8296b3;
}

.btn-bot {
    box-shadow: 0 14px 34px rgba(37, 77, 122, 0.3);
}

/* ===== REVIEWS ===== */

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

.reviews-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin: 0 auto 18px;
    width: fit-content;
    color: #6a7f99;
}

.reviews-tab,
.reviews-rate {
    border-radius: 999px;
    padding: 6px 12px;
    background: #eef3f9;
    font-size: 0.82rem;
}

.reviews-count {
    font-size: 0.82rem;
}

.review-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    color: #364a67;
}

.review-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.review-person {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.review-avatar {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #d9e6f5;
    background: #fff;
    box-shadow: 0 2px 8px rgba(23, 50, 79, 0.08);
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-head strong {
    color: #1f2f47;
    font-weight: 600;
}

.review-head span {
    color: #7f91aa;
    font-size: 0.84rem;
}

.review-stars {
    color: #f2ba4c;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

/* ===== COOKIE BAR ===== */

.cookie-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 60;
    background: rgba(15, 23, 39, 0.97);
    color: var(--text-on-dark);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.cookie-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}

.cookie-inner p {
    font-size: 0.88rem;
}

.cookie-inner a {
    color: #93c5fd;
}

.cookie-bar .btn-sm {
    min-height: 38px;
    min-width: 0;
    padding: 0 18px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .law-rights-figure {
        margin: 0 auto;
    }

    .law-rights-content h2 {
        font-size: clamp(1.7rem, 6.2vw, 3rem);
    }

    .law-rights-tags {
        overflow: hidden;
    }

    .law-rights-tags .marquee-track {
        flex-wrap: nowrap;
        width: max-content;
        animation: marquee 10s linear infinite;
    }

    .law-rights-tags span {
        white-space: nowrap;
    }
}

@media (max-width: 1024px) {
    .property-grid,
    .form-grid,
    .footer-inner {
        grid-template-columns: 1fr;
    }

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

    .trust-bar .trust-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .trust-bar .trust-item {
        padding: 24px 0;
    }

    .trust-bar .trust-item:first-child {
        padding-top: 0;
    }

    .trust-bar .trust-item:last-child {
        padding-bottom: 0;
    }

    .trust-bar .trust-item + .trust-item::before {
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, transparent, #d3dfeb 15%, #d3dfeb 85%, transparent);
    }

    .hero-photo {
        display: block;
        position: absolute;
        /* float badge in lower-right of the photo zone (upper half of screen) */
        top: 38%;
        right: 0;
        z-index: 3;
        min-height: auto;
    }

    .ai-bot-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Мобильное меню: выезд справа, серо-чёрный фон */
    #site-nav.nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 65%;
        max-width: 65vw;
        height: 100dvh;
        min-height: 100dvh;
        max-height: 100dvh;
        box-sizing: border-box;
        border-radius: 0;
        padding: max(20px, env(safe-area-inset-top, 20px)) 28px max(28px, env(safe-area-inset-bottom, 24px));
        gap: 0;
        background: #2a2b30;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: none;
        box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
        z-index: 280;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-direction: column;
        align-items: stretch;
        align-content: flex-start;
        display: flex;
        transform: translateX(100%);
        opacity: 1;
        pointer-events: none;
        visibility: visible;
        transition:
            transform 0.38s cubic-bezier(0.25, 0.8, 0.22, 1),
            box-shadow 0.38s ease;
    }

    #site-nav.nav::-webkit-scrollbar {
        width: 0;
        height: 0;
    }

    #site-nav.nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    #site-nav.nav:not(.is-open) {
        pointer-events: none;
    }

    #site-nav .nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: max(12px, env(safe-area-inset-top, 12px));
        right: 20px;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        color: #fff;
        cursor: pointer;
        z-index: 281;
        -webkit-tap-highlight-color: transparent;
    }

    #site-nav .nav-close-glyph {
        font-size: 2.35rem;
        font-weight: 300;
        line-height: 1;
        color: #fff;
    }

    #site-nav.nav > a {
        font-family: "Manrope", sans-serif;
        font-size: clamp(0.95rem, 3.8vw, 1.08rem);
        font-weight: 500;
        letter-spacing: 0.055em;
        text-transform: uppercase;
        padding: 22px 0;
        border-bottom: none;
        flex-shrink: 0;
        color: #fff;
        text-decoration: none;
    }

    #site-nav .nav-brand + a {
        border-top: none;
    }

    #site-nav.nav > a + a {
        border-top: none;
    }

    #site-nav .nav-brand {
        display: block;
        width: 100%;
        padding: 8px 0 36px;
        margin: 0 0 8px;
        border-bottom: none;
    }

    #site-nav .nav-brand img {
        display: block;
        width: 80px;
        height: 80px;
        max-width: min(80px, 22vw);
        max-height: min(80px, 22vw);
        border-radius: 14px;
        object-fit: contain;
    }

    #site-nav.nav .nav-cta {
        display: block;
        margin-top: 12px;
        width: 100%;
        text-align: center;
        font-size: 0.88rem;
        padding: 10px 16px;
        border-radius: 12px;
    }

    #site-nav.nav .nav-social {
        display: flex;
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: auto;
    }

    #site-nav.nav .nav-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.08);
        color: #c8d8ee;
        transition: background 0.2s;
    }

    #site-nav.nav .nav-social a:active {
        background: rgba(255, 255, 255, 0.18);
    }

    .hero:has(#site-nav.is-open) .menu-toggle {
        visibility: hidden;
        pointer-events: none;
    }

    #site-nav .nav-legal-line {
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.72rem;
        line-height: 1.45;
        letter-spacing: 0.02em;
    }

    #site-nav .nav-bottom {
        margin-top: auto;
        width: 100%;
        padding-top: 28px;
        border-top: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #site-nav .nav-bottom-social {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        align-items: center;
        transform: translateY(-5px);
    }

    #site-nav a.nav-circle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        color: #1a2332;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35) inset;
        transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
        padding: 0;
        border-bottom: 0;
        font-size: 0;
    }

    #site-nav a.nav-circle:hover {
        transform: translateY(-2px);
        background: #fff;
        border-color: rgba(0, 0, 0, 0.14);
        color: #0f172a;
    }

    #site-nav a.nav-circle--tg,
    #site-nav a.nav-circle--max {
        background: rgba(255, 255, 255, 0.94);
        border-color: rgba(0, 0, 0, 0.1);
        color: #1a2332;
    }

    #site-nav .nav-consult {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 14px 20px;
        border-radius: var(--radius-sm);
        border: none;
        background: var(--gradient);
        color: #fff;
        font-weight: 700;
        font-size: 0.82rem;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        box-shadow: var(--shadow-sm);
    }

    #site-nav .nav-consult:hover {
        box-shadow: var(--shadow);
        filter: brightness(1.05);
        color: #fff;
    }

    .section {
        padding: 56px 0;
    }

    .menu-toggle {
        margin-left: auto;
        flex-shrink: 0;
    }

    .menu-toggle span:not(.sr-only) {
        width: 22px;
    }

    /* плавающий бейдж из второй колонки наезжал на фото — на узкой ширине убираем */
    .hero-photo {
        display: none;
    }

    /* Слоган «Законное списание долгов…» — только десктоп */
    .hero-header .brand-law {
        display: none;
    }

    .brand {
        margin-top: 0;
        gap: 6px;
    }

    .brand-logo {
        display: block;
        width: 68px;
        height: 68px;
        object-fit: contain;
    }

    .photo-label {
        text-align: right;
        padding: 0 12px 0 0;
    }

    .photo-label strong {
        font-size: 0.72rem;
        padding: 7px 11px;
        border-radius: 10px;
        white-space: nowrap;
    }

    h1 {
        font-size: clamp(2.6rem, 11vw, 3.8rem);
        line-height: 1.05;
    }

    h2 {
        font-size: clamp(2rem, 7.4vw, 2.8rem);
    }

    .hero-content .warning-bar {
        /* cancel the base margin-top:auto so it doesn't fight with hero-debts margin-top */
        margin-top: 12px;
        max-width: 100%;
        padding-top: 8px;
        padding-bottom: 12px;
        min-height: unset;
        font-size: 0.82rem;
        opacity: 0.9;
        line-height: 1.45;
    }

    .usps {
        margin: 12px 0 16px;
        gap: 8px;
    }

    .usps li {
        font-size: 0.92rem;
    }

    .hero-actions {
        gap: 10px;
    }

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

    .first-step {
        padding: 28px;
    }

    .first-step-badges {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    #accept-cookies {
        align-self: flex-end;
        margin-top: 10px;
    }

    .lead-form {
        padding: 24px;
    }
}

/* ===== OVERRIDES: requested refinements ===== */
@media (min-width: 769px) {
    .hero-header .brand-law {
        display: block;
    }

    .brand-logo {
        width: 80px;
        height: 80px;
        object-fit: contain;
        margin-bottom: 0;
        opacity: 0.9;
    }

    .hero-header .brand-logo {
        transform: translateY(-4px);
    }

    .hero-header .brand {
        margin-top: 0;
    }

    /* Логотип слева, ссылки текстом вправо — к границе с фото (как mikitenko.ru) */
    .hero-header-left {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        row-gap: 8px;
        column-gap: clamp(12px, 2vw, 20px);
        width: 100%;
        justify-content: flex-start;
    }

    .hero-header-brand {
        width: auto;
        flex: 0 1 auto;
    }

    .hero-header .nav-desktop {
        flex: 0 1 auto;
        margin-left: auto;
        justify-content: flex-end;
        min-width: 0;
    }

    .hero-header .menu-toggle {
        width: 30px;
        height: 30px;
        padding: 5px 4px;
        border-radius: var(--radius-sm);
    }

    .hero-header .menu-toggle span:not(.sr-only) {
        width: 16px;
    }

    .brand-law {
        font-size: clamp(0.62rem, 0.72vw, 0.72rem);
        color: var(--hero-muted);
    }

    .hero-header .brand-law {
        font-size: clamp(0.58rem, 0.65vw, 0.68rem);
        max-width: min(200px, 26vw);
        line-height: 1.25;
    }
}

.hero-bg {
    background: none;
}

@media (min-width: 769px) {
    .hero .hero-content h1 {
        font-size: clamp(3.35rem, 5.8vw, 5.95rem);
    }
}

.photo-label strong {
    opacity: 0.62;
}

.section-soft-blue {
    background: #edf4fe;
}

.stages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    max-width: 1240px;
}

.stage {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 24px rgba(27, 57, 89, 0.08);
}

.stages .stage:nth-child(1),
.stages .stage:nth-child(5) {
    background: #f3efe2;
}

.stages .stage:nth-child(3) {
    background: #e9f2fc;
}

.stage-num {
    border-radius: 10px;
}

.reviews .eyebrow,
.section .eyebrow {
    text-transform: uppercase;
}


.review-stars {
    font-size: 1.8rem;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(242, 186, 76, 0.3);
}

.consultation-band .form-grid {
    grid-template-columns: 1.2fr 1fr;
}

.consult-aside {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 24px;
    color: rgba(236, 243, 252, 0.86);
}

.contact-block {
    background: #f5f7fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: start;
}

.contact-map {
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
}

.contact-map iframe {
    width: 100%;
    max-width: 100%;
    min-height: 340px;
    border: 0;
    border-radius: 14px;
    display: block;
}

.map-title {
    margin-bottom: 10px;
    color: #567090;
}

.modal[hidden] { display: none; }
/* Выше выезжающего меню (#site-nav z-index 280) и FAB мессенджеров (101) */
.modal { position: fixed; inset: 0; z-index: 400; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 16, 27, 0.62); }
.modal-dialog {
    position: relative;
    width: min(560px, calc(100% - 24px));
    margin: 6vh auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(6, 14, 24, 0.34);
}
.modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 2rem;
    line-height: 1;
    color: #6a7f99;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .stages,
    .consultation-band .form-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== final fixes ===== */
/* object-position задаётся только в @media ниже — иначе поздние правила перебивают мобилку */

.ai-bot-copy .btn-bot {
    background: linear-gradient(135deg, #1f6fbe, #26a1ff);
}

.contact-copy a {
    text-decoration: none;
}

.footer-legal [data-reveal-phone],
.contact-phone [data-reveal-phone] {
    font-weight: 700;
}

.contact-phone {
    font-size: 1.4rem;
}

.modal-dialog-wide {
    width: min(1100px, calc(100% - 24px));
    padding: 0;
    overflow: hidden;
}

.policy-content {
    width: 100%;
    max-height: 78vh;
    overflow: auto;
    background: #f8fafc;
    padding: 24px;
}

.policy-content .doc-card {
    margin: 0 auto;
    max-width: 900px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
    padding: 40px;
}

.policy-content .doc-meta {
    margin: 0 0 28px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f3f6fb;
    color: #5f738d;
}

.policy-content .doc-note {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff7e7;
    color: #7b5c10;
}

.policy-content .doc-card h1,
.policy-content .doc-card h2,
.policy-content .doc-card p,
.policy-content .doc-card li,
.policy-content .doc-card a {
    font-family: "Manrope", "Inter", sans-serif;
}

.policy-content .doc-card h1 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 2.6vw, 2.4rem);
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    color: #0f172a;
}

.policy-content .doc-card h2 {
    margin: 28px 0 12px;
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    line-height: 1.3;
    letter-spacing: normal;
    text-transform: none;
    color: #0f172a;
}

.policy-content .doc-card p,
.policy-content .doc-card li {
    color: #4a607a;
    font-size: 1rem;
    line-height: 1.65;
}

.policy-content .doc-card ul {
    margin: 0;
    padding-left: 20px;
}

.policy-content .doc-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.policy-content .doc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
}

.policy-content .doc-btn.primary {
    background: linear-gradient(135deg, #2264d1, #2f80ed);
    color: #fff;
}

.policy-content .doc-btn.secondary {
    border: 1px solid #d6deea;
    color: #1f4f8f;
}

.policy-loading,
.policy-error {
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5f738d;
    font-weight: 600;
}

.policy-error {
    color: #b42318;
}

@media (max-width: 768px) {
    .policy-content {
        max-height: 82vh;
        padding: 12px;
    }

    .policy-content .doc-card {
        border-radius: 16px;
        padding: 18px;
    }

    .hero-debts span {
        font-size: 0.84rem;
    }
}

.hero-content .warning-bar {
    padding-bottom: 2px;
}

.ai-bot-copy .btn-bot {
    min-width: 280px;
    min-height: 62px;
    box-shadow: 0 18px 44px rgba(31, 94, 163, 0.35);
}

.chat-phone {
    margin: 10px 0 8px;
    padding: 14px;
    border-radius: 20px;
    background: linear-gradient(180deg, #101d2e 0%, #1a2c45 100%);
    border: 1px solid rgba(114, 154, 201, 0.34);
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.25);
    display: grid;
    gap: 8px;
    max-height: 340px;
    overflow: hidden;
    position: relative;
}

.chat-phone::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(16, 29, 46, 0) 0%, rgba(16, 29, 46, 1) 100%);
}

.chat-bubble {
    font-size: 0.82rem;
    line-height: 1.45;
    border-radius: 12px;
    padding: 9px 10px;
    max-width: 92%;
}

.chat-bubble.user {
    justify-self: end;
    background: #2e6fb0;
    color: #f4f9ff;
}

.chat-bubble.bot {
    justify-self: start;
    background: #eef4ff;
    color: #203f63;
}

/* ===== perf refinements ===== */
.section {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
}

.hero,
.trust-bar,
.law-rights-section {
    content-visibility: visible;
}

/* На мобилке content-visibility + contain-intrinsic-size даёт «плавающий» гигантский зазор между секциями */
@media (max-width: 768px) {
    .section {
        content-visibility: visible;
        contain-intrinsic-size: auto;
    }
}

.property-icon {
    color: #2f5d8f;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-weight: 700;
}

/* ===== expressive second-half redesign ===== */
.section + .section {
    /* В Mikitenko секции не разделяются заметными линиями */
    border-top: 0;
}

#pricing {
    background: #ffffff;
}

.pricing-layout {
    /* Центровая компоновка как на mikitenko: один поток, без сеток */
    display: block;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.pricing-lead {
    padding: 18px 8px 22px 0;
    text-align: center;
}

/* Как у блока «Каждый гражданин…» (.law-rights-content h2) */
.pricing-lead h2 {
    margin-bottom: 24px;
    color: var(--heading-section);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 4vw, 4.35rem);
    line-height: 1.05;
    max-width: 980px;
}

.pricing-lead p {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
    font-family: var(--font-ui);
}

.pricing-points {
    padding: 8px 0 0;
    text-align: center;
}

.pricing-point {
    padding: 20px 0;
    border-bottom: 1px solid #e0e8f2;
}

.pricing-point h3 {
    margin-bottom: 8px;
    color: #1e3a5f;
    font-size: 1.12rem;
    font-family: var(--font-ui);
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.35;
}

.pricing-point p {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
    font-family: var(--font-ui);
}

.pricing-cta {
    margin-top: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, #1f5ea3, #2a79c9);
    box-shadow: var(--shadow);
}

/* Десктоп: две колонки 50/50 как в hero — левый край списка = левый край фото */
@media (min-width: 1024px) {
    #pricing .container {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    #pricing .pricing-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        column-gap: 0;
        row-gap: 0;
        max-width: none;
        width: 100%;
        margin: 0 auto;
        text-align: left;
        align-items: start;
    }

    #pricing .pricing-lead {
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: start;
        padding: 24px clamp(16px, 3vw, 40px) 32px var(--hero-pad-left);
        text-align: left;
    }

    #pricing .pricing-lead h2 {
        text-align: left;
    }

    #pricing .pricing-lead p {
        text-align: left;
    }

    #pricing .pricing-points {
        grid-column: 2;
        grid-row: 1;
        text-align: left;
        padding: 8px var(--hero-pad-x) 0 0;
    }

    #pricing .pricing-point {
        text-align: left;
    }

    #pricing .pricing-point:last-child {
        border-bottom: 0;
    }

    #pricing .pricing-cta {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
        margin-top: 12px;
        margin-left: 0;
        margin-right: var(--hero-pad-x);
    }
}

@media (max-width: 1024px) {
    #pricing .pricing-lead h2 {
        font-size: clamp(2rem, 6.2vw, 3rem);
    }
}

#stages {
    margin-top: 0;
}

#stages {
    position: relative;
    background: linear-gradient(180deg, #eef4fb 0%, #f9fcff 100%);
}

#stages::before {
    content: "";
    position: absolute;
    inset: 20px auto auto 0;
    width: 28%;
    height: 2px;
    background: linear-gradient(90deg, #2d8f73, rgba(45, 143, 115, 0));
}

.stages {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    grid-template-areas:
        "a b c"
        "d e f";
    gap: 18px;
    max-width: 1180px;
}

.stage {
    position: relative;
    border-radius: 18px;
    border: 1px solid #d9e5f3;
    background: #fff;
    box-shadow: 0 10px 28px rgba(18, 45, 76, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stage:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(18, 45, 76, 0.15);
}

.stages .stage:nth-child(1) { grid-area: a; background: #efe9d8; }
.stages .stage:nth-child(2) { grid-area: b; }
.stages .stage:nth-child(3) { grid-area: c; }
.stages .stage:nth-child(4) { grid-area: d; }
.stages .stage:nth-child(5) { grid-area: e; background: #efe9d8; }

.stage-num {
    background: #f3f7fd;
    color: #2a5687;
}

.stage:nth-child(1) .stage-num,
.stage:nth-child(5) .stage-num {
    background: #dff4ec;
    color: #206d57;
}

.stage-cta {
    grid-area: f;
    align-self: end;
    justify-self: start;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.law-rights-section {
    position: relative;
    background:
        linear-gradient(135deg, rgba(40, 88, 140, 0.12) 0%, rgba(40, 88, 140, 0.02) 52%),
        #f4f8fd;
}

.law-rights-section::before {
    content: "";
    position: absolute;
    inset: -1px 0 auto 0;
    height: 8px;
    background: linear-gradient(90deg, #214f84 0%, #2d8f73 100%);
    opacity: 0.8;
}

.law-rights-section .section-header.center {
    text-align: left;
    margin-left: 0;
    max-width: 760px;
}

.law-rights-section .debt-tags {
    justify-content: flex-start;
    max-width: 980px;
    margin-left: 0;
}

.law-rights-section .tag {
    border: 1px solid #d2dfef;
    background: #fff;
}

.law-rights-section .tag:nth-child(2n) {
    transform: translateY(8px);
}

.law-rights-section .tag:nth-child(3n) {
    border-color: #b7e2d5;
    color: #1f6f59;
}

.law-rights-section .small-note {
    text-align: left;
    margin-left: 0;
    padding-left: 18px;
    border-left: 3px solid #2d8f73;
}

.ai-bot {
    position: relative;
    background: #f2f6fb;
    color: #1b2f47;
}

.ai-bot .section-desc,
.ai-bot .eyebrow-strong {
    color: #172a42;
}

.ai-bot .section-desc {
    opacity: 1;
}

.ai-bot-copy {
    padding-right: 28px;
}

.ai-bot .btn-bot {
    background: linear-gradient(135deg, #1f6fbe, #1fb389);
}

.quiz-head {
    text-align: center;
    margin-bottom: 24px;
}

.quiz-head h2 {
    margin-bottom: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 5vw, 3.45rem);
    line-height: 1.08;
    color: var(--heading-section);
}

.quiz-head p {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.quiz-shell {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0;
    border: 1px solid #d8e4f1;
    background: #fff;
}

.quiz-side {
    background: #edf3fa;
    border-right: 1px solid #d8e4f1;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quiz-avatar {
    width: 44px;
    height: 44px;
    border-radius: 4px;
    background: linear-gradient(145deg, #d2e1f1, #b7cde4);
    color: #2e5177;
    font-size: 0.62rem;
    display: grid;
    place-items: center;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
    overflow: hidden;
    flex-shrink: 0;
}

.quiz-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.quiz-side-card {
    background: #fff;
    border: 1px solid #dde8f3;
    padding: 10px;
}

.quiz-side-card strong {
    display: block;
    color: #203a59;
    font-size: 0.82rem;
}

.quiz-side-card span {
    display: block;
    color: #899cb4;
    font-size: 0.72rem;
    margin-bottom: 8px;
}

.quiz-side-card p {
    color: #607891;
    font-size: 0.74rem;
    line-height: 1.45;
}

.quiz-main {
    padding: 0;
    min-height: 430px;
    display: flex;
    flex-direction: column;
}

.quiz-progress {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.quiz-progress span {
    height: 4px;
    background: #e5edf6;
}

.quiz-progress .is-active {
    background: #9ab7d7;
}

.quiz-main h3 {
    font-family: "Manrope", sans-serif;
    margin: 26px 34px 20px;
    color: #1f3551;
    font-size: 2rem;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    padding: 0 34px;
    max-width: 760px;
}

.quiz-option {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    border: 1px solid #e1eaf4;
    background: #f7faff;
    color: #536e8d;
    font-size: 0.94rem;
    cursor: pointer;
}

.quiz-option input {
    width: 15px;
    height: 15px;
    accent-color: #2f6cab;
}

.quiz-note {
    padding: 10px 34px 0;
    color: #99a9bc;
    font-size: 0.79rem;
}

.quiz-footer {
    margin-top: auto;
    padding: 22px 34px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px 16px;
    align-items: center;
}

.quiz-footer-messages {
    min-width: 0;
    text-align: center;
}

.quiz-step {
    color: #98a7b8;
    font-size: 0.86rem;
}

.quiz-error {
    margin: 0;
    color: #b42318;
    font-size: 0.82rem;
}

.quiz-error:empty {
    display: none;
}

.quiz-status {
    margin: 0;
    font-size: 0.82rem;
    color: #3d6b8f;
}

.quiz-status:empty {
    display: none;
}

.quiz-status.is-success {
    color: #15803d;
    font-weight: 600;
}

.quiz-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quiz-back {
    background: #eff4fa;
    color: #4d6785;
    border: 1px solid #dae6f3;
}

.quiz-next {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.property-section {
    position: relative;
    background: #ffffff;
}

.property-section::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 36%;
    height: 2px;
    background: linear-gradient(270deg, #2d8f73, rgba(45, 143, 115, 0));
}

.property-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
}

.property-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.property-item {
    min-height: 96px;
    align-items: flex-start;
    border: 1px solid #dce7f3;
}

.property-item:nth-child(3n) {
    grid-column: span 2;
    background: #f8fbff;
}

.property-item .property-icon {
    color: #2d8f73;
}

.start-path-section {
    background: radial-gradient(circle at 88% 14%, rgba(45, 143, 115, 0.1), transparent 42%), #f3f8ff;
}

.start-path-section::before {
    content: "";
    display: block;
    width: 180px;
    height: 4px;
    margin: 0 auto 34px;
    background: linear-gradient(90deg, #2d8f73 0%, #2a5687 100%);
}

.first-step {
    border: 1px solid #d8e4f2;
    background: #fff;
    box-shadow: 0 18px 38px rgba(24, 49, 79, 0.08);
    max-width: 1100px;
}

.first-step .check-list {
    max-width: 720px;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.first-step .check-list li:nth-child(odd) {
    transform: translateX(8px);
}

.faq-list {
    max-width: 980px;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.faq-item {
    border: 1px solid #dce6f2;
}

.faq-item:nth-child(3n) {
    grid-column: span 2;
}

.reviews-section {
    position: relative;
    background: #f7fbff;
}

.reviews-section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(36, 78, 123, 0.08) 0%, rgba(36, 78, 123, 0) 100%);
    pointer-events: none;
}

.reviews-meta {
    justify-content: flex-start;
    width: auto;
    margin-left: 0;
}

.reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
}

.review-card {
    border: 1px solid #dbe6f2;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: none;
}

.review-card > p:last-of-type {
    margin-top: auto;
}

@media (max-width: 1024px) {
    .stages,
    .faq-list,
    .property-list,
    .first-step .check-list,
    .reviews-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
    }

    .stages .stage:nth-child(n) {
        grid-area: auto;
    }

    .stage-cta {
        grid-area: auto;
        justify-self: stretch;
        width: 100%;
    }

    .property-item:nth-child(3n),
    .faq-item:nth-child(3n) {
        grid-column: auto;
    }

    .review-card:nth-child(n),
    .law-rights-section .tag:nth-child(n),
    .first-step .check-list li:nth-child(n) {
        transform: none;
    }

    .law-rights-section .section-header.center,
    .law-rights-section .small-note,
    .reviews-meta,
    .law-rights-section .debt-tags {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .start-path-section::before {
        margin-bottom: 22px;
    }

    .quiz-shell {
        grid-template-columns: 1fr;
        min-width: 0;
        max-width: 100%;
        overflow-x: clip;
    }

    .quiz-side {
        border-right: 0;
        border-bottom: 1px solid #d8e4f1;
        flex-direction: row;
        align-items: flex-start;
        gap: 12px 14px;
        padding: 12px 14px;
    }

    .quiz-avatar {
        flex-shrink: 0;
        width: 52px;
        height: 52px;
        border-radius: var(--radius-sm);
    }

    .quiz-avatar img {
        border-radius: var(--radius-sm);
    }

    .quiz-side-card {
        flex: 1;
        min-width: 0;
        align-self: stretch;
    }

    .quiz-main {
        min-width: 0;
    }

    .quiz-main h3 {
        margin: 18px 16px 14px;
        font-size: 1.4rem;
    }

    .quiz-options {
        grid-template-columns: 1fr;
        padding: 0 16px;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .quiz-option {
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .quiz-note,
    .quiz-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .quiz-footer {
        grid-template-columns: 1fr;
        justify-items: stretch;
    }

    .quiz-actions {
        justify-self: stretch;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: stretch;
        gap: 8px;
    }

    .quiz-actions .btn.quiz-back,
    .quiz-actions .btn.quiz-next {
        min-width: 0;
        min-height: 48px;
    }

    .quiz-actions .quiz-back {
        flex: 0 0 48px;
        width: 48px;
        padding-right: 0;
        padding-left: 0;
    }

    .quiz-actions .quiz-next {
        flex: 1 1 auto;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .quiz-single-input,
    .quiz-contact-field,
    .quiz-consent-row {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .quiz-single-input {
        min-width: 0;
    }

    .quiz-contact-methods {
        max-width: 100%;
    }
}

/* stronger contrast at page end */
.contact-block {
    background: #ffffff;
    border-top: 8px solid #d7e3f2;
}

.footer {
    background: #0b1220;
}

/* rights block: layout like reference */
.law-rights-section {
    background:
        radial-gradient(circle at 85% 72%, rgba(42, 87, 135, 0.09), transparent 35%),
        #f7fbff;
}

.law-rights-section::before {
    display: none;
}

.law-rights-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
    width: 100%;
    min-width: 0;
}

.law-rights-figure {
    position: relative;
    min-height: 520px;
}

.law-rights-photo-wrap {
    height: 100%;
    min-height: 420px;
    border: 1px solid #c9d8ea;
    overflow: hidden;
    background: #dfe9f6;
}

.law-rights-photo {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.law-rights-badge {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 16px;
    background: rgba(20, 43, 70, 0.84);
    color: #f0f6ff;
    padding: 10px 12px;
    border-radius: 6px;
}

.law-rights-badge strong {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.law-rights-badge small {
    color: #cadcf0;
    font-size: 0.7rem;
}

.law-rights-content {
    min-width: 0;
}

.law-rights-content h2 {
    margin-bottom: 24px;
    color: var(--heading-section);
    font-size: clamp(2.4rem, 4vw, 4.35rem);
    line-height: 1.05;
    max-width: 980px;
}

.law-rights-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 18px;
}

.law-rights-columns p {
    color: var(--text-body-secondary);
    font-size: 1rem;
    line-height: 1.58;
}

.law-rights-tags {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
}

.law-rights-tags .marquee-track {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.law-rights-tags span {
    position: relative;
    padding-left: 22px;
    color: #1e3a5f;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.law-rights-tags span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.32em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #059669);
    box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(13, 148, 136, 0.45);
}

@media (max-width: 1024px) {
    .law-rights-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Заголовок сверху — без «гигантского» блока фото над текстом */
    .law-rights-content {
        order: -1;
    }

    .law-rights-figure {
        order: 1;
        min-height: 0;
        max-width: 280px;
        margin: 0 auto;
    }

    .law-rights-photo-wrap {
        min-height: 0;
        height: auto;
        aspect-ratio: 3 / 4;
        /* Компактнее под текстом: не тянуть экран под бегущей строкой */
        max-height: 240px;
    }

    .law-rights-photo {
        min-height: 0;
        width: 100%;
        height: 100%;
        max-height: inherit;
        object-fit: cover;
    }

    .law-rights-content h2 {
        font-size: clamp(2rem, 6.2vw, 3rem);
    }

    .law-rights-columns {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

/* Мобилка: ещё плотнее зазор и фото под бегущей строкой */
@media (max-width: 768px) {
    .law-rights-layout {
        row-gap: 10px;
    }

    /* Дубликат портрета под маркизой давал большой вертикальный зазор до блока квиза; на мобилке фото уже в hero */
    .law-rights-figure {
        display: none;
    }

    .law-rights-section {
        padding-bottom: 28px;
    }

    .section.ai-bot#quiz {
        padding-top: 28px;
    }

    /* Широкий flex-трек маркиза не должен раздувать блок по вертикали */
    .law-rights-tags {
        contain: layout style;
    }

    /* Квиз: узкая ширина — без горизонтального overflow */
    .quiz-head {
        margin-bottom: 14px;
    }

    .quiz-head h2 {
        font-size: clamp(1.3rem, 5.5vw, 1.65rem);
    }

    .quiz-main h3 {
        margin-left: 12px;
        margin-right: 12px;
        font-size: clamp(0.92rem, 3.8vw, 1.2rem);
        line-height: 1.22;
    }

    .quiz-options,
    .quiz-note,
    .quiz-footer,
    .quiz-single-input,
    .quiz-contact-field,
    .quiz-consent-row {
        padding-left: 12px;
        padding-right: 12px;
    }

    .quiz-side {
        padding: 10px 12px;
        gap: 10px 12px;
    }

    .quiz-avatar {
        width: 48px;
        height: 48px;
    }
}

/* quiz multi-step behavior */
.quiz-screen {
    display: none;
}

.quiz-screen.is-active {
    display: block;
}

.quiz-options-radio {
    max-width: 760px;
}

.quiz-options-radio .quiz-option {
    background: transparent;
    border-color: transparent;
    padding: 0 8px 0 0;
    min-height: 36px;
}

.quiz-single-input {
    padding: 0 34px;
    max-width: 760px;
}

.quiz-single-input input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #e1eaf4;
    background: #f7faff;
    color: #38506e;
    padding: 0 14px;
    border-radius: 2px;
}

.quiz-note-top {
    padding-top: 0;
    margin-top: -8px;
    margin-bottom: 10px;
}

.quiz-contact-field {
    padding: 0 34px 4px;
}

.quiz-contact-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5a6f8a;
    margin-bottom: 8px;
}

.quiz-contact-methods {
    padding: 0;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.quiz-chip {
    border: 1px solid #dce6f2;
    background: #fff;
    color: #4f6580;
    min-height: 40px;
    border-radius: 6px;
    padding: 0 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
}

.quiz-chip .quiz-icon {
    flex-shrink: 0;
    opacity: 0.88;
}

.quiz-chip.is-active {
    border-color: #afc7e0;
    background: #eef4fb;
    color: #1f3d5f;
}

.quiz-chip:focus-visible {
    outline: 2px solid rgba(37, 77, 122, 0.35);
    outline-offset: 2px;
}

.quiz-consent-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 34px 8px;
    font-size: 0.86rem;
    color: #647896;
    line-height: 1.45;
}

.quiz-consent-row input {
    margin-top: 3px;
    flex-shrink: 0;
}

/* consultation CTA spacing + promo links */
.form-info-cta {
    margin-top: 28px;
}

.consult-links-promo {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(147, 197, 253, 0.35);
    font-size: 0.95rem;
    font-weight: 600;
    color: #e8f1ff;
    line-height: 1.5;
}

.consult-links-promo a {
    color: #fde68a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.consult-links-promo a:hover {
    color: #fff;
}

.consult-links-promo .sep {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

/* contacts: icon row + disclaimer */
.contact-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
    margin-bottom: 8px;
}

.contact-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: transparent;
    border: 1px solid #c0cdd8;
    color: #5f738d;
    box-shadow: none;
    transition: transform 0.2s, border-color 0.2s, color 0.2s;
}

.contact-icon-link:hover {
    transform: translateY(-3px);
}

.contact-icon-mail {
    background: transparent;
}

.contact-icon-vk {
    background: transparent;
}

.contact-icon-tg {
    background: transparent;
}

.contact-icon-max {
    background: transparent;
}

.contact-disclaimer {
    margin: 20px 0 0;
    padding: 0;
    text-align: left;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #6b7f96;
}

/* ===== final palette cleanup ===== */
#pricing {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
    border-top: 0;
}

#pricing .pricing-lead h2 {
    color: #121f33;
}

#stages {
    background:
        radial-gradient(circle at 10% 18%, rgba(37, 77, 122, 0.08), transparent 26%),
        radial-gradient(circle at 88% 82%, rgba(45, 143, 115, 0.06), transparent 22%),
        linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
}

#stages .section-header h2 {
    color: #15273e;
    text-shadow: none;
}

.law-rights-section {
    background:
        radial-gradient(circle at 84% 24%, rgba(37, 77, 122, 0.06), transparent 26%),
        linear-gradient(180deg, #ffffff 0%, #f5f9fe 100%);
}

.law-rights-section::before {
    display: block;
    height: 5px;
    background: linear-gradient(90deg, #1f4f8f, #55779d);
    opacity: 1;
}

.ai-bot {
    background: linear-gradient(180deg, #f7faff 0%, #eef4fb 100%);
}

.quiz-shell {
    border-color: #d6e0ec;
    box-shadow: 0 18px 48px rgba(23, 50, 79, 0.08);
}

.property-section {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.property-section::before {
    background: linear-gradient(270deg, #55779d, rgba(85, 119, 157, 0));
}

.start-path-section {
    background: linear-gradient(180deg, #17324f 0%, #21496f 100%);
    color: #eef4fb;
}

.start-path-section::before {
    background: linear-gradient(90deg, #8fb4d6, #c7d8ea);
}

.start-path-section .first-step {
    background: rgba(255, 255, 255, 0.98);
    border-color: #d9e3ee;
    color: #1e293b;
}

.start-path-section .first-step h2 {
    color: #0f172a;
}

.start-path-section .first-step .section-desc {
    color: #647896;
}

#faq {
    background: linear-gradient(180deg, #f3f7fb 0%, #eaf1f8 100%);
}

.faq-item {
    background: #fff;
    border-color: #d5e1ed;
}

.reviews-section {
    background:
        radial-gradient(circle at 12% 14%, rgba(37, 77, 122, 0.05), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.reviews-section::before {
    background: linear-gradient(180deg, rgba(37, 77, 122, 0.08) 0%, transparent 100%);
    height: 56px;
}

.reviews-section .section-header h2 {
    color: #17324f;
}

.review-card {
    background: #fff;
    border-color: #d7e3ef;
    box-shadow: 0 10px 28px rgba(23, 50, 79, 0.08);
}

.reviews-meta {
    color: #5f738d;
}

.reviews-tab,
.reviews-rate {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d8e4f0;
}

.contact-block {
    background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
    border-top-color: #d4dee8;
}

.consult-links-promo {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(191, 219, 254, 0.24);
    color: #edf4fb;
}

.consult-links-promo a {
    color: #bfdbfe;
}

.consult-links-promo a:hover {
    color: #ffffff;
}

.contact-icon-link {
    background: transparent;
    color: #5f738d;
    border: 1px solid #c0cdd8;
    box-shadow: none;
}

.contact-icon-link:hover {
    box-shadow: none;
}

.contact-icon-mail,
.contact-icon-vk,
.contact-icon-tg,
.contact-icon-max {
    background: transparent;
}

/* ===== middle section separation cleanup ===== */
.start-path-section {
    padding: 44px 0 40px;
    background: linear-gradient(135deg, #17324f 0%, #21496f 100%);
    color: #edf4fb;
    border-top: 0;
}

.start-path-intro {
    text-align: center;
    max-width: 920px;
}

.start-path-intro h2 {
    margin-bottom: 14px;
    color: #ffffff;
}

.start-path-intro p {
    max-width: 680px;
    margin: 0 auto;
    color: rgba(237, 244, 251, 0.86);
    font-size: 1rem;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.start-path-section::before {
    display: none;
}

.first-step-section {
    padding: 34px 0 56px;
    background:
        radial-gradient(circle at 72% 35%, rgba(37, 77, 122, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
    border-top: 0;
}

.first-step-layout {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 12px 40px;
    align-items: start;
}

.first-step-lead {
    display: contents;
}

.first-step-media img {
    width: 100%;
    aspect-ratio: 4 / 5.2;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.first-step-media {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
}

.first-step-meta {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    gap: 0;
}

.first-step-meta .first-step-label,
.first-step-meta .badge {
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    box-sizing: border-box;
}

.first-step-meta > *:not(:last-child) {
    border-right: 1px solid rgba(53, 87, 125, 0.18);
}

.first-step-content {
    grid-column: 2;
    grid-row: 2;
    max-width: 980px;
    padding-top: 0;
}

.first-step-label {
    position: relative;
    padding-left: 14px;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #35577d;
}

.first-step-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.42em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d94f2b;
}

.first-step-section .badge {
    background: transparent;
    color: #5b718d;
    padding: 0;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
}

.first-step-section .badge::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 8px;
    border-radius: 50%;
    background: #d94f2b;
    vertical-align: middle;
}

.first-step-section h2 {
    max-width: 760px;
    margin-bottom: 22px;
    color: #15273e;
    font-size: clamp(2rem, 3.3vw, 3.5rem);
    line-height: 1.08;
}

.first-step-section .check-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 28px;
    max-width: 860px;
    margin-top: 0;
}

.first-step-section .check-list li {
    padding-left: 18px;
    font-weight: 400;
    color: #556b86;
    line-height: 1.5;
    font-size: 0.94rem;
}

.first-step-section .check-list li::before {
    width: 6px;
    height: 6px;
    top: 0.72em;
    background: #4d6b8e;
}

.first-step-section .check-list li:nth-child(odd) {
    transform: none;
}

.first-step-cta {
    margin-top: 24px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Превью чата — палитра как в Telegram (тёмная тема, см. референс) */
.ai-feature {
    --tg-chat-bg: #17212b;
    --tg-out-bubble: #2b5278;
    --tg-in-bubble: #242f3d;
    --tg-text: #f5f5f5;
    /* цвет фона секции у краёв — растворение без «второй рамки» */
    --tg-edge-fade: #eef1f4;
    background:
        radial-gradient(circle at 82% 16%, rgba(45, 143, 115, 0.06), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, var(--tg-edge-fade) 100%);
}

.ai-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 34px;
    align-items: center;
}

.ai-feature-copy {
    max-width: 760px;
}

.ai-feature-label {
    margin-bottom: 12px;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ai-feature h2 {
    margin-bottom: 14px;
    color: #15273e;
}

/* Без отдельной «карточки-рамки»: только блок чата + кнопка */
.ai-feature-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Растворение только по периметру (~12–14px), центр текста не трогаем */
.ai-feature-chat-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
}

.ai-feature-chat-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    z-index: 2;
    box-shadow:
        inset 0 14px 16px -10px var(--tg-edge-fade),
        inset 0 -14px 16px -10px var(--tg-edge-fade),
        inset 14px 0 16px -10px var(--tg-edge-fade),
        inset -14px 0 16px -10px var(--tg-edge-fade);
}

.ai-feature .chat-phone {
    margin: 0;
    max-height: none;
    border-radius: var(--radius);
    padding: 12px 10px;
    border: 0;
    outline: none;
    background: var(--tg-chat-bg);
    box-shadow: none;
    position: relative;
    z-index: 1;
}

.ai-feature .chat-phone::after {
    display: none;
}

.ai-feature .chat-bubble {
    border-radius: 12px;
    font-size: 0.84rem;
}

.ai-feature .chat-bubble.user {
    background: var(--tg-out-bubble);
    color: var(--tg-text);
    box-shadow: none;
}

.ai-feature .chat-bubble.bot {
    background: var(--tg-in-bubble);
    color: var(--tg-text);
    border: none;
    box-shadow: none;
}

.ai-feature-cta {
    margin-top: 48px;
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-feature-cta .btn-bot {
    margin-top: 0;
}

.btn-ai-feature-cta {
    min-height: 60px;
    padding: 0 32px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, #0f291f 18%), var(--accent));
    color: #f4fffb;
    border: none;
    box-shadow: 0 16px 36px rgba(45, 143, 115, 0.36);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ai-feature-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px rgba(45, 143, 115, 0.42);
}

.property-visual {
    margin-top: 26px;
    max-width: 440px;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid #dbe5ef;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.96), rgba(241, 246, 252, 0.96));
    box-shadow: 0 16px 34px rgba(23, 50, 79, 0.07);
}

.property-stat {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.property-stat strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.6rem;
    line-height: 1;
    color: #1f4f8f;
}

.property-stat span {
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5f738d;
    font-weight: 700;
}

.property-visual p {
    color: #5b718d;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cases-section {
    background:
        radial-gradient(circle at 18% 18%, rgba(37, 77, 122, 0.06), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}

.cases-layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: start;
}

.cases-copy {
    max-width: 420px;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.case-card {
    padding: 20px;
    border: 1px solid #d9e4ef;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
}

.case-number {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 10px;
    border: 1px solid #ccd9e8;
    color: #4f6682;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.case-card h3 {
    margin-bottom: 10px;
    font-size: 1.15rem;
    color: #17324f;
}

.case-card p {
    color: #5d738d;
    font-size: 0.9rem;
    line-height: 1.55;
}

.case-card p + p {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .case-card p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .case-card p + p {
        display: none;
    }
}

.case-links {
    margin-top: 16px;
}

.case-links a {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    min-width: 220px;
    padding: 0 28px;
    border-radius: 4px;
    border: 1px solid #cad7e6;
    text-decoration: none;
    color: #173b62;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cases-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    padding-top: 10px;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #bfd0e2;
    color: #35577d;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: #1f4f8f;
    color: #fff;
    border-color: #1f4f8f;
}

@media (max-width: 1024px) {
    .ai-feature-grid,
    .cases-layout {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .first-step-layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .first-step-lead {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
    }

    .first-step-media {
        grid-column: unset;
        grid-row: unset;
        flex-shrink: 0;
        max-width: 320px;
        width: min(42vw, 200px);
    }

    .first-step-meta {
        grid-column: unset;
        grid-row: unset;
        flex: 1;
        min-width: 0;
        flex-direction: column;
        align-items: flex-start;
        width: auto;
        gap: 10px;
    }

    .first-step-meta .first-step-label,
    .first-step-meta .badge {
        flex: none;
        display: block;
        width: 100%;
        padding: 0;
        text-align: left;
        justify-content: flex-start;
    }

    .first-step-meta > *:not(:last-child) {
        border-right: none;
        border-bottom: none;
    }

    .first-step-content {
        grid-column: unset;
        grid-row: unset;
        width: 100%;
    }

    .ai-feature-cta .btn-bot {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

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

    .first-step-section .check-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .first-step-cta {
        min-width: 0;
        width: 100%;
    }
}

/* «Первый шаг»: фото компактнее примерно в 2 раза + кадр под лицо */
@media (max-width: 768px) {
    .first-step-section .first-step-media {
        max-width: 160px;
        width: 160px;
        margin-left: 0;
        margin-right: 0;
    }

    .first-step-section .first-step-meta {
        justify-content: flex-start;
    }

    .first-step-section .first-step-media img {
        aspect-ratio: 3 / 4;
        max-height: 200px;
        width: 100%;
        object-fit: cover;
        object-position: 50% 18%;
    }
}

/* ===== Мессенджеры: фиксированная кнопка (мобилка) ===== */
.mob-messenger {
    display: none;
}

@keyframes mob-pulse {
    0% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.45); }
    70% { box-shadow: 0 0 0 26px rgba(42, 171, 238, 0); }
    100% { box-shadow: 0 0 0 0 rgba(42, 171, 238, 0); }
}

@media (max-width: 768px) {
    .mob-messenger {
        display: block;
        position: fixed;
        left: 14px;
        bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 10px));
        z-index: 265;
    }

    .mob-messenger-toggle {
        position: relative;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(12, 20, 33, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        cursor: pointer;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        animation: mob-pulse 3s ease-in-out 4s infinite;
    }

    .mob-messenger-icon {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #e8f2ff;
        opacity: 0;
        transition: opacity 0.65s ease;
        pointer-events: none;
    }

    .mob-messenger-icon.is-active {
        opacity: 1;
    }

    .mob-messenger-icon svg {
        display: block;
        width: 28px;
        height: 28px;
    }

    /* Ряд Telegram / MAX — по центру низа; закрыт: чуть левее (к кнопке), открыт: по центру — плавный «выезд» */
    .mob-messenger-links {
        --mob-messenger-ease: cubic-bezier(0.33, 1.18, 0.52, 1);
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 14px;
        position: fixed;
        left: 50%;
        bottom: max(24px, calc(env(safe-area-inset-bottom, 0px) + 10px));
        margin: 0;
        padding: 0;
        list-style: none;
        z-index: 265;
        pointer-events: none;
        transform: translateX(calc(-50% - min(44px, 12vw)));
        transition: transform 0.38s var(--mob-messenger-ease);
    }

    .mob-messenger-links:not(.is-open) .mob-messenger-link {
        opacity: 0;
        transform: translateY(14px) scale(0.72);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        transition:
            opacity 0.28s ease,
            transform 0.4s var(--mob-messenger-ease),
            box-shadow 0.4s ease;
    }

    .mob-messenger-links.is-open {
        transform: translateX(-50%);
        pointer-events: auto;
    }

    .mob-messenger-links.is-open .mob-messenger-link {
        opacity: 1;
        transform: translateY(0) scale(1);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        transition:
            opacity 0.32s ease,
            transform 0.42s var(--mob-messenger-ease),
            box-shadow 0.42s ease;
    }

    .mob-messenger-links.is-open .mob-messenger-link:nth-child(1) {
        transition-delay: 0s, 0.02s, 0.02s;
    }

    .mob-messenger-links.is-open .mob-messenger-link:nth-child(2) {
        transition-delay: 0s, 0.1s, 0.1s;
    }

    .mob-messenger-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 58px;
        height: 58px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #fff;
        text-decoration: none;
        flex-shrink: 0;
        -webkit-tap-highlight-color: transparent;
    }

    .mob-messenger-link svg {
        display: block;
        width: 28px;
        height: 28px;
    }

    .mob-messenger-link:active {
        transform: scale(0.92) !important;
        transition-duration: 0.12s !important;
        transition-delay: 0s !important;
    }

    .mob-messenger-link--tg {
        background: linear-gradient(135deg, #2aabee, #229ed9);
    }

    /* MAX: в тон палитре сайта (сине-серый / primary), без фиолетового */
    .mob-messenger-link--max {
        background: linear-gradient(145deg, #3d6288, #254d7a 55%, #1a3555);
    }
}

.nav-close { display: none; }

.hero-debts span {
    display: inline-flex;
    align-items: center;
}

/* ===== Mobile 768px overrides (hero layout; меню — в первом блоке @media 768) ===== */
@media (max-width: 768px) {
    .brand {
        gap: 10px;
        margin-top: 0;
    }

    .brand-law {
        font-size: 0.62rem;
        color: var(--hero-muted);
    }

    /* Текст бренда поверх фото — светлый */
    .hero-header .brand-law {
        color: rgba(255, 255, 255, 0.94);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
    }

    /* ===== Hero mobile: фото сверху, меню поверх фото, затем текст ===== */
    .hero {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(260px, 52vh) auto;
        min-height: 0;
        overflow: hidden;
    }

    .hero-right {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: 100%;
        height: 52vh;
        min-height: 260px;
        position: relative;
    }

    .hero-header {
        grid-column: 1 / -1;
        grid-row: 1;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 50;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        column-gap: 8px;
        padding: 0;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-header .nav-desktop {
        display: none;
    }

    .hero-header .brand {
        margin-top: 0;
    }

    .hero-header-left {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        padding-left: 10px;
        padding-right: 6px;
        padding-top: 0;
        gap: 8px;
    }

    .hero-header-brand {
        min-width: 0;
        width: auto;
    }

    .hero-header-aside {
        grid-column: 2;
        align-self: start;
        padding: 0 8px 0 0;
    }

    .hero-header .brand-logo {
        transform: translateY(-4px);
    }

    .hero-left {
        grid-column: 1;
        grid-row: 2;
        padding: 0 16px;
    }

    .hero-right .hero-photo-img {
        display: none;
    }

    .hero-right .hero-photo-mob {
        display: block;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 44%;
    }

    .hero-content {
        flex: none;
        padding: 32px 0 28px;
        justify-content: flex-start;
    }

    .hero .hero-content h1 {
        font-size: clamp(2.85rem, 10.5vw, 4.1rem);
        line-height: 1.02;
        text-align: center;
        margin-bottom: 18px;
        overflow-wrap: anywhere;
    }

    .hero-debts {
        justify-content: center;
        margin-bottom: 14px;
    }

    .hero-content .usps {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 22px;
        padding-left: clamp(28px, 12vw, 64px);
        padding-right: 10px;
        box-sizing: border-box;
        gap: 5px;
    }

    .hero-content .usps li {
        line-height: 1.18;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-content .warning-bar {
        text-align: center;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        color: var(--hero-subtle);
    }

    .hero-badge {
        padding: 12px 16px;
        font-size: 0.82rem;
        letter-spacing: 0.07em;
        line-height: 1.42;
        border-radius: 5px;
    }

    .hero-badge--bl {
        left: 10px;
        bottom: 10px;
    }

    .hero-badge--cr {
        right: 6px;
        top: 73%;
        max-width: 175px;
        transform: translateY(calc(-50% + 20px));
    }
}
