:root {
    --bg: #ffffff;
    --bg-soft: #f5efe9;
    --ink: var(--dark-a);
    --ink-soft: #7d7269;
    --primary: #a97264;
    --primary-dark: #8a574a;
    --primary-soft: #f2e2dc;
    --accent: #bd8472;
    --accent-dark: #8f5d4f;
    --accent-soft: #f6e9e3;
    --line: #e7ded4;
    --white: #ffffff;
    /* светлые градиенты секций */
    --grad-a: var(--grad-a);
    --grad-b: var(--grad-b);
    /* тёмные градиенты секций */
    --dark-a: var(--dark-a);
    --dark-b: var(--dark-b);
    --dark-c: var(--dark-c);
    /* текст на тёмном фоне */
    --on-dark: var(--on-dark);
    /* тёплые серые (таупы) */
    --taupe-1: var(--taupe-1);
    --taupe-2: var(--taupe-2);
    --taupe-3: var(--taupe-3);
    --taupe-4: var(--taupe-4);
    --taupe-5: var(--taupe-5);
    /* оверлей (rgba r,g,b) */
    --overlay-rgb: 43, 38, 34;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow: 0 1px 2px rgba(61, 56, 52, .05), 0 8px 24px rgba(61, 56, 52, .07);
    --shadow-lg: 0 4px 8px rgba(61, 56, 52, .07), 0 20px 48px rgba(61, 56, 52, .14);
    --container: 1200px;
    --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { padding-left: 1.2em; }
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 19px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all .18s ease;
    text-align: center;
    line-height: 1.2;
}
.btn--lg { padding: 16px 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--primary-dark); color: var(--white); }
.btn--primary:hover { background: var(--primary); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: var(--white); color: var(--primary-dark); }
.btn--light:hover { transform: translateY(-1px); }

/* ===== Topbar ===== */
.topbar { background: var(--ink); color: var(--taupe-1); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar__info { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__sep { opacity: .4; }
.topbar__social { display: flex; align-items: center; gap: 16px; }
.topbar__social a { color: var(--taupe-1); font-weight: 500; }
.topbar__social a:hover { color: var(--accent); }
.topbar__email { white-space: nowrap; }
.topbar__address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--taupe-1);
    white-space: nowrap;
}
.topbar__address:hover { color: var(--accent); }
.topbar__address svg { flex-shrink: 0; }

/* ===== Header ===== */
.header { background: var(--white); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--ink); }
.brand__logo { width: auto; height: 60px; object-fit: contain; }
.brand__name {
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 18px;
    border-left: 2px solid var(--accent);
    font-family: var(--font);
}
.brand__name b {
    display: block;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--ink);
    text-transform: uppercase;
}

.header__cta { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { color: var(--ink); font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__phone:hover { color: var(--primary); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Main navigation (below header) ===== */
.mainnav { position: sticky; top: 0; z-index: 49; background: var(--ink); box-shadow: var(--shadow); }
.mainnav__inner { display: flex; align-items: center; gap: 2px; overflow-x: auto; }
.mainnav a {
    color: var(--taupe-5);
    font-size: 14.5px;
    font-weight: 500;
    padding: 13px 16px;
    white-space: nowrap;
    transition: all .15s;
    border-bottom: 3px solid transparent;
}
.mainnav a:hover { color: var(--white); }
.mainnav a.is-active { color: var(--white); border-bottom-color: var(--accent); background: rgba(255,255,255,.06); }

/* ===== Hero ===== */
.hero { background: linear-gradient(180deg, var(--grad-a) 0%, var(--grad-b) 100%); padding-top: 48px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.3fr .95fr; gap: 48px; align-items: center; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--primary-soft); color: var(--primary-dark); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero__title { font-family: var(--font); font-size: clamp(30px, 4.4vw, 46px); margin: 20px 0 16px; }
.hero__title .accent { color: var(--primary); }
.hero__subtitle { color: var(--ink-soft); font-size: 17px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero__chips { list-style: none; display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; padding: 0; }
.hero__chips li {
    font-size: 13px; color: var(--ink-soft); background: var(--white);
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}
.hero__chips b { color: var(--ink); }

.hero__visual { position: relative; }
.lawyer-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--white);
    max-width: 360px;
    margin-left: auto;
}
.lawyer-card img { width: 100%; height: 440px; object-fit: cover; object-position: top; }
.lawyer-card__info {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, transparent, rgba(var(--overlay-rgb), .85));
    color: var(--white); padding: 28px 20px 18px;
}
.lawyer-card__info b { display: block; font-size: 17px; }
.lawyer-card__info span { font-size: 13px; opacity: .9; }
.hero__stamp {
    position: absolute; top: 18px; left: 8px;
    background: var(--accent); color: var(--ink);
    border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow);
}
.hero__stamp b { display: block; font-size: 22px; line-height: 1.1; }
.hero__stamp span { font-size: 12px; font-weight: 600; }

.hero-form {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
}
.hero-form h3 { font-size: 19px; margin-bottom: 8px; }
.hero-form__sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.hero-form .lead-form input[type="text"], .hero-form .lead-form input[type="tel"] { width: 100%; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; padding-bottom: 40px; }
.stat {
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px;
}
.stat b { display: block; font-size: 26px; color: var(--primary); }
.stat span { color: var(--ink-soft); font-size: 13.5px; }

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section--white { background: var(--white); }
.section--accent { background: linear-gradient(135deg, var(--dark-a) 0%, var(--dark-b) 60%, var(--dark-c) 100%); color: var(--white); }
.section--cta { background: var(--ink); color: var(--white); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; }
.kicker.light { color: var(--on-dark); }
.section__title { margin-bottom: 36px; font-family: var(--font); }
.section__title.light { color: var(--white); }
.section__more { margin-top: 28px; text-align: center; }
.section__more a { font-weight: 600; }

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

/* ===== Section head ===== */
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head .section__title { margin-bottom: 14px; }
.section__lead { color: var(--ink-soft); font-size: 16.5px; }

/* ===== Services (premium) ===== */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
    position: relative;
    display: flex; flex-direction: column; gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    color: var(--ink);
    overflow: hidden;
    transition: all .22s ease;
}
.svc::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .22s ease;
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::before { opacity: 1; }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 6px; }
.svc__icon {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all .22s ease;
}
.svc:hover .svc__icon { background: var(--primary); color: var(--white); }
.svc__flag {
    font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--accent-dark);
    background: var(--accent-soft);
    border-radius: 999px;
    padding: 5px 12px;
}
.svc__title { font-size: 17px; line-height: 1.3; }
.svc__text { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.svc__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.svc__price { font-weight: 700; color: var(--primary); font-size: 15px; }
.svc__link {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 14px; color: var(--ink-soft);
    transition: color .18s ease;
}
.svc:hover .svc__link { color: var(--primary); }
.svc__link svg { transition: transform .18s ease; }
.svc:hover .svc__link svg { transform: translateX(3px); }

/* Featured card (банкротство) — тёмная, без растягивания сетки */
.svc--featured {
    background: linear-gradient(150deg, var(--dark-a) 0%, var(--dark-b) 100%);
    border-color: transparent;
    color: var(--white);
}
.svc--featured::before { opacity: 1; background: linear-gradient(90deg, var(--accent), transparent); }
.svc--featured .svc__icon { background: rgba(255,255,255,.08); color: var(--accent); }
.svc--featured:hover .svc__icon { background: var(--accent); color: var(--ink); }
.svc--featured .svc__title { color: var(--white); }
.svc--featured .svc__text { color: var(--taupe-3); }
.svc--featured .svc__price { color: var(--accent); }
.svc--featured .svc__link { color: var(--taupe-3); }
.svc--featured:hover .svc__link { color: var(--accent); }
.svc--featured .svc__flag { background: var(--accent); color: var(--ink); }

.card--case { color: var(--ink); }
.card--case h3 { margin: 14px 0 10px; font-size: 18px; }
.card--case p { color: var(--ink-soft); font-size: 14.5px; }
.card--case__result { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 600; font-size: 15px; }
.card--case__result span { color: var(--accent); }
.card--case__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; background: var(--primary-soft); color: var(--primary-dark); padding: 4px 10px; border-radius: 999px; }
.tag--muted { background: var(--bg-soft); color: var(--ink-soft); }

.card--post { display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.card--post:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card--post__cat { font-size: 12px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; }
.card--post h3 { font-size: 17px; line-height: 1.35; }
.card--post p { color: var(--ink-soft); font-size: 14px; flex: 1; }
.card--post__meta { color: var(--ink-soft); font-size: 13px; }

/* ===== Posts grid (blog) ===== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
    position: relative;
    display: flex; flex-direction: column; gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    color: var(--ink);
    overflow: hidden;
    transition: all .22s ease;
}
.post-card::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .22s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.post-card:hover::before { opacity: 1; }
.post-card__thumb {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    margin: -12px -12px 4px;
    aspect-ratio: 1.618;
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__cat {
    display: inline-block;
    align-self: flex-start;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    padding: 5px 12px;
}
.post-card__title { font-size: 19px; line-height: 1.3; }
.post-card__text { color: var(--ink-soft); font-size: 14.5px; flex: 1; }
.post-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding-top: 14px; border-top: 1px solid var(--line);
    margin-top: 4px;
}
.post-card__read {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 600; font-size: 14px; color: var(--ink-soft);
    transition: color .18s ease;
}
.post-card:hover .post-card__read { color: var(--primary); }
.post-card__read svg { transition: transform .18s ease; }
.post-card:hover .post-card__read svg { transform: translateX(3px); }
.post-card__meta { color: var(--ink-soft); font-size: 13px; white-space: nowrap; }

/* ===== Reviews ===== */
.review { display: flex; flex-direction: column; gap: 14px; }
.review__head { display: flex; align-items: center; gap: 12px; }
.review__ava {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary-soft); color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.review__head b { display: block; font-size: 15px; }
.review__head small { color: var(--ink-soft); font-size: 12.5px; }
.review__stars { margin-left: auto; color: var(--accent); font-size: 14px; }
.review p { color: var(--ink-soft); font-size: 14.5px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps > * { min-width: 0; }
.step {
    background: var(--bg-soft); border-radius: var(--radius);
    padding: 24px;
}
.step__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--primary-dark); color: var(--white);
    font-weight: 700; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--ink-soft); font-size: 14px; }

/* ===== Quiz banner ===== */
.quiz-banner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.quiz-banner__text { max-width: 640px; }
.quiz-banner h2 { font-family: var(--font); margin: 8px 0 10px; }
.quiz-banner p { color: rgba(255, 255, 255, .85); font-size: 16px; }

/* ===== CTA ===== */
.cta-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.cta__info p { color: rgba(255, 255, 255, .85); margin-bottom: 20px; }
.cta__phone { display: inline-block; font-size: 24px; font-weight: 800; color: var(--white); }
.cta__phone:hover { color: var(--on-dark); }
.cta__form {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 30px; box-shadow: var(--shadow-lg);
}
.cta__form h3 { color: var(--ink); margin-bottom: 18px; }

/* ===== Forms ===== */
.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 6px; }
.lead-form label > span { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.lead-form input[type="text"], .lead-form input[type="tel"] {
    border: 1px solid var(--line); border-radius: 10px;
    padding: 13px 14px; font-size: 15px; font-family: var(--font);
    transition: border-color .15s;
}
.lead-form input:focus { outline: none; border-color: var(--primary); }
.lead-form .check { flex-direction: row; align-items: flex-start; gap: 10px; }
.lead-form .check input { margin-top: 3px; }
.lead-form .check span { font-size: 12.5px; color: var(--ink-soft); }
.form__msg { font-size: 14px; font-weight: 600; min-height: 20px; }
.form__msg.is-error { color: #dc2626; }
.form__msg.is-success { color: #16a34a; }

/* ===== Modals ===== */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(var(--overlay-rgb), .5); }
.modal__panel {
    position: relative; background: var(--white); border-radius: var(--radius-lg);
    max-width: 460px; width: 100%; padding: 32px; box-shadow: var(--shadow-lg);
    max-height: 90vh; overflow-y: auto;
}
.modal__panel--wide { max-width: 640px; }
.modal__close { position: absolute; top: 14px; right: 18px; font-size: 26px; line-height: 1; background: none; border: 0; cursor: pointer; color: var(--ink-soft); }
.modal__panel h3 { margin: 6px 0 10px; }
.modal__sub { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 18px; }
.modal__text { color: var(--ink-soft); font-size: 14.5px; }
.modal__text p { margin-bottom: 12px; }

/* ===== Map ===== */
.map { margin-top: 36px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); line-height: 0; }
.map iframe { width: 100%; height: 600px; border: 0; display: block; }
@media (max-width: 768px) { .map iframe { height: 450px; } }

/* ===== Footer ===== */
.footer { background: var(--ink); color: var(--taupe-2); margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 20px 40px; }
.footer__grid > * { min-width: 0; }
.footer__brand b { display: block; color: var(--white); font-size: 18px; margin-bottom: 10px; }
.footer__brand p { font-size: 14px; max-width: 320px; }
.footer__rating { margin-top: 14px; }
.footer__rating a { color: var(--on-dark); }
.footer__col h4 { color: var(--white); font-size: 15px; margin-bottom: 14px; }
.footer__col a { display: block; color: var(--taupe-2); font-size: 14px; margin-bottom: 8px; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--white); }
.footer__addr, .footer__hours { font-size: 14px; margin: 6px 0; overflow-wrap: anywhere; }
.footer__social { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.footer__social a { font-weight: 600; }
.footer__bottom { padding: 22px 20px 30px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: var(--taupe-4); overflow-wrap: anywhere; }
.footer__disclaimer { margin-top: 8px; }

/* ===== Page hero (inner pages) ===== */
.page-hero { background: linear-gradient(180deg, var(--grad-a) 0%, var(--grad-b) 100%); padding: 48px 0 40px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-family: var(--font); font-size: clamp(26px, 3.6vw, 40px); margin-bottom: 10px; }
.page-hero p { color: var(--ink-soft); font-size: 16px; max-width: 720px; }
.breadcrumbs { font-size: 13px; color: var(--ink-soft); margin-bottom: 14px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--primary); }

/* ===== Service page ===== */
.service-layout { display: grid; grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
.sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 16px; }

/* Шапка услуги (стиль article-hero) */
.service-hero__flag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(135deg, var(--on-dark) 0%, var(--accent) 100%);
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 16px;
}
.service-hero__subtitle { color: var(--ink-soft); font-size: 17px; max-width: 720px; margin: 0 0 20px; }
.service-hero__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: var(--primary); color: var(--white);
    flex-shrink: 0;
}
.service-hero__icon svg { width: 24px; height: 24px; }
.meta-pill--price { background: var(--primary-soft); border-color: transparent; color: var(--primary-dark); font-weight: 700; }
.meta-pill__label { font-weight: 500; color: var(--ink-soft); margin-right: 2px; }
.meta-pill--phone { font-weight: 600; color: var(--primary); }
.meta-pill--phone:hover { border-color: var(--primary); }

/* Контент услуги (как article-body) */
.service-body { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.service-body h2 {
    font-size: 24px; color: var(--ink);
    margin: 38px 0 16px; padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-family: var(--font);
}
.service-body h3 { font-size: 19px; color: var(--ink); margin: 28px 0 10px; font-family: var(--font); }
.service-body h4 { font-size: 17px; color: var(--ink); margin: 24px 0 8px; font-family: var(--font); }
.service-body p { margin-bottom: 16px; }
.service-body b, .service-body strong { color: var(--ink); font-weight: 600; }
.service-body a { color: var(--primary); }
.service-body a:hover { border-bottom: 1px solid var(--primary); }
.service-body ul, .service-body ol { padding-left: 1.5em; margin-bottom: 16px; }
.service-body li { margin-bottom: 8px; }
.service-body ul li::marker { color: var(--accent); }
.service-body ol li::marker { color: var(--primary); font-weight: 700; }
.service-body img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.service-body blockquote {
    margin: 22px 0; padding: 16px 22px;
    background: var(--primary-soft); border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--ink); font-style: italic;
}
.service-body blockquote p { margin-bottom: 0; }

/* Карточка цены — графит с золотым акцентом */
.price-card {
    position: relative;
    margin-top: 34px;
    background: linear-gradient(150deg, var(--dark-a) 0%, var(--dark-b) 100%);
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    overflow: hidden;
}
.price-card::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.price-card__label {
    display: block;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--on-dark); margin-bottom: 6px;
}
.price-card__row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-card__value { font-size: 32px; font-weight: 800; line-height: 1.1; color: var(--white); }
.price-card__note { color: var(--taupe-3); font-size: 14.5px; }

/* Блок «Другие услуги» */
.other-services { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line); }
.other-services__title { font-size: 22px; color: var(--ink); font-family: var(--font); margin-bottom: 22px; }
.other-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other-service {
    display: flex; flex-direction: column; gap: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    color: var(--ink);
    transition: all .2s ease;
}
.other-service:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.other-service__icon {
    display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 11px;
    background: var(--white); color: var(--primary);
    border: 1px solid var(--line);
}
.other-service:hover .other-service__icon { background: var(--primary); color: var(--white); border-color: var(--primary); }
.other-service__title { font-size: 15px; font-weight: 600; line-height: 1.35; }
.other-service__price { font-size: 13px; font-weight: 700; color: var(--primary); }

/* ===== Blog ===== */
.blog-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.blog-filters a {
    padding: 8px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
    background: var(--bg-soft); color: var(--ink-soft); border: 1px solid var(--line);
}
.blog-filters a:hover, .blog-filters a.is-active { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pagination__item {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-size: 14.5px; font-weight: 600;
    color: var(--ink);
    background: var(--white);
    transition: all .15s ease;
}
.pagination__item:hover { border-color: var(--primary); color: var(--primary); }
.pagination__item.is-active { background: var(--primary-dark); color: var(--white); border-color: var(--primary-dark); }
.pagination__item.is-disabled { opacity: .45; pointer-events: none; }

.post-layout { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.post-meta { color: var(--ink-soft); font-size: 13.5px; margin-bottom: 20px; }
.post-meta b { color: var(--ink); }

/* ===== Quiz page ===== */
.quiz-page { max-width: 720px; margin: 0 auto; }
.quiz-progress { background: transparent; overflow: visible; }
.quiz-progress__bar { width: 0; height: 100%; background: var(--primary); border-radius: 999px; transition: width .3s ease; }
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.quiz-step h2 { font-family: var(--font); font-size: 26px; margin-bottom: 22px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
    display: flex; align-items: center; gap: 14px;
    border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
    cursor: pointer; transition: all .15s; font-size: 15px;
}
.quiz-option:hover { border-color: var(--primary); }
.quiz-option.is-selected { border-color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.quiz-nav { display: flex; gap: 12px; margin-top: 24px; }
.quiz-result { display: none; text-align: center; padding: 30px 0; }
.quiz-result h2 { font-family: var(--font); margin-bottom: 10px; }
.quiz-result p { color: var(--ink-soft); margin-bottom: 18px; }

/* ===== About the lawyer (home) ===== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.about-photo { position: relative; }
.about-photo img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.about-photo__name {
    position: absolute; left: 16px; right: 16px; bottom: 16px;
    background: linear-gradient(180deg, transparent, rgba(var(--overlay-rgb), .88));
    color: var(--white);
    border-radius: 12px;
    padding: 22px 18px 14px;
}
.about-photo__name b { display: block; font-size: 17px; }
.about-photo__name span { font-size: 13px; opacity: .92; }
.about-text h2 { font-family: var(--font); font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 16px; }
.about-text__lead { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.about-text__list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; padding: 0; }
.about-text__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--ink); }
.about-text__list li::before {
    content: '✓';
    position: absolute; left: 0; top: 0;
    width: 20px; height: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-soft); color: var(--accent-dark);
    border-radius: 50%; font-size: 12px; font-weight: 700;
}

/* ===== SEO text block ===== */
.seo-text {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 15.5px;
    line-height: 1.7;
}
.seo-text h2 { font-size: 22px; margin-bottom: 16px; color: var(--ink); font-family: var(--font); }
.seo-text h3 { font-size: 17px; margin: 24px 0 10px; color: var(--ink); font-family: var(--font); }
.seo-text p { margin-bottom: 14px; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .hero__form-col { max-width: 480px; margin: 0 auto; width: 100%; }
    .about-grid { grid-template-columns: 1fr; gap: 36px; }
    .about-photo { max-width: 420px; margin: 0 auto; }
    .services { grid-template-columns: repeat(2, 1fr); }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .cta-wrap { grid-template-columns: 1fr; }
    .service-layout, .post-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .topbar__info { min-width: 0; }
    .topbar__info span:nth-child(n+2) { display: none; }
    .topbar__social { gap: 10px; }
    .topbar__social a { font-size: 12.5px; }
    .topbar__email { display: none; }
    .header__inner { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
    .header__cta { gap: 10px; }
    .header__cta .btn { padding: 10px 14px; font-size: 13px; }
    .brand__logo { height: 40px; }
    .brand__name { padding-left: 12px; }
    .brand__name b { font-size: 11.5px; }
    .header__phone { font-size: 13px; }
    .burger { display: flex; flex-shrink: 0; }
    .mainnav { position: static; }
    .mainnav__inner { display: none; flex-direction: column; align-items: stretch; padding: 6px 0; }
    .mainnav__inner.is-open { display: flex; box-shadow: var(--shadow-lg); }
    .mainnav a { padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
    .services { grid-template-columns: 1fr; }
    .posts-grid { grid-template-columns: 1fr; }
    .grid--2, .grid--3 { grid-template-columns: 1fr; }
    .other-services__grid { grid-template-columns: 1fr; }
    .section { padding: 52px 0; }
}

@media (max-width: 480px) {
    .brand__logo { height: 36px; }
    .brand__name b { font-size: 10.5px; }
    .header__cta .btn { display: none; }
}

/* ===== Article page ===== */
.article-hero {
    background: linear-gradient(180deg, var(--grad-a) 0%, var(--grad-b) 100%);
    padding: 44px 0 40px;
    border-bottom: 1px solid var(--line);
}
.breadcrumbs__sep { margin: 0 8px; color: var(--line); }
.article-hero__title {
    font-family: var(--font);
    font-size: clamp(26px, 3.8vw, 42px);
    line-height: 1.22;
    max-width: 820px;
    margin-bottom: 16px;
}
.article-hero__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.meta-pill {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 13px; font-weight: 500;
    color: var(--ink-soft);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 13px;
}
.meta-pill svg { color: var(--primary); }

.article-section .article-main { min-width: 0; }

/* ===== Table of contents ===== */
.toc {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px 22px;
    margin-bottom: 30px;
}
.toc__title {
    display: block;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}
.toc ol { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 4px; counter-reset: toc; }
.toc li { counter-increment: toc; margin: 0; }
.toc a {
    display: inline-flex; align-items: baseline; gap: 10px;
    font-size: 14.5px; line-height: 1.45; color: var(--ink);
    padding: 4px 0;
    transition: color .15s;
}
.toc a::before {
    content: counter(toc, decimal-leading-zero);
    font-size: 11.5px; font-weight: 700; color: var(--accent);
}
.toc a:hover { color: var(--primary); }

/* ===== Article cover ===== */
.article-cover {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}
.article-cover img { width: 100%; height: auto; display: block; object-fit: cover; }

/* ===== Article body ===== */
.article-body { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }
.article-body h2 {
    font-size: 24px;
    color: var(--ink);
    margin: 38px 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    scroll-margin-top: 96px;
}
.article-body h3 {
    font-size: 19px;
    color: var(--ink);
    margin: 28px 0 10px;
    scroll-margin-top: 96px;
}
.article-body h4 {
    font-size: 17px;
    color: var(--ink);
    margin: 24px 0 8px;
    scroll-margin-top: 96px;
}
.article-body p { margin-bottom: 16px; }
.article-body b, .article-body strong { color: var(--ink); font-weight: 600; }
.article-body a { color: var(--primary); border-bottom: 1px solid transparent; }
.article-body a:hover { border-bottom-color: var(--primary); }
.article-body ul, .article-body ol { padding-left: 1.5em; margin-bottom: 16px; }
.article-body li { margin-bottom: 8px; }
.article-body ul li::marker { color: var(--accent); }
.article-body ol li::marker { color: var(--primary); font-weight: 700; }
.article-body img { border-radius: var(--radius); margin: 24px 0; box-shadow: var(--shadow); }
.article-body blockquote {
    margin: 22px 0;
    padding: 16px 22px;
    background: var(--primary-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    color: var(--ink);
    font-style: italic;
}
.article-body blockquote p { margin-bottom: 0; }

/* ===== Author card ===== */
.author-card {
    display: flex; gap: 22px; align-items: flex-start;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-top: 40px;
}
.author-card__ava {
    flex-shrink: 0;
    width: 64px; height: 64px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 22px; letter-spacing: .02em;
}
.author-card__label {
    display: block;
    font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--accent-dark);
}
.author-card__name { display: block; font-size: 17px; color: var(--ink); margin: 4px 0 0; }
.author-card__role { display: block; font-size: 13.5px; color: var(--ink-soft); }
.author-card__text { font-size: 14.5px; color: var(--ink-soft); margin: 12px 0 16px; }

/* ===== Article nav ===== */
.article-nav {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line);
}
.article-nav a {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14.5px; color: var(--ink);
    transition: color .15s;
}
.article-nav a:hover { color: var(--primary); }
.article-nav__next { margin-left: auto; text-align: right; max-width: 60%; }
.article-nav__next svg { margin-left: auto; flex-shrink: 0; }

/* ===== Sidebar cards ===== */
.side-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
}
.side-card .btn--block { margin-top: 16px; }
.side-card__title { font-size: 16px; color: var(--ink); margin-bottom: 14px; }
.side-card__text { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; }
.side-links { display: flex; flex-direction: column; gap: 2px; margin: 0 -8px; }
.side-links a {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
    padding: 9px 8px; border-radius: 8px;
    font-size: 14px; line-height: 1.45; color: var(--ink);
    transition: all .15s;
}
.side-links a:hover { background: var(--primary-soft); color: var(--primary); }
.side-links a span { min-width: 0; }
.side-links svg { flex-shrink: 0; margin-top: 4px; color: var(--accent); transition: transform .15s; }
.side-links a:hover svg { transform: translateX(3px); }
.side-contact { display: flex; flex-direction: column; gap: 12px; }
.side-contact__phone {
    font-size: 17px; font-weight: 700; color: var(--ink);
    white-space: nowrap;
}
.side-contact__phone:hover { color: var(--primary); }
.side-contact__row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.45; }
.side-contact__row svg { flex-shrink: 0; margin-top: 3px; color: var(--primary); }

/* ===== Article CTA ===== */
.article-cta { margin-top: 0; }

@media (max-width: 1024px) {
    .article-nav__next { max-width: 55%; }
}

@media (max-width: 768px) {
    .author-card { flex-direction: column; align-items: center; text-align: center; }
    .author-card__body { text-align: center; }
    .article-nav { flex-direction: column; align-items: flex-start; }
    .article-nav__next { max-width: 100%; margin-left: 0; text-align: left; }
    .article-nav__next svg { margin-left: 0; }
}

/* ===== Cases (premium) ===== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cases-grid--2 { grid-template-columns: repeat(2, 1fr); }
.case-card {
    position: relative;
    display: flex; flex-direction: column; gap: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    color: var(--ink);
    overflow: hidden;
    transition: all .22s ease;
}
.case-card::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .22s ease;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.case-card:hover::before { opacity: 1; }
.case-card__top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.case-card__badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
    border-radius: 999px; padding: 5px 12px;
}
.case-card__badge--person { background: var(--primary-soft); color: var(--primary-dark); }
.case-card__badge--business { background: var(--accent-soft); color: var(--accent-dark); }
.case-card__badge--duration { background: var(--bg-soft); color: var(--ink-soft); font-weight: 600; }
.case-card__badge--duration svg { color: var(--accent); }
.case-card__title { font-size: 18px; line-height: 1.35; color: var(--ink); margin: 0; }
.case-card__problem {
    display: flex; flex-direction: column; gap: 2px;
    color: var(--ink-soft); font-size: 14.5px; line-height: 1.6;
}
.case-card__label {
    font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    color: var(--accent-dark);
}
.case-card__result {
    display: flex; align-items: flex-start; gap: 10px;
    background: var(--accent-soft);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14.5px; font-weight: 600; line-height: 1.5;
    color: var(--ink);
}
.case-card__result svg { flex-shrink: 0; margin-top: 2px; color: var(--accent-dark); }
.case-card__result b { color: var(--accent-dark); }
.case-card__link {
    display: inline-flex; align-items: center; gap: 6px;
    align-self: flex-start; margin-top: auto;
    font-weight: 600; font-size: 14px; color: var(--ink-soft);
    transition: color .18s ease;
}
.case-card__link svg { transition: transform .18s ease; }
.case-card:hover .case-card__link { color: var(--primary); }
.case-card:hover .case-card__link svg { transform: translateX(3px); }

/* Детальная страница кейса */
.case-hero__badge { margin-bottom: 16px; }
.case-problem {
    display: flex; gap: 18px; align-items: flex-start;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.case-problem__icon {
    flex-shrink: 0;
    width: 48px; height: 48px; border-radius: 12px;
    background: var(--white); border: 1px solid var(--line);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
}
.case-problem__icon svg { width: 24px; height: 24px; }
.case-problem h2 { font-size: 20px; color: var(--ink); font-family: var(--font); margin-bottom: 8px; }
.case-problem p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin: 0; }
.case-result {
    position: relative;
    margin-top: 24px;
    background: linear-gradient(150deg, var(--dark-a) 0%, var(--dark-b) 100%);
    border-radius: var(--radius-lg);
    padding: 28px 30px;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.case-result::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
}
.case-result__label {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--on-dark); margin-bottom: 10px;
}
.case-result__label svg { color: var(--accent); }
.case-result__value { font-size: 22px; font-weight: 700; line-height: 1.45; color: var(--white); margin: 0; }
.case-details { margin-top: 32px; }

/* Блок «Другие кейсы» / «Кейсы по этой услуге» */
.related-cases { margin-top: 52px; padding-top: 38px; border-top: 1px solid var(--line); }
.related-cases .other-services__title { margin-bottom: 22px; }

@media (max-width: 1024px) {
    .cases-grid, .cases-grid--2 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .cases-grid, .cases-grid--2 { grid-template-columns: 1fr; }
    .case-problem { flex-direction: column; }
}

/* ===== About page ===== */
.section--soft { background: var(--bg-soft); }

/* Тёмный блок статистики (крупные золотые цифры) */
.stats--dark {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 0;
    padding: 44px 16px;
    background: linear-gradient(150deg, var(--dark-a) 0%, var(--dark-b) 100%);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.stats--dark .stat {
    background: transparent;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, .12);
    border-radius: 0;
    padding: 10px 28px;
    text-align: center;
}
.stats--dark .stat:first-child { border-left: 0; }
.stats--dark .stat b { color: var(--accent); font-size: 34px; line-height: 1.1; }
.stats--dark .stat span { color: var(--taupe-3); font-size: 13.5px; }

/* Принципы работы (карточки в стиле .svc) */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.principle {
    position: relative;
    display: flex; flex-direction: column; gap: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px;
    overflow: hidden;
    transition: all .22s ease;
}
.principle::before {
    content: '';
    position: absolute; inset: 0 0 auto 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity .22s ease;
}
.principle:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.principle:hover::before { opacity: 1; }
.principle__icon {
    display: flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary);
    transition: all .22s ease;
}
.principle:hover .principle__icon { background: var(--primary); color: var(--white); }
.principle h3 { font-size: 16.5px; line-height: 1.3; }
.principle p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

/* Дополнительные абзацы в блоке руководителя */
.about-text__body { color: var(--ink-soft); font-size: 15.5px; line-height: 1.7; margin-bottom: 14px; }

/* SEO-текст в отдельной секции без верхнего отступа */
.about-seo { margin-top: 0; }

@media (max-width: 1024px) {
    .stats--dark { grid-template-columns: repeat(2, 1fr); padding: 28px 8px; }
    .stats--dark .stat:nth-child(odd) { border-left: 0; }
    .stats--dark .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
    .principles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .stats--dark { grid-template-columns: 1fr; }
    .stats--dark .stat { border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 18px 12px; }
    .stats--dark .stat:last-child { border-bottom: 0; }
    .principles { grid-template-columns: 1fr; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; padding: 44px 20px 36px; }
    .steps { grid-template-columns: 1fr; }
    .brand__name { display: none; }
    .topbar__address-text { display: none; }
    .topbar__address { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.08); justify-content: center; }
}

/* ===== Quiz page (premium) ===== */
.quiz-page { width: 100%; }

.quiz-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

/* Прогресс-бар с подписью */
.quiz-progress { margin-bottom: 30px; }
.quiz-progress__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.quiz-progress__label {
    font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--primary);
}
.quiz-progress__hint { font-size: 12.5px; color: var(--ink-soft); }
.quiz-progress__track { height: 8px; background: var(--line); border-radius: 999px; overflow: hidden; }
.quiz-progress__bar { background: linear-gradient(90deg, var(--primary), var(--accent)); }

/* Вопросы: номер + заголовок */
.quiz-step__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.quiz-step__num {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--primary-soft); color: var(--primary-dark);
    font-weight: 800; font-size: 16px; letter-spacing: .02em;
}
.quiz-step h2 { font-family: var(--font); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; margin: 0; }

/* Опции: карточки с радио и чек-маркером */
.quiz-option {
    position: relative;
    display: flex; align-items: center; gap: 14px;
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 17px 18px;
    cursor: pointer;
    background: var(--white);
    font-size: 15px;
    transition: all .18s ease;
}
.quiz-option__radio {
    flex-shrink: 0;
    width: 22px; height: 22px; border-radius: 50%;
    border: 2px solid var(--line);
    display: inline-flex; align-items: center; justify-content: center;
    transition: all .18s ease;
}
.quiz-option__radio::after {
    content: '';
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--primary);
    transform: scale(0);
    transition: transform .18s ease;
}
.quiz-option__text { flex: 1; }
.quiz-option__check {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--primary); color: var(--white);
    opacity: 0; transform: scale(.5);
    transition: all .18s ease;
}
.quiz-option__check svg { width: 13px; height: 13px; }
.quiz-option:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.quiz-option.is-selected { border-color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.quiz-option.is-selected .quiz-option__radio { border-color: var(--primary); }
.quiz-option.is-selected .quiz-option__radio::after { transform: scale(1); }
.quiz-option.is-selected .quiz-option__check { opacity: 1; transform: scale(1); }

.quiz-hint { margin-top: 16px; font-size: 13px; color: var(--ink-soft); text-align: center; }

/* Блок результата */
.quiz-result { padding: 26px 0 6px; }
.quiz-result__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--accent-soft); color: var(--accent-dark);
    margin-bottom: 18px;
}
.quiz-result__icon svg { width: 30px; height: 30px; }
.quiz-result h2 { font-family: var(--font); font-size: 24px; margin-bottom: 10px; }
.quiz-result p { color: var(--ink-soft); margin-bottom: 20px; }

/* Блок доверия */
.quiz-trust {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    margin-top: 26px;
}
.quiz-trust__item {
    display: flex; align-items: center; gap: 10px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13.5px; font-weight: 600; color: var(--ink);
}
.quiz-trust__icon {
    flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 9px;
    background: var(--white); color: var(--primary);
    border: 1px solid var(--line);
}
.quiz-trust__icon svg { width: 15px; height: 15px; }

/* Дисклеймер 332-ФЗ */
.quiz-disclaimer {
    margin-top: 20px;
    font-size: 12.5px; line-height: 1.6;
    color: var(--ink-soft);
}

@media (max-width: 768px) {
    .quiz-card { padding: 24px 18px; }
    .quiz-trust { grid-template-columns: 1fr; }
    .quiz-step__head { align-items: flex-start; }
}
