/* =========================================================
   kukharkovrent.ru — стили лендинга аренды спецтехники
   Без внешних зависимостей, без сборки.
   ========================================================= */

:root {
  --bg: #0f1216;
  --bg-soft: #14181d;
  --bg-card: #191f26;
  --bg-elev: #1f262f;
  --line: #2a333d;
  --line-soft: #222a33;

  --text: #eef1f4;
  --text-dim: #a7b2bd;
  --text-mute: #7b8794;

  --accent: #ffb020;
  --accent-hover: #ffbe47;
  --accent-ink: #1a1206;
  --accent-soft: rgba(255, 176, 32, .12);

  --ok: #3fbf7f;
  --err: #ff6b5e;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --shadow: 0 18px 44px rgba(0, 0, 0, .34);
  --shadow-sm: 0 6px 18px rgba(0, 0, 0, .24);

  --container: 1180px;
  --header-h: 72px;

  --font: "Inter", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.4vw, 3.45rem); }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); }
h3 { font-size: 1.06rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--accent); color: var(--accent-ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.container--narrow { max-width: 860px; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 .7em;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Кнопки ---------- */
.btn {
  --btn-bg: var(--bg-elev);
  --btn-fg: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease,
              transform .12s ease, box-shadow .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  --btn-bg: var(--accent);
  --btn-fg: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(255, 176, 32, .22);
}
.btn--primary:hover { --btn-bg: var(--accent-hover); }

.btn--ghost {
  --btn-bg: transparent;
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--lg { padding: 15px 30px; font-size: 1rem; }
.btn--block { width: 100%; }

.btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 18, 22, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(15, 18, 22, .94);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  border: 1px solid rgba(255, 176, 32, .28);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 1.02rem; letter-spacing: -.01em; }
.logo__text small { color: var(--text-mute); font-size: .7rem; letter-spacing: .04em; }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav a {
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-dim);
  font-size: .92rem;
  transition: color .16s ease, background .16s ease;
}
.nav a:hover { color: var(--text); background: var(--bg-elev); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color .16s ease;
}
.header__phone:hover { color: var(--accent); }
.header__phone-icon { color: var(--accent); font-size: .9rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 7vw, 92px) 0 clamp(40px, 5vw, 68px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(60% 55% at 22% 12%, rgba(255, 176, 32, .16), transparent 68%),
    radial-gradient(48% 48% at 82% 0%, rgba(80, 140, 255, .14), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 30%, transparent 100%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
  white-space: nowrap;
}
.hero__lead {
  max-width: 46ch;
  color: var(--text-dim);
  font-size: clamp(1rem, 1.15vw, 1.09rem);
}

.hero__list {
  display: grid;
  gap: 9px;
  margin: 22px 0 26px;
  padding: 0;
  list-style: none;
}
.hero__list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-dim);
  font-size: .95rem;
}
.hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 176, 32, .5);
}
.hero__list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: calc(.55em + 5px);
  width: 5px;
  height: 2.5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  margin-top: 16px;
  color: var(--text-mute);
  font-size: .85rem;
}
.hero__note::before { content: "● "; color: var(--ok); font-size: .7em; }

.hero__form-wrap { position: relative; }
/* ---------- Форма ---------- */
.lead-form {
  position: relative;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card), var(--bg-soft));
  box-shadow: var(--shadow);
}
.lead-form--light { background: var(--bg-card); }
.lead-form__title { margin-bottom: .3em; font-size: 1.24rem; }
.lead-form__sub {
  margin-bottom: 18px;
  color: var(--text-mute);
  font-size: .875rem;
  line-height: 1.5;
}
.lead-form__foot {
  margin: 12px 0 0;
  color: var(--text-mute);
  font-size: .74rem;
  line-height: 1.45;
  text-align: center;
}

.field { margin-bottom: 13px; }
.field > label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-dim);
  font-size: .82rem;
  font-weight: 500;
}
.req { color: var(--accent); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field input[type="password"],
.field input[type="date"],
.field input[type="url"],
.field input[type="number"],
.field input[type="search"],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font-size: .94rem;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 56px; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mute) 50%),
                    linear-gradient(135deg, var(--text-mute) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field select option { background: var(--bg-soft); color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: #5f6b78; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--err); }

.field__error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  color: var(--err);
  font-size: .76rem;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 4px;
  color: var(--text-mute);
  font-size: .78rem;
  line-height: 1.45;
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.check a { color: var(--text-dim); text-decoration: underline; text-underline-offset: 2px; }
.check a:hover { color: var(--accent); }

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form__status {
  display: none;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  font-size: .84rem;
  line-height: 1.45;
}
.lead-form__status.is-visible { display: block; }
.lead-form__status.is-success {
  color: #b8f0d0;
  background: rgba(63, 191, 127, .12);
  border: 1px solid rgba(63, 191, 127, .4);
}
.lead-form__status.is-error {
  color: #ffc0ba;
  background: rgba(255, 107, 94, .1);
  border: 1px solid rgba(255, 107, 94, .38);
}

/* ---------- Статистика ---------- */
.stats {
  border-block: 1px solid var(--line-soft);
  background: var(--bg-soft);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.stats__item {
  padding: 22px 20px;
  border-right: 1px solid var(--line-soft);
}
.stats__item:last-child { border-right: 0; }
.stats__value {
  display: block;
  color: var(--accent);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.stats__label {
  display: block;
  margin-top: 5px;
  color: var(--text-mute);
  font-size: .82rem;
}

/* ---------- Секции ---------- */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section--alt { background: var(--bg-soft); border-block: 1px solid var(--line-soft); }
.section--contact { background: var(--bg-soft); border-top: 1px solid var(--line-soft); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
}
.section__head > div { max-width: 62ch; }
.section__lead {
  color: var(--text-dim);
  font-size: .95rem;
  line-height: 1.6;
}
/* ---------- Каталог ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: .85rem;
  font-weight: 500;
  transition: border-color .16s ease, background .16s ease, color .16s ease;
}
.chip:hover { border-color: var(--text-mute); color: var(--text); }
.chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 18px;
}

.fleet-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.fleet-card:hover {
  border-color: #3a4756;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.fleet-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.fleet-card__title {
  margin: 0;
  font-size: 1.01rem;
  line-height: 1.3;
}
.fleet-card__badge {
  flex: 0 0 auto;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fleet-card__desc {
  margin: 0 0 14px;
  color: var(--text-mute);
  font-size: .855rem;
  line-height: 1.55;
}

.fleet-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.fleet-card__tags li {
  padding: 3px 9px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-dim);
  font-size: .72rem;
}

.fleet-card__specs {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  border-top: 1px dashed var(--line-soft);
  padding-top: 12px;
}
.fleet-card__specs li {
  position: relative;
  padding-left: 15px;
  color: var(--text-mute);
  font-size: .78rem;
  line-height: 1.55;
}
.fleet-card__specs li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #4d5966;
}

.fleet-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.fleet-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.fleet-card__price small {
  color: var(--text-mute);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.fleet-card__price strong {
  color: var(--accent);
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -.02em;
}
.fleet-card__price span {
  color: var(--text-mute);
  font-size: .74rem;
}

.fleet-empty {
  margin-top: 22px;
  color: var(--text-mute);
  font-size: .92rem;
}

/* ---------- Шаги ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 20px 18px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.step__num {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.step h3 { margin-bottom: .35em; font-size: .98rem; }
.step p { margin: 0; color: var(--text-mute); font-size: .84rem; line-height: 1.55; }

/* ---------- Карточки преимуществ ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: border-color .18s ease;
}
.card:hover { border-color: var(--line); }
.card h3 { margin-bottom: .45em; font-size: 1rem; }
.card p { margin: 0; color: var(--text-mute); font-size: .87rem; line-height: 1.6; }
/* ---------- Таблица цен ---------- */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  overflow: hidden;
}
.price-row {
  display: grid;
  grid-template-columns: minmax(150px, .34fr) minmax(0, 1fr);
  gap: 18px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .88rem;
}
.price-row:last-child { border-bottom: 0; }
.price-row--head {
  background: var(--bg-elev);
  color: var(--text-mute);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.price-row > span:first-child { color: var(--text); font-weight: 600; }
.price-row > span:last-child { color: var(--text-mute); }
.price-row--head > span { color: var(--text-mute) !important; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(255, 176, 32, .28);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 176, 32, .09), transparent 60%);
}
.callout__text { max-width: 58ch; }
.callout__text h3 { margin-bottom: .3em; font-size: 1.08rem; }
.callout__text p { margin: 0; color: var(--text-mute); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color .16s ease;
}
.faq__item[open] { border-color: var(--line); }
.faq__item summary {
  position: relative;
  padding: 16px 46px 16px 20px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  position: absolute;
  right: 21px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -5px;
  border-right: 2px solid var(--text-mute);
  border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq__body {
  padding: 0 20px 18px;
  color: var(--text-mute);
  font-size: .88rem;
  line-height: 1.62;
}
.faq__body p { margin: 0; }

/* ---------- Контакты ---------- */
.contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.contact-list li {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line-soft);
}
.contact-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-list__label {
  color: var(--text-mute);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.contact-list a { transition: color .16s ease; }
.contact-list a:hover { color: var(--accent); }
.contact-list__row { display: flex; flex-wrap: wrap; gap: 14px; }
.contacts__legal {
  margin-top: 20px;
  color: var(--text-mute);
  font-size: .78rem;
  line-height: 1.6;
}

/* ---------- Подвал ---------- */
.footer {
  padding: 46px 0 22px;
  border-top: 1px solid var(--line-soft);
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, 1fr);
  gap: 30px;
}
.footer__brand p {
  max-width: 42ch;
  margin-top: 14px;
  color: var(--text-mute);
  font-size: .85rem;
  line-height: 1.6;
}
.footer h3 {
  margin-bottom: .8em;
  color: var(--text-mute);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.footer__nav, .footer__contacts { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a, .footer__contacts a, .footer__contacts span {
  color: var(--text-dim);
  font-size: .87rem;
  transition: color .16s ease;
}
.footer__nav a:hover, .footer__contacts a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-mute);
  font-size: .78rem;
}
.footer__note { max-width: 52ch; }

/* ---------- Плавающая кнопка ---------- */
.fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  display: none;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: .92rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(255, 176, 32, .34);
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}
.fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
}
/* ---------- Появление при скролле ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .nav a { padding: 8px 9px; font-size: .88rem; }
  .header__phone span[data-phone] { display: none; }
  .header__phone { width: 42px; height: 42px; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .header__phone-icon { font-size: 1rem; }
}

@media (max-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__form-wrap { max-width: 560px; }
  .contacts { grid-template-columns: minmax(0, 1fr); }
  .contacts__form { max-width: 560px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(1), .stats__item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }

  /* мобильное меню */
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 95;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 14px 22px 22px;
    background: #0f1216;
    border-bottom: 1px solid var(--line-soft);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav a:last-child { border-bottom: 0; }
  .nav a:hover { background: transparent; }

  .header__actions { gap: 10px; }
  .header__actions .btn--sm { display: none; }
}

@media (max-width: 700px) {
  :root { --header-h: 62px; }
  body { font-size: 15.5px; }
  .container { padding-inline: 18px; }

  .hero { padding-top: 30px; }
  .hero h1 br { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .section__head { margin-bottom: 26px; }
  .callout { padding: 20px; }
  .callout .btn { width: 100%; }

  .price-row { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 14px 18px; }
  .price-row--head { display: none; }

  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 3px; }
  .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .fab { display: inline-flex; }
  body { padding-bottom: 84px; }

  .lead-form { padding: 20px 18px 18px; border-radius: var(--radius); }
  .fleet-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 420px) {
  .stats__grid { grid-template-columns: minmax(0, 1fr); }
  .stats__item { border-right: 0; }
  .stats__item:nth-child(3) { border-bottom: 1px solid var(--line-soft); }
  .fleet-card__foot { flex-direction: column; align-items: flex-start; }
  .fleet-card__foot .btn { width: 100%; }
}

@media print {
  .header, .fab, .fleet-card__foot .btn, .hero__form-wrap, .contacts__form { display: none !important; }
  body { background: #fff; color: #000; }
  .section, .hero { padding: 12px 0; }
  a { text-decoration: underline; }
}