@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded/Unbounded-Medium.eot');
    src: url('../fonts/unbounded/Unbounded-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/unbounded/Unbounded-Medium.woff2') format('woff2'),
        url('../fonts/unbounded/Unbounded-Medium.woff') format('woff'),
        url('../fonts/unbounded/Unbounded-Medium.ttf') format('truetype'),
        url('../fonts/unbounded/Unbounded-Medium.svg#Unbounded-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded/Unbounded-Bold.eot');
    src: url('../fonts/unbounded/Unbounded-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/unbounded/Unbounded-Bold.woff2') format('woff2'),
        url('../fonts/unbounded/Unbounded-Bold.woff') format('woff'),
        url('../fonts/unbounded/Unbounded-Bold.ttf') format('truetype'),
        url('../fonts/unbounded/Unbounded-Bold.svg#Unbounded-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Unbounded';
    src: url('../fonts/unbounded/Unbounded-Black.eot');
    src: url('../fonts/unbounded/Unbounded-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/unbounded/Unbounded-Black.woff2') format('woff2'),
        url('../fonts/unbounded/Unbounded-Black.woff') format('woff'),
        url('../fonts/unbounded/Unbounded-Black.ttf') format('truetype'),
        url('../fonts/unbounded/Unbounded-Black.svg#Unbounded-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golos-text/GolosText-Black.eot');
    src: url('../fonts/golos-text/GolosText-Black.eot?#iefix') format('embedded-opentype'),
        url('../fonts/golos-text/GolosText-Black.woff2') format('woff2'),
        url('../fonts/golos-text/GolosText-Black.woff') format('woff'),
        url('../fonts/golos-text/GolosText-Black.ttf') format('truetype'),
        url('../fonts/golos-text/GolosText-Black.svg#GolosText-Black') format('svg');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golos-text/GolosText-Bold.eot');
    src: url('../fonts/golos-text/GolosText-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/golos-text/GolosText-Bold.woff2') format('woff2'),
        url('../fonts/golos-text/GolosText-Bold.woff') format('woff'),
        url('../fonts/golos-text/GolosText-Bold.ttf') format('truetype'),
        url('../fonts/golos-text/GolosText-Bold.svg#GolosText-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golos-text/GolosText-DemiBold.eot');
    src: url('../fonts/golos-text/GolosText-DemiBold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/golos-text/GolosText-DemiBold.woff2') format('woff2'),
        url('../fonts/golos-text/GolosText-DemiBold.woff') format('woff'),
        url('../fonts/golos-text/GolosText-DemiBold.ttf') format('truetype'),
        url('../fonts/golos-text/GolosText-DemiBold.svg#GolosText-DemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golos-text/GolosText-Medium.eot');
    src: url('../fonts/golos-text/GolosText-Medium.eot?#iefix') format('embedded-opentype'),
        url('../fonts/golos-text/GolosText-Medium.woff2') format('woff2'),
        url('../fonts/golos-text/GolosText-Medium.woff') format('woff'),
        url('../fonts/golos-text/GolosText-Medium.ttf') format('truetype'),
        url('../fonts/golos-text/GolosText-Medium.svg#GolosText-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Golos Text';
    src: url('../fonts/golos-text/GolosText-Regular.eot');
    src: url('../fonts/golos-text/GolosText-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/golos-text/GolosText-Regular.woff2') format('woff2'),
        url('../fonts/golos-text/GolosText-Regular.woff') format('woff'),
        url('../fonts/golos-text/GolosText-Regular.ttf') format('truetype'),
        url('../fonts/golos-text/GolosText-Regular.svg#GolosText-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   Базовый слой — замена bootstrap.css.

   Из bootstrap 3.3.7 (149 КБ) главная использовала только его нижний слой:
   normalize, глобальный box-sizing и базовые отступы типографики. Сетки
   (.container, .row, .col-*), компонентов и утилит в разметке страницы нет —
   проверено по всем уникальным классам.

   Блок намеренно стоит в начале файла: h-style.css подключается последним,
   и всё, что описано ниже, должно эти правила перекрывать. По той же причине
   сюда не перенесены цвет ссылок и подчёркивание при наведении — ими
   управляет main.css, а он идёт раньше, и правила отсюда его перебили бы.

   Состав подобран замером: сравнивались вычисленные стили всех элементов
   главной с bootstrap.css и без него.
   ========================================================================== */

/* --- normalize v3.0.3, использованная часть ------------------------------- */

html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
}

article, aside, details, figcaption, figure, footer, header, hgroup,
main, menu, nav, section, summary {
    display: block;
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden], template {
    display: none;
}

a {
    background-color: transparent;
}

a:active,
a:hover {
    outline: 0;
}

abbr[title] {
    border-bottom: 1px dotted;
}

b, strong {
    font-weight: bold;
}

dfn {
    font-style: italic;
}

h1 {
    margin: .67em 0;
    font-size: 2em;
}

mark {
    color: #000;
    background: #ff0;
}

small {
    font-size: 80%;
}

sub, sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sup { top: -.5em; }
sub { bottom: -.25em; }

img {
    border: 0;
}

svg:not(:root) {
    overflow: hidden;
}

figure {
    margin: 1em 40px;
}

hr {
    height: 0;
    box-sizing: content-box;
}

pre {
    overflow: auto;
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Без этого кнопки и поля теряют шрифт и цвет страницы и уезжают
   в Arial 13.33px — на главной это 146 элементов. */
button, input, optgroup, select, textarea {
    margin: 0;
    font: inherit;
    color: inherit;
}

button {
    overflow: visible;
}

button, select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    padding: 0;
    border: 0;
}

input {
    line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

input[type="search"] {
    box-sizing: content-box;
    -webkit-appearance: textfield;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

fieldset {
    padding: .35em .625em .75em;
    margin: 0 2px;
    border: 1px solid #c0c0c0;
}

legend {
    padding: 0;
    border: 0;
}

textarea {
    overflow: auto;
}

optgroup {
    font-weight: bold;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

td, th {
    padding: 0;
}

/* --- глобальная блочная модель -------------------------------------------
   Самое важное здесь: на этом правиле держится вёрстка 1050 элементов
   главной. Другого объявления box-sizing на сайте нет. */

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

/* --- базовая типографика -------------------------------------------------- */

html {
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
    background-color: #fff;
}

input, button, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

a {
    /* Цвет ссылок задан в main.css (a { color:#000 }), а подчёркивание при
       наведении там же снято. Из bootstrap берём только базовое состояние —
       его правила по ссылкам лежали бы уже после main.css и перебили бы его. */
    text-decoration: none;
}

a:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

figure {
    margin: 0;
}

img {
    vertical-align: middle;
}

h1, h2, h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h4, h5, h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

p {
    margin: 0 0 10px;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 10px;
}

ul ul, ol ul, ul ol, ol ol {
    margin-bottom: 0;
}

/* --- формы ---------------------------------------------------------------- */

fieldset {
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
}

legend {
    display: block;
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
    font-size: 21px;
    line-height: inherit;
    color: #333;
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="search"] {
    box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 4px 0 0;
    line-height: normal;
}

input[type="file"] {
    display: block;
}

input[type="range"] {
    display: block;
    width: 100%;
}

select[multiple],
select[size] {
    height: auto;
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

:root {
    --c-primary: #E4443A;
    --c-ink: #0E0D0A;
    --c-background: #f6f1f1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Golos Text', system-ui, sans-serif;
    background-color: var(--c-background);
    color: var(--c-ink);
}

button {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
}

.wrapper {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.section-pt { padding-top: 60px; }
.section-pb { padding-bottom: 60px; }

.primary-btn {
    --offset: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 2px;
    background-color: var(--c-primary);
    color: #fff;
    position: relative;
    transition: .1s;
    overflow: hidden;
    box-sizing: border-box;
}

.primary-btn::before { 
    content: '';
    background: conic-gradient(transparent 270deg, white, transparent);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    aspect-ratio: 1;
    width: 100%;
    animation: rotate 2s linear infinite;
}

.primary-btn::after {
    content: '';
    background: inherit;
    border-radius: inherit;
    position: absolute;
    inset: var(--offset);
    height: calc(100% - 2 * var(--offset));
    width: calc(100% - 2 * var(--offset));
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) scale(1.4) rotate(0turn);
    }

    to {
        transform: translate(-50%, -50%) scale(1.4) rotate(1turn);
    }
}

.primary-btn:hover {
    background-color: color-mix(in srgb, var(--c-primary) 85%, black);
}

.primary-btn--outlined {
    background: transparent;
    border: 1px solid var(--c-primary);
    color: var(--c-primary);
}

.primary-btn--outlined::before,
.primary-btn--outlined::after { display: none; }

.primary-btn--outlined:hover {
    background-color: transparent;
    border-color: color-mix(in srgb, var(--c-primary) 85%, black);
    color: color-mix(in srgb, var(--c-primary) 85%, black);
}

.primary-btn__text {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.primary-btn__second {
    position: absolute;
    inset: 0;
    transform: translateY(100%);
}

.primary-btn--lg {
    height: 56px;
    padding-left: 24px;
    padding-right: 24px;
    font-size: 17px;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    /* контентная вёрстка занимает слои 1-3, поэтому шапка была вровень с ней
       и уезжала под номера, бейджи и элементы видео. Уводим выше диапазона,
       но ниже подложек: #scroll-to 999, кнопки 9999, окна 100000 */
    z-index: 50;
    transition: .25s;
}

.header__burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-left: 12px;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: color .1s, background-color .1s;
    border-radius: 4px;
}

.header__burger--active {
    color: var(--c-primary);
    background-color: color-mix(in srgb, var(--c-primary) 20%, white);
}

.header__burger-bg {
    display: none;
    position: fixed;
    right: 15px;
    top: 12px;
    width: calc(100vw - 24px);
    height: calc(100svh - 24px);
    border-radius: 2px;
    background: var(--c-primary);
    transform: scaleX(var(--collapsed-scale-x, 0.1)) scaleY(var(--collapsed-scale-y, 0.04));
    transform-origin: right top;
    will-change: transform, background;
    border-radius: 4px;
    z-index: 1;
    transition: background .3s ease-out, box-shadow .15s;
}

.header__burger-bg--active {
    border: 1px solid #E2E8F0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    background: var(--c-background);
}

.header__burger_x,
.header__burger_bars {
    position: absolute;
    margin: auto;
}

.header__burger_x { opacity: 0; }
.header__burger_bars { opacity: 1; }

.header.header--sticked {
    background: rgba(255, 255, 255, .95);
    /* backdrop-filter: blur(10px); */
}

.header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.header__logo {
    display: flex;
    align-items: center;
}

.header__logo img {
    display: block;
}

.header__logo_text {
    padding-left: 12px;
}

.header__logo_title {
    text-transform: uppercase;
    font-weight: normal;
    letter-spacing: .005em;
    font-weight: 700;
    color: #7C7868;
}

.header__logo_descr {
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: .24em;
    color: #7C7868;
}

.header__menu > ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.header__menu > ul > li:not(:first-child) { margin-left: 30px; }

.header__menu > ul > li a {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
}


.header__dropdown {
    position: relative;
}

.header__dropdown_list {
    position: absolute;
    left: -16px;
    top: 100%;
    background: var(--c-background);
    border: 1px solid #E2E8F0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.09);
    border-radius: 8px;
    padding: 4px;
    width: 320px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: .15s ease-out;
    transform: translateY(2px) scale(0.99);
}

.header__dropdown:hover .header__dropdown_list {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.header__dropdown_list li a {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #90A1B9;
    padding: 6px 12px;
    transition: .1s;
}

.header__dropdown_list li a:hover {
    background-color: rgba(0,0,0,.03);
}



.header__btn {
    flex-shrink: 0;
}

.header__actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
}

.header__phone {
    margin-right: 24px;
}

.header__phone_call {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    position: relative;
}

.header__phone_call svg {
    display: block;
    margin-right: 8px;
}

.header__phone_call::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 2px;
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background-color: #10b981;
}

.header__phone_call::after {
    content: '';
    position: absolute;
    left: 14px;
    top: 2px;
    width: 7px;
    height: 7px;
    border-radius: 100px;
    background-color: #10b981;
    opacity: .6;
    animation: phonePulse 3s infinite;
}

@Keyframes phonePulse {
    0% {
        transform: scale(1);
        opacity: .6;
    }
    50% {
        transform: scale(2.4);
        opacity: 0;
    }
    100% {
        transform: scale(2.4);
        opacity: 0;
    }
}

.header__phone_descr {
    font-size: 10px;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-align: right;
}


.hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

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

.hero__title {
    font-family: 'Unbounded';
    font-size: calc(70px * var(--hero-fit, 1));
    font-weight: 900;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
}


.hero__top {
    position: relative;
}

.hero__topimg {
    position: absolute;
    top: 0;
    left: 320px;
    width: 180px;
    border-radius: 2px;
    overflow: hidden;
}

.hero__topimg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    will-change: transform;
    border-radius: inherit;
}

.hero__topimg::before {
    content: '';
    display: block;
    padding-top: 66%;
}

/* Герб города перед заголовком. На компьютере колонка узкая — герб над заголовком;
   до 1024px — слева от заголовка, высотой в две его строки (2 × line-height 0.95). */
.hero__gerb {
    display: block;
    width: auto;
    height: 67px;
    margin-bottom: 14px;
    mix-blend-mode: multiply; /* у gif белый фон — на бежевом фоне первого экрана его не видно */
}

@media screen and (max-width: 1024px) {
    .hero__top--gerb {
        display: flex;
        align-items: flex-start;
        gap: 20px;
        font-size: calc(65px * var(--hero-fit, 1));
    }

    .hero__top--gerb .hero__title {
        font-size: 1em;
    }

    .hero__gerb {
        flex: none;
        height: 1.9em;
        margin: 0;
    }
}

@media screen and (max-width: 768px) {
    /* 8.5vw — чтобы «ЭВАКУАТОР» и герб помещались в строку от 360px */
    .hero__top--gerb {
        gap: 12px;
        font-size: calc(min(8.5vw, 65px) * var(--hero-fit, 1));
    }
}

.hero__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero__descr {
    font-size: 20px;
    font-weight: 500;
}

.hero__lgimg {
    position: relative;
    border-radius: 4px;
}
.hero__lgimg::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 80%;
}

.hero__lgimg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.hero__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

.hero__btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}

.hero__advs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.hero__adv {
    display: flex;
    align-items: center;
    background-color: color-mix(in srgb, var(--c-primary) 15%, transparent);
    padding: 10px 16px 10px 10px;
    border-radius: 2px;
    color: var(--c-primary)
}

.hero__adv_title {
    /* Колонка текста ограничена .wrapper (max-width 1200px), и при 20px три
       плашки в неё не помещались — ряд переносился. 18px влезает на любой
       ширине, ниже 1200px кегль дополнительно снижается до 16px. */
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.hero__adv_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: #fff;
    margin-right: 10px;
    border-radius: 2px;
    position: relative;
}

.hero__adv_icon svg {
    display: block;
    position: relative;
}

.hero__adv_icon span {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background-color: var(--c-primary);
}

.hero__adv_descr {
    color: #64748b
}


.marquee {
    overflow: hidden;
    padding: 25px 0 50px;
}

.marquee__content {
    padding: 30px 0;
    background-color: var(--c-primary);
    transform: rotate(-1.4deg) scale(1.03);
}

.marquee__group {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 32px
}

.marquee__row {
    display: flex;
    overflow: hidden;
    gap: 32px
}
.marquee__item {
    display: flex;
    align-items: center;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
}

.marquee__item::after {
    content: '';
    display: block;
    width: 12px;
    height: 12px;
    margin-left: 32px;
    border-radius: 100px;
    background-color: var(--c-background);
}


.section-title {
    font-family: 'Unbounded';
    font-weight: 700;
    font-size: clamp(40px, 5.7vw, 72px);
    text-transform: uppercase;
    margin: 0;
}

.section-title span {
    /* заливка рисуется градиентом, чтобы её ширину можно было анимировать */
    background-color: transparent;
    background-image: linear-gradient(var(--c-primary), var(--c-primary));
    background-repeat: no-repeat;
    background-position: left center;
    padding: 0px 14px;
    display: inline-block;
    transform: rotate(-1.5deg);
}

.advantages__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.advantages__title {
    max-width: 800px;
}

.advantages__why {
    font-size: 24px;
    max-width: 360px;
    color: #64748b;
    font-weight: 700;
    margin: 0;
}

.advantages__items {
    margin-top: 80px;
}

.advantages__item {
    display: flex;
    align-items: center;
    padding: 24px 8px;
    border-top: 1px solid #64748b
}

.advantages__item:last-child {
    border-bottom: 1px solid #64748b;
}

.advantages__icon {
    flex-shrink: 0;
    margin-right: 6%;
    color: var(--c-primary);
}
.advantages__icon svg {
    display: block;
}

.advantages__name {
    font-family: 'Unbounded';
    font-size: clamp(20px,2.4vw,30px);
    font-weight: 700;
}

.advantages__more {
    display: inline-block;
    border: 1.5px solid currentColor;
    border-radius: 999px;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
    text-transform: uppercase;
    padding: 8px 16px;
    margin-left: auto;
    color: var(--c-primary);
}

.advantages__order-block {
    margin-top: 40px;
}


.order-block {
    padding: 40px;
    border-radius: 10px;
    border: 2px solid var(--c-ink);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    box-shadow: 10px 10px 0 var(--c-primary);
}

.order-block__top {
    font-size: 14px;
    text-transform: uppercase;
    color: var(--c-primary);
}

.order-block__main {
    display: flex;
    align-items: center;
}

.order-block__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-right: 20px;
    border-radius: 6px;
    background-color: var(--c-primary);
    color: #fff;
}

.order-block__icon svg {
    width: 32px;
    height: 32px;
}

.order-block__descr {
    margin-bottom: 0;
}

.order-block__title {
    font-family: 'Unbounded';
    font-size: clamp(20px,2.6vw,28px);
    margin-top: 4px;
    margin-bottom: 4px;
}

.order-block--sm {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
}

.order-block--sm .order-block__icon {
    width: 48px;
    height: 48px;
    margin-right: 16px;
}

.order-block--sm .order-block__icon svg {
    width: 24px;
    height: 24px;
}

.order-block--sm .order-block__title {
    font-size: 18px;
}

.order-block--sm .order-block__main {
    align-items: flex-start;
}

.order-block--sm .order-block__btn {
    margin-left: 64px;
}


.what__head {
    position: relative;
}

.what__mobgraphic { display: none; }

.what__tag {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    border: 2px solid #15181D;
    border-radius: 999px;
    padding: 12px 22px;
    transform: rotate(3deg);
    text-transform: uppercase;
}

.what__tag svg {
    display: block;
    width: 20px;
    margin-left: 8px;
}

.what__items {
    margin-top: 120px;
}

.what__content { position: relative; }

.what__graphic {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 100%;
    height: 100%;
}

.what__graphic path {
    animation: 4s linear infinite dash-move;
}

.what__num {
    font-family: 'Unbounded';
    position: absolute;
    left: 20px;
    top: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--c-primary);
    font-size: 24px;
    font-weight: 700;
    width: 62px;
    height: 52px;
    border: 2px solid var(--c-ink);
    border-radius: 4px;
}
.what__item {
    position: relative;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 10px;
    padding: 20px;
    padding-top: 40px;
    box-shadow: 8px 8px 0 var(--c-primary);
    width: 55%;
    box-sizing: border-box;
}

.what__item:not(:first-child) {
    margin-top: 28px;
}

.what__item:nth-child(2n) {
    margin-left: auto;
    box-shadow: -8px 8px 0 var(--c-ink);
}
.what__item:nth-child(2n) .what__num {
    right: 20px;
    left: unset;
}

.what__name {
    font-family: 'Unbounded';
    font-weight: 700;
    font-size: 20px;
    margin: 0;
}

.what__descr {
    color: #64748b;
    margin-top: 12px;
}

.what__a {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: 'Unbounded';
    font-weight: 700;
    color: var(--c-primary);
    border: 3px solid currentColor;
    background-color: color-mix(in srgb, var(--c-primary) 15%, var(--c-background));
}

.what__b {
    position: absolute;
    bottom: 0;
    left: calc(50% + 100px);
    transform: translateY(50%);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-family: 'Unbounded';
    font-weight: 700;
    color: var(--c-primary);
    border: 3px solid currentColor;
    background-color: color-mix(in srgb, var(--c-primary) 15%, var(--c-background));
}

.what__bg {
    position: absolute;
    top: min(17.8vw, 220px);
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    max-width: 100vw;
    height: calc(100% - min(11.8vw, 150px));
}



.about-price__top {
    display: flex;
    align-items: flex-start;
}

.about-price__descr {
    margin-top: 36px;
    max-width: 480px;
    font-size: 17px;
    color: #64748b;
}

.about-price__check {
    position: relative;
    width: 300px;
    flex-shrink: 0;
    transform: rotate(2deg);
}

.about-price__check_body {
    box-sizing: border-box;
    padding: 40px 20px;
    background-color: var(--c-ink);
    color: var(--c-background);
    clip-path: polygon(0px 0px, 100% 0px, 100% calc(100% - 14px), 96% 100%, 92% calc(100% - 14px), 88% 100%, 84% calc(100% - 14px), 80% 100%, 76% calc(100% - 14px), 72% 100%, 68% calc(100% - 14px), 64% 100%, 60% calc(100% - 14px), 56% 100%, 52% calc(100% - 14px), 48% 100%, 44% calc(100% - 14px), 40% 100%, 36% calc(100% - 14px), 32% 100%, 28% calc(100% - 14px), 24% 100%, 20% calc(100% - 14px), 16% 100%, 12% calc(100% - 14px), 8% 100%, 4% calc(100% - 14px), 0px 100%);
}

.about-price__check_alert {
    position: absolute;
    top: -6px;
    left: 50%;
    background: var(--c-primary);
    color: var(--c-background);
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 999px;
    transform: rotate(8deg) translateX(-50%);
    box-shadow: rgba(21, 24, 29, 0.22) 0px 12px 26px;
    white-space: nowrap;
    z-index: 1;
}

.about-price__check_title {
    text-align: center;
    text-transform: uppercase;
    font-size: 18px;
}

.about-price__check_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: .7;
    margin-top: 20px;
}

.about-price__check_descr {
    opacity: .6;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.about-price__check_list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    padding-top: 16px;
    padding-bottom: 16px;
    border-top: 2px dashed rgba(255, 255, 255, .7);
    border-bottom: 2px dashed rgba(255, 255, 255, .7);
}

.about-price__check_list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.about-price__check_list li span:last-child {
    font-weight: 700;
}

.about-price__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px 56px;
    border-top: 2px solid var(--c-ink);
    margin-top: 45px;
    padding: 0;
}

.about-price__item {
    padding: 22px 4px;
    border-bottom: 1px solid rgba(21, 24, 29, 0.5);
}

.about-price__item:has(.about-price__order-block) {
    border-bottom: none;
}

.about-price__item_name {
    font-family: "Unbounded";
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.about-price__item_descr {
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 0;
}


.service-cost__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.service-cost__discount {
    background: var(--c-ink);
    color: var(--c-background);
    font-family: "Unbounded", sans-serif;
    font-weight: 700;
    padding: 18px 26px;
    border-radius: 16px;
    transform: rotate(-2deg);
    box-shadow: var(--c-primary) 6px 6px 0px;
    max-width: 280px;
}

.service-cost__items {
    margin-top: 56px;
    border-top: 1px solid rgba(21, 24, 29, 0.5);
}

.service-cost__item {
    display: flex;
    align-items: flex-end;
    font-family: 'Unbounded';
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 26px 10px;
    border-bottom: 1px solid rgba(21, 24, 29, 0.5);
}

.service-cost__more {
    margin-left: auto;
    color: var(--c-primary);
}

.evakuator-type__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
}

.evakuator-type__cnt {
    color: var(--c-primary);
    border: 2px solid currentColor;
    border-radius: 999px;
    text-transform: uppercase;
    padding: 12px 22px;
    transform: rotate(3deg);
}

.evakuator-type__items {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.evakuator-type__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 26px 18px 20px;
    background: #fff;
    border: 1px solid rgba(21, 24, 29, 0.08);
    border-radius: 22px;
    color: var(--c-ink);
    text-decoration: none;
    transition: .25s;
}

.evakuator-type__item:hover,
.evakuator-type__item:focus {
    color: var(--c-ink);
    text-decoration: none;
    border-color: var(--c-primary);
    box-shadow: 0 18px 40px rgba(14, 13, 10, 0.12);
}

.evakuator-type__img {
    position: relative;
    width: 60%;
    max-width: 148px;
    border-radius: 999px;
    background: rgba(21, 24, 29, 0.06);
}

.evakuator-type__img::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 100%;
}

.evakuator-type__img img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

.evakuator-type__num {
    position: absolute;
    left: 50%;
    bottom: -11px;
    transform: translateX(-50%);
    background: var(--c-ink);
    color: var(--c-background);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    padding: 7px 12px;
    border-radius: 999px;
    transition: .25s;
}

.evakuator-type__item:hover .evakuator-type__num {
    background: var(--c-primary);
    color: #fff;
}

.evakuator-type__name {
    font-family: 'Unbounded';
    font-size: clamp(14px, 1.1vw, 17px);
    font-weight: 700;
    line-height: 1.35;
    flex-grow: 1;
}

.evakuator-type__arrow {
    color: var(--c-primary);
    transition: .25s;
}

.evakuator-type__arrow svg {
    display: block;
    width: 24px;
    height: 24px;
}

.evakuator-type__item:hover .evakuator-type__arrow {
    transform: translateX(8px);
}


@keyframes dash-move {
    from {
        stroke-dashoffset: 0;
    }

    to {
        stroke-dashoffset: -120;
    }
}

/* ===== О компании — версия 2 ===== */

.about-v2__layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 70px;
    margin-top: 60px;
}

.about-v2__aside-inner {
    position: sticky;
    top: 110px;
    padding-top: 16px;
}

.about-v2__label {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

.about-v2__label--rule {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 46px;
}

.about-v2__label--rule::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: rgba(14, 13, 10, 0.18);
}

.about-v2__toc {
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
    border-top: 1px solid rgba(14, 13, 10, 0.18);
}

.about-v2__toc li {
    border-bottom: 1px solid rgba(14, 13, 10, 0.18);
}

.about-v2__toc a {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--c-ink);
    text-decoration: none;
    transition: .2s;
}

.about-v2__toc a:hover,
.about-v2__toc a:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.about-v2__toc a span {
    flex-shrink: 0;
    width: 26px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.06em;
    color: var(--c-primary);
    padding-top: 2px;
}

.about-v2__contacts {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.about-v2__contacts-line {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    line-height: 1.7;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.55);
}

.about-v2__contacts-phone {
    margin-top: 8px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.04em;
    color: var(--c-ink);
    text-decoration: none;
    transition: .2s;
}

.about-v2__contacts-phone:hover,
.about-v2__contacts-phone:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.about-v2__block + .about-v2__block {
    margin-top: 90px;
}

.about-v2__heading {
    display: flex;
    align-items: baseline;
    gap: 24px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.2;
    margin: 0 0 28px;
}

.about-v2__heading-num {
    flex-shrink: 0;
    font-size: clamp(24px, 2.8vw, 36px);
    color: transparent;
    -webkit-text-stroke: 2px var(--c-primary);
    letter-spacing: 0.02em;
}

.about-v2__lead {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.65;
    margin: 0 0 22px;
}

.about-v2__text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(14, 13, 10, 0.7);
    margin: 0 0 18px;
}

.about-v2__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 22px;
}

.about-v2__card {
    background: #fff;
    border: 1px solid rgba(21, 24, 29, 0.08);
    border-radius: 18px;
    padding: 22px 20px 24px;
    transition: .25s;
}

.about-v2__card:hover {
    border-color: var(--c-primary);
    box-shadow: 0 14px 30px rgba(14, 13, 10, 0.1);
}

.about-v2__card-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1;
    color: var(--c-primary);
    margin-bottom: 18px;
}

.about-v2__card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(14, 13, 10, 0.7);
}

.about-v2__figure {
    position: relative;
    margin: 46px 0 0;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
    box-shadow: var(--c-primary) 10px 10px 0px;
}

.about-v2__figure img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 24px;
}

.about-v2__figure figcaption {
    position: absolute;
    left: 24px;
    bottom: -16px;
    background: var(--c-ink);
    color: var(--c-background);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 11px 18px;
    border-radius: 999px;
}

.about-v2__figure--sm {
    margin: 0;
    box-shadow: var(--c-primary) 8px 8px 0px;
}

.about-v2__figure--sm img {
    max-height: 320px;
}

.about-v2__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 46px;
    margin-top: 34px;
}

.about-v2__split .about-v2__text {
    margin: 0;
}

.about-v2__callout {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 46px;
    padding: 28px 32px;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
}

.about-v2__callout-label {
    flex-shrink: 0;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.about-v2__callout p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.about-v2__notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.about-v2__note {
    margin: 0;
    padding-left: 20px;
    border-left: 3px solid var(--c-primary);
    font-size: 15px;
    line-height: 1.65;
    color: rgba(14, 13, 10, 0.75);
}

.about-v2__split--reverse {
    margin-top: 40px;
}

/* ===== Фото и видео — версия 2 ===== */

.media-v2__content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 46px;
}

.media-v2__item {
    position: relative;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
    overflow: hidden;
}

.media-v2__item::before {
    content: '';
    display: block;
    padding-top: 66%;
}

.media-v2__item--hero {
    grid-column: span 2;
    box-shadow: var(--c-primary) 10px 10px 0px;
}

.media-v2__item--hero::before {
    padding-top: 54%;
}

.media-v2__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.media-v2__item:hover .media-v2__img {
    transform: scale(1.04);
}

.media-v2__num {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    background: var(--c-ink);
    color: var(--c-background);
    padding: 9px 15px;
    border-radius: 999px;
}

.media-v2__caption {
    position: absolute;
    left: 22px;
    bottom: 22px;
    z-index: 2;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--c-background);
    color: var(--c-ink);
    padding: 11px 18px;
    border-radius: 999px;
}

.media-v2__video {
    position: relative;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
    background: var(--c-ink);
    color: var(--c-background);
    overflow: hidden;
    cursor: pointer;
}

.media-v2__video::before {
    content: '';
    display: block;
    padding-top: 104%;
}

.media-v2__video-inner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
}

.media-v2__video:focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 4px;
}

.media-v2__video::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(14, 13, 10, .75) 0%, rgba(14, 13, 10, .2) 40%, rgba(14, 13, 10, .92) 100%);
}

.media-v2__poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .65;
    transition: transform .5s ease;
}

.media-v2__video:hover .media-v2__poster {
    transform: scale(1.04);
}

.media-v2__video-top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.media-v2__avatar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--c-background);
    color: var(--c-ink);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

.media-v2__channel {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.media-v2__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--c-primary);
    transition: transform .25s ease;
}

.media-v2__play::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--c-primary) 45%, transparent);
    animation: play-pulse 2s ease-out infinite;
}

@keyframes play-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.75);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .media-v2__play::before {
        animation: none;
    }
}

.media-v2__video:hover .media-v2__play {
    transform: translate(-50%, -50%) scale(1.07);
}

.media-v2__play-icon {
    margin-left: 5px;
    border-left: 17px solid var(--c-background);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.media-v2__video-bottom {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.media-v2__video-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.3;
    margin: 0 0 10px;
}

.media-v2__video-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.media-v2__video-link i {
    font-style: normal;
    transition: transform .25s ease;
}

.media-v2__video:hover .media-v2__video-link i {
    transform: translateX(5px);
}

.media-v2__video.is-playing {
    cursor: default;
}

.media-v2__video.is-playing::after,
.media-v2__video.is-playing .media-v2__poster,
.media-v2__video.is-playing .media-v2__video-inner {
    display: none;
}

.media-v2__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== Отзывы — версия 2 ===== */

#otzyv {
    background: var(--c-background);
    padding: 90px 0 100px;
}

.otzyv-v2__head {
    max-width: 100%;
}

.otzyv-v2__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

/* типографика — из общей .section-title, здесь только отступ */
.otzyv-v2__title {
    margin-top: 20px;
}

.otzyv-v2__lead {
    max-width: 720px;
    margin: 30px 0 0;
    font-size: clamp(15px, 1.5vw, 18px);
    line-height: 1.7;
}

.otzyv-v2 {
    position: relative;
}

/* Раскладку слайдера дублируем у себя, не полагаясь на swiper-bundle.min.css:
   jsDelivr для российской аудитории доступен не всегда, а без этих правил
   слайды теряют флекс-строку и падают друг под друга. Значения совпадают
   с библиотекой, так что при загруженном CDN правила ничего не меняют. */
.otzyv-v2__slider {
    /* система координат для стрелок, они лежат внутри */
    position: relative;
    /* flow-root — чтобы отрицательный margin-top вложенного .swiper не схлопывался
       с этим отступом и не съедал у него 20px: иначе значение здесь пришлось бы
       держать завышенным и оно врало бы о реальном зазоре */
    display: flow-root;
    margin-top: 64px;
}

/* Обрезка кадра висит на .swiper, а не на корне слайдера: стрелки вынесены
   за край на -28px и лежат внутри .otzyv-v2__slider — overflow срезал бы их.
   Padding с зеркальным margin оставляют место тени слайда, чтобы её не обрезало. */
.otzyv-v2__slider .swiper {
    overflow: hidden;
    padding: 20px 15px 26px;
    margin: -20px -15px -26px;
}

.otzyv-v2__track {
    display: flex;
    align-items: stretch;
    box-sizing: content-box;
    transition-property: transform;
}

.otzyv-v2__slide {
    position: relative;
    display: grid;
    /* ширину и margin-right Swiper проставляет инлайном — они перебьют это */
    flex-shrink: 0;
    width: 100%;
    grid-template-columns: 264px 1fr;
    gap: 54px;
    padding: 46px 54px;
    height: auto;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 30px;
    box-shadow: var(--c-primary) 10px 10px 0px;
    box-sizing: border-box;
}

.otzyv-v2__badge {
    position: absolute;
    top: -17px;
    right: 42px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    background: var(--c-ink);
    color: var(--c-background);
    padding: 10px 18px;
    border-radius: 999px;
}

.otzyv-v2__author {
    text-align: center;
}

#otzyv .otzyv-v2__photo {
    position: relative;
    width: 100%;
    border-radius: 50%;
    overflow: hidden;
    background: color-mix(in srgb, var(--c-ink) 8%, transparent);
}

#otzyv .otzyv-v2__photo::before {
    content: '';
    display: block;
    padding-top: 100%;
}

/* id в селекторе нужен, чтобы перебить правила по #otzyv из main.css */
#otzyv .otzyv-v2__photo img {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
    min-height: 0;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    object-fit: cover;
    object-position: center;
}

.otzyv-v2__name {
    margin-top: 26px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.2;
}

.otzyv-v2__place {
    margin-top: 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

.otzyv-v2__quote {
    display: block;
    color: var(--c-primary);
}

.otzyv-v2__quote svg {
    display: block;
    width: 44px;
    height: 24px;
    stroke-linecap: butt;
}

.otzyv-v2__text {
    margin: 26px 0 0;
    font-size: clamp(15px, 1.4vw, 18px);
    line-height: 1.75;
}

.otzyv-v2__rate {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 32px;
}

.otzyv-v2__rate-label {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

.otzyv-v2__rate-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    color: #FFC107;
}

.otzyv-v2__rate-stars svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.otzyv-v2__rate-value {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 22px;
}

.otzyv-v2__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    background: var(--c-background);
    color: var(--c-ink);
    cursor: pointer;
    transition: .25s;
}

.otzyv-v2__arrow:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: var(--c-background);
}

.otzyv-v2__arrow--prev {
    left: -28px;
}

.otzyv-v2__arrow--next {
    right: -28px;
}

.otzyv-v2__arrow svg {
    width: 20px;
    height: 20px;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media screen and (max-width: 1200px) {
    .hero__content {
        gap: 16px;
    }
    
    .hero__title {
        font-size: calc(65px * var(--hero-fit, 1));
    }

    .hero__adv_icon svg {
        width: 20px;
    }

    .hero__adv_icon {
        width: 28px;
        height: 28px;
    }

    .hero__adv_descr {
        font-size: 12px;
    }

    .hero__adv_title {
        font-size: 16px;
    }

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

    .about-v2__layout {
        grid-template-columns: 210px 1fr;
        gap: 40px;
    }

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

    .otzyv-v2__slider {
        padding-bottom: 88px;
    }

    .otzyv-v2__arrow {
        top: auto;
        bottom: 0;
        transform: none;
    }

    .otzyv-v2__arrow--prev {
        left: 50%;
        margin-left: -68px;
    }

    .otzyv-v2__arrow--next {
        right: 50%;
        margin-right: -68px;
    }
}

@media screen and (max-width: 1024px) {
    .evakuator-type__img {
        max-width: 130px;
    }

    .about-v2__layout {
        grid-template-columns: 1fr;
        gap: 34px;
        margin-top: 40px;
    }

    .about-v2__aside-inner {
        position: static;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0 40px;
    }

    .about-v2__aside .about-v2__label {
        width: 100%;
    }

    .about-v2__toc {
        flex-grow: 1;
        min-width: 300px;
        margin-top: 16px;
    }

    .about-v2__contacts {
        margin-top: 16px;
        padding-top: 20px;
    }

    .about-v2__block + .about-v2__block {
        margin-top: 64px;
    }

    .hero__content {
        grid-template-columns: 1fr;
    }

    .hero__text {
        order: -1;
    }

    .header__burger {
        display: flex;

    }
    .header__burger-bg {
        display: block;
    }

    .header__menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: calc(100dvh - 80px);
        margin-top: 88px;
        padding-left: 12px;
        padding-right: 12px;
        padding-bottom: 12px;
        box-sizing: border-box;
        z-index: 2;
        opacity: 0;
        pointer-events: none;
    }

    .header__menu > ul {
        flex-direction: column;
        width: 100%;
    }

    .header__menu > ul > li {
        opacity: 0;
        transform: translateY(12px);
    }
    .header__menu > ul > li > a.header__dropdown_trigger {
        padding-bottom: 6px;
    }
    .header__menu > ul > li.header__dropdown {
        padding-bottom: 6px;
    }
    .header__menu > ul > li > a {
        display: block;
        padding: 10px 24px;
    }

    .header__menu > ul > li:not(:first-child) {
        margin-left: 0;
    }
    
    .header__dropdown_list li a:hover {
        background-color: transparent;
    }
    .header__dropdown_list li a {
        padding: 4px 32px;
    }
    .header__dropdown_list {
        position: unset;
        margin-top: 0;
        border: none;
        box-shadow: none;
        opacity: 1;
        padding: 0;
        width: 100%;
        transform: unset;
        background: transparent
    }

    .advantages__why {
        font-size: 18px;
        max-width: 270px;
    }

    .advantages__icon {
        margin-right: 3.4%;
    }

    .order-block {
        flex-direction: column;
        align-items: stretch;
    }

    .order-block--sm .order-block__btn {
        margin-left: unset;
        width: 100%;
    }

    .about-price__top {
        flex-direction: column;
        align-items: center;
    }

    .about-price__descr {
        max-width: 100%;
    }

    .about-price__check {
        margin-top: 40px;
    }
    
    .about-price__items {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-price__item:has(.about-price__order-block) {
        grid-column: span 2 / span 2;
    }

    /* сетка живёт на __content: .media-v2 — это секция */
    .media-v2__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        margin-top: 38px;
    }

    /* крупные карточки во всю ширину, пара 02/03 остаётся в ряд */
    .media-v2__item--hero,
    .media-v2__item--wide,
    .media-v2__video {
        grid-column: span 2;
    }

    /* базовое правило идёт первым: у него та же специфичность, что у модификаторов,
       и при обратном порядке оно перебило бы их пропорции */
    .media-v2__item::before {
        padding-top: 68%;
    }

    .media-v2__item--hero::before {
        padding-top: 46%;
    }

    .media-v2__item--wide::before {
        padding-top: 38%;
    }

    .media-v2__video::before {
        padding-top: 48%;
    }

    .otzyv-v2__slide {
        grid-template-columns: 200px 1fr;
        gap: 36px;
        padding: 38px 34px;
    }

    .otzyv-v2__name {
        margin-top: 20px;
        font-size: 20px;
    }
}

@media screen and (max-width: 768px) {
    .primary-btn {
        height: 40px;
        font-size: 14px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .section-title {
        font-size: 8.5vw;
    }

    .header__logo img {
        width: 30px;
        height: 30px;
    }
    
    .header__logo_text {
        padding-left: 8px;
    }
    
    .header__logo_title {
        font-size: 13px;
    }

    .header__logo_descr {
        display: none;
    }

    .header__burger {
        width: 40px;
        height: 40px;
        margin-left: 8px;
    }

    .header__burger_bars,
    .header__burger_x {
        width: 20px;
    }
    
    .header__phone { display: none; }

    .hero {
        padding-bottom: 40px;
    }
    
    .hero__title {
        font-size: calc(min(10vw, 65px) * var(--hero-fit, 1));
    }
    
    .hero__advs {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        width: 100%;
    }

    .hero__adv:last-child {
        grid-column: span 2 / span 2;
    }

    .hero__btns {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .marquee__item {
        font-size: 32px;
    }

    .advantages__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .advantages__icon svg {
        width: 100%;
        height: auto;
    }
    
    .advantages__icon {
        width: 44px;
        position: absolute;
        left: 6px;
        top: 20px;
    }

    .advantages__name {
        font-size: 16px;
        margin-top: 12px;
    }

    .advantages__more {
        margin-left: unset;
        margin-top: 8px;
        font-size: 12px;
        padding: 6px 12px;
    }

    .advantages__items {
        margin-top: 50px;
    }

    .advantages__item {
        padding: 16px 6px 20px;
        padding-left: 60px;
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }

    .advantages__why {
        margin-top: 30px;
    }

    .what__head {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .what__tag {
        position: unset;
        margin-top: 40px;
        padding: 8px 16px;
        font-size: 13px;
    }

    .what__tag svg {
        width: 16px;
        margin-left: 4px;
    }
    
    .what__item {
        width: 100%;
    }

    .what__item:not(:first-child) {
        margin-top: 50px;
    }

    .what__item:nth-child(2n) .what__num {
        right: unset;
        left: 20px;
    }

    .what__bg {
        top: 45vw;
        height: calc(100% - 37vw);
    }

    .what__graphic {
        display: none
    }

    .what__mobgraphic path {
        animation: 5s linear infinite dash-move;
    }
    .what__mobgraphic {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100px;
        height: 100%;
    }

    .what__a {
        transform: translateY(-50%);
        left: 40px;
    }

    .what__b {
        left: 36px;
    }

    .order-block {
        padding: 20px;
    }

    .order-block__icon svg {
        width: 22px;
        height: 22px;
    }
    .order-block__icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .order-block__main {
        align-items: flex-start;
    }

    .order-block__title {
        font-size: 18px;
    }

    @keyframes dash-move {
        from { stroke-dashoffset: 0; }
        to   { stroke-dashoffset: -130; }
    }


    .service-cost__item {
        padding: 16px 6px;
        gap: 8px;
        font-size: 14px;
    }

    .service-cost__more {
        white-space: nowrap;
    }

    .service-cost__head {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .evakuator-type__head {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .evakuator-type__items {
        margin-top: 32px;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .evakuator-type__item {
        gap: 16px;
        padding: 20px 12px 16px;
        border-radius: 18px;
    }

    .evakuator-type__num {
        font-size: 11px;
        padding: 6px 10px;
        bottom: -10px;
    }

    .evakuator-type__name {
        font-size: 14px;
    }

    .evakuator-type__arrow svg {
        width: 20px;
        height: 20px;
    }

    .about-v2__toc {
        min-width: 0;
    }

    .about-v2__heading {
        gap: 14px;
        margin-bottom: 20px;
    }

    .about-v2__cards {
        grid-template-columns: 1fr;
    }

    .about-v2__split,
    .about-v2__notes {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-v2__split--reverse .about-v2__figure {
        order: 1;
    }

    .about-v2__figure {
        margin-top: 34px;
        border-radius: 20px;
        box-shadow: var(--c-primary) 7px 7px 0px;
    }

    .about-v2__figure img {
        max-height: 260px;
        border-radius: 18px;
    }

    .about-v2__figure figcaption {
        left: 14px;
        bottom: -14px;
        font-size: 10px;
        letter-spacing: 0.1em;
        padding: 9px 14px;
    }

    .about-v2__callout {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 22px;
        border-radius: 20px;
    }

    .about-v2__callout-label {
        writing-mode: horizontal-tb;
        transform: none;
    }

    .about-v2__callout p,
    .about-v2__text {
        font-size: 15px;
    }

    .media-v2__content {
        margin-top: 30px;
        gap: 14px;
    }

    .media-v2__item,
    .media-v2__video {
        border-radius: 20px;
    }

    .media-v2__item--hero {
        box-shadow: var(--c-primary) 8px 8px 0px;
    }

    .media-v2__video::before {
        padding-top: 56%;
    }

    .media-v2__video-title {
        font-size: 15px;
    }

    .media-v2__video-inner {
        padding: 16px;
    }

    .media-v2__play {
        width: 60px;
        height: 60px;
    }

    .media-v2__play-icon {
        border-left-width: 15px;
        border-top-width: 9px;
        border-bottom-width: 9px;
    }

    #otzyv {
        padding: 60px 0 70px;
    }

    .otzyv-v2__slider {
        margin-top: 44px;
    }

    .otzyv-v2__slide {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 24px;
        border-radius: 24px;
        box-shadow: var(--c-primary) 8px 8px 0px;
    }

    .otzyv-v2__photo {
        max-width: 168px;
        margin: 0 auto;
    }

    .otzyv-v2__badge {
        right: 24px;
    }

    .otzyv-v2__quote svg {
        width: 36px;
        height: 20px;
    }

    .otzyv-v2__text {
        margin-top: 20px;
    }
}

@media screen and (max-width: 500px) {
    .evakuator-type__items {
        gap: 12px;
    }

    .evakuator-type__item {
        gap: 14px;
        padding: 16px 10px 14px;
    }

    .evakuator-type__img {
        width: 66%;
        max-width: 116px;
    }

    .evakuator-type__name {
        font-size: 13px;
    }

    .what__bg {
        top: 52vw;
    }

    .about-price__items {
        grid-template-columns: 1fr;
    }

    .about-price__item:has(.about-price__order-block) {
        grid-column: unset;
    }

    /* две колонки сохраняем ради ритма: пять карточек в столбик — это лишняя
       прокрутка, а 02/03 парой читаются как галерея */
    .media-v2__content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 26px;
    }

    .media-v2__item::before {
        padding-top: 86%;
    }

    .media-v2__item--hero {
        box-shadow: var(--c-primary) 6px 6px 0px;
    }

    .media-v2__item--hero::before {
        padding-top: 60%;
    }

    .media-v2__item--wide::before {
        padding-top: 54%;
    }

    /* видео выше прочих: внутри верхняя плашка канала, кнопка и заголовок со ссылкой */
    .media-v2__video::before {
        padding-top: 76%;
    }

    .media-v2__video-inner {
        padding: 14px;
    }

    .media-v2__video-title {
        font-size: 14px;
        line-height: 1.35;
    }

    .media-v2__video-link {
        font-size: 11px;
    }

    .media-v2__play {
        width: 52px;
        height: 52px;
    }

    .media-v2__play-icon {
        border-left-width: 13px;
        border-top-width: 8px;
        border-bottom-width: 8px;
    }

    .media-v2__channel {
        font-size: 12px;
    }

    .media-v2__avatar {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .media-v2__num,
    .media-v2__caption {
        font-size: 10px;
        padding: 8px 13px;
    }

    .otzyv-v2__slide {
        padding: 26px 18px;
        box-shadow: var(--c-primary) 6px 6px 0px;
    }

    .otzyv-v2__photo {
        max-width: 132px;
    }

    .otzyv-v2__rate {
        gap: 12px;
        margin-top: 24px;
    }

    .otzyv-v2__rate-stars {
        gap: 3px;
    }

    .otzyv-v2__rate-stars svg {
        width: 16px;
        height: 16px;
    }

    .otzyv-v2__arrow {
        width: 48px;
        height: 48px;
    }

    .otzyv-v2__arrow--prev {
        margin-left: -60px;
    }

    .otzyv-v2__arrow--next {
        margin-right: -60px;
    }
}

@media screen and (max-width: 400px) {
    .evakuator-type__items {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .evakuator-type__item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 18px;
        padding: 12px 16px;
        border-radius: 16px;
    }

    .evakuator-type__img {
        width: 68px;
        max-width: none;
        flex-shrink: 0;
    }

    .evakuator-type__num {
        font-size: 10px;
        padding: 5px 9px;
        bottom: -8px;
    }

    .evakuator-type__name {
        flex-grow: 1;
        font-size: 14px;
    }

    .evakuator-type__arrow {
        flex-shrink: 0;
    }

    .what__bg {
        top: 60vw;
        height: calc(100% - 44vw);
    }
}
/* ===== Контакты — версия 2 ===== */
/* id в селекторах нужен, чтобы перебить старые правила по #contacts из main.css */


#contacts .contacts-v2__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

#contacts .contacts-v2__head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-top: 18px;
}

/* типографика — из общей .section-title, здесь только раскладка */
#contacts .contacts-v2__title {
    max-width: 820px;
}

#contacts .contacts-v2__view {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    height: 56px;
    padding: 0 30px;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    background: transparent;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: none;
    transition: .25s;
}

#contacts .contacts-v2__view:hover,
#contacts .contacts-v2__view:focus {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    text-decoration: none;
}

#contacts .contacts-v2__view i {
    font-style: normal;
    transition: transform .25s;
}

#contacts .contacts-v2__view:hover i {
    transform: translateX(4px);
}

/* Колонки, а не строки сетки: в макете карточки не выровнены по общим строкам —
   карта ниже телефона, скидка начинается не на уровне компании. При grid-строках
   соседи по строке тянутся до общей высоты, и телефон раздувало под высоту карты. */
#contacts .contacts-v2__grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 24px;
    margin-top: 40px;
}

#contacts .contacts-v2__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

/* пропорции сняты с макета: 363 / 470 / 355 */
#contacts .contacts-v2__col--a {
    flex: 1 1 0;
}

#contacts .contacts-v2__col--b {
    flex: 1.29 1 0;
}

#contacts .contacts-v2__col--c {
    flex: 0.98 1 0;
}

#contacts .contacts-v2__card {
    position: relative;
    overflow: hidden;
    padding: 26px 28px;
    border: 2px solid var(--c-ink);
    border-radius: 24px;
    background: #fff;
}

#contacts .contacts-v2__label {
    position: relative;
    z-index: 2;
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-primary);
}

/* --- карточка с телефоном --- */

#contacts .contacts-v2__card--phone {
    background: var(--c-ink);
    color: var(--c-background);
}

#contacts .contacts-v2__ghost {
    position: absolute;
    top: -26px;
    right: 20px;
    z-index: 1;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 108px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(228, 68, 58, 0.45);
    pointer-events: none;
    user-select: none;
}

/* Номер обязан помещаться в одну строку: nowrap это гарантирует, а кегль
   подобран с запасом под самую узкую колонку (контент ≈266px при трёх колонках),
   чтобы nowrap не выдавил текст за край карточки с overflow: hidden. */
#contacts .contacts-v2__phone {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 16px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--c-background);
    text-decoration: none;
    transition: color .25s;
}

#contacts .contacts-v2__phone:hover,
#contacts .contacts-v2__phone:focus {
    color: var(--c-primary);
    text-decoration: none;
}

#contacts .contacts-v2__note {
    position: relative;
    z-index: 2;
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 241, 241, 0.22);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(246, 241, 241, 0.72);
}

/* --- карточка компании --- */

#contacts .contacts-v2__card--company {
    display: flex;
    flex-direction: column;
}

#contacts .contacts-v2__card--company .contacts-v2__label {
    color: rgba(14, 13, 10, 0.45);
}

#contacts .contacts-v2__company {
    margin-top: 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

#contacts .contacts-v2__address {
    margin: 10px 0 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(14, 13, 10, 0.14);
    font-size: 15px;
    line-height: 1.6;
    color: rgba(14, 13, 10, 0.7);
}

#contacts .contacts-v2__facts {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 16px 0 22px;
    padding: 0;
}

#contacts .contacts-v2__facts li {
    position: relative;
    padding-left: 22px;
    font-size: 13px;
    line-height: 1.5;
}

#contacts .contacts-v2__facts li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--c-ink);
}

#contacts .contacts-v2__facts li:first-child::before {
    background: var(--c-primary);
}

/* оформление берётся из общей .primary-btn--lg, здесь только раскладка в карточке */
#contacts .contacts-v2__btn {
    margin-top: auto;
    width: 100%;
}

/* --- карта --- */

#contacts .contacts-v2__card--map {
    padding: 0;
    min-height: 370px;
    background: color-mix(in srgb, var(--c-ink) 8%, var(--c-background));
    box-shadow: var(--c-primary) 10px 10px 0px;
}

#contacts .contacts-v2__badge {
    position: absolute;
    top: 17px;
    left: 17px;
    z-index: 3;
    padding: 9px 15px;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    background: var(--c-background);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-ink);
}

#contacts #bottom-map {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: 22px;
    overflow: hidden;
}

#contacts #bottom-map iframe,
#contacts #bottom-map > div,
#contacts #bottom-map > ymaps {
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

/* --- скидка --- */

#contacts .contacts-v2__card--sale {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
    background: var(--c-ink);
    color: var(--c-background);
}

#contacts .contacts-v2__stripes {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 24px;
    background: repeating-linear-gradient(-45deg, var(--c-primary) 0 10px, transparent 10px 20px);
}

#contacts .contacts-v2__sale-num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 2.95vw, 44px);
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--c-primary);
}

/* без hyphens: переносить «ПРЕДОСТАВЛЯЕТСЯ» по слогам некрасиво.
   overflow-wrap оставлен как страховка — сработает, только если слово
   вообще не влезает в строку, и не даст обрезать текст по краю карточки. */
#contacts .contacts-v2__sale-title {
    margin: 10px 0 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--c-background);
    overflow-wrap: break-word;
}

#contacts .contacts-v2__sale-descr {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(246, 241, 241, 0.72);
}

/* --- услуги --- */

#contacts .contacts-v2__services {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

#contacts .contacts-v2__services li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0;
    padding: 11px 0;
    border-top: 1px solid rgba(14, 13, 10, 0.14);
}

#contacts .contacts-v2__services li:first-child {
    padding-top: 4px;
    border-top: none;
}

#contacts .contacts-v2__services li span {
    flex-shrink: 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(14, 13, 10, 0.35);
}

#contacts .contacts-v2__services li a {
    font-size: 14px;
    line-height: 1.4;
    color: var(--c-ink);
    text-decoration: none;
    transition: color .2s;
}

#contacts .contacts-v2__services li a:hover {
    color: var(--c-primary);
    text-decoration: none;
}

/* три колонки становятся слишком узкими для этого контента — раньше переходим на две */
@media screen and (max-width: 1330px) {
    /* две колонки: телефон+компания и карта+скидка, услуги уходят вниз на всю ширину */
    #contacts .contacts-v2__col--a,
    #contacts .contacts-v2__col--b {
        flex: 1 1 300px;
    }

    #contacts .contacts-v2__col--c {
        flex: 1 1 100%;
    }

    #contacts .contacts-v2__card {
        padding: 28px 30px;
    }

    #contacts .contacts-v2__card--sale {
        padding-left: 54px;
    }

    #contacts .contacts-v2__phone {
        font-size: 26px;
    }

    #contacts .contacts-v2__company {
        font-size: 20px;
    }

    #contacts .contacts-v2__sale-num {
        font-size: 46px;
    }

    #contacts .contacts-v2__sale-title {
        font-size: 19px;
    }

    #contacts .contacts-v2__sale-descr,
    #contacts .contacts-v2__facts li {
        font-size: 14px;
    }

    #contacts .contacts-v2__services li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 900px) {
    #contacts .contacts-v2__grid {
        gap: 20px;
    }

    #contacts .contacts-v2__col {
        gap: 20px;
    }

    #contacts .contacts-v2__col--a,
    #contacts .contacts-v2__col--b,
    #contacts .contacts-v2__col--c {
        flex: 1 1 100%;
    }

    #contacts .contacts-v2__card--map {
        min-height: 320px;
        box-shadow: var(--c-primary) 8px 8px 0px;
    }
}

@media screen and (max-width: 768px) {
    #contacts .contacts-v2__head {
        margin-top: 40px;
    }

    #contacts .contacts-v2__head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    #contacts .contacts-v2__grid {
        margin-top: 30px;
    }

    #contacts .contacts-v2__card {
        padding: 24px 22px;
        border-radius: 22px;
    }

    #contacts .contacts-v2__card--sale {
        padding-left: 48px;
    }

    #contacts .contacts-v2__ghost {
        font-size: 98px;
    }

    #contacts .contacts-v2__phone {
        font-size: 24px;
    }

    #contacts .contacts-v2__company {
        font-size: 19px;
    }

    #contacts .contacts-v2__sale-num {
        font-size: 40px;
    }

    #contacts .contacts-v2__sale-title {
        font-size: 17px;
    }
}

@media screen and (max-width: 500px) {
    #contacts .contacts-v2__view {
        height: 48px;
        padding: 0 22px;
        font-size: 11px;
    }

    #contacts .contacts-v2__card--map {
        min-height: 260px;
        box-shadow: var(--c-primary) 6px 6px 0px;
    }

    #contacts .contacts-v2__services li {
        gap: 12px;
        padding: 11px 0;
    }

    #contacts .contacts-v2__services li a {
        font-size: 14px;
    }

    #contacts .contacts-v2__phone {
        font-size: 20px;
    }

    #contacts .contacts-v2__company {
        font-size: 17px;
    }

    #contacts .contacts-v2__sale-num {
        font-size: 34px;
    }

    #contacts .contacts-v2__sale-title {
        font-size: 17px;
    }

    #contacts .contacts-v2__card--sale {
        padding-left: 46px;
    }

    #contacts .contacts-v2__stripes {
        width: 24px;
    }
}

/* ===== Способы оплаты — версия 2 ===== */
/* секция переименована в .payment-v2, поэтому старые правила .payment / .payment-bl
   из main.css сюда больше не достают — префикс с id не нужен */

.payment-v2__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.payment-v2__head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 16px;
}

.payment-v2__note {
    flex-shrink: 0;
    padding: 15px 26px;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-ink);
}

.payment-v2__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 58px;
}

.payment-v2__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 158px;
    overflow: hidden;
    padding: 22px 24px;
    border: 2px solid var(--c-ink);
    border-radius: 20px;
    background: #fff;
}

.payment-v2__num {
    position: absolute;
    top: 18px;
    right: 20px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: rgba(14, 13, 10, 0.3);
}

/* Логотипы — инлайновый SVG. Пропорции у знаков сильно разные (Сбер 5:1,
   Mastercard 1.2:1), поэтому равняем их по высоте, а ширину ограничиваем:
   иначе широкий Сбер визуально задавил бы соседей. */
.payment-v2__logo {
    display: flex;
    align-items: center;
    height: 40px;
}

.payment-v2__logo img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 180px;
    object-fit: contain;
}

.payment-v2__descr {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

.payment-v2__name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

/* --- безналичный расчёт --- */

.payment-v2__item--dark {
    padding-left: 46px;
    background: var(--c-ink);
    color: var(--c-background);
}

.payment-v2__item--dark .payment-v2__name span {
    color: var(--c-primary);
}

.payment-v2__item--dark .payment-v2__num {
    color: rgba(246, 241, 241, 0.35);
}

.payment-v2__item--dark .payment-v2__descr {
    color: rgba(246, 241, 241, 0.5);
}

.payment-v2__stripes {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 22px;
    background: repeating-linear-gradient(-45deg, var(--c-primary) 0 9px, transparent 9px 18px);
}

/* --- наличный расчёт --- */

.payment-v2__item--accent {
    background: var(--c-primary);
    color: #fff;
}

.payment-v2__item--accent .payment-v2__num {
    color: rgba(255, 255, 255, 0.5);
}

.payment-v2__item--accent .payment-v2__descr {
    color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 1024px) {
    .payment-v2__items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .payment-v2__head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .payment-v2__note {
        padding: 13px 22px;
        font-size: 10px;
    }

    .payment-v2__items {
        gap: 14px;
        margin-top: 40px;
    }

    .payment-v2__item {
        min-height: 142px;
        gap: 18px;
        padding: 20px;
        border-radius: 18px;
    }

    .payment-v2__item--dark {
        padding-left: 40px;
    }

    .payment-v2__logo {
        height: 34px;
    }

    .payment-v2__logo img {
        max-width: 150px;
    }

    .payment-v2__name {
        font-size: 17px;
    }
}

@media screen and (max-width: 560px) {
    .payment-v2__items {
        grid-template-columns: minmax(0, 1fr);
    }

    .payment-v2__item {
        min-height: 0;
        gap: 16px;
    }

    .payment-v2__logo {
        height: 30px;
    }

    .payment-v2__logo img {
        max-width: 132px;
    }

    .payment-v2__num {
        top: 16px;
        right: 16px;
    }

    .payment-v2__descr {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

/* ===== Подвал — версия 2 ===== */
/* id #cities с секции снят, поэтому легаси-правила #cities из main.css сюда
   не достают и префиксы не нужны. Исключение — #copy: на нём висит jBox
   с офертой, id обязан остаться, и его старые стили приходится перебивать. */

.footer-v2 {
    position: relative;
    overflow: hidden;
    padding: 96px 0 32px;
    background: var(--c-ink);
    color: var(--c-background);
}

/* тёплое свечение в углу — как на макете */
.footer-v2::before {
    content: '';
    position: absolute;
    top: -180px;
    left: -140px;
    width: 520px;
    height: 420px;
    border-radius: 50%;
    background: var(--c-primary);
    opacity: 0.16;
    filter: blur(90px);
    pointer-events: none;
}

.footer-v2 .wrapper {
    position: relative;
    z-index: 1;
}

.footer-v2__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.footer-v2__head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-top: 16px;
}

.footer-v2__note {
    flex-shrink: 0;
    padding: 15px 26px;
    border: 2px solid rgba(246, 241, 241, 0.25);
    border-radius: 999px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-background);
}

/* --- колонки городов --- */

.footer-v2__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px 32px;
    margin-top: 58px;
}

.footer-v2__col {
    min-width: 0;
}

.footer-v2__col_head {
    display: block;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--c-primary);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    /* заголовок держим в одну строку: от переноса подчёркивания и списки
       под ними разъезжаются по высоте. Редкое длинное название подрежется
       многоточием, полное остаётся в title */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--c-background);
    text-decoration: none;
    transition: color .2s;
}

.footer-v2__col_head:hover,
.footer-v2__col_head:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.footer-v2__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-v2__list li {
    margin: 0;
    border-bottom: 1px solid rgba(246, 241, 241, 0.1);
}

.footer-v2__list a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(246, 241, 241, 0.72);
    text-decoration: none;
    transition: color .2s, padding-left .2s;
}

.footer-v2__list a:hover,
.footer-v2__list a:focus {
    padding-left: 8px;
    color: var(--c-primary);
    text-decoration: none;
}

/* --- кнопка полного списка --- */

.footer-v2__more {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 46px;
}

/* кнопка намеренно тихая: обычная ссылка-«таблетка» в стиле подвала,
   без заливки акцентом и без бегущей рамки .primary-btn */
.footer-v2__more_btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid rgba(246, 241, 241, 0.22);
    border-radius: 999px;
    background: transparent;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(246, 241, 241, 0.7);
    text-decoration: none;
    transition: color .2s, border-color .2s, background-color .2s;
}

.footer-v2__more_icon {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    opacity: 0.55;
    transition: opacity .2s;
}

.footer-v2__more_btn:hover .footer-v2__more_icon,
.footer-v2__more_btn:focus .footer-v2__more_icon {
    opacity: 1;
}

.footer-v2__more_btn:hover,
.footer-v2__more_btn:focus {
    border-color: rgba(246, 241, 241, 0.4);
    background-color: rgba(246, 241, 241, 0.06);
    color: var(--c-background);
    text-decoration: none;
}

.footer-v2__more_note {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(246, 241, 241, 0.45);
}

/* --- нижняя строка --- */

.footer-v2__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 64px;
    padding-top: 28px;
    border-top: 1px solid rgba(246, 241, 241, 0.12);
}

.footer-v2__bottom > * {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* id в селекторе — чтобы перебить #copy из main.css (оранжевый фон, отступы) */
#copy.footer-v2__copy {
    margin: 0;
    padding: 0;
    background: none;
    color: rgba(246, 241, 241, 0.45);
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}

#copy.footer-v2__copy:hover {
    color: var(--c-background);
}

.footer-v2__serve {
    color: rgba(246, 241, 241, 0.45);
    text-decoration: none;
    transition: color .2s;
}

.footer-v2__serve:hover,
.footer-v2__serve:focus {
    color: var(--c-background);
    text-decoration: none;
}

.footer-v2__top {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--c-primary);
    text-decoration: none;
}

.footer-v2__top:hover,
.footer-v2__top:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.footer-v2__top_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 2px solid var(--c-primary);
    border-radius: 50%;
    transition: .25s;
}

.footer-v2__top_icon svg {
    width: 15px;
    height: 15px;
}

/* плавающая кнопка #scroll-to: классы .show/.hide вешает JS, но базовое
   #scroll-to{display:none} из main.css перебивает их по специфичности —
   поднимаем её. Правило с !important для экранов <480px остаётся в силе. */
#scroll-to.show {
    display: block;
}

#scroll-to.hide {
    display: none;
}

/* новый вид кнопки — только там, где в разметке добавлен .scroll-top,
   чтобы на старых страницах со шрифтовой иконкой ничего не поехало */
#scroll-to.scroll-top {
    right: 40px;
    bottom: 40px;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    /* запасное центрирование: в bootstrap .show объявлен как display:block !important,
       и на таких сборках флекс-раскладка до кнопки не доходит */
    text-align: center;
    line-height: 54px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 14px 30px rgba(228, 68, 58, 0.32), 0 2px 6px rgba(14, 13, 10, 0.18);
    text-decoration: none;
    transition: background-color .25s, box-shadow .25s, transform .25s;
}

#scroll-to.scroll-top.show {
    display: flex;
    /* без fill-mode: после проигрывания стили возвращаются к обычным, и ховер работает */
    animation: scroll-top-in .3s ease-out;
}

@keyframes scroll-top-in {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.92);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

#scroll-to.scroll-top svg {
    width: 21px;
    height: 21px;
    vertical-align: middle;
    transition: transform .25s;
}

#scroll-to.scroll-top:hover,
#scroll-to.scroll-top:focus {
    color: #fff;
    background: color-mix(in srgb, var(--c-primary) 88%, black);
    box-shadow: 0 20px 38px rgba(228, 68, 58, 0.42), 0 3px 8px rgba(14, 13, 10, 0.2);
    transform: translateY(-4px);
}

#scroll-to.scroll-top:hover svg {
    transform: translateY(-2px);
}

#scroll-to.scroll-top:active {
    transform: translateY(-1px) scale(0.96);
}

/* ниже 768px снизу появляются фиксированные #recall и #rewrite — уводим кнопку выше них */
@media screen and (max-width: 768px) {
    #scroll-to.scroll-top {
        right: 16px;
        bottom: 84px;
        width: 46px;
        height: 46px;
        line-height: 46px;
    }

    #scroll-to.scroll-top svg {
        width: 18px;
        height: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #scroll-to.scroll-top.show {
        animation: none;
    }

    #scroll-to.scroll-top:hover {
        transform: none;
    }
}

.footer-v2__top:hover .footer-v2__top_icon {
    background: var(--c-primary);
    color: var(--c-background);
    transform: translateY(-3px);
}

@media screen and (max-width: 1024px) {
    .footer-v2 {
        padding: 72px 0 28px;
    }

    .footer-v2__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 32px;
        margin-top: 44px;
    }

    /* третья колонка в двухколоночной сетке остаётся одна в ряду —
       растягиваем её на всю ширину, чтобы не висела половиной */
    .footer-v2__col:last-child:nth-child(3) {
        grid-column: 1 / -1;
    }

    .footer-v2__col:last-child:nth-child(3) .footer-v2__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
}

@media screen and (max-width: 768px) {
    .footer-v2 {
        /* снизу висят фиксированные #recall и #rewrite: bottom 24px + высота 45px.
           Добавляем эти 69px к отступу, чтобы они не накрывали низ футера.
           env() — запас под домашнюю полоску iPhone. */
        padding: 56px 0 calc(93px + env(safe-area-inset-bottom, 0px));
    }
    
    .footer-v2__title {
        font-size: 7vw;
    }

    .footer-v2__head-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-v2__note {
        padding: 13px 22px;
        font-size: 10px;
    }

    .footer-v2__cols {
        margin-top: 36px;
    }

    .footer-v2__col_head {
        font-size: 14px;
        padding-bottom: 12px;
    }

    .footer-v2__list a {
        padding: 11px 0;
        font-size: 14px;
    }

    .footer-v2__more {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-top: 34px;
    }

    .footer-v2__more_btn {
        justify-content: center;
        padding: 13px 20px;
        font-size: 10px;
    }

    .footer-v2__more_note {
        text-align: center;
        font-size: 10px;
    }

    .footer-v2__bottom {
        flex-direction: column;
        align-items: center;
        gap: 18px;
        margin-top: 42px;
        text-align: center;
    }

    #copy.footer-v2__copy {
        text-align: center;
    }

    /* «Наверх» первым — до него ближе всего дотянуться большим пальцем */
    .footer-v2__top {
        order: -1;
    }
}

@media screen and (max-width: 560px) {
    .footer-v2__cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .footer-v2__col_head {
        white-space: normal;
        overflow: visible;
    }

    .footer-v2__col:last-child:nth-child(3) .footer-v2__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-v2__eyebrow {
        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .footer-v2__bottom > * {
        font-size: 10px;
        letter-spacing: 0.1em;
    }
}


/* ==========================================================================
   time-calc (#calc) - redesign of "Узнайте время в пути"
   Markup and all logic from common.js are preserved:
   .select button, .range img, .show-time/.show-sec, #checkbox1..4,
   .usl-img1/.usl-img2, #map1, #but-zvon, #bot-but-calc.
   This block is visual only.
   ========================================================================== */

.time-calc {
    background-color: var(--c-background);
}

/* --- Section head --------------------------------------------------------- */

.time-calc__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.time-calc__top_top-title {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
    margin-bottom: 14px;
}

.time-calc__top_title {
    margin: 0;
}

.time-calc__label {
    flex-shrink: 0;
    align-self: flex-end;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    padding: 14px 26px;
    margin-bottom: 10px;
    white-space: nowrap;
}

/* --- Calculator card ------------------------------------------------------ */

#calc .calc-block {
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 24px;
    box-shadow: 10px 10px 0 var(--c-primary);
    padding: 44px 40px;
    margin-top: 56px;
    box-sizing: border-box;
}

#calc .calc-block__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.86fr);
    gap: 34px 40px;
    align-items: start;
}

#calc .calc-block__col {
    min-width: 0;
}

/* Step heading + number badge */

#calc .calc-block__step {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 38px;
}

#calc .calc-block__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--c-ink);
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

#calc .calc-block h4,
#calc .calc-block .city-calc h4 {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.2;
    color: var(--c-ink);
    margin: 0;
    padding: 0;
}

/* kill legacy counter/line pseudo-elements coming from main.css */
#calc .calc-block h4::before,
#calc .calc-block .city-calc h4::before,
#calc .calc-block .city-calc h5::before,
#calc .calc-block .city-calc h5::after {
    content: none;
    display: none;
}

/* --- Column 1: service picker --------------------------------------------- */

#calc .select {
    padding-left: 0;
}

#calc .select-uslug {
    width: auto;
    margin: 22px 0 0;
    padding: 0;
    border: 2px solid var(--c-ink);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    text-align: left;
}

#calc .select-uslug__img {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 186px;
    padding: 18px;
    background-color: #e9e6e0;
    border-bottom: 2px solid var(--c-ink);
    box-sizing: border-box;
}

#calc .select-uslug__img img {
    max-width: 100%;
    max-height: 150px;
    width: auto;
    height: auto;
    margin: 0 auto;
    object-fit: contain;
}

/* second image is revealed by common.js when the manipulator box is ticked */
#calc .select-uslug__img .usl-img2 {
    display: none;
}

#calc .select-uslug p {
    margin: 0;
    padding: 14px 18px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-ink);
}

/* Checkbox list */

#calc .select__list {
    margin-top: 26px;
}

#calc .select .checkbox:not(checked) + label {
    position: relative;
    display: block;
    padding: 15px 0 15px 38px;
    margin: 0;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--c-ink);
    border-bottom: 1px solid rgba(14, 13, 10, 0.14);
    cursor: pointer;
}

#calc .select .checkbox:not(checked) + label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid var(--c-ink);
    border-radius: 6px;
    background: #fff;
    transition: background-color .15s ease;
}

#calc .select .checkbox:not(checked) + label::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: translateY(-62%) rotate(45deg);
    opacity: 0;
    transition: opacity .15s ease;
}

#calc .select .checkbox:checked + label::before {
    background-color: var(--c-ink);
    background-image: none;
    border-color: var(--c-ink);
}

#calc .select .checkbox:checked + label::after {
    opacity: 1;
}

/* --- Column 2: city + map ------------------------------------------------- */

#calc .calc-block .city-calc h5 {
    display: inline-flex;
    align-items: center;
    background: var(--c-primary);
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 14px;
    margin: 0;
    position: static;
}

#calc .city-calc p {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
    margin: 22px 0 12px;
}

#calc .city-calc__map {
    border: 2px solid var(--c-ink);
    border-radius: 14px;
    overflow: hidden;
    background: #e9e6e0;
}

#calc #map1 {
    width: 100% !important;
    height: 326px !important;
    overflow: hidden !important;
    display: block;
}

/* $map печатает встраиваемую карту (iframe или виджет ymaps) — тянем её
   на всю рамку, как это уже сделано для #bottom-map в секции контактов */
#calc #map1 iframe,
#calc #map1 > div,
#calc #map1 > ymaps {
    width: 100% !important;
    height: 100% !important;
    border: 0;
    border-radius: 0;
    display: block;
}

/* --- Column 3: dark bonus card -------------------------------------------- */

#calc .girl-ban {
    padding-left: 0;
}

#calc .but-block {
    position: relative;
    overflow: hidden;
    background: var(--c-ink);
    border-radius: 18px;
    padding: 30px 28px 30px 46px;
    margin-top: 0;
    text-align: left;
    box-sizing: border-box;
}

/* orange diagonal hatch along the left edge */
#calc .but-block::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 22px;
    background-image: repeating-linear-gradient(-45deg, var(--c-primary) 0 7px, transparent 7px 15px);
}

#calc .but-block__label {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

#calc .but-block p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.45;
    color: #fff;
    margin: 16px 0 0;
}

#calc .but-block p .red {
    display: block;
    margin-top: 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 2.4vw, 34px);
    line-height: 1.05;
    color: var(--c-primary);
    text-transform: uppercase;
}

/* оформление берётся из общей .primary-btn--lg, здесь только раскладка в карточке */
#calc #but-zvon {
    width: 100%;
    margin-top: 26px;
    /* гасим красный из main.css #940, чтобы цвет задавала .primary-btn */
    background: var(--c-primary);
}

#calc #but-zvon:hover {
    /* повторяем затемнение из .primary-btn:hover — id иначе сильнее */
    background: color-mix(in srgb, var(--c-primary) 85%, black);
}

/* --- Result row: calculate, route, timer ---------------------------------- */

#calc .calc-block__result {
    margin-top: 38px;
    padding-top: 34px;
    padding-left: 0;
    border-top: 1px solid rgba(14, 13, 10, 0.14);
}

#calc .calc-block__action {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 26px;
}

#calc .select .but {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 40px;
    margin: 0;
    border: none;
    border-radius: 999px;
    background: var(--c-ink);
    color: #fff;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-weight: 700;
    font-size: 17px;
    box-shadow: none;
    transition: background-color .15s ease;
}

#calc .select .but:hover {
    background: var(--c-primary);
}

#calc .calc-block__action_note {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

/* Route A - B: dashed line plus the tow truck that common.js animates */

#calc .range {
    position: relative;
    display: flex;
    align-items: center;
    height: 72px;
    margin-top: 52px;
    background-image: repeating-linear-gradient(to right, var(--c-ink) 0 18px, transparent 18px 32px);
    background-repeat: no-repeat;
    background-size: calc(100% - 124px) 4px;
    background-position: 62px center;
}

#calc .range::before,
#calc .range::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--c-ink);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1;
    box-sizing: border-box;
}

#calc .range::before {
    content: "\0410";
    left: 0;
    background: var(--c-primary);
    color: var(--c-ink);
}

#calc .range::after {
    content: "\0411";
    right: 0;
    background: var(--c-ink);
    color: #fff;
}

#calc .range img {
    position: relative;
    left: 2%;
    top: 0;
    width: 86px;
    height: auto;
    display: block;
}

/* Timer readout */

#calc .time {
    text-align: center;
    padding: 0;
    margin-top: 10px;
}

#calc .time p {
    margin: 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(54px, 7.6vw, 92px);
    line-height: 1;
    color: var(--c-ink);
}

#calc .time__note {
    display: block;
    margin-top: 14px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

/* --- Bottom CTA ----------------------------------------------------------- */

#calc .bot-but-calc {
    margin-top: 40px;
}

#calc .bot-but-calc div {
    text-align: center;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}

/* оформление берётся из общей .primary-btn--lg, здесь только раскладка;
   height: auto — чтобы длинная надпись переносилась на узких экранах */
#calc .bot-but-calc a {
    /* main.css #987 ставит inline-block и ломает центрирование по вертикали */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    min-height: 64px;
    margin: 0;
    padding: 12px 24px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    color: #fff;
    /* гасим красный из main.css #989, чтобы цвет задавала .primary-btn */
    background: var(--c-primary);
    font-weight: 600;
}

#calc .bot-but-calc a:hover {
    /* повторяем затемнение из .primary-btn:hover — id иначе сильнее */
    background: color-mix(in srgb, var(--c-primary) 85%, black);
    color: #fff;
}

/* --- Responsive ----------------------------------------------------------- */

@media screen and (max-width: 1024px) {
    #calc .calc-block {
        padding: 34px 28px;
        border-radius: 20px;
        box-shadow: 8px 8px 0 var(--c-primary);
    }

    #calc .calc-block__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    #calc .girl-ban {
        grid-column: 1 / -1;
    }

    #calc .but-block p .red {
        font-size: 30px;
    }
}

@media screen and (max-width: 768px) {
    .time-calc__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .time-calc__label {
        align-self: flex-start;
        margin-bottom: 0;
        padding: 12px 20px;
        font-size: 11px;
    }

    #calc .calc-block {
        margin-top: 34px;
        padding: 26px 20px;
    }

    #calc .calc-block__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    #calc .calc-block h4,
    #calc .calc-block .city-calc h4 {
        font-size: 17px;
    }

    #calc #map1 {
        height: 280px !important;
    }

    #calc .calc-block__result {
        margin-top: 30px;
        padding-top: 28px;
    }

    #calc .select .but {
        width: 100%;
        padding: 0 24px;
    }

    #calc .calc-block__action {
        gap: 14px;
    }

    #calc .range {
        height: 62px;
        margin-top: 40px;
        background-size: calc(100% - 96px) 4px;
        background-position: 48px center;
    }

    #calc .range::before,
    #calc .range::after {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    #calc .range img {
        width: 66px;
    }

    #calc .bot-but-calc a {
        min-height: 58px;
    }
}
@media screen and (max-width: 500px) {
    /* перебиваем font-size:13px из мобильного блока main.css */
    #calc .bot-but-calc a {
        font-size: 14px;
    }
    #calc .calc-block {
        padding: 22px 16px;
        box-shadow: 6px 6px 0 var(--c-primary);
    }

    #calc .but-block {
        padding: 24px 20px 24px 38px;
    }

    #calc .select-uslug__img {
        min-height: 150px;
    }

    #calc .range {
        background-size: calc(100% - 80px) 4px;
        background-position: 40px center;
    }

    #calc .range::before,
    #calc .range::after {
        width: 32px;
        height: 32px;
        font-size: 13px;
    }

    #calc .range img {
        width: 54px;
    }

}


/* ==========================================================================
   #calculator - редизайн секции онлайн-калькулятора (тёмная тема)
   Вся логика сохранена: calc(), Mycalc(), MyAvto(), MyZablok(), MyObnovl()
   из common.js / map_ya.js, инлайновые onchange, name-атрибуты формы,
   #transport/#transport2/#pictures/#tipevaki/#result/#map и т.д.
   Здесь только оформление.
   ========================================================================== */

#calculator {
    --calc-card: color-mix(in srgb, var(--c-ink) 93%, #fff);
    --calc-line: rgba(255, 255, 255, 0.14);
    --calc-muted: rgba(255, 255, 255, 0.52);
    background: var(--c-ink);
    color: var(--c-background);
}

/* --- Шапка ---------------------------------------------------------------- */

#calculator .calc__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

#calculator .calc__eyebrow {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 14px;
}

#calculator .calc__title {
    margin: 0;
    color: var(--c-background);
}

/* на тёмном фоне вторая строка — цветной текст, а не плашка */
#calculator .calc__title span {
    background: transparent;
    color: var(--c-primary);
    padding: 0;
    transform: none;
}

#calculator .calc__tag {
    flex-shrink: 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-background);
    border: 2px solid var(--c-background);
    border-radius: 999px;
    padding: 14px 26px;
    margin-bottom: 10px;
    white-space: nowrap;
}

/* --- Карточка шага -------------------------------------------------------- */

#calculator .calc__card {
    background: var(--calc-card);
    border-radius: 22px;
    padding: 34px;
    margin-top: 26px;
    box-sizing: border-box;
}

#calculator .calc__step {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
    margin-bottom: 24px;
}

#calculator .calc__step span::after {
    content: '·';
    margin: 0 8px;
}

#calculator .calc__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

#calculator .calc__col {
    min-width: 0;
}

#calculator .calc__h {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--c-background);
    margin: 0 0 20px;
    padding: 0;
}

/* мелкая подпись; на тёмном — светло-серая, внутри светлой панели — тёмная */
#calculator .calc__label {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
    color: var(--calc-muted);
    margin: 0 0 12px;
}

#calculator .calc__label--mt {
    margin-top: 26px;
}

/* --- Светлая панель (шаг 01 и блок заявки) -------------------------------- */

#calculator .calc__panel {
    background: var(--c-background);
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
}

#calculator .calc__panel .calc__label {
    color: rgba(14, 13, 10, 0.5);
}

#calculator .calc__panel form {
    margin: 0;
    /* main.css #1127/#1132 центрируют текст и дают padding-top:60px */
    text-align: left;
    padding-top: 0;
    position: static;
}

/* --- Селекты -------------------------------------------------------------- */

#calculator select {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 48px 0 22px;
    margin: 0;
    box-sizing: border-box;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%230E0D0A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 14px 9px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--c-ink);
    cursor: pointer;
    outline: none;
}

#calculator select:focus {
    border-color: var(--c-primary);
}

/* --- Картинка выбранной техники ------------------------------------------- */

#calculator .calc__pic {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 196px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 12px;
    background: #e5e2db;
    box-sizing: border-box;
}

#calculator .calc__pic img {
    display: block;
    max-width: 100%;
    max-height: 168px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* --- Заблокированные колёса (радиокнопки) --------------------------------- */

#calculator .calc__wheels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

#calculator .calc__wheels input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

#calculator .calc__wheels label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    height: 46px;
    padding: 0 18px;
    margin: 0;
    border: 2px solid var(--calc-line);
    border-radius: 999px;
    background: transparent;
    color: var(--c-background);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

#calculator .calc__wheels label:hover {
    border-color: var(--c-primary);
}

#calculator .calc__wheels input:checked + label {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: var(--c-ink);
    font-weight: 700;
}

#calculator .calc__wheels input:focus-visible + label {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
}

/* --- Строка с переключателем ---------------------------------------------- */

#calculator .calc__row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 0;
    margin-top: 8px;
    border-bottom: 1px solid var(--calc-line);
}

#calculator .calc__row_text {
    font-size: 15px;
    line-height: 1.35;
    color: var(--c-background);
    text-transform: none;
}

/* input прячем, но оставляем в потоке — label[for] и :checked + label работают */
#calculator .calc__row > input,
#calculator .calc__switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* переключатель без подписи (#block_steering) */
#calculator .calc__switch {
    flex-shrink: 0;
    display: block;
}

#calculator .calc__switch label {
    position: relative;
    display: block;
    width: 52px;
    height: 28px;
    margin: 0;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    cursor: pointer;
    transition: background-color .18s ease;
}

#calculator .calc__switch label::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: left .18s ease;
}

#calculator .calc__switch input:checked + label {
    background: var(--c-primary);
}

#calculator .calc__switch input:checked + label::after {
    left: 27px;
}

/* переключатель с подписью (#cp_fake_call, #cp_preorder) */
#calculator .calc__row > label {
    position: relative;
    flex: 1 1 auto;
    display: block;
    margin: 0;
    padding: 0 68px 0 0;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.35;
    text-transform: none;
    color: var(--c-background);
    cursor: pointer;
}

#calculator .calc__row > label::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 28px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    transition: background-color .18s ease;
}

#calculator .calc__row > label::after {
    content: '';
    position: absolute;
    right: 26px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    transition: right .18s ease;
}

#calculator .calc__row > input:checked + label::before {
    background: var(--c-primary);
}

#calculator .calc__row > input:checked + label::after {
    right: 3px;
}

#calculator #sale-label .red-txt {
    display: inline;
    color: var(--c-primary);
    font-weight: 700;
    text-transform: uppercase;
}

/* --- Числовые поля (расстояние, простой) ---------------------------------- */

#calculator #cp_km,
#calculator #dead_time {
    width: 124px;
    height: 42px;
    padding: 0 10px 0 26px;
    margin: 0;
    box-sizing: border-box;
    border: none;
    border-bottom: 2px solid var(--c-primary);
    border-radius: 0;
    background-color: transparent;
    background-image: radial-gradient(circle 5px at 8px 50%, #fff 98%, transparent 100%);
    background-repeat: no-repeat;
    color: var(--c-background);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 16px;
    outline: none;
    box-shadow: none;
}

#calculator #cp_km:focus,
#calculator #dead_time:focus {
    border-bottom-color: var(--c-background);
}

#calculator .calc__idle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

#calculator .calc__idle_text {
    font-size: 15px;
    color: var(--c-background);
}

#calculator .calc__idle_note {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--calc-muted);
}

/* --- Карта ---------------------------------------------------------------- */

#calculator .calc__map {
    border-radius: 16px;
    overflow: hidden;
    background: #e5e2db;
}

#calculator #map {
    width: 100%;
    height: 430px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
}

/* --- Блок заявки ---------------------------------------------------------- */

#calculator .calc__order {
    display: flex;
    flex-direction: column;
}

#calculator .calc__price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    align-self: flex-start;
    margin: 0 0 22px;
    padding: 14px 26px;
    border-radius: 12px;
    background: var(--c-primary);
    color: var(--c-ink);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

#calculator #result {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(34px, 3.6vw, 48px);
    line-height: 1;
    color: var(--c-ink);
    border-bottom: none;
}

#calculator #evacuator_form {
    padding-top: 0;
    margin: 0;
}

#calculator #phone,
#calculator #prim {
    display: block;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 18px;
    padding: 14px 20px;
    border: 2px solid var(--c-ink);
    background: #fff;
    color: var(--c-ink);
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 15px;
    outline: none;
}

#calculator #phone {
    height: 52px;
    padding: 0 22px;
    border-radius: 999px;
}

#calculator #prim {
    min-height: 104px;
    border-radius: 14px;
    resize: vertical;
}

#calculator #phone:focus,
#calculator #prim:focus {
    border-color: var(--c-primary);
}

#calculator #submit-btn {
    /* main.css #1500 вешает розовую тень и uppercase — гасим */
    box-shadow: none;
    text-transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 4px 0 0;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: var(--c-ink);
    color: #fff;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: background-color .15s ease;
}

#calculator #submit-btn:hover {
    background: var(--c-primary);
    color: var(--c-ink);
}

/* --- Адаптив -------------------------------------------------------------- */

@media screen and (max-width: 1024px) {
    #calculator .calc__card {
        padding: 26px 22px;
        border-radius: 18px;
    }

    #calculator .calc__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #calculator #map {
        height: 360px;
    }
}

@media screen and (max-width: 768px) {
    #calculator .calc__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    #calculator .calc__tag {
        margin-bottom: 0;
        padding: 12px 20px;
        font-size: 11px;
    }

    #calculator .calc__card {
        padding: 22px 16px;
        margin-top: 18px;
    }

    #calculator .calc__h {
        font-size: 17px;
    }

    #calculator .calc__panel {
        padding: 18px;
    }

    #calculator #map {
        height: 300px;
    }

    #calculator .calc__pic {
        min-height: 160px;
    }
}

@media screen and (max-width: 500px) {
    #calculator .calc__wheels label {
        min-width: 42px;
        height: 42px;
        padding: 0 14px;
        font-size: 12px;
    }

    #calculator .calc__price {
        padding: 12px 20px;
    }

    #calculator #cp_km,
    #calculator #dead_time {
        width: 108px;
    }

    #calculator #submit-btn {
        font-size: 15px;
    }
}


/* ==========================================================================
   Появление заливки в заголовках .section-title span
   Классы навешивает скрипт в подвале index_site.php. Если JS не отработал,
   класса .title-hl нет и заливка просто видна целиком, как раньше.
   ========================================================================== */

.section-title span.title-hl {
    background-size: 0% 100%;
    transition: background-size .52s cubic-bezier(0.65, 0, 0.35, 1);
}

.section-title span.title-hl--in {
    background-size: 100% 100%;
}

@media (prefers-reduced-motion: reduce) {
    .section-title span.title-hl {
        background-size: 100% 100%;
        transition: none;
    }
}


/* --- Мягкое всплывание блоков при скролле --------------------------------
   Класс .reveal вешает скрипт в подвале и только на то, что ещё ниже экрана.
   Если JS не отработал, класса нет и блок просто виден — как раньше.        */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .42s ease, transform .42s cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: calc(var(--reveal-i, 0) * 56ms);
}

.reveal.reveal--in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* блок с картой только проявляется, без сдвига — см. скрипт в подвале */
.reveal.reveal--fade {
    transform: none;
}


/* ==========================================================================
   Модальные окна .popup — своя система, без jQuery и bootstrap.
   Скрипт вешает .active на само окно, всё остальное делает CSS.
   ========================================================================== */

html.popup-open {
    overflow: hidden;
}

.popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    visibility: hidden;
    opacity: 0;
    transition: opacity .25s ease, visibility .25s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popup.active {
    visibility: visible;
    opacity: 1;
}

.popup__bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(14, 13, 10, 0.55);
}

.popup__content {
    position: relative;
    width: 100%;
    max-width: 470px;
    margin: auto;
    background: var(--c-background);
    border: 2px solid var(--c-ink);
    border-radius: 18px;
    box-shadow: 10px 10px 0 var(--c-primary);
    overflow: hidden;
    box-sizing: border-box;
    transform: translateY(16px);
    transition: transform .25s ease;
}

.popup.active .popup__content {
    transform: translateY(0);
}

/* косая «аварийная» лента по верхней кромке */
.popup__content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 14px;
    background-image: repeating-linear-gradient(
        -45deg,
        var(--c-ink) 0 10px,
        var(--c-primary) 10px 20px
    );
}

.popup__body {
    padding: 42px 34px 26px;
}

/* --- крестик -------------------------------------------------------------- */

.popup__close {
    position: absolute;
    top: 34px;
    right: 26px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    background: #fff;
    color: var(--c-ink);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.popup__close svg {
    display: block;
    width: 18px;
    height: 18px;
}

.popup__close:hover {
    background: var(--c-ink);
    color: #fff;
}

/* --- текстовая часть ------------------------------------------------------ */

.popup__eyebrow {
    padding-right: 56px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.popup__title {
    margin-top: 14px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 6vw, 34px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--c-ink);
}

.popup__title span {
    display: block;
    color: var(--c-primary);
}

.popup__descr {
    margin: 16px 0 24px;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: rgba(14, 13, 10, 0.6);
}

/* --- форма ---------------------------------------------------------------- */

/* Селекторы ниже включают #contact-form намеренно. В main.css форма описана
   через идентификатор (#259 размеры и фоновая картинка, #276 поле, #291 подпись,
   плюс мобильный блок #2853). Правила по классам оказались бы слабее, и форма
   получила бы старый фон bg-logo.jpg, размер 400x440 и капслок в поле. */

.popup #contact-form {
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
}

.popup__label,
.popup #contact-form .popup__label {
    display: block;
    margin: 0 0 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-align: left;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.5);
    text-shadow: none;
}

.popup__form input[type="tel"],
.popup #contact-form input[type="tel"] {
    display: block;
    width: 100%;
    height: 56px;
    margin: 0;
    padding: 0 22px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    box-shadow: none;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 500;
    text-transform: none;
    color: var(--c-ink);
    outline: none;
    /* С поля снят класс .form-control: всё остальное оно и так получало
       отсюда, единственным отличием был плавный переход рамки. */
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.popup__form input[type="tel"]:focus,
.popup #contact-form input[type="tel"]:focus {
    border: 2px solid var(--c-primary);
}


/* Оформление кнопки берётся из общей .primary-btn--lg. Здесь раскладка и
   гашение старых правил main.css #322 и #2840: они заданы через id и иначе
   перебили бы компонент (цвет #EE2C2C, капслок, height 40px, width 85%,
   margin-top 123px и внутренняя тень при наведении). */
#modal-btn {
    display: flex;
    width: 100%;
    height: 56px;
    margin: 18px 0 0;
    padding: 0 24px;
    box-sizing: border-box;
    background: var(--c-primary);
    border: none;
    border-radius: 2px;
    box-shadow: none;
    font-size: 17px;
    font-weight: 600;
    text-transform: none;
    color: #fff;
}

#modal-btn:hover {
    /* повторяем затемнение из .primary-btn:hover — селектор по id иначе сильнее */
    background: color-mix(in srgb, var(--c-primary) 85%, black);
    border: none;
    box-shadow: none;
    color: #fff;
}

/* --- нижняя строка «или позвоните сами» ----------------------------------- */

.popup__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(14, 13, 10, 0.14);
}

.popup__foot_label {
    display: flex;
    align-items: center;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.5);
}

.popup__foot_label::before {
    content: '';
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    background: var(--c-primary);
}

.popup__foot_phone {
    flex-shrink: 0;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink);
    text-decoration: none;
    white-space: nowrap;
}

.popup__foot_phone:hover {
    color: var(--c-primary);
}

@media screen and (max-width: 560px) {
    .popup {
        padding: 12px;
    }

    .popup__content {
        box-shadow: 7px 7px 0 var(--c-primary);
    }

    .popup__body {
        padding: 34px 20px 22px;
    }

    .popup__close {
        top: 26px;
        right: 16px;
        width: 38px;
        height: 38px;
    }

    .popup__close svg {
        width: 16px;
        height: 16px;
    }

    .popup__descr {
        margin: 14px 0 20px;
        font-size: 14px;
    }

    .popup__foot {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}


/* --- Длинный контент в окне ----------------------------------------------
   Прокручивается тело окна, а не всё окно целиком: иначе крестик уезжает
   вверх вместе с содержимым и его невозможно нажать.                       */

.popup__content {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

.popup__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- Окно со списком городов ---------------------------------------------- */

.popup--wide .popup__content {
    max-width: 900px;
}

.cities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 26px 24px;
    margin-top: 24px;
}

.cities__col {
    min-width: 0;
}

.cities__cat {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(14, 13, 10, 0.14);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--c-primary);
}

.cities p {
    margin: 0;
}

.cities__col p + p {
    margin-top: 2px;
}

.cities a {
    display: block;
    padding: 3px 0;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    color: var(--c-ink);
    text-decoration: none;
    transition: color .15s ease;
}

.cities a:hover {
    color: var(--c-primary);
}

@media screen and (max-width: 560px) {
    .cities {
        /* на мобильном список — строго в одну колонку */
        grid-template-columns: 1fr;
        gap: 22px;
        margin-top: 20px;
    }

    .cities a {
        font-size: 13px;
    }
}


/* --- Иконка в шапке окна (аварийный вызов) -------------------------------- */

.popup__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border: 2px solid var(--c-ink);
    border-radius: 14px;
    background: var(--c-primary);
    color: var(--c-ink);
}

.popup__icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

/* Кнопка внутри окна: оформление даёт .primary-btn--lg, здесь только ширина
   и отступ. Класс .but с кнопки снят, иначе main.css #3624 задал бы ей
   собственный фон и размеры поверх компонента. */
.popup__submit {
    width: 100%;
    margin-top: 18px;
}

@media screen and (max-width: 560px) {
    .popup__icon {
        width: 46px;
        height: 46px;
        margin-bottom: 16px;
    }
}


/* ==========================================================================
   Опрос «Вы договорились?» и окно благодарности.
   Раньше это были bootstrap-модалки #popup, #thx2 и #thx4; оформление им
   давали правила main.css, привязанные к #popup / #thx4. После перехода на
   свою систему те правила не действуют, поэтому вид собран здесь заново.
   Классы .opros, .opros-form, .opros-block, .radio-opros, .set-date,
   .get-opros и id форм сохранены — на них завязан common.js.
   ========================================================================== */

.popup--opros .popup__content {
    max-width: 520px;
}

/* --- Шаг 1: телефон и три варианта ответа --------------------------------- */

/* Кнопки — прямые потомки блока (так их прячет $(this).parent() в common.js),
   поэтому раскладку строим на самом блоке через flex-wrap. */
.popup--opros .opros-step {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popup--opros .opros-step > .popup__eyebrow,
.popup--opros .opros-step > .opros-step__phone,
.popup--opros .opros-step > .opros-step__q {
    flex: 0 0 100%;
    margin: 0;
}

.popup--opros .opros-step__phone {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(24px, 6vw, 32px);
    line-height: 1.1;
    color: var(--c-ink);
    text-decoration: none;
}

.popup--opros .opros-step__phone:hover {
    color: var(--c-primary);
}

.popup--opros .opros-step__q {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 5vw, 28px);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--c-ink);
}

.popup--opros .opros-step__q span {
    color: var(--c-primary);
}

/* main.css #3455 описывает .opros по классу: ширина 190px, высота 40px,
   зелёная рамка и красный текст. Селектор с .popup--opros весом выше. */
.popup--opros .opros {
    flex: 1 1 150px;
    width: auto;
    height: 52px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--c-ink);
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.popup--opros .opros:hover {
    background: var(--c-ink);
    color: #fff;
}

.popup--opros .opros-da {
    flex-basis: 100%;
    margin-top: 6px;
    background: var(--c-primary);
    border-color: var(--c-ink);
    color: #fff;
}

.popup--opros .opros-da:hover {
    background: var(--c-ink);
    color: #fff;
}

/* --- Шаг 2 и 3 ------------------------------------------------------------
   display: none этим блокам задаёт main.css #3468, и это рабочее состояние:
   jQuery показывает их через fadeIn. Здесь только внутреннее оформление. */

.popup--opros .opros-form,
.popup--opros .opros-block {
    padding: 0;
}

.popup--opros .opros-form .popup__title,
.popup--opros .opros-block .popup__title {
    margin-top: 0;
}

/* --- Радиокнопки опроса ---------------------------------------------------
   В main.css #3517–#3560 они описаны по классам, поэтому перебиваем
   селекторами с .popup--opros, а не переписываем исходные правила. */

.popup--opros .opros-block .popup__title {
    margin-bottom: 20px;
}

.popup--opros .radio-opros + label,
.popup--opros .radio-opros:not(checked) + label {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 0 12px;
    padding: 0 0 0 34px;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--c-ink);
    cursor: pointer;
}

.popup--opros .radio-opros + label:before,
.popup--opros .radio-opros:not(checked) + label:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 22px;
    height: 22px;
    margin-top: -11px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    box-shadow: none;
}

.popup--opros .radio-opros:checked + label:before {
    background: var(--c-primary);
    border-color: var(--c-ink);
    box-shadow: inset 0 0 0 4px #fff;
}

/* Поле даты появляется при выборе «Указать точную дату»: видимостью
   управляет jQuery через инлайновый style, поэтому display тут не трогаем. */
.popup--opros .set-date {
    width: 100%;
    height: 52px;
    margin: 2px 0 14px;
    padding: 0 18px;
    box-sizing: border-box;
    background: #fff;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 16px;
    color: var(--c-ink);
    outline: none;
}

/* main.css #3477 растягивает .get-opros во flex со space-between —
   кнопка внутри теперь одна и занимает всю ширину. */
.popup--opros .get-opros {
    display: block;
}

/* --- Окно «Заявка принята» ------------------------------------------------ */

.popup--thx .popup__content {
    max-width: 430px;
}

.popup--thx .popup__title {
    font-size: clamp(24px, 5.5vw, 30px);
}

@media screen and (max-width: 560px) {
    .popup--opros .opros {
        flex-basis: 100%;
        font-size: 14px;
    }

    .popup--opros .radio-opros + label,
    .popup--opros .radio-opros:not(checked) + label {
        font-size: 15px;
    }
}

/* ==========================================================================
   Кнопка срочного вызова после снятия класса .btn.
   .btn описан только в bootstrap.css. Размеры, отступы и фон кнопке даёт
   main.css (.extr .but_mod), от .btn оставались рамка, скругление, запрет
   переноса строки и мелочи поведения — повторяем их здесь, чтобы кнопка
   выглядела ровно как сейчас.

   Правило работает только на главной: h-style.css больше нигде не подключён,
   а на остальных страницах класс .btn у кнопки остался.
   ========================================================================== */

.extr .but_mod {
    border: 1px solid transparent;
    border-radius: 4px;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

/* ==========================================================================
   Окно с офертой. Раньше его рисовал jBox, теперь это обычное окно .popup,
   а текст в него подставляет common.js.

   Разметка внутри старая — <div id="allrights"> с h4, ul, li и p, — поэтому
   правила main.css #39 и #42 (#allrights h4, #allrights li) продолжают
   действовать, и их приходится перебивать более длинным селектором.
   ========================================================================== */

.popup--offer .popup__content {
    max-width: 820px;
}

.popup__offer {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid rgba(14, 13, 10, 0.14);
    font-family: 'Golos Text', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(14, 13, 10, 0.72);
}

.popup__offer #allrights h4 {
    margin: 0 0 20px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.5;
    letter-spacing: 0.02em;
    text-align: left;
    color: var(--c-ink);
}

.popup__offer #allrights ul {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.popup__offer #allrights ul:last-child {
    margin-bottom: 0;
}

/* Первый пункт каждого списка — это его заголовок («1. ПРЕДМЕТ СОГЛАШЕНИЯ») */
.popup__offer #allrights li:first-child {
    margin-bottom: 10px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.popup__offer #allrights li {
    padding: 0 0 10px;
}

.popup__offer #allrights p {
    margin: 6px 0 0;
    padding-left: 14px;
}

@media screen and (max-width: 560px) {
    .popup__offer {
        margin-top: 18px;
        padding-top: 18px;
        font-size: 13px;
    }
}

/* ==========================================================================
   Иконки прилипших кнопок «Позвонить» и «Написать».
   Были глифами font-awesome (.fa.fa-phone и .fa.fa-comment), стали
   инлайновыми SVG lucide — как и все остальные иконки новой вёрстки,
   после чего библиотека со страницы убрана.

   Обёртка осталась тегом <i>, чтобы продолжало работать правило main.css
   #234 (#rewrite i, #recall i) со своим сдвигом; размер шрифта оттуда
   больше ни на что не влияет — у SVG заданы свои размеры.
   ========================================================================== */

#recall .btn-ico,
#rewrite .btn-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: -0.35em;
}

#recall .btn-ico svg,
#rewrite .btn-ico svg {
    display: block;
    width: 20px;
    height: 20px;
}


/* ==========================================================================
   Страница «Контакты» — центральная секция.

   Визуальный язык взят у блока контактов главной: карточки с рамкой 2px,
   скруглением 24px, красные подписи Unbounded и тёмная карточка телефона
   с «призрачной» цифрой. Классы свои, чтобы правила #contacts из main.css
   и h-style.css сюда не доставали.
   ========================================================================== */

.contacts-page__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.contacts-page__title {
    margin-top: 18px;
}

.contacts-page__lead {
    max-width: 620px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(14, 13, 10, 0.62);
}

/* --- сетка карточек ------------------------------------------------------- */

.contacts-page__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

.contacts-page__card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 26px 28px;
    border: 2px solid var(--c-ink);
    border-radius: 24px;
    background: #fff;
}

.contacts-page__card--managers {
    grid-column: span 3;
}

.contacts-page__label {
    position: relative;
    z-index: 2;
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--c-primary);
}

/* --- карточка с телефоном ------------------------------------------------- */

.contacts-page__card--phone {
    background: var(--c-ink);
    color: var(--c-background);
}

.contacts-page__ghost {
    position: absolute;
    top: -26px;
    right: 20px;
    z-index: 1;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 108px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(228, 68, 58, 0.45);
    pointer-events: none;
    user-select: none;
}

/* nowrap, чтобы номер не разорвался: кегль подобран под самую узкую колонку */
.contacts-page__phone {
    position: relative;
    z-index: 2;
    display: block;
    margin-top: 16px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(17px, 1.55vw, 23px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--c-background);
    text-decoration: none;
    transition: color .25s;
}

.contacts-page__phone:hover,
.contacts-page__phone:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.contacts-page__note {
    position: relative;
    z-index: 2;
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid rgba(246, 241, 241, 0.22);
    font-size: 14px;
    line-height: 1.6;
    color: rgba(246, 241, 241, 0.72);
}

/* --- реквизиты и график --------------------------------------------------- */

.contacts-page__facts {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.contacts-page__facts li {
    padding: 14px 0;
    border-top: 1px solid rgba(14, 13, 10, 0.12);
}

.contacts-page__facts li:first-child {
    border-top: none;
    padding-top: 4px;
}

.contacts-page__facts li:last-child {
    padding-bottom: 0;
}

.contacts-page__facts span {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(14, 13, 10, 0.45);
}

.contacts-page__facts b {
    display: block;
    margin-top: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--c-ink);
    overflow-wrap: anywhere;
}

.contacts-page__facts b a {
    color: var(--c-ink);
    text-decoration: none;
    transition: color .2s;
}

.contacts-page__facts b a:hover {
    color: var(--c-primary);
    text-decoration: none;
}

/* --- форма обратного звонка ----------------------------------------------- */

.contacts-page__form-title {
    margin: 14px 0 18px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(20px, 2vw, 26px);
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--c-ink);
}

.contacts-page__form-title span {
    display: block;
    color: var(--c-primary);
}

.contacts-page__card--form form {
    margin-top: auto;
}

/* --- менеджеры ------------------------------------------------------------ */

.contacts-page__managers {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.contacts-page__manager {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.contacts-page__manager_photo {
    flex-shrink: 0;
    width: 74px;
    height: 74px;
    border: 2px solid var(--c-ink);
    border-radius: 50%;
    object-fit: cover;
    background: var(--c-background);
}

.contacts-page__manager_name {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: var(--c-ink);
}

.contacts-page__manager_phone {
    display: inline-block;
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(14, 13, 10, 0.62);
    text-decoration: none;
    transition: color .2s;
}

.contacts-page__manager_phone:hover {
    color: var(--c-primary);
    text-decoration: none;
}

/* --- «Мы работаем в …» ---------------------------------------------------- */

.contacts-page__media {
    margin-top: 64px;
}

.contacts-page__media_head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.contacts-page__media_link {
    flex-shrink: 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-ink);
    text-decoration: none;
    transition: color .2s;
}

.contacts-page__media_link i {
    font-style: normal;
    color: var(--c-primary);
}

.contacts-page__media_link:hover {
    color: var(--c-primary);
    text-decoration: none;
}

.contacts-page__media_grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 32px;
}

.contacts-page__tile {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
}

.contacts-page__tile::before {
    content: '';
    display: block;
    padding-top: 66%;
}

.contacts-page__tile_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.contacts-page__tile:hover .contacts-page__tile_img {
    transform: scale(1.04);
}

.contacts-page__tile_num {
    position: absolute;
    top: 14px;
    left: 16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 26px;
    padding: 0 8px;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    background: var(--c-primary);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #fff;
}

/* Ролик берём готовым компонентом .media-v2__video. У него своя пропорция
   104% под колонку главной — здесь плитки одного ряда, выравниваем. */
.contacts-page__media_grid .media-v2__video::before {
    padding-top: 66%;
}

@media screen and (max-width: 1024px) {
    .contacts-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-page__card--managers {
        grid-column: span 2;
    }

    .contacts-page__media_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contacts-page__media_grid .media-v2__video {
        grid-column: span 2;
    }

    .contacts-page__media_grid .media-v2__video::before {
        padding-top: 46%;
    }
}

@media screen and (max-width: 680px) {
    .contacts-page__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        margin-top: 32px;
    }

    .contacts-page__card {
        padding: 22px 20px;
        border-radius: 20px;
    }

    .contacts-page__card--managers,
    .contacts-page__media_grid .media-v2__video {
        grid-column: span 1;
    }

    .contacts-page__managers {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .contacts-page__media {
        margin-top: 44px;
    }

    .contacts-page__media_grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 24px;
    }

    .contacts-page__tile,
    .contacts-page__media_grid .media-v2__video {
        border-radius: 20px;
    }

    .contacts-page__media_grid .media-v2__video::before {
        padding-top: 56%;
    }

    .contacts-page__lead {
        font-size: 15px;
    }
}


/* ==========================================================================
   Страницы услуг (сейчас — «Эвакуатор-Манипулятор»).

   Блок общий, а не заточенный под одну страницу: остальные страницы типов
   техники устроены так же (текст + список ситуаций + преимущества), поэтому
   классы названы .service-page__*, а не по названию услуги.

   Визуальный язык тот же, что у главной: карточки с рамкой 2px и
   скруглением, красные подписи Unbounded, тёмная карточка-акцент.
   Собственные классы нужны ещё и затем, чтобы правила main.css по старым
   id (#advantages, #tips, #manipulator-txt) сюда не доставали.
   ========================================================================== */

.service-page__eyebrow {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.service-page__title {
    margin-top: 18px;
}

.service-page__lead {
    max-width: 720px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(14, 13, 10, 0.62);
}

.service-page__lead b {
    color: var(--c-ink);
}

/* секция «быстро и недорого» идёт сразу за первой, разделяем их линией */
.service-page--alt {
    border-top: 1px solid rgba(14, 13, 10, 0.1);
}

/* --- вводный блок: текст + характеристики --------------------------------- */

.service-page__intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    margin-top: 44px;
}

.service-page__intro_text {
    padding: 32px;
    border: 2px solid var(--c-ink);
    border-radius: 24px;
    background: #fff;
}

.service-page__intro_title {
    margin: 0;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.25;
    text-transform: uppercase;
}

.service-page__intro_title span {
    color: var(--c-primary);
}

.service-page__intro_descr {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(14, 13, 10, 0.78);
}

.service-page__accent {
    color: var(--c-primary);
    font-weight: 600;
}

.service-page__intro_descr a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(228, 68, 58, 0.5);
    transition: color .2s;
}

.service-page__intro_descr a:hover {
    color: var(--c-primary);
    text-decoration: underline;
}

.service-page__intro_phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 1.8vw, 24px);
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: var(--c-ink);
    text-decoration: none;
    transition: color .25s;
}

.service-page__intro_phone svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--c-primary);
}

.service-page__intro_phone:hover,
.service-page__intro_phone:focus {
    color: var(--c-primary);
    text-decoration: none;
}

.service-page__specs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-page__spec {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 24px;
    border: 2px solid var(--c-ink);
    border-radius: 20px;
    background: #fff;
}

.service-page__spec_num {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(26px, 2.8vw, 38px);
    line-height: 1;
    letter-spacing: -0.03em;
    white-space: nowrap;
}

.service-page__spec_name {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(14, 13, 10, 0.6);
}

.service-page__spec--accent {
    background: var(--c-ink);
    color: var(--c-background);
}

.service-page__spec--accent .service-page__spec_num {
    color: var(--c-primary);
}

.service-page__spec--accent .service-page__spec_name {
    color: rgba(246, 241, 241, 0.72);
}

/* --- текст и медиа -------------------------------------------------------- */

/* Текст идёт во всю ширину, картинка и ролик — парой под ним. Раньше здесь
   была пара колонок, но текста слишком мало: рядом с высокой медиа-колонкой
   оставалась пустая половина экрана. */
.service-page__cols {
    margin-top: 44px;
}

.service-page__text {
    max-width: 880px;
}

.service-page__text p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.75;
    color: rgba(14, 13, 10, 0.78);
}

.service-page__text p:last-child {
    margin-bottom: 0;
}

.service-page__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

/* Пропорция задана, чтобы карточка совпала по высоте с роликом рядом;
   кадрирование — как у остальных плиток сайта (.contacts-page__tile_img). */
.service-page__shot {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--c-ink);
    border-radius: 26px;
    background: #fff;
}

.service-page__shot::before {
    content: '';
    display: block;
    padding-top: 58%;
}

.service-page__shot_img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-page__shot:hover .service-page__shot_img {
    transform: scale(1.04);
}

/* Ролик — готовый компонент .media-v2__video со своей пропорцией 104%
   под узкую колонку главной; здесь колонка шире, выравниваем. */
.service-page__media .media-v2__video::before {
    padding-top: 58%;
}

/* --- подзаголовки-врезки -------------------------------------------------- */

.service-page__block {
    margin-top: 56px;
}

.service-page__sub {
    max-width: 900px;
    margin: 0;
    padding-left: 20px;
    border-left: 4px solid var(--c-primary);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: clamp(17px, 1.9vw, 23px);
    line-height: 1.4;
    text-transform: uppercase;
}

/* --- ситуации ------------------------------------------------------------- */

.service-page__cases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
}

.service-page__case {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 24px;
    border: 2px solid var(--c-ink);
    border-radius: 20px;
    background: #fff;
}

.service-page__case_num {
    align-self: flex-start;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border: 2px solid var(--c-ink);
    border-radius: 999px;
    background: var(--c-primary);
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 11px;
    color: #fff;
}

.service-page__case_text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(14, 13, 10, 0.8);
}

/* --- преимущества --------------------------------------------------------- */

.service-page__pros {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.service-page__pro {
    position: relative;
    overflow: hidden;
    padding: 26px 28px;
    border: 2px solid var(--c-ink);
    border-radius: 20px;
    background: var(--c-ink);
    color: var(--c-background);
}

.service-page__pro_num {
    display: block;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 54px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 2px rgba(228, 68, 58, 0.55);
    user-select: none;
}

.service-page__pro_text {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(246, 241, 241, 0.82);
}

/* --- сноска про цены и заявка --------------------------------------------- */

.service-page__note {
    margin: 40px 0 0;
    padding: 22px 26px;
    border: 2px dashed rgba(14, 13, 10, 0.25);
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(14, 13, 10, 0.7);
}

.service-page__order {
    margin-top: 40px;
}

@media screen and (max-width: 1024px) {
    .service-page__intro {
        grid-template-columns: minmax(0, 1fr);
    }

    .service-page__specs {
        flex-direction: row;
    }

    .service-page__cases,
    .service-page__pros {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 680px) {
    .service-page__intro {
        gap: 16px;
    }

    .service-page__intro,
    .service-page__cols {
        margin-top: 32px;
    }

    .service-page__media {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        margin-top: 24px;
    }

    .service-page__intro_text,
    .service-page__spec,
    .service-page__case,
    .service-page__pro {
        padding: 22px 20px;
    }

    .service-page__intro_text,
    .service-page__shot {
        border-radius: 20px;
    }

    /* в строку три карточки уже не помещаются */
    .service-page__specs {
        flex-direction: column;
        gap: 12px;
    }

    .service-page__cases,
    .service-page__pros {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .service-page__block {
        margin-top: 40px;
    }

    .service-page__sub {
        padding-left: 14px;
        border-left-width: 3px;
    }

    .service-page__cases,
    .service-page__pros {
        margin-top: 24px;
    }

    .service-page__note {
        padding: 18px 20px;
        font-size: 14px;
    }

    .service-page__lead {
        font-size: 15px;
    }

    .service-page__intro_descr,
    .service-page__text p {
        font-size: 15px;
    }
}
