/* =========================================================
   ГрузНева — жёлто-зелёно-серая палитра (в духе грузовых сервисов)
   ========================================================= */

:root {
  --ink: #242d39;
  --ink-2: #1a222c;
  --steel: #3d4654;
  --slate: #6d6d78;
  --muted: #92969c;
  --line: #e2e5ea;
  --line-soft: #eef0f3;
  --paper: #f3f4f6;
  --white: #ffffff;
  --signal: #50b848;
  --signal-deep: #3f9a38;
  --signal-soft: #eaf7e9;
  --accent: #ffdd00;
  --accent-deep: #e6c700;
  --accent-soft: #fff8cc;
  --blue: #50b848;
  --blue-soft: #eaf7e9;
  --ok: #50b848;
  --radius: 6px;
  --radius-lg: 16px;
  --shadow: 0 1px 0 rgba(36, 45, 57, .04), 0 18px 40px -24px rgba(36, 45, 57, .28);
  --shadow-calc: 0 30px 60px -28px rgba(36, 45, 57, .35);
  --font: 'Manrope', system-ui, sans-serif;
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --container: 100%;
  --pad-x: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  overflow-x: clip;
  max-width: 100%;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  position: relative;
  padding-top: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
.is-hidden { display: none !important; }

.modal__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--pad-x);
}

/* ---------- Typography ---------- */
h1, h2, h3, .logo__text, .calc__price, .cta__phone, .header__phone-num {
  font-family: var(--display);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }

.section { padding: 100px 0; position: relative; }

.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 18px;
}

.section__head { margin-bottom: 48px; }
.section__row {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 40px;
  align-items: end;
}
.section__row p {
  color: var(--slate);
  font-size: 16px;
  max-width: 420px;
  justify-self: end;
  padding-bottom: 4px;
}
.section__head--invert .section__eyebrow { color: var(--accent); }
.section__head--invert h2 { color: #fff; }
.section__head--invert p { color: #a8b3c7; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-weight: 700;
  border-radius: var(--radius);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--accent {
  background: var(--signal);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(80, 184, 72, .55);
}
.btn--accent:hover { background: var(--signal-deep); }

.btn--white {
  background: #fff;
  color: var(--ink);
}
.btn--white:hover { background: var(--signal-soft); }

.btn--sm { padding: 11px 18px; font-size: 13px; }
.btn--lg { padding: 16px 24px; font-size: 15px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  max-width: 100%;
  background: rgba(242, 244, 248, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 72px;
  min-width: 0;
  width: 100%;
  position: relative;
  z-index: 2;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.logo__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent);
  color: var(--ink);
  border-radius: var(--radius);
}
.logo__icon svg { width: 24px; height: 24px; }
.logo__text {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo__sub {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 72px;
  position: relative;
  z-index: 1;
}
.nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  position: relative;
  white-space: nowrap;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }

.header__contacts {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
}
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.header__phone-num { font-size: 16px; font-weight: 700; }
.header__phone-note { font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0.02em; text-transform: none; white-space: nowrap; }
.header__phone:hover .header__phone-num { color: var(--signal); }

.header__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  max-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 100px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  flex: 0 1 auto;
  min-width: 0;
  transition: opacity .28s ease, max-width .35s ease, padding .28s ease, border-color .28s ease, visibility .28s, margin .28s ease;
}
.header.is-scrolled .header__status {
  max-width: 280px;
  width: auto;
  padding: 0 14px 0 12px;
  margin-right: 4px;
  border-color: var(--line);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow: hidden;
}
.header__status-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .55);
  animation: pulse 1.4s ease-out infinite;
  position: relative;
  flex-shrink: 0;
  z-index: 1;
}
.header__status-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, .55);
  animation: pulse-ring 1.4s ease-out infinite;
}
.header__status-text {
  line-height: 1.2;
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
}
.header__status-text--full {
  display: flex;
  flex-direction: column;
}
.header__status-text--full span {
  display: block;
  white-space: nowrap;
}
.header__status-text--short {
  display: none;
  white-space: nowrap;
  line-height: 1;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: .2s;
  pointer-events: none;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 28px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero__decor {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(255, 221, 0, .22), transparent 55%),
    radial-gradient(700px 420px at -5% 40%, rgba(80, 184, 72, .12), transparent 50%);
  pointer-events: none;
}
.hero__decor::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230b1220' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: .7;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .85fr);
  gap: clamp(24px, 2.5vw, 40px);
  align-items: start;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--steel);
  margin-bottom: 14px;
  border-radius: 100px;
}
.hero__badge-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .55);
  animation: pulse 1.4s ease-out infinite;
  position: relative;
  flex-shrink: 0;
}
.hero__badge-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(74, 222, 128, .5);
  animation: pulse-ring 1.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); transform: scale(1.15); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); transform: scale(1); }
}
@keyframes pulse-ring {
  0% { transform: scale(.7); opacity: .9; }
  70% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero h1 {
  font-size: clamp(28px, 3.6vw, 42px);
  margin-bottom: 10px;
  max-width: 18ch;
}
.hero__lead {
  color: var(--slate);
  font-size: 15.5px;
  line-height: 1.5;
  max-width: 54ch;
  margin-bottom: 18px;
}

.hero__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line-soft);
}
.hero__photo > img {
  width: 100%;
  height: clamp(280px, 30vw, 380px);
  object-fit: cover;
  object-position: center bottom;
  display: block;
  filter: brightness(1.05) saturate(1.02) contrast(.97);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.hero__stat {
  padding: 16px 14px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.hero__stat:last-child { border-right: none; }
.hero__stat-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.hero__stat-icon img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}
.hero__stat:nth-child(2) .hero__stat-icon,
.hero__stat:nth-child(3) .hero__stat-icon {
  background: transparent;
  color: inherit;
  box-shadow: none;
}
.hero__stat-icon svg { display: none; }
.hero__stat-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.hero__stat strong {
  font-family: var(--font);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.hero__stat-text > span {
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.25;
}

/* ---------- Calculator ---------- */
.calc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-calc);
  padding: 22px 20px 16px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc__head { margin-bottom: 16px; }
.calc__head h2 {
  font-size: 23px;
  line-height: 1.15;
  margin-bottom: 4px;
}
.calc__head p { color: var(--muted); font-size: 13px; font-weight: 600; }

.calc__tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: 12px;
}
.calc__tabs-thumb {
  position: absolute;
  top: 3px; left: 0;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background: var(--accent);
  border-radius: 2px;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), width .25s;
  z-index: 0;
}
.calc__tab {
  position: relative;
  z-index: 1;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  font-weight: 800;
  font-size: 13px;
  color: var(--steel);
  transition: color .2s;
}
.calc__tab small {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s;
}
.calc__tab.is-active { color: var(--ink); }
.calc__tab.is-active small { color: var(--slate); }

.calc__field { margin-bottom: 12px; }
.calc__field > label,
.calc__label-row label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.calc__types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.calc__type {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  padding: 8px 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: border-color .15s, background .15s, transform .15s;
}
.calc__type:hover { border-color: #b8c2d4; transform: translateY(-1px); }
.calc__type.is-active {
  border-color: var(--accent-deep);
  background: var(--accent);
  color: var(--ink);
}
.calc__type-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
}
.calc__type-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
}
.calc__type-name { font-weight: 800; font-size: 13px; line-height: 1.2; }
.calc__type-desc { font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.25; }
.calc__type.is-active .calc__type-desc { color: var(--steel); }
.calc__type-rate {
  margin-top: 1px;
  font-size: 12px;
  font-weight: 800;
  color: var(--signal);
}
.calc__type.is-active .calc__type-rate { color: var(--ink); }

.calc__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.calc__label-row label { margin-bottom: 0; }
.calc__value {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 800;
  font-size: 13px;
}
.calc__value-hint { font-weight: 600; color: var(--muted); font-size: 11px; }
.calc__value input {
  width: 56px;
  padding: 4px 5px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  font-weight: 800;
  background: var(--paper);
}
.calc__value input:focus { outline: none; border-color: var(--ink); }

input[type="range"] {
  width: 100%;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(to right, var(--signal) var(--fill, 10%), var(--line) var(--fill, 10%));
  border-radius: 100px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--signal);
  box-shadow: 0 2px 8px rgba(36, 45, 57, .25);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--signal);
  cursor: grab;
}
.calc__range-marks {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
}

.calc__row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.calc__field--half { flex: 1; margin-bottom: 12px; }

.calc select {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-weight: 700;
  font-size: 13px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a6578' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.calc select:focus { outline: none; border-color: var(--ink); }

.calc__check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 0;
  user-select: none;
}
.calc__check input { display: none; }
.calc__check-box {
  width: 18px; height: 18px;
  border: 1.5px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  position: relative;
  flex-shrink: 0;
}
.calc__check input:checked + .calc__check-box {
  background: var(--ink);
  border-color: var(--ink);
}
.calc__check input:checked + .calc__check-box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.calc__checkout {
  padding-top: 4px;
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.calc__result {
  flex: 1 1 auto;
  min-width: 0;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.calc__result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}
.calc__result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc__result-badge {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 700;
  color: var(--signal-deep);
  background: var(--signal-soft);
  padding: 3px 7px;
  border-radius: 100px;
  white-space: nowrap;
}
.calc__price {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--ink);
}
.calc__breakdown {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--slate);
  font-weight: 600;
}

.calc__btn {
  flex: 0 0 45%;
  align-self: stretch;
  width: 45%;
  max-width: 45%;
  padding: 12px 14px !important;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  flex-direction: column;
  gap: 1px;
}
.calc__btn-title {
  font-size: 20px;
  line-height: 1.05;
}
.calc__btn-subtitle {
  font-size: 13px;
  line-height: 1.15;
}
.calc__note {
  margin-top: 8px;
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Advantages: единая сетка без «карточек SaaS» ---------- */
.advantages { background: var(--white); border-block: 1px solid var(--line); }
.advantages > .container { padding-inline: var(--pad-x); }
.advantages .section__head { padding-inline: 0; }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}

.adv-card {
  background: var(--white);
  padding: 32px 28px;
  position: relative;
  min-height: 220px;
  transition: background .2s;
}
.adv-card:hover { background: #fafbfd; }
.adv-card__num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.adv-card__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  margin-bottom: 20px;
  background: var(--paper);
}
.adv-card__icon svg { width: 22px; height: 22px; }
.adv-card h3 { margin-bottom: 10px; }
.adv-card p { color: var(--slate); font-size: 14.5px; max-width: 32ch; }

/* ---------- Fleet ---------- */
.fleet { background: var(--paper); }

.fleet__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.fleet-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s, box-shadow .2s;
}
.fleet-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
/* Популярный выбор: светлая карточка с фирменной жёлтой обводкой */
.fleet-card--featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
}
.fleet-card--featured .fleet-card__pic { background: var(--accent-soft); }
.fleet-card--featured .fleet-card__price {
  border-top-color: var(--accent-deep);
}
.fleet-card--featured:hover {
  box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow);
}

.fleet-card__label {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 2px;
}

.fleet-card__pic {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line-soft);
}
.fleet-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s ease;
}
.fleet-card:hover .fleet-card__pic img { transform: scale(1.04); }

.fleet-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}
.fleet-card__desc { font-size: 14px; color: var(--slate); }
.fleet-card__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fleet-card__chips span {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--steel);
  background: var(--paper);
}
.fleet-card__price {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.fleet-card__price div { display: flex; flex-direction: column; gap: 2px; }
.fleet-card__price strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.fleet-card__price span {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Tariffs ---------- */
.tariffs {
  background: var(--ink);
  background-image:
    radial-gradient(700px 400px at 90% 0%, rgba(255, 221, 0, .2), transparent 55%),
    radial-gradient(500px 300px at 0% 100%, rgba(80, 184, 72, .14), transparent 50%);
}

.tariffs__table-wrap {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.03);
}

.tariffs__table { width: 100%; border-collapse: collapse; }
.tariffs__table th {
  text-align: left;
  padding: 18px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa6bc;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.tariffs__table td {
  padding: 18px 22px;
  font-size: 15px;
  color: #c8d0de;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.tariffs__table tr:last-child td { border-bottom: none; }
.tariffs__table td strong { color: #fff; font-weight: 700; }
.tariffs__table tbody tr { transition: background .15s; }
.tariffs__table tbody tr:hover { background: rgba(255,255,255,.04); }

.tariffs__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.tariffs__note {
  font-size: 13px;
  font-weight: 600;
  color: #c8d0de;
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px 14px;
  border-radius: 100px;
}
.tariffs__note::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: 8px;
  vertical-align: middle;
}

/* ---------- Steps ---------- */
.steps { background: var(--white); border-bottom: 1px solid var(--line); }

.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 32px 28px 28px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-right: none; }
.step:not(:last-child)::after { display: none; }
.step__num {
  font-family: var(--display);
  font-size: 42px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
  margin-bottom: 18px;
  line-height: 1;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--slate); font-size: 14px; max-width: 28ch; }
.step a { color: var(--signal); font-weight: 700; }
.step a:hover { text-decoration: underline; }

/* ---------- Geo ---------- */
.geo { background: var(--paper); }

.geo__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
}
.geo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.geo__chips span {
  font-size: 14px;
  font-weight: 600;
  color: var(--steel);
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  transition: .15s;
}
.geo__chips span:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}
.geo__chip-more {
  background: var(--ink) !important;
  color: #fff !important;
  border-color: var(--ink) !important;
}

/* ---------- CTA ---------- */
.cta { padding: 0 0 40px; background: var(--paper); }

.cta__card {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 52px clamp(20px, 4vw, 56px);
  margin-inline: 0;
  position: relative;
  overflow: hidden;
  box-shadow: none;
  width: 100%;
}
.cta__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 280px at 100% 0%, rgba(255, 221, 0, .28), transparent 60%),
    linear-gradient(120deg, transparent 40%, rgba(80, 184, 72, .2));
  pointer-events: none;
}
.cta__content, .cta__phone-block { position: relative; }
.cta__content h2 { margin-bottom: 14px; max-width: 12ch; }
.cta__content p {
  color: #a8b3c7;
  font-size: 16px;
  max-width: 42ch;
  margin-bottom: 22px;
}
.cta__list { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.cta__list li {
  font-size: 13.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta__list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.cta__phone-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.cta__phone-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9aa6bc;
}
.cta__phone {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 14px;
  white-space: nowrap;
}
.cta__phone:hover { color: var(--accent); }

/* ---------- FAB ---------- */
.call-fab {
  display: none;
  position: fixed;
  right: 16px; bottom: 16px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  place-items: center;
  z-index: 90;
  box-shadow: 0 12px 28px -8px rgba(15, 122, 74, .55);
}
.call-fab svg { width: 24px; height: 24px; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  z-index: 91;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .25s ease, visibility .25s, transform .25s ease, background .15s;
  box-shadow: 0 10px 24px -10px rgba(11, 18, 32, .45);
}
.to-top svg { width: 20px; height: 20px; }
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.to-top:hover { background: var(--signal); }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Хиро целиком в первом экране: размеры завязаны на высоту окна */
@media (min-width: 1025px) {
  .hero {
    display: flex;
    align-items: center;
    padding-top: clamp(14px, 3vh, 28px);
    padding-top: clamp(14px, 3svh, 28px);
    padding-bottom: clamp(18px, 5vh, 56px);
    padding-bottom: clamp(18px, 5svh, 56px);
    min-height: min(100vh - 72px, 820px);
    min-height: min(100svh - 72px, 820px);
  }
  .hero > .container { width: 100%; }
  .hero__badge { margin-bottom: clamp(8px, 1.6vh, 14px); }
  .hero h1 {
    font-size: clamp(30px, min(3.6vw, 4.6vh), 42px);
    font-size: clamp(30px, min(3.6vw, 4.6svh), 42px);
    margin-bottom: clamp(6px, 1.2vh, 10px);
  }
  .hero__lead {
    font-size: clamp(14px, 1.8vh, 15.5px);
    margin-bottom: clamp(10px, 2vh, 18px);
  }
  .hero__photo > img {
    height: clamp(260px, 42vh, 380px);
    height: clamp(260px, 42svh, 380px);
  }
  .hero__stat { padding: clamp(8px, 1.6vh, 14px) 14px; }
  .hero__stat-icon,
  .hero__stat-icon img {
    width: clamp(40px, 5.8vh, 58px);
    height: clamp(40px, 5.8vh, 58px);
  }
}

/* Низкие экраны (ноутбуки, масштабирование 125%): компактный калькулятор */
@media (min-width: 1025px) and (max-height: 860px) {
  .hero__badge { margin-bottom: 6px; padding: 4px 10px; font-size: 12px; }
  .hero h1 { margin-bottom: 6px; }
  .hero__lead { font-size: 13.5px; line-height: 1.35; margin-bottom: 8px; }
  .calc { padding: 12px 14px 8px; }
  .calc__head { margin-bottom: 6px; }
  .calc__head h2 { font-size: 18px; }
  .calc__head p { display: none; }
  .calc__tabs { margin-bottom: 6px; padding: 2px; }
  .calc__tab { padding: 7px 4px; font-size: 12.5px; }
  .calc__tab small { display: none; }
  .calc__field { margin-bottom: 6px; }
  .calc__field > label,
  .calc__label-row { margin-bottom: 3px; }
  .calc__range-marks { display: none; }
  .calc__type { padding: 5px 7px; gap: 7px; }
  .calc__type-icon { width: 48px; height: 30px; }
  .calc__type-name { font-size: 12px; }
  .calc__type-desc { font-size: 11px; }
  .calc__result { padding: 7px 10px; }
  .calc__price { font-size: 21px; }
  .calc__note { margin-top: 4px; font-size: 10.5px; }
}

/* Совсем низкие экраны: калькулятор в максимально плотном виде */
@media (min-width: 1025px) and (max-height: 720px) {
  .hero { padding-top: 10px; padding-bottom: 12px; }
  .calc { padding: 14px 14px 10px; }
  .calc__head p { display: none; }
  .calc__head h2 { font-size: 18px; }
  .calc__range-marks { display: none; }
  .calc__tabs { margin-bottom: 6px; padding: 2px; }
  .calc__tab { padding: 7px 4px; font-size: 12.5px; }
  .calc__tab small { display: none; }
  .calc__field { margin-bottom: 6px; }
  .calc__field > label,
  .calc__label-row { margin-bottom: 3px; }
  .calc__type { padding: 5px 7px; gap: 7px; }
  .calc__type-icon { width: 46px; height: 28px; }
  .calc__result-label { display: none; }
  .calc__price { font-size: 21px; }
  .calc__btn { padding: 10px 12px !important; }
  .calc__note { font-size: 10px; margin-top: 4px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 32px; }
  /* На узких экранах не обрезаем борта машин — показываем кадр целиком */
  .hero__photo > img {
    height: auto;
    aspect-ratio: 1024 / 450;
    object-fit: contain;
    object-position: center bottom;
  }
  .calc { position: static; max-width: 560px; width: 100%; margin: 0 auto; }
  .section__row { grid-template-columns: 1fr; gap: 12px; }
  .section__row p { justify-self: start; max-width: 52ch; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); }
  .fleet__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 28px 20px; }
  .step:nth-child(odd) { border-right: 1px solid var(--line); }
  .step:nth-child(3), .step:nth-child(4) { border-bottom: none; }
  .step::after { display: none; }
  .cta__card { grid-template-columns: 1fr; padding: 40px var(--pad-x); }

  .burger { display: flex; }
  .header {
    overflow: visible;
    /* backdrop-filter создаёт containing block и может обрезать меню */
    backdrop-filter: none;
    background: rgba(255, 255, 255, .96);
  }
  .nav {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    transform: none;
    height: auto;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 110;
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }
  .nav a::after { display: none; }
}

@media (max-width: 1280px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13px; }
  .header.is-scrolled .header__status {
    max-width: 150px;
  }
  .header__status-text--full { display: none; }
  .header.is-scrolled .header__status-text--short {
    display: block;
    font-size: 12px;
    font-weight: 700;
  }
}

@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .container { padding-inline: 16px; }
  .section__head h2 br { display: none; }
  .section__head h2 { font-size: clamp(24px, 6.5vw, 30px); }
  .section__row p { font-size: 14.5px; }
  .adv-card { padding: 24px 18px; min-height: 0; }
  .logo__sub { display: none; }
  .header__phone { display: none; }
  .header__contacts { display: none; }
  .burger { flex-shrink: 0; }
  .header__inner {
    gap: 8px;
  }
  .header.is-scrolled .header__status {
    order: 2;
    margin-left: auto;
    margin-right: 4px;
    height: 34px;
    padding: 0 10px;
    max-width: 140px;
    flex: 0 1 auto;
    overflow: hidden;
  }
  .header__status-dot::after {
    display: none;
  }
  .header__status-text--full { display: none; }
  .header__status-text--short {
    display: block;
    font-size: 12px;
    font-weight: 700;
  }
  .header__status-dot { width: 8px; height: 8px; }

  .hero { padding: 20px 0 40px; }
  .hero h1 { max-width: none; font-size: clamp(26px, 7vw, 34px); }
  .hero__lead { font-size: 14.5px; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stat {
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
  }
  .hero__stat:last-child { border-bottom: none; }
  .hero__stat strong { font-size: 13px; }
  .hero__stat-text > span { font-size: 11px; }

  .calc { padding: 18px 14px; max-width: none; }
  .calc__types { gap: 6px; }
  .calc__type { padding: 7px 8px; gap: 8px; }
  .calc__type-icon { width: 48px; height: 32px; }
  .calc__type-name { font-size: 12px; }
  .calc__type-desc { font-size: 11px; }
  .calc__type-rate { font-size: 11px; }
  .calc__result { padding: 8px 10px; }
  .calc__result-badge { display: none; }
  .calc__price { font-size: 22px; }
  .calc__breakdown { font-size: 11px; }
  .calc__row { flex-direction: column; align-items: stretch; gap: 0; }
  .calc__btn {
    flex: 0 0 45%;
    width: 45%;
    max-width: 45%;
    padding: 10px 10px !important;
  }

  .advantages__grid,
  .fleet__grid,
  .steps__grid { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: none; }
  .step { border-bottom: 1px solid var(--line) !important; padding: 24px 4px; }
  .step:last-child { border-bottom: none !important; }
  .step__num { font-size: 34px; }

  .tariffs__table thead { display: none; }
  .tariffs__table tr { display: block; padding: 8px 0; }
  .tariffs__table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    border: none;
    font-size: 14px;
  }
  .tariffs__table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #9aa6bc;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
  .tariffs__table tr + tr { border-top: 1px solid rgba(255,255,255,.08); }
  .tariffs__notes { flex-direction: column; align-items: stretch; }
  .tariffs__note { border-radius: 10px; text-align: left; }

  .geo__chips span { font-size: 13px; padding: 8px 12px; }

  .cta { padding-bottom: 24px; }
  .cta__card { padding: 28px 18px; margin-inline: 0; border-radius: var(--radius-lg); }
  .cta__phone-block { align-items: stretch; }
  .cta__phone { white-space: normal; font-size: 26px; }
  .cta__list { gap: 8px 14px; }

  .call-fab { display: grid; }
  .to-top { bottom: 84px; }

  .modal {
    padding: 0;
    align-items: flex-end;
    overflow: hidden;
  }
  .modal.is-open {
    display: flex;
  }
  .modal__dialog {
    width: 100%;
    max-width: 100%;
    max-height: min(92dvh, 92vh);
    margin: 0;
    border-radius: 16px 16px 0 0;
    padding: 22px 16px calc(20px + env(safe-area-inset-bottom, 0px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(24px);
  }
  .modal.is-open .modal__dialog {
    transform: none;
  }
  .modal__dialog h2 {
    font-size: 22px;
    padding-right: 36px;
  }
  .modal__lead {
    font-size: 14px;
    margin-bottom: 14px;
  }
  .modal__summary {
    padding: 10px 12px;
  }
  .modal__summary-list li {
    flex-wrap: wrap;
    gap: 4px 10px;
  }
  .modal__summary-list li strong {
    max-width: 100%;
    word-break: break-word;
  }
  .modal__summary-price {
    font-size: 18px;
  }
  .modal__field input {
    font-size: 16px;
    max-width: 100%;
  }
  .modal__close {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 400px) {
  .logo__text { font-size: 15px; }
  .logo__icon { width: 36px; height: 36px; }
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 18, 32, .55);
  backdrop-filter: blur(4px);
}
.modal__dialog {
  position: relative;
  width: min(100%, 420px);
  max-width: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-calc);
  padding: 32px 28px 28px;
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
  box-sizing: border-box;
  overflow-x: hidden;
}
.modal.is-open .modal__dialog {
  transform: none;
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: var(--muted);
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--paper); color: var(--ink); }
.modal__close svg { width: 18px; height: 18px; }

.modal__eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 10px;
}
.modal__dialog h2 {
  font-size: 26px;
  margin-bottom: 8px;
}
.modal__lead {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 18px;
  line-height: 1.5;
}
.modal__summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  margin-bottom: 16px;
}
.modal__summary-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.modal__summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.modal__summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.modal__summary-list li span { color: var(--muted); font-weight: 600; }
.modal__summary-list li strong {
  font-weight: 700;
  color: var(--ink);
  text-align: right;
}
.modal__summary-price {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.modal__form { display: flex; flex-direction: column; gap: 14px; }
.modal__field { display: flex; flex-direction: column; gap: 6px; }
.modal__field span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.modal__field input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 16px;
  font-weight: 600;
  transition: border-color .15s, background .15s;
}
.modal__field input:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.modal__field input::placeholder { color: var(--muted); font-weight: 500; }
.modal__submit {
  width: 100%;
  margin-top: 4px;
  flex-direction: row;
  font-size: 16px;
}

.modal__success {
  text-align: center;
  padding: 12px 0 4px;
}
.modal__success-icon {
  width: 56px; height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--ok);
  display: grid;
  place-items: center;
  font-size: 24px;
  font-weight: 800;
}
.modal__success h2 { margin-bottom: 8px; }
.modal__success p {
  color: var(--slate);
  font-size: 15px;
  margin-bottom: 22px;
}
.modal__success .btn { width: 100%; flex-direction: row; }

body.modal-open { overflow: hidden; }
