/* Комфорт Спец Транс — палитра и шрифты повторяют оригинал:
   красный #b9121b, градиент в #f2295b, заголовки Chivo, текст Roboto. */

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0; font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
    color: #282828; background: #fff; font-size: 16px; line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, .brand-name { font-family: Chivo, Roboto, Arial, sans-serif; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── шапка ─────────────────────────────────────────────────────────────── */
.top { background: #fff; padding: 14px 0; border-bottom: 1px solid #e0e0e0; }
.top-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { text-decoration: none; display: block; }
.brand-logo { width: 170px; height: auto; }
.brand-tag { display: block; font-size: 13px; color: #6b7280; margin-top: 3px; max-width: 340px; }
.top-phones { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.top-phone { font-size: 19px; font-weight: 700; color: #282828; text-decoration: none; white-space: nowrap; }
.top-phone:hover { color: #b9121b; }
.burger { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: #b9121b; }

/* ── меню ──────────────────────────────────────────────────────────────── */
.nav { background: #b9121b; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu a {
    display: block; padding: 13px 22px; color: #fff; text-decoration: none;
    font-weight: 700; font-size: 15px;
}
.menu a:hover, .menu a.is-current { background: rgba(0, 0, 0, .18); }

/* ── первый экран ──────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(180deg, #b9121b 0%, #f2295b 100%);
    color: #fff; padding: 76px 0; text-align: center;
}
.hero h1 { margin: 0; font-size: 46px; font-weight: 900; line-height: 1.15; }
.hero-sub { margin: 12px 0 0; font-size: 22px; opacity: .95; }
.hero-btns { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── кнопки ────────────────────────────────────────────────────────────── */
.btn {
    display: inline-block; padding: 14px 26px; border-radius: 6px; text-decoration: none;
    font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer;
}
.btn-red { background: #b9121b; color: #fff; }
.btn-red:hover { background: #960f16; }
.btn-white { background: #fff; color: #b9121b; }
.btn-white:hover { background: #f2f2f2; }
.btn-ghost { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .15); }
.btn-sm { padding: 9px 16px; font-size: 14px; background: #b9121b; color: #fff; }
.btn-sm:hover { background: #960f16; }

/* ── блоки ─────────────────────────────────────────────────────────────── */
.block { padding: 58px 0; }
.block-alt { background: #f9fafb; }
h2 { font-size: 32px; font-weight: 900; margin: 0 0 26px; color: #282828; }
.h2-center { text-align: center; }
.article p { margin: 0 0 14px; }
.article h2 { margin-top: 30px; font-size: 26px; }
.check { list-style: none; margin: 0 0 18px; padding: 0; }
.check li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.check li::before { content: "✔"; position: absolute; left: 0; color: #b9121b; font-weight: 700; }

/* ── карточки ──────────────────────────────────────────────────────────── */
.cards { display: grid; gap: 20px; }
.cards-5 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
    background: #fff; border: 1px solid #e0e0e0; border-radius: 10px; padding: 24px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.card h3 { margin: 0 0 8px; font-size: 18px; color: #b9121b; line-height: 1.3; }
.card p { margin: 0; font-size: 15px; color: #4b5563; }
.card-mark {
    width: 40px; height: 40px; border-radius: 50%; background: #b9121b; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px;
}
.card-price { text-align: center; }
.card-price .price { font-size: 24px; font-weight: 900; color: #b9121b; margin-top: 10px; font-family: Chivo, Roboto, sans-serif; }
.card-car { text-align: center; }
.card-car .btn { margin-top: 14px; }
.note-discount {
    margin: 28px 0 0; text-align: center; font-size: 19px; font-weight: 700; color: #00a152;
}

/* ── заявка ────────────────────────────────────────────────────────────── */
.block-form { background: linear-gradient(180deg, #b9121b 0%, #f2295b 100%); color: #fff; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.block-form h2 { color: #fff; }
.form-phones { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.form-phones a { color: #fff; font-size: 22px; font-weight: 900; text-decoration: none; }
.lead { background: #fff; border-radius: 12px; padding: 26px; color: #282828; }
.lead label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.lead input, .lead textarea {
    width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #c2cbd2;
    border-radius: 6px; font: inherit; font-weight: 400;
}
.lead input:focus, .lead textarea:focus { outline: 2px solid #b9121b; border-color: #b9121b; }
.lead .btn { width: 100%; }
.form-note { margin: 12px 0 0; font-size: 12px; color: #6b7280; font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* ── контакты ──────────────────────────────────────────────────────────── */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.c-label { margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: #6b7280; }
.c-phone { display: block; font-size: 21px; font-weight: 900; color: #b9121b; text-decoration: none; margin-bottom: 6px; }
.c-link { color: #b9121b; }
.c-text { margin: 0; }

/* ── подвал ────────────────────────────────────────────────────────────── */
.foot { background: #282828; color: #fff; padding: 42px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.foot-logo { width: 210px; height: auto; margin-bottom: 10px; }
.foot-note { opacity: .75; font-size: 14px; margin: 6px 0 0; }
.foot-title { font-weight: 700; margin: 0 0 12px; }
.foot-link { display: block; color: #fff; opacity: .8; text-decoration: none; margin-bottom: 8px; }
.foot-link:hover { opacity: 1; text-decoration: underline; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 30px; padding: 16px 20px 20px; }
.foot-bottom p { margin: 0; font-size: 14px; opacity: .75; }

/* ── кнопка звонка ─────────────────────────────────────────────────────── */
.fab {
    position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
    background: #b9121b; color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 24px; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); z-index: 50;
}

@media (max-width: 900px) {
    .top-grid { flex-wrap: wrap; }
    .brand-tag { display: none; }
    .brand-logo { width: 132px; }
    .top-phones { width: 100%; justify-content: flex-start; }
    .top-phone { font-size: 17px; }
    .burger { display: block; }
    .menu { display: none; flex-direction: column; }
    .menu.open { display: flex; }
    .hero { padding: 48px 0; }
    .hero h1 { font-size: 30px; }
    .hero-sub { font-size: 18px; }
    h2 { font-size: 25px; }
    .form-grid, .foot-grid { grid-template-columns: 1fr; }
}

/* ── первый экран с фотографией ────────────────────────────────────────── */
.hero { position: relative; background-size: cover; background-position: center; padding: 0; }
.hero-veil {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(185, 18, 27, .86) 0%, rgba(242, 41, 91, .82) 100%);
}
.hero-in { position: relative; padding: 92px 20px; text-align: center; }

/* ── полоса под первым экраном ─────────────────────────────────────────── */
.strip { background: #b9121b; color: #fff; padding: 16px 0; }
.strip-in { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; font-weight: 700; }
.strip-in a { color: #fff; text-decoration: none; font-size: 20px; font-family: Chivo, Roboto, sans-serif; }

/* ── галерея ───────────────────────────────────────────────────────────── */
.lead-text { text-align: center; max-width: 760px; margin: -10px auto 28px; color: #4b5563; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.gallery img {
    width: 100%; height: 210px; object-fit: cover; border-radius: 10px;
    border: 1px solid #e0e0e0; transition: transform .2s;
}
.gallery a:hover img { transform: scale(1.02); }

/* ── города ────────────────────────────────────────────────────────────── */
.cities { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.city {
    display: inline-block; padding: 9px 18px; border: 1px solid #b9121b; border-radius: 999px;
    color: #b9121b; font-weight: 700; background: #fff;
}

/* ── обратный звонок на фоне ───────────────────────────────────────────── */
.callback { position: relative; background-size: cover; background-position: center; padding: 0; }
.callback-veil { position: absolute; inset: 0; background: rgba(185, 18, 27, .92); }
.callback-in {
    position: relative; padding: 58px 20px; display: grid;
    grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; color: #fff;
}
.callback h2 { color: #fff; }

/* ── карта ─────────────────────────────────────────────────────────────── */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.map iframe { width: 100%; height: 340px; border: 0; border-radius: 10px; }

@media (max-width: 900px) {
    .hero-in { padding: 56px 20px; }
    .callback-in, .contacts-grid { grid-template-columns: 1fr; }
    .gallery img { height: 180px; }
}


/* ═════════ раскладка по оригиналу ═════════ */
.ic { display: block; }

/* шапка */
.top-grid { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; }
.brand-logo { width: 170px; height: auto; }
.badge {
    display: flex; align-items: center; gap: 6px; color: #b9121b; font-weight: 600;
    font-size: 10.5px; line-height: 1.1; font-family: Chivo, sans-serif; text-transform: uppercase;
    border-left: 2px solid #f2295b; padding-left: 8px; flex: none;
}
.city-btn {
    display: flex; align-items: center; gap: 5px; background: none; border: 0; cursor: pointer;
    color: #b9121b; font: inherit; font-size: 14px; font-weight: 700; padding: 0; flex: none;
}
.city-btn:hover { text-decoration: underline; }
.topnav { display: flex; gap: 18px; margin-left: 8px; }
.topnav a {
    color: #b9121b; text-decoration: none; font-weight: 700; font-size: 13.5px;
    text-transform: uppercase; letter-spacing: .3px; white-space: nowrap;
}
.topnav a:hover, .topnav a.is-current { text-decoration: underline; }
.top-contact { display: flex; flex-direction: column; align-items: flex-end; flex: none; }
.top-phone { font-size: 14.5px; font-weight: 700; color: #282828; text-decoration: none; white-space: nowrap; }
.msgs { display: flex; gap: 7px; flex: none; }
.msg { width: 32px; height: 32px; border-radius: 50%; color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.msg-wa { background: #25d366; }
.msg-tg { background: #29a9eb; }

/* hero: фотография — фон всего блока, карточка с формой слева */
.hero { background-size: cover; background-position: center right; position: relative; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, #b9121b 0%, rgba(185,18,27,.96) 42%, rgba(185,18,27,.15) 70%, rgba(185,18,27,0) 100%);
}
.hero-in { position: relative; padding: 46px 20px 52px; }
.hero-card { max-width: 520px; color: #fff; }
.office { margin: 0 0 8px; opacity: .85; font-size: 15px; }
.hero h1 { margin: 0; font-size: 36px; font-weight: 900; line-height: 1.12; }
.hero-sub { margin: 6px 0 0; font-size: 20px; font-weight: 700; }
.hero-lead { margin: 16px 0 14px; font-size: 15px; opacity: .95; }
.hl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero-lead-form input[type=text], .hero-lead-form input[type=tel] {
    width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.6);
    border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; font: inherit;
}
.hero-lead-form input::placeholder { color: rgba(255,255,255,.85); }
.hl-check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; margin: 13px 0 15px; opacity: .95; }
.hl-check input { margin-top: 3px; }

/* якорная полоса */
.anchors { background: #b9121b; }
.anchors .wrap { display: flex; gap: 32px; justify-content: center; padding: 12px 20px; }
.anchors a { color: #fff; text-decoration: none; text-transform: uppercase; font-weight: 700; font-size: 13.5px; }
.anchors a:hover { text-decoration: underline; }

/* сервис */
h2 { text-align: left; color: #b9121b; }
.serv-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.serv-left p { color: #4b5563; }
.serv-left img { margin-top: 20px; border-radius: 10px; }
.serv-right { display: grid; gap: 16px; }
.rcard { background: #b9121b; color: #fff; border-radius: 12px; padding: 20px 64px 20px 24px; position: relative; }
.rcard h3 { margin: 0 0 6px; color: #fff; font-size: 19px; }
.rcard p { margin: 0; font-size: 14.5px; opacity: .95; }
.rcard-ic { position: absolute; right: 20px; top: 20px; color: rgba(255,255,255,.5); }

/* галерея */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.gallery img { width: 100%; height: 260px; object-fit: cover; border-radius: 10px; }

/* контакты и карта */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.map iframe { width: 100%; height: 320px; border: 0; border-radius: 10px; }

/* подвал в четыре колонки */
.foot { background: #b9121b; color: #fff; padding: 46px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr .9fr; gap: 30px; }
.foot-logo { width: 190px; height: auto; margin-bottom: 12px; }
.foot-note { opacity: .85; font-size: 13.5px; margin: 6px 0 0; }
.foot-msgs { display: flex; gap: 8px; margin-top: 14px; }
.foot-title { font-weight: 900; margin: 0 0 10px; font-family: Chivo, sans-serif; font-size: 18px; }
.foot-title-2 { margin-top: 18px; }
.foot-link { display: block; color: #fff; opacity: .88; text-decoration: none; margin-bottom: 7px; font-size: 14.5px; }
.foot-link:hover { opacity: 1; text-decoration: underline; }
.foot-cities { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.foot-cities span { font-size: 13px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; }
.foot-form input[type=text], .foot-form input[type=tel] {
    width: 100%; padding: 10px 12px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,.5);
    border-radius: 6px; background: rgba(255,255,255,.14); color: #fff; font: inherit;
}
.foot-form input::placeholder { color: rgba(255,255,255,.85); }
.foot-form .btn { width: 100%; }
.foot-bottom {
    border-top: 1px solid rgba(255,255,255,.22); margin-top: 34px; padding: 16px 20px 20px;
    display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.foot-bottom p { margin: 0; font-size: 13.5px; opacity: .85; }

/* наши бейджи вместо студии-подрядчика */

/* окно выбора города */
.city-modal { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.city-modal[hidden] { display: none; }
.city-box { background: #fff; border-radius: 10px; padding: 26px; max-width: 640px; width: 100%; position: relative; }
.city-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 20px; cursor: pointer; color: #9ca3af; }
.city-q { margin: 0 0 16px; font-size: 18px; font-weight: 700; font-family: Chivo, sans-serif; color: #b9121b; }
.city-list { display: flex; flex-wrap: wrap; gap: 9px; }
.city { display: inline-block; padding: 8px 16px; border: 1px solid #b9121b; border-radius: 999px; color: #b9121b; font-weight: 700; }
.city-note { margin: 18px 0 0; font-size: 14px; color: #6b7280; }
.city-note a { color: #b9121b; font-weight: 700; text-decoration: none; }

@media (max-width: 1200px) { .badge, .topnav, .top-contact { display: none; } }
@media (max-width: 900px) {
    .hero::before { background: linear-gradient(180deg, rgba(185,18,27,.95), rgba(185,18,27,.88)); }
    .hero h1 { font-size: 27px; }
    .hero-card { max-width: none; }
    .serv-grid, .contacts-grid { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .gallery img { height: 200px; }
}
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } }

/* Первый экран выравниваем по левому краю: правило text-align:center
   осталось от первой редакции и тянуло весь блок в центр. */
.hero, .hero-in, .hero-card { text-align: left; }
.hero-btns { justify-content: flex-start; }

/* Самодельные бейджи заменены на общие скрипты — стили больше не нужны. */

/* Шапка липнет к верху: телефоны и кнопка заявки всегда под рукой.
   z-index ниже окна выбора города (100), чтобы то перекрывало шапку. */
.top {
    position: sticky; top: 0; z-index: 60;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .10);
}
/* На узких экранах шапка ниже — уменьшаем её, чтобы не съедала экран. */
@media (max-width: 900px) {
    .top { padding: 8px 0; }
    .brand-logo { width: 132px; }
}

/* Кнопка «Заказать звонок» — как в оригинале: вертикальный градиент
   из #B9121B в #F2295B, скругление 15px, на наведении градиент переворачивается. */
.btn-call {
    background-image: linear-gradient(180deg, #B9121B 0%, #F2295B 100%);
    color: #fff; padding: 12px 22px; border-radius: 15px; text-decoration: none;
    font-weight: 700; font-size: 13.5px; white-space: nowrap; margin-left: auto; flex: none;
}
.btn-call:hover { background-image: linear-gradient(180deg, #F2295B 0%, #B9121B 100%); }

/* ═════════ красного стало слишком много — оставляем его только там,
   где он работает: кнопки, первый экран, плашки сервиса, цены, подвал.
   Остальное — обычный тёмный текст. ═════════ */

/* подпись про города — чёрным */
.city-q { color: #282828; font-weight: 700; }

/* заголовки карточек услуг и цен */
.card h3 { color: #282828; }

/* телефоны в контактах */
.c-phone { color: #282828; }
.c-phone:hover { color: #b9121b; }
.c-link { color: #282828; }
.c-link:hover { color: #b9121b; }

/* плашки городов — нейтральные, без красной обводки */
.city { border-color: #d1d5db; color: #282828; font-weight: 500; }
.city:hover { border-color: #b9121b; }

/* галочки в списках — приглушённее */
.check li::before { color: #9aa0a6; }

/* меню в шапке — тёмное, красным только текущий пункт */
.topnav a { color: #282828; }
.topnav a:hover { color: #b9121b; }
.topnav a.is-current { color: #b9121b; }

/* «Город» и бейдж — спокойнее */
.city-btn { color: #282828; }
.city-btn:hover { color: #b9121b; }
.badge { color: #6b7280; border-left-color: #d1d5db; }

/* ── просмотр фотографий ───────────────────────────────────────────────── */
.gitem { display: block; cursor: zoom-in; }
.lbox {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 200;
    display: flex; align-items: center; justify-content: center; padding: 40px 60px;
}
.lbox[hidden] { display: none; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-close, .lb-prev, .lb-next {
    position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0;
    cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 26px; line-height: 1;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .25); }
.lb-close { top: 18px; right: 18px; font-size: 20px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .8); font-size: 14px; }

@media (max-width: 640px) {
    .lbox { padding: 16px; }
    .lb-prev, .lb-next { width: 40px; height: 40px; }
    .lb-prev { left: 6px; } .lb-next { right: 6px; }
}

/* Текст про услуги идёт под карточками цен, в одной секции с ними —
   в оригинале это один блок, а не отдельный экран. */
.prices-text { margin-top: 26px; max-width: 900px; }
.prices-text p { margin: 0 0 12px; }
.prices-text h3 { margin: 20px 0 10px; color: #282828; font-size: 19px; }
.prices-text .check { margin-top: 8px; }
.note-discount { margin-top: 20px; }

/* Цены оформлены так же, как «Сервис»: красные плашки в столбик справа,
   текст слева. Цена крупная и белая — плашка и так красная. */
.rcard-price { padding-right: 24px; }
.rcard-price h3 { font-size: 18px; margin-bottom: 4px; }
.rcard-price .price { color: #fff; font-size: 22px; font-weight: 900; font-family: Chivo, Roboto, sans-serif; margin: 0; }
.serv-left .note-discount { margin-top: 18px; color: #00a152; font-weight: 700; }
.prices-text { display: none; }

/* Бейджи «Дассет» и «Импульс» рисуют себя сами — им нужна обычная колонка,
   без flex: тот сжимал их содержимое в узкую полосу. */

/* Нижняя строка подвала: слева копирайт, справа два бейджа — всё в один ряд.
   Раньше бейджи вставали столбиком: у .made стоял display:block. */
.foot-bottom {
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
}

@media (max-width: 700px) {
    .foot-bottom { flex-direction: column; align-items: flex-start; }
    .made { gap: 12px; }
}

/* Бейджи «Дассет» и «Импульс» задают своим обёрткам width:100% прямо в стиле
   элемента — из-за этого каждый занимал всю строку и они вставали столбиком.
   Перебиваем ширину, чтобы оба встали в один ряд справа от копирайта. */
.made { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.made > *,
.made [data-impuls],
.made [data-impuls] > * { width: auto !important; flex: 0 0 auto; }
.made [data-impuls] { display: inline-flex !important; }
.made a { margin: 0 !important; }

@media (max-width: 700px) {
    .foot-bottom { flex-direction: column; align-items: flex-start; }
    .made { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
}

/* На узких экранах в шапке остаются логотип, кнопка заявки и бургер —
   выбор города оттуда убран, он тесно вставал рядом с кнопкой.
   Список городов на мобильном никуда не делся: он есть в подвале. */
@media (max-width: 900px) {
    .city-btn { display: none; }
}

/* ── окно «Заказать звонок» ───────────────────────────────────────────────
   Кнопка в шапке больше не листает страницу вниз, а открывает форму поверх
   содержимого. Слой выше окна выбора города, чтобы ничем не перекрывалось. */
.call-modal {
    position: fixed; inset: 0; background: rgba(0, 0, 0, .6); z-index: 120;
    display: flex; align-items: center; justify-content: center; padding: 20px;
}
.call-modal[hidden] { display: none; }
.call-box {
    background: #fff; border-radius: 12px; padding: 30px; position: relative;
    width: 100%; max-width: 420px; box-shadow: 0 18px 50px rgba(0, 0, 0, .3);
}
.call-close {
    position: absolute; top: 10px; right: 12px; background: none; border: 0;
    font-size: 20px; line-height: 1; cursor: pointer; color: #9ca3af;
}
.call-close:hover { color: #b9121b; }
.call-title {
    margin: 0 0 6px; font-family: Chivo, sans-serif; font-weight: 900;
    font-size: 24px; color: #b9121b; text-transform: uppercase;
}
.call-sub { margin: 0 0 18px; font-size: 14px; color: #6b7280; }
.call-form { display: flex; flex-direction: column; gap: 10px; }
.call-form input[type="text"], .call-form input[type="tel"], .call-form textarea {
    width: 100%; padding: 12px 14px; border: 1px solid #d8dade; border-radius: 8px;
    font: inherit; font-size: 15px; color: #282828; background: #fff;
}
.call-form textarea { resize: vertical; min-height: 60px; }
.call-form input:focus, .call-form textarea:focus { outline: 0; border-color: #b9121b; }
.call-form .hl-check { font-size: 12px; color: #6b7280; line-height: 1.35; }
.call-submit {
    background-image: linear-gradient(180deg, #B9121B 0%, #F2295B 100%);
    color: #fff; border: 0; border-radius: 15px; padding: 13px 22px; cursor: pointer;
    font: inherit; font-weight: 700; letter-spacing: .4px;
}
.call-submit:disabled { opacity: .6; cursor: default; }
.call-err { margin: 0; font-size: 13px; color: #b9121b; }
.call-err a { color: #b9121b; font-weight: 700; }
.call-done { text-align: center; padding: 14px 0 4px; }
.call-done-t {
    margin: 0 0 8px; font-family: Chivo, sans-serif; font-weight: 900;
    font-size: 20px; color: #b9121b;
}
.call-done p { margin: 0; font-size: 14px; color: #6b7280; }
.call-done a { color: #b9121b; font-weight: 700; white-space: nowrap; }

/* Кнопка шапки стала <button> — гасим браузерные умолчания. */
.btn-call { border: 0; cursor: pointer; font-family: inherit; line-height: 1.2; }

/* Ответ обычным формам, которые отправляются с перезагрузкой. */
.foot-done { margin: 0 0 12px; font-size: 14px; font-weight: 700; color: #6ee7a0; }
.foot-done-err { color: #fca5a5; }

@media (max-width: 480px) {
    .call-box { padding: 24px 18px; }
    .call-title { font-size: 20px; }
}
