/* ===== Токены (потом уедут в tokens.css SiteKit) ===== */
:root{
  --c-text:#333;
  --c-red:#e0211d;
  --c-btn:#e53835;
  --c-btn-hover:#c9261f;
  --c-light:#f9fbff;
  --c-gray-bg:#f9f9f9;
  --grad-cta:linear-gradient(90deg,#ff4141,#ec6f03);
  --f-head:"Oswald",Impact,"Arial Narrow",sans-serif;
  --f-body:"Fira Sans",Arial,sans-serif;
  --f-accent:"Roboto Slab",Georgia,serif;
  --container:1400px;
  --gutter:27px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font-family:var(--f-body);color:var(--c-text);background:#fff;line-height:1.6;overflow-x:hidden}
img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}
a{color:inherit}
button{font:inherit;cursor:pointer}
.container{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}

/* ===== Кнопки ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;height:48px;padding:0 28px;border:0;border-radius:5px;background:var(--c-btn);color:#fff;font-size:14px;line-height:20px;transition:background .2s,transform .2s}
.btn:hover{background:var(--c-btn-hover)}
.btn:active{transform:translateY(1px)}
.btn-glow{position:relative;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;height:62px;padding:0 20px;min-width:241px;border:0;border-radius:15px;background:var(--grad-cta);color:#fff;font-family:var(--f-body);font-size:18px;font-weight:700;box-shadow:0 8px 24px rgba(236,90,30,.35);transition:transform .2s,box-shadow .2s}
.btn-glow::after{content:"";position:absolute;top:0;bottom:0;left:-60%;width:50%;background:linear-gradient(90deg,rgba(255,255,255,.15) 0%,rgba(255,255,255,.6) 50%,rgba(255,255,255,.15) 100%);transform:skewX(-20deg);animation:glare 3s ease-in-out infinite}
.btn-glow:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(236,90,30,.45)}
@keyframes glare{0%{left:-60%}45%,100%{left:130%}}
@media (prefers-reduced-motion:reduce){.btn-glow::after{animation:none;display:none}}

/* ===== Шапка ===== */
.header{background:#fff}
.header__in{display:flex;align-items:center;justify-content:space-between;min-height:96px;gap:24px;padding-left:42px}
.header__logos{display:flex;align-items:center;gap:31px;flex-shrink:0}
.header__logo-pa{width:259px;height:56px;object-fit:contain}
.header__logo-brand{width:114px;height:56px;object-fit:contain}
.header__contacts{display:flex;gap:24px;flex:0 1 880px;justify-content:space-between;align-items:center}
.header__contact{display:flex;flex-direction:column;gap:9px;min-width:0;flex:1}
.header__addr{font-size:12px;font-weight:700;line-height:1.07}
.header__phone{font-size:16px;font-weight:700;line-height:1.4;text-decoration:none}
.header__phone:hover{color:var(--c-red)}

/* ===== Первый экран ===== */
.hero{position:relative;min-height:611px;color:var(--c-light);overflow:hidden}
.hero__bg{position:absolute;inset:0;background:linear-gradient(to right,rgba(0,0,0,.43) 0%,rgba(22,102,241,0) 100%),var(--hero-img) center/cover no-repeat}
.hero__in{position:relative;padding-top:54px;padding-bottom:55px;padding-left:37px}
.hero__title{max-width:675px;font-family:var(--f-head);font-size:40px;line-height:1.2;font-weight:700;color:var(--c-light)}
.hero__list{max-width:675px;margin:60px 0 0;padding:0 0 0 21px;font-family:var(--f-accent);font-size:18px;font-weight:600;line-height:1.6}
.hero__list li+li{margin-top:8px}
.hero__in .btn-glow{margin-top:95px}

/* ===== Подарки ===== */
.gifts{background:var(--c-gray-bg)}
.gifts__in{display:flex;align-items:center;justify-content:space-between;gap:35px;padding-top:24px;padding-bottom:40px;min-height:284px}
.gifts__text{flex:0 1 556px;padding-left:15px;padding-top:20px}
.gifts__title{font-family:var(--f-head);font-weight:700;font-size:32px;line-height:1.2;text-transform:uppercase}
.gifts__title span{color:var(--c-red)}
.gifts__sum{margin-top:20px;font-size:20px;font-weight:600;line-height:1.6}
.gifts__cards{display:flex;gap:10px;flex-shrink:0}
.gift{width:245px;min-height:220px;padding:30px 25px 25px;background:#fff;border-radius:25px}
.gift img{width:100%;height:128px;object-fit:cover;border-radius:25px}
.gift p{margin-top:15px;font-family:var(--f-head);font-size:14px;font-weight:500;line-height:1.6}

/* ===== Предложения ===== */
.offers{padding:75px 0 34px}
.section-title{padding-left:10px;font-family:var(--f-head);font-weight:700;font-size:38px;line-height:1.1;text-transform:uppercase}
.offers__grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px 20px;margin-top:27px}
.car{display:flex;flex-direction:column;background:#fff;border-radius:25px;overflow:hidden;box-shadow:0 2px 6px rgba(0,0,0,.06),0 10px 30px rgba(0,0,0,.07);cursor:pointer;transition:transform .25s,box-shadow .25s}
.car:hover{transform:translateY(-4px);box-shadow:0 4px 10px rgba(0,0,0,.08),0 18px 40px rgba(0,0,0,.12)}
.car__media{position:relative;aspect-ratio:16/9;overflow:hidden;background:#eceef1}
.car__media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.car:hover .car__media img{transform:scale(1.04)}
.car__badge{position:absolute;top:18px;left:18px;padding:7px 14px;border-radius:999px;background:var(--grad-cta);color:#fff;font-size:14px;font-weight:700;line-height:1.2;box-shadow:0 4px 14px rgba(236,90,30,.35)}
.car__body{display:grid;grid-template-columns:1fr auto;align-items:center;gap:6px 20px;padding:20px 28px 24px}
.car__name{font-family:var(--f-head);font-weight:700;font-size:30px;line-height:1.2;text-transform:uppercase}
.car__prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 16px;margin-top:6px}
.car__price{font-size:17px;font-weight:600;line-height:1.4;color:#8a8f96}
.car__price--plain{color:var(--c-text);font-size:19px}
.car__pay{font-size:19px;font-weight:700;line-height:1.4;color:var(--c-red)}
.car__btn{height:52px;padding:0 26px;font-size:15px;font-weight:600}
.car:hover .car__btn{background:var(--c-btn-hover)}
.car__note{grid-column:1/-1;margin-top:8px;padding-top:12px;border-top:1px solid #eceef1;font-size:14px;line-height:1.5;color:#5b6067}

/* ===== Клиенты ===== */
.clients{padding:39px 0 21px}
.clients__title{text-transform:none;font-size:36px}
.clients__slider{position:relative;margin-top:15px}
.clients__track{display:flex;gap:21px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter);padding:0 max(var(--gutter),calc((100vw - var(--container))/2 + var(--gutter)));scrollbar-width:none;cursor:grab}
.clients__track::-webkit-scrollbar{display:none}
.clients__track.is-drag{cursor:grabbing;scroll-snap-type:none}
.clients__track img{flex:0 0 443px;height:591px;object-fit:cover;border-radius:30px;scroll-snap-align:start;user-select:none;-webkit-user-drag:none}
.clients__arrow{position:absolute;top:50%;z-index:2;width:52px;height:52px;margin-top:-26px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.18);transition:background .2s}
.clients__arrow::before{content:"";position:absolute;top:50%;left:50%;width:12px;height:12px;border-top:2px solid var(--c-text);border-right:2px solid var(--c-text);transform:translate(-65%,-50%) rotate(45deg)}
.clients__arrow--prev{left:20px}
.clients__arrow--prev::before{transform:translate(-35%,-50%) rotate(-135deg)}
.clients__arrow--next{right:20px}
.clients__arrow:hover{background:var(--c-btn)}
.clients__arrow:hover::before{border-color:#fff}

/* ===== Квиз-секция ===== */
.quiz-section{padding:18px var(--gutter) 17px}
.quiz-host{max-width:1024px;margin:0 auto}

/* ===== Подвал ===== */
.footer{padding:10px 0 30px}
.footer__in{display:flex;gap:30px;padding-left:37px}
.footer__col{flex:0 0 176px;padding-top:32px}
.footer__col:nth-child(2){flex-basis:305px}
.footer__col--wide{flex:1;padding-top:0}
.footer__label{font-size:12px;line-height:1.6}
.footer__val{margin-top:5px;font-size:14px;line-height:1.6}
.footer__col--wide .footer__val{line-height:1.6}
.footer__links{display:flex;gap:150px;margin-top:6px;padding-left:85px}
.footer__links a{font-size:10px;line-height:1.43;color:#24272b;text-decoration:none}
.footer__links a:hover{text-decoration:underline}

/* ===== Кнопка «Перезвоните мне» в шапке ===== */
.header__cb{flex:0 0 auto;align-self:center;height:42px;padding:0 18px;border:2px solid var(--c-btn);border-radius:5px;background:#fff;color:var(--c-btn);font-size:14px;font-weight:700;transition:all .2s}
.header__cb:hover{background:var(--c-btn);color:#fff}

/* ===== Таймер на первом экране ===== */
.hero__timer{margin-top:40px}
.hero__timer .cd__label{font-family:var(--f-body);font-size:15px;font-weight:600;opacity:1}
.hero__timer .cd__v{background:rgba(255,255,255,.16);backdrop-filter:blur(6px);color:#fff;font-size:18px;padding:6px 12px}
.hero__in .hero__timer+.btn-glow{margin-top:24px}

/* ===== Частые вопросы ===== */
.faq{padding:50px 0 40px}
.faq__list{max-width:900px;margin-top:24px;padding-left:10px}
.faq__item{border-bottom:1px solid #e6e8eb}
.faq__item summary{position:relative;padding:20px 50px 20px 0;font-family:var(--f-head);font-size:20px;font-weight:500;line-height:1.3;list-style:none;cursor:pointer;transition:color .2s}
.faq__item summary::-webkit-details-marker{display:none}
.faq__item summary::after{content:"";position:absolute;right:8px;top:50%;width:12px;height:12px;margin-top:-9px;border-right:2px solid var(--c-red);border-bottom:2px solid var(--c-red);transform:rotate(45deg);transition:transform .25s}
.faq__item[open] summary::after{transform:rotate(-135deg);margin-top:-3px}
.faq__item summary:hover{color:var(--c-red)}
.faq__item p{padding:0 40px 20px 0;font-size:16px;line-height:1.6;color:#555}
.faq__item a{color:var(--c-red);white-space:nowrap}
.faq__cta{display:flex;align-items:center;gap:20px;max-width:900px;margin-top:28px;padding-left:10px}
.faq__cta p{font-size:18px;font-weight:600}

/* ===== Липкая панель (только телефон) ===== */
.sticky-cta{display:none}

/* ===== Плавающая кнопка ===== */
.fab-call{border:0;cursor:pointer;position:fixed;right:24px;bottom:96px;z-index:50;width:60px;height:60px;border-radius:50%;background:var(--c-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z'/%3E%3C/svg%3E") center/26px no-repeat;box-shadow:0 0 0 0 rgba(229,56,53,.6);animation:pulse 2s infinite}
@keyframes pulse{70%{box-shadow:0 0 0 16px rgba(229,56,53,0)}100%{box-shadow:0 0 0 0 rgba(229,56,53,0)}}

/* ===== Планшет ===== */
@media (max-width:1240px){
  .gifts__in{flex-direction:column;align-items:flex-start}
  .gifts__text{flex:none;max-width:640px}
  .gifts__cards{width:100%}
  .gift{flex:1;width:auto}
}
@media (max-width:1023px){
  .header__in{padding-left:0;flex-wrap:wrap;justify-content:center;padding-top:12px;padding-bottom:12px}
  .header__contacts{flex-basis:100%;gap:20px}
  .header__contact{align-items:center;text-align:center}
  .offers__grid{grid-template-columns:1fr;max-width:720px;margin-left:auto;margin-right:auto}
}

/* ===== Телефон (как мобильная версия оригинала) ===== */
@media (max-width:767px){
  :root{--gutter:15px}
  .header__logo-pa{width:190px;height:42px}
  .header__logo-brand{width:84px;height:42px}
  .header__logos{gap:16px}
  .header__contacts{gap:10px}
  .header__addr{font-size:11px}
  .header__phone{font-size:14px}

  /* Телефон: текст и кнопка сверху на тёмном фоне, машины отдельной полосой снизу — ничего не перекрывается */
  .hero{min-height:0;background:#1c1e22}
  .hero__bg{inset:auto 0 0 0;height:230px;background:linear-gradient(to bottom,#1c1e22 0%,rgba(28,30,34,.55) 22%,rgba(28,30,34,0) 48%),var(--hero-img) 95% 100%/auto 100% no-repeat}
  .hero__in{padding:30px 15px 250px 15px}
  .hero__title{font-size:22px;line-height:1.2}
  .hero__list{margin-top:18px;font-family:var(--f-body);font-size:14px;font-weight:400;line-height:1.5;color:#fff}
  .hero__list li+li{margin-top:3px}
  .hero__in .btn-glow{margin-top:14px;height:47px;min-width:216px;font-size:14px}

  .gifts__in{padding:38px 0 40px}
  .gifts__text{padding:0 5px}
  .gifts__title{font-size:22px}
  .gifts__sum{margin-top:20px}
  .gifts__cards{flex-direction:column;gap:10px}
  .gift{width:100%;padding:25px}
  .gift img{height:148px}

  .offers{padding-top:40px}
  .section-title{padding-left:0;font-size:24px}
  .offers__grid{gap:20px}
  .car{border-radius:20px}
  .car__badge{top:12px;left:12px;font-size:13px}
  .car__body{grid-template-columns:1fr;padding:16px 16px 18px}
  .car__name{font-size:24px}
  .car__btn{width:100%;margin-top:10px}
  .car__note{font-size:13px;margin-top:4px}

  .clients{padding-top:38px}
  .clients__title{text-align:center;font-size:28px}
  .clients__track{gap:12px;padding:0 var(--gutter)}
  .clients__track img{flex-basis:78vw;height:auto;aspect-ratio:3/4;border-radius:20px}
  .clients__arrow{display:none}

  .quiz-section{padding:18px 5px}

  .footer__in{flex-direction:column;gap:10px;padding-left:var(--gutter)}
  .footer__col,.footer__col:nth-child(2),.footer__col--wide{flex:none;padding-top:0}
  .footer__links{flex-direction:column;align-items:center;gap:14px;padding-left:0;margin-top:14px}
  /* ---- Вариант «вертикальный кадр» (класс hero--portrait). Убрать класс в HTML = прежний вид ---- */
  .hero--portrait{min-height:0;background:#1c1e22}
  .hero--portrait .hero__bg{inset:0 0 auto 0;height:0;padding-bottom:150.4%;margin-bottom:-1px;background:linear-gradient(to bottom,rgba(20,21,24,.8) 0%,rgba(20,21,24,.45) 30%,rgba(20,21,24,0) 48%,rgba(20,21,24,0) 62%,#1c1e22 100%),var(--hero-portrait) center top/100% 100% no-repeat}
  .hero--portrait .hero__in{display:flex;flex-direction:column;align-items:flex-start;min-height:640px;padding:26px 15px 18px}
  .hero--portrait .hero__title{order:1}
  .hero--portrait .hero__timer{order:2}
  .hero--portrait .btn-glow{order:3}
  .hero--portrait .hero__list{order:4;margin-top:auto;padding-top:0;font-size:13px;line-height:1.45;text-shadow:0 1px 8px rgba(0,0,0,.6)}
  .fab-call{display:none}
  .header__cb{display:none}
  .hero__timer{margin-top:16px}
  .hero__timer .cd__label{font-size:12px}
  .hero__timer .cd__v{font-size:15px;padding:4px 9px}
  .hero__in .hero__timer+.btn-glow{margin-top:14px}
  .faq{padding:36px 0 24px}
  .faq__list{padding-left:0;margin-top:14px}
  .faq__item summary{font-size:17px;padding:16px 36px 16px 0}
  .faq__item p{padding-right:0;font-size:15px}
  .faq__cta{padding-left:0;flex-direction:column;align-items:stretch;gap:10px;text-align:center}
  body{padding-bottom:76px}
  .sticky-cta{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 -4px 20px rgba(0,0,0,.1);transform:translateY(110%);transition:transform .3s ease}
  .sticky-cta.is-on{transform:none}
  .sticky-cta__call{flex:0 0 52px;height:52px;border-radius:10px;border:2px solid var(--c-btn);background:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27%23e53835%27%3E%3Cpath d=%27M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1A17 17 0 0 1 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1z%27/%3E%3C/svg%3E") center/24px no-repeat}
  .sticky-cta__btn{flex:1;height:52px;border:0;border-radius:10px;background:var(--grad-cta);color:#fff;font-size:16px;font-weight:700}
}

/* ===== Оценка автомобиля ===== */
.est{padding:20px 0 50px}
.est__card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);margin-top:27px;border-radius:25px;overflow:hidden;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.06),0 10px 30px rgba(0,0,0,.07)}
.est__form{padding:36px 36px 30px}
.est__grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 16px}
.est__field{display:block;min-width:0}
.est__field[hidden]{display:none}
.est__field span{display:block;margin-bottom:6px;font-size:13px;color:#666}
.est__field input,.est__field select{width:100%;height:54px;padding:0 16px;border:1px solid #dcdfe3;border-radius:6px;background:#fff;font:inherit;font-size:16px;color:var(--c-text);outline:none;transition:border-color .2s,box-shadow .2s;appearance:none}
.est__field select{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat;padding-right:40px}
.est__field input:focus,.est__field select:focus{border-color:var(--c-btn);box-shadow:0 0 0 3px rgba(229,56,53,.12)}
.est__more{margin-top:18px}
.est__more summary{display:inline-block;padding:4px 0;font-size:14px;font-weight:600;color:var(--c-red);cursor:pointer;list-style:none}
.est__more summary::-webkit-details-marker{display:none}
.est__more summary::before{content:"+";display:inline-block;width:18px;font-weight:700}
.est__more[open] summary::before{content:"−"}
.est__grid--more{margin-top:14px}
.est__error{margin:16px 0 0;padding:10px 14px;border-radius:6px;background:#fdecec;color:#b3231f;font-size:14px}
.est__btn{margin-top:22px;width:100%;max-width:340px}
.est__btn:disabled{opacity:.7;cursor:progress}
.est__hint{margin-top:12px;font-size:13px;color:#777}

.est__side{position:relative;display:flex;flex-direction:column;justify-content:center;padding:36px;background:#1c1e22;color:#fff}
.est__badge{display:inline-block;margin:0 0 16px;padding:6px 14px;border-radius:999px;background:var(--grad-cta);font-size:13px;font-weight:700}
.est__intro h3{font-family:var(--f-head);font-size:26px;line-height:1.25;font-weight:700}
.est__intro ul{margin:20px 0 0;padding:0;list-style:none}
.est__intro li{position:relative;padding:5px 0 5px 26px;font-size:15px;line-height:1.45}
.est__intro li::before{content:"";position:absolute;left:3px;top:11px;width:6px;height:11px;border:solid var(--c-accent,#ff6a3d);border-width:0 2px 2px 0;transform:rotate(45deg)}
.est__result{animation:estIn .4s ease}
.est__result[hidden],.est__intro[hidden]{display:none}
@keyframes estIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.est__demo[hidden]{display:none}
.est__demo{display:inline-block;margin:0 0 12px;padding:4px 10px;border-radius:4px;background:#ffd24a;color:#4a3500;font-size:12px;font-weight:700}
.est__label{font-size:14px;opacity:.8}
.est__price{margin:6px 0 0;font-family:var(--f-head);font-size:42px;line-height:1.05;font-weight:700;font-variant-numeric:tabular-nums}
.est__range{margin-top:10px;font-size:16px}
.est__range b{white-space:nowrap}
.est__basis{margin-top:8px;font-size:13px;opacity:.75;line-height:1.45}
.est__note{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15);font-size:13px;line-height:1.5;opacity:.8}
.est__cta{width:100%;margin-top:18px;height:56px;font-size:16px;font-weight:700}
.est__again{display:block;margin:14px auto 0;padding:6px;border:0;background:none;color:#fff;font-size:14px;text-decoration:underline;opacity:.8;cursor:pointer}
.est__again:hover{opacity:1}

@media (max-width:900px){
  .est__card{grid-template-columns:1fr}
  .est__side{padding:28px 24px}
}
@media (max-width:767px){
  .est{padding:10px 0 30px}
  .est__card{margin-top:18px;border-radius:20px}
  .est__form{padding:22px 16px 20px}
  .est__grid{grid-template-columns:1fr;gap:14px}
  .est__btn{max-width:none}
  .est__intro h3{font-size:22px}
  .est__price{font-size:30px}
}
.est__basis[hidden]{display:none}

/* Подсказки марок и моделей */
.est__field{position:relative}
.est__dd{position:absolute;left:0;right:0;top:100%;z-index:30;margin:4px 0 0;padding:4px 0;max-height:280px;overflow-y:auto;list-style:none;background:#fff;border:1px solid #dcdfe3;border-radius:8px;box-shadow:0 10px 30px rgba(0,0,0,.15)}
.est__dd[hidden]{display:none}
.est__dd li{padding:10px 16px;font-size:15px;cursor:pointer}
.est__dd li:hover,.est__dd li.is-on{background:#fdecec}

/* Зависимые поля: недоступны, пока не выбрано предыдущее */
.est__field.is-off span{opacity:.55}
.est__field.is-off input,.est__field.is-off select{background-color:#f3f4f6;color:#9aa0a6;cursor:not-allowed;border-color:#e6e8eb}
.est__field.is-off input::placeholder{color:#a8adb3}

/* Зачёт и доплата за TENET */
.est__tenet{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15)}
.est__tenet[hidden]{display:none}
.est__bonus{display:inline-block;margin:0 0 14px;padding:8px 14px;border-radius:8px;background:rgba(255,106,61,.16);border:1px solid rgba(255,106,61,.45);font-size:14px;line-height:1.35}
.est__bonus b{color:#ffb089;white-space:nowrap}
.est__tenet-title{margin:0 0 10px;font-family:var(--f-head);font-size:20px;line-height:1.25;font-weight:700}
.est__chips{display:flex;gap:8px;margin-bottom:12px}
.est__chip{min-width:64px;height:38px;padding:0 16px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:transparent;color:#fff;font-size:14px;font-weight:700;cursor:pointer;transition:all .2s}
.est__chip:hover{border-color:#fff}
.est__chip.is-on{background:#fff;border-color:#fff;color:#1c1e22}
.est__calc{margin:0}
.est__calc div{display:flex;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.1);font-size:14px;line-height:1.35}
.est__calc div[hidden]{display:none}
.est__calc dt{opacity:.8}
.est__calc dd{margin:0;text-align:right;font-weight:600}
.est__calc .is-sum dd{color:#ffb089}
.est__pay{margin:14px 0 0;padding:14px 16px;border-radius:10px;background:#fff;color:#1c1e22;font-size:15px;line-height:1.4}
.est__pay b{display:block;margin-top:2px;font-family:var(--f-head);font-size:26px;line-height:1.15;color:var(--c-red)}
.est__fine{margin:10px 0 0;font-size:12px;line-height:1.45;opacity:.7}
@media (max-width:767px){
  .est__pay b{font-size:22px}
  .est__calc div{font-size:13px}
}

@media (min-width:901px){.est__form{align-self:start;position:sticky;top:20px}}

.est__calc dd{white-space:nowrap}
@media (max-width:767px){.est__calc dd{white-space:normal}}

/* Платёж в кредит */
.est__credit{margin-top:18px;padding-top:16px;border-top:1px solid rgba(255,255,255,.15)}
.est__credit[hidden]{display:none}
.est__chips--terms{flex-wrap:wrap;gap:6px}
.est__chip--sm{min-width:48px;height:34px;padding:0 12px;font-size:13px}
.est__pay--credit b{color:#1c1e22}
@media (max-width:767px){.est__chip--sm{min-width:44px;height:36px}}

/* ===== Форма оценки по шагам ===== */
.est__wiz{display:block;max-width:900px;margin-top:27px;border-radius:25px;overflow:hidden;background:#fff;transition:background .3s}
.est__wiz.is-dark{background:#1c1e22;color:#fff}
.est__steps{display:flex;gap:8px;margin:0;padding:22px 36px 0;list-style:none}
.est__steps li{flex:1;display:flex;align-items:center;gap:10px;min-width:0;padding-top:12px;border-top:4px solid #e6e8eb;font-size:13px;color:#8a8f96;transition:border-color .3s,color .3s}
.est__steps li b{flex:0 0 auto;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#e6e8eb;color:#666;font-size:12px}
.est__steps li span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.est__steps li.is-on{border-top-color:var(--c-btn);color:var(--c-text);font-weight:600}
.est__steps li.is-on b{background:var(--c-btn);color:#fff}
.est__steps li.is-done{border-top-color:#ff8a65;color:#8a8f96}
.est__steps li.is-done b{background:#ff8a65;color:#fff}
.est__wiz.is-dark .est__steps li{border-top-color:rgba(255,255,255,.18);color:rgba(255,255,255,.55)}
.est__wiz.is-dark .est__steps li b{background:rgba(255,255,255,.18);color:#fff}
.est__wiz.is-dark .est__steps li.is-on{border-top-color:var(--c-accent,#ff6a3d);color:#fff}
.est__wiz.is-dark .est__steps li.is-on b{background:var(--c-accent,#ff6a3d)}
.est__wiz.is-dark .est__steps li.is-done{border-top-color:var(--c-accent,#ff6a3d)}
.est__step{padding:26px 36px 32px}
.est__step[hidden]{display:none}
.est__promo{margin:0 0 20px;padding:10px 14px;border-radius:8px;background:#fff4ef;border:1px solid #ffd9c8;font-size:14px;line-height:1.4}
.est__promo b{color:var(--c-red)}
.est__wiz .est__form{padding:0;max-width:none}
.est__nav{display:flex;flex-wrap:wrap;align-items:center;gap:14px 20px;margin-top:24px}
.est__back{padding:10px 4px;border:0;background:none;color:rgba(255,255,255,.75);font-size:15px;cursor:pointer}
.est__back:hover{color:#fff}
.est__next,.est__nav .est__cta{height:56px;padding:0 30px;font-size:16px;font-weight:700;margin-top:0;width:auto}
.est__nav .est__cta{background:var(--grad-cta);box-shadow:0 8px 24px rgba(236,90,30,.3)}
.est__nav [hidden]{display:none}
.est__wiz .est__again{display:block;margin:0 auto 24px;padding:6px;border:0;background:none;color:rgba(255,255,255,.8);font-size:14px;text-decoration:underline;cursor:pointer}
.est__wiz .est__again[hidden]{display:none}
.est__wiz:not(.is-dark) .est__again{color:#777}
.est__wiz .est__price{font-size:52px}
.est__wiz .est__note,.est__wiz .est__fine{max-width:720px}
.est__wiz .est__note{margin-top:20px}
@media (max-width:767px){
  .est__wiz{margin-top:18px;border-radius:20px}
  .est__steps{padding:16px 16px 0;gap:6px}
  .est__steps li{padding-top:10px;font-size:12px;gap:6px}
  .est__steps li:not(.is-on) span{display:none}
  .est__steps li:not(.is-on){flex:0 0 36px}
  .est__steps li.is-on{flex:1}
  .est__step{padding:20px 16px 24px}
  .est__wiz .est__price{font-size:32px}
  .est__nav{flex-direction:column-reverse;align-items:stretch;gap:6px}
  .est__next,.est__nav .est__cta{width:100%}
  .est__back{text-align:center}
}

.est__wiz .est__tenet,.est__wiz .est__credit{margin-top:0;padding-top:0;border-top:0}
.est__wiz .est__form{position:static;align-self:auto}

/* Платёж и сноска в карточках */
.car__pay small{display:block;margin-top:2px;font-size:12px;font-weight:400;color:#777}
.car__pay[hidden]{display:none}
.offers__fine{max-width:980px;margin:16px 10px 0;font-size:13px;line-height:1.5;color:#777}
.offers__fine[hidden]{display:none}
.qz-est small{display:block;margin-top:2px;font-size:12px;color:var(--qz-muted)}

/* ===== Форма оценки: выбор кнопками, окно поиска, нижняя панель ===== */
.est__block{margin-bottom:22px}
.est__lbl{display:block;margin-bottom:8px;font-size:13px;font-weight:600;color:#555}
.est__lbl em{margin-left:6px;font-style:normal;font-weight:400;color:#888}
.est__block.is-off,.est__field.is-off{opacity:.45;pointer-events:none}
.est__tiles,.est__opts{display:flex;flex-wrap:wrap;gap:8px}
.est__tile,.est__opt{min-height:44px;padding:0 16px;border:1px solid #dcdfe3;border-radius:10px;background:#fff;color:var(--c-text);font:inherit;font-size:15px;line-height:1.2;cursor:pointer;transition:border-color .15s,background .15s,color .15s}
.est__tile:hover,.est__opt:hover{border-color:var(--c-btn)}
.est__tile.is-on,.est__opt.is-on{border-color:var(--c-btn);background:#fff1f0;color:var(--c-red);font-weight:700}
.est__tile--other,.est__opt--more{border-style:dashed;color:#666}
.est__sel{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:0 16px;border:1px solid #dcdfe3;border-radius:10px;background:#fff;color:#8a8f96;font:inherit;font-size:16px;text-align:left;cursor:pointer}
.est__sel::after{content:"";width:9px;height:9px;border-right:2px solid #333;border-bottom:2px solid #333;transform:rotate(45deg) translateY(-2px);flex:0 0 auto}
.est__sel.has-value{color:var(--c-text);font-weight:600}
.est__sel:disabled{background:#f3f4f6;cursor:not-allowed}
.est__sel:not(:disabled):hover{border-color:var(--c-btn)}
.est__seg{display:flex;border:1px solid #dcdfe3;border-radius:10px;overflow:hidden}
.est__seg button{flex:1;min-height:46px;padding:0 8px;border:0;border-right:1px solid #dcdfe3;background:#fff;color:var(--c-text);font:inherit;font-size:15px;cursor:pointer}
.est__seg button:last-child{border-right:0}
.est__seg button.is-on{background:#fff1f0;color:var(--c-red);font-weight:700}
.est__km{width:100%;height:50px;margin-top:10px;padding:0 16px;border:1px solid #dcdfe3;border-radius:10px;font:inherit;font-size:16px;outline:none}
.est__km:focus{border-color:var(--c-btn);box-shadow:0 0 0 3px rgba(229,56,53,.12)}
.est__km[hidden]{display:none}
.est__more{margin-top:4px}
.est__nav .est__btn{width:100%;max-width:420px;margin:0}
.est__wiz:not(.is-dark) .est__nav{margin-top:6px}

/* Строка с автомобилем на шагах 2–4 */
.est__car{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px;padding:10px 14px;border-radius:10px;background:rgba(255,255,255,.08);font-size:14px;line-height:1.35}
.est__car span{font-weight:600;overflow:hidden;text-overflow:ellipsis}
.est__edit{flex:0 0 auto;padding:4px 2px;border:0;background:none;color:#ffb089;font-size:14px;text-decoration:underline;cursor:pointer}
.est__bonus[data-bonus-plate]{margin:16px 0 0}
.est__bonus[hidden]{display:none}

/* Шаг 3 */
.est__chip--toggle{border-style:dashed;color:rgba(255,255,255,.8)}
.est__chips.is-collapsed .est__chip.is-more:not(.is-on){display:none}
.est__sum{margin:2px 0 12px;font-size:15px;line-height:1.4}
.est__sum b{display:block;font-family:var(--f-head);font-size:24px;color:#ffb089;line-height:1.2}
.est__sum small{display:block;margin-top:2px;font-size:12px;opacity:.7}
.est__how{margin-top:14px}
.est__how summary{display:inline-block;padding:4px 0;font-size:14px;color:rgba(255,255,255,.8);text-decoration:underline;cursor:pointer;list-style:none}
.est__how summary::-webkit-details-marker{display:none}
.est__how .est__calc{margin-top:8px}

/* Шаг 4: ползунок срока */
.est__term{margin:0 0 6px;font-size:16px}
.est__term b{font-family:var(--f-head);font-size:30px}
.est__range{width:100%;height:36px;margin:4px 0 0;background:transparent;accent-color:var(--c-accent,#ff6a3d);cursor:pointer}
.est__range::-webkit-slider-runnable-track{height:6px;border-radius:3px;background:rgba(255,255,255,.25)}
.est__range::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;margin-top:-11px;border-radius:50%;background:#fff;border:3px solid var(--c-accent,#ff6a3d)}
.est__range::-moz-range-track{height:6px;border-radius:3px;background:rgba(255,255,255,.25)}
.est__range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid var(--c-accent,#ff6a3d)}
.est__ticks{position:relative;height:20px;margin:0 14px 10px;font-size:12px;color:rgba(255,255,255,.6)}
.est__ticks span{position:absolute;top:0;transform:translateX(-50%)}

/* Окно выбора с поиском */
.pk{position:fixed;inset:0;z-index:1100;display:flex;align-items:flex-end;justify-content:center;background:rgba(10,12,16,.55)}
.pk[hidden]{display:none}
.pk__box{display:flex;flex-direction:column;width:100%;height:100%;height:100dvh;background:#fff}
.pk__head{display:flex;align-items:center;gap:6px;padding:8px 8px 4px}
.pk__back{position:relative;flex:0 0 48px;height:48px;border:0;background:none;cursor:pointer}
.pk__back::before{content:"";position:absolute;top:50%;left:50%;width:11px;height:11px;border-left:2px solid #333;border-bottom:2px solid #333;transform:translate(-30%,-50%) rotate(45deg)}
.pk__title{font-size:18px;font-weight:700}
.pk__search{padding:4px 16px 10px;border-bottom:1px solid #eceef1}
.pk__search input{width:100%;height:50px;padding:0 16px;border:1px solid #dcdfe3;border-radius:10px;background:#f6f7f8;font:inherit;font-size:16px;outline:none}
.pk__search input:focus{border-color:var(--c-btn);background:#fff}
.pk__list{flex:1;margin:0;padding:0 0 24px;overflow-y:auto;list-style:none;-webkit-overflow-scrolling:touch}
.pk__list li[data-v]{padding:0 20px;min-height:52px;display:flex;align-items:center;border-bottom:1px solid #f0f1f3;font-size:17px;cursor:pointer}
.pk__list li[data-v]:hover,.pk__list li.is-on{background:#fff1f0}
.pk__list li.is-on{color:var(--c-red);font-weight:700}
.pk__group{padding:14px 20px 6px;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:#888}
.pk__empty{padding:24px 20px;color:#777}
@media (min-width:768px){
  .pk{align-items:center}
  .pk__box{width:520px;height:min(680px,86vh);border-radius:14px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.35)}
}

/* Телефон: нижняя панель с действиями всегда в зоне большого пальца */
@media (max-width:767px){
  .est__tile,.est__opt{min-height:46px;font-size:15px}
  .est__nav{position:sticky;bottom:0;z-index:5;margin:18px -16px -24px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:#fff;box-shadow:0 -6px 18px rgba(0,0,0,.08)}
  .est__step--dark .est__nav{background:#1c1e22;box-shadow:0 -6px 18px rgba(0,0,0,.4)}
  .est__nav .est__btn{max-width:none}
  .est__wiz:not(.is-dark) .est__nav{margin-top:12px}
  .est__hint{margin-top:16px}
  .est__car{font-size:13px}
  .est__sum b{font-size:22px}
}

/* Ровные сетки кнопок выбора */
.est__tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.est__tiles .est__tile{padding:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.est__tile--other{grid-column:span 3}
[data-year-opts],[data-km-opts]{display:grid;gap:8px}
[data-year-opts]{grid-template-columns:repeat(4,1fr)}
[data-year-opts] .est__opt{padding:0 4px}
[data-km-opts]{grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){
  .est__tiles{grid-template-columns:repeat(4,1fr)}
  .est__tile--other{grid-column:auto}
  [data-year-opts]{grid-template-columns:repeat(6,1fr)}
  [data-km-opts]{grid-template-columns:repeat(3,1fr)}
}

/* Первый шаг из двух экранов */
.est__sub[hidden]{display:none}
.est__q{margin:0 0 18px;font-family:var(--f-head);font-size:26px;line-height:1.2;font-weight:700}
.est__car--light{background:#f3f4f6;color:var(--c-text)}
.est__car--light .est__edit{color:var(--c-red)}
.est__back--light{color:#666}
.est__back--light:hover{color:var(--c-text)}
.est__next--red{background:var(--c-btn)}
.est__nav [hidden]{display:none}
@media (max-width:767px){.est__q{font-size:22px;margin-bottom:14px}}

.est__promo[hidden]{display:none}

/* Калькулятор v3: модели с миниатюрами в слайдере, заметные кнопки */
.est__chips-wrap{position:relative;margin:0 0 14px}
.est__chips{display:flex;flex-wrap:nowrap;gap:10px;margin:0;padding:2px 2px 8px;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.est__chips::-webkit-scrollbar{display:none}
.est__chip{flex:0 0 auto;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:104px;height:auto;padding:8px 10px 10px;border:1px solid rgba(255,255,255,.28);border-radius:12px;background:rgba(255,255,255,.04);scroll-snap-align:start}
.est__chip img{width:84px;height:56px;object-fit:cover;border-radius:8px;background:rgba(255,255,255,.08)}
.est__chip span{font-size:14px;font-weight:700;line-height:1.1}
.est__chip.is-on{background:#fff;border-color:#fff;color:#1c1e22;box-shadow:0 6px 18px rgba(0,0,0,.35)}
.est__chip--toggle{display:none}
.est__chips-wrap.is-scrollable::after{content:"";position:absolute;top:0;right:0;bottom:8px;width:56px;border-radius:0 12px 12px 0;background:linear-gradient(to right,rgba(28,30,34,0),#1c1e22 85%);pointer-events:none;transition:opacity .25s}
.est__chips-wrap.is-scrollable.is-end::after{opacity:0}
.est__chips-hint{display:none;position:absolute;top:50%;right:4px;z-index:2;width:34px;height:34px;margin-top:-21px;border:0;border-radius:50%;background:#fff;color:#1c1e22;font-size:24px;line-height:32px;text-align:center;padding:0;box-shadow:0 4px 14px rgba(0,0,0,.4);animation:estHint 1.4s ease-in-out infinite}
.est__chips-wrap.is-scrollable .est__chips-hint{display:block}
.est__chips-wrap.is-end .est__chips-hint{display:none}
@keyframes estHint{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}
@media (prefers-reduced-motion:reduce){.est__chips-hint{animation:none}.est__cta{animation:none!important}}
@media (min-width:768px){.est__chips{flex-wrap:wrap;overflow:visible}.est__chips-wrap::after,.est__chips-hint{display:none!important}}

/* кнопки калькулятора: крупные, цвета бренда, с мягким свечением */
.est__next,.est__nav .est__cta,.est__nav .est__btn,.est__btn{min-height:60px;padding:0 34px;border:0;border-radius:12px;background:var(--c-btn);color:#fff;font-size:16px;font-weight:700;letter-spacing:.02em;box-shadow:0 10px 26px rgba(0,0,0,.28);transition:transform .15s,box-shadow .15s,background .15s}
.est__next:hover,.est__nav .est__cta:hover,.est__btn:hover{background:var(--c-btn-hover);transform:translateY(-1px)}
.est__next::after,.est__btn::after{content:none}
.est__nav .est__cta,.est__nav .est__btn{animation:estPulse 2.4s ease-out infinite}
@keyframes estPulse{0%{box-shadow:0 10px 26px rgba(0,0,0,.28),0 0 0 0 rgba(255,255,255,.35)}70%{box-shadow:0 10px 26px rgba(0,0,0,.28),0 0 0 14px rgba(255,255,255,0)}100%{box-shadow:0 10px 26px rgba(0,0,0,.28),0 0 0 0 rgba(255,255,255,0)}}
.est__back{min-height:48px;padding:0 20px;border:1px solid rgba(255,255,255,.35);border-radius:12px;color:#fff;font-size:15px}
.est__back:hover{border-color:#fff}
.est__back--light{border-color:#d4d6da;color:#555}
/* ===== Встроенный квиз ===== */
.qz{--qz-main:#ff0000;--qz-text:#000;--qz-muted:#6b6f76;--qz-line:#e4e6ea;position:relative;min-height:600px;background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 24px rgba(0,0,0,.08);font-family:var(--f-body,"Fira Sans",Arial,sans-serif);color:var(--qz-text);line-height:1.4}
.qz *{box-sizing:border-box}
.qz button{font:inherit;cursor:pointer}

.qz-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 34px;border:0;border-radius:4px;background:var(--qz-main);color:#fff;font-size:16px;font-weight:600;transition:filter .2s,opacity .2s}
.qz-btn:hover{filter:brightness(.9)}
.qz-btn:disabled{opacity:.4;cursor:default;filter:none}
.qz-btn--big{min-height:60px;padding:0 40px;font-size:17px}
.qz-btn::after{content:"";width:8px;height:8px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}

/* Стартовая страница */
.qz-start{position:relative;min-height:600px;display:flex}
.qz-start__bg{position:absolute;inset:0;background:right center/cover no-repeat}
.qz-start__bg--m{display:none}
.qz-start__panel{position:relative;display:flex;flex-direction:column;justify-content:center;width:52%;padding:50px 56px;background:#fff}
.qz-start__panel::after{content:"";position:absolute;top:0;bottom:0;right:-80px;width:80px;background:linear-gradient(to right,#fff,rgba(255,255,255,0))}
.qz-start__title{font-size:32px;font-weight:700;line-height:1.2}
.qz-start__sub{margin:20px 0 36px;font-size:17px;color:#333;line-height:1.5}
.qz-start .qz-btn{align-self:flex-start}

/* Шаг вопроса */
.qz-step{display:grid;grid-template-columns:1fr 270px;grid-template-rows:1fr auto;min-height:600px}
.qz-main{padding:40px 40px 20px;min-width:0}
.qz-q{font-size:24px;font-weight:700;line-height:1.25;margin:0 0 26px}
.qz-aside{padding:40px 30px 20px;background:#f5f6f8;border-left:1px solid var(--qz-line)}
.qz-person{display:flex;gap:12px;align-items:center}
.qz-person img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex-shrink:0}
.qz-person b{display:block;font-size:15px}
.qz-person span{display:block;font-size:13px;color:var(--qz-muted)}
.qz-bubble{position:relative;margin-top:16px;padding:14px 16px;background:#fff;border-radius:4px 14px 14px 14px;font-size:14px;line-height:1.5;box-shadow:0 2px 10px rgba(0,0,0,.05);animation:qzIn .35s ease}
@keyframes qzIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}

.qz-answers{animation:qzIn .3s ease}
.qz-answers--variants{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.qz-var{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 16px;border:1px solid var(--qz-line);border-radius:4px;background:#fff;text-align:left;font-size:15px;color:var(--qz-text);transition:border-color .2s,box-shadow .2s}
.qz-var:hover{border-color:var(--qz-main)}
.qz-radio{flex-shrink:0;width:20px;height:20px;border:2px solid #c8ccd2;border-radius:50%;transition:border .15s}
.is-on .qz-radio{border:6px solid var(--qz-main)}
.qz-var.is-on{border-color:var(--qz-main);box-shadow:0 0 0 1px var(--qz-main)}

.qz-answers--images{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.qz-card{display:flex;flex-direction:column;padding:0;border:1px solid var(--qz-line);border-radius:4px;background:#fff;overflow:hidden;text-align:left;color:var(--qz-text);transition:border-color .2s,box-shadow .2s}
.qz-card:hover,.qz-card.is-on{border-color:var(--qz-main);box-shadow:0 0 0 1px var(--qz-main)}
.qz-card__img{display:block;aspect-ratio:1/1;overflow:hidden;background:#f0f1f3}
.qz-card__img img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.qz-card:hover img{transform:scale(1.05)}
.qz-card__t{display:flex;align-items:center;gap:8px;padding:10px;font-size:13px;font-weight:600;line-height:1.25}
.qz-card__t .qz-radio{width:16px;height:16px}
.qz-card.is-on .qz-radio{border-width:5px}

.qz-other{grid-column:1/-1;display:block}
.qz-other input,.qz-field input{width:100%;height:56px;padding:0 16px;border:1px solid var(--qz-line);border-radius:4px;font:inherit;font-size:15px;outline:none;transition:border-color .2s}
.qz-other input:focus,.qz-field input:focus{border-color:var(--qz-main)}

.qz-foot{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:18px 40px;border-top:1px solid var(--qz-line)}
.qz-progress{flex:1;max-width:420px}
.qz-progress span{display:block;font-size:13px;color:var(--qz-muted);margin-bottom:6px}
.qz-progress b{color:var(--qz-main)}
.qz-progress i{display:block;height:6px;border-radius:3px;background:#eceef1;overflow:hidden}
.qz-progress em{display:block;height:100%;background:var(--qz-main);border-radius:3px;transition:width .4s ease}
.qz-nav{display:flex;gap:10px}
.qz-back{position:relative;width:52px;height:52px;border:1px solid var(--qz-line);border-radius:4px;background:#fff}
.qz-back::before{content:"";position:absolute;top:50%;left:50%;width:9px;height:9px;border-bottom:2px solid #333;border-left:2px solid #333;transform:translate(-30%,-50%) rotate(45deg)}
.qz-back:hover{border-color:var(--qz-main)}

/* Форма */
.qz-form{max-width:440px}
.qz-form__text{margin:-12px 0 22px;font-size:15px;color:#333;line-height:1.5}
.qz-field{display:block;margin-bottom:14px}
.qz-field span,.qz-msg>span{display:block;margin-bottom:6px;font-size:13px;color:var(--qz-muted)}
.qz-msg{margin:4px 0 16px}
.qz-msg div{display:flex;gap:8px}
.qz-msg label{flex:1}
.qz-msg input{position:absolute;opacity:0;pointer-events:none}
.qz-msg b{display:flex;align-items:center;justify-content:center;height:44px;border:1px solid var(--qz-line);border-radius:4px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}
.qz-msg input:checked+b{border-color:var(--qz-main);color:var(--qz-main);box-shadow:0 0 0 1px var(--qz-main)}
.qz-msg input:focus-visible+b{outline:2px solid var(--qz-main);outline-offset:2px}
.qz-consent{display:flex;gap:10px;align-items:flex-start;margin-bottom:16px;font-size:12px;line-height:1.45;color:var(--qz-muted)}
.qz-consent input{margin:2px 0 0;width:16px;height:16px;accent-color:var(--qz-main);flex-shrink:0}
.qz-consent a{color:inherit}
.qz-error{margin:0 0 12px;color:#d0021b;font-size:13px}
.qz-form .qz-btn{width:100%}

/* Спасибо */
.qz-thanks{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:600px;padding:40px;text-align:center}
.qz-thanks p{max-width:460px;font-size:17px;color:#333}
.qz-thanks__ok{width:76px;height:76px;margin-bottom:24px;border-radius:50%;background:var(--qz-main) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/38px no-repeat;animation:qzIn .4s ease}

/* Попап */
.qz-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(10,12,16,.6);opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s}
.qz-modal.is-open{opacity:1;visibility:visible}
.qz-modal__box{position:relative;width:100%;max-width:1024px;max-height:calc(100vh - 40px);overflow:auto;border-radius:8px;transform:translateY(16px);transition:transform .25s}
.qz-modal.is-open .qz-modal__box{transform:none}
.qz-modal__x{position:absolute;top:10px;right:10px;z-index:3;width:40px;height:40px;border:0;border-radius:50%;background:rgba(255,255,255,.9)}
.qz-modal__x::before,.qz-modal__x::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2px;background:#333;transform:translate(-50%,-50%) rotate(45deg)}
.qz-modal__x::after{transform:translate(-50%,-50%) rotate(-45deg)}
.qz-modal .qz{box-shadow:none;border-radius:0}
html.qz-lock{overflow:hidden}

/* Адаптив */
@media (max-width:900px){
  .qz-answers--images{grid-template-columns:repeat(3,1fr)}
  .qz-step{grid-template-columns:1fr;grid-template-rows:auto auto auto}
  .qz-aside{order:-1;grid-row:1;padding:16px 20px;border-left:0;border-bottom:1px solid var(--qz-line);display:flex;flex-direction:column}
  .qz-bubble{margin-top:10px;font-size:13px}
  .qz-main{grid-row:2}
  .qz-foot{grid-row:3}
}
@media (max-width:767px){
  .qz{min-height:0}
  .qz-start{min-height:600px;align-items:flex-end}
  .qz-start__bg{display:none}
  .qz-start__bg--m{display:block;background-position:center top}
  .qz-start__panel{width:100%;padding:28px 20px 30px;background:linear-gradient(to top,#fff 75%,rgba(255,255,255,0))}
  .qz-start__panel::after{display:none}
  .qz-start__title{font-size:24px}
  .qz-start__sub{font-size:15px;margin:14px 0 22px}
  .qz-start .qz-btn{align-self:stretch}
  .qz-main{padding:22px 16px 16px}
  .qz-q{font-size:20px;margin-bottom:18px}
  .qz-person img{width:44px;height:44px}
  .qz-answers--variants{grid-template-columns:1fr}
  .qz-answers--images{grid-template-columns:repeat(2,1fr);gap:8px}
  .qz-foot{padding:12px 16px;gap:16px;position:sticky;bottom:0;background:#fff}
  .qz-btn{padding:0 22px}
  .qz-modal{padding:0}
  .qz-modal__box{max-height:100%;height:100%;border-radius:0}
  .qz-modal .qz{min-height:100%}
  .qz-thanks{min-height:420px}
}

/* ===== Таймер акции (общий: первый экран, квиз) ===== */
.cd{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-variant-numeric:tabular-nums}
.cd__label{font-size:13px;opacity:.85}
.cd__v{display:inline-flex;align-items:baseline;gap:2px;padding:5px 10px;border-radius:6px;background:rgba(0,0,0,.06);font-size:15px}
.cd__v b{font-weight:700}
.cd__v small{font-size:12px;margin-left:3px}
.qz-start .cd{margin:0 0 22px}

/* Подпись под кнопкой старта */
.qz-start__meta{margin:12px 0 0;font-size:13px;color:var(--qz-muted)}

/* Несколько ответов */
.qz-check{flex-shrink:0;position:relative;width:20px;height:20px;border:2px solid #c8ccd2;border-radius:4px;transition:all .15s}
.is-on .qz-check{background:var(--qz-main);border-color:var(--qz-main)}
.is-on .qz-check::after{content:"";position:absolute;left:5px;top:1px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}

/* Мини-расчёт в боковой колонке */
.qz-est{margin-top:16px;padding:14px 16px;border-radius:8px;background:#fff;border-left:3px solid var(--qz-main);animation:qzIn .35s ease}
.qz-est span{display:block;font-size:12px;color:var(--qz-muted);text-transform:uppercase;letter-spacing:.04em}
.qz-est b{display:block;margin-top:2px;font-size:15px}
.qz-est em{display:block;margin-top:2px;font-style:normal;font-weight:700;color:var(--qz-main)}

/* Купон перед формой */
.qz-coupon{display:flex;flex-direction:column;gap:14px;background:#fff7f6;border-left:1px dashed #f3b3ae}
.qz-coupon__head{align-self:flex-start;padding:6px 12px;border-radius:999px;background:var(--qz-main);color:#fff;font-size:13px;font-weight:700}
.qz-coupon ul{margin:0;padding:0;list-style:none}
.qz-coupon__rows li{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:7px 0;border-bottom:1px solid #f1dcda;font-size:13px}
.qz-coupon__rows li b{white-space:nowrap;font-size:15px}
.qz-coupon__big{flex-direction:column;gap:2px!important}
.qz-coupon__big b{font-size:26px!important;color:var(--qz-main);line-height:1.1}
.qz-coupon__gift{position:relative;padding:3px 0 3px 22px;font-size:13px;line-height:1.4}
.qz-coupon__gift::before{content:"";position:absolute;left:2px;top:7px;width:6px;height:10px;border:solid var(--qz-main);border-width:0 2px 2px 0;transform:rotate(45deg)}
.qz-coupon .cd__v{background:#fff}
.qz-coupon__note{margin:0;font-size:11px;line-height:1.4;color:var(--qz-muted)}
.qz-step--form{grid-template-columns:1fr 340px}
.qz-step--form .qz-main{grid-column:1;grid-row:1}
.qz-step--form .qz-aside{grid-column:2;grid-row:1}
.qz-msg div{flex-wrap:wrap}
.qz-msg label{flex:1 1 90px}

/* Короткая форма в окне */
.qz-modal--narrow .qz-modal__box{max-width:440px}
.qz-modal--narrow .qz{min-height:0}
.qz-cb{padding:40px 32px 32px}
.qz-cb .qz-form{max-width:none}
.qz-thanks--small{min-height:300px}

@media (max-width:900px){
  .qz-step--form{grid-template-columns:1fr}
  .qz-step--form .qz-aside{grid-column:1}
  .qz-coupon{grid-row:1!important;border-left:0;border-bottom:1px dashed #f3b3ae}
  .qz-step--form .qz-main{grid-column:1;grid-row:2}
}
@media (max-width:767px){
  .qz-modal--narrow{align-items:flex-end}
  .qz-modal--narrow .qz-modal__box{height:auto;border-radius:16px 16px 0 0}
  .qz-modal--narrow .qz{min-height:0}
  .qz-cb{padding:32px 18px 24px}
  .qz-coupon__big b{font-size:22px!important}
  .qz-est{display:none}
}

/* ===== Крупные карточки моделей (только TENET, 4 варианта) ===== */
.qz-answers--images{grid-template-columns:repeat(2,1fr);gap:14px}
.qz-card__img{aspect-ratio:16/9}
.qz-card__t{min-height:52px;padding:12px 16px;font-size:16px;font-weight:700}
.qz-card__t .qz-radio{width:20px;height:20px}
.qz-card.is-on .qz-radio{border-width:6px}
.qz-coupon__gt{margin:0 0 -6px;font-size:13px;font-weight:700}
@media (max-width:900px){.qz-answers--images{grid-template-columns:repeat(2,1fr)}}
@media (max-width:767px){
  .qz-answers--images{gap:10px}
  .qz-card__img{aspect-ratio:4/3}
  .qz-card__t{min-height:46px;padding:10px;font-size:14px}
}

@media (min-width:901px){.qz--popup .qz-aside{padding-top:64px}}

/* Стартовый экран с живым консультантом */
.qz-start--person{min-height:560px;background:#fff}
.qz-start--person .qz-start__panel{width:52%;padding:48px 56px;justify-content:center;z-index:1}
.qz-start--person .qz-start__panel::after{display:none}
.qz-start__who{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:13px;line-height:1.3;color:var(--qz-muted)}
.qz-start__who img{width:44px;height:44px;border-radius:50%;object-fit:cover;object-position:60% 25%}
.qz-start__who b{display:block;font-size:15px;color:var(--qz-text)}
.qz-start--person .qz-start__title{font-size:34px}
.qz-start--person .qz-start__sub{margin:16px 0 22px;max-width:480px}
.qz-start__chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none}
.qz-start__chips li{padding:8px 14px;border-radius:999px;background:#F7F0EB;font-size:14px;font-weight:600}
.qz-start__act{display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.qz-start--person .qz-start__meta{margin:0;line-height:1.35}
.qz-start--person .cd{margin:24px 0 0}
.qz-start__photo{position:relative;flex:1;min-height:480px;overflow:hidden}
.qz-start__photo>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 20%}
.qz-start__quote{position:absolute;left:24px;right:24px;bottom:24px;max-width:340px;margin:0;padding:14px 18px;border-radius:14px;background:#fff;box-shadow:0 8px 30px rgba(0,0,0,.18);font-size:15px;line-height:1.4;color:var(--qz-text)}
.qz-start__quote small{display:block;margin-top:6px;font-size:12px;color:var(--qz-muted)}
@media (max-width:767px){
  .qz-start--person{flex-direction:column-reverse;min-height:0;align-items:stretch}
  .qz-start--person .qz-start__panel{width:100%;padding:22px 20px 26px}
  .qz-start--person .qz-start__title{font-size:22px}
  .qz-start__photo{flex:none;height:300px;min-height:0}
  .qz-start__quote{left:12px;right:12px;bottom:12px;font-size:13px;padding:10px 14px}
  .qz-start__act{flex-direction:column;align-items:stretch;gap:10px}
  .qz-start--person .qz-start__meta{text-align:center}
  .qz-start__meta br{display:inline}
}

/* ---- шапка «логотип бренда | разделитель | дилер» (если задан логотип бренда) ---- */
.header__logos{display:flex;align-items:center;gap:20px}
.header__sep{flex:0 0 1px;width:1px;height:36px;background:#cfd3d9}
.header__logo-brand{height:44px;width:auto;max-width:160px;object-fit:contain}
@media (max-width:767px){.header__logos{gap:12px}.header__logo-brand{height:32px;max-width:100px}.header__sep{height:26px}}

/* Слайдер фишек автомобиля (dealer-features): фон и акцент берутся из токенов бренда */
.feat{padding:56px 0 48px;background:var(--feat-bg,#1E1B18);color:#F7F0EB;overflow:hidden}
.feat .section-title{color:#fff;margin-bottom:28px}
.feat__stats{list-style:none;margin:0 0 32px;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feat__stats li{border-top:2px solid var(--c-red);padding-top:12px}
.feat__stats b{display:block;font-family:var(--f-head);font-size:30px;line-height:1.1;color:#fff}
.feat__stats span{display:block;margin-top:4px;font-size:13px;color:#C7B9AB}
.feat__slider{position:relative}
.feat__track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0 max(20px,calc((100vw - 1200px)/2));scroll-padding:0 max(20px,calc((100vw - 1200px)/2));cursor:grab}
.feat__track::-webkit-scrollbar{display:none}
.feat__track.is-drag{cursor:grabbing;scroll-snap-type:none}
.feat__slide{position:relative;flex:0 0 400px;height:520px;border-radius:12px;overflow:hidden;scroll-snap-align:start;background:#000}
.feat__slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none;user-select:none}
.feat__cap{position:absolute;left:0;right:0;bottom:0;padding:90px 22px 22px;background:linear-gradient(to top,rgba(20,15,10,.92) 0%,rgba(20,15,10,.7) 55%,rgba(20,15,10,0) 100%)}
.feat__cap span{display:block;font-size:12px;letter-spacing:.8px;text-transform:uppercase;color:var(--c-red);font-weight:700}
.feat__cap h3{margin:6px 0 8px;font-size:19px;line-height:1.25;color:#fff;text-transform:none;letter-spacing:.2px;font-family:var(--f-body)}
.feat__cap p{margin:0;font-size:14px;line-height:1.5;color:#E9E1D8}
.feat__arrow{position:absolute;top:50%;z-index:2;width:52px;height:52px;margin-top:-26px;border:0;border-radius:50%;background:#fff;box-shadow:0 4px 18px rgba(0,0,0,.35);cursor:pointer}
.feat__arrow::before{content:"";position:absolute;top:50%;left:50%;width:12px;height:12px;border-top:2px solid #1E1B18;border-right:2px solid #1E1B18;transform:translate(-65%,-50%) rotate(45deg)}
.feat__arrow--prev{left:20px}.feat__arrow--prev::before{transform:translate(-35%,-50%) rotate(-135deg)}
.feat__arrow--next{right:20px}
.feat__arrow:hover{background:var(--c-red)}
@media (max-width:767px){
  .feat{padding:36px 0 32px}
  .feat__stats{grid-template-columns:repeat(2,1fr);gap:14px 16px;margin-bottom:22px}
  .feat__stats b{font-size:22px}
  .feat__track{gap:12px;padding:0 16px;scroll-padding:0 16px}
  .feat__slide{flex-basis:82vw;height:440px}
  .feat__arrow{display:none}
}
