/* ВЕКТОР — «Панель». Светлый корпоративный дэшборд: сетка, данные, синий. Bespoke. */
@import url('assets/fonts.css');

:root {
  --bg: #eef4fb;
  --surface: #ffffff;
  --ink: #0a2540;
  --muted: #55708f;
  --accent: #0077ff;
  --accent-2: #0050aa;
  --line: #d7e3f2;
  --line-strong: #b9cde6;
  --font: 'Barlow', system-ui, sans-serif;
  --shell: 1200px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16.5px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.015em; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700;
  color: var(--accent); margin: 0 0 12px;
}
.section-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
.section-head__lead { color: var(--muted); font-size: 1.04rem; margin: 14px 0 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 8px; font-family: var(--font); font-weight: 600;
  font-size: .92rem; cursor: pointer; border: 1.5px solid transparent; transition: all .2s ease;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(0,119,255,.28); }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent-2); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { padding: 9px 16px; font-size: .82rem; border-radius: 7px; }
.btn--block { width: 100%; }

/* TOPBAR */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(238,244,251,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar__inner { max-width: var(--shell); margin: 0 auto; padding: 14px clamp(18px,4vw,40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand__mark { color: var(--accent); }
.topnav { display: flex; gap: 26px; }
.topnav a { font-size: .88rem; font-weight: 600; color: var(--muted); transition: color .2s; }
.topnav a:hover { color: var(--accent); }
.topbar__cta { padding: 10px 20px; background: var(--accent); color: #fff; border-radius: 8px; font-size: .84rem; font-weight: 600; transition: background .2s; }
.topbar__cta:hover { background: var(--accent-2); }

/* HERO */
.hero { max-width: var(--shell); margin: 0 auto; padding: clamp(40px,7vw,80px) clamp(18px,4vw,40px); }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
.badge { display: inline-block; background: rgba(0,119,255,.1); color: var(--accent-2); font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; margin: 0 0 22px; }
.hero__copy h1 { font-size: clamp(2.2rem, 4.8vw, 3.8rem); line-height: 1.04; font-weight: 800; }
.hero__copy h1 span { color: var(--accent); }
.hero__lead { color: var(--muted); font-size: 1.1rem; max-width: 460px; margin: 22px 0 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* PANEL — dashboard card */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(10,37,64,.08); overflow: hidden; }
.panel__head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: .86rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.panel__dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.kpi { display: grid; grid-template-columns: 1fr 1fr; }
.kpi__cell { padding: 22px; border-bottom: 1px solid var(--line); }
.kpi__cell:nth-child(odd) { border-right: 1px solid var(--line); }
.kpi__cell strong { display: block; font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.kpi__cell span { color: var(--muted); font-size: .86rem; }
.kpi__cell--accent { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; }
.kpi__cell--accent span { color: rgba(255,255,255,.85); }

/* generic section wrapper */
.services, .fleet, .process, .lead { max-width: var(--shell); margin: 0 auto; padding: clamp(48px,6vw,76px) clamp(18px,4vw,40px); }

/* SERVICES tabs */
.tabs { display: inline-flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; margin: 0 auto 28px; display: flex; justify-content: center; max-width: 560px; }
.tab { flex: 1; padding: 12px 18px; border: none; background: transparent; border-radius: 8px; font-family: var(--font); font-weight: 700; font-size: .86rem; color: var(--muted); cursor: pointer; transition: all .2s; }
.tab.is-active { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(0,119,255,.25); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fade .3s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tab-panel__lead { text-align: center; color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 30px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,37,64,.1); border-color: var(--line-strong); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.card--cta { background: linear-gradient(160deg, #f2f8ff, var(--surface)); border-color: var(--line-strong); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.card--cta .btn { margin-top: auto; }

/* FLEET table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 18px 50px rgba(10,37,64,.06); }
.fleet-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.fleet-table thead th { text-align: left; padding: 16px 22px; font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid var(--line); background: #f6faff; }
.fleet-table tbody td { padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.fleet-table tbody tr:last-child td { border-bottom: none; }
.fleet-table tbody tr:hover { background: #f6faff; }
.fleet-table__car { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 1.05rem; }
.fleet-table__car img { width: 84px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.fleet-table__price { font-weight: 700; color: var(--accent-2); white-space: nowrap; }

/* PROCESS stepper */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 12px; }
.stepper__line { position: absolute; top: 22px; left: 12%; right: 12%; height: 2px; background: var(--line-strong); z-index: 0; }
.stepper__item { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.stepper__no { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; box-shadow: 0 8px 18px rgba(0,119,255,.3); border: 4px solid var(--bg); }
.stepper__item h3 { font-size: 1.15rem; margin-bottom: 6px; }
.stepper__item p { color: var(--muted); margin: 0; font-size: .92rem; }

/* LEAD */
.lead__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: start; }
.lead__aside { position: sticky; top: 90px; }
.lead__aside h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.1; }
.lead__mail { display: inline-block; margin-top: 18px; color: var(--accent-2); font-weight: 700; border-bottom: 1px solid var(--accent); }
.lead__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.lead__points li { position: relative; padding-left: 26px; color: var(--muted); }
.lead__points li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }
.lead__form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; box-shadow: 0 18px 50px rgba(10,37,64,.07); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.field input, .field select, .field textarea { background: #f7fafe; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); padding: 12px 13px; font-family: var(--font); font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,119,255,.12); background: #fff; }
.field textarea { resize: vertical; }
.form-message { grid-column: 1 / -1; margin: 0; font-size: .9rem; }
.form-message.is-error { color: #d33; }
.form-message.is-success { color: #16a34a; }
.mail-link { grid-column: 1 / -1; color: var(--accent-2); font-weight: 700; }
.is-hidden { display: none; }

/* REQUISITES */
.requisites { max-width: var(--shell); margin: 0 auto; padding: 10px clamp(18px,4vw,40px) 60px; }
.requisites details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 24px; }
.requisites summary { cursor: pointer; padding: 18px 0; font-weight: 700; }
.req-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; padding: 8px 0 24px; }
.req-grid div { display: flex; flex-direction: column; gap: 4px; }
.req-grid span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.req-grid strong { font-size: .93rem; font-weight: 500; }

/* FOOTER */
.footer { background: var(--ink); color: #cfe0f3; }
.footer__inner { max-width: var(--shell); margin: 0 auto; padding: 46px clamp(18px,4vw,40px); display: grid; gap: 20px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.4rem; color: #fff; }
.footer__brand svg { color: var(--accent); }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a { color: #a9c3e0; font-size: .9rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer p { color: #7d9bbd; font-size: .85rem; margin: 0; }
.footer p a { color: #a9c3e0; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tab-panel.is-active { animation: none; } }

/* RESPONSIVE */
@media (max-width: 920px) {
  .topnav { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .lead__grid { grid-template-columns: 1fr; gap: 30px; }
  .lead__aside { position: static; }
  .stepper { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .stepper__line { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .topbar__cta { display: none; }
  .kpi { grid-template-columns: 1fr; }
  .kpi__cell:nth-child(odd) { border-right: none; }
  .lead__form { grid-template-columns: 1fr; padding: 22px; }
  .req-grid { grid-template-columns: 1fr; }
  .stepper { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; }
}


/* === Этап 1: фундамент (авто-добавлено) === */
img { height: auto; }
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 999;
  padding: 10px 18px; background: #111; color: #fff; border-radius: 6px;
  font-size: .9rem; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }

/* === Этап 2: функциональность === */

/* новые секции — та же сетка, что и у остальных */
.calc, .faq { max-width: var(--shell); margin: 0 auto; padding: clamp(48px,6vw,76px) clamp(18px,4vw,40px); }

/* 1. Лайтбокс автопарка */
.fleet-photo { padding: 0; border: none; background: none; cursor: zoom-in; display: block; border-radius: 8px; flex: none; }
.fleet-photo img { transition: transform .2s ease, box-shadow .2s ease; }
.fleet-photo:hover img { transform: scale(1.04); box-shadow: 0 10px 22px rgba(10,37,64,.18); }
.lightbox { position: fixed; inset: 0; z-index: 60; background: rgba(10,37,64,.55); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.lightbox[hidden] { display: none; }
.lightbox__dialog { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: auto; max-width: 620px; width: 100%; max-height: 92vh; box-shadow: 0 32px 80px rgba(10,37,64,.35); animation: lb-in .22s ease; }
@keyframes lb-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.lightbox__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 20px; background: var(--accent); color: #fff; }
.lightbox__title { font-weight: 800; font-size: 1.08rem; letter-spacing: .01em; }
.lightbox__close { flex: none; width: 34px; height: 34px; border: none; border-radius: 8px; background: rgba(255,255,255,.18); color: #fff; font-size: 1rem; font-family: var(--font); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.lightbox__close:hover { background: rgba(255,255,255,.32); }
.lightbox__img { width: 100%; height: auto; display: block; }
.lightbox__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.lightbox__meta div { display: flex; flex-direction: column; gap: 4px; }
.lightbox__meta span { font-size: .72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.lightbox__meta strong { font-size: 1rem; font-weight: 700; }
.lightbox__meta .lightbox__price { color: var(--accent-2); }
.lightbox__cta { margin: 18px 20px 20px; }
body.lightbox-open { overflow: hidden; }

/* 2. Мобильная CTA-планка */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: 10px clamp(14px,4vw,24px) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); }
.sticky-cta .btn { width: 100%; }
@media (max-width: 900px) {
  .sticky-cta { display: block; }
  .sticky-cta.is-hidden-cta { display: none; }
  body.has-sticky-cta { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
}

/* 3. Калькулятор аренды — виджет-панель */
.calc__panel { max-width: 700px; margin: 0 auto; }
.calc__body { padding: 24px; display: grid; gap: 20px; }
.calc__controls { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.calc__stepper { display: flex; align-items: stretch; gap: 8px; }
.calc__step { flex: none; width: 46px; border: 1.5px solid var(--line-strong); background: #f7fafe; border-radius: 8px; font-family: var(--font); font-weight: 700; font-size: 1.2rem; color: var(--accent-2); cursor: pointer; transition: border-color .2s, color .2s; }
.calc__step:hover { border-color: var(--accent); color: var(--accent); }
.calc__stepper input { flex: 1; min-width: 0; text-align: center; background: #f7fafe; border: 1.5px solid var(--line); border-radius: 8px; color: var(--ink); font-family: var(--font); font-weight: 600; font-size: 1rem; padding: 12px 6px; -moz-appearance: textfield; appearance: textfield; }
.calc__stepper input::-webkit-outer-spin-button, .calc__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__stepper input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,119,255,.12); background: #fff; }
.calc__total { background: linear-gradient(160deg, #f2f8ff, var(--surface)); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: grid; gap: 4px; }
.calc__total span { font-size: .76rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.calc__total strong { font-size: clamp(1.9rem, 4.6vw, 2.6rem); font-weight: 800; color: var(--accent); line-height: 1.1; white-space: nowrap; }
.calc__total em { font-style: normal; color: var(--muted); font-size: .82rem; }
@media (max-width: 560px) { .calc__controls { grid-template-columns: 1fr; } }

/* 4. FAQ — карточки в стиле дэшборда */
.faq__list { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: 0 14px 34px rgba(10,37,64,.08); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 700; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 7px; border: 1.5px solid var(--line-strong); color: var(--accent-2); display: flex; align-items: center; justify-content: center; font-weight: 700; line-height: 1; transition: background .2s, color .2s, border-color .2s; }
.faq__item[open] summary::after { content: "−"; background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__item p { color: var(--muted); margin: 0 0 20px; }

/* 5. Печать реквизитов */
.req-print { margin: 0 0 24px; }
@media print {
  body.print-requisites .topbar,
  body.print-requisites .footer,
  body.print-requisites .sticky-cta,
  body.print-requisites .lightbox,
  body.print-requisites .req-print,
  body.print-requisites main > section:not(.requisites) { display: none !important; }
  body.print-requisites { background: #fff; color: #000; padding: 0 !important; }
  body.print-requisites .requisites { max-width: none; padding: 0; }
  body.print-requisites .requisites details { border: none; box-shadow: none; background: #fff; padding: 0; border-radius: 0; }
  body.print-requisites .requisites summary { list-style: none; color: #000; font-size: 1.25rem; padding: 0 0 14px; }
  body.print-requisites .req-grid { grid-template-columns: 1fr; gap: 10px; padding: 0; }
  body.print-requisites .req-grid span { color: #444; }
  body.print-requisites .req-grid strong { color: #000; }
}

/* Этап 2 — уважение reduced motion */
@media (prefers-reduced-motion: reduce) {
  .lightbox__dialog { animation: none; }
  .fleet-photo img, .fleet-photo:hover img { transition: none; transform: none; }
  .calc__step, .lightbox__close, .faq__item, .faq__item summary::after { transition: none; }
}


/* === Этап 3: тонировка фото и микро-детали === */
#fleet img, .dashlb__img, .car-modal__img, .lightbox__img {
  filter: saturate(1.05) contrast(1.03);
}
::selection { background: #0077ff; color: #fff; }
html { scrollbar-color: #0077ff #dbe7f5; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: #dbe7f5; }
::-webkit-scrollbar-thumb { background: #0077ff; border-radius: 6px; border: 2px solid #dbe7f5; }

/* === Этап 3: wow === */

.panel__dot { position: relative; }
.panel__dot::after { content:""; position:absolute; inset:-3px; border-radius:50%; border:2px solid rgba(34,197,94,.55);
  animation: gwPing 2.2s ease-out infinite; }
@keyframes gwPing { 0% { transform: scale(.6); opacity:1; } 100% { transform: scale(2.4); opacity:0; } }
@media (prefers-reduced-motion: reduce) { .panel__dot::after { animation:none; display:none; } }


/* === Этап 4: отзывы === */
.dashrev { padding: clamp(48px,6vw,76px) clamp(18px,4vw,48px); }
.dashrev__wrap { max-width: 1200px; margin: 0 auto; }
.dashrev__title { margin: 0 0 30px; }
.dashrev__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.dashrev__item { margin: 0; padding: 24px 24px 20px; border-left: 3px solid #0077ff; position: relative; }
.dashrev__item::before { content: "\201C"; position: absolute; top: 6px; right: 16px; font-size: 3rem; line-height: 1; color: #0077ff; opacity: .35; font-family: Georgia, serif; }
.dashrev__item blockquote { margin: 0 0 14px; font-size: 1.02rem; line-height: 1.55; }
.dashrev__item figcaption { font-size: .82rem; opacity: .75; }
.dashrev__note { margin-top: 16px; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .dashrev__grid { grid-template-columns: 1fr; } }
.dashrev__item { background: rgba(0,0,0,.025); }

/* === Этап 4: тап-таргеты === */
@media (max-width: 900px) {
  nav a, footer a { padding-top: 8px; padding-bottom: 8px; }
}

/* === Этап 4: анти-переполнение v2 === */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
}

/* === Этап 4: форма на мобиле (анти-min-content) === */
@media (max-width: 900px) {
  #lead * { min-width: 0; }
  #lead input, #lead select, #lead textarea { width: 100%; }
  #lead .dashconsent input[type="checkbox"] { width: 16px; flex: 0 0 auto; }
}

/* === Этап 4: рекламный шоукейс === */
.dashads { margin: 34px 0 0; }
.dashads img { width: 100%; height: auto; display: block; border-radius: 6px;
  border: 1px solid #0077ff; box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.dashads figcaption { margin-top: 10px; font-size: .82rem; opacity: .75;
  padding-left: 12px; border-left: 3px solid #0077ff; }

/* === Этап 5: согласие ПДн === */
.dashconsent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem;
  line-height: 1.5; opacity: .9; grid-column: 1 / -1; margin: 4px 0 2px; }
.dashconsent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto;
  accent-color: #0077ff; }
.dashconsent a { text-decoration: underline; }

/* === Этап 6: аудит (доверие, форма, форматы) === */
.dashtrust { display:flex; flex-wrap:wrap; gap:8px 22px; justify-content:center; align-items:center;
  padding:14px 20px; font-size:.82rem; letter-spacing:.02em; opacity:.92;
  border-top:1px solid #0077ff55; border-bottom:1px solid #0077ff55; }
.dashtrust span { white-space:nowrap; }
.dashtrust span::before { content:"✓ "; color:#0077ff; font-weight:700; }
.dashformats { list-style:none; margin:26px 0 0; padding:0; display:grid;
  grid-template-columns:repeat(6,1fr); gap:10px; }
.dashformats li { display:flex; flex-direction:column; align-items:center; gap:8px;
  padding:14px 6px; font-size:.78rem; text-align:center; border:1px solid #0077ff44;
  border-radius:8px; color:inherit; }
.dashformats svg { color:#0077ff; }
.dashmore { grid-column:1/-1; margin:2px 0; }
.dashmore summary { cursor:pointer; font-size:.85rem; opacity:.8; padding:8px 0; }
.dashmore summary:hover { opacity:1; }
.dashmore__grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; padding-top:12px; }
.dashnote { grid-column:1/-1; font-size:.8rem; opacity:.65; margin:8px 0 0; line-height:1.5; }
@media (max-width:900px){ .dashformats { grid-template-columns:repeat(3,1fr); } }
@media (max-width:600px){ .dashmore__grid { grid-template-columns:1fr; } .dashformats { grid-template-columns:repeat(2,1fr); } }
.dashroute { padding: 14px 22px 0; } .dashroute svg { width: 100%; height: auto; display: block; }

/* === P1: сценарии === */
.dashscen { padding: 42px 22px 6px; }
.dashscen__in { max-width: 1180px; margin: 0 auto; }
.dashscen h2 { font-size: clamp(1.5rem,3vw,2.1rem); margin: 0 0 18px; }
.dashscen__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.dashscen__grid > div { border-left: 3px solid #0077ff; padding: 4px 0 4px 16px; }
.dashscen__grid h3 { margin: 0 0 6px; font-size: 1.02rem; }
.dashscen__grid p { margin: 0; font-size: .9rem; opacity: .8; }
@media (max-width: 900px) { .dashscen__grid { grid-template-columns: 1fr; } }

/* === P1: юрссылки в футере === */
footer a[href^="privacy"], footer a[href^="terms"], footer a[href^="mailto"] {
  opacity: .62; font-size: .86em; }
footer a[href^="privacy"]:hover, footer a[href^="terms"]:hover, footer a[href^="mailto"]:hover { opacity: 1; }

/* === Волна 1: интеграция === */

.dashtrust { border: none; gap: 10px; }
.dashtrust span { border: 1px solid var(--line-strong); background: var(--surface); border-radius: 8px; padding: 8px 14px; box-shadow: 0 3px 0 var(--line); }
.dashtrust span::before { content: "▮ "; color: var(--accent); }
.dashformats li { background: var(--surface); border-color: var(--line); border-radius: 10px; box-shadow: 0 6px 16px rgba(10,37,64,.06); }
.dashrev__item { background: var(--surface); border-left: none; border-radius: 10px; overflow: hidden; padding-top: 34px; }
.dashrev__item::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

/* === Волна 3: композиционный ритм === */
/* акт «Парк + Калькулятор»: секции сшиваются */
#fleet:has(+ #calc) { padding-bottom: clamp(14px, 2.2vw, 28px); }
#fleet + #calc { padding-top: clamp(14px, 2.2vw, 28px); }
/* акт «Отзывы + FAQ» */
#reviews:has(+ #faq) { padding-bottom: clamp(16px, 2.4vw, 30px); }
#reviews + #faq { padding-top: clamp(16px, 2.4vw, 30px); }
/* вдох перед актом отзывов */
* + #reviews { margin-top: clamp(8px, 1.6vw, 22px); }
/* сценарии/сравнение прижаты к trust-полосе */
.dashtrust + .dashscen, .dashtrust + .dashcompare { padding-top: clamp(18px, 2.6vw, 30px); }

/* === Волна 5: футер-подвал === */
.dashfoot { margin-top: clamp(30px,4vw,54px); padding: clamp(28px,4vw,46px) clamp(20px,4vw,48px) 26px; border-top: 1px solid #0077ff55; }
.dashfoot__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px; }
.dashfoot__brand strong { font-size: 1.15rem; }
.dashfoot__brand p { margin: 8px 0 0; font-size: .85rem; opacity: .7; max-width: 32ch; }
.dashfoot__col { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.dashfoot__col span { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }
.dashfoot__col a { opacity: .85; } .dashfoot__col a:hover { opacity: 1; color: #0077ff; }
.dashfoot__legal { max-width: 1200px; margin: 26px auto 0; font-size: .74rem; opacity: .5; }
@media (max-width: 900px) { .dashfoot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .dashfoot__grid { grid-template-columns: 1fr; } }

/* === Итерация 1: подстраницы === */

/* активный пункт навигации */
.topnav a[aria-current="page"] { color: var(--accent); }

/* шапка подстраницы */
.page-hero { max-width: var(--shell); margin: 0 auto; padding: clamp(36px,5.5vw,64px) clamp(18px,4vw,40px) clamp(8px,1.6vw,18px); }
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.08; font-weight: 800; max-width: 760px; }
.page-hero .badge { margin-bottom: 18px; }
.page-hero__lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; margin: 18px 0 0; }

/* развёрнутый текст подстраниц */
.page-prose { max-width: 820px; margin: 0 auto; padding: clamp(18px,2.8vw,30px) clamp(18px,4vw,40px) clamp(8px,1.6vw,16px); }
.page-prose p { margin: 0 0 16px; line-height: 1.7; }
.page-prose p:last-child { margin-bottom: 0; }

/* карточки-ссылки на подстраницы (главная) */
a.card { color: inherit; display: flex; flex-direction: column; }
.card--link .card__more { margin-top: auto; padding-top: 14px; color: var(--accent-2); font-weight: 700; font-size: .9rem; transition: color .2s; }
.card--link:hover { border-color: var(--accent); }
.card--link:hover .card__more { color: var(--accent); }

/* CTA-полоса внизу подстраниц */
.cta-band { max-width: var(--shell); margin: 0 auto; padding: clamp(36px,5vw,64px) clamp(18px,4vw,40px); }
.cta-band__panel { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-radius: 16px; padding: clamp(26px,4vw,44px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 24px 60px rgba(0,119,255,.3); }
.cta-band__panel h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.cta-band__panel p { margin: 8px 0 0; color: rgba(255,255,255,.85); max-width: 52ch; }
.cta-band .btn { background: #fff; color: var(--accent-2); box-shadow: none; }
.cta-band .btn:hover { background: var(--bg); transform: translateY(-1px); }

/* юрссылки в футере подстраниц (пути через ../) */
footer a[href^="../privacy"], footer a[href^="../terms"] { opacity: .62; font-size: .86em; }
footer a[href^="../privacy"]:hover, footer a[href^="../terms"]:hover { opacity: 1; }


/* === Итерация 2: модули === */
/* Лента доверия — KPI-чипы с кодами */
.dashtrust--codes { gap: 10px 12px; }
.dashtrust--codes span { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; font-weight: 600; }
.dashtrust--codes span::before { content: none; }
.dashtrust__code { font-family: var(--font); font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--accent); background: rgba(0,119,255,.08); border: 1px solid rgba(0,119,255,.28); border-radius: 6px; padding: 4px 7px; }

/* Отзывы — записи системы */
.dashrev__grid--sys { grid-template-columns: repeat(4, 1fr); }
.dashrev__item--sys { padding-top: 22px; }
.dashrev__item--sys::before { content: none; }
.dashrev__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.dashrev__id { font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--muted); background: #f7fafe; border: 1px solid var(--line-strong); border-radius: 6px; padding: 4px 7px; }
.dashrev__tag { font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; text-transform: uppercase; color: var(--accent); background: rgba(0,119,255,.08); border: 1px solid rgba(0,119,255,.28); border-radius: 6px; padding: 4px 7px; }
.dashrev__item--sys blockquote { font-size: .96rem; }
@media (max-width: 1100px) { .dashrev__grid--sys { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dashrev__grid--sys { grid-template-columns: 1fr; } }

/* Тарифная сетка калькулятора */
.dashrates { max-width: 700px; margin: 0 auto 26px; }
.dashrates__scroll { overflow-x: auto; }
.dashrates table { width: 100%; border-collapse: collapse; min-width: 480px; }
.dashrates th, .dashrates td { padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem; }
.dashrates thead th { font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 600; }
.dashrates tbody tr:last-child td { border-bottom: none; }
.dashrates__model { font-weight: 600; }
.dashrates__model small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-top: 2px; }
.dashrates__num { font-weight: 700; color: var(--accent-2); white-space: nowrap; }
.dashrates__na { color: var(--muted); }
.dashrates__note { margin: 0; padding: 10px 18px 16px; color: var(--muted); font-size: .8rem; }

/* === Итерация 3: легенда === */
/* Поток документов — дэшборд-схема документооборота (usloviya) */
.docflow { max-width: var(--shell); margin: 0 auto; padding: clamp(48px,6vw,76px) clamp(18px,4vw,40px); }
.docflow__track { list-style: none; margin: 0; padding: 30px 26px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.docflow__node { position: relative; padding: 0 6px; text-align: center; }
.docflow__node:not(:last-child)::after { content: "\2192"; position: absolute; top: 2px; right: -19px; color: var(--accent); font-weight: 800; font-size: 1.05rem; }
.docflow__code { display: inline-block; font-family: var(--font); font-size: .68rem; font-weight: 700; letter-spacing: .08em; line-height: 1; color: var(--accent); background: rgba(0,119,255,.08); border: 1px solid rgba(0,119,255,.28); border-radius: 6px; padding: 4px 7px; margin-bottom: 12px; }
.docflow__node h3 { font-size: 1.02rem; margin: 0 0 6px; }
.docflow__node p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.5; }
@media (max-width: 900px) {
  .docflow__track { grid-template-columns: 1fr; gap: 22px; }
  .docflow__node { text-align: left; padding: 0; }
  .docflow__node:not(:last-child)::after { content: "\2193"; position: static; display: block; margin-top: 10px; }
}
