/*
    Холод-Рем+ — оформление сайта.

    Принципы:
    - Лёгкость: светлые поверхности, воздух, мягкие тени вместо рамок-коробок.
    - Скорость: ни одного скрипта для оформления; анимации только transform и
      opacity (их считает видеокарта); никаких backdrop-filter на элементах,
      которые висят поверх прокрутки, — на слабых телефонах именно они тормозят.
    - Тёмной темы нет намеренно: сайт открывают, когда сломался холодильник,
      часто с телефона и в спешке — важнее читаемость и заметные телефоны.
*/

@font-face {
    font-family: Manrope;
    src: url(/fonts/manrope-cyrillic.woff2) format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: Manrope;
    src: url(/fonts/manrope-latin.woff2) format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --ink: #0f1d33;
    --ink-2: #46586f;
    --ink-3: #7c8ca2;
    --line: #e5ecf4;
    --line-2: #eff4f9;

    --bg: #ffffff;
    --bg-soft: #f5f8fc;
    --bg-tint: #edf4fc;

    --brand: #0b6bd6;
    --brand-dark: #0852a6;
    --brand-2: #06a3c2;
    --brand-tint: #e8f2fd;
    --accent: #0fae96;
    --warm: #f26a1b;
    --warm-dark: #dc5a0e;

    --r-lg: 24px;
    --r: 18px;
    --r-sm: 12px;

    --sh-1: 0 1px 2px rgba(15, 29, 51, .04), 0 2px 6px rgba(15, 29, 51, .04);
    --sh-2: 0 1px 2px rgba(15, 29, 51, .04), 0 12px 28px -10px rgba(15, 29, 51, .12);
    --sh-3: 0 2px 4px rgba(15, 29, 51, .04), 0 24px 48px -16px rgba(15, 29, 51, .18);

    --ease: cubic-bezier(.2, .7, .3, 1);
    --gap: clamp(14px, 2.4vw, 24px);
}

/* ================= База ================= */
* { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: Manrope, "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(30px, 5vw, 54px); }
h2 { font-size: clamp(24px, 3.2vw, 36px); }
h3 { font-size: clamp(19px, 2.2vw, 23px); }
p { margin: 0 0 1em; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.sr-only, .skip {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
    position: fixed; top: 12px; inset-inline-start: 12px; width: auto; height: auto;
    clip: auto; padding: 12px 18px; background: var(--brand); color: #fff;
    border-radius: var(--r-sm); z-index: 60;
}

:focus-visible { outline: 3px solid rgba(11, 107, 214, .45); outline-offset: 2px; border-radius: 8px; }

.icon { flex: none; }

/* ================= Шапка ================= */
.header {
    position: sticky; top: 0; z-index: 40;
    background: #fff;
    border-bottom: 1px solid var(--line-2);
}
.header__inner { display: flex; align-items: center; gap: 22px; min-height: 72px; }

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; font-size: 20px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { display: block; flex: none; }
/* Надпись логотипа: «Холод» — ледяным градиентом звезды, «+» — плашкой,
   под названием — мелкая строка о том, чем занимаемся. */
.logo__text { display: flex; flex-direction: column; gap: 5px; line-height: 1; }
.logo__name { font-size: 23px; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; }
.logo__cold {
    color: var(--brand);
    background: linear-gradient(135deg, #3fb4f5 0%, #1a80e6 45%, #0a5fcf 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
.logo__dash { color: var(--ink-3); margin-inline: 1px; }
.logo__plus {
    display: inline-grid; place-items: center;
    width: 19px; height: 19px; margin-inline-start: 4px;
    border-radius: 6px; background: var(--accent); color: #fff;
    font-size: 15px; font-weight: 800; letter-spacing: 0;
    vertical-align: 4px;
}
.logo__tag {
    font-size: 10.5px; font-weight: 700; letter-spacing: .15em;
    text-transform: uppercase; color: var(--ink-3);
}

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
    color: var(--ink-2); font-weight: 600; font-size: 15px;
    padding: 8px 12px; border-radius: 10px;
    transition: background .15s ease, color .15s ease;
}
.nav a:hover { color: var(--ink); background: var(--bg-soft); }

.header__phones { display: flex; align-items: center; gap: 12px; }
.phone { font-weight: 700; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.phone:hover { color: var(--brand); }
.phone--lg { display: block; font-size: 22px; margin-bottom: 2px; }

/* ================= Кнопки ================= */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border: 0; cursor: pointer; border-radius: 14px;
    background: var(--warm); color: #fff; font: inherit; font-weight: 700; font-size: 16px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04), 0 8px 20px -6px rgba(242, 106, 27, .55);
    transition: background .15s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.btn:hover { background: var(--warm-dark); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--sm { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--ghost {
    background: #fff; color: var(--ink); box-shadow: var(--sh-1);
    border: 1px solid var(--line);
}
.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: var(--line); }

/* ================= Первый экран ================= */
.hero {
    position: relative; overflow: hidden;
    padding: clamp(32px, 6vw, 80px) 0 clamp(72px, 9vw, 120px);
    /* Два цветных пятна — обычные градиенты, без blur-фильтров: ничего не стоят
       при прокрутке. */
    background:
        radial-gradient(640px 420px at 88% 8%, rgba(6, 163, 194, .12), transparent 70%),
        radial-gradient(760px 520px at 70% 90%, rgba(11, 107, 214, .10), transparent 70%),
        linear-gradient(180deg, #f7fbff 0%, #fff 100%);
}
.hero__inner {
    display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(28px, 5vw, 64px); align-items: center;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 14px 7px 12px; margin: 0 0 20px;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1);
}
.eyebrow__dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 4px rgba(15, 174, 150, .16);
}

.hero h1 { margin-bottom: 18px; }
.grad {
    background: linear-gradient(100deg, var(--brand) 10%, var(--brand-2) 90%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { font-size: clamp(17px, 1.7vw, 19px); color: var(--ink-2); margin-bottom: 28px; max-width: 54ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.checks {
    list-style: none; padding: 0; margin: 30px 0 0;
    display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 28px;
}
.checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15.5px; color: var(--ink); }
.checks__icon {
    display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: rgba(15, 174, 150, .12); color: var(--accent);
}

.hero__visual { position: relative; margin: 0; justify-self: center; width: min(100%, 400px); }
/* Мягкий круг за фото — просто градиент. */
.hero__visual::before {
    content: ''; position: absolute; inset: 6% -8% -2%;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(11, 107, 214, .16), rgba(6, 163, 194, .06) 55%, transparent 70%);
}
.hero__visual img {
    position: relative; display: block; width: 100%; max-width: 330px; margin-inline: auto;
    border-radius: 28px; background: #fff; box-shadow: var(--sh-3);
}

.float {
    position: absolute; display: flex; align-items: center; gap: 11px;
    padding: 11px 16px 11px 11px; background: #fff; border-radius: 16px;
    box-shadow: var(--sh-2); border: 1px solid var(--line-2);
    font-size: 14px; line-height: 1.25; white-space: nowrap;
}
.float b { display: block; font-weight: 800; color: var(--ink); }
.float small { display: block; font-size: 12.5px; color: var(--ink-3); }
.float--a { top: 14%; inset-inline-start: -6%; }
.float--b { bottom: 12%; inset-inline-end: -4%; }
.float__icon {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
    background: var(--brand-tint); color: var(--brand);
}
.float__icon--warm { background: #fff1e8; color: var(--warm); }

/* ================= Цифры ================= */
.stats { position: relative; z-index: 2; margin-top: clamp(-72px, -6vw, -44px); }
.stats__card {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
    box-shadow: var(--sh-2);
}
.stat { padding: clamp(18px, 2.6vw, 28px) 16px; text-align: center; }
.stat + .stat { border-inline-start: 1px solid var(--line-2); }
.stat__value {
    font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1; letter-spacing: -.03em;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { margin-top: 8px; color: var(--ink-2); font-size: 14.5px; line-height: 1.35; }

/* ================= Секции ================= */
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 62ch; margin-bottom: clamp(24px, 3.4vw, 40px); }
.section__head--row {
    max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px;
    flex-wrap: wrap;
}
.section__title { margin-bottom: 10px; }
.section__lead { color: var(--ink-2); margin: 0; font-size: 17px; }

.link-more {
    display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand);
    padding: 8px 0;
}
.link-more .icon { transition: transform .2s var(--ease); }
.link-more:hover .icon { transform: translateX(3px); }

/* Нижние секции главной браузер не рисует, пока до них не долистали. */
.defer { content-visibility: auto; contain-intrinsic-size: auto 720px; }

/* ================= Услуги ================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.service {
    position: relative; display: flex; flex-direction: column; gap: 16px;
    padding: 22px; min-height: 150px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    color: var(--ink); box-shadow: var(--sh-1);
    transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
a.service:hover { color: var(--ink); transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.service__icon {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    background: var(--brand-tint); color: var(--brand);
    transition: background .25s ease, color .25s ease;
}
a.service:hover .service__icon { background: var(--brand); color: #fff; }
.service__title { font-weight: 700; font-size: 17px; line-height: 1.3; margin-top: auto; padding-inline-end: 28px; }
.service__arrow {
    position: absolute; inset-inline-end: 20px; bottom: 22px; color: var(--ink-3);
    transition: transform .25s var(--ease), color .25s ease;
}
a.service:hover .service__arrow { color: var(--brand); transform: translateX(4px); }
.service--accent {
    background: linear-gradient(145deg, var(--brand), var(--brand-2)); border-color: transparent; color: #fff;
}
.service--accent .service__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.service--accent .service__arrow { color: rgba(255, 255, 255, .8); }
a.service--accent:hover { color: #fff; }
a.service--accent:hover .service__icon { background: rgba(255, 255, 255, .28); color: #fff; }
a.service--accent:hover .service__arrow { color: #fff; }

/* ================= Как проходит ремонт ================= */
.steps {
    list-style: none; padding: 0; margin: 0; position: relative;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
/* Линия, которая соединяет шаги. */
.steps::before {
    content: ''; position: absolute; top: 22px; inset-inline: 12% 12%; height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.step { position: relative; }
.step__num {
    position: relative; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 14px; margin-bottom: 18px;
    background: #fff; color: var(--brand); font-weight: 800; font-size: 18px;
    border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.step:first-child .step__num { background: var(--brand); color: #fff; border-color: transparent; }
.step__title { font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.step__note { color: var(--ink-2); font-size: 15.5px; margin: 0; max-width: 30ch; }

/* ================= Галерея работ ================= */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gallery__item {
    position: relative; margin: 0; overflow: hidden; border-radius: var(--r);
    background: var(--bg-soft); box-shadow: var(--sh-1);
    aspect-ratio: 4 / 3;
}
.gallery__item img {
    display: block; width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
    position: absolute; inset: auto 0 0; padding: 36px 16px 14px;
    background: linear-gradient(180deg, transparent, rgba(8, 18, 33, .72));
    color: #fff; font-size: 14.5px; font-weight: 600; line-height: 1.35;
}

/* ================= География ================= */
.geo { display: grid; gap: 14px; }
.geo__group {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    box-shadow: var(--sh-1);
}
.geo__summary {
    display: flex; align-items: center; gap: 12px; padding: 18px 22px;
    list-style: none; cursor: pointer; font-weight: 800; font-size: 18px;
}
.geo__summary::-webkit-details-marker { display: none; }
.geo__summary::after {
    content: ''; width: 9px; height: 9px; margin-inline-start: 4px;
    border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3);
    transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--ease);
}
.geo__group[open] .geo__summary::after { transform: rotate(-135deg) translateY(-2px); }
.geo__icon {
    display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px;
    background: var(--brand-tint); color: var(--brand);
}
.geo__count {
    margin-inline-start: auto; padding: 2px 10px; border-radius: 999px;
    background: var(--bg-soft); color: var(--ink-3); font-size: 13.5px; font-weight: 700;
}
.geo__list {
    list-style: none; margin: 0; padding: 0 22px 20px;
    columns: 5 160px; column-gap: 24px;
}
.geo__list li { break-inside: avoid; }
.geo__list a {
    display: flex; align-items: center; gap: 8px; padding: 6px 0;
    color: var(--ink-2); font-size: 15.5px;
}
.geo__list a::before {
    content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--line); flex: none;
    transition: background .15s ease;
}
.geo__list a:hover { color: var(--brand); }
.geo__list a:hover::before { background: var(--brand); }

/* ================= Отзывы ================= */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: var(--gap); }
.review {
    margin: 0; padding: 26px; display: flex; flex-direction: column; gap: 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1);
}
.review blockquote {
    margin: 0; position: relative; padding-top: 34px;
    font-size: 16.5px; line-height: 1.6; color: var(--ink);
}
.review blockquote::before {
    content: ''; position: absolute; top: 0; inset-inline-start: 0;
    width: 28px; height: 22px;
    background: var(--brand-tint);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V13Q0 4 9 0l2 3q-5 3-5 8h5v11zm16 0V13q0-9 9-13l2 3q-5 3-5 8h5v11z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 22'%3E%3Cpath d='M0 22V13Q0 4 9 0l2 3q-5 3-5 8h5v11zm16 0V13q0-9 9-13l2 3q-5 3-5 8h5v11z'/%3E%3C/svg%3E") center / contain no-repeat;
    background-color: #cfe2f8;
}
.review figcaption {
    margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2);
    display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 14px; color: var(--ink-3);
}
.review__author { font-weight: 700; color: var(--ink); }

/* ================= Марки ================= */
.brands { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.brand {
    display: grid; place-items: center; min-height: 58px; padding: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm);
    color: var(--ink); font-weight: 700; font-size: 16px; letter-spacing: -.01em;
    transition: border-color .2s ease, color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.brand:hover { color: var(--brand); border-color: transparent; box-shadow: var(--sh-2); transform: translateY(-2px); }

/* ================= Общие карточки (внутренние страницы) ================= */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 24px; box-shadow: var(--sh-1);
}

.tile {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: 22px; box-shadow: var(--sh-1);
    transition: transform .25s var(--ease), box-shadow .25s ease;
}
a.tile:hover, .tile:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.tile--icon { display: flex; align-items: flex-start; gap: 15px; }
.tile__icon {
    flex: none; display: grid; place-items: center; width: 48px; height: 48px;
    border-radius: 14px; background: var(--brand-tint); color: var(--brand);
}
.tile__title { display: block; font-weight: 700; color: var(--ink); line-height: 1.35; }
.tile__note { display: block; color: var(--ink-2); font-size: 14.5px; margin: 4px 0 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    display: inline-flex; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 7px 14px; font-size: 14.5px; color: var(--ink-2);
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.chip:hover { border-color: var(--brand-tint); background: var(--brand-tint); color: var(--brand-dark); }

/* ================= Внутренние страницы ================= */
.page-head {
    padding: clamp(24px, 4vw, 44px) 0 clamp(24px, 3.6vw, 40px);
    background:
        radial-gradient(600px 300px at 90% 0%, rgba(6, 163, 194, .10), transparent 70%),
        linear-gradient(180deg, #f7fbff, #fff);
    border-bottom: 1px solid var(--line-2);
}
.crumbs { color: var(--ink-3); font-size: 14.5px; margin-bottom: 12px; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--brand); }
.page-head h1 { margin: 0; font-size: clamp(27px, 4vw, 44px); }
.page-head__note { color: var(--ink-2); margin: 12px 0 0; max-width: 62ch; font-size: 17px; }

.facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; }
.fact {
    display: inline-flex; align-items: center; gap: 8px; background: #fff;
    border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
    font-size: 14.5px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh-1);
}
.fact .icon { color: var(--accent); }

.layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 4.4vw, 56px); padding: clamp(32px, 4.4vw, 56px) 0 clamp(40px, 5vw, 72px);
    align-items: start;
}
.aside { position: sticky; top: 92px; display: grid; gap: 16px; }
.aside__title { font-weight: 800; font-size: 18px; margin-bottom: 12px; }
.aside--call {
    background: linear-gradient(160deg, #f2f8ff 0%, #fff 70%);
    border-color: var(--brand-tint); box-shadow: var(--sh-2);
}
.aside .btn { width: 100%; margin-top: 14px; }
.aside__msgr { margin-top: 12px; gap: 10px; }
.aside__msgr .msgr__btn { padding: 12px 16px; }

/* ================= Текст страницы ================= */
.prose { max-width: 72ch; font-size: 17.5px; color: #1d2c43; overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 1.8em 0 .55em; }
.prose h3 { margin: 1.5em 0 .45em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(11, 107, 214, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose .tel-inline { font-weight: 700; white-space: nowrap; }
.prose img { border-radius: 14px; margin: .6em 0; box-shadow: var(--sh-1); }
.prose ul, .prose ol { padding-inline-start: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--brand); }
.prose blockquote {
    margin: 1.4em 0; padding: 18px 22px; border-inline-start: 3px solid var(--brand);
    background: var(--bg-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.prose table {
    width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.4em 0;
    border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
    font-size: 16px; box-shadow: var(--sh-1);
}
.prose th, .prose td { border-bottom: 1px solid var(--line-2); padding: 13px 16px; text-align: start; }
.prose thead th { background: var(--bg-soft); font-weight: 800; color: var(--ink); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose tbody tr:hover { background: #fafcff; }
.prose td:last-child { font-weight: 700; color: var(--ink); }
/* Цена в прайсе («от 1200») не рвётся — но только в таблицах из трёх и более колонок:
   в статьях последняя колонка — длинный текст, и nowrap растягивал страницу до 2800 px. */
.prose td:last-child:nth-child(n + 3) { white-space: nowrap; }
.prose td ul { margin: 0; padding-inline-start: 18px; }
.prose td li { margin-bottom: .3em; }
.prose figure { margin: 1.4em 0; }
.prose figure img { margin: 0; }
.prose figcaption { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); text-align: center; }

/* ================= Контакты ================= */
.contacts { display: grid; gap: 20px; }
.contacts__block {
    background: #fff; border: 1px solid var(--line); border-radius: var(--r);
    padding: clamp(18px, 3vw, 28px); box-shadow: var(--sh-1);
}
.contacts__title { font-size: 20px; margin: 0 0 14px; }
.contacts__phones, .contacts__offices { display: grid; gap: 10px; }
.contact-phone, .contact-office {
    display: flex; align-items: center; gap: 14px; min-height: 60px;
    padding: 10px 14px; border-radius: var(--r-sm);
    background: var(--bg-soft); color: var(--ink);
    transition: background .15s ease;
}
.contact-office { align-items: flex-start; }
.contact-phone:hover, .contact-office:hover { background: var(--brand-tint); color: var(--ink); }
.contact-phone__icon {
    display: grid; place-items: center; flex: none; width: 40px; height: 40px;
    border-radius: 12px; background: #fff; color: var(--brand); box-shadow: var(--sh-1);
}
.contact-phone__number { display: block; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.contact-phone__label, .contact-office__label { display: block; font-size: 13.5px; color: var(--ink-3); font-weight: 600; }
.contact-office__label { margin-bottom: 2px; }
.contact-office__address { display: block; font-weight: 700; line-height: 1.35; }
.contact-office__map { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; color: var(--brand); }
.contacts__msgr { margin-top: 14px; }
.contacts__note { margin: 16px 0 0; color: var(--ink-2); font-size: 15.5px; overflow-wrap: anywhere; }
.contacts__steps { margin: 0; padding-inline-start: 22px; display: grid; gap: 12px; }
.contacts__steps > li::marker { color: var(--brand); font-weight: 800; }
.contacts__symptoms { margin: 8px 0 0; padding-inline-start: 18px; color: var(--ink-2); display: grid; gap: 4px; }
/* ================= Заявка ================= */
.cta { padding: clamp(40px, 6vw, 80px) 0; background: var(--bg); }
.cta__inner {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: center;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 28px; color: #fff;
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(6, 163, 194, .55), transparent 70%),
        linear-gradient(135deg, #0b5fc4, #083f86);
    box-shadow: var(--sh-3);
}
.cta__title { margin-bottom: 10px; color: #fff; }
.cta__text { margin: 0; color: rgba(255, 255, 255, .86); font-size: 17px; }
.cta__phones { margin-top: 18px; display: flex; gap: 20px; flex-wrap: wrap; }
.cta__phones a { color: #fff; font-weight: 800; font-size: 19px; }
.cta__phones a:hover { color: #fff; opacity: .85; }
.cta__msgr { margin-top: 18px; }

.form {
    display: grid; gap: 10px; padding: 18px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); border-radius: 20px;
}
.form input {
    width: 100%; padding: 15px 16px; border-radius: 14px;
    border: 1px solid transparent; background: #fff;
    font: inherit; font-size: 16px; color: var(--ink);
}
.form input::placeholder { color: var(--ink-3); }
/* Ловушка для ботов остаётся невидимой: общее правило полей её не растягивает. */
.form input.sr-only { width: 1px; padding: 0; border: 0; }
.form input:focus { outline: 3px solid rgba(255, 255, 255, .5); outline-offset: 1px; }
.form .btn { width: 100%; padding: 16px; }
.form__error { margin: 2px 0 0; color: #ffe1cf; font-size: 14px; }
.notice { color: var(--ink); }

/* ================= Подвал ================= */
.footer { background: #0c1a2c; color: #a9bad0; padding: clamp(40px, 5vw, 64px) 0 24px; }
.footer a { color: #e3ecf6; }
.footer a:hover { color: #fff; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: clamp(24px, 3.4vw, 44px); }
.footer__title { color: #fff; font-weight: 800; margin-bottom: 14px; }
.footer__note { color: #8a9eb6; margin: 0; font-size: 15.5px; max-width: 38ch; }
/* Название в футере — тем же знаком, что в шапке; «Холод» на тёмном фоне светлее. */
.footer__brand { font-size: 22px; letter-spacing: -.035em; }
.footer__brand .logo__cold { background-image: linear-gradient(135deg, #7fd3ff 0%, #3fa6f5 100%); }
.footer .phone { color: #e3ecf6; display: block; margin-bottom: 6px; }
.footer .phone:hover { color: #fff; }
.footer__msgr { margin-top: 12px; }
.footer__links { list-style: none; padding: 0; margin: 0; columns: 2; font-size: 15px; }
.footer__links li { margin-bottom: 6px; break-inside: avoid; }
.footer__links a { color: #b8c8da; }
.footer__bottom {
    border-top: 1px solid #1a2c42; margin-top: 36px; padding-top: 20px;
    font-size: 14px; color: #6f849d;
}

/* ================= Мессенджеры ================= */
.msgr { display: flex; gap: 8px; flex-wrap: wrap; }
.msgr__btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 15px; border-radius: 999px; font-weight: 700; font-size: 15px;
    color: #fff; transition: transform .2s var(--ease), filter .15s ease;
}
.msgr__btn:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); }
.msgr__btn--tg { background: #229ed9; }
.msgr__btn--viber { background: #7360f2; }
.msgr--compact .msgr__btn { padding: 9px; }
.msgr--compact .msgr__btn span { display: none; }
.msgr--onblue .msgr__btn { background: rgba(255, 255, 255, .16); }
.msgr--onblue .msgr__btn:hover { background: rgba(255, 255, 255, .26); }
.msgr--stack { flex-direction: column; }
.msgr--stack .msgr__btn { justify-content: center; }

/* ================= Меню-бургер (телефон) ================= */
.burger { display: none; position: relative; }
.burger > summary {
    list-style: none; cursor: pointer;
    display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 14px;
    border: 1px solid var(--line); background: #fff;
}
.burger > summary::-webkit-details-marker { display: none; }
.burger__bars, .burger__bars::before, .burger__bars::after {
    content: ''; display: block; width: 20px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease;
}
.burger__bars::before { transform: translateY(-6px); }
.burger__bars::after { transform: translateY(4px); }
.burger[open] .burger__bars { background: transparent; }
.burger[open] .burger__bars::before { transform: rotate(45deg); }
.burger[open] .burger__bars::after { transform: rotate(-45deg) translateY(-2px); }
.burger__panel {
    position: absolute; inset-inline-end: 0; top: calc(100% + 10px);
    min-width: 240px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--sh-3); display: grid; gap: 2px; z-index: 50;
    animation: dropIn .18s var(--ease) both;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.burger__panel a {
    display: flex; align-items: center; min-height: 48px; padding: 0 14px;
    border-radius: 12px; color: var(--ink); font-weight: 600;
}
.burger__panel a:hover { background: var(--bg-soft); }
/* На телефоне меню — на всю ширину под шапкой, телефоны отделены от разделов. */
@media (max-width: 860px) {
    .burger { position: static; }
    .burger__panel {
        position: absolute; inset-inline: 12px; top: calc(100% + 6px);
        min-width: 0; padding: 10px; border-radius: 20px;
    }
    .burger__panel a { min-height: 52px; font-size: 17px; }
    .burger__panel a[href^="tel:"] { font-weight: 800; color: var(--brand-dark); }
    .burger__panel a[href^="tel:"]:first-of-type { border-top: 1px solid var(--line-2); margin-top: 6px; padding-top: 6px; border-radius: 0 0 12px 12px; }
}

/* ================= Нижняя панель связи (телефон) ================= */
.dock { display: none; }

/* ================= Анимации ================= */
/* Переходы между страницами: браузеры без поддержки просто листают как раньше. */
@view-transition { navigation: auto; }

/* Появление карточек при прокрутке — на CSS, без скрипта. Где animation-timeline
   не поддержан, всё видно сразу. Текст и заголовки не анимируем: если анимация
   где-то не отработает, содержимое не должно остаться невидимым. */
@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .service, .step, .gallery__item, .review, .geo__group, .brand, .tile, .reveal {
            animation: rise linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 20%;
        }
    }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: none; }
}

/* Плашки у фото на первом экране чуть покачиваются — только на ПК: на телефоне
   бесконечная анимация тратит батарею ради украшения. */
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
    .float { animation: bob 6s ease-in-out infinite; }
    .float--b { animation-delay: -3s; }
}
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ================= Адаптив ================= */
@media (max-width: 1080px) {
    .services { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
    .steps::before { display: none; }
}

@media (max-width: 1000px) {
    .hero__inner, .layout, .footer__inner, .cta__inner { grid-template-columns: minmax(0, 1fr); }
    .aside { position: static; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .nav, .header__phones { display: none; }
    .burger { display: block; margin-inline-start: auto; }
    .header__inner { gap: 12px; min-height: 64px; }
    .logo { min-height: 46px; gap: 9px; }
    .logo__name { font-size: 20px; }
    .logo__plus { width: 17px; height: 17px; font-size: 13px; border-radius: 5px; vertical-align: 3px; }
    .logo__tag { font-size: 9.5px; letter-spacing: .12em; }

    /* Панель связи в зоне большого пальца. Сплошной белый фон вместо размытия:
       blur под прокручиваемым контентом — главный источник подтормаживаний. */
    .dock {
        position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
        display: flex; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        background: #fff; border-top: 1px solid var(--line);
        box-shadow: 0 -8px 24px -12px rgba(15, 29, 51, .14);
    }
    .dock__btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        min-height: 52px; border-radius: 16px; font-weight: 700; color: #fff;
        transition: transform .12s ease;
    }
    .dock__btn:active { transform: scale(.97); }
    .dock__btn:hover { color: #fff; }
    .dock__btn--call { flex: 1 1 auto; background: var(--warm); box-shadow: 0 8px 20px -8px rgba(242, 106, 27, .6); }
    .dock__btn--tg { flex: 0 0 56px; background: #229ed9; }
    .dock__btn--viber { flex: 0 0 56px; background: #7360f2; }
    .footer { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }

    /* Цели для пальца — не меньше 44 пикселей. */
    .footer__links a, .cta__phones a {
        display: inline-flex; align-items: center; min-height: 44px;
    }
    /* Номера — каждый своей строкой: inline-flex ставил два телефона в одну, и они читались как один. */
    .footer .phone, .aside .phone { display: flex; align-items: center; width: fit-content; min-height: 44px; margin-bottom: 0; }
    /* Крошки — одной строкой с многоточием: перенос с высокой ссылкой давал дыру в полстроки. */
    .crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .crumbs a { display: inline-block; padding-block: 10px; margin-block: -10px; }
    .chip, .msgr__btn { min-height: 44px; }
    .geo__list a { min-height: 44px; padding: 0; }
    .prose a[href^="tel:"]:not(.tel-inline) {
        display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 18px;
    }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .wrap { width: calc(100% - 32px); }

    .hero { padding: 24px 0 64px; }
    .hero__inner { gap: 28px; }
    .eyebrow { font-size: 13px; margin-bottom: 16px; }
    .hero__lead { margin-bottom: 22px; }
    .hero__actions .btn { flex: 1 1 100%; }
    .checks { grid-template-columns: 1fr 1fr; gap: 10px 12px; margin-top: 22px; }
    .checks li { font-size: 14px; gap: 8px; align-items: flex-start; }
    .checks__icon { width: 22px; height: 22px; margin-top: 1px; }

    /* Фото на телефоне компактнее, плашки — под ним, а не поверх. */
    .hero__visual { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .hero__visual::before { inset: -4% 18% 30%; }
    .hero__visual img { grid-column: 1 / -1; max-width: 200px; border-radius: 22px; }
    .float { position: static; padding: 10px 12px 10px 10px; gap: 9px; white-space: normal; }
    .float__icon { width: 32px; height: 32px; }

    .stats__card { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-inline-start: 0; }
    .stat:nth-child(n + 3) { border-top: 1px solid var(--line-2); }
    .stat__label { font-size: 13.5px; }

    /* Услуги — плитками по две: вдвое короче списка в столбик. */
    .services { gap: 10px; }
    .service { padding: 16px; min-height: 128px; gap: 12px; border-radius: 16px; }
    .service__icon { width: 42px; height: 42px; border-radius: 12px; }
    .service__title { font-size: 15px; padding-inline-end: 0; }
    .service__arrow { display: none; }

    .steps { grid-template-columns: 1fr; row-gap: 0; }
    .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; padding-bottom: 22px; }
    .step::before {
        content: ''; position: absolute; top: 50px; bottom: 4px; inset-inline-start: 22px;
        width: 2px; background: var(--line);
    }
    .step:last-child::before { display: none; }
    .step__num { grid-row: span 2; margin: 0; }
    .step__title { margin: 10px 0 4px; }

    .gallery { gap: 10px; }
    .gallery__item { border-radius: 14px; }
    .gallery__item figcaption { font-size: 12.5px; padding: 28px 10px 9px; }

    .geo__summary { padding: 14px 16px; font-size: 16.5px; }
    .geo__list { padding: 0 14px 12px; columns: 2; column-gap: 12px; }
    .geo__list a { font-size: 14.5px; gap: 6px; letter-spacing: -.01em; line-height: 1.3; padding-block: 5px; }

    .reviews { grid-template-columns: 1fr; }
    .brands { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .brand { min-height: 50px; font-size: 14.5px; }

    .cta { padding: 32px 0; }
    .cta__inner { border-radius: 22px; }
    .cta__phones { gap: 4px 18px; }
    .form { padding: 12px; border-radius: 16px; }
    .footer__links { columns: 1; }

    /* Плашки под заголовком страницы: компактнее, по две в ряд, а не столбиком на полэкрана. */
    .facts { gap: 6px; margin-top: 16px; }
    .fact { padding: 5px 11px; font-size: 13px; gap: 6px; box-shadow: none; }

    /* Подпись к фото поломки — под снимком: поверх маленькой фотографии она закрывала её почти целиком. */
    .gallery__item { aspect-ratio: auto; background: #fff; }
    .gallery__item img { aspect-ratio: 4 / 3; height: auto; }
    .gallery__item figcaption {
        position: static; background: none; color: var(--ink);
        font-size: 13px; line-height: 1.3; padding: 8px 4px 2px;
    }

    .prose table { font-size: 15px; }
    .prose th, .prose td { padding: 10px 12px; }
}

/* Самые узкие телефоны (320–380): таблицы прайса и статей должны влезать без прокрутки вбок. */
@media (max-width: 380px) {
    .prose table { font-size: 14px; }
    .prose th, .prose td { padding: 8px 9px; hyphens: auto; overflow-wrap: break-word; }
    /* В прайсе колонка «№» на таком экране только отнимает место у названия и цены. */
    .prose tr > :first-child:nth-last-child(3) { display: none; }
}

/* Уважаем системную настройку «меньше движения». */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .header, .cta, .footer, .aside, .dock { display: none; }
}

/* Переключатель языка в меню: на старом сайте ссылка на другой язык была на каждой странице. */
.nav a.nav__lang {
    margin-inline-start: 6px; padding-inline: 10px;
    border: 1px solid var(--line); border-radius: 999px;
    font-weight: 700; letter-spacing: .04em; color: var(--brand);
}
.nav a.nav__lang:hover { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }

/* «Всё про холодильник»: карточки статей с началом текста. */
.articles { display: grid; gap: 16px; margin-block: 8px 48px; }
.article-card { display: grid; gap: 8px; }
.article-card__title { font-size: 1.15rem; line-height: 1.3; margin: 0; }
.article-card__title a { color: var(--ink); }
.article-card__title a:hover { color: var(--brand); }
.article-card__date { font-size: .85rem; color: var(--muted, #6b7a8c); }
.article-card__excerpt { margin: 0; color: var(--ink-2, #3b4a5c); }

/* Текст старой главной: длинный, поэтому узкой колонкой для чтения. */
.prose--home { max-width: 860px; }
.prose--home img { max-width: 100%; height: auto; border-radius: 12px; }
