/* ============================================================
   EN Consulting Group — Регистрация ООО и ИП под ключ
   Design system: по брендбуку заказчика (2026)
   Палитра: Royal Blue / Electric Blue / Powder Blue / Light Steel
   Blue / Soft White / Midnight Ink / Graphite / Cold Silver
   Шрифты: Cormorant Garamond (заголовки H1/H2) · Inter (H3, текст)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    /* palette — из брендбука EN Consulting Group */
    --royal-blue:   #012676;  /* Core Color */
    --royal-blue-2: #17447D;  /* H2 heading blue */
    --electric:     #3068DF;  /* Digital Accent */
    --powder-blue:  #D0E6FD;  /* Light Background */
    --steel-blue:   #AAC0E1;  /* Secondary Cool Blue */
    --soft-white:   #F5FEFF;  /* Soft Light Background */
    --midnight-ink: #011F4B;  /* Dark Accent */
    --graphite:     #1F2430;  /* Body text */
    --cold-silver:  #C6CBD2;  /* Caption / muted */

    --ink:        var(--midnight-ink);
    --ink-2:      var(--royal-blue);
    --navy-deep:  var(--midnight-ink);
    --hero-1:     var(--royal-blue);
    --hero-2:     var(--royal-blue-2);

    --blue:       var(--electric);
    --blue-hover: #2755B7;
    --blue-soft:  rgba(48, 104, 223, 0.10);
    --blue-ring:  rgba(48, 104, 223, 0.35);

    --bg:         #FFFFFF;
    --bg-alt:     var(--soft-white);
    --border:     var(--powder-blue);
    --border-2:   var(--steel-blue);

    --text:       var(--graphite);
    --text-2:     #62666E;
    --text-3:     var(--cold-silver);

    --success:    #12A150;
    --danger:     #E0483D;

    --white-08:   rgba(255,255,255,0.08);
    --white-12:   rgba(255,255,255,0.12);
    --white-70:   rgba(255,255,255,0.70);

    --spotlight-color: rgba(48, 104, 223, 0.08);

    /* type */
    --font-head: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* shape & shadow */
    --r-sm: 12px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-pill: 999px;

    --shadow-sm: 0 2px 8px rgba(1,31,75,0.06);
    --shadow-md: 0 12px 30px rgba(1,31,75,0.09);
    --shadow-lg: 0 26px 60px rgba(1,31,75,0.16);
    --shadow-blue: 0 14px 30px rgba(48,104,223,0.30);

    --container: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2 { font-family: var(--font-head); line-height: 1.08; letter-spacing: -0.01em; color: var(--royal-blue); font-weight: 600; }
h3, h4 { font-family: var(--font-body); line-height: 1.3; letter-spacing: -0.01em; color: var(--graphite); font-weight: 600; }

::selection { background: var(--blue); color: #fff; }

:focus-visible { outline: 3px solid var(--blue-ring); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--blue); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }

.section { padding: 100px 0; position: relative; }
.section--tint { background: var(--bg-alt); }

.section__head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section__eyebrow {
    display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 13px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 16px;
}
.section__eyebrow--light { color: #6DBBFF; }
.section__title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
.section__lead { color: var(--text-2); font-size: 18px; }
.section__head--light .section__title { color: #fff; }
.section__head--light .section__lead { color: rgba(255,255,255,0.72); }

.text-accent { color: var(--blue); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* bento: «Кому подходит» — 1 крупная плитка + 2 квадрата + 1 широкая снизу */
.grid--bento-4 { grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; }
.grid--bento-4 > *:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.grid--bento-4 > *:nth-child(2) { grid-column: 2; grid-row: 1; }
.grid--bento-4 > *:nth-child(3) { grid-column: 3; grid-row: 1; }
.grid--bento-4 > *:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    padding: 14px 26px; border-radius: var(--r-pill);
    transition: transform .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--blue-hover); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--border-2); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }

.btn--on-dark { color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--on-dark:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.10); }

/* ---------- Chip ---------- */
.chip {
    display: inline-flex; align-items: center; gap: 9px; max-width: 100%;
    font-size: 14px; font-weight: 600; color: var(--white-70);
    background: var(--white-08); border: 1px solid var(--white-12);
    padding: 8px 16px; border-radius: var(--r-pill); margin-bottom: 26px;
}
.chip__label { white-space: normal; }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-ring); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #fff; border-bottom: 1px solid var(--border);
    transition: box-shadow .3s var(--ease);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { display: grid; place-items: center; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: -0.01em; }
.brand__sub { display: none; }

.nav { display: flex; gap: 4px; }
.nav__link {
    font-size: 14.5px; font-weight: 600; color: var(--text-2); white-space: nowrap;
    padding: 8px 14px; border-radius: var(--r-pill); transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--blue); background: var(--blue-soft); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-body); font-weight: 700; font-size: 14.5px; color: var(--ink); transition: color .2s; }
.header__phone svg { color: var(--blue); }
.header__phone:hover { color: var(--blue); }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
    position: fixed; top: 72px; left: 0; right: 0; z-index: 99;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 20px 24px 28px; display: flex; flex-direction: column; gap: 6px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-md);
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__link { display: block; font-family: var(--font-body); font-weight: 600; font-size: 18px; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--border); }
.mobile-menu__phone { font-family: var(--font-body); font-weight: 700; font-size: 18px; color: var(--blue); padding: 16px 4px 8px; }

/* ---------- Hero ---------- */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-alt) 0%, #fff 100%);
    padding: 128px 0 64px;
}
.hero__bg-city {
    position: absolute; top: 10%; right: 28%; width: 46%; max-width: 620px; height: auto;
    z-index: 0; pointer-events: none; user-select: none;
}

/* ---------- Seal motif (фирменная печать подтверждения) ---------- */
.seal { color: #fff; }
.seal--cta {
    position: absolute; width: 380px; height: 380px; left: -40px; top: -60px;
    color: #ffffff; opacity: 0.06; pointer-events: none;
}
.seal--mini { width: 22px; height: 22px; flex-shrink: 0; }
.section__eyebrow--seal { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }
.section__eyebrow--seal .seal--mini { color: var(--blue); }

.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-bottom: 56px; }

.chip--light { color: var(--ink); background: var(--blue-soft); border-color: transparent; }

.hero__title { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 20px; color: var(--ink); }

.hero__lead { font-size: 18px; color: var(--text-2); max-width: 480px; margin-bottom: 30px; }

.hero__features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.hero__feature { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero__feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.hero__feature > span:not(.hero__feature-icon) { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); line-height: 1.35; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* photo + skyline figure */
.hero__figure { position: relative; width: 100%; overflow: hidden; aspect-ratio: 4 / 5; }
.hero__portrait {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 108%; height: auto; z-index: 1; pointer-events: none;
    filter: drop-shadow(0 24px 30px rgba(1,31,75,0.22));
}

/* bottom strip */
.info-strip {
    display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); padding: 26px 32px; position: relative; z-index: 2;
}
.info-strip-item { display: flex; align-items: center; gap: 14px; flex: 1 1 220px; padding: 0 24px; border-left: 1px solid var(--border); }
.info-strip-item:first-child { border-left: none; padding-left: 0; }
.info-strip-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.info-strip-item strong { display: block; font-size: 15px; color: var(--ink); }
.info-strip-item span { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 2px; }

/* ---------- Trust — Наши клиенты ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 20px; }
.trust-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 22px 16px; min-height: 156px; display: flex; flex-direction: column;
    align-items: center; justify-content: center; text-align: center; gap: 16px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.trust-card img { max-height: 34px; width: auto; max-width: 100%; }
.trust-card span { font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.trust-card--note { background: var(--bg-alt); gap: 10px; }
.trust-card--note svg { color: var(--blue); }
.trust-card--note p { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.45; }

.trust-bar {
    display: flex; flex-wrap: wrap; background: linear-gradient(160deg, var(--ink-2), var(--ink));
    border-radius: var(--r-lg); padding: 28px 32px; gap: 20px 20px;
}
.trust-bar__item { display: flex; align-items: center; gap: 14px; flex: 1 1 220px; }
.trust-bar__item svg { color: #fff; flex-shrink: 0; opacity: 0.9; }
.trust-bar__item strong { display: block; color: #fff; font-size: 15px; }
.trust-bar__item span { display: block; color: rgba(255,255,255,0.65); font-size: 13.5px; margin-top: 2px; }

/* ---------- Generic cards ---------- */
.card {
    position: relative; overflow: hidden;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.card__icon {
    display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px;
    background: var(--blue-soft); color: var(--blue); margin-bottom: 20px;
}
.card__title { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.card__text { color: var(--text-2); font-size: 15.5px; }

.section--tint .card { background: #fff; }

/* ---------- Audience — Кому нужна помощь ---------- */
#audience { position: relative; overflow: hidden; }
.audience-decor {
    position: absolute; top: 40px; right: max(24px, calc((100% - var(--container)) / 2 + 4px));
    width: 130px; height: 90px; pointer-events: none;
    background-image: radial-gradient(var(--royal-blue) 1.6px, transparent 1.6px);
    background-size: 18px 18px; opacity: 0.14;
}
.section__eyebrow--num { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); }
.section__eyebrow--num::after { content: ""; width: 34px; height: 1.5px; background: var(--blue); display: inline-block; }

.audience-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 32px 26px; text-align: left; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.audience-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.audience-card__icon {
    display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    background: var(--blue-soft); color: var(--blue); margin-bottom: 22px; transition: background-color .2s, color .2s;
}
.audience-card:hover .audience-card__icon { background: var(--blue); color: #fff; }
.audience-card__title { font-size: 17px; margin-bottom: 12px; }
.audience-card__rule { display: block; width: 28px; height: 2px; background: var(--blue); margin-bottom: 12px; }
.audience-card__text { color: var(--text-2); font-size: 14.5px; line-height: 1.55; }

/* ---------- Card spotlight (курсор-подсветка) ---------- */
.card::before, .plan::before, .review::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), var(--spotlight-color), transparent 55%);
    opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover::before, .plan:hover::before, .review:hover::before { opacity: 1; }
.card > *, .plan > *, .review > * { position: relative; z-index: 1; }

/* ---------- Bento featured tiles: «Кому подходит» / «Почему ENCG» ---------- */
.grid--bento-4 > .card:first-child {
    padding: 40px 34px; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-color: transparent; color: #fff;
}
.grid--bento-4 > .card:first-child .card__icon { width: 64px; height: 64px; background: rgba(48,104,223,0.22); color: #6DBBFF; }
.grid--bento-4 > .card:first-child .card__title { color: #fff; font-size: 24px; }
.grid--bento-4 > .card:first-child .card__text { color: rgba(255,255,255,0.75); font-size: 16px; }
.grid--bento-4 > .card:first-child::before { background: radial-gradient(420px circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(255,255,255,0.07), transparent 55%); }

/* ---------- Pains + Path + Quiz teaser (объединённый блок) ---------- */
#path { position: relative; overflow: hidden; }
.ps-decor-dots {
    position: absolute; top: 32px; left: max(24px, calc((100% - var(--container)) / 2 + 4px));
    width: 130px; height: 90px; pointer-events: none;
    background-image: radial-gradient(var(--royal-blue) 1.6px, transparent 1.6px);
    background-size: 18px 18px; opacity: 0.14;
}
.ps-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.ps-col { background: #fff; border-radius: var(--r-lg); padding: 22px 22px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.ps-col__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.ps-col__icon {
    display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
}
.ps-col__icon--danger { background: var(--blue-soft); color: var(--blue); }
.ps-col__icon--success { background: var(--blue-soft); color: var(--blue); }
.ps-col__title { font-size: 18px; margin-bottom: 0; }

.ps-list { display: grid; gap: 8px; margin-bottom: 12px; }
.ps-item { display: flex; align-items: flex-start; gap: 9px; }
.ps-item__icon { display: grid; place-items: center; width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.ps-item__icon--danger { color: var(--blue); }
.ps-item__icon--success { color: var(--blue); }
.ps-item h4 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 1px; }
.ps-item p { font-size: 12.5px; color: var(--text-2); line-height: 1.35; }

.ps-callout {
    margin-top: auto; display: flex; align-items: center; gap: 12px;
    background: var(--blue-soft); border-radius: var(--r-md); padding: 12px 14px;
    font-size: 14.5px; font-weight: 700; color: var(--ink); line-height: 1.4;
}
.ps-callout__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--blue); flex-shrink: 0; }

/* Quiz teaser card */
.quiz-teaser {
    position: relative; overflow: hidden;
    background: linear-gradient(160deg, var(--ink-2), var(--ink)); color: #fff;
    border-radius: var(--r-lg); padding: 22px 22px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-lg);
}
.quiz-teaser__intro { display: flex; flex-direction: column; height: 100%; justify-content: space-between; gap: 14px; }
.quiz-teaser__intro[hidden] { display: none; }
.quiz-teaser__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 0; }
.quiz-teaser__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(48,104,223,0.22); color: #6DBBFF; flex-shrink: 0; }
.quiz-teaser__title { color: #fff; font-size: 18px; }
.quiz-teaser__lead { color: rgba(255,255,255,0.75); font-size: 13.5px; margin-bottom: 0; }

.quiz-teaser__steps { display: flex; align-items: center; gap: 6px; margin-bottom: 0; }
.qt-step {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.6); font-size: 12px; font-weight: 700;
}
.qt-step.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.qt-step__line { flex: 1; height: 1px; background-image: linear-gradient(90deg, rgba(255,255,255,0.3) 50%, transparent 50%); background-size: 8px 1px; }

.quiz-teaser__features { display: grid; gap: 8px; margin-bottom: 0; }
.quiz-teaser__features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.85); }
.quiz-teaser__features svg { color: #6DBBFF; flex-shrink: 0; }

.quiz-teaser__intro, .quiz-teaser .quiz { position: relative; z-index: 1; }

/* Квиз встроен прямо в тизер-карточку — убираем «карточку в карточке» */
.quiz-teaser .quiz {
    max-width: none; margin: 0; background: none; border: none; padding: 0; backdrop-filter: none;
}
.quiz-teaser .quiz__question { font-size: 20px; }
.quiz-teaser .quiz__options--grid { grid-template-columns: 1fr; }
.quiz-teaser .quiz__nav .btn { min-width: 0; flex: 1; }

/* Bottom bar */
.ps-bottombar {
    margin-top: 24px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
    padding: 24px 32px; display: flex; align-items: center; flex-wrap: wrap; gap: 24px 32px;
}
.ps-bottombar__main { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; }
.ps-bottombar__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.ps-bottombar__main h4 { font-size: 16px; margin-bottom: 2px; }
.ps-bottombar__main p { font-size: 14px; color: var(--text-2); }
.ps-bottombar__item { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); padding-left: 24px; border-left: 1px solid var(--border); }
.ps-bottombar__item svg { color: var(--blue); flex-shrink: 0; }

/* ---------- Quiz (dark) ---------- */
.section--dark {
    background:
        radial-gradient(120% 120% at 50% 0%, rgba(23,68,125,0.87) 0%, rgba(1,38,118,0.90) 50%, rgba(1,31,75,0.94) 100%),
        url('assets/bg/bg-quiz-justice.jpg') center/cover no-repeat;
    color: #fff; position: relative; overflow: hidden;
}
.quiz {
    max-width: 820px; margin: 0 auto; background: rgba(255,255,255,0.05);
    border: 1px solid var(--white-12); border-radius: var(--r-lg); padding: 36px;
    backdrop-filter: blur(14px); position: relative; z-index: 1;
}
.quiz__progress { margin-bottom: 30px; }
.quiz__progress-track { height: 6px; background: var(--white-12); border-radius: var(--r-pill); overflow: hidden; }
.quiz__progress-fill { height: 100%; width: 20%; background: linear-gradient(90deg, var(--blue), #6DBBFF); border-radius: var(--r-pill); transition: width .4s var(--ease); }
.quiz__progress-label { display: block; margin-top: 10px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.6); }

.quiz__body { position: relative; }
.quiz__step { display: none; animation: quizIn .4s var(--ease); }
.quiz__step.is-active { display: block; }
@keyframes quizIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.quiz__question { font-size: clamp(21px, 3vw, 27px); color: #fff; margin-bottom: 8px; }
.quiz__hint { color: rgba(255,255,255,0.6); font-size: 15px; margin-bottom: 24px; }

.quiz__options { display: grid; gap: 12px; }
.quiz__options--grid { grid-template-columns: 1fr 1fr; }

.quiz-option { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md); border: 1.5px solid var(--white-12); background: rgba(255,255,255,0.03); cursor: pointer; transition: border-color .2s, background-color .2s; }
.quiz-option:hover { border-color: rgba(157,192,255,0.5); background: rgba(255,255,255,0.06); }
.quiz-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.quiz-option__box { flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.35); display: grid; place-items: center; transition: border-color .2s, background-color .2s; }
.quiz-option__box--check { border-radius: 7px; }
.quiz-option__box::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .2s var(--ease); }
.quiz-option__box--check::after { border-radius: 2px; width: 12px; height: 12px; background: transparent; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.quiz-option input:checked ~ .quiz-option__box { border-color: var(--blue); background: var(--blue); }
.quiz-option input:checked ~ .quiz-option__box::after { transform: scale(1); }
.quiz-option input:checked ~ .quiz-option__text { color: #fff; }
.quiz-option:has(input:checked) { border-color: var(--blue); background: rgba(48,104,223,0.14); }
.quiz-option input:focus-visible ~ .quiz-option__box { outline: 3px solid var(--blue-ring); outline-offset: 2px; }
.quiz-option__text { color: rgba(255,255,255,0.82); font-size: 15px; font-weight: 500; }

.quiz__own { margin-top: 14px; width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--white-12); background: rgba(255,255,255,0.05); color: #fff; font-family: inherit; font-size: 15px; }
.quiz__own::placeholder { color: rgba(255,255,255,0.4); }
.quiz__own:focus { outline: none; border-color: var(--blue); }

.quiz__form { display: grid; gap: 16px; max-width: 460px; }
.quiz__success { text-align: center; padding: 20px 0; }

.quiz__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }
.quiz__nav .btn { min-width: 130px; }
#quiz-prev[hidden] { visibility: hidden; }

/* on-dark fields */
.section--dark .field__label { color: rgba(255,255,255,0.75); }
.section--dark .field__input { background: rgba(255,255,255,0.06); border-color: var(--white-12); color: #fff; }
.section--dark .field__input::placeholder { color: rgba(255,255,255,0.4); }
.section--dark .consent { color: rgba(255,255,255,0.7); }
.section--dark .consent a { color: #6DBBFF; }

/* ---------- Process (Этапы работы) ---------- */
.process__track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; }
.process__track::before { content: ""; position: absolute; top: 50%; left: 12.5%; right: 12.5%; height: 0; border-top: 2px dashed var(--blue); transform: translateY(-50%); z-index: 0; }
.process__dot {
    position: relative; z-index: 1; justify-self: center; display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 50%; background: #fff; border: 2px solid var(--blue);
    color: var(--blue); font-family: var(--font-head); font-weight: 700; font-size: 19px;
}
.process__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process__card {
    position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 26px 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.process__card::before { content: ""; position: absolute; top: -22px; left: 50%; width: 1px; height: 12px; background: var(--border-2); transform: translateX(-50%); }
.process__card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.process__card-icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--blue-soft); color: var(--blue); margin-bottom: 16px;
}
.process__card h3 { font-size: 17px; margin-bottom: 8px; }
.process__card p { color: var(--text-2); font-size: 14.5px; margin-bottom: 16px; }
.process__time {
    display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700;
    color: var(--blue); background: var(--blue-soft); padding: 6px 12px; border-radius: var(--r-pill);
}

.process__bottombar {
    margin-top: 32px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 26px 32px; display: flex; flex-wrap: wrap; gap: 22px 32px;
}
.process__stat { display: flex; align-items: center; gap: 14px; flex: 1 1 220px; }
.process__stat-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: #fff; flex-shrink: 0; }
.process__stat-label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 2px; }
.process__stat strong { display: block; font-size: 15px; color: var(--ink); }

.process__footline {
    display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center;
    margin-top: 24px; color: var(--text-2); font-size: 15px;
}
.process__footline svg { color: var(--blue); flex-shrink: 0; }

/* ---------- Why cards ---------- */
.why-body { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: 24px; align-items: stretch; }
.why-photo { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.why-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 14px; }
.why-card {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
    padding: 18px 20px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.why-card__icon {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    background: var(--blue-soft); color: var(--blue); margin-bottom: 12px; flex-shrink: 0;
}
.why-card__icon svg { width: 19px; height: 19px; }
.why-card__title { font-size: 15px; font-weight: 700; margin-bottom: 5px; color: var(--ink); }
.why-card__text { color: var(--text-2); font-size: 13px; line-height: 1.42; }

.why-stats {
    display: flex; flex-wrap: wrap; margin-top: 24px; padding: 30px 32px;
    background: linear-gradient(160deg, var(--ink-2), var(--ink)); border-radius: var(--r-lg);
}
.why-stats__item {
    display: flex; align-items: flex-start; gap: 14px; flex: 1 1 220px; padding: 0 24px;
    border-left: 1px solid var(--white-12);
}
.why-stats__item:first-child { border-left: none; padding-left: 0; }
.why-stats__icon {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0;
    background: rgba(48,104,223,0.22); color: #6DBBFF;
}
.why-stats__item strong { display: block; color: #fff; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.why-stats__item > div span { display: block; color: rgba(255,255,255,0.65); font-size: 13.5px; margin-top: 2px; }

/* ---------- Cases ---------- */
.case {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.case__head {
    position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 24px 26px;
    background: linear-gradient(150deg, var(--ink-2), var(--ink)); color: #fff;
}
.case__head > * { position: relative; z-index: 1; }
.case__head-decor {
    position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
    width: 92px; height: 92px; color: #fff; opacity: 0.14; pointer-events: none; z-index: 0;
}
.case__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(48,104,223,0.22); color: #6DBBFF; flex-shrink: 0; }
.case__title { color: #fff; font-size: 17px; letter-spacing: 0.01em; }
.case__body { padding: 22px 26px 26px; }
.case__row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 10px; row-gap: 6px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.case__row:last-child { border-bottom: none; }
.case__row-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.case__row-icon--result { background: var(--blue-soft); color: var(--blue); }
.case__row dt { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink); }
.case__row dd { color: var(--text-2); font-size: 14.5px; line-height: 1.5; flex-basis: 100%; margin-left: 34px; width: calc(100% - 34px); }
.case__row--result dt { color: var(--blue); }
.case__row--result dd { color: var(--text); font-weight: 500; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.review__stars svg { fill: var(--blue); }
.review__text { color: var(--text); font-size: 16px; line-height: 1.6; margin-bottom: 22px; flex-grow: 1; }
.review__author { display: flex; align-items: center; gap: 12px; }
.review__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-family: var(--font-body); font-weight: 700; font-size: 15px; }
.review__meta { display: flex; flex-direction: column; }
.review__name { font-family: var(--font-body); font-weight: 700; font-size: 15.5px; color: var(--ink); }
.review__role { font-size: 13px; color: var(--text-3); }
.reviews__note { text-align: center; margin-top: 26px; font-size: 13.5px; color: var(--text-3); }

/* ---------- Pricing ---------- */
.pricing { align-items: stretch; }
.plan {
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px 30px;
    display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.plan:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.plan__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); margin-bottom: 20px; }
.plan__name { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); margin-bottom: 4px; }
.plan__desc { color: var(--text-2); font-size: 14.5px; margin-bottom: 20px; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 40px; color: var(--ink); letter-spacing: -0.03em; margin-bottom: 24px; }
.plan__from { font-size: 15px; font-weight: 600; color: var(--text-3); margin-right: 4px; }
.plan__cur { font-size: 24px; }
.plan__list-label { display: block; width: 100%; text-align: left; font-size: 13.5px; font-weight: 700; color: var(--text-2); margin-bottom: 12px; }
.plan__list { display: grid; gap: 12px; margin-bottom: 28px; flex-grow: 1; width: 100%; text-align: left; }
.plan__list li { position: relative; padding-left: 28px; font-size: 15px; color: var(--text); }
.plan__list li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item.is-open { border-color: var(--border-2); box-shadow: var(--shadow-sm); }
.faq__q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-body); font-weight: 700; font-size: 16.5px; color: var(--ink); }
.faq__q-icon {
    display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
    background: var(--blue-soft); color: var(--blue); font-size: 13px; font-weight: 800;
}
.faq__q-text { flex: 1; }
.faq__icon { color: var(--blue); flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; transition: transform .3s var(--ease); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 24px 24px; color: var(--text-2); font-size: 16px; }

.faq__contact {
    margin-top: 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.faq__contact-main { display: flex; align-items: center; gap: 16px; }
.faq__contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); flex-shrink: 0; }
.faq__contact-main h4 { font-size: 16px; margin-bottom: 2px; }
.faq__contact-main p { font-size: 14px; color: var(--text-2); }

/* ---------- CTA ---------- */
.cta {
    background:
        radial-gradient(120% 130% at 20% 20%, rgba(23,68,125,0.87) 0%, rgba(1,38,118,0.90) 45%, rgba(1,31,75,0.94) 100%),
        url('assets/bg/bg-cta-handshake.jpg') center/cover no-repeat;
    color: #fff; overflow: hidden;
}
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: center; }
.cta__title { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 18px; }
.cta__lead { color: rgba(255,255,255,0.78); font-size: 18px; margin-bottom: 26px; }
.cta__points { display: grid; gap: 12px; }
.cta__points li { display: flex; align-items: center; gap: 12px; font-size: 16px; color: rgba(255,255,255,0.9); }
.cta__points svg { color: var(--success); background: rgba(18,161,80,0.18); border-radius: 50%; padding: 3px; width: 26px; height: 26px; flex-shrink: 0; }

.cta__form { background: #fff; border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-lg); }
.cta__form-title { font-size: 24px; margin-bottom: 20px; }
.cta__form .field { margin-bottom: 16px; }
.cta__form-micro { font-size: 13px; color: var(--text-3); margin-top: 14px; text-align: center; }

/* ---------- Fields ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field__label { font-family: var(--font-body); font-weight: 600; font-size: 14px; color: var(--text); }
.field__opt { color: var(--text-3); font-weight: 500; }
.field__input {
    width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--border-2);
    background: #fff; color: var(--text); font-family: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: var(--text-3); }
.field__input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field__input.is-invalid { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(224,72,61,0.12); }
.field__textarea { resize: vertical; min-height: 84px; font-family: inherit; line-height: 1.5; }

.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--text-2); line-height: 1.45; cursor: pointer; }
.consent input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--blue); flex-shrink: 0; cursor: pointer; }
.consent a { color: var(--blue); text-decoration: underline; }

/* form success */
.form-success { text-align: center; padding: 24px 0; animation: quizIn .4s var(--ease); }
.success-icon {
    display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
    background: rgba(18,161,80,0.14); color: var(--success);
}
.quiz__success .success-icon, .section--dark .success-icon { background: rgba(18,161,80,0.2); }

/* stamp (печать) на экране успеха квиза */
.stamp { display: inline-block; width: 84px; height: 84px; margin: 0 auto 22px; color: #6DBBFF; opacity: 0; transform: scale(0) rotate(-18deg); }
.stamp.is-stamped { animation: stampIn .6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
@keyframes stampIn {
    0%   { opacity: 0; transform: scale(0) rotate(-18deg); }
    60%  { opacity: 1; transform: scale(1.12) rotate(4deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* ---------- Footer ---------- */
.footer {
    background:
        linear-gradient(rgba(1,31,75,0.90), rgba(1,31,75,0.95)),
        url('assets/bg/bg-footer-gavel.jpg') center/cover no-repeat;
    color: rgba(255,255,255,0.7); padding: 64px 0 0;
}
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.brand--footer .brand__name { color: #fff; }
.footer__about { margin-top: 16px; font-size: 15px; max-width: 320px; color: rgba(255,255,255,0.55); }
.footer__title { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 18px; letter-spacing: 0.02em; }
.footer__link { display: block; font-size: 15px; color: rgba(255,255,255,0.65); padding: 6px 0; transition: color .2s; }
.footer__link:hover { color: #fff; }
.footer__addr { margin-top: 10px; font-size: 14.5px; color: rgba(255,255,255,0.55); }
.footer__cta { margin-top: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13.5px; color: rgba(255,255,255,0.45); }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .3s var(--ease), visibility .3s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: rgba(7,22,48,0.6); backdrop-filter: blur(4px); }
.modal__dialog { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-lg); padding: 40px 36px; box-shadow: var(--shadow-lg); transform: translateY(16px) scale(0.98); transition: transform .35s var(--ease); max-height: 92vh; overflow-y: auto; }
.modal.is-open .modal__dialog { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--text-2); transition: background-color .2s, color .2s; }
.modal__close:hover { background: var(--bg-alt); color: var(--ink); }
.modal__eyebrow { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.modal__title { font-size: 26px; margin-bottom: 10px; }
.modal__lead { color: var(--text-2); font-size: 15.5px; margin-bottom: 22px; }
.modal__form .field { margin-bottom: 16px; }
.modal__micro { font-size: 12.5px; color: var(--text-3); margin-top: 14px; text-align: center; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .hero__inner { grid-template-columns: 1fr; gap: 44px; }
    .hero__figure { max-width: 460px; margin: 0 auto; }
    .hero__features { grid-template-columns: repeat(4, 1fr); }
    .cta__inner { grid-template-columns: 1fr; gap: 36px; }
    .reviews { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
    .process__cards { grid-template-columns: repeat(2, 1fr); }
    .process__track { display: none; }
    .process__card::before { display: none; }
    .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }

    .grid--bento-4 { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
    .grid--bento-4 > *:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
    .grid--bento-4 > *:nth-child(2), .grid--bento-4 > *:nth-child(3) { grid-column: auto; grid-row: auto; }
    .grid--bento-4 > *:nth-child(4) { grid-column: 1 / 3; grid-row: auto; }

    .ps-grid { grid-template-columns: 1fr 1fr; }
    .quiz-teaser { grid-column: 1 / 3; }

    .trust-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .hero__bg-city { width: 80%; opacity: 0.6; }
    .nav { display: none; }
    .header__phone { display: none; }
    .header__actions .btn--primary { display: none; }
    .burger { display: block; }
    .section { padding: 72px 0; }
    .grid--3 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .grid--2 { grid-template-columns: 1fr; }
    .quiz__options--grid { grid-template-columns: 1fr; }
    .quiz { padding: 26px 20px; }

    .grid--bento-4 { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
    .grid--bento-4 > * { grid-column: auto !important; grid-row: auto !important; }

    .why-body { grid-template-columns: 1fr; }
    .why-photo { min-height: 280px; }
    .why-grid { grid-template-columns: 1fr; }

    .why-stats { flex-direction: column; gap: 20px; }
    .why-stats__item { flex: none; border-left: none; border-top: 1px solid var(--white-12); padding: 20px 0 0; }
    .why-stats__item:first-child { border-top: none; padding-top: 0; }

    .ps-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .quiz-teaser { grid-column: auto; }
    .ps-bottombar__item { border-left: none; padding-left: 0; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .container { padding: 0 18px; }
    .grid--4 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .hero__features { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
    .info-strip { flex-direction: column; gap: 16px; padding: 20px; }
    .info-strip-item { flex: none; border-left: none; padding-left: 0; }
    .process__cards { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .process__bottombar { padding: 22px 24px; }
    .hero { padding: 128px 0 72px; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .trust-card { padding: 18px 12px; min-height: 130px; }
    .hero__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn { width: 100%; }
    .footer__inner { grid-template-columns: 1fr; }
    .footer__bottom-inner { flex-direction: column; align-items: flex-start; gap: 6px; }
    .modal__dialog { padding: 34px 24px; }
    .cta__form { padding: 26px 22px; }
    .quiz__nav .btn { min-width: 0; flex: 1; }
    .section__head { margin-bottom: 40px; }
}

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