/* ПазлАвто — лендинг */
:root {
    --indigo: #3C2A98;
    --indigo-dark: #2B1D75;
    --indigo-ink: #14103D;
    --green: #00A658;
    --green-strong: #007A3F;
    --green-soft: #E8F7EF;
    --ink: #1A1A1A;
    --muted: #5E5A72;
    --surface: #F3F1FA;
    --surface-2: #FBFAFE;
    --line: #E2DDF2;
    --white: #fff;
    --danger: #C62828;
    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 18px 50px rgba(28, 19, 80, .12);
    --shadow-soft: 0 8px 24px rgba(28, 19, 80, .08);
    --container: 1180px;
    --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
    outline: 3px solid rgba(60, 42, 152, .45);
    outline-offset: 2px;
    border-radius: 4px;
}

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

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

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 999;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--indigo);
    color: #fff;
}
.skip-link:focus { top: 10px; }

.icon {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 26px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--indigo);
    color: #fff;
    box-shadow: 0 10px 24px rgba(60, 42, 152, .24);
}
.btn--primary:hover { background: var(--indigo-dark); box-shadow: 0 12px 28px rgba(60, 42, 152, .3); }

.btn--green {
    background: var(--green-strong);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}
.btn--green:hover { background: #006634; }

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }

.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(28, 19, 80, .09); }

.header__meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    min-height: 34px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    color: var(--muted);
}
.header__meta,
.header__hours {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
}
.header__meta .icon,
.header__hours .icon { width: 15px; height: 15px; color: var(--green-strong); }
.header__meta a { color: var(--muted); }
.header__meta a:hover { color: var(--indigo); }

.header__main {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 76px;
}

.logo { flex: none; display: block; }
.logo img { width: 202px; height: auto; }
.logo:hover { text-decoration: none; }

.nav {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-left: auto;
}
.nav > a {
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    white-space: nowrap;
}
.nav > a:hover { color: var(--indigo); text-decoration: none; }
.nav__mobile-extra { display: none; }

.header__contact {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}
.header__phone {
    font-size: 17px;
    font-weight: 800;
    color: var(--indigo);
    white-space: nowrap;
    letter-spacing: -.01em;
}
.header__phone:hover { text-decoration: none; color: var(--indigo-dark); }
.header__side { display: flex; align-items: center; gap: 12px; }
.header__cta { min-height: 44px; padding: 0 20px; font-size: 15px; }

.messengers { display: flex; gap: 8px; }
.messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--green-strong);
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.messenger:hover { background: var(--green-soft); border-color: #BFE9D2; text-decoration: none; transform: translateY(-1px); }
.messenger svg { width: 20px; height: 20px; fill: currentColor; }
.messenger--dark {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .25);
    color: #fff;
}
.messenger--dark:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}
.burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--indigo);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Уведомление ---------- */
.notice {
    padding: 12px 24px;
    background: var(--green-soft);
    border-bottom: 1px solid #BFE9D2;
    color: #0A5A32;
    font-size: 14px;
    text-align: center;
}

.notice a { color: inherit; }
.notice--error {
    background: #FDECEC;
    border-bottom-color: #F4C7C7;
    color: #8E1F1F;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    padding: 64px 0 76px;
    color: #fff;
    background:
        radial-gradient(900px 520px at 88% 14%, rgba(0, 166, 88, .22), transparent 62%),
        linear-gradient(135deg, #33217E 0%, #3C2A98 48%, #291B70 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .16;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpath d='M42 2 80 24v48L42 94 4 72V24z' fill='none' stroke='%23ffffff' stroke-width='1'/%3E%3C/svg%3E");
    background-size: 84px 96px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
}
.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -90px;
    top: -20px;
    width: 560px;
    height: 560px;
    background: url("../img/mark-white.webp") center / contain no-repeat;
    opacity: .07;
    pointer-events: none;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 56px;
    align-items: start;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--green-strong);
}
.eyebrow--light { color: #7DEBB4; }

.hero h1 {
    max-width: 720px;
    font-size: clamp(34px, 4.4vw, 56px);
    line-height: 1.06;
    letter-spacing: -.025em;
    font-weight: 800;
    color: #fff;
}
.hero__accent {
    position: relative;
    color: #fff;
    box-shadow: inset 0 -.16em 0 rgba(0, 166, 88, .85);
}
.hero__lead {
    max-width: 620px;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.65;
    color: rgba(255, 255, 255, .84);
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
.hero__actions .btn { min-width: 196px; }

.hero__stats {
    display: flex;
    gap: 38px;
    margin-top: 36px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero__stats > div { max-width: 190px; }
.hero__stats dt {
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: #fff;
}
.hero__stats dd {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .66);
}
.hero__trust {
    margin-top: 26px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
}

.hero__form { position: relative; }
.hero__form .lead-form { box-shadow: var(--shadow); }

/* ---------- Секции ---------- */
.section { padding: 84px 0; }
.section--surface { background: var(--surface); }

.section__head { max-width: 780px; margin-bottom: 40px; }
.section__head--tight { max-width: 620px; }
.section h2 {
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    color: var(--ink);
}
.section__lead {
    margin-top: 14px;
    font-size: 17px;
    color: var(--muted);
}

.cards {
    display: grid;
    gap: 18px;
    align-items: stretch;
}
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

/* Марки */
.brands {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.brand:hover {
    border-color: rgba(60, 42, 152, .45);
    box-shadow: var(--shadow-soft);
    transform: translateY(-2px);
}
.brand__name { font-size: 19px; font-weight: 750; letter-spacing: -.01em; }
.brand__models { font-size: 13.5px; color: var(--muted); }

/* Сравнение */
.compare {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}
.compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}
.compare__table th,
.compare__table td {
    padding: 16px 18px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.compare__table thead th {
    font-size: 15px;
    font-weight: 750;
    color: var(--ink);
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
}
.compare__table thead th:first-child { width: 26%; }
.compare__table tbody th {
    width: 26%;
    font-weight: 650;
    color: var(--ink);
    background: var(--surface-2);
}
.compare__table tbody td { color: var(--muted); }
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__own {
    background: #EEEAFB !important;
    color: var(--ink) !important;
    font-weight: 600;
}
.compare__table thead .compare__own {
    background: var(--indigo) !important;
    color: #fff !important;
}

/* Проблемы */
.problem__num {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--green-strong);
}
.card h3 {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: -.01em;
}
.card p {
    margin-top: 10px;
    font-size: 15px;
    color: var(--muted);
}

/* Преимущества */
.advantage { display: flex; flex-direction: column; align-items: flex-start; }
.advantage__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--green-strong);
}
.advantage__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Цены */
.price { display: flex; flex-direction: column; }
.price h3 { font-size: 18px; }
.price__value {
    margin-top: 12px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--indigo);
}
.price__time {
    margin-top: 4px;
    font-size: 13px;
    color: var(--muted);
}
.price__list {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 7px;
}
.price__list li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    color: var(--muted);
}
.price__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green-strong);
    font-weight: 800;
}
.prices__note {
    max-width: 780px;
    margin-top: 24px;
    font-size: 13.5px;
    color: var(--muted);
}

/* Форма */
.lead-form {
    padding: 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
}
.lead-form__head { margin-bottom: 18px; }
.lead-form .lead-form__title {
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
}
.lead-form__note {
    margin-top: 6px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--muted);
}

.field { margin-bottom: 12px; }
.field__label {
    display: block;
    margin-bottom: 5px;
    font-size: 12.5px;
    font-weight: 650;
    color: var(--ink);
}
.field__req { color: var(--danger); }
.field__opt { font-weight: 400; color: var(--muted); }
.field__input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    background: #fff;
    border: 1px solid #D9D3EC;
    border-radius: var(--radius-sm);
    transition: border-color .16s ease, box-shadow .16s ease;
}
.field__input::placeholder { color: #9A94AE; }
.field__input:focus {
    outline: none;
    border-color: var(--indigo);
    box-shadow: 0 0 0 3px rgba(60, 42, 152, .14);
}
select.field__input {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.5 5 5 5-5' fill='none' stroke='%233C2A98' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}
.field__textarea {
    height: auto;
    min-height: 72px;
    padding: 11px 14px;
    resize: vertical;
    line-height: 1.5;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 14px 0 16px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
}
.consent input {
    flex: none;
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--indigo);
    cursor: pointer;
}
.consent a { color: var(--indigo); text-decoration: underline; }

.lead-form__foot {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--muted);
    text-align: center;
}
.form-status { font-size: 13px; color: var(--danger); text-align: center; }
.form-status:not(:empty) { margin-top: 10px; }
.lead-form__success { text-align: center; padding: 14px 6px; }
.lead-form__success strong {
    display: block;
    font-size: 20px;
    color: var(--indigo);
    margin-bottom: 6px;
}
.lead-form__success p { margin: 0; font-size: 14px; color: var(--muted); }
.lead-form.is-sent { padding: 40px 26px; }
.lead-form.is-sent > *:not(.lead-form__success) { display: none; }
.lead-form.is-sent .lead-form__success { display: block; }

/* Форма 2 */
.form-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
}
.form-split__text h2 { margin-bottom: 14px; }
.form-split__text > p { font-size: 16.5px; color: var(--muted); max-width: 520px; }
.form-split__form .lead-form { box-shadow: var(--shadow); }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li {
    position: relative;
    padding-left: 30px;
    font-size: 15px;
    font-weight: 550;
}
.checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='m1 4.5 3.2 3.2L11 1.6' fill='none' stroke='%23007A3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 9px no-repeat;
}

/* Шаги */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    counter-reset: step;
}
.step {
    position: relative;
    padding: 26px 24px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--indigo);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.step h3 { font-size: 18px; }
.step p { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-wrap { max-width: 940px; }
.faq { display: grid; gap: 12px; }
.faq__item {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
}
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 19px 22px;
    font-size: 17px;
    font-weight: 650;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--indigo); }
.faq__mark {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1px solid var(--line);
}
.faq__mark::before,
.faq__mark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 2px;
    background: var(--indigo);
    transform: translate(-50%, -50%);
    transition: transform .2s ease;
}
.faq__mark::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__mark::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__item[open] summary { color: var(--indigo); }
.faq__a {
    padding: 0 22px 20px;
    max-width: 760px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--muted);
}

/* Запись */
.booking {
    position: relative;
    isolation: isolate;
    padding: 84px 0;
    color: #fff;
    background:
        radial-gradient(760px 460px at 12% 10%, rgba(0, 166, 88, .19), transparent 62%),
        linear-gradient(135deg, #33217E 0%, #3C2A98 55%, #241761 100%);
    overflow: hidden;
}
.booking::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -110px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    background: url("../img/mark-white.webp") center / contain no-repeat;
    opacity: .06;
}
.booking__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    gap: 56px;
    align-items: center;
}
.booking__text h2 {
    font-size: clamp(27px, 3.2vw, 38px);
    line-height: 1.15;
    letter-spacing: -.02em;
    font-weight: 800;
    color: #fff;
}
.booking__text > p {
    max-width: 540px;
    margin-top: 14px;
    font-size: 16.5px;
    color: rgba(255, 255, 255, .8);
}
.contacts {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}
.contacts li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 16px;
    color: #fff;
}
.contacts .icon { color: #7DEBB4; margin-top: 2px; }
.contacts a { color: #fff; }
.contacts a[href^="tel:"] { white-space: nowrap; }
.contacts a:hover { color: #7DEBB4; }
.contacts__muted { color: rgba(255, 255, 255, .6); font-size: 14px; }
.booking__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
}
.booking__form .lead-form { box-shadow: var(--shadow); }

/* Подвал */
.footer {
    padding: 54px 0 26px;
    background: var(--indigo-ink);
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
}
.footer__top {
    display: grid;
    grid-template-columns: 1.5fr .7fr 1fr;
    gap: 44px;
}
.footer__brand img { width: 224px; height: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 380px; font-size: 13.5px; line-height: 1.6; }
.footer__title {
    display: block;
    margin-bottom: 12px;
    font-size: 11.5px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: #fff;
}
.footer__nav a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .72);
}
.footer__nav a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 7px; }
.footer__contacts a { color: rgba(255, 255, 255, .72); }
.footer__contacts a:hover { color: #fff; }
.footer__phone {
    white-space: nowrap;
    font-size: 19px;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -.01em;
}
.footer__contacts .messengers { margin-top: 8px; }
.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px;
    color: rgba(255, 255, 255, .5);
}
.footer__bottom a { color: rgba(255, 255, 255, .7); }

/* Мобильная панель */
.mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px rgba(28, 19, 80, .08);
}
.mobile-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
}
.mobile-bar a:hover { text-decoration: none; }
.mobile-bar__call {
    border: 1px solid var(--indigo);
    color: var(--indigo);
    background: #fff;
}
.mobile-bar__book {
    background: var(--green-strong);
    color: #fff;
}
.mobile-bar .icon { width: 17px; height: 17px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: minmax(0, 1fr) 390px; gap: 40px; }
    .hero__stats { gap: 26px; }
    .form-split { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
    .booking__inner { grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; }
    .header__contact { gap: 12px; }
    .nav { gap: 18px; }
}

@media (max-width: 980px) {
    html { scroll-padding-top: 78px; }

    .header__meta-row { display: none; }
    .header__main { min-height: 68px; gap: 16px; }
    .logo img { width: 172px; }
    .header__side { display: none; }
    .header__phone { font-size: 15px; }
    .header__contact { margin-left: auto; }
    .burger { display: flex; }

    .nav {
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        z-index: 49;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 12px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(28, 19, 80, .14);
        max-height: calc(100dvh - 68px);
        overflow-y: auto;
    }
    .nav.is-open { display: flex; }
    .nav > a {
        padding: 13px 0;
        font-size: 16px;
        border-bottom: 1px solid var(--line);
    }
    .nav__mobile-extra {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-top: 18px;
    }
    .nav__mobile-extra > span { font-size: 13px; color: var(--muted); }
    .nav__phone { font-size: 19px; font-weight: 800; color: var(--indigo); white-space: nowrap; }
    .nav__mobile-extra .btn { margin-top: 6px; }

    .hero { padding: 46px 0 54px; }
    .hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hero__content { max-width: 700px; }
    .hero__form { max-width: 480px; width: 100%; }
    .hero::after { width: 420px; height: 420px; right: -140px; opacity: .06; }

    .section { padding: 64px 0; }
    .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .brands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .form-split { grid-template-columns: 1fr; gap: 28px; }
    .form-split__form { max-width: 520px; width: 100%; }

    .booking { padding: 64px 0; }
    .booking__inner { grid-template-columns: 1fr; gap: 32px; }
    .booking__form { max-width: 520px; width: 100%; }

    .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer__brand { grid-column: 1 / -1; }

    .mobile-bar { display: grid; }
    body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .logo img { width: 148px; }
    .header__phone { font-size: 14px; }
    .header__main { min-height: 62px; }
    .nav { top: 62px; max-height: calc(100dvh - 62px); }

    .hero { padding: 36px 0 44px; }
    .hero h1 { font-size: clamp(30px, 8.4vw, 38px); }
    .hero__lead { margin-top: 14px; font-size: 15.5px; }
    .hero__actions { margin-top: 22px; }
    .hero__actions .btn { flex: 1 1 auto; min-width: 0; }
    .hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
        padding-top: 20px;
    }
    .hero__stats dt { font-size: 22px; }
    .hero__stats dd { font-size: 11.5px; }
    .hero__trust { margin-top: 18px; font-size: 12px; }

    .lead-form { padding: 20px; border-radius: 16px; }
    .lead-form .lead-form__title { font-size: 20px; }
    .hero__form .lead-form { box-shadow: var(--shadow-soft); }

    .section { padding: 52px 0; }
    .section__head { margin-bottom: 28px; }
    .section h2 { font-size: clamp(24px, 7vw, 30px); }
    .section__lead { margin-top: 10px; font-size: 15px; }

    .cards--2,
    .cards--3,
    .brands,
    .steps { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .brand { padding: 16px 18px; }

    .compare { border: 0; background: transparent; overflow: visible; border-radius: 0; }
    .compare__table,
    .compare__table tbody,
    .compare__table tr,
    .compare__table th,
    .compare__table td {
        display: block;
        width: auto;
    }
    .compare__table { min-width: 0; font-size: 14px; }
    .compare__table thead { display: none; }
    .compare__table tbody tr {
        margin-bottom: 12px;
        padding: 16px 18px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 14px;
    }
    .compare__table tbody tr:last-child { margin-bottom: 0; }
    .compare__table tbody th {
        width: auto;
        padding: 0 0 8px;
        background: transparent;
        font-size: 16px;
        font-weight: 750;
    }
    .compare__table tbody td {
        padding: 5px 0;
        border: 0;
        color: var(--muted);
    }
    .compare__table tbody td::before {
        content: attr(data-label) ": ";
        font-weight: 650;
        color: var(--ink);
    }
    .compare__table tbody td.compare__own {
        margin-top: 6px;
        padding-top: 10px;
        background: transparent !important;
        border-top: 1px solid var(--line);
        color: var(--ink) !important;
    }
    .compare__table tbody td.compare__own::before { color: var(--indigo); }

    .faq__item summary { padding: 16px 18px; font-size: 15.5px; }
    .faq__a { padding: 0 18px 18px; font-size: 14px; }

    .booking { padding: 52px 0; }
    .booking__text > p { font-size: 15px; }
    .contacts li { font-size: 15px; }
    .contacts .icon { width: 17px; height: 17px; }
    .booking__actions { gap: 10px; }
    .booking__actions .btn { flex: 1 1 100%; }

    .footer { padding: 40px 0 20px; }
    .footer__top { grid-template-columns: 1fr; gap: 26px; }
    .footer__brand img { width: 190px; }
    .footer__bottom { flex-direction: column; gap: 8px; margin-top: 28px; }
}

@media (max-width: 380px) {
    .header__phone { display: none; }
    .logo img { width: 138px; }
    .hero__stats dt { font-size: 20px; }
    .hero__stats dd { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *,
    *::before,
    *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}
