/* =========================================================
   РемСтар — стили лендинга
   Все значения взяты из экспорта макета Figma (1440 x 10357).
   Контент 1132px, боковое поле 154px, шаг между секциями 140px.
   ========================================================= */

:root {
    /* Цвет — точно из макета */
    --orange: #d35400;
    --orange-dark: #b24700;
    --orange-soft: #fbe8dd;
    --ink: #1e232b;
    --ink-alt: #12161d;
    --muted: #5b6472;
    --line: rgba(18, 22, 29, .10);
    --line-strong: rgba(18, 22, 29, .18);
    --bg: #f8f9fa;
    --bg-alt: #f6f6f6;
    --warm: #f7f6f4;
    --card: #fff;
    --star: #f5b400;
    --form-line: #dbdbdb;

    --font: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
    --font-alt: "Manrope", var(--font);

    --container: 1180px;          /* 1180 - 2x24 = 1132 контента */
    --gutter: 24px;
    --section-y: 70px;            /* 70 + 70 = 140 между секциями */

    --radius: 14px;
    --radius-lg: 20px;
    --radius-sm: 10px;

    --shadow-card: 0 20px 50px -25px rgba(18, 22, 29, .35);
    --shadow-btn: 0 10px 24px -10px rgba(211, 84, 0, .55);
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Сетка ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--warm { background: var(--warm); }
.section--white { background: #fff; }

/* ---------- Надзаголовок и заголовок ---------- */
.eyebrow {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--mono);
    font-size: 12px; font-weight: 500; line-height: 18px;
    letter-spacing: 1.44px; text-transform: uppercase;
    color: var(--orange);
    margin: 0 0 28px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; flex: none; }

.section-title {
    font-size: 42px; line-height: 63px; font-weight: 700;
    color: var(--ink);
    margin-bottom: 36px;
}
.section-title span { color: var(--orange); }

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 49px; padding: 0 26px;
    border: 1px solid transparent; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; line-height: 1;
    cursor: pointer;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--orange); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--link {
    height: auto; padding: 0; background: none; border: 0; box-shadow: none;
    color: var(--orange); font-size: 12.5px; font-weight: 600; line-height: 18.75px;
}
.btn--link:hover { color: var(--orange-dark); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }

/* ---------- Хедер (79px) ---------- */
.header {
    position: sticky; top: 0; z-index: 80;
    height: 79px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(5px);
    border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; height: 78px; gap: 0; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 800; line-height: 28.5px; }
.logo__mark {
    width: 34px; height: 34px; flex: none;
    display: grid; place-items: center;
    background: var(--ink); color: #e85d3a; border-radius: 8px;
}
.logo__mark svg { width: 18px; height: 18px; stroke-width: 2.4; }

.nav { display: flex; gap: 32px; margin: 0 auto; }
.nav a { font-size: 14.5px; font-weight: 500; line-height: 21.75px; color: var(--muted); transition: color .15s ease; }
.nav a:hover { color: var(--ink); }

.header__phone { text-align: left; margin-right: 24px; }
.header__phone b { display: block; font-size: 15.5px; font-weight: 700; line-height: 23.25px; }
.header__phone span { font-size: 11px; font-weight: 500; line-height: 16.5px; color: var(--muted); }

.header__cta { height: 39px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.header__call {
    display: none; width: 39px; height: 39px; flex: none;
    align-items: center; justify-content: center;
    border-radius: var(--radius-sm); background: var(--orange-soft); color: var(--orange);
    margin-right: 8px;
}
.header__call .icon { width: 19px; height: 19px; }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.burger span { display: block; height: 2px; width: 22px; margin: 5px auto; background: var(--ink); border-radius: 2px; transition: .2s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Первый экран (759px) ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, var(--bg) 0%, var(--bg) 34%, rgba(248, 249, 250, .55) 52%, rgba(248, 249, 250, 0) 72%);
}
.hero__inner {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 511px;    /* карточка калькулятора 511px */
    gap: 60px;
    align-items: start;
    padding: 64px var(--gutter) 120px;              /* карточка стартует на 64px */
    min-height: 759px;
}
.hero .eyebrow { margin-bottom: 12px; }
.hero__title {
    font-size: 58px; line-height: 63px; font-weight: 700;
    letter-spacing: -2px;
    margin: 0 0 39px;                               /* H1 94..283, лид на 310 */
}
.hero__title span { color: var(--orange); }
.hero__lead {
    width: 317px; max-width: 100%;
    font-size: 17px; line-height: 28.05px; font-weight: 400;
    color: var(--ink);
    margin-bottom: 72px;                            /* лид 310..366, иконки на 410 */
}
.hero__benefits {
    display: grid;
    grid-template-columns: 282px auto;              /* колонки на 154 и 436 */
    gap: 58px 0;                                    /* строки на 410 и 468 */
}
.hero__benefit { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 600; line-height: 21px; }
.hero__benefit .icon { width: 26px; height: 26px; color: var(--orange); flex: none; }

/* ---------- Калькулятор (511 x 575) ---------- */
.calc {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 29px;
    box-shadow: var(--shadow-card);
}
.calc__badge {
    position: absolute; top: -13px; left: 29px;
    height: 26px; padding: 0 11px;
    display: inline-flex; align-items: center;
    background: var(--ink); color: #fff;
    border-radius: 20px;
    font-family: var(--mono); font-size: 10.5px; line-height: 15.75px;
    letter-spacing: 1.05px; text-transform: uppercase;
}
.calc__label { font-size: 12.5px; font-weight: 600; line-height: 18.75px; letter-spacing: .13px; color: var(--muted); margin-bottom: 9px; }
.calc__group + .calc__group { margin-top: 18px; }

.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.seg--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.seg__item input { position: absolute; opacity: 0; pointer-events: none; }
.seg__item span {
    display: flex; align-items: center; justify-content: center;
    height: 40px; padding: 0 6px;
    border: 1px solid var(--line-strong); border-radius: 9px;
    background: #fff;
    font-size: 13.5px; font-weight: 600; text-align: center;
    cursor: pointer; transition: .16s ease; white-space: nowrap;
}
.seg__item span:hover { border-color: var(--orange); }
.seg__item input:checked + span { background: var(--orange-soft); border-color: var(--orange); color: var(--orange); }
.seg__item input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 2px; }

.check-list { margin-top: 18px; display: grid; gap: 13px; }   /* шаг строк 32px */
.check { display: flex; align-items: flex-start; gap: 14px; font-size: 13.5px; font-weight: 500; line-height: 20.25px; cursor: pointer; user-select: none; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box {
    flex: none; width: 17px; height: 17px; margin-top: 2px;
    border: 1px solid #767676; border-radius: 2.5px; background: #fff;
    display: grid; place-items: center; transition: .15s ease;
}
.check__box svg { width: 11px; height: 11px; stroke: #fff; stroke-width: 3; opacity: 0; }
.check input:checked + .check__box { background: var(--orange); border-color: var(--orange); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--orange); outline-offset: 2px; }

.calc__area-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.calc__area-input {
    width: 51px; height: 27px; padding: 0 6px;
    border: 1px solid rgba(0, 0, 0, .20); border-radius: 5px;
    text-align: center; font-size: 13px; font-weight: 600;
}
.calc__area-input:focus { border-color: var(--orange); outline: none; }

.range { position: relative; }
.range input[type="range"] {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 5px; margin: 0;
    background: var(--line-strong); border-radius: 6px; outline: none;
}
.range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 22px; height: 22px;
    background: var(--orange); border: 4px solid #fff; border-radius: 11px;
    cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.range input[type="range"]::-moz-range-thumb {
    width: 22px; height: 22px;
    background: var(--orange); border: 4px solid #fff; border-radius: 11px; cursor: pointer;
}
.range__marks {
    display: flex; justify-content: space-between; margin-top: 12px;
    font-family: var(--mono); font-size: 11px; line-height: 16.5px; color: var(--muted);
}
.calc__submit { margin-top: 30px; height: 51px; }

/* ---------- Цифры (1132 x 125) ---------- */
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { display: flex; align-items: center; gap: 23px; }
.stat .icon { width: 40px; height: 40px; color: var(--orange); stroke-width: 1.6; flex: none; }
.stat__value { font-family: var(--mono); font-size: 36px; font-weight: 700; line-height: 1; }
.stat__label { font-size: 13px; font-weight: 500; line-height: 19.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Виды ремонта (карточка 364 x 660) ---------- */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service {
    display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden;
}
.service__img { height:160px;aspect-ratio: 363 / 160; background: linear-gradient(152deg, #e7eaee 0%, #f3f4f6 100%); }
.service__img img { width: 100%; height: 100%; object-fit: cover; }
.service__name {
    height: 58px; display: flex; align-items: center; justify-content: center;
    background: var(--bg); border-bottom: 1px solid var(--line);
    font-size: 18px; font-weight: 600; line-height: 25.5px;
}
.service__body { padding: 24px 21px 0; flex: 1; }
.service__price-cap { text-align: center; font-size: 11.5px; line-height: 17.25px; color: var(--muted); }
.service__price {
    text-align: center; font-family: var(--mono);
    font-size: 21px; line-height: 31.5px; font-weight: 700; letter-spacing: 0;
    margin: 4px 0 20px;
}
.service__list { display: grid; gap: 9px; }
.service__list li { display: flex; gap: 7px; font-size: 12.5px; line-height: 17.5px; }
.service__list .icon {
    width: 19px; height: 19px; flex: none; margin-top: -1px;
    color: var(--orange); stroke-width: 1.3;
}
.service__list li.is-off { opacity: .5; }
.service__list li.is-off + li.is-off { opacity: .3; }
.service__more { display: block; margin: 28px auto 0; }
.service__meta {
    border-top: 1px solid var(--line);
    margin-top: 15px; padding: 16px 0px 0;
    font-size: 12.5px; line-height: 18.75px; color: var(--muted);
    display: grid; gap: 9px;
}
.service__meta b { color: var(--ink); font-weight: 700; }
.service__foot { padding: 17px 21px 25px; }

/* ---------- Цены (таблица 1132 x 292) ---------- */
.tabs {
    display: inline-flex; gap: 0; padding: 4px;
    background: var(--bg); border-radius: var(--radius-sm);
    margin-bottom: 27px;
}
.tabs button {
    height: 37px; padding: 0 20px; border: 0; border-radius: 8px;
    background: none; font-size: 14px; font-weight: 600; color: var(--muted);
    cursor: pointer; transition: .16s ease;
}
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }

.price-table__wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.price-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.price-table th {
    text-align: left; height: 56px; padding: 0 22px;
    background: var(--bg-alt);
    font-size: 12.5px; font-weight: 600; line-height: 18.75px;
    letter-spacing: .75px; text-transform: uppercase; color: var(--muted);
}
.price-table th:nth-child(1) { width: 310px; }
.price-table th:nth-child(2) { width: 259px; }
.price-table th:nth-child(3) { width: 325px; }
.price-table td { height: 60px; padding: 0 22px; border-top: 1px solid var(--line); }
.price-table__type { font-size: 18px; font-weight: 600; }
.price-table__price { font-family: var(--mono); font-size: 14.5px; font-weight: 700; line-height: 21.75px; color: var(--ink-alt); white-space: nowrap; }
.price-table__term { font-size: 14.5px; line-height: 21.75px; color: var(--ink-alt); white-space: nowrap; }
.price-table td:last-child { text-align: center; }
.price-table td:last-child .btn--link { font-size: 13.5px; }

.price-note { margin-top: 30px; font-size: 13px; line-height: 19.5px; color: var(--muted); }
.prices__cta { margin-top: 36px; text-align: center; }
.prices__cta .btn { min-width: 240px; }

/* ---------- Этапы работ (без карточек) ---------- */
.stages__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 42px; row-gap: 60px; }
.stage__head { display: flex; gap: 6px; margin-bottom: 21px; }
.stage__step {
    height: 30px; min-width: 64px; padding: 0 10px;
    display: inline-flex; align-items: center;
    background: var(--bg-alt); border-radius: 5px;
    font-size: 18px; font-weight: 500; line-height: 19.5px;
}
.stage__ico {
    width: 31px; height: 30px; flex: none;
    display: grid; place-items: center;
    background: var(--bg-alt); border-radius: 5.77px;
}
.stage__ico .icon { width: 22px; height: 22px; color: var(--orange); stroke-width: 0; }
.stage__title { font-size: 18px; font-weight: 600; line-height: 22px; margin-bottom: 6px; }
.stage__text { font-size: 14px; font-weight: 500; line-height: 19.5px; color: var(--muted); }

/* ---------- Детализация (табы) ---------- */
.details__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 58px; }
.details__tabs button {
    height: 41px; padding: 0 19px;
    border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
    background: #fff; font-size: 14px; font-weight: 600; color: var(--muted);
    cursor: pointer; transition: .16s ease;
}
.details__tabs button:hover { color: var(--ink); border-color: var(--orange); }
.details__tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.details__panel { background: var(--bg-alt); border: 1px solid rgba(0, 0, 0, .10); border-radius: var(--radius); padding: 29px; }
.details__panel[hidden] { display: none; }
.details__list { display: grid; gap: 14px; }
.details__list li { display: flex; gap: 14px; font-size: 14px; line-height: 22.5px; }
.details__list li::before { content: ""; width: 8px; height: 8px; flex: none; margin-top: 7px; background: var(--orange); border-radius: 2px; }
.details__list .icon { display: none; }
.details__cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; }
.details__cta-note { font-size: 13px; line-height: 19.5px; color: var(--muted); }

/* ---------- Объекты (фото 556 + панель 556) ---------- */
.objects__slider { position: relative; }
.objects__stage { position: relative; }
.objects__viewport { overflow: hidden; }
.objects__track { display: flex; align-items: stretch; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }

.object-card { flex: 0 0 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.object-card__media { aspect-ratio: 556 / 452; border-radius: 11.35px; overflow: hidden; background: var(--bg-alt); }
.object-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

.object-card__body {
    background: var(--bg-alt); border-radius: 11.35px;
    padding: 52px 79px 24px 24px;
    display: grid; grid-template-columns: minmax(0, 1fr) 88px; gap: 24px;
}
.object-card__main { display: flex; flex-direction: column; min-width: 0; }

.object-card__tags { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 35px; }
.tag { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; line-height: 20px; color: #131416; }
.tag__dot { width: 11px; height: 11px; flex: none; border-radius: 3px; background: var(--orange); }
.tag .icon { width: 14px; height: 14px; color: var(--orange); }

.object-card__title { font-size: 18px; font-weight: 600; line-height: 20px; margin-bottom: 30px; }
.object-card__text { font-size: 14px; line-height: 20px; color: #131416;  }
.object-card__price { font-size: 18px; font-weight: 600; margin: 32px 0 0; }
.object-card__market { font-size: 14px; line-height: 20px; color: #131416; margin: 12px 0 24px; }
.object-card__btn { height: 45px; border-radius: 5px; align-self: flex-start; padding: 0 34px; }

/* Столбик миниатюр справа: клик меняет главное фото */
.object-card__thumbs { display: flex; flex-direction: column; gap: 25px; margin-top: 13px; }
.object-card__thumb {
    width: 88px; height: 88px; flex: none; padding: 0;
    border: 0; border-radius: 9.17px; overflow: hidden;
    background: none; cursor: pointer; transition: outline-color .16s ease;
    outline: 2px solid transparent; outline-offset: 4px;
}
.object-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.object-card__thumb:hover { outline-color: var(--line-strong); }
.object-card__thumb.is-active { outline-color: var(--orange); }

/* Стрелки по бокам, по центру карточки */
.slider-arrow {
    position: absolute; top: 22%; transform: translateY(-50%); z-index: 2;
    width: 48px; height: 48px; border-radius: 24px;
    border: 1px solid var(--line-strong); background: var(--bg-alt);
    display: grid; place-items: center; color: var(--orange); cursor: pointer;
    box-shadow: var(--shadow-card); transition: .16s ease;
}
.slider-arrow:hover { border-color: var(--orange); background: #fff; }
.slider-arrow .icon { width: 20px; height: 20px; stroke-width: 1.8; }
.slider-arrow--prev { left: -34px; }
.slider-arrow--next { right: -14px; }

.slider-dots { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 36px; }
.slider-nav__dot { width: 12px; height: 8px; border-radius: 5px; border: 0; background: var(--line-strong); cursor: pointer; padding: 0; transition: .16s ease; }
.slider-nav__dot.is-active { background: var(--orange); width: 22px; border-radius: 4px; }

/* ---------- До / после (карточка 361 x 496) ---------- */
.ba__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ba-card { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ba-card__figure {
    position: relative; aspect-ratio: 361 / 289; overflow: hidden;
    cursor: ew-resize; user-select: none; touch-action: none;
    border-radius: var(--radius); background: #222;
}
.ba-card__figure img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.ba-card__figure.is-dragging { cursor: grabbing; }
.ba-card__after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-card__handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); pointer-events: none; }
.ba-card__handle::after {
    content: "";
    position: absolute; top: 50%; left: 50%;
    width: 38px; height: 38px; transform: translate(-50%, -50%);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e232b' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M9 6l-4 6 4 6M15 6l4 6-4 6'/%3E%3C/svg%3E") center / 19px no-repeat;
    border-radius: 19px; box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.ba-card__badge {
    position: absolute; top: 15px; height: 26.5px; padding: 0 10px;
    display: inline-flex; align-items: center;
    background: rgba(0, 0, 0, .55); color: #fff; border-radius: 20px;
    font-family: var(--mono); font-size: 11px; line-height: 16.5px; letter-spacing: .88px; text-transform: uppercase;
}
.ba-card__badge--before { left: 15px; }
.ba-card__badge--after { right: 15px; }
.ba-card__switch {
    position: absolute; left: 50%; bottom: 15px; transform: translateX(-50%);
    display: flex; gap: 4px; padding: 4px;
    background: rgba(255, 255, 255, .92); border-radius: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.ba-card__switch button {
    height: 24px; padding: 0 14px; border: 0; border-radius: 20px;
    background: none; cursor: pointer;
    font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .88px; color: var(--muted);
    transition: .16s ease;
}
.ba-card__switch button[aria-pressed="true"] { background: var(--orange); color: #fff; }
.ba-card__body { padding: 23px 21px 21px; }
.ba-card__title { font-size: 18px; font-weight: 600; line-height: 23.25px; margin-bottom: 9px; }
.ba-card__text { font-size: 14px; line-height: 18.75px; color: var(--muted); margin-bottom: 14px; }
.ba-card__meta { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 24px; font-family: var(--mono); font-size: 12px; line-height: 18px; color: var(--muted); }
.ba-card__meta .tag { font-family: inherit; font-size: inherit; color: inherit; }
.ba-card__meta .tag .icon { display: none; }
.ba-card__meta .tag + .tag::before { content: "·"; margin-right: 7px; }

/* ---------- Почему мы (карточка 269.5 x 219.25) ---------- */
.adv__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.adv { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 30px 24px; display: flex; flex-direction: column; min-height: 219px; }
.adv--hl { background: var(--orange); }
.adv__num { font-family: var(--mono); font-size: 13px; font-weight: 400; line-height: 19.5px; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.adv__title { font-size: 18px; font-weight: 600; line-height: 25.5px; min-height: 51px; margin-bottom: 14px; }
.adv__text { font-size: 13.5px; font-weight: 400; line-height: 20.25px; color: rgba(255, 255, 255, .72); }

/* ---------- Команда (карточка 269 x 155, фото выступает) ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 44px; }
.member {
    position: relative;
    background: var(--warm); border: 1px solid var(--line); border-radius: var(--radius);
    height: 155px; padding: 60px 16px 0; text-align: center;
}
.member__photo {
    position: absolute; top: -32px; left: 50%; transform: translateX(-50%);
    width: 76px; height: 76px; border-radius: 38px; overflow: hidden;
    border: 1px solid var(--line); background: var(--warm);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { font-size: 18px; font-weight: 600; line-height: 22px; }
.member__role { font-size: 13px; font-weight: 600; line-height: 19.5px; color: var(--orange); margin: 8px 0 4px; }
.member__exp { font-family: var(--mono); font-size: 12.5px; line-height: 18.75px; color: var(--muted); }

/* ---------- Отзывы ---------- */
.reviews__layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 34px; align-items: start; }

.rating-card { padding: 0 15px; }
.rating-card__value { font-size: 64px; font-weight: 700; line-height: 64px; color: #1c2430; }
.rating-card__value sup { font-size: 20px; font-weight: 700; color: #6b7280; top: -.5em; }
.rating-card .stars { margin-top: 7px; }
.rating-card .stars svg { width: 22px; height: 22px; margin-right: 2px; }

.rating-card__sources { display: grid; gap: 16px; margin-top: 32px; }
.src {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-alt); font-size: 22px; font-weight: 700; line-height: 1.1; color: #1c2430;
}
.src__pin { width: 26px; height: 26px; flex: none; color: #ff4433; fill: currentColor; stroke: none; }
.src--ya b { color: #ff4433; }
.src--google .src__pin { color: #4285f4; }
.src__word i { font-style: normal; }

.reviews__nav { display: flex; gap: 10px; margin-top: 60px; }
.reviews__arrow {
    width: 36px; height: 36px; border-radius: 18px;
    border: 1px solid #cfd6e4; background: #fff;
    display: grid; place-items: center; color: var(--orange); cursor: pointer;
    transition: .16s ease;
}
.reviews__arrow:hover { border-color: var(--orange); }
.reviews__arrow .icon { width: 16px; height: 16px; stroke-width: 1.8; }

.reviews__dots { display: flex; align-items: center; gap: 8px; margin-top: 20px; }
.reviews__dot { width: 12px; height: 8px; border-radius: 5px; border: 0; background: var(--line-strong); cursor: pointer; padding: 0; transition: .16s ease; }
.reviews__dot.is-active { width: 22px; border-radius: 4px; background: var(--orange); }

.reviews__viewport { overflow: hidden; }
.reviews__track { display: flex; transition: transform .45s cubic-bezier(.22, .61, .36, 1); }
.reviews__slide { flex: 0 0 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }

.review { background: var(--warm); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; min-height: 383px; }
.review__top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.review__avatar { width: 56px; height: 56px; border-radius: 28px; overflow: hidden; flex: none; background: var(--orange-soft); }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__avatar--initials {
    display: grid; place-items: center;
    font-family: var(--font-alt); font-size: 18px; font-weight: 700; color: #fff;
}
.review__author { font-size: 18px; font-weight: 600; line-height: 19px; color: #1c2430; }
.review__sub { display: grid; gap: 4px; margin-top: 5px; font-family: var(--font-alt); font-size: 13px; line-height: 15px; color: #6b7280; }
.review__title { font-size: 18px; font-weight: 600; margin: 0 0 20px; color: #1c2430; }
.review__text { font-size: 14px; line-height: 20px; color: var(--ink); margin-bottom: auto; }

.review__foot { margin-top: 28px; padding-top: 17px; border-top: 1px solid #e2e0dc; display: grid; gap: 11px; }
.review__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review__key { font-family: var(--font-alt); font-size: 14px; font-weight: 700; color: #1c2430; }
.review__foot .src { font-size: 14px; gap: 5px; }
.review__foot .src__pin { width: 17px; height: 17px; }
.review__foot .stars svg { width: 15px; height: 15px; }

.stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; }
.stars svg { width: 15px; height: 15px; display: inline-block; fill: currentColor; stroke: none; margin-right: 2px; }
.stars__bg { color: rgba(18, 22, 29, .18); }
.stars__fill { position: absolute; inset: 0; overflow: hidden; color: var(--star); }

/* ---------- FAQ (772px, по центру) ---------- */
.faq { max-width: 772px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 0; background: none; border: 0; cursor: pointer;
    font-size: 18px; font-weight: 600; line-height: 20px; text-align: left;
}
.faq__icon { flex: none; color: var(--orange); font-size: 20px; font-weight: 700; transition: transform .25s ease; }
.faq__icon svg { width: 14px; height: 14px; stroke-width: 2.6; }
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s ease; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 0 22px; font-size: 14px; line-height: 22.5px; color: var(--muted); }

/* ---------- Сертификаты (271 x 406) ---------- */
.certs__head { text-align: center; }
.certs__head .eyebrow { justify-content: center; }
.certs__head .eyebrow::before { display: none; }
.certs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cert { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; cursor: zoom-in; }
.cert__img { aspect-ratio: 221 / 300; background: var(--warm); border-radius: var(--radius-sm); position: relative; overflow: hidden; }
.cert__img img { width: 100%; height: 100%; object-fit: cover; }
.cert__format {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-family: var(--mono); font-size: 11px; font-weight: 700; line-height: 16.5px; color: var(--orange);
}
.cert__title { margin-top: 30px; text-align: center; font-size: 18px; font-weight: 600; line-height: 21px; }

/* ---------- CTA дизайн-проект (1132 x 441) ---------- */
.design-cta { background: var(--ink); border-radius: 24px; color: #fff; padding: 50px 56px; }
.design-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 86px; align-items: start; }
.design-cta__title { font-size: 42px; font-weight: 700; line-height: 63px; margin-bottom: 24px; }
.design-cta__text { font-size: 15px; line-height: 24.8px; color: rgba(255, 255, 255, .68); margin-bottom: 30px; }
.design-cta__hl {
    display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
    background: var(--orange); border-radius: 20px;
    font-family: var(--mono); font-size: 12px; line-height: 18px; text-transform: uppercase;
}

/* ---------- Формы ---------- */
.form-card { background: #fff; border-radius: 15px; padding: 30px; color: var(--ink); }
.field + .field { margin-top: 20px; }
.field__label { display: block; font-size: 14px; font-weight: 600; line-height: 21px; color: var(--muted); margin-bottom: 5px; }
.field__input {
    width: 100%; height: 44px; padding: 0 15px;
    border: 1px solid var(--form-line); border-radius: 7px; background: #fff;
    font-size: 13px; transition: border-color .15s ease;
}
.field__input::placeholder { color: var(--muted); }
.field__input:focus { border-color: var(--orange); outline: none; }
.field__input.is-invalid { border-color: #d94040; }
.field__error { display: none; margin-top: 6px; font-size: 12px; color: #d94040; }
.field.has-error .field__error { display: block; }

.consent { display: flex; gap: 15px; align-items: flex-start; margin: 28px 0 30px; font-size: 12px; line-height: 21px; color: var(--muted); }
.consent input { width: 12px; height: 12px; margin-top: 4px; flex: none; }
.consent a { color: var(--orange); text-decoration: underline; }
.form-card .btn { height: 53px; border-radius: 7px; font-size: 16px; line-height: 26px; }
.form-legal { margin-top: 14px; font-size: 12px; line-height: 21px; color: var(--muted); text-align: center; }
.form-legal a { color: var(--orange); text-decoration: underline; }

.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 13.5px; }
.form-status.is-ok { display: block; background: #e8f5ed; color: #1d7a45; }
.form-status.is-error { display: block; background: #fdecec; color: #b62b2b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Контакты ---------- */
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) 546px; gap: 34px; align-items: start; }
.contacts__list { display: grid; gap: 26px; margin-bottom: 47px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-row__ico {
    width: 42px; height: 42px; flex: none;
    display: grid; place-items: center;
    background: var(--orange-soft); border-radius: var(--radius-sm);
    color: var(--orange);
}
.contact-row__ico .icon { width: 18px; height: 18px; }
.contact-row__label { font-size: 13.5px; line-height: 20.25px; color: var(--muted); margin-top: 4px; }
.contact-row__value { font-size: 18px; font-weight: 600; line-height: 22.5px; }
.map { height: 320px; border-radius: var(--radius); overflow: hidden; background: var(--ink); position: relative; }
.map iframe, .map__canvas { width: 100%; height: 100%; border: 0; display: block; }
.map__fallback { height: 100%; display: grid; place-items: center; text-align: center; padding: 24px; color: rgba(255, 255, 255, .6); font-size: 14px; }

/* ---------- Футер (91.5px) ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .55); padding: 36px 0; margin-top: 80px; }
.footer__top { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer .logo { color: #fff; }
.footer .logo__mark { background: #fff; color: var(--orange); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 13px; }
.footer__nav a:hover { color: var(--orange); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; padding-top: 24px; font-size: 13px; line-height: 19.5px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__legal a { text-decoration: underline; }
.footer__req { max-width: 620px; }
.footer__offer { margin-top: 12px; }

/* ---------- Поп-апы ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; background: rgba(18, 22, 29, .55); backdrop-filter: blur(2px); display: none; padding: 24px; overflow-y: auto; }
.modal-backdrop.is-open { display: flex; align-items: center; justify-content: center; }
.modal { position: relative; width: 100%; max-width: 470px; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(18, 22, 29, .25); padding: 32px; animation: modal-in .22s ease; }
.modal--wide { max-width: 560px; padding: 0; overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } }
.modal__close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 17px; border: 0; background: rgba(18, 22, 29, .06); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 2; }
.modal__close:hover { background: rgba(18, 22, 29, .12); }
.modal__close svg { width: 15px; height: 15px; stroke-width: 2.2; }
.modal__title { font-size: 21px; font-weight: 700; line-height: 1.28; margin-bottom: 10px; padding-right: 34px; }
.modal__text { font-size: 14px; line-height: 1.55; color: var(--muted); margin-bottom: 22px; }

.calc-result__sum { font-family: var(--mono); font-size: 33px; font-weight: 700; line-height: 1.25; margin: 14px 0 16px; }
.calc-result__lead { font-size: 15px; line-height: 1.5; }
.calc-result__days { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.calc-result__incl { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.calc-result__incl b { color: var(--ink); font-weight: 600; }
.calc-result__form-title { font-size: 14px; margin-bottom: 14px; }

.tariff__img { aspect-ratio: 363 / 160; }
.tariff__img img { width: 100%; height: 100%; object-fit: cover; }
.tariff__body { padding: 26px 30px 30px; }
.tariff__title { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.tariff__lead { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; }
.tariff__list { display: grid; gap: 9px; margin: 20px 0 24px; max-height: 340px; overflow-y: auto; }
.tariff__list li { display: flex; gap: 7px; font-size: 12.5px; line-height: 17.5px; }
.tariff__list .icon { width: 19px; height: 19px; color: var(--orange); flex: none; stroke-width: 1.3; }

.gallery { padding: 0; max-width: 900px; }
.gallery__stage { position: relative; aspect-ratio: 556 / 452; background: var(--ink); }
.gallery__stage img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 24px; border: 1px solid var(--line-strong); background: rgba(246, 246, 246, .94); color: var(--orange); display: grid; place-items: center; cursor: pointer; }
.gallery__arrow--prev { left: 16px; }
.gallery__arrow--next { right: 16px; }
.gallery__counter { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 6px 14px; border-radius: 20px; background: rgba(0, 0, 0, .55); color: #fff; font-family: var(--mono); font-size: 11px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; background: var(--bg); }
.gallery__thumb { aspect-ratio: 1; border: 2px solid transparent; border-radius: 9px; overflow: hidden; padding: 0; background: none; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--orange); }
.gallery__info { padding: 22px 26px 26px; }
.lightbox__img { max-height: 78vh; width: auto; margin: 0 auto; }

/* ---------- Куки ---------- */
.cookie { position: fixed; left: 24px; right: 24px; bottom: 24px; z-index: 90; max-width: 640px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 60px rgba(18, 22, 29, .2); padding: 20px 22px; display: none; gap: 18px; align-items: center; flex-wrap: wrap; }
.cookie.is-visible { display: flex; }
.cookie__text { flex: 1; min-width: 240px; font-size: 13px; line-height: 19.5px; color: var(--muted); }
.cookie__text a { color: var(--orange); text-decoration: underline; }

/* ---------- Заглушка данных ---------- */
.data-error { background: #fff; border: 1px dashed var(--orange); border-radius: var(--radius); padding: 28px 26px; text-align: center; }
.data-error__title { font-weight: 700; margin-bottom: 6px; }
.data-error__text { font-size: 14px; color: var(--muted); }
.data-error__text a { color: var(--orange); font-weight: 600; }

/* ---------- Текстовые страницы ---------- */
.page { padding: 60px 0 40px; }
.page__title { font-size: 42px; font-weight: 700; line-height: 63px; margin-bottom: 12px; }
.page__updated { font-size: 13px; color: var(--muted); margin-bottom: 34px; }
.prose { max-width: 820px; font-size: 15px; line-height: 24.8px; }
.prose h2 { font-size: 20px; font-weight: 700; margin: 34px 0 12px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px; padding-left: 20px; list-style: disc; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--orange); text-decoration: underline; }

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1200px) {
    :root { --section-y: 60px; --gutter: 22px; }
    .section-title { font-size: 36px; line-height: 48px; margin-bottom: 30px; }
    .hero__inner { grid-template-columns: minmax(0, 1fr) 460px; gap: 36px; min-height: 0; }
    .hero__title { font-size: 46px; line-height: 52px; letter-spacing: -1.5px; }
    .stages__grid, .adv__grid, .team__grid, .certs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ba__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .reviews__layout { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
    .contacts__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 1024px) {
    .nav { display: none; }
    .burger { display: block; }
    .header__phone { display: block; margin-left: auto; margin-right: 14px; }
    .header__cta { display: inline-flex; }
    .nav.is-open {
        display: flex; flex-direction: column; gap: 0;
        position: absolute; left: 0; right: 0; top: 100%;
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(18, 22, 29, .1); padding: 8px 0; margin: 0;
    }
    .nav.is-open a { padding: 14px var(--gutter); font-size: 16px; color: var(--ink); }
    .header, .header__inner { height: 70px; }
    .header__inner { position: relative; }

    .hero__inner { grid-template-columns: minmax(0, 1fr); padding: 44px var(--gutter) 60px; gap: 36px; }
    .hero__bg::after { background: linear-gradient(180deg, rgba(248, 249, 250, .96) 0%, rgba(248, 249, 250, .9) 55%, rgba(248, 249, 250, .8) 100%); }
    .hero__title { margin-bottom: 26px; }
    .hero__lead { margin-bottom: 40px; }
    .hero__benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
    .calc { max-width: 511px; }

    .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
    .object-card { grid-template-columns: minmax(0, 1fr); }
    .object-card__media { aspect-ratio: 4 / 3; }
    .object-card__body { padding: 24px; grid-template-columns: minmax(0, 1fr); }
    .object-card__thumbs { flex-direction: row; margin-top: 20px; }
    .slider-arrow--prev { left: 8px; }
    .slider-arrow--next { right: 8px; }
    .reviews__layout { grid-template-columns: minmax(0, 1fr); }
    .rating-card { padding: 0; }
    .reviews__nav { margin-top: 26px; }
    .review { min-height: 0; }
    .contacts__grid { grid-template-columns: minmax(0, 1fr); }
    .design-cta { padding: 40px 32px; }
    .design-cta__inner { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 768px) {
    :root { --section-y: 48px; --gutter: 18px; }
    body { font-size: 15px; }
    .header__phone span { display: none; }
    .header__phone b { font-size: 15px; }
    .header__cta { height: 36px; padding: 0 13px; font-size: 13px; }
    .section-title { font-size: 30px; line-height: 40px; margin-bottom: 26px; }
    .hero__title { font-size: 34px; line-height: 40px; letter-spacing: -1px; }
    .hero__lead { width: auto; font-size: 16px; line-height: 24px; }
    .hero__benefits { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .hero__benefit { font-size: 16px; }
    .calc { padding: 24px 18px; max-width: none; }
    .seg__item span {font-size:12px;}
    .services__grid, .stages__grid, .adv__grid, .certs__grid, .ba__grid { grid-template-columns: minmax(0, 1fr); }
    .reviews__slide { grid-template-columns: minmax(0, 1fr); }
    .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .stats__grid { gap: 20px; }
    .stat__value { font-size: 28px; }
    .stat .icon { width: 32px; height: 32px; }
    .details__panel { padding: 20px; }
    
    .object-card {
        display: flex; flex-direction: column;
        background: #fff; border: 1px solid var(--line);
        border-radius: var(--radius); padding: 16px; gap: 0;
    }
    .object-card__body,
    .object-card__main { display: contents; }

    .object-card__tags   { order: 1; margin-bottom: 14px; gap: 6px 18px; }
    .object-card__title  { order: 2; margin-bottom: 10px; }
    .object-card__text   { order: 3; margin-bottom: 0; }
    .object-card__thumbs { order: 4; flex-direction: row; gap: 10px; margin: 16px 0 0; overflow-x: auto; }
    .object-card__price  { order: 5; margin: 20px 0 0; }
    .object-card__market { order: 6; margin: 8px 0 0; }
    .object-card__media  { order: 7; margin-top: 16px; aspect-ratio: 344 / 207; }
    .object-card__btn    { order: 8; margin-top: 16px; align-self: stretch; }

    .object-card__thumb { width: 72px; height: 72px; border-radius: 8px; outline-offset: 3px; }

    .slider-arrow { display: none; }
    .slider-dots { margin-top: 22px; }
    
    .details__tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-bottom: 26px; }
    .details__tabs button { white-space: nowrap; }
    .faq__q { font-size: 16px; padding: 18px 0; }
    .modal { padding: 26px 20px 24px; border-radius: 16px; }
    .modal-backdrop { padding: 12px; align-items: flex-start; }
    .design-cta { padding: 28px 20px; }
    .design-cta__title { font-size: 28px; line-height: 36px; }
    .cookie { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
    .footer__bottom { flex-direction: column; }
    .map { height: 280px; }
}

@media (max-width: 480px) {
    :root { --gutter: 16px; }
    .header__phone { display: none; }
    .header__call { display: flex; margin-left: auto; }
    .header__cta { padding: 0 11px; font-size: 12.5px; }
    .adv__title { min-height: 0; }
    .team__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__title { font-size: 30px; line-height: 36px; letter-spacing: -.5px; }
    .btn { height:37px; padding: 0 20px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
    .header, .footer, .cookie, .modal-backdrop, .btn { display: none !important; }
}