/* ============================================================
   Inter v20 — самохостинг, переменный шрифт (variable font).
   Один файл на subset покрывает все веса 100–900.
   font-display:swap, без запросов к Google Fonts в рантайме.
   ============================================================ */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-cyrillic-ext.woff2') format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ============================================================
   :root — ЕДИНАЯ ПАНЕЛЬ УПРАВЛЕНИЯ ТЕМОЙ
   Меняешь здесь — меняется весь сайт.
   ============================================================ */
:root {
    /* === Примитивные токены (бренд) === */
    --acc: #6ED074;

    /* === Нейтралы === */
    --ink:     #202A24;
    --bg:      #FFFFFF;
    --surface: #FFFFFF;
    --muted:   #5E6B63;
    --hint:    #9AA8A0;
    --border:  rgba(0, 0, 0, 0.06);

    /* === Производные от --acc (пересчитываются автоматически) === */
    --tint:      #F7F7F6;
    --acc-press: color-mix(in srgb, var(--acc) 86%, #000);

    /* === Крупные панели — спокойный тон (не кислотный) === */
    --panel-1:   #5CB85C;
    --panel-2:   #86CF7E;
    --grad-panel: linear-gradient(135deg, var(--panel-1) 0%, var(--panel-2) 100%);
    --grad-soft:  linear-gradient(135deg, color-mix(in srgb, var(--acc) 5%, #fff) 0%, color-mix(in srgb, var(--acc) 3%, #fff) 100%);

    /* === Роли кнопок — инверсия на hover === */
    --btn-bg:   var(--acc);
    --btn-fg:   #fff;
    --btn-bg-h: var(--surface);
    --btn-fg-h: var(--acc);

    /* === Алиасы (совместимость с компонентами из демо) === */
    --brand:       var(--acc);
    --brand-strong: var(--acc);
    --brand-mint:  color-mix(in srgb, var(--acc) 55%, #fff);

    /* === Радиусы === */
    --r-sm:   10px;
    --r-md:   14px;
    --r-lg:   20px;
    --r-xl:   30px;
    --r-pill: 999px;

    /* === Лейаут === */
    --wrap:          1180px;
    --wrap-read:     880px;   /* колонка лонгрида (статья блога) */
    --wrap-pad:      16px;    /* боковые отступы на мобиле */
    --sec-gap:       64px;    /* ритм секций, mobile */

    /* === Высота мобильной панели === */
    --mob-bar-h: 68px;

    /* === Высота шапки === */
    --header-h: 64px;

    /* === Тени === */
    --shadow-btn:   0 4px 14px color-mix(in srgb, var(--acc) 38%, transparent);
    --shadow-card:  0 1px 3px rgba(0, 0, 0, 0.05), 0 8px 24px rgba(0, 0, 0, 0.10);
    --shadow-panel: 0 -2px 12px rgba(0, 0, 0, 0.08);
}

/* Desktop: увеличиваем ритм секций */
@media (min-width: 768px) {
    :root {
        --wrap-pad: 34px;
        --sec-gap:  104px;
        --header-h: 74px;
    }
}


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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    /* Отступ снизу на мобиле — чтобы mob-bar не перекрывал контент */
    padding-bottom: var(--mob-bar-h);
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

p {
    margin: 0;
    color: var(--muted);
}

button {
    font-family: inherit;
    cursor: pointer;
}


/* ============================================================
   Типографика
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
}

h3 {
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 700;
}

/* Акцентное слово в заголовках: зелёное, тяжелее, чуть крупнее */
.mark {
    color: var(--brand-strong);
    font-weight: 900;
    font-size: 1.04em;
}

/* Зелёный цвет — алиас для логотипа и простого окрашивания */
.g {
    color: var(--brand-strong);
}


/* ============================================================
   Контейнер и ритм секций
   ============================================================ */
.wrap {
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: var(--wrap-pad);
}

section {
    padding-block: var(--sec-gap);
}

.sec-intro {
    max-width: 600px;
    margin-bottom: 58px;
}

.sec-intro h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 700;
}


/* ============================================================
   Кнопки
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
    border-radius: var(--r-pill);
    padding: 15px 30px;
    text-decoration: none;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.12s ease;
    white-space: nowrap;
}

/* Основная кнопка: залитая акцентом */
.btn-grad {
    background: var(--btn-bg);
    color: var(--btn-fg);
    border: 2px solid var(--acc);
    box-shadow: var(--shadow-btn);
}

.btn-grad:hover {
    background: var(--btn-bg-h);
    color: var(--btn-fg-h);
    box-shadow: none;
}

.btn-grad:active {
    transform: scale(0.98);
}

/* Вторичная кнопка: контурная */
.btn-out {
    background: transparent;
    color: var(--brand-strong);
    border: 2px solid var(--brand);
    font-weight: 700;
    box-shadow: none;
}

.btn-out:hover {
    background: var(--acc);
    color: var(--btn-fg);
    border-color: var(--acc);
}

.btn-out:active {
    transform: scale(0.98);
}


/* ============================================================
   A11y — видимый фокус
   ============================================================ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--brand-strong);
    outline-offset: 2px;
    border-radius: 6px;
}


/* ============================================================
   B1 — Шапка (position: sticky, mobile-first)
   Breakpoint десктопа: 900px (nav + телефон-текст + CTA).
   Ниже 900px: лого + телефон-иконка + бургер.
   ============================================================ */

/* Скрыть ann-bar без мелькания (класс ставит inline-скрипт в <head>) */
.kln-bar-hidden .ann-bar {
    display: none !important;
}

/* Плашка скрыта до срабатывания таймера (JS убирает класс через 17 с) */
.ann-bar--pending {
    display: none;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    height: var(--header-h);
}

/* Логотип */
.site-logo {
    font-size: 17px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    flex-shrink: 0;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

@media (min-width: 480px) {
    .site-logo {
        font-size: 19px;
    }
}

@media (min-width: 900px) {
    .site-logo {
        font-size: 20px;
    }
}

/* Навигация — скрыта на мобайле, видна на desktop ≥900px */
.site-nav {
    display: none;
    flex: 1;
    margin-left: 8px;
}

@media (min-width: 900px) {
    .site-nav {
        display: block;
    }
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Пункт nav: общая ссылка */
.site-nav__item > a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--r-sm);
    transition: color 0.18s ease, background-color 0.18s ease;
}

.site-nav__item > a:hover {
    color: var(--brand-strong);
    background: var(--tint);
}

/* Активный пункт */
.site-nav__item--active > a,
.site-nav__item--active > .site-nav__toggle {
    color: var(--brand-strong);
    font-weight: 600;
}

/* Тоггл «Услуги» */
.site-nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: color 0.18s ease, background-color 0.18s ease;
    white-space: nowrap;
}

.site-nav__toggle:hover {
    color: var(--brand-strong);
    background: var(--tint);
}

.site-nav__arrow {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Поворот стрелки при открытом dropdown */
.site-nav__item--has-children:hover .site-nav__arrow,
.site-nav__item--has-children:focus-within .site-nav__arrow,
.site-nav__item--has-children.is-open .site-nav__arrow {
    transform: rotate(180deg);
}

/* Dropdown */
.site-nav__item--has-children {
    position: relative;
}

/*
 * Невидимый мост через gap: ::after перекрывает 10px между кнопкой и дропдауном,
 * поэтому :hover на <li> не теряется при диагональном движении мыши вниз.
 */
.site-nav__item--has-children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px; /* чуть больше gap (6px) */
}

.site-nav__dropdown {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    z-index: 100;
    /* Скрытие: задержка 200ms — второй уровень защиты от «соскальзывания» */
    transition: opacity 0.15s ease 200ms, visibility 0ms linear 350ms;
}

/* Показ: hover (мышь) + focus-within (клавиатура) + .is-open (клик) */
@media (hover: hover) {
    .site-nav__item--has-children:hover .site-nav__dropdown {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        /* Показ — мгновенно, без задержки */
        transition: opacity 0.12s ease, visibility 0ms;
    }
}

.site-nav__item--has-children:focus-within .site-nav__dropdown,
.site-nav__item--has-children.is-open .site-nav__dropdown {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.12s ease, visibility 0ms;
}

.site-nav__dd-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    transition: background-color 0.15s, color 0.15s;
}

.site-nav__dd-item > a:hover {
    background: var(--tint);
    color: var(--brand-strong);
}

.site-nav__dd-item--active > a {
    color: var(--brand-strong);
    font-weight: 600;
}

/* Правая часть шапки */
.site-header__right {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

@media (min-width: 900px) {
    .site-header__right {
        gap: 8px;
    }
}

/* Мессенджеры в шапке — только desktop ≥900px */
.site-header__msg--desk {
    display: none;
}

@media (min-width: 900px) {
    .site-header__msg--desk {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: var(--r-sm);
        transition: background-color 0.18s ease;
        flex-shrink: 0;
    }

    .site-header__msg--desk img {
        width: 22px;
        height: 22px;
        display: block;
    }

    .site-header__msg--desk:hover {
        background: var(--tint);
    }
}

/* Телефон-текст: только desktop ≥900px */
.site-header__phone {
    display: none;
}

@media (min-width: 900px) {
    .site-header__phone {
        display: inline;
        font-weight: 700;
        font-size: 15px;
        color: var(--ink);
        white-space: nowrap;
        transition: color 0.18s ease;
    }

    .site-header__phone:hover {
        color: var(--brand-strong);
    }
}

/* CTA: только desktop ≥900px */
.site-header__cta {
    display: none;
}

@media (min-width: 900px) {
    .site-header__cta {
        display: inline-flex;
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Телефон-иконка: только мобайл (< 900px) */
.hdr-phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--ink);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.hdr-phone-icon:hover {
    color: var(--brand-strong);
    background: var(--tint);
}

@media (min-width: 900px) {
    .hdr-phone-icon {
        display: none;
    }
}

/* Бургер: только мобайл (< 900px) */
.hdr-burger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    transition: background-color 0.18s ease;
}

.hdr-burger:hover {
    background: var(--tint);
}

@media (min-width: 900px) {
    .hdr-burger {
        display: none;
    }
}

.hdr-burger__box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 22px;
    height: 22px;
}

.hdr-burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.hdr-burger[aria-expanded="true"] .hdr-burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hdr-burger[aria-expanded="true"] .hdr-burger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hdr-burger[aria-expanded="true"] .hdr-burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ============================================================
   B14 — Подвал
   ============================================================ */
.site-footer {
    background: var(--tint);
    color: var(--ink);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 48px 40px;
}

@media (min-width: 600px) {
    .site-footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px 48px;
    }
}

@media (min-width: 960px) {
    .site-footer__inner {
        grid-template-columns: 1.4fr 1fr 1.2fr;
        gap: 40px 60px;
        align-items: start;
    }
}

/* Логотип в подвале */
.site-logo--light {
    color: var(--ink);
}

.site-footer__tagline {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
    margin-top: 10px;
}

/* Контакты */
.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 700;
    font-size: 17px;
    color: var(--ink);
    transition: color 0.18s ease;
}

.site-footer__phone svg {
    color: var(--acc);
    flex-shrink: 0;
}

.site-footer__phone:hover {
    color: var(--acc);
}

.site-footer__addr {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.site-footer__addr svg {
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--hint);
}

/* Мессенджеры / соцсети в подвале */
.site-footer__msgs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.site-footer__msg-icon {
    display: block;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-footer__msg-icon:hover {
    transform: translateY(-2px);
    opacity: 0.82;
}

.site-footer__msg-icon img {
    width: 40px;
    height: 40px;
    display: block;
}

/* Навигация в подвале */
.site-footer__nav-title {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

.site-footer__nav-list {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.site-footer__nav-list a {
    font-size: 14px;
    color: var(--muted);
    transition: color 0.18s ease;
}

.site-footer__nav-list a:hover {
    color: var(--ink);
}

/* Нижняя юридическая полоса */
.site-footer__bottom {
    border-top: 1px solid var(--border);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 20px;
    padding-block: 14px;
}

.site-footer__bottom-inner p {
    font-size: 12px;
    color: var(--hint);
}

.site-footer__legal {
    font-size: 12px;
    color: var(--hint);
    text-align: right;
}

@media (max-width: 599px) {
    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }
    .site-footer__legal {
        text-align: left;
    }
}

.site-footer__payments {
    background: #1C1C1E;
    padding-block: 16px;
}

.site-footer__payments .wrap {
    display: flex;
    justify-content: center;
}

.site-footer__payments img {
    max-width: 860px;
    width: 100%;
    height: auto;
    opacity: .75;
}

@media (max-width: 599px) {
    .site-footer__payments {
        padding-block: 12px;
    }
}


/* ============================================================
   B15 — Липкая нижняя панель (только мобайл < 768px)
   ============================================================ */
.mob-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    height: var(--mob-bar-h);
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-panel);
}

/* Скрыть на планшете и десктопе */
@media (min-width: 768px) {
    .mob-bar {
        display: none;
    }
}

.mob-bar__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 44px; /* тач-цель */
    padding: 8px 4px;
    color: var(--muted);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: color 0.18s ease, background-color 0.18s ease;
    border-right: 1px solid var(--border);
}

.mob-bar__btn:last-child {
    border-right: none;
}

.mob-bar__btn:hover,
.mob-bar__btn:focus-visible {
    color: var(--brand-strong);
    background: var(--tint);
}

.mob-bar__btn svg,
.mob-bar__btn img {
    flex-shrink: 0;
}


/* ============================================================
   B2 — Hero (mobile-first: 1 кол → 2 на ≥768px)
   ============================================================ */

/* Переопределяем стандартный padding секции */
.hero {
    padding-block-start: 36px;
    padding-block-end: 72px;
    /* Сетка прямо на .wrap, как в демо */
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.hero .sub {
    font-size: 16px;
    max-width: 440px;
    margin-top: 20px;
    color: var(--muted);
}

.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}
.hero-home__text .hero__ctas {
    flex-direction: column;
}
.hero-home__text .hero__ctas .btn {
    width: 100%;
}

/* Карточка с фото — mobile: выводится первой */
.hero-card {
    background: var(--grad-panel);
    border-radius: var(--r-xl);
    min-height: 300px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    order: -1;
}

/* Верхняя полоска внутри hero-card: телефон + кнопка */
.topbar {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    color: var(--surface);
}

.topbar__phone {
    font-weight: 700;
    font-size: 14px;
    display: none;
}

@media (min-width: 480px) {
    .topbar__phone {
        display: inline;
    }
}

/* Пилюля «Перезвонить» — белая на зелёном */
.recall {
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    color: var(--brand-strong);
    border-radius: var(--r-pill);
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease;
}

.recall:hover {
    background: var(--surface);
}

/* Плейсхолдер фото */
.photo-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: color-mix(in srgb, var(--surface) 92%, transparent);
    font-size: 14px;
    padding-block: 60px 40px;
    width: 100%;
    text-align: center;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding-block-start: 56px;
        padding-block-end: 116px;
    }

    .hero .sub {
        font-size: 17px;
        margin-top: 26px;
    }

    .hero__ctas {
        margin-top: 36px;
    }

    .hero-card {
        min-height: 440px;
        order: 0;
    }
}


/* ============================================================
   B2-home — Hero главной (выбор услуги + фото владелицы)
   Mobile-first: 1 кол → 2 кол на ≥768px
   ============================================================ */
.hero-home {
    padding-block-start: 36px;
    padding-block-end: 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
}

.hero-home__text .sub {
    font-size: 16px;
    max-width: 480px;
    margin-top: 18px;
    color: var(--muted);
}

/* ─ Сетка выбора услуги ─ */
.hero-pick {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 28px;
}

.hero-pick__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    color: inherit;
    min-height: 44px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.hero-pick__item::after {
    content: '↗';
    position: absolute;
    top: 10px;
    right: 11px;
    font-size: 13px;
    line-height: 1;
    color: var(--hint);
    transition: color 0.18s ease, transform 0.18s ease;
}

.hero-pick__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: color-mix(in srgb, var(--acc) 28%, var(--border));
}

.hero-pick__item:hover::after {
    color: var(--acc);
    transform: translate(2px, -2px);
}

.hero-pick__ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: color-mix(in srgb, var(--acc) 11%, #fff);
    color: var(--acc);
    flex-shrink: 0;
}

.hero-pick__ic svg {
    width: 20px;
    height: 20px;
}

.hero-pick__name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

.hero-pick__price {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    margin-top: auto;
}

/* Кликабельный номер телефона */
.hero-home__call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    font-size: clamp(28px, 4vw, 32px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.18s ease;
}

.hero-home__call-ic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--acc) 11%, #fff);
    color: var(--acc);
    flex-shrink: 0;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.hero-home__call:hover {
    color: var(--acc);
}

.hero-home__call:hover .hero-home__call-ic {
    background: var(--acc);
    color: var(--surface);
}

/* ─ Фото владелицы ─ */

/* Единый паттерн: карточка с position:relative, градиент снизу, бейдж абсолют */
.hero-home__photo {
    position: relative;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--grad-soft);
    /* Mobile: показываем всё лицо + подпись на шее/плечах */
    height: 320px;
}

/* Градиент снизу — подложка для белого текста бейджа */
.hero-home__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        color-mix(in srgb, var(--ink) 68%, transparent) 0%,
        transparent 48%
    );
    pointer-events: none;
}

.hero-home__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    /* center top — показывает с самой макушки, лицо не срезается */
    object-position: center top;
}

.hero-home__photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--acc);
    opacity: 0.35;
}

/* Бейдж — прозрачный, белый текст поверх градиента */
.hero-home__badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 1;
}

.hero-home__badge-name {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--surface);
    line-height: 1.2;
}

.hero-home__badge-role {
    display: block;
    font-size: 12px;
    color: color-mix(in srgb, var(--surface) 72%, transparent);
    margin-top: 2px;
}

@media (min-width: 768px) {
    .hero-home {
        grid-template-columns: 1.1fr 0.85fr;
        gap: 56px;
        padding-block-start: 56px;
        padding-block-end: 100px;
        align-items: center;
    }

    .hero-home__text .sub {
        font-size: 17px;
        margin-top: 22px;
    }

    .hero-home__text .hero__ctas {
        flex-direction: row;
    }
    .hero-home__text .hero__ctas .btn {
        width: auto;
    }

    .hero-pick {
        grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
        gap: 12px;
        margin-top: 32px;
    }

    .hero-home__photo {
        order: 0;
        height: 460px;
        max-width: 360px;
        justify-self: center;
    }

    .hero-home__img {
        object-position: center 8%;
    }
}


/* ============================================================
   B4 — Сетка услуг (cards / scard) — 1→2→3 кол
   ============================================================ */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

@media (min-width: 768px) {
    .cards {
        gap: 24px;
    }
}

.scard {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 210px;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    border: 1.5px solid rgba(0,0,0,0.09);
    text-decoration: none;
    color: inherit;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.scard:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.14);
    border-color: var(--acc);
}

.scard .ph {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--acc) 8%, #fff);
    color: var(--acc);
}

.scard .ph::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--acc) 28%, #fff);
}

.scard .ph svg {
    position: relative;
    width: 34px;
    height: 34px;
}

.scard .lbl {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    background: var(--ink);
    color: var(--surface);
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
}

.scard .lbl::after {
    content: '↗';
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 14px;
    color: rgba(255,255,255,0.35);
    font-weight: 400;
    transition: color 0.2s ease, transform 0.2s ease;
}

.scard:hover .lbl::after {
    color: var(--acc);
    transform: translate(2px, -2px);
}

.scard .lbl small {
    display: block;
    font-weight: 500;
    color: color-mix(in srgb, var(--acc) 65%, #fff);
    font-size: 12px;
    margin-top: 4px;
    opacity: 1;
}


/* ============================================================
   B8 — Доверие (feats / feat / ic) — 1→2→4 кол
   ============================================================ */
.feats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 480px) {
    .feats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .feats {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
}

.feat .ic {
    width: 54px;
    height: 54px;
    border-radius: var(--r-md);
    background: color-mix(in srgb, var(--acc) 11%, #fff);
    color: var(--acc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.feat h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.feat p {
    font-size: 14px;
}


/* ============================================================
   B5 — Калькулятор (.calcband / .calc)
   ============================================================ */
.calcband {
    background: var(--grad-soft);
    border-radius: var(--r-xl);
    /* Внутри .wrap из section не нужен — calcband сам ограничивает ширину */
}

.calcband__inner {
    padding-block: 40px;
    padding-inline: var(--wrap-pad);
}

@media (min-width: 768px) {
    .calcband__inner {
        padding-block: 48px;
    }
}

.calc {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 20px;
    max-width: 560px;
    box-shadow: var(--shadow-card);
}

@media (min-width: 480px) {
    .calc {
        padding: 24px;
    }
}

/* --- Вкладки (multi-service) --- */
.calc-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.tab {
    flex: 1;
    min-width: 100px;
    text-align: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    padding: 11px 8px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    min-height: 44px; /* тач-цель */
}

.tab.on,
.tab[aria-selected="true"] {
    background: var(--acc);
    color: var(--btn-fg);
    border-color: var(--acc);
}

/* --- Метка над контролами --- */
.calc-label {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin: 0 0 8px;
}

/* --- Пилюли (комнаты, тарифы, сезон) --- */
.pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.pill {
    flex: 1;
    min-width: 52px;
    text-align: center;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    padding: 11px 6px;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    min-height: 44px; /* тач-цель */
}

.pill.on {
    background: var(--acc);
    color: var(--btn-fg);
    border-color: var(--acc);
}

/* --- Чипы (допы генеральной) --- */
.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.chip {
    font-family: inherit;
    font-size: 13px;
    padding: 9px 13px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
    min-height: 44px; /* тач-цель */
    display: inline-flex;
    align-items: center;
}

.chip.on {
    background: color-mix(in srgb, var(--acc) 9%, #fff);
    color: var(--acc);
    border-color: var(--acc);
    font-weight: 500;
}

/* --- М² поле ввода --- */
.m2row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.m2-input {
    width: 100px;
    font-family: inherit;
    font-size: 16px; /* ≥16px — без авто-зума на iOS */
    padding: 10px 12px;
    border-radius: var(--r-sm);
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: var(--bg);
    color: var(--ink);
    min-height: 44px; /* тач-цель */
}

.m2-input:focus {
    outline: 2px solid var(--acc);
    outline-offset: 1px;
    border-color: transparent;
}

.m2-unit {
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* --- Сезон (тумблер для окон) --- */
.seasons {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

/* --- Скрытый панель (multi-tab) --- */
.calc-panel--hidden {
    display: none;
}

/* --- Итого --- */
.ctot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.ctot__label {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 2px;
}

.ctot__value {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 800;
    color: var(--ink);
}

.ctot__value.bump {
    animation: pop 0.22s ease;
}

@keyframes pop {
    0%   { transform: scale(1); }
    45%  { transform: scale(1.07); }
    100% { transform: scale(1); }
}

.cnote {
    font-size: 11px;
    color: var(--hint);
    margin-top: 10px;
}


/* ============================================================
   Прайс-таблицы (.price-tables / .ptable-card / .ptable)
   ============================================================ */
.price-tables {
    max-width: 640px;
    margin-inline: auto;
}

/* Текстовые секции страницы цен — те же правила, что у .usluga-section */
.sec-price-factors {
    padding-block: 0;
    margin-top: 36px;
}
@media (min-width: 768px) {
    .sec-price-factors {
        margin-top: 48px;
    }
}

.sec-prices__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 18px;
    color: var(--muted);
    font-size: 15px;
}

/* Карточка одной услуги */
.ptable-card {
    background: var(--surface);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--r-lg);
    padding: 20px 22px 18px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 22px rgba(0, 0, 0, 0.05);
}

.ptable-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.ptable-card__label {
    font-size: clamp(16px, 2vw, 19px);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

/* Бейдж «от N руб» */
.ptable-badge {
    background: color-mix(in srgb, var(--acc) 12%, transparent);
    color: color-mix(in srgb, var(--acc) 80%, #000);
    border-radius: var(--r-pill);
    padding: 4px 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Обёртка для горизонтального скролла на узких экранах */
.ptable-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-inline: -4px;
    padding-inline: 4px;
}

.ptable {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    margin-bottom: 12px;
    min-width: 260px;
}

.ptable th,
.ptable td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.ptable th {
    font-weight: 600;
    color: var(--muted);
    background: var(--tint);
    font-size: 13px;
}

.ptable tbody tr:hover td {
    background: color-mix(in srgb, var(--tint) 60%, transparent);
}

.ptable td:last-child,
.ptable th:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--acc);
}

.ptable--addons td:first-child {
    color: var(--muted);
}

.ptable-sub {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 8px;
    margin-top: 16px;
}

.ptable-note {
    font-size: 13px;
    color: var(--hint);
    margin-top: 8px;
}

/* Десктоп: 2 колонки masonry — плотная упаковка карточек разной высоты, без рваных пустот */
@media (min-width: 1000px) {
    .price-tables {
        max-width: 1060px;
        column-count: 2;
        column-gap: 24px;
    }
    .price-tables--single {
        max-width: 640px;
        column-count: 1;
    }
    .ptable-card {
        padding: 24px 28px 22px;
        break-inside: avoid;
    }
}

/* Мостик → конфигуратор */
.sec-bridge {
    padding-block: 48px;
    text-align: center;
}

.sec-bridge__text {
    color: var(--muted);
    font-size: 17px;
    margin-bottom: 24px;
}

/* Hero без зелёной карточки — одноколоночный, компактный */
.hero--no-card {
    grid-template-columns: 1fr !important;
    padding-block-start: 28px;
    padding-block-end: 12px;
}

.hero--no-card .hero__text {
    max-width: 680px;
}

.hero--no-card .sub {
    max-width: 560px;
}

/* Страница услуги: герой + конфигуратор = ОДИН блок.
   Общий фон даёт обёртка .usluga-intro (на всю ширину); у конфигуратора
   собственный фон снимаем — нет шва и «ступеньки». H1 → подзаголовок →
   расчёт читаются как единая вводная зона, калькулятор виден сразу при входе.
   Затрагивает только услуги (.hero--no-card идёт сразу перед .cfg внутри
   обёртки); главную/цены не задевает. */
.usluga-intro {
    background: var(--grad-soft);
}

.usluga-intro .cfg {
    background: transparent;
    padding-block-end: 36px;   /* короткий «хвост» под расчётом — следующий блок выше */
}

.hero--no-card + .cfg {
    padding-block-start: 24px;
}

@media (min-width: 768px) {
    .hero--no-card {
        padding-block-start: 40px;
        padding-block-end: 16px;
    }
    .hero--no-card + .cfg {
        padding-block-start: 32px;
    }
}


/* Плашки-преимущества на первом экране услуги (белые на зелёном фоне intro) */
.hero__chips {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--acc) 22%, transparent);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
}
.chip__ic {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--acc);
}
.chip__ic svg {
    width: 18px;
    height: 18px;
}
.chip__link {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: color-mix(in srgb, var(--muted) 50%, transparent);
    margin-left: 2px;
    white-space: nowrap;
    transition: color 0.15s;
}
.chip__link:hover {
    color: var(--ink);
    text-decoration-color: var(--muted);
}


/* ============================================================
   Страница услуги — rich-секции, чек-листы, блок-доказательство
   ============================================================ */

/* Текстовые H2-секции идут подряд как единый блок прозы — убираем двойные
   секционные отступы (104+104px) между ними. Крупные зоны (расчёт/текст/
   доказательство/прайс) разделяются своими секционными отступами. */
.usluga-section {
    padding-block: 0;
}
.usluga-section h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 700;
}
.usluga-section + .usluga-section {
    margin-top: 52px;
}
@media (min-width: 768px) {
    .usluga-section h2 {
        margin-bottom: 20px;
    }
    .usluga-section + .usluga-section {
        margin-top: 72px;
    }
}

.usluga-section__body p {
    margin: 0 0 14px;
}
.usluga-section__body p:last-child {
    margin-bottom: 0;
}
.usluga-section__body a:not(.btn) {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.usluga-section__body .u-lead {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--acc);
    margin: 22px 0 8px;
}
.usluga-section__body .u-lead:first-child { margin-top: 0; }

/* Чек-лист с зелёной галочкой */
.u-check {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.u-check li {
    position: relative;
    padding-left: 30px;
}
.u-check li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--acc) 16%, #fff);
}
.u-check li::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--acc);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Медиа-блок услуги: видео-процесс / хук-фото (одиночное портретное медиа) */
.u-fig-intro {
    margin-bottom: 24px;
}
.u-fig {
    max-width: 340px;
    margin: 0 auto;
    text-align: center;
}
.u-fig img,
.u-fig video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-card);
}
.u-fig video {
    background: #000;
}
.u-fig figcaption {
    margin-top: 12px;
    color: var(--muted);
    font-size: 14px;
}

/* Видео-процесс — подтянут высоко, сразу под расчётом */
.usluga-figure.u-process {
    padding-block: 40px 56px;
}

/* Хук «помыли раму снизу?» — подпись крупнее и акцентом (вопрос-крючок) */
.u-hook .u-fig figcaption {
    color: var(--ink);
    font-weight: 700;
    font-size: 18px;
}


/* ============================================================
   B7 — Как работаем (.steps-grid / .step-card)
   ============================================================ */
.steps-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 560px) {
    .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 22px 20px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--acc);
    color: var(--surface);
    font-size: 15px;
    font-weight: 800;
    flex-shrink: 0;
    line-height: 1;
}

.step-ic {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--acc) 11%, #fff);
    border-radius: var(--r-md);
    color: var(--acc);
    flex-shrink: 0;
}

.step-card h3 {
    font-size: 17px;
}

.step-card p {
    font-size: 14px;
}


/* ============================================================
   B11 — FAQ (нативный details/summary, без JS)
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 780px;
}

.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.faq-list details[open] {
    border-color: color-mix(in srgb, var(--acc) 25%, var(--border));
}

.faq-list summary {
    padding: 17px 20px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    color: var(--ink);
    transition: color 0.18s ease;
    user-select: none;
}

/* Убираем дефолтный маркер во всех браузерах */
.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: '+';
    flex-shrink: 0;
    font-size: 22px;
    font-weight: 300;
    color: var(--acc);
    line-height: 1;
    transition: transform 0.22s ease;
}

.faq-list details[open] > summary {
    color: var(--acc);
}

.faq-list details[open] > summary::after {
    transform: rotate(45deg);
}

.faq-list details > div {
    padding: 0 20px 18px;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}
.faq-list details > div a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 3px;
}


/* ============================================================
   B12 — Форма заявки (.sec-form / .leadwrap / .leadcard)
   ============================================================ */
.sec-form {
    background: var(--grad-soft);
}

.leadwrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 768px) {
    .leadwrap {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 56px;
    }
}

.lead-text h2 {
    margin-bottom: 16px;
}

.lead-text p {
    font-size: 16px;
    max-width: 440px;
}

.leadcard {
    background: var(--grad-panel);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    color: var(--surface);
}

@media (min-width: 480px) {
    .leadcard {
        padding: 36px 32px;
    }
}

.leadcard__title {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 800;
    color: var(--surface);
    margin: 0 0 6px;
    line-height: 1.2;
}

.leadcard__sub {
    font-size: 14px;
    color: color-mix(in srgb, var(--surface) 85%, transparent);
    margin: 0 0 20px;
}

/* Поля формы: белый фон, единый стиль */
.leadcard input:not([type="hidden"]):not([type="checkbox"]),
.leadcard select,
.leadcard textarea {
    display: block;
    width: 100%;
    background: var(--surface);
    border: none;
    border-radius: var(--r-sm);
    padding: 14px 16px;
    font-family: inherit;
    font-size: 16px; /* ≥16px — без авто-зума на iOS */
    color: var(--ink);
    min-height: 44px; /* тач-цель */
    margin-bottom: 10px;
    -webkit-appearance: none;
    appearance: none;
    line-height: 1.4;
}

.leadcard input::placeholder,
.leadcard textarea::placeholder {
    color: var(--hint);
}

.leadcard textarea {
    resize: vertical;
    min-height: 80px;
    margin-bottom: 10px;
}

/* Обёртка select — кастомная стрелка без hex-цветов */
.leadcard .select-wrap {
    position: relative;
}

.leadcard .select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
}

.leadcard .select-wrap select {
    padding-right: 38px;
    cursor: pointer;
}

/* Подпись под временем */
.leadcard .field-note {
    font-size: 12px;
    color: color-mix(in srgb, var(--surface) 75%, transparent);
    margin: -4px 0 12px;
    line-height: 1.4;
}

/* Кнопка: белая с зелёным текстом (--acc) */
.leadcard .btn {
    display: flex;
    width: 100%;
    justify-content: center;
    background: var(--surface);
    color: var(--acc);
    border: 2px solid var(--surface);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--r-pill);
    padding: 15px 30px;
    cursor: pointer;
    margin-top: 6px;
    min-height: 44px;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.leadcard .btn:hover {
    background: transparent;
    color: var(--surface);
    border-color: var(--surface);
}

.leadcard .btn:active {
    transform: scale(0.98);
}

/* Honeypot — визуально скрыт от людей, в DOM виден ботам */
.kln-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}


/* ============================================================
   Конфигуратор (.cfg) — Шаг 1: выбор услуги + параметры + цена
   ============================================================ */

/* Секция-обёртка */
.cfg {
    background: var(--grad-soft);
}

.cfg__inner {
    /* padding от section { padding-block: var(--sec-gap) } */
}

/* Метка шага */
.cfg__step {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--acc);
    background: var(--tint);
    padding: 4px 14px;
    border-radius: var(--r-pill);
    margin: 0 0 20px;
}

/* Тело: на мобиле — колонка, на десктопе — сетка */
.cfg__body {
    display: grid;
    gap: 16px;
}

@media (min-width: 768px) {
    .cfg__body {
        grid-template-columns: 264px 1fr;
        gap: 20px;
        align-items: start;
    }
}

/* ── Карточки услуг ────────────────────────────────────────────────────────── */
.cfg__services {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cfg-srv {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    min-height: 60px;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.cfg-srv:hover {
    border-color: color-mix(in srgb, var(--acc) 40%, transparent);
    background: color-mix(in srgb, var(--acc) 5%, #fff);
}

.cfg-srv.on {
    border-color: var(--acc);
    background: color-mix(in srgb, var(--acc) 9%, #fff);
}

.cfg-srv__icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    color: var(--hint);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.18s ease;
}

.cfg-srv__icon svg {
    width: 32px;
    height: 32px;
}

.cfg-srv.on .cfg-srv__icon {
    color: var(--acc);
}

.cfg-srv__text {
    flex: 1;
    min-width: 0;
}

.cfg-srv__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
}

.cfg-srv__sub {
    display: block;
    font-size: 11px;
    color: var(--hint);
    margin-top: 2px;
}

.cfg-srv__from {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.18s ease;
}

.cfg-srv.on .cfg-srv__from {
    color: var(--acc);
}

/* ── Панели параметров ─────────────────────────────────────────────────────── */
.cfg__panels {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow-card);
}

@media (min-width: 480px) {
    .cfg__panels {
        padding: 24px;
    }
}

/* Скрытая панель */
.cfg-panel--hidden {
    display: none;
}

/* ── Допы-чекбоксы ─────────────────────────────────────────────────────────── */
.cfg-addons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.cfg-add {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: var(--r-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    transition: border-color 0.18s ease, background 0.18s ease;
    min-height: 44px;
    user-select: none;
}

.cfg-add:has(.cfg-add__chk:checked) {
    background: var(--tint);
    border-color: var(--acc);
}

/* Кастомный чекбокс */
.cfg-add__chk {
    flex-shrink: 0;
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--hint);
    background: var(--surface);
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.cfg-add__chk:checked {
    background: var(--acc);
    border-color: var(--acc);
}

.cfg-add__chk:checked::after {
    content: '';
    position: absolute;
    left: 3px;
    top: 7px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}

.cfg-add__chk:focus-visible {
    outline: 2px solid var(--acc);
    outline-offset: 2px;
}

.cfg-add__name {
    flex: 1;
    font-size: 14px;
    color: var(--ink);
    line-height: 1.3;
}

.cfg-add__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.15s;
}

.cfg-add:has(.cfg-add__chk:checked) .cfg-add__price {
    color: var(--acc);
}

/* ── Итого (футер панели) ──────────────────────────────────────────────────── */
.cfg__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cfg__foot-total {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cfg__foot-label {
    font-size: 12px;
    color: var(--muted);
}

.cfg__value {
    font-size: clamp(22px, 5vw, 28px);
    font-weight: 800;
    color: var(--acc);
    line-height: 1.1;
}

.cfg__value.bump {
    animation: pop 0.22s ease;
}

.cfg__foot-note {
    font-size: 11px;
    color: var(--hint);
}

/* .cfg__next наследует .btn .btn-grad (пилюля) */
.cfg__next {
    flex-shrink: 0;
}

/* ── Утилита: скрытый шаг ─────────────────────────────────────────────────── */
.cfg-step--hidden {
    display: none !important;
}

/* ── Конфигуратор Шаг 2 (.cfg__step2) ─────────────────────────────────────── */
.cfg__step2 {
    background: var(--surface);
    border-radius: var(--r-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    max-width: 560px;
    margin-inline: auto;
}

@media (min-width: 480px) {
    .cfg__step2 {
        padding: 28px 32px;
    }
}

/* Сводка выбора из Шага 1 */
.cfg2__summary {
    font-size: 13px;
    font-weight: 600;
    color: var(--acc);
    background: color-mix(in srgb, var(--acc) 9%, #fff);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    margin: 0 0 20px;
    line-height: 1.5;
    word-break: break-word;
}

/* Строка поля */
.cfg2__row {
    margin-bottom: 14px;
}

/* Двухколоночная строка: дата + время */
.cfg2__row--2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Метка поля */
.cfg2__label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    margin-bottom: 6px;
}

.cfg2__opt {
    font-weight: 400;
    color: var(--hint);
}

/* Поля ввода Шага 2 */
.cfg2__input {
    display: block;
    width: 100%;
    font-family: inherit;
    font-size: 16px; /* ≥16px — без авто-зума на iOS */
    color: var(--ink);
    background: var(--bg);
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: var(--r-sm);
    padding: 12px 14px;
    min-height: 44px;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.4;
    transition: border-color 0.18s ease;
}

.cfg2__input::placeholder {
    color: var(--hint);
}

.cfg2__input:focus {
    outline: 2px solid var(--acc);
    outline-offset: 1px;
    border-color: transparent;
}

.cfg2__input[type="date"] {
    cursor: pointer;
}

/* Select — обёртка с кастомной стрелкой */
.cfg2__select-wrap {
    position: relative;
}

.cfg2__select-wrap::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--muted);
    font-size: 16px;
    line-height: 1;
}

.cfg2__select-wrap .cfg2__input {
    padding-right: 36px;
    cursor: pointer;
}

/* Textarea */
.cfg2__input[rows] {
    resize: vertical;
    min-height: 76px;
}

/* Подпись под временем */
.cfg2__field-note {
    font-size: 12px;
    color: var(--hint);
    margin: -8px 0 14px;
    line-height: 1.4;
}

/* Сообщение об ошибке */
.cfg2__error {
    font-size: 13px;
    font-weight: 500;
    color: #C8373C;
    margin: 0 0 10px;
    line-height: 1.4;
}

/* Кнопки Шага 2 */
.cfg2__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.cfg__submit {
    flex: 1;
}

/* «← Назад» — вторичная пилюля (btn-out уже есть в теме) */
.cfg__back {
    flex-shrink: 0;
}

/* Блок «Спасибо» */
.cfg__thanks {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 36px 24px;
    background: var(--tint);
    border-radius: var(--r-lg);
    border: 2px solid var(--acc);
    color: var(--acc);
}

.cfg__thanks svg {
    color: var(--acc);
    flex-shrink: 0;
}

.cfg__thanks p {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.cfg__thanks-sub {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--muted) !important;
    margin: 0;
}


/* ============================================================
   Анимации UI — только transform/opacity (compositor thread).
   Нет JS. Нет reflow. LCP-safe: H1 и hero-img не затронуты.
   prefers-reduced-motion закрыт глобальным блоком ниже.
   ============================================================ */

/* 1 — Кнопка: блик «только что вымыто» (cleaning signature) */
.btn-grad {
    position: relative;
    overflow: hidden;
}
.btn-grad::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        110deg,
        transparent 30%,
        rgba(255, 255, 255, 0.26) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    animation: btn-shine 5s linear infinite;
    animation-delay: 3s;
    pointer-events: none;
}
.btn-grad:hover::after {
    animation-play-state: paused;
}
@keyframes btn-shine {
    0%   { transform: translateX(-100%); }
    14%  { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

/* 2 — Иконки фич и шагов: pop на hover */
.feat .ic,
.step-ic {
    transition: transform 0.18s ease;
}
.feat:hover .ic,
.step-card:hover .step-ic {
    transform: scale(1.10);
}

/* 3 — Карточки фич: лёгкий lift */
.feat {
    transition: transform 0.20s ease;
}
.feat:hover {
    transform: translateY(-3px);
}

/* 4 — Карточки шагов: lift + усиленная тень */
.step-card {
    transition: transform 0.20s ease, box-shadow 0.20s ease;
}
.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 14px 36px rgba(0, 0, 0, 0.13);
}


/* ============================================================
   @media (prefers-reduced-motion: reduce)
   Выключаем все анимации и переходы.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* Гид по доп.услугам — фото по степени загрязнения */
.usluga-addons .sec-intro { margin-bottom: 28px; }
.addon-list { display: flex; flex-direction: column; gap: 34px; max-width: 860px; margin: 0 auto; }
.addon-row__name { font-size: 18px; margin: 0 0 14px; }
.addon-degrees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 560px) { .addon-degrees { grid-template-columns: repeat(2, 1fr); } }
.addon-degree, .addon-wide { margin: 0; }
.addon-degree img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.addon-wide img { display: block; width: 100%; max-width: 520px; height: auto; border-radius: var(--r-md); box-shadow: var(--shadow-card); }
.addon-degree figcaption, .addon-wide figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 8px; }
.addon-degree__label { color: var(--muted); font-size: 14px; }
.addon-degree__price { font-weight: 800; color: var(--ink); white-space: nowrap; }
.addon-row__note { color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.addon-simple { margin-top: 30px; max-width: 860px; margin-inline: auto; }
.addon-foot { color: var(--muted); font-size: 14px; margin-top: 26px; text-align: center; }

/* ── Кнопка «Оплатить договор» ── */
.cfg-pay--hidden { display: none !important; }
.cfg2__pay { flex-basis: 100%; }

/* ── Баннер возврата с платёжной страницы ── */
.kln-pay-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 14px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}
.kln-pay-banner::after {
    content: ' ×';
    opacity: 0.6;
}
.kln-pay-banner--success {
    background: var(--tint);
    color: var(--acc);
    border-bottom: 3px solid var(--acc);
}
.kln-pay-banner--fail {
    background: #fdf2f2;
    color: #b91c1c;
    border-bottom: 3px solid #ef4444;
}
.kln-pay-banner--pending {
    background: #fefce8;
    color: #92400e;
    border-bottom: 3px solid #f59e0b;
}

/* Правая колонка героя (вместо hero-card) — скрыта на мобайле */
.hero__right { display: none; }
@media (min-width: 768px) {
    .hero__right { display: flex; align-items: center; justify-content: center; }
}

/* Кнопки во всю ширину столбцом (мобайл промо) */
.hero__ctas--full { flex-direction: column; }
.hero__ctas--full .btn { width: 100%; text-align: center; }
@media (min-width: 768px) {
    /* На десктопе откатываем к стандартному виду */
    .hero__ctas--full { flex-direction: row; }
    .hero__ctas--full .btn { width: auto; }
}

/* Inline-слот (купон на мобайле) — скрываем на десктопе */
.hero__inline-slot { margin-top: 22px; }
@media (min-width: 768px) { .hero__inline-slot { display: none; } }

/* Промо-купон */
.promo-coupon { display: flex; align-items: center; gap: 18px; max-width: 460px; padding: 22px 26px; background: #fff; border: 2px dashed var(--acc); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.promo-coupon__disc { font-size: 38px; font-weight: 900; color: var(--acc); line-height: 1; white-space: nowrap; }
.promo-coupon__code { font-size: 18px; color: var(--ink); }
.promo-coupon__code b { letter-spacing: 0.04em; }
.promo-coupon__text { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ============================================================
   Страница «Контакты» — карточка контактов (.kln-cc)
   Выводится дважды: .hero__inline-slot (mobile) + .hero__right (desktop ≥768).
   CSS already handles visibility: inline-slot hidden ≥768, hero__right hidden <768.
   ============================================================ */
.kln-cc {
    background: var(--surface);
    border-radius: var(--r-xl);
    padding: 28px 24px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.kln-cc__name {
    font-size: 12px;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 0;
}

.kln-cc__phone {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.kln-cc__phone:hover { color: var(--acc); }

.kln-cc__messengers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kln-cc__msg {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--r-pill);
    background: var(--tint);
    border: 1.5px solid var(--border);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    min-height: 44px;
    transition: border-color 0.18s, background-color 0.18s;
}
.kln-cc__msg:hover {
    border-color: var(--acc);
    background: color-mix(in srgb, var(--acc) 8%, var(--surface));
}

.kln-cc__rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1.5px solid var(--border);
}

.kln-cc__row { display: flex; flex-direction: column; gap: 2px; }

.kln-cc__row dt {
    font-size: 11px;
    color: var(--hint);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.kln-cc__row dd {
    font-size: 14px;
    color: var(--ink);
    margin: 0;
    font-weight: 500;
    line-height: 1.4;
}

@media (min-width: 768px) {
    .kln-cc__phone { font-size: 26px; }
    .hero__right .kln-cc { max-width: 420px; }
}


/* ============================================================
   B1 — Announcement bar (ann-bar)
   ============================================================ */
.ann-bar {
    background: var(--acc);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 41; /* выше шапки при sticky */
}

.ann-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 48px; /* отступ справа под кнопку × */
}

.ann-bar__text {
    line-height: 1.4;
}

.ann-bar__link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.18s ease;
}

.ann-bar__link:hover {
    opacity: 0.85;
    text-decoration: none;
}

.ann-bar__close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    opacity: 0.8;
    border-radius: var(--r-sm);
    transition: opacity 0.18s ease, background-color 0.18s ease;
}

.ann-bar__close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.12);
}


/* ============================================================
   B1 — Мобильная панель (бургер-меню)
   ============================================================ */
body.mob-panel-open {
    overflow: hidden;
}

.mob-panel {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mob-panel.is-open {
    transform: translateX(0);
}

/* Скрыть на desktop — там панель не нужна */
@media (min-width: 900px) {
    .mob-panel {
        display: none !important;
    }
}

/* Шапка панели */
.mob-panel__hdr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--wrap-pad);
    height: var(--header-h);
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mob-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    color: var(--ink);
    cursor: pointer;
    border-radius: var(--r-sm);
    transition: background-color 0.18s ease;
}

.mob-panel__close:hover {
    background: var(--tint);
}

/* Навигация в панели */
.mob-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mob-nav__item {
    border-bottom: 1px solid var(--border);
}

.mob-nav__item > a,
.mob-nav__toggle {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px var(--wrap-pad);
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    min-height: 44px;
    transition: color 0.18s ease, background-color 0.18s ease;
}

.mob-nav__item > a:hover,
.mob-nav__toggle:hover {
    color: var(--brand-strong);
    background: var(--tint);
}

.mob-nav__toggle {
    justify-content: space-between;
}

/* Стрелка аккордеона */
.mob-nav__arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.mob-nav__toggle[aria-expanded="true"] .mob-nav__arrow {
    transform: rotate(180deg);
}

/* Подменю услуг (аккордеон через max-height) */
.mob-nav__sub {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mob-nav__toggle[aria-expanded="true"] + .mob-nav__sub {
    max-height: 600px;
}

.mob-nav__sub-item > a {
    display: block;
    padding: 13px var(--wrap-pad) 13px calc(var(--wrap-pad) + 20px);
    font-size: 15px;
    color: var(--muted);
    text-decoration: none;
    background: var(--tint);
    border-top: 1px solid var(--border);
    transition: color 0.18s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.mob-nav__sub-item > a:hover {
    color: var(--brand-strong);
}

.mob-nav__sub-item--active > a {
    color: var(--brand-strong);
    font-weight: 600;
}

/* Активный пункт верхнего уровня */
.mob-nav__item--active > a,
.mob-nav__item--active > .mob-nav__toggle {
    color: var(--brand-strong);
    font-weight: 600;
}

/* Разделитель */
.mob-panel__divider {
    height: 1px;
    background: var(--border);
    margin-top: 8px;
}

/* CTA-блок */
.mob-panel__ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px var(--wrap-pad);
}

.mob-panel__cta-btn {
    display: flex;
    justify-content: center;
    font-size: 15px;
    padding: 14px 20px;
}

/* Мессенджеры в панели — прилипают к низу */
.mob-panel__msgs {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding: 20px var(--wrap-pad);
}

.mob-panel__msg-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--tint);
    border: 1px solid var(--border);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    flex-shrink: 0;
}

.mob-panel__msg-icon img {
    width: 30px;
    height: 30px;
    display: block;
}

.mob-panel__msg-icon:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}


/* ============================================================
   B9 — Блок отзывов (.reviews-section / .reviews / .rev)
   Mobile-first; section { padding-block } унаследован глобально.
   ============================================================ */

/* Декоративная иконка Instagram у заголовка */
.sec-reviews__ig-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 8px;
    margin-bottom: 3px;
    color: var(--muted);
    flex-shrink: 0;
}

/* Сетка карточек — 1 колонка на мобайле */
.reviews {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Карточка */
.rev {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
}

/* Звёзды */
.stars {
    color: var(--brand);
    font-size: 16px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    line-height: 1;
}

.rev p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.6;
    margin: 0;
}

/* Кнопка «Смотреть в Instagram» */
.reviews-cta {
    margin-top: 36px;
    text-align: center;
}

.reviews-cta .btn {
    min-height: 44px;
}

/* 2 колонки с 640px */
@media (min-width: 640px) {
    .reviews {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 3 колонки с 1024px */
@media (min-width: 1024px) {
    .reviews {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}


/* ============================================================
   БЛОГ — лента, статья, перелинковка
   Узкая читаемая колонка лонгрида, карточки на сетке .cards.
   ============================================================ */

/* ── Хлебные крошки (фолбэк, если нет Rank Math) ── */
.crumbs,
.rank-math-breadcrumb {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 18px;
}
.crumbs a,
.rank-math-breadcrumb a { color: var(--muted); text-decoration: none; }
.crumbs a:hover,
.rank-math-breadcrumb a:hover { color: var(--acc); }
.crumbs span[aria-hidden] { margin: 0 4px; color: var(--hint); }

/* ── Статья ─────────────────────────────────────── */
.article {
    max-width: var(--wrap-read);
    margin: 0 auto;
    padding: 40px var(--wrap-pad) 8px;
}
.article__title {
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}
.article__meta {
    font-size: 14px;
    color: var(--hint);
    margin-bottom: 28px;
}
.article__cover {
    margin: 0 0 32px;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.article__cover img { width: 100%; height: auto; display: block; }

/* Типографика тела статьи — ритм лонгрида */
.article__body { font-size: 18px; line-height: 1.7; color: var(--ink); }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 {
    font-size: clamp(22px, 3.5vw, 28px);
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 1.8em 0 0.6em;
}
.article__body h3 {
    font-size: 20px;
    margin: 1.4em 0 0.4em;
}
.article__body a {
    color: var(--acc-press);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.article__body a:hover { color: var(--acc); }
.article__body ul,
.article__body ol { padding-left: 1.3em; }
.article__body li + li { margin-top: 0.4em; }
.article__body blockquote {
    margin: 1.4em 0;
    padding: 14px 20px;
    border-left: 3px solid var(--acc);
    background: var(--tint);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    color: var(--muted);
}
.article__body img { max-width: 100%; height: auto; border-radius: var(--r-md); }
.article__body strong { font-weight: 650; }

/* Таблицы в статье — аккуратные, мобайл-скролл */
.article__body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    display: block;
    overflow-x: auto;
}
.article__body th,
.article__body td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}
.article__body thead th {
    background: var(--tint);
    font-weight: 600;
    white-space: nowrap;
}

/* ── Блок перелинковки внизу статьи ─────────────── */
.blog-related {
    margin-top: 48px;
    padding: 48px 0;
    background: var(--grad-soft);
    border-top: 1px solid var(--border);
}
.blog-related__title {
    text-align: center;
    font-size: clamp(22px, 4vw, 30px);
    margin: 0 0 28px;
}
.blog-related__posts { margin-top: 32px; text-align: center; }
.blog-related__posts h3 { font-size: 18px; margin: 0 0 12px; }
.blog-related__posts ul { list-style: none; padding: 0; margin: 0; }
.blog-related__posts li + li { margin-top: 8px; }
.blog-related__posts a {
    color: var(--acc-press);
    text-decoration: none;
    font-weight: 500;
}
.blog-related__posts a:hover { color: var(--acc); text-decoration: underline; }

/* ── Лента блога (/блог/) и архивы ──────────────── */
.blog-archive { padding: 40px 0 64px; }
.blog-archive__head { text-align: center; max-width: var(--wrap-read); margin: 0 auto 36px; }
.blog-archive__head h1 {
    font-size: clamp(28px, 5vw, 42px);
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}
.blog-archive__intro { color: var(--muted); font-size: 17px; line-height: 1.6; }
.blog-archive__empty { text-align: center; color: var(--muted); }

/* Сетка карточек статей (реюз .cards; на десктопе — 3 колонки) */
.bcards { grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .bcards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .bcards { grid-template-columns: repeat(3, 1fr); } }

.bcard {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
}
.bcard:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.bcard__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.bcard__thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--tint);
    overflow: hidden;
}
.bcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__thumb--ph {
    display: grid;
    place-items: center;
    color: var(--brand-mint);
}
.bcard__thumb--ph svg { width: 48px; height: 48px; }
.bcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.bcard__date { font-size: 13px; color: var(--hint); }
.bcard__title { font-size: 19px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.bcard__excerpt { font-size: 15px; color: var(--muted); line-height: 1.55; flex: 1; }
.bcard__more { font-size: 14px; font-weight: 600; color: var(--acc-press); margin-top: 4px; }

/* Пагинация (the_posts_pagination → .nav-links; paginate_links type=list → ul.page-numbers) */
.blog-archive .pagination { margin-top: 40px; text-align: center; }
.blog-archive .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.blog-archive ul.page-numbers {
    list-style: none;
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    margin: 40px 0 0;
}
.blog-archive ul.page-numbers li { margin: 0; }
.blog-archive a.page-numbers,
.blog-archive span.page-numbers {
    display: inline-flex;
    min-width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    text-decoration: none;
    color: var(--ink);
}
.blog-archive span.page-numbers.current { background: var(--acc); color: var(--btn-fg); border-color: var(--acc); }
.blog-archive a.page-numbers:hover { border-color: var(--acc); color: var(--acc); }

/* ============================================================
   Согласие на обработку ПДн (чекбокс в формах)
   ============================================================ */
.kln-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 4px 0 14px;
    font-size: 12.5px;
    line-height: 1.45;
    color: var(--muted);
    cursor: pointer;
    text-align: left;
}
.kln-consent__chk {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--acc);
    cursor: pointer;
}
.kln-consent__text a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.kln-consent__text a:hover { text-decoration: none; }

/* На зелёном фоне leadcard — всё белое, иначе сливается с фоном */
.leadcard .kln-consent {
    color: rgba(255, 255, 255, 0.85);
}
.leadcard .kln-consent__chk {
    accent-color: var(--surface);
}
.leadcard .kln-consent__text a {
    color: var(--surface);
}

/* В конфигураторе — небольшой отступ сверху */
.cfg2__consent { margin-top: 8px; }

/* ============================================================
   Юридическая страница (политика конфиденциальности)
   ============================================================ */
.legal-page__inner {
    max-width: var(--wrap-read);
    padding-top: 32px;
    padding-bottom: 48px;
}
.legal-page h1 {
    font-size: clamp(26px, 5vw, 36px);
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--ink);
}
.legal-page__meta {
    color: var(--hint);
    font-size: 14px;
    margin: 0 0 24px;
}
.legal-page h2 {
    font-size: clamp(18px, 3vw, 22px);
    line-height: 1.3;
    margin: 28px 0 10px;
    color: var(--ink);
}
.legal-page p,
.legal-page li {
    color: var(--muted);
    font-size: 15.5px;
    line-height: 1.65;
}
.legal-page p { margin: 0 0 12px; }
.legal-page ul {
    margin: 0 0 14px;
    padding-left: 22px;
}
.legal-page li { margin: 0 0 6px; }
.legal-page a {
    color: var(--acc);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-page a:hover { text-decoration: none; }
.legal-operator {
    background: var(--tint);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 16px 18px;
    margin: 0 0 24px;
    color: var(--ink);
    font-size: 14.5px;
    line-height: 1.6;
}
.legal-page__footer { margin-top: 36px; }

/* ============================================================
   Cookie-баннер (информационный)
   ============================================================ */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;                 /* выше моб-панели (50), ниже шапки (100) */
    background: var(--ink);
    color: #fff;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.25);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
}
.cookie-banner__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}
.cookie-banner__text a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-banner__actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cookie-banner__accept {
    white-space: nowrap;
    background: var(--acc);
    color: #fff;
    border: 0;                    /* убирает нативную тёмную обводку кнопки */
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
.cookie-banner__accept:hover { background: var(--acc-press); color: #fff; }
.cookie-banner__decline {
    background: none;
    border: 0;
    padding: 8px 6px;
    color: rgba(255, 255, 255, 0.65);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}
.cookie-banner__decline:hover { color: #fff; }

/* Мобайл: баннер над липкой нижней панелью, кнопки в ряд под текстом */
@media (max-width: 767px) {
    .cookie-banner { bottom: var(--mob-bar-h); }
    .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 10px; }
    .cookie-banner__actions { justify-content: space-between; }
    .cookie-banner__accept { flex: 1; }
}
