/* Мастер Сегодня — вариант Б, продуктовый интерфейс.
   CSS сгенерирован v0, импорт Tailwind и @theme убраны:
   здесь всё на собственных классах и работает без сборки. */


:root { --background: #f1f4f1; --foreground: #12312b; --card: #fff; --muted: #63726d; --primary: #12312b; --primary-foreground: #fff; --accent: #f0a830; --accent-foreground: #12312b; --border: #dfe7e1; --radius: 18px; }
* { box-sizing: border-box; } html { background: var(--background); scroll-behavior: smooth; } body { margin: 0; background: var(--background); color: var(--foreground); font-family: 'Manrope', system-ui, -apple-system, sans-serif; line-height: 1.5; } button, input, select, textarea { font: inherit; } button, a { -webkit-tap-highlight-color: transparent; } button { cursor: pointer; } a { color: inherit; }
.site { min-height: 100vh; } .wrap, .topbar, .footer { max-width: 1120px; margin: 0 auto; padding-left: 22px; padding-right: 22px; } .topbar { height: 76px; display:flex; align-items:center; justify-content:space-between; gap:20px; } .brand { display:flex; flex-direction:column; gap:1px; } .brand strong { font-size:18px; letter-spacing:-.03em; } .brand span { font-size:11px; color:var(--muted); } .top-info { font-size:12px; color:var(--muted); } .top-info a { margin-left:15px; font-weight:700; color:var(--foreground); } .phone-link { display:none; }
.hero { padding-top:38px; padding-bottom:28px; } .eyebrow,.section-kicker { color:#77857f; font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; } .offer { margin-top:17px; display:flex; align-items:baseline; gap:12px; flex-wrap:wrap; } .offer b { font-size:clamp(32px, 5vw, 56px); line-height:1; letter-spacing:-.055em; } .offer span { font-size:17px; font-weight:700; } .fine { max-width:700px; margin:14px 0 24px; color:var(--muted); font-size:12px; } h1 { max-width:880px; margin:0; font-size:clamp(30px,5vw,56px); line-height:1.04; letter-spacing:-.055em; } h2 { margin:5px 0 8px; font-size:clamp(23px,3vw,32px); line-height:1.1; letter-spacing:-.045em; } .lead { max-width:690px; font-size:17px; color:#53635d; margin:19px 0; } .stats { display:flex; gap:22px; flex-wrap:wrap; margin:22px 0 24px; color:var(--muted); font-size:12px; } .stats span { display:flex; gap:5px; flex-direction:column; } .stats b { color:var(--foreground); font-size:17px; } .chips, .filter-row { display:flex; gap:9px; flex-wrap:wrap; } .chip { border:1px solid var(--border); background:var(--card); color:var(--foreground); border-radius:99px; padding:11px 17px; font-weight:700; transition:.2s; } .chip:hover,.chip.selected { background:var(--primary); color:var(--primary-foreground); border-color:var(--primary); }
.profile,.booking,.truth,.price,.process,.trust,.brands,.reviews,.lead-form,.faq { margin-top:18px; padding-top:28px; padding-bottom:28px; } .profile { display:flex; align-items:center; gap:17px; background:var(--card); padding:20px; border-radius:var(--radius); box-shadow:0 8px 22px #12312b0b; } .avatar { width:62px; height:62px; display:grid; place-items:center; border-radius:16px; background:var(--primary); color:var(--accent); flex:none; } .profile-main { flex:1; } .profile-name { font-weight:800; } .online { color:#65756e; font-size:11px; font-weight:500; margin-left:7px; } .rating { display:flex; align-items:center; gap:9px; margin:4px 0 9px; font-size:12px; color:var(--muted); } .rating strong { font-size:24px; color:var(--foreground); } .stars { color:var(--accent); letter-spacing:2px; } .badges { display:flex; gap:6px; flex-wrap:wrap; } .badges span { background:var(--background); padding:5px 9px; border-radius:99px; font-size:11px; } .button { display:inline-flex; align-items:center; justify-content:center; gap:8px; background:var(--accent); border:0; color:var(--accent-foreground); border-radius:12px; min-height:48px; padding:0 18px; font-weight:800; transition:.2s; } .button:hover { filter:brightness(.95); transform:translateY(-1px); } .button:disabled { opacity:.4; cursor:not-allowed; transform:none; } .button.secondary { background:var(--background); }
.booking,.truth,.price,.process,.trust,.brands,.reviews,.lead-form,.faq { background:var(--card); border-radius:var(--radius); padding-left:28px; padding-right:28px; } .muted,.notice { color:var(--muted); font-size:13px; } .day-row,.slots { display:flex; gap:8px; overflow:auto; margin:20px 0 11px; padding-bottom:2px; } .day,.slot { min-width:max-content; border:1px solid var(--border); background:var(--card); border-radius:12px; padding:11px 14px; color:var(--foreground); } .day { display:flex; flex-direction:column; text-align:left; gap:2px; } .day span { font-size:12px; color:var(--muted); } .day.active,.slot.active { background:var(--primary); color:var(--primary-foreground); border-color:var(--primary); } .day.active span { color:#d8e4dd; } .slot { display:flex; align-items:center; gap:7px; } .booking-form { display:flex; gap:9px; max-width:500px; margin-top:17px; }
.field { width:100%; min-height:52px; border:1px solid var(--border); border-radius:11px; background:#fff; color:var(--foreground); padding:0 14px; outline:none; } textarea.field { padding-top:14px; min-height:100px; resize:vertical; } .field:focus { border-color:var(--accent); box-shadow:0 0 0 3px #f0a83033; } .truth { display:grid; grid-template-columns:1fr 1.4fr; gap:40px; } .truth-copy > p { font-size:18px; margin-top:0; } .truth-list { display:grid; gap:11px; } .truth-list div { display:flex; gap:9px; font-size:14px; } .truth-list svg { color:var(--accent); flex:none; } .notice { margin:14px 0 20px; max-width:800px; } .filter-row { margin-bottom:15px; } .symptoms { display:grid; gap:5px; } .symptom { display:flex; align-items:center; gap:12px; text-align:left; width:100%; padding:14px 4px; border:0; border-bottom:1px solid var(--border); background:transparent; color:var(--foreground); } .symptom:hover { background:var(--background); padding-left:10px; } .symptom span { flex:1; display:flex; flex-direction:column; } .symptom small { color:var(--muted); font-size:12px; } .symptom strong { white-space:nowrap; font-size:14px; } .not-found { display:flex; justify-content:space-between; align-items:center; gap:20px; background:var(--background); border-radius:13px; padding:17px; margin-top:20px; } .not-found div { display:flex; flex-direction:column; gap:3px; } .not-found span { color:var(--muted); font-size:13px; }
.steps,.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:20px; } .step,.trust-card { background:var(--background); border-radius:14px; padding:16px; display:flex; flex-direction:column; gap:8px; } .step > span { color:var(--accent); font-weight:800; } .step small,.trust-card span { color:var(--muted); font-size:12px; } .trust-grid { grid-template-columns:repeat(3,1fr); } .trust-card svg { color:var(--accent); } .trust-card b { font-size:15px; } .brands p { font-size:17px; line-height:1.8; margin-bottom:6px; } .brands small { color:var(--muted); } .review-head { display:flex; justify-content:space-between; align-items:end; gap:20px; } .review-head h2 { font-size:42px; margin-top:8px; } .review-head h2 .stars { font-size:18px; vertical-align:middle; } .review-head p { color:var(--muted); font-size:13px; } .review-mark { color:var(--muted); font-size:12px; } .review-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:18px; } .review { background:var(--background); border-radius:14px; padding:17px; display:flex; flex-direction:column; } .review.featured { grid-column:span 2; } .review p { font-size:14px; flex:1; } .review footer { display:flex; justify-content:space-between; color:var(--muted); font-size:12px; } .master-answer { border-top:1px solid var(--border); margin-top:16px; padding-top:13px; } .master-answer b { font-size:12px; color:#9b6b15; } .master-answer p { font-size:13px; margin-bottom:0; }
.lead-form { display:grid; grid-template-columns:1fr 1.15fr; gap:45px; } form { display:grid; gap:9px; } .consents { display:grid; gap:8px; margin:4px 0; } .consents label { display:flex; gap:8px; color:var(--muted); font-size:11px; line-height:1.35; } .consents input { margin-top:2px; accent-color:var(--primary); } .consents a { color:var(--foreground); } .faq-item { border-top:1px solid var(--border); } .faq-item button { width:100%; border:0; background:transparent; display:flex; justify-content:space-between; padding:18px 0; color:var(--foreground); text-align:left; } .faq-item p { margin:0 0 18px; color:var(--muted); font-size:14px; max-width:700px; } .rotate { transform:rotate(180deg); }
.footer { margin-top:50px; padding-top:30px; padding-bottom:110px; border-top:1px solid var(--border); display:flex; flex-wrap:wrap; gap:30px; align-items:start; } .footer > div:nth-child(2) { display:flex; gap:18px; font-size:12px; color:var(--muted); } .footer p { width:100%; color:var(--muted); font-size:11px; }.mobile-bar { display:none; }.popup,.modal { background:var(--card); box-shadow:0 20px 60px #12312b30; border-radius:18px; } .popup { position:fixed; right:22px; bottom:22px; z-index:10; width:330px; padding:22px; display:flex; flex-direction:column; gap:8px; } .popup > span { color:var(--muted); font-size:13px; } .popup > div { display:flex; gap:8px; margin-top:8px; } .popup .button { flex:1; min-height:42px; padding:0 10px; font-size:13px; }.close { position:absolute; right:12px; top:12px; border:0; background:transparent; color:var(--muted); }.modal-backdrop { position:fixed; inset:0; background:#12312b88; z-index:20; display:grid; place-items:center; padding:18px; }.modal { position:relative; width:min(510px,100%); padding:28px; }.progress { height:5px; background:var(--background); border-radius:99px; margin-bottom:14px; overflow:hidden; }.progress span { display:block; height:100%; background:var(--accent); }.modal h2 { margin-top:14px; }.modal-options { display:grid; gap:8px; margin-top:20px; }.modal-options button { min-height:50px; text-align:left; border:1px solid var(--border); background:var(--background); border-radius:11px; padding:0 14px; color:var(--foreground); }.modal-options button:hover,.modal-options button.active { background:var(--primary); color:var(--primary-foreground); }.modal .consents { margin-top:16px; }.full { width:100%; margin-top:13px; }.success { text-align:center; padding:25px 5px 8px; }.success-icon { margin:auto; width:56px; height:56px; display:grid; place-items:center; border-radius:50%; background:var(--accent); }.success p { color:var(--muted); }
@media (max-width:700px) { .wrap,.topbar,.footer { padding-left:16px; padding-right:16px; } .topbar { height:66px; } .top-info { display:none; } .phone-link { display:flex; align-items:center; gap:5px; font-size:12px; font-weight:700; } .hero { padding-top:25px; } .offer { gap:7px; } .offer b { font-size:38px; } .offer span { font-size:14px; } h1 { font-size:34px; } .lead { font-size:15px; } .stats { gap:13px; } .stats span { font-size:10px; }.stats b { font-size:15px; }.profile { align-items:flex-start; flex-wrap:wrap; }.profile .button { width:100%; }.avatar { width:50px; height:50px; }.badges span { font-size:10px; }.booking,.truth,.price,.process,.trust,.brands,.reviews,.lead-form,.faq { padding:21px 16px; }.booking-form { flex-direction:column; }.truth,.lead-form { grid-template-columns:1fr; gap:18px; }.truth-copy > p { font-size:16px; }.not-found { align-items:stretch; flex-direction:column; }.not-found .button { width:100%; }.steps,.trust-grid { grid-template-columns:repeat(2,1fr); }.step,.trust-card { padding:13px; }.review-grid { display:flex; overflow:auto; margin-right:-16px; padding-right:16px; }.review { min-width:280px; }.review.featured { min-width:330px; }.review-head { align-items:start; flex-direction:column; gap:0; }.review-mark { display:none; }.footer { margin-top:28px; padding-bottom:90px; flex-direction:column; gap:18px; }.footer > div:nth-child(2) { flex-direction:column; gap:7px; }.mobile-bar { position:fixed; display:grid; grid-template-columns:1fr 1.3fr; bottom:0; left:0; right:0; z-index:9; background:var(--card); padding:8px; gap:8px; box-shadow:0 -5px 20px #12312b15; }.mobile-bar a,.mobile-bar button { min-height:50px; border:0; border-radius:11px; display:flex; align-items:center; justify-content:center; gap:7px; font-weight:800; text-decoration:none; }.mobile-bar a { background:var(--background); }.mobile-bar button { background:var(--accent); color:var(--accent-foreground); }.popup { left:16px; right:16px; bottom:82px; width:auto; padding:19px; }.modal { padding:23px 17px; } }
@media (min-width:701px) { .hero + .profile { margin-top:15px; } }

/* иконки: в React-версии это были компоненты lucide, в статике — инлайновый svg */
.i{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none;display:inline-block;vertical-align:middle}
.truth-list .i{color:var(--accent)}
.full{width:100%}
[hidden]{display:none!important}
a{text-decoration:none}
.footer a:hover,.consents a:hover{text-decoration:underline}
.consents a{text-decoration:underline}

/* FAQ на <details>: ответы всегда в HTML, видимость — через open */
.faq-item summary{width:100%;display:flex;justify-content:space-between;align-items:center;
  gap:14px;padding:18px 0;cursor:pointer;list-style:none;color:var(--foreground)}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item[open] summary svg{transform:rotate(180deg)}
.faq-item summary svg{transition:transform .18s ease}
.pane-title{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Слоты визита: загруженность + «счастливые часы» */
.slot{flex-direction:column;align-items:flex-start;gap:5px;position:relative;padding:12px 15px}
.slot__t{display:flex;align-items:center;gap:7px;font-weight:700}
.slot__load{font-size:11px;opacity:.75}
.load--free{color:var(--accent-foreground)}
.slot.active .slot__load{opacity:.85}
.slot--happy{border-color:var(--accent)}
.slot__happy{position:absolute;top:-8px;right:10px;background:var(--accent);color:var(--accent-foreground);
  font-size:11px;font-weight:800;padding:2px 7px;border-radius:99px}
.happy-note{font-size:13px;color:var(--muted);margin:4px 0 0;line-height:1.45}
.happy-note.is-on{color:var(--foreground)}
.happy-note b{color:var(--foreground)}

/* ============================================================
   Токены, снятые с дизайн-систем крупных российских сервисов.
   Радиусы и высоты — Taiga UI (Т-Банк, Apache-2.0).
   Тень как состояние — оттуда же. Тёмный выбранный чип — Авито.
   Пары «цвет + бледная подложка» для бейджей — Яндекс Услуги.
   ============================================================ */
:root{
  /* Taiga UI: radius = height / 4 */
  --r-xs:4px; --r-s:8px; --r-m:10px; --r-l:12px; --r-xl:24px;
  --h-s:32px; --h-m:44px; --h-l:56px;
  /* тень — не декор, а состояние: на hover растёт втрое */
  --sh-rest:0 5px 20px rgba(0,0,0,.10);
  --sh-hover:0 14px 42px rgba(0,0,0,.12);
  /* каналы связи разными цветами, как у Авито */
  --ch-phone:#02d15c;  /* «Позвонить» — зелёный successPrimary */
  --ch-msg:#00aaff;    /* «Написать»  — синий accentPrimary   */
  /* бейджи: цвет + бледная подложка */
  --bg-ok:#00ae84;   --bg-ok-s:#e6f7f3;
  --bg-info:#126df7; --bg-info-s:#eaf2fe;
  --bg-warn:#fa5f05; --bg-warn-s:#fff0e0;
}

/* кнопки по шкале Taiga: главная 56px, радиус 12 */
.button{min-height:var(--h-l);border-radius:var(--r-l);padding:0 20px;font-weight:700;
  box-shadow:var(--sh-rest);transition:box-shadow .3s cubic-bezier(.2,0,.4,.9),transform .12s ease}
.button:hover{box-shadow:var(--sh-hover);transform:translateY(-1px);filter:none}
.button.secondary{min-height:var(--h-m);border-radius:var(--r-m);box-shadow:none}
.button.secondary:hover{box-shadow:var(--sh-rest)}

/* карточки: глубина заливкой и обводкой, тень только на наведении */
.profile{box-shadow:none;border:1px solid var(--border);transition:box-shadow .3s cubic-bezier(.2,0,.4,.9)}
.profile:hover{box-shadow:var(--sh-rest)}

/* чипы: выбранное состояние тёмное, а не акцентное — как на Авито */
.chip{border-radius:99px;min-height:var(--h-s)}
.chip:hover{background:var(--background);color:var(--foreground);border-color:var(--foreground)}
.chip.selected,.chip:active{background:#141414;color:#fff;border-color:#141414}

/* бейджи мастера — пара «цвет + подложка» */
.badges span{font-weight:600}
.badges span:nth-child(1){background:var(--bg-ok-s);color:var(--bg-ok)}
.badges span:nth-child(2){background:var(--bg-info-s);color:var(--bg-info)}
.badges span:nth-child(3){background:var(--background);color:var(--muted)}
.badges span:nth-child(4){background:var(--bg-warn-s);color:var(--bg-warn)}

/* два канала связи разными цветами */
.mobile-bar a{background:var(--ch-phone);color:#fff}
.mobile-bar a:hover{filter:brightness(.95)}

/* полупиксельная линия сверху — характерная деталь Авито */
.mobile-bar{border-top:.5px solid rgba(0,16,36,.12);box-shadow:none}

/* ============ ШАПКА: телефон крупно и заметно ============ */
.topbar{height:auto;padding-top:14px;padding-bottom:14px;gap:24px;flex-wrap:wrap}
.head-contact{display:flex;flex-direction:column;gap:2px;margin-left:auto;text-align:right}
.head-status{display:inline-flex;align-items:center;justify-content:flex-end;gap:6px;
  font-size:12px;color:var(--muted)}
.head-status .dot{width:7px;height:7px;border-radius:50%;background:#02d15c;display:inline-block}
.head-phone{display:inline-flex;align-items:center;justify-content:flex-end;gap:9px;
  font-size:clamp(20px,2.6vw,28px);font-weight:800;letter-spacing:-.03em;color:var(--foreground);
  text-decoration:none;line-height:1.1}
.head-phone .i{width:22px;height:22px;color:#02d15c}
.head-phone:hover{color:#02d15c}
.head-note{font-size:11.5px;color:var(--muted)}
.head-cta{background:#02d15c;color:#fff;min-height:48px;padding:0 22px;border-radius:12px;flex:none}
.head-cta:hover{background:#00b253}
.phone-link{display:none!important}

/* ============ ПЕРВЫЙ ЭКРАН С ФОТО ============ */
.hero-grid{display:grid;gap:30px;align-items:center}
@media (min-width:900px){ .hero-grid{grid-template-columns:1.15fr .85fr;gap:48px} }
.hero-photo{margin:0;position:relative}
.hero-photo img{width:100%;height:auto;border-radius:var(--radius);display:block;
  aspect-ratio:4/5;object-fit:cover;box-shadow:0 6px 34px rgba(18,49,43,.14)}
.hero-photo figcaption{position:absolute;left:14px;bottom:14px;right:14px;
  background:rgba(255,255,255,.92);color:var(--foreground);
  border-radius:10px;padding:10px 14px;font-size:13px;font-weight:700;
  backdrop-filter:blur(8px)}
/* На мобильном фото не прячем — показываем шире и ниже, под кнопками.
   Скрывать главный визуал на 80% трафика было ошибкой. */
@media (max-width:899px){
  .hero-photo img{aspect-ratio:16/10}
  .hero-photo figcaption{font-size:12.5px;padding:9px 12px}
}

/* ============ ГАЛЕРЕЯ ЗАПЧАСТЕЙ ============ */
.parts{background:var(--card);border-radius:var(--radius);padding-left:28px;padding-right:28px;
  margin-top:18px;padding-top:28px;padding-bottom:28px}
.parts-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-top:22px}
.parts-grid figure{margin:0;background:var(--background);border-radius:14px;overflow:hidden;
  border:1px solid var(--border);transition:box-shadow .3s cubic-bezier(.2,0,.4,.9)}
.parts-grid figure:hover{box-shadow:var(--sh-rest)}
.parts-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;display:block}
.parts-grid figcaption{padding:12px 14px 14px}
.parts-grid figcaption b{display:block;font-size:15px;margin-bottom:3px}
.parts-grid figcaption span{font-size:12.5px;color:var(--muted);line-height:1.4}

/* ============ ФОТО В БЛОКЕ МАРОК ============ */
.brands-photos{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0}
.brands-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px;display:block}
@media (max-width:700px){ .brands-photos{grid-template-columns:repeat(2,1fr)} }

.credits{font-size:10.5px!important;color:var(--muted);opacity:.75}

@media (max-width:700px){
  .topbar{gap:12px}
  .head-contact{text-align:left;align-items:flex-start;width:100%;margin-left:0}
  .head-status,.head-phone{justify-content:flex-start}
  .head-phone{font-size:24px}
  .head-cta{width:100%}
}

/* ============ ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ ============ */
.reveal{opacity:0;transform:translateY(24px);
  transition:opacity .6s cubic-bezier(.25,0,0,1), transform .6s cubic-bezier(.25,0,0,1)}
.reveal.is-in{opacity:1;transform:none}
.hero-photo{overflow:hidden;border-radius:var(--radius)}
.hero-photo img{will-change:transform}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1!important;transform:none!important;transition:none!important}
  .hero-photo img{transform:none!important}
}

/* порядок в первом экране: на мобильном текст, потом фото */
@media (max-width:899px){
  .hero-grid{display:flex;flex-direction:column}
  .hero-copy{order:1}
  .hero-photo{order:2;margin-top:4px}
}

/* ============ ЛОГОТИП КРУПНО ============ */
.brand{gap:3px}
.brand strong{
  font-size:clamp(26px,3.4vw,38px);
  font-weight:800;
  letter-spacing:-.045em;
  line-height:1;
  color:var(--foreground);
}
.brand span{font-size:12px;letter-spacing:.02em;color:var(--muted)}
.footer .brand strong{font-size:clamp(24px,3vw,32px)}

@media (max-width:700px){
  .brand strong{font-size:30px}
  .brand span{font-size:11.5px}
}

/* ============================================================
   ТЕКУЧАЯ СЕТКА
   Один слой поверх всего. Убирает жёсткие переломы на 700 и 899:
   контейнер, отступы и кегли считаются от ширины экрана через clamp,
   а колонки — через auto-fit + minmax, поэтому блоки сами
   перестраиваются на любой ширине от 320 до 2560, без «прыжков».
   ============================================================ */

:root{
  --gap: clamp(8px, 1.2vw, 14px);
  --pad-x: clamp(16px, 3.5vw, 32px);
  --sec-y: clamp(24px, 4vw, 40px);
  --radius-fluid: clamp(12px, 1.4vw, 20px);
}

/* --- контейнер --- */
.wrap, .topbar, .footer{
  width:100%;
  max-width:1120px;
  margin-inline:auto;
  padding-inline:var(--pad-x);
}

/* --- секции: вертикальные отступы тоже текучие --- */
.booking,.truth,.price,.process,.trust,.brands,.reviews,.lead-form,.faq,.parts{
  padding-block:var(--sec-y);
  padding-inline:var(--pad-x);
  border-radius:var(--radius-fluid);
  margin-top:var(--gap);
}

/* --- первый экран: две колонки только когда реально хватает места --- */
.hero-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap:clamp(20px, 3vw, 48px);
  align-items:center;
}
.hero-copy{min-width:0}
.hero-photo{min-width:0;order:0}
.hero-photo img{aspect-ratio:4/3}
@media (min-width:900px){ .hero-photo img{aspect-ratio:4/5} }

/* --- все карточные сетки: auto-fit, без фиксированных колонок --- */
.parts-grid{grid-template-columns:repeat(auto-fit, minmax(min(220px, 100%), 1fr));gap:var(--gap)}
.steps      {grid-template-columns:repeat(auto-fit, minmax(min(180px, 100%), 1fr));gap:var(--gap)}
.trust-grid {grid-template-columns:repeat(auto-fit, minmax(min(240px, 100%), 1fr));gap:var(--gap)}
.review-grid{grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr));gap:var(--gap)}
.brands-photos{grid-template-columns:repeat(auto-fit, minmax(min(140px, 45%), 1fr));gap:var(--gap)}
.truth      {grid-template-columns:repeat(auto-fit, minmax(min(300px, 100%), 1fr));gap:clamp(18px,2.5vw,40px)}
.lead-form  {grid-template-columns:repeat(auto-fit, minmax(min(320px, 100%), 1fr));gap:clamp(18px,2.5vw,45px)}

/* широкий отзыв растягивается только если колонок больше одной */
.review.featured{grid-column:auto}
@media (min-width:820px){ .review.featured{grid-column:span 2} }

/* --- шапка: перестраивается сама --- */
.topbar{
  display:flex;flex-wrap:wrap;align-items:center;
  gap:clamp(10px, 2vw, 24px);
  padding-block:clamp(10px, 1.6vw, 16px);
  height:auto;
}
.brand{flex:1 1 auto;min-width:min(220px, 100%)}
.head-contact{flex:0 1 auto;margin-left:auto;text-align:right;align-items:flex-end}
.head-cta{flex:0 0 auto}
@media (max-width:820px){
  .head-contact{margin-left:0;text-align:left;align-items:flex-start;flex:1 1 100%}
  .head-status,.head-phone{justify-content:flex-start}
  .head-cta{flex:1 1 100%}
}

/* --- дни и слоты: переносятся, а не режутся --- */
.day-row,.slots{flex-wrap:wrap;overflow:visible;gap:var(--gap)}
.day,.slot{flex:1 1 auto;min-width:min(140px, 100%)}

/* --- чипы и фильтры --- */
.chips,.filter-row{gap:var(--gap)}
.chip{flex:0 1 auto}

/* --- строка симптома: цена не наезжает на текст --- */
.symptom{flex-wrap:wrap;gap:6px 12px}
.symptom span{flex:1 1 min(220px, 100%)}
.symptom strong{margin-left:auto}

/* --- форма записи --- */
.booking-form{flex-wrap:wrap;max-width:none;gap:var(--gap)}
.booking-form .field{flex:1 1 min(240px, 100%)}
.booking-form .button{flex:0 1 auto;min-width:min(200px, 100%)}

/* --- типографика: кегли от ширины экрана --- */
h1{font-size:clamp(28px, 4.4vw, 56px)}
h2{font-size:clamp(21px, 2.6vw, 32px)}
.offer b{font-size:clamp(28px, 4.6vw, 56px)}
.lead{font-size:clamp(15px, 1.4vw, 18px)}
.review-head h2{font-size:clamp(30px, 4vw, 42px)}

/* --- ничего не вылезает за экран --- */
img,video,canvas,table{max-width:100%}
.symptom span b,.symptom span small,.brands p{overflow-wrap:anywhere}

/* --- очень узкие экраны (320) --- */
@media (max-width:360px){
  .day,.slot{min-width:100%}
  .brands-photos{grid-template-columns:1fr 1fr}
}

/* ============ БЛОК «НАШ ПРИНЦИП»: фото вместо пустоты ============ */
.truth-head{display:flex;flex-direction:column;gap:10px}
.truth-photo{margin:8px 0 0;position:relative;border-radius:var(--radius-fluid);overflow:hidden}
.truth-photo img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.truth-photo figcaption{
  position:absolute;left:10px;right:10px;bottom:10px;
  background:rgba(255,255,255,.93);color:var(--foreground);
  border-radius:10px;padding:8px 12px;font-size:12.5px;font-weight:600;line-height:1.35;
}
@media (min-width:900px){ .truth-photo img{aspect-ratio:1} }

/* ============ ЗАПОЛНЕНИЕ ПУСТОТ ============ */
.form-side{display:flex;flex-direction:column;gap:14px}
.form-photo{margin:4px 0 0;border-radius:var(--radius-fluid);overflow:hidden}
.form-photo img{width:100%;height:auto;display:block;aspect-ratio:4/3;object-fit:cover}
.form-facts{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.form-facts li{display:flex;flex-direction:column;gap:2px;padding-left:26px;position:relative}
.form-facts li::before{
  content:"";position:absolute;left:0;top:5px;width:14px;height:8px;
  border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);
  transform:rotate(-45deg)
}
.form-facts b{font-size:15px}
.form-facts span{font-size:12.5px;color:var(--muted)}
.trust-note{margin-top:14px;font-size:13px;color:var(--muted);max-width:70ch}

/* ============ CTA-БАННЕР ПОД ГАЛЕРЕЕЙ ЗАПЧАСТЕЙ ============
   Всегда во всю ширину строки, поэтому дыр не остаётся
   ни при трёх колонках, ни при четырёх. Раскладка горизонтальная:
   текст слева, действие справа. */
.parts-cta{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(min(300px,100%), 1fr));
  align-items:center;
  gap:clamp(16px,2.5vw,36px);
  background:var(--primary);color:var(--primary-foreground);
  border-radius:14px;padding:clamp(18px,2.4vw,28px);
}
.parts-cta__kicker{
  display:block;font-size:11px;font-weight:700;letter-spacing:.13em;
  text-transform:uppercase;color:var(--accent);margin-bottom:8px;
}
.parts-cta__h{font-size:clamp(17px,1.7vw,22px);font-weight:700;line-height:1.28;margin:0 0 8px}
.parts-cta__p{font-size:13.5px;line-height:1.5;opacity:.78;margin:0;max-width:52ch}
.parts-cta__bottom{display:flex;flex-direction:column;gap:8px;justify-self:end;width:100%;max-width:320px}
.parts-cta .button{background:var(--accent);color:var(--accent-foreground);width:100%;box-shadow:none}
.parts-cta .button:hover{filter:brightness(1.05);transform:translateY(-1px)}
.parts-cta__note{font-size:11.5px;opacity:.62;text-align:center}
@media (max-width:660px){ .parts-cta__bottom{justify-self:stretch;max-width:none} }

/* ============================================================
   СЕТКИ БЕЗ СИРОТ
   auto-fit набирал столько колонок, сколько влезет, и остаток
   никогда не делился нацело — получались дыры. Здесь у каждой
   сетки колонки заданы так, чтобы количество карточек делилось
   без остатка на любой ширине.
   ============================================================ */

/* 4 карточки: 1 → 2 → 4, тройки не бывает никогда */
.steps, .trust-grid, .brands-photos{
  grid-template-columns:1fr;
}
@media (min-width:520px){
  .steps, .trust-grid, .brands-photos{grid-template-columns:repeat(2,1fr)}
}
@media (min-width:980px){
  .steps, .trust-grid, .brands-photos{grid-template-columns:repeat(4,1fr)}
}

/* 6 карточек запчастей: 1 → 2 → 3 */
.parts-grid{grid-template-columns:1fr}
@media (min-width:520px){ .parts-grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:900px){ .parts-grid{grid-template-columns:repeat(3,1fr)} }

/* отзывы: 6 обычных + 1 широкий (занимает две ячейки) = 8 ячеек.
   1 → 2 → 4 колонки, всегда ровные ряды */
.review-grid{grid-template-columns:1fr}
@media (min-width:560px){ .review-grid{grid-template-columns:repeat(2,1fr)} }
@media (min-width:1000px){ .review-grid{grid-template-columns:repeat(4,1fr)} }
.review.featured{grid-column:auto}
@media (min-width:560px){ .review.featured{grid-column:span 2} }

/* CTA-баннер всегда во всю строку */
.parts-cta{grid-column:1 / -1}

/* ============================================================
   СЛАЙДЕР ОТЗЫВОВ
   ============================================================ */
.slider{margin-top:22px}
.slider__viewport{
  overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;-ms-overflow-style:none;
  padding-bottom:2px;
}
.slider__viewport::-webkit-scrollbar{display:none}
.slider__track{display:flex;gap:var(--gap);align-items:stretch}
.slider__track .review{
  flex:0 0 clamp(260px, 78vw, 340px);
  scroll-snap-align:start;
  display:flex;flex-direction:column;
  min-height:260px;
}
@media (min-width:760px){ .slider__track .review{flex-basis:calc((100% - var(--gap)) / 2)} }
@media (min-width:1060px){ .slider__track .review{flex-basis:calc((100% - var(--gap) * 2) / 3)} }
.slider__track .review p{flex:1}
.slider__track .review.answer{background:var(--card);border:1px solid var(--border)}

.slider__ui{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:16px}
.slider__dots{display:flex;gap:7px;flex-wrap:wrap}
.slider__dot{
  width:8px;height:8px;padding:0;border:0;border-radius:99px;
  background:var(--border);cursor:pointer;transition:width .25s ease, background .25s ease;
}
.slider__dot.is-on{width:24px;background:var(--accent)}
.slider__arrows{display:flex;gap:8px}
.slider__arrow{
  width:44px;height:44px;display:grid;place-items:center;
  border:1px solid var(--border);background:var(--card);color:var(--foreground);
  border-radius:99px;cursor:pointer;transition:background .2s, border-color .2s, opacity .2s;
}
.slider__arrow:hover:not(:disabled){background:var(--primary);color:var(--primary-foreground);border-color:var(--primary)}
.slider__arrow:disabled{opacity:.3;cursor:default}
.slider__arrow .i{width:20px;height:20px}

/* ============================================================
   ФОРМА ЗАЯВКИ: подписи, группировка, состояния
   ============================================================ */
.lead-form form{display:grid;gap:14px}
.field-row{display:grid;gap:6px}
.field-row > label{font-size:12.5px;font-weight:700;color:var(--muted);letter-spacing:.01em}
.field-row .req{color:var(--accent)}
.field{
  min-height:52px;border:1px solid var(--border);border-radius:12px;
  background:var(--background);color:var(--foreground);padding:0 15px;
  transition:border-color .18s, box-shadow .18s, background .18s;
}
.field:hover{border-color:var(--muted)}
.field:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px #f0a83033;outline:none}
textarea.field{padding:14px 15px;min-height:96px}
select.field{appearance:none;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2363726d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m5 8 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;padding-right:42px}
.consents{background:var(--background);border-radius:12px;padding:14px;gap:10px}
.consents label{font-size:12px;align-items:flex-start}
.consents input{width:18px;height:18px;border-radius:5px}
.lead-form .button{margin-top:2px}
.form-hint{font-size:12px;color:var(--muted);text-align:center;margin-top:-4px}

/* ============================================================
   FAQ: плавное раскрытие
   ============================================================ */
.faq-item{border-top:1px solid var(--border);border-bottom:0}
.faq-item:last-child{border-bottom:1px solid var(--border)}
.faq-item summary{transition:color .18s}
.faq-item summary:hover{color:var(--accent)}
.faq-body{overflow:hidden;height:0;transition:height .32s cubic-bezier(.25,0,0,1)}
.faq-body__inner{padding:0 8px 20px 0;color:var(--muted);font-size:14.5px;line-height:1.6;max-width:70ch}
@media (prefers-reduced-motion: reduce){ .faq-body{transition:none} }
.faq-item summary svg{transition:transform .3s cubic-bezier(.25,0,0,1)}

/* ============ ЛОГОТИП ============ */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}
.brand__mark{width:46px;height:46px;border-radius:12px;flex:none;display:block}
.brand__text{display:flex;flex-direction:column;gap:2px}
.footer .brand__mark{width:40px;height:40px}
@media (max-width:700px){ .brand__mark{width:40px;height:40px} }

/* ============ ИНДИКАТОР «НА СВЯЗИ»: зелёный, пульсирует ============ */
.online{color:#02b254;font-weight:600}
.online::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;
  background:#02d15c;margin-right:6px;vertical-align:1px;
  animation:pulse-dot 1.8s ease-in-out infinite}
@keyframes pulse-dot{
  0%,100%{box-shadow:0 0 0 0 rgba(2,209,92,.45)}
  50%{box-shadow:0 0 0 6px rgba(2,209,92,0)}
}
@media (prefers-reduced-motion: reduce){ .online::before{animation:none} }

/* ============ ЛЕНТА ДАТ И ОКОН: аккуратные карточки ============ */
.day-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity;padding:4px}
.day-row::-webkit-scrollbar{display:none}
.day{
  flex:0 0 auto;min-width:118px;scroll-snap-align:start;position:relative;
  border-radius:14px;padding:12px 16px;cursor:pointer;
  transition:border-color .18s, background .18s, transform .12s;
}
.day:hover{border-color:var(--foreground)}
.day:active{transform:scale(.97)}
.day--we span{color:var(--accent)}
.day.active.day--we span{color:#ffd79a}
.day__sale{
  position:absolute;top:-8px;right:10px;font-style:normal;
  background:var(--accent);color:var(--accent-foreground);
  font-size:10.5px;font-weight:800;padding:1px 7px;border-radius:99px;
}
.day.active .day__sale{outline:2px solid var(--card)}
.slots{padding:4px}
.slot{
  border-radius:14px;cursor:pointer;
  transition:border-color .18s, background .18s, transform .12s;
}
.slot:hover:not(:disabled){border-color:var(--foreground)}
.slot:active:not(:disabled){transform:scale(.97)}
.slot--gone{opacity:.38;cursor:not-allowed;text-decoration:line-through}
.slot--gone .slot__load{text-decoration:none}

/* ============ ПРИНЦИПЫ: спокойный чек-лист + разбор случая ============ */
.truth-list{display:flex;flex-direction:column;margin-top:4px}
.truth-list .truth-row{display:flex;gap:12px;align-items:flex-start;padding:13px 2px;
  border-bottom:1px solid var(--border);font-size:15px;line-height:1.5;transition:padding-left .25s}
.truth-list .truth-row:last-of-type{border-bottom:0}
@media (hover:hover){.truth-list .truth-row:hover{padding-left:10px}}
.tick{flex:none;width:22px;height:22px;display:grid;place-items:center;margin-top:1px}
.tick svg{width:20px;height:20px;fill:none;stroke:var(--accent);stroke-width:2.5;
  stroke-linecap:round;stroke-linejoin:round}
.tick__path{stroke-dasharray:22;stroke-dashoffset:22;transition:stroke-dashoffset .55s cubic-bezier(.25,0,0,1) .15s}
.truth-row.is-in .tick__path,.truth-row:not(.reveal) .tick__path{stroke-dashoffset:0}
@media (hover:hover){.truth-list .truth-row:hover .tick__path{stroke-dashoffset:22;animation:redraw .45s cubic-bezier(.25,0,0,1) forwards}}
@keyframes redraw{to{stroke-dashoffset:0}}
/* разбор случая: было — причина — стало */
.truth-list .truth-case{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:18px;
  background:var(--background);border-radius:14px;padding:16px 18px}
.truth-case__step{flex:1 1 150px;display:flex;flex-direction:column;gap:1px}
.truth-case__step small{color:var(--muted);font-size:11px}
.truth-case__step b{font-size:19px}
.truth-case__step i{font-style:normal;font-size:11.5px;color:var(--muted)}
.truth-case__step--bad b{color:#b3261e;text-decoration:line-through;text-decoration-thickness:2px}
.truth-case__step--good b{color:#0a7d43}
.truth-case__arr{flex:none;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
@media (max-width:640px){.truth-case__arr{display:none}}
@media (prefers-reduced-motion: reduce){.tick__path{stroke-dashoffset:0;transition:none}}

/* ============ ТЕКСТ ПО КАРТИНКЕ: композиция вместо подписи ============ */
.photo-scene{position:relative;overflow:hidden;border-radius:var(--radius-fluid)}
.photo-scene::after{ /* затемнение снизу, чтобы текст читался на любом фото */
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top, rgba(10,26,22,.72) 0%, rgba(10,26,22,.25) 38%, transparent 62%);
  pointer-events:none;
}
.photo-scene img{display:block;width:100%;height:auto;object-fit:cover}
.photo-tag{
  position:absolute;z-index:2;
  font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;
  background:rgba(255,255,255,.92);color:var(--primary, #12312b);
  border-radius:99px;padding:6px 13px;
  transform:rotate(-2deg);
}
.photo-tag--tl{top:14px;left:14px}
.photo-tag--tr{top:20px;right:14px;transform:rotate(2.5deg);background:var(--accent);color:var(--accent-foreground,#12312b)}
.photo-big{
  position:absolute;z-index:2;left:18px;bottom:44px;
  font-weight:800;line-height:.98;letter-spacing:-.03em;
  font-size:clamp(26px,3.2vw,40px);color:#fff;
  text-wrap:balance;
}
.photo-sub{
  position:absolute;z-index:2;left:19px;bottom:18px;
  font-size:13px;font-weight:600;color:rgba(255,255,255,.82);
}
/* у героя подпись чуть крупнее */
.hero-photo .photo-big{font-size:clamp(30px,3.6vw,46px)}

/* ============ ВАУ-СЛОЙ ============ */
.hero{position:relative}
.hero-bubbles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0}
.hero .wrap, .hero > *:not(.hero-bubbles){position:relative;z-index:1}

/* пульс главной кнопки звонка — мягкий, раз в 2.6с */
.head-cta{animation:cta-pulse 2.6s ease-in-out infinite}
@keyframes cta-pulse{
  0%,100%{box-shadow:0 0 0 0 rgba(2,209,92,.35)}
  45%{box-shadow:0 0 0 10px rgba(2,209,92,0)}
}
@media (prefers-reduced-motion: reduce){ .head-cta{animation:none} }

/* бегущая строка марок */
.marquee{overflow:hidden;margin:20px 0 6px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee__track{display:inline-flex;align-items:center;gap:22px;white-space:nowrap;
  animation:marquee 36s linear infinite;will-change:transform}
.marquee__track span{font-weight:800;font-size:clamp(19px,2.2vw,27px);letter-spacing:-.02em;color:var(--foreground);opacity:.82}
.marquee__track i{font-style:normal;color:var(--accent);font-weight:800}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
@media (prefers-reduced-motion: reduce){
  .marquee__track{animation:none;white-space:normal;flex-wrap:wrap}
}

/* ============ ЗОНЫ НАЖАТИЯ ≥44px ============ */
.head-phone{padding:7px 0;min-height:44px;align-items:center}
.slider__dot{position:relative}
.slider__dot::after{ /* невидимая тач-область вокруг точки */
  content:"";position:absolute;inset:-16px;
}
.online{display:inline-flex;align-items:center}

/* ============ РОТАТОР СЛОВА В ЗАГОЛОВКЕ ============
   Полный текст остаётся в sr-only — SEO и скринридеры видят всё,
   анимация чисто визуальная. Слово выезжает снизу с лёгким наклоном. */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.rotator{display:inline-grid;overflow:hidden;vertical-align:bottom;color:var(--accent)}
.rotator__word{
  grid-area:1/1;white-space:nowrap;
  opacity:0;transform:translateY(105%) rotate(3deg);
  transition:transform .55s cubic-bezier(.25,0,0,1), opacity .35s ease;
  transform-origin:0 100%;
}
.rotator__word.is-current{opacity:1;transform:none}
.rotator__word.is-leaving{opacity:0;transform:translateY(-105%) rotate(-3deg)}
@media (prefers-reduced-motion: reduce){
  .rotator__word{transition:none}
  .rotator__word.is-leaving{display:none}
}

/* точки слайдера: визуально маленькие, зона нажатия 24px реальная */
.slider__dot{width:24px;height:24px;background:transparent;display:grid;place-items:center}
.slider__dot::before{content:"";width:8px;height:8px;border-radius:99px;background:var(--border);transition:width .25s,background .25s}
.slider__dot.is-on::before{width:24px;background:var(--accent)}
.slider__dot::after{display:none}
.consents input{width:22px;height:22px}

/* печатающееся слово + курсор */
.typer{color:var(--accent);white-space:nowrap}
.typer__caret{display:inline-block;width:3px;height:.92em;margin-left:3px;vertical-align:-.08em;
  background:var(--accent);animation:caret 1.05s steps(1) infinite}
@keyframes caret{50%{opacity:0}}
@media (prefers-reduced-motion: reduce){ .typer__caret{display:none} }
/* старый ротатор больше не используется */
.rotator{display:none}

/* ============ ЛОГОТИП: верхний регистр, без переносов ============ */
.brand{flex-direction:row!important;align-items:center;text-align:left}
.brand__text strong{
  text-transform:uppercase;white-space:nowrap;
  font-size:clamp(20px,2.4vw,30px);letter-spacing:-.02em;
}
.brand__text span{text-transform:none}
.footer .brand{justify-content:flex-start}
@media (max-width:700px){ .brand__text strong{font-size:20px} }

/* ============ МЕТРИКИ: карточки с иконками ============ */
.stats--cards{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap);border:0;padding:0}
@media (max-width:560px){ .stats--cards{grid-template-columns:1fr 1fr}
  .stats--cards .stat:first-child{grid-column:1 / -1} }
.stat{
  display:flex;flex-direction:column;gap:3px;position:relative;
  background:var(--card);border:1px solid var(--border);border-radius:14px;
  padding:14px 16px 13px;
  transition:transform .22s cubic-bezier(.25,0,0,1), box-shadow .22s, border-color .22s;
}
.stat:hover{transform:translateY(-3px);box-shadow:var(--sh-rest);border-color:var(--accent)}
.stat__ic{
  width:34px;height:34px;border-radius:10px;display:grid;place-items:center;margin-bottom:6px;
}
.stat__ic svg{width:19px;height:19px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.stat__ic--star{background:#fdf0da}
.stat__ic--star svg{fill:#F0A830;stroke:#F0A830;stroke-width:1}
.stat__ic--shield{background:#e6f7f3}
.stat__ic--shield svg{stroke:#00ae84}
.stat__ic--clock{background:#eaf2fe}
.stat__ic--clock svg{stroke:#126df7}
.stat b{font-size:clamp(19px,1.8vw,24px);letter-spacing:-.02em;line-height:1;display:flex;align-items:baseline;gap:8px}
.stat__stars{font-style:normal;font-size:12px;color:#F0A830;letter-spacing:2px}
.stat > span{font-size:12.5px;color:var(--muted);line-height:1.35}

/* статус «закрыто» */
.dot--off{background:#c0c8c4;animation:none}
.online--off{color:var(--muted)}
.online--off::before{background:#c0c8c4;animation:none}
.closed-note{
  background:var(--accent-soft,#fdf0da);color:var(--foreground);
  border-radius:12px;padding:11px 15px;font-size:13.5px;margin-bottom:16px;
}

/* появление мягче и быстрее: меньше сдвиг, короче длительность */
.reveal{transform:translateY(14px);
  transition:opacity .45s cubic-bezier(.25,0,0,1), transform .45s cubic-bezier(.25,0,0,1)}


/* ============ МАРКЕР В ЗАГОЛОВКАХ ============ */
.hl{font-style:normal;background-image:linear-gradient(100deg,#f0a83066,#f0a8303d);
  background-repeat:no-repeat;background-size:100% 44%;background-position:0 86%;
  padding:0 .06em;border-radius:3px;
  transition:background-size .8s cubic-bezier(.25,0,0,1) .35s}
.reveal:not(.is-in) .hl{background-size:0% 44%}

/* ============ ПРАЙС: раскрывающиеся строки с вилкой ============ */
.symptoms .symptom{display:block;width:100%;padding:0;border-bottom:1px solid var(--border)}
.symptoms .symptom:hover{background:transparent;padding-left:0}
.symptom__head{display:grid;grid-template-columns:1fr auto auto;align-items:center;
  column-gap:12px;row-gap:9px;width:100%;min-height:52px;padding:14px 4px;
  border:0;background:transparent;color:var(--foreground);font:inherit;text-align:left;cursor:pointer;
  transition:padding .25s;border-radius:12px}
/* шкала-вилка видна сразу, без раскрытия */
.symptom .range{display:block;grid-column:1 / -1;flex:none}
.symptom__head:hover{padding-left:10px}
.symptom__head strong{white-space:nowrap;font-size:14px;transition:color .2s}
.symptom__head:hover strong{color:#9b6b15}
.symptom__chev{flex:none;color:var(--muted);transition:transform .3s cubic-bezier(.25,0,0,1)}
.symptom.open .symptom__chev{transform:rotate(180deg)}
.symptoms .symptom.open{background:var(--background);border-radius:12px;border-bottom-color:transparent}
.symptom.open .symptom__head{padding-left:12px;padding-right:12px}
.symptom__more{display:grid;grid-template-rows:0fr;transition:grid-template-rows .4s cubic-bezier(.25,0,0,1)}
.symptom.open .symptom__more{grid-template-rows:1fr}
.symptom__more-in{overflow:hidden;min-height:0;display:flex;flex-direction:column;gap:9px;
  padding:0 12px;transition:padding .4s cubic-bezier(.25,0,0,1)}
.symptom.open .symptom__more-in{padding-top:2px;padding-bottom:14px}
.range{position:relative;height:8px;border-radius:99px;background:var(--border);overflow:hidden}
.range i{position:absolute;top:0;bottom:0;border-radius:99px;
  background:linear-gradient(90deg,#02d15c,var(--accent));
  transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.25,0,0,1) .15s}
.symptom.is-in .range i,.symptom:not(.reveal) .range i{transform:scaleX(1)}
.range-labels{display:flex;justify-content:space-between;gap:10px}
.range-labels small{color:var(--muted);font-size:11px}
.symptom__chips{display:flex;flex-wrap:wrap;gap:6px}
.symptom__chips em{font-style:normal;font-size:11px;font-weight:700;
  background:var(--card);border:1px solid var(--border);border-radius:99px;padding:4px 10px}
.symptom__more .button.small{align-self:flex-start;min-height:44px;padding:0 16px;font-size:13px}
@media (prefers-reduced-motion: reduce){
  .symptom__more,.symptom__more-in,.range i,.symptom__chev{transition:none}
}

/* ============ ШАГИ: таймлайн вместо пустых карточек ============ */
.steps .step{background:transparent;border-radius:0;padding:0 6px 0 0;gap:7px;position:relative}
.steps .step > span{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;
  background:var(--card);border:2px solid var(--accent);color:var(--accent);font-weight:800;
  position:relative;z-index:1;
  transition:background .45s,color .45s,transform .35s cubic-bezier(.34,1.56,.64,1)}
.steps .step.is-in > span,.steps .step:not(.reveal) > span{background:var(--accent);color:var(--accent-foreground,#fff)}
@media (hover:hover){.steps .step:hover > span{transform:scale(1.12)}}
.steps .step b{font-size:15px}
@media (min-width:900px){
  .steps .step:not(:last-child)::before,.steps .step:not(:last-child)::after{
    content:'';position:absolute;top:21px;left:52px;right:calc(-1 * var(--gap, 10px));height:2px}
  .steps .step:not(:last-child)::before{background:var(--border)}
  .steps .step:not(:last-child)::after{background:var(--accent);
    transform:scaleX(0);transform-origin:left;transition:transform .6s cubic-bezier(.25,0,0,1) .25s}
  .steps .step.is-in:not(:last-child)::after,.steps .step:not(.reveal):not(:last-child)::after{transform:scaleX(1)}
}

/* ============ ПРЕИМУЩЕСТВА: свои иконки, живые карточки ============ */
.trust-ico{width:44px;height:44px;border-radius:12px;background:#fdf0da;display:grid;place-items:center;
  transition:background .3s,transform .3s}
.trust-ico svg{width:22px;height:22px;color:var(--accent);transition:color .3s}
.trust-card{transition:transform .3s cubic-bezier(.25,0,0,1),box-shadow .3s}
@media (hover:hover){
  .trust-card:hover{transform:translateY(-4px);box-shadow:var(--sh-rest)}
  .trust-card:hover .trust-ico{background:var(--accent);transform:rotate(-6deg)}
  .trust-card:hover .trust-ico svg{color:#fff}
}

/* ============ ФОТО: мягкий зум при наведении ============ */
.parts-grid figure{overflow:hidden}
.parts-grid figure img,.brands-photos img{transition:transform .55s cubic-bezier(.25,0,0,1)}
@media (hover:hover){
  .parts-grid figure:hover img{transform:scale(1.05)}
  .brands-photos img:hover{transform:scale(1.04)}
}

/* ============ ОТЗЫВ С ОТВЕТОМ: в цвет остальных, ответ сворачивается ============ */
.slider__track .review.answer{background:var(--background);border:0}
.master-answer{border-top:1px solid var(--border);margin-top:14px;padding-top:2px}
.master-answer__toggle{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:6px 0;
  border:0;background:none;font:inherit;font-size:12.5px;font-weight:800;color:#9b6b15;cursor:pointer}
.master-answer__toggle svg{width:16px;height:16px;margin-left:auto;transition:transform .3s}
.master-answer.open .master-answer__toggle svg{transform:rotate(180deg)}
.answer-body{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.25,0,0,1)}
.master-answer.open .answer-body{grid-template-rows:1fr}
.answer-body__inner{overflow:hidden;min-height:0}
.answer-body__inner p{font-size:13px;margin:4px 0 2px;border-left:3px solid var(--accent);padding-left:10px}

/* ============ ФОРМА: факты плавают на фото ============ */
.form-photo{position:relative}
.float-chip{position:absolute;z-index:1;border-radius:12px;padding:9px 13px;
  box-shadow:0 6px 24px #12312b2e;display:flex;flex-direction:column;gap:1px}
.float-chip b{font-size:16px}
.float-chip small{font-size:11px}
/* три разных: зелёный акцент, светлое стекло, тёмное стекло */
.float-chip--1{left:14px;top:14px;background:#02d15c;color:#fff}
.float-chip--1 small{color:#ffffffd9}
.float-chip--2{right:14px;top:40%;background:#ffffffb8;color:var(--foreground);
  backdrop-filter:blur(10px) saturate(1.3);-webkit-backdrop-filter:blur(10px) saturate(1.3);
  border:1px solid #ffffff80}
.float-chip--2 small{color:var(--muted)}
.float-chip--3{left:14px;bottom:14px;background:#12312bb3;color:#fff;
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid #ffffff2e}
.float-chip--3 small{color:#ffffffc4}
@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion: no-preference){
  .float-chip{animation:floaty 5.5s ease-in-out infinite}
  .float-chip--2{animation-delay:1.4s}
  .float-chip--3{animation-delay:2.8s}
}
.form-note{color:var(--muted);font-size:13px;margin-top:10px}


/* ============ ЛОГОТИП: словесный знак, «СЕГОДНЯ» — шильдик с «О»-часами ============ */
.brand__mark{display:none}
.brand .brand__text{display:flex;flex-direction:column;gap:3px}
.brand .brand__row{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:21px}
.brand .brand__row strong{font-size:inherit;font-weight:800;letter-spacing:-.01em;
  text-transform:uppercase;color:var(--foreground);line-height:1}
.brand .brand__badge{display:inline-flex;align-items:center;line-height:1;font-size:.8em;
  font-weight:800;letter-spacing:.03em;text-transform:uppercase;
  background:var(--accent);color:var(--accent-foreground);
  padding:5px 8px 4px;border-radius:9px;transform:rotate(-2deg);
  box-shadow:0 3px 10px #f0a83052;
  transition:transform .35s cubic-bezier(.34,1.56,.64,1)}
.brand:hover .brand__badge{transform:rotate(0deg) translateY(-1px)}
.brand__o{width:.95em;height:.95em;margin:0 .05em;flex:none;
  fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
.brand .brand__sub{font-size:11.5px;color:var(--muted);letter-spacing:.02em;text-transform:none}
.footer .brand .brand__row{font-size:clamp(22px,2.6vw,26px)}
@media (max-width:700px){ .brand .brand__row{font-size:18px} }
@media (prefers-reduced-motion: reduce){ .brand .brand__badge{transform:none;transition:none} }

/* ============ ЮРИДИЧЕСКИЕ СТРАНИЦЫ ============ */
.legal{max-width:800px;background:var(--card);border-radius:var(--radius);padding:34px 28px;margin-top:18px}
.legal h1{font-size:clamp(24px,3.5vw,34px);margin-bottom:10px}
.legal h2{font-size:19px;margin:26px 0 8px}
.legal p,.legal li{font-size:14.5px;line-height:1.65}
.legal ul{padding-left:22px;margin:8px 0}
.legal a{color:#9b6b15;font-weight:600}
@media (max-width:700px){ .legal{padding:22px 16px} }


/* ============ SEO-СТАТЬИ ============ */
.seo-art .crumbs{font-size:12.5px;color:var(--muted);margin-bottom:10px}
.seo-art .crumbs a{color:var(--muted)}
.seo-art h1{font-size:clamp(26px,4vw,38px);line-height:1.12;margin-bottom:10px}
.art-price{background:var(--background);border-radius:12px;padding:12px 16px;font-size:14.5px;margin:12px 0 16px}
.art-intro{font-size:16.5px;line-height:1.6}
.art-causes{width:100%;border-collapse:collapse;margin:10px 0}
.art-causes td{padding:11px 8px;border-bottom:1px solid var(--border);font-size:14.5px;vertical-align:top}
.art-causes .art-p{white-space:nowrap;font-weight:800;text-align:right}
.seo-art h3{font-size:16px;margin:16px 0 6px}
.art-cta{display:flex;flex-direction:column;gap:9px;background:var(--primary);color:#fff;border-radius:16px;padding:22px;margin:26px 0}
.art-cta b{font-size:19px}
.art-cta span{font-size:14px;opacity:.92}
.art-cta__btns{display:flex;gap:10px;flex-wrap:wrap;margin-top:4px}
.art-cta .button.secondary{background:#ffffff22;color:#fff}
.art-links{margin-top:22px;font-size:13.5px;color:var(--muted)}

.art-codes .art-code{white-space:nowrap;font-size:15px;width:110px}
.hub-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:8px;margin:10px 0}
.hub-list a{display:block;background:var(--background);border-radius:12px;padding:13px 16px;font-weight:700;color:var(--foreground);text-decoration:none;transition:transform .2s}
.hub-list a:hover{transform:translateY(-2px)}

.art-photo{margin:14px 0}
.art-photo img{width:100%;max-height:340px;object-fit:cover;border-radius:14px;display:block}
.art-city{color:var(--muted);font-weight:600}
