/* ============================================================
   ФИТО-САНДЕЗ — дизайн-система
   Мотив: защитный барьер / шестигранная структура — используется
   дозированно (hero-фон + бейджи иконок), чтобы не стать декором.
   ============================================================ */

:root {
    /* Цвет */
    --navy-900: #061B38;
    --navy-700: #0A2E5C;
    --emerald-600: #0F9D68;
    --emerald-100: #E3F5EC;
    --ink: #12181F;
    --ink-soft: #4B5A68;
    --paper: #FFFFFF;
    --mist: #F1F4F7;
    --line: #DCE3EA;

    /* Типографика */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Ритм */
    --radius-sm: 6px;
    --radius-md: 10px;
    --container-w: 1240px;
    --section-pad: clamp(56px, 8vw, 112px);

    --shadow-card: 0 1px 2px rgba(6, 27, 56, 0.04), 0 8px 24px rgba(6, 27, 56, 0.06);
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
    outline: 2px solid var(--emerald-600);
    outline-offset: 2px;
}

.container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Типографика ---------- */

h1, h2, h3, h4 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
    color: var(--navy-900);
}

h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }

p { margin: 0 0 1em; color: var(--ink-soft); max-width: 62ch; }

.lede {
    font-size: 1.125rem;
    color: var(--ink-soft);
    max-width: 46ch;
}

.seo-intro {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 44px;
    align-items: start;
}
.seo-intro__text h2 { margin-bottom: 18px; }
.seo-intro__text p { color: var(--ink-soft); max-width: none; }
.seo-intro__media { margin: 0; position: sticky; top: 96px; }
.seo-intro__media img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}
.seo-intro__media figcaption {
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-top: 10px;
    line-height: 1.45;
}

@media (max-width: 860px) {
    .seo-intro { grid-template-columns: 1fr; gap: 28px; }
    .seo-intro__media { position: static; }
}

.home-faq { max-width: 760px; margin: 0 auto; }
.home-faq details {
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
}
.home-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy-900);
    font-size: 1.02rem;
}
.home-faq p { margin-top: 12px; }

/* ---------- Кнопки ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn--primary {
    background: var(--emerald-600);
    color: #fff;
}
.btn--primary:hover { background: #0c8759; }

.btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.35);
    color: inherit;
}
.btn--outline:hover { border-color: rgba(255, 255, 255, 0.7); }

.btn--dark {
    background: var(--navy-700);
    color: #fff;
}
.btn--dark:hover { background: var(--navy-900); }

/* ---------- Хедер ---------- */

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    position: sticky;
    top: 0;
    z-index: 40;
    transition: transform 220ms ease, box-shadow 220ms ease;
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(6, 27, 56, 0.06); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(14px, 2vw, 24px);
    padding-top: 18px;
    padding-bottom: 18px;
}

.logo {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    text-decoration: none;
    color: var(--navy-900);
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-drawer { display: contents; }

.main-nav {
    display: flex;
    gap: clamp(14px, 1.8vw, 28px);
    flex: 1;
    justify-content: center;
}
.main-nav a {
    text-decoration: none;
    color: var(--ink-soft);
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}
.main-nav a:hover { color: var(--navy-900); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    flex-shrink: 0;
}
.header-phone {
    text-decoration: none;
    color: var(--navy-900);
    font-weight: 600;
}

.header-messengers {
    display: flex;
    gap: 8px;
}
.header-messengers a {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--mist);
    color: var(--navy-700);
    flex-shrink: 0;
}
.header-messengers a:hover { background: var(--emerald-100); color: var(--emerald-600); }
.header-messengers .icon-svg { width: 18px; height: 18px; }

/* На средних экранах (ноутбук/маленький десктоп) прячем иконки мессенджеров,
   чтобы навигации хватало места в одну строку и не было переноса пунктов меню */
@media (max-width: 1180px) and (min-width: 861px) {
    .header-messengers { display: none; }
}

/* ---------- Переключатель городов (шапка) ---------- */

.city-switch {
    position: relative;
    flex-shrink: 0;
}
.city-switch__toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--mist);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px 12px 7px 10px;
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy-900);
    cursor: pointer;
    white-space: nowrap;
}
.city-switch__toggle:hover { border-color: var(--emerald-600); }
.city-switch__toggle .icon-svg { width: 16px; height: 16px; color: var(--emerald-600); flex-shrink: 0; }
.city-switch__toggle .icon-svg:last-child {
    width: 12px; height: 12px; color: var(--ink-soft);
    transition: transform 160ms ease;
}
.city-switch.is-open .city-switch__toggle .icon-svg:last-child { transform: rotate(180deg); }

.city-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 190px;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 32px rgba(6, 27, 56, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
    z-index: 50;
    max-height: 60vh;
    overflow-y: auto;
}
.city-switch.is-open .city-switch__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.city-switch__menu a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--ink);
    font-size: 0.9rem;
}
.city-switch__menu a:hover { background: var(--mist); }
.city-switch__menu a.is-current {
    color: var(--emerald-600);
    font-weight: 600;
    background: var(--emerald-100);
}

@media (max-width: 860px) {
    .site-header__inner { flex-wrap: wrap; row-gap: 10px; }
    .city-switch__toggle span { max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 420px) {
    .city-switch__toggle span { max-width: 72px; }
}

/* Бургер — виден только на мобильном */
.burger {
    display: none;
    width: 40px; height: 40px;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}
.burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy-900);
    transition: transform 200ms ease, opacity 200ms ease;
}
.site-header.is-menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-menu-open .burger span:nth-child(2) { opacity: 0; }
.site-header.is-menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
    .burger { display: flex; }

    .nav-drawer {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 12px 24px rgba(6, 27, 56, 0.08);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: transform 200ms ease, opacity 200ms ease, visibility 200ms;
        padding: 8px 24px 24px;
    }
    .site-header.is-menu-open .nav-drawer {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-drawer .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-drawer .main-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 1.02rem;
    }

    .nav-drawer .header-actions {
        flex-direction: column;
        align-items: stretch;
        white-space: normal;
        gap: 14px;
        margin-top: 18px;
    }
    .nav-drawer .header-phone { font-size: 1.1rem; }
    .nav-drawer .header-messengers { justify-content: flex-start; }
}

/* ---------- Hero с фото-фоном ---------- */

.hero {
    position: relative;
    background: var(--navy-900);
    color: #fff;
    overflow: hidden;
}

/*
   Фото лежит отдельным слоем, а не background у .hero — так поверх него
   можно положить градиент, который гарантирует читаемость белого текста
   независимо от того, что на фотографии (светлый интерьер съедал бы текст).
*/
.hero__media {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(100deg, rgba(6,27,56,.94) 0%, rgba(6,27,56,.86) 38%, rgba(6,27,56,.45) 68%, rgba(6,27,56,.30) 100%),
        url('/assets/img/hero-bg.webp');
    background-size: cover;
    background-position: center right;
}

.hero__inner {
    position: relative;
    z-index: 2;
    padding-top: clamp(72px, 11vw, 132px);
    padding-bottom: clamp(64px, 9vw, 108px);
}

.hero__copy { max-width: 620px; }
.hero__copy h1 { color: #fff; max-width: 15ch; }
.hero__copy .lede { color: rgba(255, 255, 255, 0.82); }

.hero__actions {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero__trust {
    display: flex;
    gap: 28px;
    margin-top: 44px;
    flex-wrap: wrap;
}
.hero__trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}
.hero__trust-item .icon-badge {
    width: 30px;
    height: 30px;
}
.hero__trust-item .icon-badge .icon-svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
    .hero__copy h1 { max-width: none; }
    /* Вертикальный кроп фото + более плотное затемнение: на узком экране
       текст идёт поверх центра картинки, а не сбоку от неё */
    .hero__media {
        background-image:
            linear-gradient(180deg, rgba(6,27,56,.92) 0%, rgba(6,27,56,.80) 55%, rgba(6,27,56,.88) 100%),
            url('/assets/img/hero-bg-mobile.webp');
        background-position: center;
    }
}

/* ---------- Hero: блок лицензий, сертификатов и гарантий ---------- */

.hero-badges {
    margin-top: clamp(28px, 4vw, 40px);
    max-width: 560px;
    background: rgba(255, 255, 255, 0.97);
    color: var(--ink);
    border-radius: var(--radius-md);
    padding: 18px clamp(16px, 3vw, 28px) 16px;
    box-shadow: 0 16px 36px rgba(6, 27, 56, 0.32);
    display: grid;
    gap: 12px;
}

.hero-badges__row { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.hero-badges__row--awards {
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--line);
}
.hero-badges__row .hero-badge { flex: 0 0 auto; width: 68px; }

.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    color: inherit;
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}
a.hero-badge:hover .hero-badge__media { transform: translateY(-2px); }

.hero-badge__media {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--navy-700);
    transition: transform 0.15s ease;
}
.hero-badge__media .icon-svg,
.hero-badge__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-badges__row--awards .hero-badge__media { width: 52px; height: 52px; color: var(--emerald-600); }
.hero-badges__row--awards .hero-badge { font-size: 0.72rem; }

@media (max-width: 640px) {
    .hero-badges { padding: 14px 14px 12px; gap: 10px; }
    .hero-badges__row { gap: 10px 14px; }
    .hero-badges__row .hero-badge { width: 56px; }
    .hero-badge { font-size: 0.62rem; gap: 5px; }
    .hero-badge__media { width: 38px; height: 38px; }
    .hero-badges__row--awards .hero-badge__media { width: 44px; height: 44px; }
    .hero-badges__row--awards .hero-badge { font-size: 0.64rem; }
}
@media (max-width: 400px) {
    .hero-badges__row { justify-content: flex-start; gap: 14px 10px; }
    .hero-badges__row .hero-badge { width: calc(50% - 5px); }
    .hero-badges__row--awards { justify-content: space-between; }
    .hero-badges__row--awards .hero-badge { width: auto; }
}

/* ---------- Полоса доверия под hero ---------- */

.trust-strip {
    padding: 0;
    background: var(--navy-700);
    color: #fff;
}
.trust-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0 !important;
}
.trust-badge {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 26px 24px;
    background: var(--navy-700);
}
.trust-badge__icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
}
.trust-badge__icon .icon-svg { width: 20px; height: 20px; }
.trust-badge__title {
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
    margin-bottom: 4px;
}
.trust-badge__text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

@media (max-width: 960px) {
    .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .trust-strip__grid { grid-template-columns: 1fr; }
}

/* ---------- Блок для юрлиц с фото ---------- */

.biz-band__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.biz-band__media { margin: 0; }
.biz-band__media img {
    width: 100%;
    border-radius: var(--radius-md);
    display: block;
}
.biz-band__copy h2 { margin-bottom: 14px; }
.biz-band__list {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
}
.biz-band__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--ink-soft);
    margin-bottom: 12px;
}
.biz-band__list .icon-svg {
    width: 20px; height: 20px;
    color: var(--emerald-600);
    flex-shrink: 0;
    margin-top: 1px;
}

@media (max-width: 860px) {
    .biz-band__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Финальный CTA с фото-фоном ---------- */

.cta-band { position: relative; overflow: hidden; }
.cta-band__media {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(241,244,247,.93) 0%, rgba(241,244,247,.88) 100%),
        url('/assets/img/clean-home.webp');
    background-size: cover;
    background-position: center;
}
.cta-band__inner { position: relative; z-index: 2; }
.cta-band .lead-form-section {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-card);
}

/* ---------- Секции / ритм ---------- */

section { padding: var(--section-pad) 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy-900); color: #fff; }
.section--navy h2 { color: #fff; }
.section--navy p { color: rgba(255, 255, 255, 0.68); }

.section-head {
    max-width: 640px;
    margin-bottom: 44px;
}

/* ---------- Бейдж-иконка (мотив шестигранника) ---------- */

.icon-badge {
    --badge-size: 56px;
    width: var(--badge-size);
    height: var(--badge-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    color: var(--emerald-600);
    clip-path: polygon(25% 3%, 75% 3%, 100% 50%, 75% 97%, 25% 97%, 0% 50%);
    flex-shrink: 0;
}
.icon-badge .icon-svg { width: 26px; height: 26px; }

.icon-badge--on-dark {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ---------- Сетка услуг ---------- */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.service-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    position: relative;
    z-index: 1;
}
.service-card__title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--navy-900);
}
.service-card__desc {
    font-size: 0.875rem;
    color: var(--ink-soft);
    margin: 0;
}

@media (max-width: 960px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ---------- Цифры (статистика) ---------- */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.stat-item { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 20px; }
.stat-item__value {
    font-size: clamp(2rem, 1.6rem + 1.5vw, 2.75rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}
.stat-item__label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.64);
    margin-top: 6px;
}

@media (max-width: 760px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Преимущества (без карточек, hairline-строки) ---------- */

.advantages-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}
.advantage-item {
    display: flex;
    gap: 18px;
    padding: 28px 24px 28px 0;
    border-bottom: 1px solid var(--line);
}
.advantage-item:nth-child(3n) { padding-right: 0; }
.advantage-item .icon-badge { --badge-size: 48px; }
.advantage-item .icon-badge .icon-svg { width: 22px; height: 22px; }
.advantage-item__title { margin: 0 0 6px; font-size: 1rem; }
.advantage-item__text { font-size: 0.9rem; margin: 0; }

@media (max-width: 860px) {
    .advantages-list { grid-template-columns: 1fr; }
    .advantage-item { padding-right: 0; }
}

/* ---------- Форма заявки ---------- */

.lead-form-section {
    background: var(--mist);
    border-radius: var(--radius-md);
    padding: 2rem;
}
.lead-form-section h2 { margin-bottom: 8px; }

form[data-lead-form] {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}
form[data-lead-form] input,
form[data-lead-form] textarea {
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.95rem;
    background: #fff;
}
form[data-lead-form] textarea { flex-basis: 100%; min-height: 100px; resize: vertical; }
form[data-lead-form] input:focus,
form[data-lead-form] textarea:focus {
    outline: none;
    border-color: var(--emerald-600);
}

/* ---------- Согласие на обработку ПДн (152-ФЗ), во всех формах заявок ---------- */

.form-consent {
    flex-basis: 100%;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    cursor: pointer;
    font-size: 0.78rem;
    line-height: 1.45;
    color: var(--ink-soft);
}
.form-consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: var(--emerald-600);
    cursor: pointer;
}
.form-consent a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--emerald-600); }
/* На тёмном фоне (попап со скидкой светлый, поэтому попадает в общее правило; hero тут не используется) */
.cta-popup .form-consent { color: var(--ink-soft); }

/* ---------- Контакты ---------- */

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-map {
    height: 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--line);
}
@media (max-width: 860px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .contact-map { height: 300px; }
}

/* ---------- Акции ---------- */

.promo-list { display: flex; flex-direction: column; gap: 20px; }
.promo-card {
    display: flex;
    gap: 24px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    align-items: flex-start;
}
.promo-card__icon {
    flex-shrink: 0;
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    background: var(--emerald-100);
    color: var(--emerald-600);
    border-radius: var(--radius-md);
}
.promo-card__icon .icon-svg { width: 26px; height: 26px; }
.promo-card__title { margin-bottom: 4px; font-size: 1.15rem; }
.promo-card__until {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--emerald-600);
    margin-bottom: 10px;
}
.promo-card__desc { margin-bottom: 16px; }

@media (max-width: 600px) {
    .promo-card { flex-direction: column; }
}

/* ---------- Отзывы ---------- */

.reviews-swiper { padding-bottom: 44px; }
.review-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 28px;
    height: 100%;
}
.review-card__rating { display: flex; gap: 2px; color: var(--emerald-600); margin-bottom: 14px; }
.review-card__rating .icon-svg { width: 16px; height: 16px; }
.review-card__rating .icon-svg--empty { color: var(--line); }
.review-card__text { font-size: 0.92rem; margin-bottom: 16px; }
.review-card__author { font-weight: 600; color: var(--navy-900); font-size: 0.9rem; }
.review-card__city { font-size: 0.82rem; color: var(--ink-soft); }

.reviews-swiper .swiper-pagination-bullet-active { background: var(--emerald-600); }

.portfolio-swiper { padding-bottom: 40px; }
.portfolio-slide {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.portfolio-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portfolio-swiper .swiper-pagination-bullet-active { background: var(--emerald-600); }

/* ---------- Блог ---------- */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.blog-card__cover {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--navy-700), var(--navy-900));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}
.blog-card__cover--photo {
    background-size: cover;
    background-position: center;
}
.blog-card__cover .icon-svg { width: 40px; height: 40px; }

.blog-post__cover {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.blog-card__body { padding: 20px 22px 24px; }
.blog-card__category {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--emerald-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card__title {
    margin: 8px 0 8px;
    font-size: 1.05rem;
}
.blog-card__excerpt {
    font-size: 0.9rem;
    margin: 0;
}

@media (max-width: 960px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
}

.blog-post__meta {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 8px;
}
.blog-post__content {
    max-width: 72ch;
}
.blog-post__content p { max-width: none; }

.related-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.related-posts a {
    text-decoration: none;
    color: inherit;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: block;
}
.related-posts a:hover { border-color: var(--emerald-600); }
.related-posts h3 { font-size: 0.95rem; margin-bottom: 6px; }
.related-posts p { font-size: 0.85rem; margin: 0; }

@media (max-width: 760px) {
    .related-posts { grid-template-columns: 1fr; }
}

/* ---------- Хлебные крошки ---------- */

.breadcrumbs {
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}
.breadcrumbs a {
    text-decoration: none;
    color: var(--ink-soft);
}
.breadcrumbs a:hover { color: var(--navy-900); }
.breadcrumbs__sep { margin: 0 8px; color: var(--line); }
.breadcrumbs [aria-current="page"] { color: var(--navy-900); font-weight: 500; }

/* ---------- Таблица цен ---------- */

.price-table {
    width: 100%;
    max-width: 560px;
    border-collapse: collapse;
    margin-top: 16px;
}
.price-table td {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    color: var(--ink-soft);
}
.price-table__price {
    text-align: right;
    font-weight: 700;
    color: var(--navy-900);
    white-space: nowrap;
}
.price-table__note {
    font-size: 0.85rem;
    margin-top: 14px;
}

/* ---------- Галереи (сертификаты, портфолио) ---------- */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.gallery-item {
    display: block;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: var(--paper);
}
.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
.gallery-item__caption {
    display: block;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--ink-soft);
}

.portfolio-group { margin-bottom: 44px; }
.portfolio-group h2 { font-size: 1.3rem; margin-bottom: 20px; }
.portfolio-group:last-child { margin-bottom: 0; }

.empty-gallery {
    text-align: center;
    padding: 64px 24px;
    border: 1px dashed var(--line);
    border-radius: var(--radius-md);
    color: var(--ink-soft);
}
.empty-gallery__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--mist);
    color: var(--emerald-600);
    margin-bottom: 16px;
}
.empty-gallery__icon .icon-svg { width: 28px; height: 28px; }
.empty-gallery p { max-width: 40ch; margin: 0 auto; }

@media (max-width: 960px) {
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Лайтбокс (просмотр фото в полный размер) ---------- */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 56, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 110;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, visibility 200ms;
}
.lightbox-overlay.is-visible { opacity: 1; visibility: visible; }
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}
.lightbox-overlay__close {
    position: absolute;
    top: 20px; right: 24px;
    width: 44px; height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 50%;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox-overlay__close:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Услуга: hero-блок (по образцу референса) ---------- */

.service-hero-band { padding: 32px 0 0; }
.service-hero-band__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}
.service-hero-band__category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--emerald-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.service-hero-band h1 { margin-bottom: 12px; }
.service-hero-band__actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

.service-trust-row { display: flex; gap: 24px; margin-top: 28px; flex-wrap: wrap; }
.service-trust-row__item {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.85rem; color: var(--ink-soft);
}
.service-trust-row__item .icon-svg { width: 18px; height: 18px; color: var(--emerald-600); flex-shrink: 0; }

.service-hero-band__media {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
}
.service-hero-band__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-hero-band__media--placeholder {
    background: linear-gradient(135deg, var(--navy-700), var(--emerald-600));
    display: flex; align-items: center; justify-content: center;
}
.service-hero-band__media--placeholder::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(30deg, rgba(255,255,255,.06) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.06) 87.5%, rgba(255,255,255,.06)),
        linear-gradient(150deg, rgba(255,255,255,.06) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.06) 87.5%, rgba(255,255,255,.06)),
        linear-gradient(30deg, rgba(255,255,255,.06) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.06) 87.5%, rgba(255,255,255,.06)),
        linear-gradient(150deg, rgba(255,255,255,.06) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,.06) 87.5%, rgba(255,255,255,.06));
    background-size: 52px 90px;
    background-position: 0 0, 0 0, 26px 45px, 26px 45px;
}
.service-hero-band__media--placeholder .icon-svg {
    width: 96px; height: 96px;
    color: #fff;
    opacity: .9;
    position: relative;
    z-index: 1;
}
.service-hero-band__media-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 10px 14px;
    background: rgba(6, 27, 56, 0.45);
    color: rgba(255,255,255,.85);
    font-size: 0.72rem;
    z-index: 1;
}

@media (max-width: 860px) {
    .service-hero-band__grid { grid-template-columns: 1fr; }
    .service-hero-band__media { order: -1; aspect-ratio: 16 / 9; }
}

/* Двухколоночное тело страницы услуги: контент + прилипающая CTA-карточка */
.service-body-grid { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: start; }
.service-sidebar-card {
    position: sticky;
    top: 96px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    background: var(--mist);
}
.service-sidebar-card h3 { font-size: 1rem; margin-bottom: 12px; }
.service-sidebar-card .btn { width: 100%; justify-content: center; margin-top: 14px; }
.service-sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.service-sidebar-card li {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 10px;
}
.service-sidebar-card li .icon-svg { width: 16px; height: 16px; color: var(--emerald-600); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 960px) {
    .service-body-grid { grid-template-columns: 1fr; }
    .service-sidebar-card { position: static; }
}

.service-body-grid > div > * + * { margin-top: 40px; }

/* ---------- Услуга: страница ---------- */

.service-hero { padding-bottom: 0; }
.service-content { padding-top: 32px; }
.service-advantages ul, .service-stages ol {
    padding-left: 20px;
    color: var(--ink-soft);
}
.service-stages ol { counter-reset: stage; list-style: none; padding-left: 0; }
.service-stages li {
    counter-increment: stage;
    position: relative;
    padding-left: 44px;
    margin-bottom: 18px;
    color: var(--ink-soft);
}
.service-stages li::before {
    content: counter(stage);
    position: absolute;
    left: 0;
    top: -2px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-600);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-faq details {
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}
.service-faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--navy-900);
}
.service-faq p { margin-top: 12px; }

/* ---------- Футер ---------- */

.site-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.65);
    padding: 56px 0 0;
    font-size: 0.875rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr repeat(5, 1fr);
    gap: 32px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand__logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 14px;
    display: block;
    text-decoration: none;
}
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.85rem; max-width: 32ch; }

.footer-contact { margin-top: 18px; font-size: 0.88rem; line-height: 1.8; }
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-contact a:hover { color: var(--emerald-600); }

.footer-messengers { display: flex; gap: 10px; margin-top: 18px; }
.footer-messengers a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.footer-messengers a:hover { background: var(--emerald-600); }
.footer-messengers .icon-svg { width: 18px; height: 18px; }

.footer-col h3 {
    color: #fff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 14px;
    font-weight: 600;
}
.footer-col a {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    text-decoration: none;
    padding: 3px 0;
}
.footer-col a:hover { color: var(--emerald-600); }

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-bottom a { color: rgba(255, 255, 255, 0.65); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--emerald-600); }

@media (max-width: 960px) {
    .footer-top { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }
}

/* ---------- CTA-попап (скидка) ---------- */

.cta-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 27, 56, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms;
}
.cta-popup-overlay.is-visible { opacity: 1; visibility: visible; }

.cta-popup {
    background: #fff;
    border-radius: var(--radius-md);
    max-width: 420px;
    width: 100%;
    padding: 36px 32px;
    position: relative;
    transform: translateY(12px);
    transition: transform 220ms ease;
    max-height: 90vh;
    overflow-y: auto;
}
.cta-popup-overlay.is-visible .cta-popup { transform: translateY(0); }

.cta-popup__close {
    position: absolute;
    top: 12px; right: 12px;
    width: 32px; height: 32px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--ink-soft);
    font-size: 1.4rem;
    line-height: 1;
}
.cta-popup__close:hover { color: var(--navy-900); }

.cta-popup__badge {
    display: inline-block;
    background: var(--emerald-100);
    color: var(--emerald-600);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 14px;
}
.cta-popup h3 { margin-bottom: 8px; }
.cta-popup p { font-size: 0.9rem; margin-bottom: 20px; }
.cta-popup form { display: flex; flex-direction: column; gap: 12px; }
.cta-popup input {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 0.92rem;
}
.cta-popup .btn { width: 100%; justify-content: center; }

/* ---------- Cookie-баннер (152-ФЗ) ---------- */

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 90;
    max-width: 640px;
    margin: 0 auto;
    background: var(--navy-900);
    color: rgba(255, 255, 255, 0.88);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(6, 27, 56, 0.35);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 260ms ease, opacity 260ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner__icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--emerald-600);
}
.cookie-banner__icon .icon-svg { width: 18px; height: 18px; }
.cookie-banner__text { flex: 1 1 260px; font-size: 0.82rem; line-height: 1.5; margin: 0; color: inherit; max-width: none; }
.cookie-banner__text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { flex-shrink: 0; }
.cookie-banner .btn--primary { padding: 10px 22px; font-size: 0.85rem; }

@media (max-width: 560px) {
    .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner .btn--primary { width: 100%; justify-content: center; }
}

/* ---------- 404 ---------- */
.error-page { text-align: left; max-width: 480px; }

/* Мультигео: блок «Где мы работаем» на главной */
.geo-districts { margin-top: 36px; }
.geo-districts__title { margin-bottom: 14px; font-size: 1.125rem; }
.geo-districts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.geo-districts__list li {
    padding: 6px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--mist);
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* ---------- Главная: секция «География выездов» ---------- */

.geo-cities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.geo-city-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 22px;
    background: var(--paper);
    text-decoration: none;
    color: inherit;
    transition: background-color 160ms ease;
}
.geo-city-card:hover { background: var(--emerald-100); }
.geo-city-card.is-current { background: var(--emerald-100); }
.geo-city-card__icon {
    flex-shrink: 0;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--emerald-100);
    color: var(--emerald-600);
}
.geo-city-card.is-current .geo-city-card__icon { background: #fff; }
.geo-city-card__icon .icon-svg { width: 17px; height: 17px; }
.geo-city-card__name { font-weight: 600; color: var(--navy-900); font-size: 0.95rem; }
.geo-city-card__badge { display: block; font-size: 0.74rem; color: var(--emerald-600); font-weight: 600; margin-top: 2px; }