/* ===================== ТОКЕНЫ ===================== */
:root{
    --blue:#1f6fd6;
    --blue-dark:#1552a8;
    --blue-light:#eef4fd;
    --accent:#ff7a00;
    --accent-dark:#e96b00;
    --text:#1f2a37;
    --muted:#7a8694;
    --line:#e6ecf4;
    --bg:#f4f8ff;
    --white:#fff;
    --radius:14px;
    --radius-sm:10px;
    --shadow:0 6px 24px rgba(16,42,77,.08);
    --shadow-lg:0 14px 40px rgba(16,42,77,.14);
    --container:1200px;
    --ff:'Segoe UI',Roboto,Arial,system-ui,sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:var(--ff);color:var(--text);background:var(--bg);line-height:1.5;-webkit-font-smoothing:antialiased;
    -webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
/* в полях ввода выделение/ввод оставляем */
input,textarea,select,[contenteditable]{-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}
img{max-width:100%;display:block;-webkit-user-drag:none;user-drag:none}
a{color:inherit;text-decoration:none}
ul{list-style:none}
[hidden]{display:none!important}

.container{max-width:var(--container);margin:0 auto;padding:0 20px}
.section-title{font-size:clamp(24px,4vw,36px);font-weight:800;text-align:center;margin-bottom:32px;color:var(--blue-dark)}
.section-title--hits{color:var(--text);max-width:920px;margin-left:auto;margin-right:auto;line-height:1.2}
.section-title--hits span{color:var(--blue)}
section{padding:54px 0}

/* ===================== КНОПКИ ===================== */
.btn{
    position:relative;overflow:hidden;
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    font:inherit;font-weight:700;cursor:pointer;border:2px solid transparent;
    padding:12px 22px;border-radius:var(--radius-sm);transition:.18s;text-align:center;
    line-height:1.2;
}
.btn img{height:20px;width:auto}

/* Пробегающий блик: проход 2с + пауза 2с (всего цикл 4с) */
.btn::after{
    content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;
    background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.55) 50%,transparent 100%);
    transform:skewX(-22deg);
    animation:btnShine 4s cubic-bezier(.25,.6,.3,1) infinite;
    pointer-events:none;
}
.btn--outline::after{background:linear-gradient(115deg,transparent 0%,rgba(31,111,214,.22) 50%,transparent 100%)}
@keyframes btnShine{
    0%   {left:-60%}
    50%  {left:140%}   /* проход полосы — первые 2с */
    100% {left:140%}   /* пауза — следующие 2с */
}
@media(prefers-reduced-motion:reduce){.btn::after{animation:none;display:none}}
.btn--accent{background:var(--blue);color:#fff}
.btn--accent:hover{background:var(--blue-dark)}
.btn--outline{background:transparent;border-color:var(--blue);color:var(--blue)}
.btn--outline:hover{background:var(--blue);color:#fff}
.btn--outline:hover img{filter:brightness(0) invert(1)}
.btn--ghost{background:transparent;color:var(--muted);border-color:var(--line)}
.btn--ghost:hover{color:var(--text);border-color:var(--muted)}
.btn--lg{padding:15px 30px;font-size:17px;width:100%}
.btn--lg.btn{max-width:420px}

/* ===================== ШАПКА (стиль СевПрофКлимат) ===================== */
.header{background:var(--white);position:relative;z-index:50;box-shadow:0 2px 14px rgba(20,60,120,.06)}
.header__top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 20px;flex-wrap:wrap;max-width:var(--container);margin:0 auto}

/* Логотип с глобусом */
.logo{display:flex;align-items:center;gap:10px}
.logo__globe{width:38px;height:38px;flex:none;display:block}
.logo__globe svg{width:100%;height:100%}
.logo__name{display:flex;flex-direction:column;line-height:1.05}
.logo__name b{font-size:19px;font-weight:800;letter-spacing:-.3px;
    background:linear-gradient(90deg,#1b8fd6,#1f5fd0);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo__name i{font-style:normal;font-size:12px;color:var(--muted);margin-top:1px}

/* Адрес с миниатюрой карты */
.header__addr{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--text)}
.header__addr-map{width:46px;height:40px;flex:none;border-radius:8px;background:#e8f0fb url("../assets/img/free-icon-triangle-11072716.png") center/22px no-repeat;
    display:flex;align-items:center;justify-content:center;border:1px solid var(--line);position:relative;overflow:hidden}
.header__addr-map svg{width:20px;height:20px}
.header__addr-text{max-width:150px;line-height:1.3}

/* Бейджи отзывов */
.header__reviews{display:flex;gap:16px}
.header__reviews-img{height:50px;width:auto;display:block;flex:none}
.review{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:12px}
.review__name{font-weight:800;font-size:14px;display:flex;align-items:center;gap:5px}
.review--avito .review__name{color:#1c1c1c;font-size:15px}
.review__name img{height:26px;width:auto;display:block}
.review--yandex .review__name{color:#1c1c1c}
.review--yandex .ya{color:#fc3f1d;font-weight:900;font-size:15px}
.review__rate{display:flex;align-items:center;gap:4px;font-weight:700;color:var(--text)}
.review__rate em{font-style:normal;letter-spacing:1px;font-size:11px}
.review--avito .review__rate em{color:#ffb400}
.review--yandex .review__rate em{color:#ffb400}

/* Напишите нам + мессенджеры */
.header__write,.header__call{display:flex;flex-direction:column;gap:6px}
.header__write-label,.header__call-label{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:5px}
.header__write-label::before,.header__call-label::before{content:"";width:7px;height:7px;border-radius:50%;background:#1bbf63;flex:none}
.header__write-label::before,.header__call-label::before{animation:liveDot 1.4s ease-in-out infinite}
@keyframes liveDot{
    0%,100%{box-shadow:0 0 0 0 rgba(27,191,99,.55);opacity:1}
    70%{box-shadow:0 0 0 6px rgba(27,191,99,0);opacity:.6}
}
.header__msgs{display:flex;gap:8px}
.msg{width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.18s}
.msg:hover{transform:translateY(-2px) scale(1.06)}
.msg img{height:18px;filter:brightness(0) invert(1)}
.msg--wa{background:#25d366}.msg--tg{background:#29a9eb}.msg--vb{background:#7360f2}

/* Телефон + заказать звонок */
.header__call{align-items:flex-end;text-align:right;gap:3px}
.header__phone{font-size:21px;font-weight:800;color:var(--text);letter-spacing:-.5px}
.header__callback{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:600;color:var(--blue);text-decoration:underline;cursor:pointer}
.header__callback svg{width:15px;height:15px}

.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px}
.burger span{width:26px;height:3px;background:var(--blue-dark);border-radius:3px;transition:.2s}
.burger.is-open span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

/* Навигация-таблетка */
.nav{padding:0 20px 10px}
.nav__list{display:flex;align-items:center;justify-content:space-between;gap:2px;
    background:#fff;border:1px solid var(--line);border-radius:30px;
    box-shadow:0 6px 20px rgba(20,60,120,.09);padding:4px 8px;max-width:var(--container);margin:0 auto}
.nav__item{flex:1;text-align:center}
.nav__item>a{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;
    padding:9px 8px;font-weight:600;font-size:14px;color:var(--text);border-radius:24px;transition:.15s}
.nav__item>a:hover{background:var(--blue-light);color:var(--blue)}
.nav__item--active>a{color:var(--blue)}
.nav__home{width:17px;height:17px}
.nav__home path{fill:var(--blue)}

/* ===================== HERO (полноэкранный фон) ===================== */
.hero{
    position:relative;
    min-height:100vh;
    display:flex;align-items:center;
    background:#dbe8f4 url("../assets/img/foto-na-glavnuyu-kondiczionery3.jpg") center right/cover no-repeat;
    color:var(--text);padding:80px 0;overflow:hidden;
}
.hero__inner{position:relative;z-index:1;width:100%}
.hero__content{max-width:600px;margin-right:auto;text-align:left;align-items:flex-start}
.hero__content .btn{align-self:flex-start}
.hero__stats{justify-content:flex-start}
.hero__title{font-size:clamp(30px,4.6vw,52px);font-weight:800;line-height:1.1;margin-bottom:18px;color:var(--text)}
.hero__title span{color:var(--blue)}
.hero__subtitle{font-size:18px;color:#3c4654;margin-bottom:30px;max-width:480px}
.hero__stats{display:flex;gap:38px;margin-bottom:34px;flex-wrap:wrap}
.hero__stats li{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px}
.hero__stats-ic{width:30px;height:30px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:6px;box-shadow:0 4px 12px rgba(31,111,214,.35)}
.hero__stats-ic::after{content:"✓";color:#fff;font-size:15px;font-weight:700;line-height:1}
.hero__stats strong{font-size:18px;font-weight:800;color:var(--text)}
.hero__stats span{font-size:14px;color:var(--muted);max-width:150px}

/* ===================== АКЦИИ ===================== */
.promo__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.promo-card{position:relative;border-radius:18px;overflow:hidden;min-height:262px;padding:30px 32px;
    display:flex;flex-direction:column;justify-content:center;box-shadow:var(--shadow);
    transition:transform .25s ease,box-shadow .25s ease}
.promo-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.promo-card__pic{position:absolute;right:0;bottom:0;top:0;height:100%;width:56%;object-fit:contain;object-position:bottom right;z-index:1;pointer-events:none;
    transition:transform .3s ease;transform-origin:bottom right}
.promo-card:hover .promo-card__pic{transform:scale(1.06)}
.promo-card__body{position:relative;z-index:2;max-width:62%}
.promo-card h3{font-size:23px;font-weight:800;line-height:1.15;margin-bottom:14px}
.promo-card p{font-size:14px;line-height:1.45;margin-bottom:20px;opacity:.92}
.promo-card__link{display:inline-flex;align-items:center;gap:8px;background:none;border:0;padding:0;cursor:pointer;
    font:inherit;font-weight:700;font-size:14px;color:inherit;position:relative;z-index:2}
.promo-card__link span{transition:transform .2s ease}
.promo-card__link:hover span{transform:translateX(5px)}
/* варианты */
.promo-card--blue{background:linear-gradient(135deg,#1f6fd6,#2a86e0);color:#fff}
.promo-card--dark{background:linear-gradient(135deg,#2a2a2e,#34343a);color:#fff}
.promo-card--dark .promo-card__link{color:#5aa9ff}
.promo-card--light{background:#fff;border:1px solid var(--line);color:var(--text)}
.promo-card--light p{color:var(--muted);opacity:1}
.promo-card--light .promo-card__link{color:var(--blue)}

/* ===================== КВИЗ ===================== */
.quiz{background:var(--blue-light)}
.quiz__heading{text-align:center;font-size:clamp(24px,3.4vw,38px);font-weight:800;line-height:1.2;
    max-width:920px;margin:0 auto 30px;color:var(--text)}
.quiz__heading span{color:var(--blue)}
.quiz__wrap{display:grid;grid-template-columns:1fr 330px;gap:22px;background:#fff;
    border-radius:22px;box-shadow:var(--shadow-lg);padding:22px}

/* левая колонка */
.quiz__main{min-width:0}
/* прогресс-бар с бегущими полосками */
.quiz__progress{position:relative;height:36px;background:#fff;border:1px solid #e3e9f2;border-radius:30px;padding:3px;margin-bottom:26px;overflow:hidden}
.quiz__progress-bar{height:100%;border-radius:30px;overflow:hidden}
.quiz__progress-bar span{display:block;height:100%;width:0;min-width:30px;border-radius:30px;transition:width .5s ease;
    background-color:#31B939;position:relative;overflow:hidden}
/* бегущие белые диагонали поверх заливки (как на оригинале) */
.quiz__progress-bar span::after{content:"";position:absolute;inset:0;
    background:url("../assets/img/progress-bar.svg") 0 center/auto 100% repeat-x;
    animation:progStripes 30s linear infinite}
@keyframes progStripes{from{background-position-x:0}to{background-position-x:560px}}
.quiz__progress-text{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    font-size:14px;font-weight:600;color:#5a6675;letter-spacing:.02em;pointer-events:none;z-index:2}

/* заголовок вопроса с бейджем */
.quiz__qhead{display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap}
.quiz__badge{background:var(--blue);color:#fff;font-weight:700;font-size:14px;padding:7px 16px;border-radius:30px;white-space:nowrap}
.quiz__question{font-size:22px;font-weight:800;color:var(--text)}

.quiz__options{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.quiz__options--text{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}
.quiz-option{border:2px solid var(--line);border-radius:14px;padding:10px;cursor:pointer;transition:.15s;text-align:center;font-weight:600;background:#fff;display:flex;flex-direction:column;align-items:center;gap:8px;position:relative}
.quiz-option img{width:100%;height:120px;object-fit:cover;border-radius:10px}
.quiz-option__qmark{width:100%;height:120px;border-radius:10px;background:#eef2f7;display:flex;align-items:center;justify-content:center;font-size:46px;font-weight:700;color:#b6c1d1}
.quiz-option:hover{border-color:var(--blue);transform:translateY(-2px);box-shadow:0 8px 20px rgba(20,60,120,.1)}
.quiz-option.is-selected{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue) inset;background:var(--blue-light)}
.quiz-option__check{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;transition:.15s}
.quiz-option__check::after{content:"✓";font-size:13px;color:transparent;font-weight:700}
.quiz-option.is-selected .quiz-option__check{background:var(--blue);border-color:var(--blue)}
.quiz-option.is-selected .quiz-option__check::after{color:#fff}
.quiz-option--text{min-height:64px;justify-content:center}

.quiz__nav{margin-top:40px;display:flex;align-items:center;justify-content:space-between;gap:12px}
.quiz__nav #quizNext{margin-left:auto;min-width:160px;border-radius:50px;padding:18px 40px;font-size:17px;
    box-shadow:0 12px 26px rgba(31,111,214,.34)}
.quiz__nav #quizNext:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(31,111,214,.4)}
.quiz__nav #quizNext span{font-size:22px;line-height:1;margin-left:4px}
.quiz__nav #quizPrev{border-radius:50px;padding:14px 24px}

.quiz__final{text-align:center;max-width:440px;margin:0 auto;display:flex;flex-direction:column;align-items:center;gap:16px}
.quiz__final-img{width:120px}
.quiz__final h3{font-size:22px;color:var(--blue-dark)}
.quiz__channels{display:flex;gap:14px}
.quiz__channel{display:flex;align-items:center;gap:8px;border:2px solid var(--line);padding:10px 18px;border-radius:var(--radius-sm);cursor:pointer;font-weight:600}
.quiz__channel img{height:22px}
.quiz__channel:has(input:checked){border-color:var(--blue);background:var(--blue-light)}

/* правая колонка (светлая) */
.quiz__aside{background:#eef2f7;border-radius:18px;padding:26px 22px;text-align:center;position:relative}
.quiz__online{position:absolute;top:16px;right:16px;display:inline-flex;align-items:center;gap:6px;
    background:#1bbf63;color:#fff;font-size:12px;font-weight:700;padding:5px 12px;border-radius:20px}
.quiz__online::before{content:"";width:7px;height:7px;border-radius:50%;background:#fff;animation:liveDotWhite 1.4s ease-in-out infinite}
@keyframes liveDotWhite{
    0%,100%{box-shadow:0 0 0 0 rgba(255,255,255,.7);opacity:1}
    70%{box-shadow:0 0 0 5px rgba(255,255,255,0);opacity:.5}
}
.quiz__manager{width:120px;height:120px;border-radius:50%;object-fit:cover;margin:6px auto 0;display:block;
    border:4px solid #fff;box-shadow:var(--shadow)}
.quiz__manager-name{display:inline-block;background:#fff;border-radius:12px;padding:8px 22px;font-weight:700;
    font-size:16px;margin:-18px auto 16px;position:relative;box-shadow:var(--shadow)}
.quiz__lead{font-size:15px;color:var(--text);margin-bottom:20px;line-height:1.4}
.quiz__lead b{color:var(--blue)}
.quiz__gifts-title{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:12px}
.quiz__gifts{display:flex;flex-direction:column;gap:10px}
.quiz__gifts li{display:flex;align-items:center;gap:12px;background:#fff;border-radius:12px;padding:12px 14px;
    font-size:14px;font-weight:600;text-align:left;box-shadow:0 2px 8px rgba(20,60,120,.05)}
.quiz__gifts li span{flex:1}
.quiz__lock{width:30px;height:30px;flex:none;border-radius:50%;background:var(--blue);position:relative}
.quiz__lock::before{content:"";position:absolute;left:50%;top:8px;transform:translateX(-50%);width:9px;height:7px;
    border:2px solid #fff;border-bottom:none;border-radius:6px 6px 0 0}
.quiz__lock::after{content:"";position:absolute;left:50%;top:13px;transform:translateX(-50%);width:13px;height:10px;
    background:#fff;border-radius:2px}

/* ===================== УСЛУГИ ===================== */
.services__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.service-card{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line);transition:transform .25s ease,box-shadow .25s ease}
.service-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.service-card>img{height:200px;object-fit:cover;width:100%;transition:transform .3s ease}
.service-card:hover>img{transform:scale(1.06)}
.service-card h3{font-size:21px;padding:18px 22px 0;color:var(--blue-dark)}
.service-card p{padding:8px 22px;color:var(--muted);flex:1}
.service-card__btns{display:flex;gap:10px;padding:0 22px 22px;flex-wrap:wrap}
.service-card__btns .btn{flex:1;min-width:130px;padding:11px 14px}

/* ===================== О КОМПАНИИ В ЦИФРАХ ===================== */
.about{background:var(--blue-light)}
.about__inner{display:grid;grid-template-columns:.82fr 1.18fr;gap:38px;align-items:center}
.about__media{height:100%}
.about__media img{width:100%;height:100%;max-height:640px;object-fit:cover;border-radius:22px;box-shadow:var(--shadow-lg)}
.about__title{font-size:clamp(26px,3.1vw,40px);font-weight:800;color:var(--text);line-height:1.12;margin-bottom:16px}
.about__title span{color:var(--blue)}
.about__lead{font-size:17px;color:#5a6675;margin-bottom:28px;max-width:640px;line-height:1.45}
.about__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:30px}
.about-card{background:#fff;border-radius:16px;padding:20px;display:flex;gap:14px;box-shadow:var(--shadow);transition:transform .2s ease,box-shadow .2s ease}
.about-card:hover{transform:translateY(-5px);box-shadow:var(--shadow-lg)}
.about-card__check{width:26px;height:26px;flex:none;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;margin-top:2px}
.about-card__check::after{content:"✓";color:#fff;font-size:14px;font-weight:700;line-height:1}
.about-card h3{font-size:17px;color:var(--blue-dark);margin-bottom:6px}
.about-card p{font-size:13.5px;color:var(--muted);line-height:1.4}
.about-card p b{color:var(--text)}
.about__cta{display:flex;align-items:center;gap:30px;flex-wrap:wrap}
.about__cta .btn{max-width:280px}
.about__contact-label{display:block;font-size:14px;color:var(--muted);margin-bottom:4px}
.about__contact-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.about__phone{font-size:24px;font-weight:800;color:var(--text)}
.about__contact-row .header__msgs .msg{width:40px;height:40px}
.about__contact-row .header__msgs .msg img{height:20px}

/* ===================== КАТАЛОГ ===================== */
.catalog{background:var(--blue-light)}
.catalog__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);padding:18px;display:flex;flex-direction:column;position:relative;border:1px solid var(--line);overflow:hidden}
.product__badges{position:absolute;top:14px;left:14px;display:flex;gap:6px;z-index:2}
.badge{font-size:12px;font-weight:700;padding:4px 10px;border-radius:20px;color:#fff}
.badge--sale{background:var(--accent)}
.badge--wifi{background:var(--blue)}
.product__img{height:200px;object-fit:contain;margin-bottom:14px;transition:transform .35s ease}
.product:hover .product__img{transform:scale(1.09)}
.product__name{font-size:16px;min-height:44px;margin-bottom:12px;color:var(--blue-dark)}
.product__specs{margin-bottom:14px;flex:1}
.product__specs li{display:flex;justify-content:space-between;gap:10px;padding:6px 0;border-bottom:1px dashed var(--line);font-size:13px}
.product__specs span{color:var(--muted)}
.product__specs b{text-align:right}
.product__price{display:flex;align-items:baseline;gap:10px;margin-bottom:14px}
.product__old{color:var(--muted);text-decoration:line-through;font-size:14px}
.product__new{color:var(--accent);font-weight:800;font-size:22px}
.product .btn{width:100%}
.catalog__more{text-align:center;margin-top:32px}

/* ===================== ПОРТФОЛИО ===================== */
.works__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.work{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line)}
.work>img{height:220px;object-fit:cover;width:100%}
/* слайдер фото в карточке работы */
.work__media{position:relative;height:230px;overflow:hidden}
.work__slides{display:flex;height:100%;transition:transform .35s ease}
.work__slide{min-width:100%;height:100%;object-fit:cover;display:block}
.work__arrow{position:absolute;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:0;
    background:rgba(255,255,255,.88);color:var(--blue-dark);font-size:24px;line-height:1;cursor:pointer;
    display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow);transition:.15s;z-index:2;opacity:0}
.work__media:hover .work__arrow{opacity:1}
.work__arrow:hover{background:#fff;transform:translateY(-50%) scale(1.08)}
.work__arrow--prev{left:10px}
.work__arrow--next{right:10px}
.work__dots{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;z-index:2}
.work__dot{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.6);border:0;cursor:pointer;padding:0;transition:.2s}
.work__dot.is-active{background:#fff;width:22px;border-radius:5px}
.work__body{padding:22px;display:flex;flex-direction:column;flex:1}
.work__body h3{font-size:20px;color:var(--blue-dark);margin-bottom:6px}
.work__body>p{color:var(--muted);margin-bottom:14px}
.work__specs{margin-bottom:16px;flex:1}
.work__specs li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed var(--line);font-size:14px}
.work__specs span{color:var(--muted)}
.work__specs b{text-align:right}
.work__btns{display:flex;gap:10px}
.work__btns .btn{flex:1;padding:11px 12px}

/* ===================== ФОТОГАЛЕРЕЯ ===================== */
.gallery{background:var(--blue-light)}
.gallery__layout{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:start}
.gallery__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery__item{position:relative;display:block;border-radius:12px;overflow:hidden;cursor:pointer;aspect-ratio:1/1;background:#dde6f2}
.gallery__item img{width:100%;height:100%;object-fit:cover;transition:.3s}
.gallery__item:hover img{transform:scale(1.07)}
.gallery__item::after{content:"";position:absolute;inset:0;background:rgba(20,60,120,.12);opacity:0;transition:.2s}
.gallery__item:hover::after{opacity:1}
.gallery__empty{grid-column:1/-1;text-align:center;color:var(--muted);padding:40px;border:2px dashed var(--line);border-radius:var(--radius);background:#fff}

/* блок-превью с соцсетями */
.gallery__cta{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px 24px;position:sticky;top:96px;box-shadow:var(--shadow)}
.gallery__cta-title{font-size:20px;color:var(--blue-dark);margin-bottom:10px}
.gallery__cta-text{font-size:14px;color:var(--muted);margin-bottom:20px}
.social-btn{display:flex;align-items:center;gap:12px;width:100%;padding:14px 18px;border-radius:var(--radius-sm);
    font-weight:700;font-size:15px;color:#fff;margin-bottom:12px;transition:.18s;position:relative;overflow:hidden}
.social-btn:last-child{margin-bottom:0}
.social-btn svg{width:26px;height:26px;flex:none}
.social-btn:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
.social-btn--yt{background:#ff0000}
.social-btn--yt:hover{background:#e60000}
.social-btn--tg{background:#29a9eb}
.social-btn--tg:hover{background:#1f93d1}
/* пробегающий блик как у кнопок */
.social-btn::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:45%;
    background:linear-gradient(115deg,transparent,rgba(255,255,255,.45),transparent);transform:skewX(-22deg);
    animation:btnShine 4s cubic-bezier(.25,.6,.3,1) infinite;pointer-events:none}

/* ===================== ЛАЙТБОКС ===================== */
.lightbox{position:fixed;inset:0;z-index:120;display:flex;align-items:center;justify-content:center;
    background:rgba(8,18,35,.92);padding:30px}
.lightbox__img{max-width:90vw;max-height:86vh;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5);object-fit:contain}
.lightbox__close{position:absolute;top:20px;right:26px;background:none;border:0;color:#fff;font-size:34px;cursor:pointer;line-height:1}
.lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border-radius:50%;border:0;
    background:rgba(255,255,255,.15);color:#fff;font-size:34px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:.15s}
.lightbox__nav:hover{background:rgba(255,255,255,.3)}
.lightbox__prev{left:24px}
.lightbox__next{right:24px}

/* ===================== БЛОК «ПОЛУЧИТЬ КОНСУЛЬТАЦИЮ» ===================== */
.consult{position:relative;overflow:hidden;padding:64px 0;min-height:560px;display:flex;align-items:center;
    background:#eef6ff url("../assets/img/a2ka22.jpg") center/cover no-repeat}
.consult__manager{position:absolute;left:50%;bottom:0;transform:translateX(-52%);height:96%;max-height:600px;width:auto;z-index:1;pointer-events:none}
.consult__inner{position:relative;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:30px;width:100%}
.consult__left{max-width:400px}
.consult__title{font-size:clamp(30px,3.8vw,46px);font-weight:800;color:var(--blue);line-height:1.08;margin-bottom:42px}
.consult__contact{margin-bottom:24px}
.consult__label{display:block;font-weight:700;font-size:17px;color:var(--text);margin-bottom:8px}
.consult__phone{display:inline-flex;align-items:center;gap:8px;font-size:26px;font-weight:800;color:var(--text)}
.consult__phone svg{width:20px;height:20px}
.consult__msgs{display:flex;gap:10px}
.consult__msgs .msg{width:42px;height:42px}
.consult__msgs .msg img{height:22px}
.consult__form{width:380px;max-width:100%;display:flex;flex-direction:column;gap:14px}
.consult__input{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 24px;font:inherit;font-size:16px;box-shadow:0 10px 30px rgba(20,60,120,.12)}
.consult__input:focus{outline:none;border-color:var(--blue)}
.consult__input.is-error{border-color:#e23b3b;background:#fff5f5}
.consult__btn{border-radius:16px;padding:20px;font-size:18px;box-shadow:0 12px 30px rgba(31,111,214,.32)}
.consult__btn span{margin-left:8px;font-size:20px}
.consult__consent{color:#3c4654}
.consult__consent a{color:var(--blue)}

/* ===================== КОНТАКТЫ ===================== */
.contacts__grid{display:grid;grid-template-columns:1fr 1.2fr;gap:30px}
.contacts__row{margin-bottom:20px;display:flex;flex-direction:column;gap:4px}
.contacts__label{font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);font-weight:700}
.contacts__row a{font-size:19px;font-weight:700;color:var(--blue)}
.contacts__row p{font-size:16px}
.contacts__messengers{display:flex;gap:12px;margin:20px 0}
.contacts__messengers .btn img{height:22px}
.contacts__map iframe{width:100%;height:100%;min-height:420px;border:0;border-radius:var(--radius)}

/* ===================== ФУТЕР ===================== */
.footer{background:var(--blue-dark);color:#fff;padding:34px 0}
.footer__inner{display:flex;align-items:center;gap:24px;flex-wrap:wrap;justify-content:space-between}
.logo--light{color:#fff}
.footer__rights{font-size:14px;opacity:.85}
.footer__link{font-size:14px;text-decoration:underline;opacity:.9}
.footer__made{font-size:13px;opacity:.6}

/* ===================== МОДАЛКИ ===================== */
.modal{position:fixed;inset:0;z-index:100;display:flex;align-items:center;justify-content:center;padding:20px}
.modal[hidden]{display:none}
.modal__overlay{position:absolute;inset:0;background:rgba(8,24,46,.6);backdrop-filter:blur(2px)}
.modal__box{position:relative;background:#fff;border-radius:var(--radius);box-shadow:var(--shadow-lg);padding:34px 30px;width:100%;max-width:440px;z-index:1;animation:pop .22s ease}
.modal__box--wide{max-width:680px}
.modal__box--center{text-align:center;max-width:420px}
@keyframes pop{from{transform:scale(.94);opacity:0}to{transform:scale(1);opacity:1}}
.modal__close{position:absolute;top:14px;right:14px;background:none;border:0;cursor:pointer;padding:6px;opacity:.6;transition:.15s}
.modal__close:hover{opacity:1}
.modal__close img{height:18px}
.modal__title{font-size:23px;margin-bottom:10px;color:var(--blue-dark);padding-right:20px}
.modal__text{color:var(--muted);margin-bottom:18px}
.modal__scroll{max-height:60vh;overflow:auto;padding-right:10px}
.modal__scroll h4{margin:16px 0 6px;color:var(--blue-dark)}
.modal__scroll p{font-size:14px;color:var(--text);margin-bottom:6px}
.modal__check{width:64px;margin:0 auto 14px}

.js-lead-form{display:flex;flex-direction:column;gap:14px}
.input{font:inherit;padding:13px 15px;border:2px solid var(--line);border-radius:var(--radius-sm);width:100%;transition:.15s}
.input:focus{outline:none;border-color:var(--blue)}
.input.is-error{border-color:#e23b3b;background:#fff5f5}
.consent{display:flex;align-items:flex-start;gap:8px;font-size:12px;color:var(--muted);line-height:1.4}
.consent a{color:var(--blue);text-decoration:underline}
.consent input{margin-top:2px}
.channels,.quiz__channels{display:flex;gap:14px;flex-wrap:wrap}
.channel{display:flex;align-items:center;gap:6px;border:2px solid var(--line);padding:9px 14px;border-radius:var(--radius-sm);cursor:pointer;font-weight:600;font-size:14px}
.channel:has(input:checked){border-color:var(--accent);background:#fff7f0}

/* ===================== COOKIE / ПЛАВАЮЩИЕ ===================== */
.cookie{position:fixed;left:20px;bottom:20px;right:20px;max-width:560px;background:#fff;box-shadow:var(--shadow-lg);border-radius:var(--radius);padding:18px 22px;display:flex;align-items:center;gap:16px;z-index:90;border:1px solid var(--line)}
.cookie[hidden]{display:none}
.cookie p{font-size:13px;color:var(--muted);flex:1}
.cookie .btn{padding:10px 20px}
/* плавающий чат */
.chat-fab{position:fixed;right:20px;bottom:88px;z-index:86;display:flex;flex-direction:column;align-items:flex-end;gap:14px;pointer-events:none}
.chat-fab__list{display:flex;flex-direction:column;align-items:flex-end;gap:14px}
.chat-fab__item{display:flex;align-items:center;gap:12px;
    opacity:0;visibility:hidden;transform:translateY(16px) scale(.92);transition:.25s ease;pointer-events:none}
.chat-fab.is-open .chat-fab__item{opacity:1;visibility:visible;transform:translateY(0) scale(1);pointer-events:auto}
.chat-fab.is-open .chat-fab__item:nth-child(1){transition-delay:.05s}
.chat-fab.is-open .chat-fab__item:nth-child(2){transition-delay:.1s}
.chat-fab__label{background:#fff;border-radius:12px;padding:11px 16px;font-size:14px;font-weight:600;color:var(--text);
    box-shadow:0 6px 20px rgba(20,60,120,.16);white-space:nowrap}
.chat-fab__ic{width:50px;height:50px;border-radius:50%;flex:none;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(20,60,120,.22);transition:transform .18s ease,box-shadow .18s ease}
.chat-fab__ic img{height:26px;filter:brightness(0) invert(1);transition:transform .18s ease}
.chat-fab__ic--tg{background:#29a9eb}
.chat-fab__ic--wa{background:#25d366}
/* активные иконки при наведении */
.chat-fab__item:hover .chat-fab__ic{transform:scale(1.14);box-shadow:0 10px 24px rgba(20,60,120,.4)}
.chat-fab__item:hover .chat-fab__ic img{transform:scale(1.08)}
.chat-fab__item:hover .chat-fab__label{box-shadow:0 10px 26px rgba(20,60,120,.28);color:var(--blue)}
.chat-fab__ic--wa:hover{filter:brightness(1.06)}
.chat-fab__ic--tg:hover{filter:brightness(1.06)}

/* кнопка-переключатель */
.chat-fab__toggle{position:relative;width:58px;height:58px;border-radius:18px;border:0;cursor:pointer;pointer-events:auto;
    background:var(--blue);box-shadow:0 8px 22px rgba(31,111,214,.45);display:flex;align-items:center;justify-content:center;
    transition:background .2s ease,transform .2s ease;animation:chatPulse 2.4s ease-out infinite}
.chat-fab__toggle:hover{background:var(--blue-dark);transform:scale(1.06);animation-play-state:paused}
.chat-fab.is-open .chat-fab__toggle{animation:none}
@keyframes chatPulse{
    0%  {box-shadow:0 8px 22px rgba(31,111,214,.45),0 0 0 0 rgba(31,111,214,.5)}
    60% {box-shadow:0 8px 22px rgba(31,111,214,.45),0 0 0 18px rgba(31,111,214,0)}
    100%{box-shadow:0 8px 22px rgba(31,111,214,.45),0 0 0 0 rgba(31,111,214,0)}
}
.chat-fab__toggle svg{width:28px;height:28px;position:absolute;transition:.25s}
.chat-fab__ic-close{opacity:0;transform:rotate(-90deg) scale(.6)}
.chat-fab.is-open .chat-fab__ic-open{opacity:0;transform:rotate(90deg) scale(.6)}
.chat-fab.is-open .chat-fab__ic-close{opacity:1;transform:rotate(0) scale(1)}
.chat-fab__badge{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;border-radius:10px;background:#e53935;
    color:#fff;font-size:12px;font-weight:700;display:flex;align-items:center;justify-content:center;padding:0 5px;border:2px solid #fff;
    animation:badgeBlink 1.3s ease-in-out infinite}
@keyframes badgeBlink{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(1.18);opacity:.7}}
.chat-fab.is-open .chat-fab__badge{display:none}
@media(prefers-reduced-motion:reduce){.chat-fab__toggle,.chat-fab__badge{animation:none}}

/* кнопка «наверх» */
.to-top{position:fixed;right:24px;bottom:24px;width:48px;height:48px;border-radius:50%;
    background:var(--blue-dark);color:#fff;border:0;cursor:pointer;z-index:85;
    display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-lg);
    opacity:0;visibility:hidden;transform:translateY(12px);transition:.25s}
.to-top.is-visible{opacity:1;visibility:visible;transform:translateY(0)}
.to-top:hover{background:var(--blue);transform:translateY(-3px)}
.to-top svg{width:22px;height:22px;fill:#fff}

body.no-scroll{overflow:hidden}

/* ===================== КАТАЛОГ (страница) ===================== */
.catalog-page,.product-page{padding:28px 0 60px;min-height:60vh}
.breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--muted);margin-bottom:14px;flex-wrap:wrap}
.breadcrumb a{color:var(--blue)}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb b{color:var(--text);font-weight:600}
.catalog-page__title{font-size:clamp(24px,3.4vw,34px);font-weight:800;color:var(--blue-dark);margin-bottom:22px}

.filters-toggle{display:none;width:100%;padding:13px;border:2px solid var(--blue);background:#fff;color:var(--blue);
    font-weight:700;border-radius:var(--radius-sm);cursor:pointer;margin-bottom:16px}

.catalog-layout{display:grid;grid-template-columns:260px 1fr;gap:26px;align-items:start}

/* сайдбар фильтров */
.filters{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px;position:sticky;top:96px;
    max-height:calc(100vh - 112px);overflow-y:auto;overscroll-behavior:contain}
.filters::-webkit-scrollbar{width:8px}
.filters::-webkit-scrollbar-thumb{background:#cdd7e5;border-radius:8px}
.filters::-webkit-scrollbar-thumb:hover{background:#b3c0d3}
.filters__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.filters__head h2{font-size:18px;color:var(--blue-dark)}
.filters__reset{background:none;border:0;color:var(--muted);font-size:13px;cursor:pointer;text-decoration:underline}
.filters__reset:hover{color:var(--blue)}
.filter-group{padding:16px 0;border-top:1px solid var(--line)}
.filter-group h3{font-size:13px;text-transform:uppercase;letter-spacing:.4px;color:var(--muted);margin-bottom:12px}
.filter-list{display:flex;flex-direction:column;gap:9px}
.fcheck{display:flex;align-items:center;gap:9px;cursor:pointer;font-size:14px;user-select:none}
.fcheck input{width:18px;height:18px;accent-color:var(--blue);cursor:pointer;flex:none}
.fcheck:hover span{color:var(--blue)}
.filter-price{display:flex;gap:10px;margin-bottom:12px}
.filter-price input{width:100%;padding:9px 10px;border:2px solid var(--line);border-radius:var(--radius-sm);font:inherit}
.filter-price input:focus{outline:none;border-color:var(--blue)}
.filter-rangebar{width:100%;accent-color:var(--blue);cursor:pointer}

/* контент каталога */
.catalog-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.catalog-count{font-size:14px;color:var(--muted);font-weight:600}
.catalog-sort{font-size:14px;color:var(--muted);display:flex;align-items:center;gap:8px}
.catalog-sort select{font:inherit;padding:8px 12px;border:2px solid var(--line);border-radius:var(--radius-sm);background:#fff;cursor:pointer}
.catalog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.catalog-empty{text-align:center;color:var(--muted);padding:50px 0}

/* карточка товара в сетке */
.product-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.18s}
.product-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}
.product-card__media{position:relative;display:block;padding:18px;background:#fff;overflow:hidden}
.product-card__media img{height:200px;width:100%;object-fit:contain;transition:transform .35s ease}
.product-card:hover .product-card__media img{transform:scale(1.09)}
.product-card__badges{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:6px;z-index:2}
.badge--hit{background:#7c4dff}
.product-card__body{padding:0 18px 18px;display:flex;flex-direction:column;flex:1}
.product-card__name{font-size:15px;font-weight:600;color:var(--text);min-height:60px;margin-bottom:10px;line-height:1.3}
.product-card__name:hover{color:var(--blue)}
.product-card__mini{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
.product-card__mini li{font-size:12px;background:var(--blue-light);color:var(--blue-dark);padding:4px 10px;border-radius:20px}
.product-card__price{display:flex;align-items:baseline;gap:10px;margin-bottom:14px;margin-top:auto}
.product-card__old{color:var(--muted);text-decoration:line-through;font-size:14px}
.product-card__new{color:var(--text);font-weight:800;font-size:22px}
.product-card .btn{width:100%}

/* ===================== СТРАНИЦА ТОВАРА ===================== */
.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start;margin-bottom:50px}
.pd-gallery{position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:24px}
.pd-badges{position:absolute;top:16px;left:16px;display:flex;flex-direction:column;gap:6px;z-index:2}
.pd-main{height:360px;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:zoom-in}
.pd-main img{max-height:100%;max-width:100%;object-fit:contain;transition:transform .2s ease;will-change:transform}
.pd-thumbs{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap}
.pd-thumb{width:74px;height:74px;border:2px solid var(--line);border-radius:10px;padding:6px;background:#fff;cursor:pointer;transition:.15s}
.pd-thumb img{width:100%;height:100%;object-fit:contain}
.pd-thumb:hover{border-color:var(--blue)}
.pd-thumb.is-active{border-color:var(--blue);box-shadow:0 0 0 2px var(--blue) inset}
.pd-toprow{margin-bottom:12px}
.pd-stock{display:inline-block;font-size:13px;font-weight:700;padding:6px 14px;border-radius:20px;background:#eef2f7;color:var(--muted)}
.pd-stock--in{background:#e7f8ec;color:#1b9e3e}
.pd-title{font-size:clamp(22px,2.6vw,30px);font-weight:800;color:var(--blue-dark);margin-bottom:22px;line-height:1.15}
.pd-specs{margin-bottom:24px;display:flex;flex-direction:column;gap:12px}
.pd-specs li{display:flex;gap:12px;align-items:flex-start;padding-left:30px;position:relative;font-size:15px}
.pd-specs li::before{content:"";position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;
    background:var(--blue) url("../assets/img/check-icon.svg") center/11px no-repeat;filter:none}
.pd-spec-l{color:var(--muted);min-width:160px;flex:none}
.pd-spec-v{color:var(--text);font-weight:600}
.pd-pricerow{display:flex;align-items:baseline;gap:12px;margin-bottom:22px;flex-wrap:wrap}
.pd-price-label{color:var(--muted);font-size:15px}
.pd-price{font-size:32px;font-weight:800;color:var(--text)}
.pd-old{color:var(--muted);text-decoration:line-through;font-size:18px}
.pd-btns{display:flex;gap:14px;flex-wrap:wrap}
.pd-btns .btn{flex:1;min-width:220px}
.pd-notfound{text-align:center;padding:60px 0;grid-column:1/-1}
.pd-notfound h1{font-size:28px;color:var(--blue-dark);margin-bottom:10px}
.pd-notfound p{color:var(--muted);margin-bottom:20px}
.product-related{margin-top:10px}

/* ===================== СТРАНИЦА «СПАСИБО» ===================== */
.thanks{display:flex;align-items:center;min-height:70vh;padding:60px 0;background:var(--blue-light)}
.thanks__box{max-width:620px;margin:0 auto;background:#fff;border:1px solid var(--line);border-radius:22px;
    box-shadow:var(--shadow-lg);padding:48px 40px;text-align:center}
.thanks__check{width:96px;height:96px;margin:0 auto 22px}
.thanks__check svg{width:100%;height:100%}
.thanks__check circle{stroke:#1bbf63;stroke-width:2;stroke-dasharray:166;stroke-dashoffset:166;animation:thCircle .6s ease forwards}
.thanks__check path{stroke:#1bbf63;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:48;stroke-dashoffset:48;animation:thCheck .35s .55s ease forwards}
@keyframes thCircle{to{stroke-dashoffset:0}}
@keyframes thCheck{to{stroke-dashoffset:0}}
.thanks__title{font-size:clamp(28px,4vw,40px);font-weight:800;color:var(--blue-dark);margin-bottom:16px}
.thanks__text{font-size:17px;color:var(--text);margin-bottom:10px;line-height:1.5}
.thanks__text--muted{color:var(--muted);font-size:15px;margin-bottom:0}
.thanks__actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin:28px 0 6px}
.thanks__actions .btn{max-width:260px}
.thanks__contacts{margin-top:26px;padding-top:24px;border-top:1px solid var(--line)}
.thanks__contacts-label{display:block;font-size:14px;color:var(--muted);margin-bottom:12px}
.thanks__contacts-row{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}
.thanks__phone{font-size:24px;font-weight:800;color:var(--text)}
.thanks__contacts-row .header__msgs .msg{width:40px;height:40px}
.thanks__contacts-row .header__msgs .msg img{height:20px}

/* ===================== АДАПТИВ ===================== */
@media(max-width:1024px){
    .hero{min-height:88vh;background-position:center right 22%}
    .promo__grid,.services__grid,.works__grid{grid-template-columns:repeat(2,1fr)}
    .catalog__grid{grid-template-columns:repeat(2,1fr)}
    .about__inner{grid-template-columns:1fr;gap:24px}
    .about__media img{max-height:380px}
    .quiz__wrap{grid-template-columns:1fr}
    .contacts__grid{grid-template-columns:1fr}
    .header__addr,.header__reviews,.header__write{display:none}
    .catalog-grid{grid-template-columns:repeat(2,1fr)}
    .product-detail{grid-template-columns:1fr;gap:24px}
    .pd-main{height:300px}
    .gallery__layout{grid-template-columns:1fr}
    .gallery__cta{position:static}
}
@media(max-width:768px){
    section{padding:40px 0}
    /* на мобильном — фон шоурума a2ka22 на весь первый экран, текст поверх */
    .hero{min-height:100vh;padding:34px 0;align-items:flex-start;
        background:#eef6ff url("../assets/img/a2ka22.jpg") center/cover no-repeat}
    .hero::before{content:"";position:absolute;inset:0;z-index:0;
        background:linear-gradient(180deg,rgba(244,248,255,.85) 0%,rgba(244,248,255,.5) 32%,rgba(244,248,255,.1) 55%,rgba(244,248,255,0) 70%)}
    .hero__content{max-width:100%}
    .hero__stats{gap:16px 22px;justify-content:flex-start}
    .header__top{gap:12px}
    .header__call{order:2}
    .header__phone{font-size:20px}
    .burger{display:flex;order:3;margin-left:auto}
    .nav{display:none;padding:0 16px 14px}
    .nav.is-open{display:block}
    .nav__list{flex-direction:column;border-radius:18px;padding:8px}
    .nav__item{width:100%}
    .nav__item>a{justify-content:flex-start;padding:13px 18px;border-radius:12px}
    .quiz__options{grid-template-columns:repeat(2,1fr)}
    /* квиз компактнее: убираем колонку с менеджером справа */
    .quiz__aside{display:none}
    .quiz__wrap{padding:16px}
    .consult{padding:40px 0;min-height:auto}
    .consult__manager{display:none}
    .consult__inner{flex-direction:column;align-items:stretch;gap:26px}
    .consult__form{width:100%}
    .gallery__grid{grid-template-columns:repeat(3,1fr)}
    /* фильтры в выпадающую панель */
    .catalog-layout{grid-template-columns:1fr}
    .filters-toggle{display:block}
    .filters{display:none;position:static;max-height:none;overflow:visible}
    .filters.is-open{display:block}
    .pd-specs li{flex-direction:column;gap:2px}
    .pd-spec-l{min-width:0}
}
@media(max-width:560px){
    .promo__grid,.services__grid,.works__grid,.about__grid{grid-template-columns:1fr}
    /* товары по 2 в ряд: «Лучшие модели» на главной и каталог */
    .catalog__grid{grid-template-columns:repeat(2,1fr);gap:12px}
    .catalog__grid .product{padding:12px}
    .catalog__grid .product__name{font-size:14px;min-height:42px}
    .catalog__grid .product__specs li{font-size:12px;padding:4px 0}
    .catalog__grid .product__new{font-size:18px}
    .catalog__grid .product .btn{padding:9px 10px;font-size:14px}
    .quiz__wrap{padding:14px}
    .quiz-option img{height:100px}
    .quiz__qhead{gap:10px}
    .quiz__question{font-size:18px}
    .modal__box{padding:28px 20px}
    .chat-fab__toggle{width:54px;height:54px}
    .chat-fab__label{font-size:13px;padding:9px 13px}
    .catalog-grid{grid-template-columns:repeat(2,1fr);gap:12px}
    .catalog-grid .product-card__media{padding:10px}
    .catalog-grid .product-card__media img{height:130px}
    .catalog-grid .product-card__body{padding:0 12px 14px}
    .catalog-grid .product-card__name{font-size:13px;min-height:52px}
    .catalog-grid .product-card__new{font-size:18px}
    .pd-btns .btn{min-width:0;width:100%;flex:auto}
    .gallery__grid{grid-template-columns:repeat(2,1fr)}
}
