/* ============================================================
   Синьор Пачоли — стили (современная палитра)
   Graphite #17191D · White · Brand Red #E5231A
   ============================================================ */

:root {
    --ink:       #17191D;   /* графит — основной тёмный */
    --ink-2:     #101216;   /* почти чёрный */
    --graphite:  #2A2E33;
    --text:      #1A1D21;
    --muted:     #626C76;
    --red:       #E5231A;   /* фирменный красный (акцент) */
    --red-2:     #C2160E;   /* hover */
    --red-soft:  #FDECEB;
    --bg:        #FFFFFF;
    --tint:      #F4F6F8;   /* светлая секция */
    --line:      #E6E9ED;
    --shadow:    0 16px 44px rgba(23, 25, 29, .10);
    --shadow-sm: 0 4px 18px rgba(23, 25, 29, .06);
    --radius:    14px;
    --radius-sm: 10px;
    --container: 1360px;
    --display: 'Space Grotesk', 'Manrope', system-ui, sans-serif;
    --sans:    'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: var(--sans); color: var(--text); background: var(--bg);
    font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 10px; border: 1.5px solid transparent;
    font-family: var(--sans); font-weight: 700; font-size: 16px; cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(229,35,26,.24); }
.btn--primary:hover { background: var(--red-2); }
.btn--ghost  { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.30); }
.btn--ghost:hover { background: rgba(255,255,255,.14); }
.btn--outline{ background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--red); color: var(--red); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 17px; }
.btn--sm { padding: 9px 18px; font-size: 14px; }

/* ---------- Логотип ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__logo { height: 46px; width: auto; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.brand__sub  { font-size: 12px; color: var(--muted); letter-spacing: .01em; }
.brand--footer .brand__logo { filter: brightness(0) invert(1); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__sub  { color: #9aa3ad; }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.86); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-weight: 600; font-size: 15.5px; color: var(--text); transition: color .15s; }
.nav a:hover { color: var(--red); }
.header__cta { display: flex; align-items: center; gap: 18px; }
.phone { font-weight: 700; color: var(--ink); white-space: nowrap; }
.phone:hover { color: var(--red); }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(60% 90% at 85% -10%, rgba(229,35,26,.20), transparent 60%),
        radial-gradient(50% 60% at 0% 110%, rgba(229,35,26,.10), transparent 60%);
    pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; padding: 88px 24px 96px; }
.hero__badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); color: #e7ebf0;
    font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero__badge svg { width: 18px; height: 18px; color: var(--red); }
.hero__title { font-size: clamp(32px, 5vw, 58px); color: #fff; overflow-wrap: break-word; }
.hero__subtitle { margin-top: 20px; font-size: 19px; color: #aeb6bf; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__price { margin-top: 24px; color: #8b939d; font-size: 16px; }
.hero__price b { color: #fff; font-size: 19px; }
.hero__reassure { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; }
.hero__reassure li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 15.5px; color: #cfd5dc; }
.hero__reassure svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.hero__idea { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-left: 3px solid var(--red); border-radius: var(--radius); padding: 36px 32px; }
.hero__idea-mark { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(229,35,26,.14); color: var(--red); margin-bottom: 22px; }
.hero__idea-mark svg { width: 26px; height: 26px; }
.hero__idea-text { font-family: var(--display); font-weight: 600; font-size: 23px; line-height: 1.32; color: #fff; }

/* ---------- Секции ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head--light .section__title { color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); border-radius: 2px; }
.section__title { font-size: clamp(28px, 3.6vw, 42px); }
.section__lead { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section--dark .section__lead { color: #aeb6bf; }

/* ---------- Карточки/сетки ---------- */
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
/* Гибкие карточные сетки: неполный последний ряд встаёт по центру (при любом числе блоков) */
.grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); --cols: 3; --gap: 22px; }
.grid > *, .cases > *, .trust > * { flex: 0 1 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); min-width: 0; }

.service { padding: 28px 24px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d7dbe0; }
.service__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
    background: var(--tint); color: var(--ink); margin-bottom: 18px; transition: background .2s, color .2s; }
.service:hover .service__icon { background: var(--red-soft); color: var(--red); }
.service__icon svg { width: 26px; height: 26px; }
.service__title { font-size: 19px; margin-bottom: 8px; }
.service__text { color: var(--muted); font-size: 15.5px; }

/* ---------- Калькулятор ---------- */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; overflow: hidden; }
.calc__controls { padding: 38px; display: grid; gap: 26px; }
.field { display: grid; gap: 10px; }
.field > label { font-weight: 600; color: var(--ink); font-size: 15px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg__btn { padding: 11px 20px; border-radius: 8px; border: 1.5px solid var(--line); background: #fff;
    font-family: var(--sans); font-weight: 600; font-size: 15px; color: var(--text); cursor: pointer; transition: .18s; }
.seg__btn:hover { border-color: var(--red); }
.seg__btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
input[type="range"] { width: 100%; accent-color: var(--red); }
.calc__result { padding: 38px; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.calc__price { display: flex; align-items: baseline; gap: 8px; font-family: var(--display); }
.calc__from { font-size: 18px; color: #8b939d; }
.calc__price [data-price] { font-size: 54px; font-weight: 700; color: #fff; }
.calc__unit { font-size: 18px; color: #aeb6bf; }
.calc__note { margin: 14px 0 22px; font-size: 14px; color: #8b939d; }

/* ---------- Тарифы ---------- */
.tariff { padding: 34px 28px; display: flex; flex-direction: column; position: relative; }
.tariff--hot { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-6px); }
.tariff__flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
    background: var(--red); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 16px; border-radius: 999px; }
.tariff__name { font-size: 22px; margin-bottom: 12px; }
.tariff__price { font-family: var(--display); font-size: 40px; font-weight: 700; color: var(--ink); margin-bottom: 22px; }
.tariff__price span { font-size: 16px; font-weight: 500; color: var(--muted); font-family: var(--sans); }
.tariff__list { display: grid; gap: 12px; margin-bottom: 26px; }
.tariff__list li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15.5px; }
.tariff__list svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.tariff a { margin-top: auto; }

/* ---------- Преимущества + цифры ---------- */
.grid--adv { margin-bottom: 56px; }
.adv { padding: 24px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-sm); }
.adv__title { color: #fff; font-size: 20px; margin-bottom: 10px; }
.adv__text { color: #aeb6bf; font-size: 15.5px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 44px; border-top: 1px solid rgba(255,255,255,.12); }
.stat { text-align: center; }
.stat__value { display: block; font-family: var(--display); font-size: 46px; font-weight: 700; color: #fff; }
.stat__value::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin: 10px auto 12px; }
.stat__label { color: #aeb6bf; font-size: 15px; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { position: relative; padding: 28px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.step__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: var(--red); color: #fff; font-family: var(--display); font-weight: 700; font-size: 21px; margin-bottom: 16px; }
.step__title { font-size: 19px; margin-bottom: 8px; }
.step__text { color: var(--muted); font-size: 15.5px; }

/* ---------- Отзывы ---------- */
.review { padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; }
.review__text { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink); font-weight: 500; }
.review__author { display: flex; flex-direction: column; }
.review__name { font-weight: 700; color: var(--text); }
.review__role { font-size: 14px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 22px; }
.faq__q { cursor: pointer; font-weight: 600; font-size: 17px; color: var(--ink); padding: 18px 0; list-style: none; position: relative; padding-right: 30px; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: "+"; position: absolute; right: 0; top: 15px; font-size: 24px; color: var(--red); transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; color: var(--muted); }

/* ---------- Форма заявки ---------- */
.lead { background: var(--tint); }
.lead__card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 44px; align-items: center; }
.lead__title { font-size: clamp(24px, 3vw, 32px); }
.lead__sub { margin-top: 12px; color: var(--muted); font-size: 17px; }
.lead__form { display: grid; gap: 14px; }
.lead__form input, .lead__form textarea {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--sans); font-size: 16px; background: #fff; color: var(--text); transition: border-color .15s;
}
.lead__form input:focus, .lead__form textarea:focus { outline: none; border-color: var(--red); }
.field__err { color: var(--red); font-size: 13px; }
.field.has-error input { border-color: var(--red); }
.lead__policy { font-size: 12.5px; color: var(--muted); text-align: center; }
.lead__success { background: #eaf7ee; color: #1e7a45; border: 1px solid #bfe6cc; border-radius: var(--radius-sm); padding: 14px; text-align: center; font-weight: 600; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink-2); color: #b7bec6; padding: 64px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 16px; margin-bottom: 16px; }
.footer__note { margin-top: 16px; font-size: 15px; color: #8b939d; max-width: 320px; }
.contacts { display: grid; gap: 12px; }
.contacts li { display: flex; align-items: center; gap: 10px; }
.contacts svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.contacts a:hover { color: #fff; }
.footer__msg { display: flex; gap: 10px; }
.footer__msg .btn { color: #fff; border-color: rgba(255,255,255,.26); }
.footer__msg .btn:hover { border-color: var(--red); color: var(--red); }
.footer__hours { margin-top: 16px; font-size: 14px; color: #8b939d; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: #717a84; flex-wrap: wrap; }

/* ---------- Проблемы ---------- */
.problem { display: flex; align-items: flex-start; gap: 16px; padding: 26px 24px; background: var(--bg);
    border: 1px solid var(--line); border-radius: var(--radius); }
.problem__icon { flex: none; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
    background: var(--red-soft); color: var(--red); }
.problem__icon svg { width: 24px; height: 24px; }
.problem__text { font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.4; }

/* ---------- Отличия (на тёмном) ---------- */
.diffs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 920px; margin: 0 auto; }
.diff { display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; font-size: 16.5px; font-weight: 500; color: #e7ebf0;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.10); border-radius: var(--radius-sm); }
.diff__check { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
    background: rgba(229,35,26,.16); color: var(--red); }
.diff__check svg { width: 18px; height: 18px; }

/* ---------- Кейсы ---------- */
.cases { display: grid; grid-template-columns: repeat(var(--cols), 1fr); column-gap: var(--gap); row-gap: 0; --cols: 3; --gap: 22px; }
.case { padding: 28px 26px; display: grid; grid-template-rows: subgrid; grid-row: span 9; margin-bottom: var(--gap); }
.case__tag { grid-row: 1; justify-self: start; display: inline-block; font-weight: 700; font-size: 13px; color: var(--red);
    background: var(--red-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 20px; }
.case__body { margin: 0; display: grid; grid-template-rows: subgrid; grid-row: 2 / span 8; row-gap: 4px; }
.case__body dt { font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 14px; }
.case__body dt:first-child { margin-top: 0; }
.case__body dd { margin: 0; font-size: 15px; color: var(--text); line-height: 1.5; }
.case__res { color: var(--red) !important; }
.case__res-text { font-weight: 600; color: var(--ink); }

/* ---------- Бесплатная проверка (главный оффер) ---------- */
.freecheck__card { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
    background: var(--ink); border-radius: 20px; padding: 52px; color: #fff; box-shadow: var(--shadow); }
.freecheck__card .eyebrow { color: var(--red); }
.freecheck__title { font-size: clamp(26px, 3.2vw, 38px); color: #fff; }
.freecheck__desc { margin-top: 16px; font-size: 18px; color: #aeb6bf; }
.freecheck__points { margin-top: 18px; display: grid; gap: 12px; }
.freecheck__points li { display: flex; align-items: center; gap: 12px; font-size: 16.5px; font-weight: 500; color: #e7ebf0; }
.freecheck__points svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.freecheck__form { background: #fff; border-radius: var(--radius); padding: 32px; display: grid; gap: 14px; }
.freecheck__form input {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
    font-family: var(--sans); font-size: 16px; background: #fff; color: var(--text); transition: border-color .15s;
}
.freecheck__form input:focus { outline: none; border-color: var(--red); }

/* ---------- Финальный блок ---------- */
.final { background: var(--ink); color: #fff; padding: 76px 0; position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 120% at 50% -20%, rgba(229,35,26,.16), transparent 60%); pointer-events: none; }
.final__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
.final__text { max-width: 720px; }
.final__title { font-size: clamp(24px, 3vw, 36px); color: #fff; }
.final__sub { margin-top: 14px; font-size: 17px; color: #aeb6bf; }

/* ---------- Почему меняют (closing) ---------- */
.change__closing { max-width: 760px; margin: 40px auto 0; text-align: center; font-family: var(--display);
    font-weight: 600; font-size: clamp(19px, 2.4vw, 24px); color: var(--ink); line-height: 1.4; }

/* ---------- Наш подход ---------- */
.approach { text-align: center; }
.approach .eyebrow { justify-content: center; }
.approach__title { margin-bottom: 24px; color: #fff; }
.approach__text { font-size: 18.5px; color: #c7cdd4; line-height: 1.6; margin-bottom: 16px; }
.approach__thread { margin: 36px auto 0; max-width: 760px; padding: 28px 32px;
    border-left: 3px solid var(--red); background: rgba(255,255,255,.04); border-radius: var(--radius);
    font-family: var(--display); font-weight: 600; font-size: clamp(20px, 2.6vw, 26px); line-height: 1.35; color: #fff; text-align: left; }

/* ---------- Когда обращаться ---------- */
.grid--when { --gap: 18px; }
.when { display: flex; align-items: center; gap: 16px; padding: 22px 24px; }
.when__icon { flex: none; width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
    background: var(--tint); color: var(--ink); }
.when__icon svg { width: 24px; height: 24px; }
.when__text { font-weight: 600; font-size: 16px; color: var(--ink); }

/* ---------- Почему нам доверяют ---------- */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); --cols: 4; --gap: 22px; }
.trust__item { text-align: center; padding: 30px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.trust__value { display: block; font-family: var(--display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 700; color: var(--ink); }
.trust__value::after { content: ""; display: block; width: 28px; height: 3px; background: var(--red); border-radius: 2px; margin: 12px auto; }
.trust__label { color: var(--muted); font-size: 15px; }

/* ---------- Быстрый контакт (плавающие кнопки) ---------- */
.quick { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.quick__btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    box-shadow: 0 8px 24px rgba(23,25,29,.28); transition: transform .15s; }
.quick__btn:hover { transform: scale(1.06); }
.quick__btn svg { width: 28px; height: 28px; }
.quick__btn--wa { background: #25D366; }
.quick__btn--tg { background: #2AABEE; }
.quick__btn--max { background: linear-gradient(135deg, #44ccff 0%, #5533ee 66%, #9933dd 100%); }
.quick__btn--max svg { width: 30px; height: 30px; }

/* ---------- Промо-баннер ---------- */
.promo { background: var(--red); color: #fff; text-align: center; font-weight: 600; font-size: 14.5px; }
.promo .container { padding-top: 10px; padding-bottom: 10px; }
.promo a { text-decoration: underline; }

/* ---------- Команда ---------- */
.grid--team { --cols: 4; }
.member { padding: 22px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 0; }
.member__photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.member__photo--empty { display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 38px; }
.member__name { display: block; font-weight: 700; font-size: 17px; color: var(--ink); }
.member__role { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }

/* ---------- Наш коллектив (общее фото) ---------- */
.collective { margin: 0; }
.collective__photo { display: block; width: 100%; border-radius: 22px; object-fit: cover; box-shadow: var(--shadow); }
.collective__photo--empty { aspect-ratio: 21 / 9; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
    background: var(--surface, #fff); border: 2px dashed #c9ced6; color: var(--muted); box-shadow: none; }
.collective__photo--empty span { font-size: 16px; font-weight: 600; }

/* ---------- Карта (Как нас найти) ---------- */
.map-embed { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map-embed iframe { display: block; width: 100%; border: 0; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
    .grid, .cases, .trust { --cols: 2; }
    .hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 60px 24px 70px; }
    .freecheck__card { grid-template-columns: 1fr; gap: 32px; padding: 38px; }
    .nav { display: none; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 60px 0; }
    .header__cta .phone, .header__cta .btn { display: none; }
    .burger { display: flex; margin-left: auto; }
    .grid, .cases, .trust { --cols: 1; }
    .freecheck__card { padding: 28px 22px; }
    .freecheck__form { padding: 24px; }
    .brand__logo { height: 40px; }
    .nav { position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0;
        background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px; display: none; }
    .nav.is-open { display: flex; }
    .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
}
