/* =====================================================
   assets/css/main.css
   Премиальный редизайн лендинга "Эксперт Холод22".
   Референс стиля: тёмная тема + ледяной cyan-акцент, крупный uppercase,
   карточки поломок с диапазоном цены и временем ремонта.
   ===================================================== */

/* ---------- ТИПОГРАФИКА ЗАГОЛОВКОВ ---------- */
h1, h2, h3 {
    font-family: var(--font-main);
    letter-spacing: -0.01em;
}

.eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-ice-dark);
    margin-bottom: 10px;
}
.eyebrow--light { color: var(--color-ice); }

.section-title {
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 14px;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
}
.section-title--left { text-align: left; margin-bottom: 12px; }
.section-title--light { color: #fff; }
.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    max-width: 620px;
    margin: 0 auto 44px;
    font-size: 16px;
}

/* ---------- УТИЛИТЫ / КНОПКИ ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: 999px;
    border: 1.5px solid transparent;
    font-weight: 700;
    font-size: 16px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--ice { background: var(--color-ice); color: #05262E; box-shadow: var(--shadow-ice); }
.btn--ice:hover { background: var(--color-ice-dark); color: #fff; }

.btn--primary { background: var(--color-dark); color: #fff; }
.btn--primary:hover { background: var(--color-dark-2); }

.btn--dark-outline { background: transparent; border-color: rgba(255,255,255,0.28); color: #fff; }
.btn--dark-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

.btn--lg { padding: 17px 34px; font-size: 17px; }
.btn--block { width: 100%; }

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* =====================================================
   ШАПКА (STICKY HEADER) — тёмная, uppercase-логотип
   ===================================================== */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--header-height);
    background: rgba(10, 13, 17, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-dark-border);
    z-index: 1000;
    transition: box-shadow var(--transition-mid);
}
.site-header.is-scrolled { box-shadow: var(--shadow-lg); }

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-header__logo { display: flex; flex-direction: column; line-height: 1.1; }
.site-header__logo-text {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: 0.02em;
    color: #fff;
    text-transform: uppercase;
}
.site-header__logo-accent { color: var(--color-ice); }
.site-header__logo-tag {
    font-size: 11px;
    color: var(--color-dark-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 2px;
}

.site-header__nav { display: flex; gap: 22px; }
.site-header__nav a { font-weight: 600; font-size: 14.5px; color: var(--color-dark-text-muted); transition: color var(--transition-fast); }
.site-header__nav a:hover { color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__social {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-dark-border);
    color: var(--color-ice);
    transition: background var(--transition-fast);
}
.site-header__social:hover { background: rgba(255,255,255,0.12); }
.site-header__phone { font-weight: 700; font-size: 15px; color: #fff; }
.site-header__mobile-phone { color: var(--color-ice) !important; font-weight: 800; }

.site-header__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.site-header__burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

.site-header__mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--color-dark-2);
    border-top: 1px solid var(--color-dark-border);
    padding: 12px 20px 20px;
}
.site-header__mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--color-dark-border); font-weight: 600; color: var(--color-dark-text); }
.site-header.is-mobile-open .site-header__mobile-nav { display: flex; }

@media (max-width: 900px) {
    .site-header__nav { display: none; }
}
@media (max-width: 767px) {
    .site-header { height: var(--header-height-mobile); }
    .site-header__actions .site-header__cta { display: none; } /* заявка дублируется в bottom-bar */
    .site-header__actions .site-header__phone { display: none; } /* телефон дублируется в bottom-bar */
    .site-header__burger { display: flex; }
    .site-header__inner { justify-content: space-between; }
}

/* =====================================================
   MOBILE BOTTOM STICKY BAR — одна главная кнопка «Позвонить» + Telegram
   ===================================================== */
.bottom-bar {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 999;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(10, 13, 17, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(69, 212, 245, 0.35);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.45);
}
@media (max-width: 767px) {
    :root { --bottom-bar-height: 72px; } /* 48px кнопки + отступы панели */
    .bottom-bar { display: flex; }
}
.bottom-bar__call {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    font-weight: 800;
    font-size: clamp(14.5px, 4.2vw, 16.5px);
    white-space: nowrap;
    background: linear-gradient(135deg, #8BEBFF 0%, var(--color-ice) 55%, #2BBBE0 100%);
    color: #04202A;
    box-shadow: 0 6px 18px rgba(69, 212, 245, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    animation: bft-call-pulse 2.2s ease-out infinite;
    transition: transform var(--transition-fast);
}
.bottom-bar__call:active, .bottom-bar__tg:active { transform: scale(0.96); }
.bottom-bar__icon { display: flex; flex-shrink: 0; }
.bottom-bar__icon svg { width: 20px; height: 20px; animation: bft-call-ring 2.2s ease-in-out infinite; transform-origin: 50% 50%; }
.bottom-bar__tg {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    color: #229ED9;
    display: flex; align-items: center; justify-content: center;
    transition: transform var(--transition-fast);
}

@keyframes bft-call-pulse {
    0%   { box-shadow: 0 6px 18px rgba(69, 212, 245, 0.55), 0 0 0 0 rgba(69, 212, 245, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
    70%  { box-shadow: 0 6px 18px rgba(69, 212, 245, 0.55), 0 0 0 12px rgba(69, 212, 245, 0), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
    100% { box-shadow: 0 6px 18px rgba(69, 212, 245, 0.55), 0 0 0 0 rgba(69, 212, 245, 0), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
}
@keyframes bft-call-ring {
    0%, 60%, 100% { transform: rotate(0); }
    66% { transform: rotate(-14deg); }
    72% { transform: rotate(12deg); }
    78% { transform: rotate(-10deg); }
    84% { transform: rotate(8deg); }
    90% { transform: rotate(0); }
}
@media (prefers-reduced-motion: reduce) {
    .bottom-bar__call, .bottom-bar__icon svg, .btn-call, .btn-call__icon svg, .hero__status-dot { animation: none; }
}

/* =====================================================
   HERO — тёмный, фото/видео фон, плавающий бейдж
   ===================================================== */
.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--color-dark);
    padding-top: var(--header-height);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,13,17,0.55) 0%, rgba(10,13,17,0.75) 55%, rgba(10,13,17,0.95) 100%);
}
.hero__top { display: none; } /* логотип уже есть в site-header; резерв для отдельного full-bleed запуска */
.hero__inner { position: relative; z-index: 1; padding-bottom: 72px; padding-top: 40px; }
.hero__content { max-width: 720px; }
.hero__title {
    font-size: clamp(28px, 4.4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 22px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.hero__title-accent { color: var(--color-ice); }
.hero__benefits { margin-bottom: 30px; display: flex; flex-direction: column; gap: 10px; }
.hero__benefits li {
    font-size: 15.5px;
    font-weight: 600;
    color: var(--color-dark-text);
    padding-left: 26px;
    position: relative;
}
.hero__benefits li::before {
    content: '';
    position: absolute; left: 0; top: 6px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--color-ice);
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.hero__phone-link { font-weight: 700; font-size: 17px; color: #fff; }

.hero__badge {
    position: absolute;
    top: 128px;
    right: 20px;
    z-index: 1;
    background: rgba(18, 22, 28, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.hero__badge-label { display: block; font-size: 12px; color: var(--color-dark-text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hero__badge-value { display: block; font-size: 34px; font-weight: 800; color: var(--color-ice); line-height: 1.2; }
.hero__badge-note { display: block; font-size: 11.5px; color: var(--color-dark-text-muted); max-width: 140px; }

@media (max-width: 900px) {
    .hero__badge { position: static; margin-top: 28px; text-align: left; display: flex; align-items: center; gap: 14px; max-width: max-content; }
    .hero__badge-note { max-width: 220px; }
}
@media (max-width: 560px) {
    .hero { min-height: 560px; }
    .hero__inner { padding-bottom: 40px; }
}

/* =====================================================
   ПОЛОСА ДОВЕРИЯ / БРЕНДЫ
   ===================================================== */
.trust-bar { padding: 30px 0; background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.trust-bar__label { text-align: center; color: var(--color-text-muted); font-size: 13.5px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.06em; }
.trust-bar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; }
.trust-bar__list li { font-weight: 700; color: var(--color-text-muted); font-size: 15px; letter-spacing: 0.3px; }

/* =====================================================
   СИМПТОМЫ ПОЛОМКИ (главный конверсионный блок)
   ===================================================== */
.symptoms { padding: 80px 0 72px; }
.symptoms__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.symptom-card {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
    display: flex;
    flex-direction: column;
}
.symptom-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-ice); }
.symptom-card--hidden { display: none; }
.symptom-card__title { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.symptom-card__cause { color: var(--color-text-muted); font-size: 13.5px; margin-bottom: 16px; flex-grow: 1; line-height: 1.45; }
.symptom-card__meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 8px; }
.symptom-card__price { font-size: 17px; font-weight: 800; color: var(--color-text); white-space: nowrap; }
.symptom-card__time {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-ice-dark);
    background: var(--color-ice-light);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.symptoms__more { text-align: center; margin: 8px 0 48px; }

@media (max-width: 1024px) { .symptoms__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .symptoms__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } .symptom-card { padding: 18px; } }
@media (max-width: 480px) { .symptoms__grid { grid-template-columns: 1fr; } }

/* Инлайн-карточка "не нашли проблему" — тёмная, форма без модалки */
.not-found-card {
    background: var(--color-dark);
    border-radius: var(--radius-lg);
    padding: 44px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.not-found-card__text h3 { color: #fff; font-size: 26px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; line-height: 1.15; }
.not-found-card__text p { color: var(--color-dark-text-muted); font-size: 15px; max-width: 380px; }
@media (max-width: 800px) {
    .not-found-card { grid-template-columns: 1fr; padding: 28px 22px; gap: 24px; }
}

/* =====================================================
   ПРАЙС-ТАБЛИЦА
   ===================================================== */
.price-table { padding: 76px 0; background: var(--color-bg-alt); }
.price-table__table { width: 100%; max-width: 760px; margin: 0 auto; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.price-table__table tr { border-bottom: 1px solid var(--color-border); }
.price-table__table tr:last-child { border-bottom: none; }
.price-table__table td { padding: 18px 22px; font-size: 15.5px; }
.price-table__price { text-align: right; font-weight: 800; color: var(--color-text); white-space: nowrap; }
.price-table__note { text-align: center; color: var(--color-text-muted); font-size: 13px; max-width: 760px; margin: 14px auto 0; }
.price-table__cta { text-align: center; margin-top: 32px; }

/* =====================================================
   ПРОЦЕСС РЕМОНТА — тёмный фон, нумерация 01-06
   ===================================================== */
.process { padding: 80px 0; background: var(--color-dark); }
.process .section-subtitle { color: var(--color-dark-text-muted); }
.process__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
    margin-top: 48px;
}
.process__step {
    border-top: 1px solid var(--color-dark-border);
    padding-top: 20px;
}
.process__num {
    display: block;
    font-size: 34px;
    font-weight: 800;
    color: var(--color-ice);
    margin-bottom: 12px;
    font-variant-numeric: tabular-nums;
}
.process__step h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: #fff; }
.process__step p { color: var(--color-dark-text-muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .process__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process__list { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================
   ГАРАНТИЯ — иконки-карточки на тёмном фоне
   ===================================================== */
.warranty { padding: 76px 0; background: var(--color-dark-2); }
.warranty .section-subtitle { color: var(--color-dark-text-muted); }
.warranty__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.warranty-card {
    background: var(--color-dark-3);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
}
.warranty-card h3 { color: var(--color-ice); font-size: 17px; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.warranty-card p { color: var(--color-dark-text-muted); font-size: 14px; line-height: 1.5; }
@media (max-width: 900px) { .warranty__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .warranty__grid { grid-template-columns: 1fr; } }

/* =====================================================
   МЫ В РАБОТЕ — фотогалерея
   ===================================================== */
.work-gallery { padding: 76px 0; }
.work-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
}
.work-gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--color-bg-alt);
}
.work-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .work-gallery__grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================
   ГЕОГРАФИЯ ВЫЕЗДА — 2 колонки (город / пригород)
   ===================================================== */
.coverage { padding: 76px 0; background: var(--color-bg-alt); }
.coverage__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.coverage__col-title { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); margin-bottom: 16px; }
.coverage__list { display: flex; flex-direction: column; gap: 10px; }
.coverage__list li {
    background: #fff;
    border: 1px solid var(--color-border);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14.5px;
}
@media (max-width: 640px) { .coverage__columns { grid-template-columns: 1fr; gap: 28px; } }

/* =====================================================
   МАСТЕРА
   ===================================================== */
.masters { padding: 76px 0; }
.masters__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.master-card {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.master-card__avatar {
    width: 96px; height: 96px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--color-bg-alt);
}
.master-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.master-card__name { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.master-card__exp { color: var(--color-ice-dark); font-weight: 700; font-size: 13.5px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.master-card__text { color: var(--color-text-muted); font-size: 14px; }
@media (max-width: 900px) { .masters__grid { grid-template-columns: 1fr; } }

/* =====================================================
   ОТЗЫВЫ — свайпаемая карусель, второй блок сразу после hero
   ===================================================== */
.reviews { padding: 64px 0 56px; background: var(--color-bg); }

.reviews__header { margin-bottom: 30px; }
.reviews__header .section-title { margin-bottom: 16px; }
.reviews__summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}
.reviews__rating { font-size: 22px; font-weight: 800; color: var(--color-text); }
.reviews__stars { color: var(--color-ice-dark); font-size: 18px; letter-spacing: 1px; }
.reviews__count { color: var(--color-text-muted); font-size: 14.5px; }

/* Горизонтальная лента с нативным свайпом на тач-устройствах и scroll-snap */
.reviews__viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.reviews__viewport::-webkit-scrollbar { display: none; }

.reviews__track {
    display: flex;
    gap: 20px;
    padding: 4px max(20px, calc((100vw - var(--container-width)) / 2)) 20px;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(20px, calc((100vw - var(--container-width)) / 2));
    width: max-content;
}

.review-card {
    scroll-snap-align: start;
    flex: 0 0 340px;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--transition-fast), transform var(--transition-fast);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.review-card__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-card__avatar {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--color-ice) 0%, var(--color-ice-dark) 100%);
    color: #05262E;
    font-weight: 800;
    font-size: 17px;
    display: flex; align-items: center; justify-content: center;
}
.review-card__name { font-weight: 800; font-size: 15px; color: var(--color-text); }
.review-card__meta { font-size: 12.5px; color: var(--color-text-muted); }
.review-card__stars { color: var(--color-ice-dark); font-size: 16px; letter-spacing: 1px; margin-bottom: 10px; }
.review-card__text { font-size: 14.5px; line-height: 1.55; color: var(--color-text); flex-grow: 1; }

.reviews__nav { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.reviews__arrow {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-border);
    background: #fff;
    font-size: 22px;
    line-height: 1;
    color: var(--color-text);
    display: flex; align-items: center; justify-content: center;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}
.reviews__arrow:hover { border-color: var(--color-ice); color: var(--color-ice-dark); }

@media (max-width: 640px) {
    .review-card { flex-basis: 82vw; padding: 22px; }
    .reviews__nav { display: none; } /* на мобильных — обычный свайп пальцем */
}

/* =====================================================
   FAQ (АККОРДЕОН)
   ===================================================== */
.faq { padding: 76px 0; }
.faq__list { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item__question {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    background: none; border: none;
    padding: 22px 4px;
    font-size: 16px; font-weight: 700;
    text-align: left;
}
.faq-item__icon { font-size: 22px; color: var(--color-ice-dark); transition: transform var(--transition-fast); }
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-mid);
}
.faq-item__answer p { padding: 0 4px 20px; color: var(--color-text-muted); font-size: 15px; line-height: 1.55; }
.faq-item.is-open .faq-item__answer { max-height: 320px; }

/* =====================================================
   ФИНАЛЬНЫЙ CTA
   ===================================================== */
.final-cta { padding: 80px 0; background: var(--color-dark); color: #fff; text-align: center; }
.final-cta__inner h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; margin-bottom: 14px; text-transform: uppercase; }
.final-cta__inner p { color: var(--color-dark-text-muted); margin-bottom: 30px; font-size: 17px; }
.final-cta__actions { display: flex; justify-content: center; flex-wrap: wrap; align-items: center; gap: 22px; }
.final-cta__phone { font-weight: 700; font-size: 17px; color: #fff; }

/* =====================================================
   ПЛАШКА COOKIE
   ===================================================== */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 1500;
    background: rgba(10, 13, 17, 0.96);
    backdrop-filter: blur(6px);
    border-top: 1px solid var(--color-dark-border);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 16px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}
.cookie-banner__text { color: var(--color-dark-text-muted); font-size: 13.5px; line-height: 1.5; max-width: 820px; }
.cookie-banner__text a { color: var(--color-ice); text-decoration: underline; }
.cookie-banner__accept { padding: 11px 24px; font-size: 14.5px; flex-shrink: 0; }

@media (max-width: 767px) {
    /* На мобильных приподнимаем плашку над нижней sticky-панелью */
    .cookie-banner { bottom: var(--bottom-bar-height); }
    .cookie-banner__inner { flex-direction: column; align-items: stretch; text-align: center; padding-top: 14px; padding-bottom: 14px; }
    .cookie-banner__accept { width: 100%; }
}

/* =====================================================
   ЮРИДИЧЕСКИЕ СТРАНИЦЫ (оферта, политика конфиденциальности)
   ===================================================== */
.legal-page { padding: 64px 0 90px; }
.legal-page__container { max-width: 820px; margin: 0 auto; }
.legal-page__title {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.15;
}
.legal-page__updated { color: var(--color-text-muted); font-size: 14px; margin-bottom: 40px; }
.legal-page__content h2 {
    font-size: 21px;
    font-weight: 800;
    margin-top: 40px;
    margin-bottom: 14px;
}
.legal-page__content h2:first-child { margin-top: 0; }
.legal-page__content p { margin-bottom: 14px; color: var(--color-text); font-size: 15.5px; line-height: 1.7; }
.legal-page__content ul,
.legal-page__content ol { margin-bottom: 14px; padding-left: 22px; }
.legal-page__content ul { list-style: disc; }
.legal-page__content ol { list-style: decimal; }
.legal-page__content li { margin-bottom: 8px; color: var(--color-text); font-size: 15.5px; line-height: 1.7; }
.legal-page__content strong { font-weight: 700; }
.legal-page__content a { color: var(--color-ice-dark); text-decoration: underline; }
.legal-page__placeholder {
    background: var(--color-ice-light);
    border: 1px dashed var(--color-ice-dark);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    font-style: normal;
    color: var(--color-ice-dark);
    font-weight: 600;
}

/* =====================================================
   ФУТЕР
   ===================================================== */
.site-footer { background: #05070A; color: #8B95A1; padding: 60px 0 24px; }
.site-footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 28px; }
.site-footer__logo { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 12px; text-transform: uppercase; }
.site-footer__desc { font-size: 14px; line-height: 1.6; }
.site-footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer__col a { display: block; font-size: 14px; margin-bottom: 10px; }
.site-footer__phone { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 8px; display: block; }
.site-footer__legal-block { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.site-footer__legal { font-size: 12px; opacity: 0.7; margin-bottom: 4px; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; font-size: 13px; opacity: 0.6; }
@media (max-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* =====================================================
   МОДАЛЬНОЕ ОКНО ЗАЯВКИ — тёмная карточка
   ===================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(5, 7, 10, 0.75); backdrop-filter: blur(2px); }
.modal__box {
    position: relative;
    background: var(--color-dark);
    border: 1px solid var(--color-dark-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    animation: bft-modal-in 0.2s ease;
}
@keyframes bft-modal-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal__close {
    position: absolute; top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none; background: rgba(255,255,255,0.08);
    font-size: 20px; line-height: 1;
    color: #fff;
}
.modal__title { font-size: 21px; font-weight: 800; margin-bottom: 6px; padding-right: 20px; color: #fff; text-transform: uppercase; }
.modal__subtitle { color: var(--color-dark-text-muted); font-size: 14px; margin-bottom: 22px; }

.lead-form { display: flex; flex-direction: column; gap: 14px; }
.lead-form__row { display: flex; flex-direction: column; gap: 14px; }
.lead-form__label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--color-dark-text-muted); }
.lead-form__input {
    padding: 14px 16px;
    border: 1.5px solid var(--color-dark-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    color: #fff;
    background: rgba(255,255,255,0.04);
}
.lead-form__input::placeholder { color: var(--color-dark-text-muted); }
.lead-form__input:focus { outline: none; border-color: var(--color-ice); }
.lead-form__checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 12.5px; color: var(--color-dark-text-muted); line-height: 1.5; }
.lead-form__checkbox input { margin-top: 3px; }
.lead-form__checkbox a { color: var(--color-ice); text-decoration: underline; }

/* Honeypot — поле-ловушка для ботов, людям не видно и не доступно табом */
.lead-form__hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Подпись к вопросу простой капчи ("Сколько будет 3 + 5?") */
.lead-form__captcha-label { font-size: 13px; font-weight: 600; color: var(--color-dark-text-muted); }
.lead-form__submit { margin-top: 4px; }
.lead-form__status { font-size: 14px; text-align: center; min-height: 20px; color: var(--color-dark-text); }
.lead-form__status.is-success { color: var(--color-success); font-weight: 700; }
.lead-form__status.is-error { color: #ff6b6b; font-weight: 700; }

/* Блокируем скролл body при открытой модалке (класс навешивается через JS) */
body.bft-modal-open { overflow: hidden; }

/* =====================================================
   РЕБРЕНДИНГ ПЕРВОГО ЭКРАНА (hero) — упор на мобильную версию, звонок вместо формы
   ===================================================== */
.hero__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--color-dark-border);
    backdrop-filter: blur(6px);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-dark-text);
    margin-bottom: 20px;
}
.hero__status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--color-success);
    animation: bft-dot 2s ease-out infinite;
}
.hero__status.is-closed .hero__status-dot { background: var(--color-dark-text-muted); animation: none; }
@keyframes bft-dot {
    0%   { box-shadow: 0 0 0 0 rgba(47, 209, 128, 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(47, 209, 128, 0); }
    100% { box-shadow: 0 0 0 0 rgba(47, 209, 128, 0); }
}

.hero__cta { flex-direction: column; align-items: flex-start; gap: 0; }

/* Главная кнопка: «Вызвать мастера на дом» + номер, по клику сразу звонок */
.btn-call {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 420px;
    padding: 12px 22px 12px 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, #8BEBFF 0%, var(--color-ice) 55%, #2BBBE0 100%);
    color: #04202A;
    box-shadow: 0 6px 18px rgba(69, 212, 245, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55);
    animation: bft-call-pulse 2.4s ease-out infinite;
    transition: transform var(--transition-fast);
}
.btn-call:active { transform: scale(0.98); }
.btn-call--wide { max-width: none; }
.btn-call__icon {
    flex: 0 0 48px;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #04202A;
    color: var(--color-ice);
    display: flex; align-items: center; justify-content: center;
}
.btn-call__icon svg { width: 22px; height: 22px; animation: bft-call-ring 2.4s ease-in-out infinite; transform-origin: 50% 50%; }
.btn-call__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.btn-call__label { font-size: 13.5px; font-weight: 700; opacity: 0.8; }
.btn-call__number { font-size: clamp(19px, 5.6vw, 25px); font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }

.hero__alt {
    display: inline-block;
    margin-top: 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-dark-text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    transition: color var(--transition-fast);
}
.hero__alt:hover { color: #fff; }
.hero__price-note { margin-top: 18px; font-size: 13px; color: var(--color-dark-text-muted); }

.not-found-card__cta { display: flex; flex-direction: column; align-items: flex-start; }

/* Шапка: на телефоне — круглая кнопка звонка */
.site-header__call { display: none; }

@media (max-width: 900px) {
    .hero__badge { display: none; } /* предложение −30% вынесено в строку под кнопкой */
}
@media (max-width: 767px) {
    .site-header__social { display: none; }
    .site-header__call {
        display: flex; align-items: center; justify-content: center;
        width: 42px; height: 42px;
        border-radius: 50%;
        background: var(--color-ice);
        color: #04202A;
    }
    .site-header__logo-text { font-size: 16.5px; }

    .hero { min-height: 0; align-items: stretch; }
    .hero__overlay { background: linear-gradient(180deg, rgba(10, 13, 17, 0.74) 0%, rgba(10, 13, 17, 0.84) 50%, rgba(10, 13, 17, 0.96) 100%); }
    .hero__inner { padding-top: 44px; padding-bottom: 44px; }
    .hero__title {
        text-transform: none;
        font-size: clamp(30px, 8.6vw, 36px);
        line-height: 1.14;
        letter-spacing: -0.02em;
        margin-bottom: 22px;
    }
    .hero__benefits { gap: 12px; margin-bottom: 30px; }
    .hero__benefits li { font-size: 16px; }
    .btn-call { max-width: none; }
    .hero__alt { display: block; width: 100%; text-align: center; }
    .hero__price-note { text-align: center; }
    .not-found-card__cta { align-items: stretch; }
}
@media (min-width: 768px) {
    .btn-call { width: auto; min-width: 340px; }
}
/* ===== Мобильный hero: на всю высоту между шапкой и нижней панелью ===== */
@media (max-width: 767px) {
    .hero {
        padding-top: 0;
        /* высота экрана минус шапка (64px) и нижняя панель (72px) */
        min-height: calc(100vh - var(--header-height-mobile) - var(--bottom-bar-height));
        min-height: calc(100svh - var(--header-height-mobile) - var(--bottom-bar-height));
        align-items: center;   /* содержимое по центру: сверху и снизу поровну */
    }
    .hero__inner { padding-top: 32px; padding-bottom: 32px; }
    .hero__status { margin-bottom: 18px; padding: 7px 13px; font-size: 13px; }
    .hero__title {
        font-size: clamp(29px, 8.4vw, 36px);
        line-height: 1.14;
        margin-bottom: 22px;
    }
    .hero__benefits { gap: 12px; margin-bottom: 28px; }
    .hero__benefits li { font-size: 15.5px; }
    .hero__alt { margin-top: 16px; }
    .hero__price-note { margin-top: 14px; }
}
/* =====================================================================
   v2: КАРТОЧКА МАСТЕРА В HERO + БЕГУЩАЯ СТРОКА БРЕНДОВ + ФОТО В ОТЗЫВАХ
   Вставить В САМЫЙ КОНЕЦ assets/css/main.css (ничего не удаляя)
   ===================================================================== */

/* ---------- Мастер в hero ---------- */
.hero-master__photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--color-ice) 0%, var(--color-ice-dark) 100%);
    color: #05262E;
    font-weight: 800;
}
.hero-master__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-master__dot {
    position: absolute; top: 3px; right: 3px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--color-success);
    border: 2px solid var(--color-dark);
    animation: bft-dot 2s ease-out infinite;
}
.hero-master__dot--static { position: static; width: 9px; height: 9px; border: none; flex-shrink: 0; }
.hero-master__rating { color: var(--color-ice); font-weight: 800; }

/* Мобильная/планшетная строка мастера под заголовком */
.hero-master--card { display: none; }
.hero-master--inline {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 430px;
    margin: 0 0 18px;
    padding: 10px 16px 10px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--color-dark-border);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
}
.hero-master--inline .hero-master__photo { flex: 0 0 58px; width: 58px; height: 58px; border-radius: 50%; overflow: visible; font-size: 22px; }
.hero-master--inline .hero-master__photo img { border-radius: 50%; }
.hero-master--inline .hero-master__info { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.hero-master--inline strong { font-size: 15.5px; font-weight: 800; }
.hero-master--inline .hero-master__exp { font-size: 12.5px; color: var(--color-dark-text-muted); }
.hero-master--inline .hero-master__rating { font-size: 13px; }

/* Десктоп: слева текст, справа карточка мастера */
@media (min-width: 901px) {
    .hero-master--inline { display: none; }
    .hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 340px;
        column-gap: 56px;
        align-items: end;
    }
    .hero-master--card {
        display: block;
        width: 340px;
        overflow: hidden;
        border-radius: var(--radius-lg);
        background: rgba(18, 22, 28, 0.86);
        border: 1px solid var(--color-dark-border);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        box-shadow: var(--shadow-lg);
        color: #fff;
    }
    .hero-master--card .hero-master__photo { width: 100%; aspect-ratio: 340 / 357; font-size: 96px; }
    .hero-master__body { padding: 18px 22px 22px; }
    .hero-master__live { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--color-success); margin-bottom: 10px; }
    .hero-master__name { font-size: 20px; font-weight: 800; line-height: 1.2; }
    .hero-master--card .hero-master__exp { font-size: 13px; color: var(--color-dark-text-muted); margin: 4px 0 10px; }
    .hero-master--card .hero-master__rating { display: inline-block; font-size: 15px; margin-bottom: 12px; }
    .hero-master__quote { font-size: 14px; line-height: 1.5; color: var(--color-dark-text); padding-top: 12px; border-top: 1px solid var(--color-dark-border); }
}

/* Мобильный hero с мастером: компактнее, чтобы кнопка звонка оставалась на первом экране */
@media (max-width: 767px) {
    .hero__inner { padding-top: 22px; padding-bottom: 22px; }
    .hero__status { margin-bottom: 14px; }
    .hero__title { font-size: clamp(27px, 7.8vw, 33px); margin-bottom: 16px; }
    .hero-master--inline { margin-bottom: 16px; }
    .hero__benefits { gap: 8px; margin-bottom: 20px; }
    .hero__benefits li { font-size: 15px; }
    .hero__alt { margin-top: 12px; }
    .hero__price-note { margin-top: 10px; }
}

/* ---------- Бегущая строка брендов (справа налево) ---------- */
.brands { padding: 28px 0 22px; overflow: hidden; }
.brands__viewport {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.brands__track {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 8px 0;
    animation: bft-marquee 80s linear infinite;
}
.brands__viewport:hover .brands__track { animation-play-state: paused; }
.brands__item { flex: 0 0 auto; margin-right: 64px; display: flex; align-items: center; }
.brands__item a { display: flex; align-items: center; }
.brands__item img {
    height: 34px; width: auto; max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: filter var(--transition-mid), opacity var(--transition-mid);
}
.brands__item:hover img { filter: none; opacity: 1; }
.brands__word { font-size: 22px; font-weight: 800; letter-spacing: 0.02em; color: var(--color-text-muted); white-space: nowrap; transition: color var(--transition-mid); }
.brands__item:hover .brands__word { color: var(--color-ice-dark); }
.trust-bar__note { text-align: center; font-size: 11.5px; color: var(--color-text-muted); opacity: 0.8; margin-top: 12px; }
@keyframes bft-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (max-width: 767px) {
    .brands__item { margin-right: 44px; }
    .brands__item img { height: 28px; }
    .brands__word { font-size: 18px; }
    .brands__track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
    .brands__track { animation: none; }
    .brands__viewport { overflow-x: auto; }
}

/* ---------- Фото клиентов в отзывах ---------- */
.review-card__avatar { width: 56px; height: 56px; font-size: 20px; overflow: hidden; }
.review-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }