/* ==========================================================================
   Onway — дизайн система
   Бяло · светло сиво · жълт акцент. Шрифт: Onest (кирилица с класически начертания).
   ========================================================================== */

/* 1. Токени ---------------------------------------------------------------- */
:root {
  /* Цвят */
  --white: #ffffff;
  --paper: #f5f5f3;
  --paper-2: #ecece9;
  --line: #e4e4e0;
  --line-strong: #cdcdc8;
  --ink: #0e0f11;
  --ink-2: #1c1e22;
  --text: #17181b;
  --text-2: #4d5057;
  --text-3: #6a6d74;
  --yellow: #ffd100;
  --yellow-600: #f0c400;
  --yellow-100: #fff3b8;
  --yellow-50: #fffbe3;
  --ok: #17794a;
  --err: #c2271c;
  --err-bg: #fdf0ee;

  /* Карта */
  --map-bg: #efefec;
  --map-urban: #e7e7e3;
  --map-road: #ffffff;
  --map-case: #d8d8d3;
  --map-label: #8b8e94;

  /* Типография */
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-hero: clamp(1.875rem, 1.45rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --fs-h2: clamp(1.5rem, 1.22rem + 1.15vw, 2.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-h4: 1.0625rem;
  --fs-lead: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-body: 1rem;
  --fs-sm: 0.9063rem;
  --fs-xs: 0.7813rem;

  /* Пространство и форма */
  --container: 1320px;
  --gutter: clamp(16px, 3vw, 32px);
  --section: clamp(48px, 6vw, 84px);
  --header-h: 64px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: clamp(18px, 2vw, 26px);
  --r-pill: 999px;

  /* Сенки */
  --shadow-sm: 0 1px 2px rgba(14, 15, 17, 0.06), 0 1px 1px rgba(14, 15, 17, 0.04);
  --shadow-md: 0 1px 2px rgba(14, 15, 17, 0.05), 0 10px 28px -12px rgba(14, 15, 17, 0.18);
  --shadow-lg: 0 2px 4px rgba(14, 15, 17, 0.04), 0 28px 64px -24px rgba(14, 15, 17, 0.28);

  /* Движение */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 620ms;

  /* Слоеве */
  --z-header: 100;
  --z-overlay: 300;
}

@media (min-width: 1100px) {
  :root { --header-h: 68px; }
}

/* 2. Основа ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--ink);
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { touch-action: manipulation; }
:where(ul[class], ol[class], dl[class]) { list-style: none; margin: 0; padding: 0; }
dd { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--yellow); }
main:focus { outline: none; }

::selection { background: var(--yellow); color: var(--ink); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-pill);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.icon {
  width: 1.25em; height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* 3. Оформление ------------------------------------------------------------ */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }

.panel {
  margin-inline: clamp(8px, 1.2vw, 16px);
  padding-block: var(--section);
  background: var(--paper);
  border-radius: var(--r-xl);
}
.panel--ink { background: var(--ink); color: rgba(255, 255, 255, 0.74); }
.panel--ink h2, .panel--ink h3, .panel--ink h4 { color: var(--white); }
.panel--yellow { background: var(--yellow); color: var(--ink); }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.section-head__title { font-size: var(--fs-h2); max-width: 24ch; }
.section-head__text { max-width: 52ch; font-size: var(--fs-lead); color: var(--text-2); }
.panel--ink .section-head__text { color: rgba(255, 255, 255, 0.72); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 48px; }
  .section-head--stack { grid-template-columns: 1fr; }
}

/* 4. Типографски помощници -------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before {
  content: "";
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px var(--ink);
}
.panel--ink .eyebrow, .on-dark .eyebrow { color: var(--white); }
.panel--ink .eyebrow::before, .on-dark .eyebrow::before { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22); }
.panel--yellow .eyebrow::before { background: var(--white); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }
.muted { color: var(--text-3); }
.small { font-size: var(--fs-sm); }

.mark {
  padding: 0 0.14em;
  margin: 0 -0.06em;
  background: var(--yellow);
  color: var(--ink);
  border-radius: 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* 5. Бутони и етикети ------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease, transform var(--dur-1) ease;
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .icon--go { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--yellow); --btn-fg: var(--ink); }
.btn--primary:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.on-dark .btn--primary:hover, .panel--ink .btn--primary:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }

.btn--dark:hover { --btn-bg: #2b2d32; }
.panel--yellow .btn--dark:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--paper); border-color: var(--ink); }

.btn--light { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: var(--white); border-color: rgba(255, 255, 255, 0.22); }
.btn--light:hover { --btn-bg: var(--white); --btn-fg: var(--ink); }

.btn--sm { min-height: 40px; padding: 7px 16px; font-size: 0.875rem; gap: 8px; }
.btn--lg { min-height: 52px; padding: 11px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--btn-fg);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn--primary.is-loading::after { border-color: var(--ink); border-right-color: transparent; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 10px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 1px no-repeat;
}
.link-arrow .icon { transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.panel--ink .link-arrow, .on-dark .link-arrow { color: var(--white); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: var(--paper-2);
  color: var(--ink);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--yellow { background: var(--yellow); }
.tag--dark { background: var(--ink); color: var(--white); }
.tag--line { background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); }
.on-dark .tag--line, .panel--ink .tag--line { color: var(--white); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3); }

.pulse {
  position: relative;
  display: inline-block;
  width: 9px; height: 9px;
  flex: none;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 2px var(--ink);
}
.pulse::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  animation: ping 2s var(--ease-out) infinite;
}
.pulse--done { background: var(--ok); }
.pulse--done::after, .is-paused .pulse::after { animation: none; opacity: 0; }

@keyframes ping { from { transform: scale(1); opacity: 0.55; } to { transform: scale(3.2); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* 6. Хедър и мега меню ------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2) ease;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
}
.site-header[data-scrolled], .nav-open .site-header { border-bottom-color: var(--line); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; padding-block: 8px; color: var(--ink); text-decoration: none; }
.logo { display: block; height: 30px; width: auto; aspect-ratio: 246 / 63; overflow: visible; }
.logo--tld { aspect-ratio: 290 / 63; }
.logo__tld { font-family: var(--font-sans); font-size: 25px; font-weight: 700; letter-spacing: -0.01em; fill: var(--text-2); stroke: none; }
@media (min-width: 1100px) { .logo { height: 34px; } }
/* Оптично центриране: опашката на „y“ виси под буквите, затова тялото на
   надписа е 15% над средата на рамката – сваляме логото с толкова. */
.brand .logo { transform: translateY(15%); }

.site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: none;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.icon--chev { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.has-mega.is-open > .site-nav__link .icon--chev { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header-phone {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 10px;
  font-weight: 700;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.header-phone:hover { text-decoration: underline; }

.nav-toggle {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-right: -10px;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 22px; height: 12px; }
.nav-toggle__bars i {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out);
}
.nav-toggle__bars i:first-child { top: 0; }
.nav-toggle__bars i:last-child { top: 10px; }
.nav-open .nav-toggle__bars i:first-child { top: 5px; transform: rotate(45deg); }
.nav-open .nav-toggle__bars i:last-child { top: 5px; transform: rotate(-45deg); }

/* Мега меню: общи части */
.mega-col__head { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; text-decoration: none; color: var(--ink); }
.mega-col__icon {
  grid-row: span 2;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper);
  transition: background-color var(--dur-1) ease;
}
.mega-col__icon .icon { width: 22px; height: 22px; }
.mega-col__title { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; line-height: 1.2; }
.mega-col__desc { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.35; }
.mega-col__head:hover .mega-col__icon { background: var(--yellow); }
.mega-col__links a {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 40px;
  padding: 6px 10px;
  margin-inline: -10px;
  border-radius: 10px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-2);
  text-decoration: none;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.mega-col__links a:hover { background: var(--paper); color: var(--ink); }
.mega-col__links .tag { font-size: 0.6875rem; padding: 3px 8px; }

.mega-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: background-color var(--dur-1) ease;
}
.mega-card:hover { background: var(--paper-2); }
.mega-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.1; letter-spacing: -0.01em; }
.mega-card__text { font-size: var(--fs-sm); color: var(--text-2); line-height: 1.45; }
.mega-card .link-arrow { margin-top: auto; align-self: flex-start; background: none; padding-bottom: 0; }
.mega-card--ink { background: var(--ink); color: var(--white); }
.mega-card--ink:hover { background: var(--ink-2); }
.mega-card--ink .mega-card__text { color: rgba(255, 255, 255, 0.72); }
.mega-card--ink .link-arrow { color: var(--yellow); }
.mega-card--yellow { background: var(--yellow); }
.mega-card--yellow:hover { background: var(--yellow-600); }
.mega-card--yellow .mega-card__text { color: var(--ink); }

.mega-photo {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 4px;
  min-height: 220px; height: 100%;
  padding: 18px;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.mega-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.mega-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 17, 0) 28%, rgba(14, 15, 17, 0.88) 100%); }
.mega-photo:hover img { transform: scale(1.05); }
.mega-photo .tag { position: absolute; top: 14px; left: 14px; }
.mega-photo__title { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; line-height: 1.15; }
.mega-photo__text { font-size: var(--fs-xs); color: rgba(255, 255, 255, 0.84); }

.mega__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  font-size: var(--fs-sm);
  color: var(--text-2);
}
.mega__foot a { font-weight: 700; color: var(--ink); }

/* Мобилна навигация */
@media (max-width: 1099.98px) {
  .site-nav {
    position: fixed;
    inset: var(--nav-top, var(--header-h)) 0 0 0;
    padding: 8px var(--gutter) 40px;
    background: var(--white);
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur-2) ease, transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-open { overflow: hidden; }

  .site-nav__item { border-bottom: 1px solid var(--line); }
  .site-nav__link { width: 100%; justify-content: space-between; min-height: 56px; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; text-align: left; }
  .site-nav__link .icon--chev { width: 22px; height: 22px; }

  .mega { display: none; padding-bottom: 20px; }
  .has-mega.is-open > .mega { display: block; animation: fade-up var(--dur-2) var(--ease-out); }
  .mega__panel { display: grid; gap: 20px; }
  .mega__grid { display: grid; gap: 22px; }
  .mega-col { display: grid; gap: 6px; }
  .mega-col__links { padding-left: 58px; }
  .mega__aside { display: grid; gap: 10px; }
  .mega__foot { padding-top: 4px; }

  .site-nav__mobile { display: grid; gap: 10px; padding-top: 24px; }
  .header-actions .btn--ghost, .header-actions .btn--primary { display: none; }
}
@media (max-width: 1099.98px) and (min-width: 560px) {
  .header-actions .btn--primary { display: inline-flex; }
}

/* Десктоп навигация */
@media (min-width: 1100px) {
  .nav-toggle, .site-nav__mobile { display: none; }
  .header-phone { display: inline-flex; }
  .site-header__inner { gap: 28px; }
  .site-nav { margin-left: 12px; }
  .site-nav__list { display: flex; align-items: center; gap: 2px; }
  .site-nav__link {
    min-height: 44px;
    padding: 8px 14px;
    border-radius: var(--r-pill);
    font-size: var(--fs-sm);
    transition: background-color var(--dur-1) ease;
  }
  .site-nav__link:hover, .has-mega.is-open > .site-nav__link { background: var(--paper); }
  .site-nav__link[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--line-strong); }

  .mega {
    position: absolute;
    left: 0; right: 0; top: 100%;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--dur-1) ease, transform var(--dur-1) ease, visibility 0s linear var(--dur-1);
  }
  .has-mega.is-open > .mega {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: opacity var(--dur-2) ease, transform var(--dur-2) var(--ease-out), visibility 0s;
  }
  .mega__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 12px;
    width: min(100% - (var(--gutter) * 2), var(--container));
    margin-inline: auto;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
  }
  .mega__panel--narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 300px; width: min(100% - (var(--gutter) * 2), 980px); }
  .mega__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .mega-col { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 14px; border-radius: var(--r-md); transition: background-color var(--dur-2) ease; }
  .mega-col:hover { background: #fafaf8; }
  .mega-col__head { grid-template-columns: 1fr; row-gap: 4px; }
  .mega-col__icon { grid-row: auto; margin-bottom: 10px; }
  .mega-col__links { padding-top: 10px; border-top: 1px solid var(--line); }
  .mega__aside { display: grid; gap: 12px; }
  .mega__foot { grid-column: 1 / -1; padding: 12px 20px 8px; border-top: 1px solid var(--line); }
  .mega-list { display: grid; gap: 2px; padding: 10px; }
  .mega-list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; text-decoration: none; transition: background-color var(--dur-1) ease; }
  .mega-list a:hover { background: var(--paper); }
}
.mega-list a strong { font-family: var(--font-display); font-size: 1.0313rem; letter-spacing: -0.01em; color: var(--ink); }
.mega-list a span { font-size: var(--fs-sm); color: var(--text-3); line-height: 1.4; }
@media (max-width: 1099.98px) {
  .mega-list { display: grid; }
  .mega-list a { display: grid; gap: 2px; padding: 10px 0; text-decoration: none; }
}

/* 7. Херо ------------------------------------------------------------------ */
.hero { padding-block: clamp(16px, 2.5vw, 32px) clamp(40px, 6vw, 72px); }
.hero__grid { display: grid; gap: clamp(28px, 4vw, 48px); }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; padding-top: clamp(16px, 4vw, 48px); }
.hero__title { font-size: var(--fs-hero); font-weight: 800; line-height: 1.02; letter-spacing: -0.022em; }
.hero__kicker {
  display: block;
  margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--font-sans);
  font-size: clamp(0.9375rem, 0.9rem + 0.25vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--text-2);
}
.hero__title .line { display: block; overflow: hidden; padding-block: 0.06em 0.14em; margin-block: -0.06em -0.14em; }
.hero__title .line > span { display: inline-block; animation: rise 1s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 60ms); }
.hero__lead { max-width: 46ch; margin-top: clamp(22px, 3vw, 36px); font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(24px, 3vw, 40px); }
.hero__facts {
  display: grid;
  width: 100%;
  margin-top: auto;
  padding-top: clamp(36px, 5vw, 64px);
}
.hero__facts li { padding-block: 14px; border-top: 1px solid var(--line-strong); font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); }
.hero__facts strong { display: block; margin-bottom: 2px; font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -0.01em; color: var(--ink); }
@media (min-width: 600px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hero__facts li { padding-bottom: 0; }
}
@media (max-width: 479.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

.hero__map {
  position: relative;
  min-height: 520px;
  border-radius: var(--r-xl);
  background: var(--map-bg);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); align-items: stretch; min-height: min(780px, calc(100svh - var(--header-h) - 48px)); }
  .hero__map { min-height: 600px; }
}

/* Карта */
.map-canvas { position: absolute; inset: 0; }
.map-canvas svg { width: 100%; height: 100%; }
.map-canvas text { font-family: var(--font-sans); user-select: none; pointer-events: none; }
.map-q { cursor: pointer; }
.map-q circle { transition: r var(--dur-1) ease, fill var(--dur-1) ease; }
.map-q:hover circle { fill: var(--ink); }

.map-top {
  position: absolute;
  top: 16px; left: 16px; right: 16px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.map-dest {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 8px 14px 8px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.map-dest__label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.map-dest select {
  font-size: 1rem !important;
  appearance: none;
  -webkit-appearance: none;
  max-width: 100%;
  min-height: 28px;
  padding: 0 26px 0 0;
  border: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 18px no-repeat;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.map-ctrl {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  flex: none;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background-color var(--dur-1) ease;
}
.map-ctrl:hover { background: var(--yellow); }
.map-ctrl .icon { width: 20px; height: 20px; }
.map-ctrl .i-play, .map-ctrl[aria-pressed="true"] .i-pause { display: none; }
.map-ctrl[aria-pressed="true"] .i-play { display: block; }

.track-card {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 2;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 560px) { .track-card { right: auto; width: 348px; left: 20px; bottom: 20px; } .map-top { top: 20px; left: 20px; right: 20px; } }
.track-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.track-card__route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: var(--fs-sm); color: var(--text-2); }
.track-card__route strong { color: var(--ink); }
.track-card__route .icon { width: 14px; height: 14px; }
.track-card__eta { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.track-card__eta .num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.track-card__eta .unit { font-family: var(--font-display); font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.progress { position: relative; height: 6px; margin-top: 12px; border-radius: 6px; background: var(--paper-2); overflow: hidden; }
.progress > span { position: absolute; inset: 0; transform-origin: left center; transform: scaleX(0); background: var(--ink); border-radius: 6px; }
.track-card__meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.track-card__meta dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.track-card__meta dd { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }

/* 8. Плочки (направления) --------------------------------------------------- */
.bento { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--text-2);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
}
.tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(22px, 2.6vw, 34px); flex: 1; }
.tile__label { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.tile__title { font-size: var(--fs-h3); max-width: 16ch; }
.tile__text { max-width: 38ch; font-size: var(--fs-sm); line-height: 1.5; }
.tile__go {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.tile:hover .tile__go { transform: translateX(6px); background: var(--yellow); color: var(--ink); }
.tile__media { position: absolute; inset: 0; z-index: 0; }
.tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.04); }

.tile--photo { min-height: 380px; color: rgba(255, 255, 255, 0.86); background: var(--ink); }
.tile--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 15, 17, 0.72) 0%, rgba(14, 15, 17, 0.16) 46%, rgba(14, 15, 17, 0.5) 100%); }
.tile--photo .tile__label, .tile--photo .tile__title { color: var(--white); }
.tile--photo .tile__go { background: var(--yellow); color: var(--ink); }
.tile--ink { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.tile--ink .tile__label, .tile--ink .tile__title { color: var(--white); }
.tile--ink .tile__go { background: var(--white); color: var(--ink); }
.tile--yellow { background: var(--yellow); color: var(--ink); }
.tile--yellow:hover .tile__go { background: var(--white); }
.tile__art { position: absolute; right: 0; bottom: 0; z-index: 0; width: min(62%, 420px); pointer-events: none; }

@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bento > :nth-child(1) { grid-column: span 4; }
  .bento > :nth-child(2) { grid-column: span 2; }
  .bento > :nth-child(3) { grid-column: span 2; }
  .bento > :nth-child(4) { grid-column: span 4; }
  .tile--photo { min-height: 420px; }
}

/* 9. Табове ---------------------------------------------------------------- */
.tabs__list { display: inline-flex; max-width: 100%; padding: 5px; gap: 4px; background: var(--white); border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); overflow-x: auto; }
.tabs__tab {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 42px;
  padding: 6px 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-1) ease, color var(--dur-1) ease;
}
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.tabs__panel { margin-top: clamp(24px, 3vw, 40px); }
.tabs__panel:focus-visible { outline-offset: 8px; border-radius: var(--r-md); }

/* 10. Форми ---------------------------------------------------------------- */
.field { display: grid; gap: 7px; min-width: 0; }
.field__label, .calc__legend { font-size: var(--fs-sm); font-weight: 700; color: var(--ink); }
.field__label .req { color: var(--err); }
.field__opt { font-weight: 500; color: var(--text-3); }
.input, .select, .textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease;
}
.textarea { min-height: 104px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
  text-overflow: ellipsis;
}
.input::placeholder, .textarea::placeholder { color: #8a8d93; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.4; }
.field__error { margin-top: 2px; font-size: var(--fs-xs); font-weight: 600; color: var(--err); line-height: 1.4; }
.field__error::before { content: "! "; font-weight: 800; }
.listing-head { display: grid; gap: 14px; padding-block: clamp(20px, 3vw, 36px) clamp(24px, 3vw, 40px); }
.listing-head__title { font-size: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem); font-weight: 800; letter-spacing: -0.025em; }
.feature__art { width: 104px; height: 46px; margin-bottom: 14px; color: var(--ink); }
.field.is-invalid .input, .field.is-invalid .select, .field.is-invalid .textarea { border-color: var(--err); background: var(--err-bg); }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 8px; font-size: var(--fs-sm); line-height: 1.45; color: var(--text-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; }
.check__box { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--white); transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease; }
.check__box .icon { width: 16px; height: 16px; stroke-width: 2.5; opacity: 0; transform: scale(0.6); transition: opacity var(--dur-1) ease, transform var(--dur-1) var(--ease-out); }
.check input:checked + .check__box { background: var(--yellow); border-color: var(--ink); }
.check input:checked + .check__box .icon { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.check:hover .check__box { border-color: var(--ink); }
.check.is-invalid .check__box { border-color: var(--err); background: var(--err-bg); }
.check a { color: var(--ink); font-weight: 600; }

.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .span-2 { grid-column: 1 / -1; } }

.form-card { padding: clamp(20px, 2.6vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.form-card__title { font-size: var(--fs-h3); margin-bottom: 8px; }
.form-card__text { margin-bottom: 28px; color: var(--text-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-note { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.45; }

.error-summary { display: none; margin-bottom: 24px; padding: 16px 18px; border: 1px solid var(--err); border-radius: var(--r-md); background: var(--err-bg); color: var(--err); font-size: var(--fs-sm); }
.error-summary.is-visible { display: block; }
.error-summary strong { display: block; margin-bottom: 6px; }
.error-summary ul { margin: 0; padding-left: 18px; }
.error-summary a { color: inherit; font-weight: 600; }

.form-success { display: grid; justify-items: start; gap: 14px; padding: clamp(8px, 2vw, 20px) 0; }
.form-success__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.25; }
.form-success h3 { font-size: var(--fs-h3); }
.form-success p { color: var(--text-2); max-width: 48ch; }

/* Сегментиран избор */
.segmented { display: inline-flex; flex-wrap: wrap; max-width: 100%; padding: 4px; gap: 2px; background: var(--paper-2); border-radius: 26px; }
.segmented label { position: relative; flex: 1 1 auto; }
.segmented input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 40px; padding: 6px 14px; border-radius: 22px; font-size: var(--fs-sm); font-weight: 700; color: var(--text-2); text-align: center; white-space: nowrap; transition: background-color var(--dur-1) ease, color var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.segmented input:checked + span { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.segmented small { display: block; font-size: 0.6875rem; font-weight: 600; color: var(--text-3); letter-spacing: 0.02em; }

/* Карти за избор (радио) */
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 760px) { .choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.choice { position: relative; display: block; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice__box {
  position: relative;
  display: flex; flex-direction: column; gap: 4px;
  height: 100%;
  padding: 14px 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--white);
  transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease, background-color var(--dur-1) ease;
}
.choice__art { width: 76px; height: 34px; margin-bottom: 8px; color: var(--ink); }
.choice__name { font-weight: 700; line-height: 1.25; color: var(--ink); }
.choice__meta { font-size: var(--fs-xs); line-height: 1.35; color: var(--text-3); }
.choice__tick { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); }
.choice__tick .icon { width: 13px; height: 13px; stroke-width: 3; opacity: 0; }
.choice:hover .choice__box { border-color: var(--ink); }
.choice input:checked + .choice__box { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--yellow-50); }
.choice input:checked + .choice__box .choice__tick { background: var(--yellow); border-color: var(--ink); }
.choice input:checked + .choice__box .choice__tick .icon { opacity: 1; }
.choice input:focus-visible + .choice__box { outline: 2px solid var(--ink); outline-offset: 3px; }
.choice input:disabled + .choice__box { opacity: 0.42; background: var(--paper); }
.choice input:disabled { cursor: not-allowed; }

/* Брояч */
.stepper { display: inline-grid; grid-template-columns: 44px minmax(40px, 1fr) 44px; align-items: center; width: 100%; max-width: 156px; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); }
.stepper button { display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border: 0; border-radius: 50%; background: none; cursor: pointer; transition: background-color var(--dur-1) ease; }
.stepper button:hover:not(:disabled) { background: var(--paper-2); }
.stepper button:disabled { opacity: 0.3; cursor: not-allowed; }
.stepper button .icon { width: 18px; height: 18px; stroke-width: 2.25; }
.stepper input { width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: center; font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline: none; }
.stepper:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }

/* 11. Калкулатор ----------------------------------------------------------- */
.calc { display: grid; gap: clamp(20px, 2.4vw, 32px); }
@media (min-width: 1000px) {
  .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
  .calc__summary { position: sticky; top: calc(var(--header-h) + 20px); }
}
.calc__form { display: grid; gap: 14px; }
.calc__group { display: grid; gap: 12px; padding: clamp(16px, 1.8vw, 22px); border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.panel .calc__group { border-color: transparent; }
.calc__legend { float: left; width: 100%; margin-bottom: 10px; font-family: var(--font-display); font-size: 1.0625rem; letter-spacing: -0.01em; }
.calc__legend + * { clear: both; }
.calc__legend small { margin-left: 8px; font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; color: var(--text-3); }

.route-fields { display: grid; gap: 10px; align-items: end; }
.swap-btn { display: grid; place-items: center; width: 48px; height: 48px; justify-self: center; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); cursor: pointer; transition: background-color var(--dur-1) ease, transform var(--dur-2) var(--ease-out), border-color var(--dur-1) ease; }
.swap-btn:hover { background: var(--yellow); border-color: var(--ink); transform: rotate(180deg); }
@media (min-width: 640px) { .route-fields { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); } .swap-btn { margin-bottom: 2px; } .swap-btn .icon { transform: rotate(90deg); } }

.calc__row { display: grid; gap: 16px; }
@media (min-width: 560px) { .calc__row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .calc__row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.calc__more { display: grid; gap: 16px; padding-top: 16px; border-top: 1px dashed var(--line-strong); animation: fade-up var(--dur-2) var(--ease-out); }

.calc__summary { display: grid; gap: 12px; }
.calc__map { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); background: var(--map-bg); overflow: hidden; isolation: isolate; }
.calc__map .map-chip { position: absolute; left: 14px; top: 14px; z-index: 2; }
[data-calc-nomap] .calc__map { display: none; }
.calc__map [data-bg-map] { padding: 10px; }

.quote { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: var(--ink); color: rgba(255, 255, 255, 0.74); }
.quote__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.74); }
.quote__price { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.quote__price .num { font-size: clamp(2.5rem, 2.1rem + 1.6vw, 3.5rem); }
.quote__price .cur { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem); }
.quote__sub { margin-top: 6px; font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.74); }
.quote__meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; padding-block: 16px; border-block: 1px solid rgba(255, 255, 255, 0.14); }
.quote__meta dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.quote__meta dd { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.quote__lines { display: grid; margin-top: 8px; }
.quote__lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-block: 7px; font-size: var(--fs-sm); }
.quote__lines li span:last-child { color: var(--white); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.quote__actions { display: grid; gap: 10px; margin-top: 20px; }
.quote__note { margin-top: 14px; font-size: var(--fs-xs); line-height: 1.45; color: rgba(255, 255, 255, 0.6); }
.quote__form { display: grid; gap: 14px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.14); animation: fade-up var(--dur-2) var(--ease-out); }
.quote .field__label { color: var(--white); }
.quote .input { border-color: transparent; }
.quote .input:focus-visible { box-shadow: 0 0 0 3px var(--yellow); }
.quote .field__error { color: #ffb4ab; }
.quote .check { color: rgba(255, 255, 255, 0.74); }
.quote .check a { color: var(--white); }
.quote .form-success h3 { color: var(--white); }
.quote .form-success p { color: rgba(255, 255, 255, 0.74); }

.map-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-sm); font-size: var(--fs-xs); font-weight: 700; color: var(--ink); }

/* 12. Стъпки --------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: step; }
.step { position: relative; display: grid; gap: 6px; padding: 20px 0 20px 56px; border-top: 1px solid var(--line-strong); counter-increment: step; }
.step::before {
  content: counter(step);
  position: absolute; left: 0; top: 18px;
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.0625rem;
}
.step__title { font-size: var(--fs-h3); }
.step__text { max-width: 44ch; color: var(--text-2); }
.panel--ink .step { border-top-color: rgba(255, 255, 255, 0.16); }
.panel--ink .step::before { background: var(--yellow); color: var(--ink); }
.panel--ink .step__text { color: rgba(255, 255, 255, 0.72); }
@media (min-width: 900px) {
  .steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); }
  .step { padding: 60px 0 0; border-top: 0; }
  .step::before { top: 0; }
  .step::after { content: ""; position: absolute; left: 52px; right: calc(clamp(24px, 3vw, 48px) * -1 + 14px); top: 18px; border-top: 2px dashed var(--line-strong); }
  .step:last-child::after { display: none; }
  .panel--ink .step::after { border-top-color: rgba(255, 255, 255, 0.24); }
}

/* 13. Разделено съдържание -------------------------------------------------- */
.split { display: grid; gap: clamp(28px, 4vw, 72px); align-items: center; }
.split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--paper); }
.split__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__title { font-size: var(--fs-h2); max-width: 16ch; }
.split__text { margin-top: 14px; max-width: 50ch; font-size: var(--fs-lead); color: var(--text-2); }
@media (min-width: 900px) {
  .split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split--reverse .split__media { order: 2; }
  .split__media img { aspect-ratio: 5 / 4.4; }
}
.media-note { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); font-size: var(--fs-sm); line-height: 1.35; color: var(--text-2); }
.media-note strong { display: block; color: var(--ink); }
@media (min-width: 560px) { .media-note { right: auto; max-width: 320px; } }

.checklist { display: grid; margin-top: 20px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line-strong); }
.checklist li:last-child { border-bottom: 1px solid var(--line-strong); }
.checklist__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--yellow); color: var(--ink); }
.checklist__icon .icon { width: 20px; height: 20px; }
.checklist strong { display: block; font-family: var(--font-display); font-size: 1.0313rem; letter-spacing: -0.01em; color: var(--ink); }
.checklist span { color: var(--text-2); font-size: var(--fs-sm); }
.panel--ink .checklist li { border-color: rgba(255, 255, 255, 0.16); }
.panel--ink .checklist strong { color: var(--white); }
.panel--ink .checklist span { color: rgba(255, 255, 255, 0.72); }

/* 14. Мрежа с предимства ---------------------------------------------------- */
.features { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2vw, 26px); background: var(--white); transition: background-color var(--dur-2) ease; }
.feature:hover { background: #fafaf8; }
.feature__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 8px; border-radius: 14px; background: var(--paper); color: var(--ink); transition: background-color var(--dur-2) ease; }
.feature:hover .feature__icon { background: var(--yellow); }
.feature__icon .icon { width: 24px; height: 24px; }
.feature__title { font-size: 1.0938rem; }
.feature__text { font-size: var(--fs-sm); line-height: 1.55; color: var(--text-2); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .features--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 15. Автомобили ----------------------------------------------------------- */
.vehicle { display: grid; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.vehicle__media { position: relative; background: var(--paper-2); }
.vehicle__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vehicle__badges { position: absolute; top: 16px; left: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.vehicle__body { display: flex; flex-direction: column; gap: 14px; padding: clamp(18px, 2.4vw, 32px); }
.vehicle__title { font-size: var(--fs-h3); }
.vehicle__sub { color: var(--text-2); }
.vehicle__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 8px; }
.vehicle__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .vehicle { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } .vehicle__media img { aspect-ratio: auto; position: absolute; inset: 0; } .vehicle__media { min-height: 380px; } }

.price { display: grid; gap: 2px; }
.price__value { font-family: var(--font-display); font-size: clamp(1.75rem, 1.5rem + 1vw, 2.375rem); font-weight: 800; line-height: 1; letter-spacing: -0.025em; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__note { font-size: var(--fs-sm); color: var(--text-3); }

.spec-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.spec-chips > div { display: grid; gap: 2px; padding: 10px 14px; background: var(--white); }
.spec-chips dt { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.spec-chips dd { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 560px) { .spec-chips--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.specs { display: grid; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding-block: 10px; border-top: 1px solid var(--line); }
.specs > div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { color: var(--text-2); }
.specs dd { font-weight: 700; color: var(--ink); text-align: right; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.equip { display: grid; gap: 28px; }
@media (min-width: 640px) { .equip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.equip h3 { font-size: 1.1875rem; margin-bottom: 12px; }
.equip li { position: relative; padding: 6px 0 6px 26px; font-size: var(--fs-sm); color: var(--text-2); }
.equip li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }

.listing { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 1000px) { .listing { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; } .listing__aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.listing__main { display: grid; gap: clamp(36px, 5vw, 64px); min-width: 0; }
.listing__block h2 { font-size: var(--fs-h3); margin-bottom: 20px; }
.buy-box { display: grid; gap: 20px; padding: clamp(22px, 2.6vw, 30px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.buy-box__actions { display: grid; gap: 10px; }

/* Галерия */
.gallery { display: grid; gap: 10px; min-width: 0; }
.gallery__main { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--paper-2); overflow: hidden; cursor: zoom-in; }
.gallery__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; }
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 88px; gap: 8px; padding: 3px; margin: -3px; overflow-x: auto; scrollbar-width: thin; }
.gallery__thumb { padding: 0; border: 0; border-radius: 10px; background: var(--paper-2); overflow: hidden; cursor: pointer; opacity: 0.62; transition: opacity var(--dur-1) ease; }
.gallery__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__thumb:hover, .gallery__thumb[aria-current="true"] { opacity: 1; }
.gallery__thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--ink); }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(14, 15, 17, 0.96); color: var(--white); }
.lightbox::backdrop { background: rgba(14, 15, 17, 0.9); }
.lightbox__inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 64px 16px; }
.lightbox__img { width: auto; height: auto; max-width: calc(100vw - 32px); max-height: calc(100dvh - 128px); object-fit: contain; border-radius: 8px; }
.lightbox__btn { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: var(--white); cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.lightbox__btn:hover { background: var(--yellow); color: var(--ink); }
.lightbox__btn--close { top: 12px; right: 12px; }
.lightbox__btn--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--prev .icon { transform: rotate(180deg); }
.lightbox__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: var(--fs-sm); font-weight: 700; font-variant-numeric: tabular-nums; }

/* 16. Тъмна лента / аудитории ------------------------------------------------ */
.audience { display: grid; gap: clamp(12px, 1.4vw, 20px); }
.audience__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(20px, 2.4vw, 30px); border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.audience__card--yellow { background: var(--yellow); color: var(--ink); box-shadow: none; }
.audience__card--yellow h3 { color: var(--ink); }
.audience__title { font-size: var(--fs-h3); max-width: 16ch; }
.audience__list { display: grid; gap: 8px; margin-block: 6px 12px; }
.audience__list li { position: relative; padding-left: 26px; font-size: var(--fs-sm); }
.audience__list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.audience__card .btn { margin-top: auto; }
@media (min-width: 800px) { .audience { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 17. ЧЗВ ------------------------------------------------------------------ */
.faq { display: grid; }
.faq__item { border-top: 1px solid var(--line-strong); }
.faq__item:last-child { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 58px; padding-block: 12px; font-family: var(--font-display); font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 18px no-repeat; transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1) ease; }
.faq__item summary:hover::after { background-color: var(--yellow); }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--yellow); }
.faq__a { max-width: 68ch; padding-bottom: 18px; font-size: var(--fs-sm); color: var(--text-2); }
.faq__a p + p { margin-top: 12px; }
.faq-layout { display: grid; gap: clamp(28px, 4vw, 64px); }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; } .faq-layout__head { position: sticky; top: calc(var(--header-h) + 32px); } }
.faq-layout__head h2 { font-size: var(--fs-h2); }
.faq-layout__head p { margin-top: 18px; color: var(--text-2); }
.faq-layout__head .btn { margin-top: 24px; }

/* 18. Финален призив -------------------------------------------------------- */
.cta { display: grid; gap: 20px; }
.cta__title { font-size: clamp(1.625rem, 1.35rem + 1.2vw, 2.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.cta__text { max-width: 44ch; font-size: var(--fs-lead); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; } }

/* 19. Вътрешни страници ----------------------------------------------------- */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding-top: clamp(16px, 2vw, 28px); font-size: var(--fs-sm); color: var(--text-3); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--text-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero { padding-block: clamp(18px, 2.6vw, 36px) clamp(32px, 4vw, 56px); }
.page-hero__grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: end; }
.page-hero__title { font-size: var(--fs-h1); font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; max-width: 18ch; }
.page-hero__lead { max-width: 54ch; margin-top: 14px; font-size: var(--fs-lead); line-height: 1.5; color: var(--text-2); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.page-hero__media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--paper); }
.page-hero__media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } .page-hero__grid--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .page-hero__media img { aspect-ratio: 5 / 4.4; } }

.page-hero--photo { position: relative; margin: 8px clamp(8px, 1.6vw, 24px) 0; padding: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); isolation: isolate; }
.page-hero--photo .page-hero__bg { position: absolute; inset: 0; z-index: -1; }
.page-hero--photo .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(245, 241, 233, 0.94) 0%, rgba(245, 241, 233, 0.78) 34%, rgba(245, 241, 233, 0) 62%); }
.page-hero--photo .page-hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(420px, 44vw, 560px); padding-block: clamp(24px, 4vw, 56px) clamp(32px, 5vw, 72px); }
.page-hero--photo .breadcrumbs { padding-top: 0; margin-bottom: auto; color: var(--text-2); }
.page-hero--photo .page-hero__title { max-width: 14ch; }
.page-hero--photo .page-hero__lead { max-width: 36ch; color: var(--text); }
.page-hero__title--sm { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.625rem); max-width: 16ch; }
@media (max-width: 799.98px) {
  .page-hero--photo::after { background: linear-gradient(180deg, rgba(245, 241, 233, 0.96) 0%, rgba(245, 241, 233, 0.9) 52%, rgba(245, 241, 233, 0.1) 86%); }
  .page-hero--photo .page-hero__bg img { object-position: 78% bottom; }
  .page-hero--photo .page-hero__inner { justify-content: flex-start; min-height: 600px; }
  .page-hero--photo .breadcrumbs { margin-bottom: 28px; }
}

.stat-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.stat-row > div { padding-top: 16px; border-top: 1px solid var(--line-strong); }
.stat-row dt { font-size: var(--fs-sm); color: var(--text-2); order: 2; }
.stat-row dd { font-family: var(--font-display); font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2.125rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-row > div { display: flex; flex-direction: column-reverse; gap: 6px; }
@media (min-width: 800px) { .stat-row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.panel--ink .stat-row > div { border-top-color: rgba(255, 255, 255, 0.2); }
.panel--ink .stat-row dd { color: var(--yellow); }
.panel--ink .stat-row dt { color: rgba(255, 255, 255, 0.72); }

.routes { width: 100%; border-collapse: collapse; }
.routes caption { text-align: left; }
.routes th, .routes td { padding: 11px 12px 11px 0; border-top: 1px solid var(--line-strong); text-align: left; vertical-align: baseline; }
.routes thead th { border-top: 0; padding-block: 0 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.routes tbody th { font-family: var(--font-display); font-size: 1.0313rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.routes td { color: var(--text-2); font-variant-numeric: tabular-nums; }
.routes td:last-child { padding-right: 0; text-align: right; font-weight: 700; color: var(--ink); white-space: nowrap; }
.routes tbody tr:last-child > * { border-bottom: 1px solid var(--line-strong); }
.routes tbody tr { transition: background-color var(--dur-1) ease; }
@media (max-width: 599.98px) { .routes .col-hide { display: none; } }
.table-wrap { overflow-x: auto; }

.two-col { display: grid; gap: clamp(28px, 4vw, 72px); }
@media (min-width: 1000px) { .two-col { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .two-col__sticky { position: sticky; top: calc(var(--header-h) + 32px); } }

.prose { max-width: 70ch; color: var(--text-2); }
.prose h2 { font-size: var(--fs-h3); margin: 44px 0 14px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.notice { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 20px; border-radius: var(--r-md); background: var(--yellow-100); color: var(--ink); font-size: var(--fs-sm); line-height: 1.5; }
.notice .icon { width: 22px; height: 22px; margin-top: 1px; }

.contact-cards { display: grid; gap: 12px; }
.contact-card { display: grid; gap: 4px; padding: 18px 20px; border-radius: var(--r-lg); background: var(--paper); text-decoration: none; color: var(--text-2); transition: background-color var(--dur-1) ease; }
a.contact-card:hover { background: var(--yellow); color: var(--ink); }
.contact-card__label { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
a.contact-card:hover .contact-card__label { color: var(--ink); }
.contact-card__value { font-family: var(--font-display); font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.4375rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

/* Стъпки на формата */
.form-steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 28px; }
.form-steps li { position: relative; padding-top: 14px; font-size: var(--fs-xs); font-weight: 700; color: var(--text-3); white-space: nowrap; }
.form-steps li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 4px; background: var(--paper-2); transition: background-color var(--dur-2) ease; }
.form-steps li.is-done::before { background: var(--ink); }
.form-steps li.is-current::before { background: var(--yellow); box-shadow: inset 0 0 0 1px var(--ink); }
.form-steps li.is-current, .form-steps li.is-done { color: var(--ink); }
.form-steps span { display: none; }
@media (min-width: 640px) { .form-steps span { display: inline; } }
.form-step { display: none; }
.form-step.is-active { display: block; animation: fade-up var(--dur-2) var(--ease-out); }
.form-step__title { font-size: 1.1875rem; margin-bottom: 16px; }
.form-step__title:focus { outline: none; }
.check-grid { display: grid; gap: 2px 18px; }
@media (min-width: 560px) { .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review { display: grid; margin-bottom: 20px; }
.review > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 12px; padding-block: 10px; border-top: 1px solid var(--line); font-size: var(--fs-sm); }
.review dt { color: var(--text-3); }
.review dd { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }

/* Макет на платформата (Connect) */
.mock { position: relative; padding: clamp(16px, 2vw, 24px); border-radius: var(--r-xl); background: var(--paper); }
.mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.mock__card { padding: 18px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.mock__card + .mock__card { margin-top: 10px; }
.mock__req { display: grid; gap: 10px; }
.mock__route { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; font-weight: 700; color: var(--ink); }
.mock__route i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); }
.mock__route i.is-end { background: var(--yellow); }
.mock__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mock__offer { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.mock__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--paper); color: var(--ink); }
.mock__offer strong { display: block; color: var(--ink); line-height: 1.2; }
.mock__offer span { font-size: var(--fs-xs); color: var(--text-3); }
.mock__price { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock__card.is-best { box-shadow: 0 0 0 2px var(--ink), var(--shadow-md); }
.mock__caption { margin-top: 12px; font-size: var(--fs-xs); color: var(--text-3); text-align: center; }

/* 20. Футър ---------------------------------------------------------------- */
.site-footer { margin: var(--section) clamp(8px, 1.2vw, 16px) clamp(8px, 1.2vw, 16px); padding-top: clamp(36px, 4vw, 56px); border-radius: var(--r-xl); background: var(--ink); color: rgba(255, 255, 255, 0.72); overflow: hidden; font-size: var(--fs-sm); }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-intro h2 { font-size: 1.25rem; color: var(--white); }
.footer-intro p { max-width: 46ch; margin-top: 8px; line-height: 1.55; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contact { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; }
.footer-contact .icon { grid-row: span 2; width: 20px; height: 20px; color: var(--yellow); }
.footer-contact small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.55); }
.footer-contact a, .footer-contact span { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.footer-news { display: grid; gap: 8px; align-content: start; }
.footer-news label { font-weight: 700; color: var(--white); }
.footer-news__row { display: flex; gap: 6px; }
.footer-news input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 12px; background: rgba(255, 255, 255, 0.06); color: var(--white); }
.footer-news input::placeholder { color: rgba(255, 255, 255, 0.45); }
.footer-news input:focus-visible { outline: none; border-color: var(--yellow); }
.footer-news .form-success p { color: rgba(255, 255, 255, 0.8); }
.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; padding-block: 28px; }
.footer-col h2 { margin-bottom: 8px; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col a, .footer-col address { display: inline-flex; align-items: center; min-height: 30px; font-size: 0.875rem; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 20px 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-badges li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06); font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
.footer-badges .icon { width: 16px; height: 16px; color: var(--yellow); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.footer-legal { display: grid; gap: 4px; }
.footer-credits { display: flex; flex-wrap: wrap; gap: 2px 16px; color: rgba(255, 255, 255, 0.5); }
.footer-credits span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; margin-right: 16px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); vertical-align: middle; }
.footer-credits a { color: rgba(255, 255, 255, 0.82); font-weight: 600; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .footer-top { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr); align-items: start; }
  .footer-cols { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* 20b. Топбар, плаващи бутони, лога на направленията -------------------------- */
.topbar { position: relative; z-index: calc(var(--z-header) + 1); background: var(--ink); color: rgba(255, 255, 255, 0.86); font-size: 0.8125rem; }
.topbar__inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; min-height: 38px; padding: 6px 40px; text-align: center; }
.topbar__code { padding: 2px 8px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: 0.06em; }
.topbar__sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.topbar a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__close { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: none; color: rgba(255, 255, 255, 0.7); cursor: pointer; transform: translateY(-50%); }
.topbar__close:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.topbar__close .icon { width: 16px; height: 16px; }
.topbar-closed .topbar { display: none; }
@media (max-width: 639.98px) { .topbar__extra { display: none; } }

.messengers { position: fixed; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); z-index: 90; display: grid; gap: 10px; }
.messenger { position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 4px rgba(14, 15, 17, 0.08), 0 10px 28px -8px rgba(14, 15, 17, 0.3); transition: transform var(--dur-2) var(--ease-out); }
.messenger img { width: 30px; height: 30px; }
.messenger:hover { transform: translateY(-2px) scale(1.05); }
.messenger__label { position: absolute; right: calc(100% + 10px); top: 50%; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: var(--white); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transform: translate(6px, -50%); transition: opacity var(--dur-1) ease, transform var(--dur-2) var(--ease-out); }
.messenger:hover .messenger__label, .messenger:focus-visible .messenger__label { opacity: 1; transform: translate(0, -50%); }
.nav-open .messengers { display: none; }

.sublogo { display: inline-flex; align-items: flex-start; gap: 0.36em; font-size: 22px; line-height: 1; color: var(--ink); white-space: nowrap; }
.sublogo .logo { height: 1em; }
.sublogo__tag { padding: 0.14em 0.5em 0.2em; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-family: var(--font-display); font-size: 0.6em; font-weight: 800; line-height: 1; letter-spacing: 0.01em; }
.sublogo--sm { font-size: 17px; }
.sublogo--lg { font-size: 30px; }
.on-dark .sublogo, .sublogo--white { color: var(--white); }

/* 22. Херо с видео и бърза оферта --------------------------------------------- */
.hero2 { position: relative; margin: 8px clamp(8px, 1.2vw, 16px) 0; border-radius: var(--r-xl); background: var(--paper); overflow: hidden; isolation: isolate; }
.hero2__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; filter: saturate(0.85); }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(246, 246, 244, 0.97) 0%, rgba(246, 246, 244, 0.9) 45%, rgba(246, 246, 244, 0.72) 100%); }
.hero2__grid { display: grid; gap: 24px; padding-block: clamp(36px, 5vw, 76px); }
.hero2__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hero2 .hero__title { max-width: 16ch; }
.hero2 .hero__lead { margin-top: 14px; max-width: 50ch; }
.hero2 .hero__map { min-height: 440px; box-shadow: var(--shadow-md); }
@media (min-width: 1000px) {
  .hero2__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: clamp(640px, calc(100svh - var(--header-h) - 46px), 800px); }
  .hero2 .hero__map { min-height: 560px; }
}
.trust { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 0.8438rem; font-weight: 600; color: var(--text-2); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .icon { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--yellow); color: var(--ink); stroke-width: 3; }

.qq { width: 100%; max-width: 640px; margin-top: 20px; padding: 12px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); }
.qq__tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.qq__tab { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 14px; border: 0; border-radius: var(--r-pill); background: var(--paper); font-size: 0.875rem; font-weight: 700; color: var(--text-2); cursor: pointer; }
.qq__tab .icon { width: 17px; height: 17px; }
.qq__tab[aria-selected="true"] { background: var(--ink); color: var(--white); }
.qq__fields { display: grid; gap: 8px; }
.qq__field { position: relative; display: grid; padding: 7px 12px 8px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.qq__field:hover { border-color: var(--ink); }
.qq__field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.qq__field label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.qq__field select { width: 100%; min-height: 26px; padding: 0 22px 0 0; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right center / 16px no-repeat; font-size: 0.9688rem; font-weight: 700; appearance: none; -webkit-appearance: none; cursor: pointer; text-overflow: ellipsis; }
.qq__field select:focus-visible { outline: none; }
.qq__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-top: 10px; }
.qq__price { display: grid; gap: 1px; }
.qq__price small { font-size: 0.75rem; font-weight: 600; color: var(--text-3); }
.qq__price strong { font-family: var(--font-display); font-size: 1.625rem; font-weight: 800; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.qq__price strong span { font-size: 0.6em; }
@media (min-width: 640px) { .qq__fields { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .qq__foot .btn { width: 100%; } }

/* 23. Банери на направленията -------------------------------------------------- */
.banners { display: grid; gap: 12px; }
.banner { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 360px; padding: 18px; border-radius: var(--r-lg); background: var(--ink); color: var(--white); text-decoration: none; overflow: hidden; isolation: isolate; }
.banner__media { position: absolute; inset: 0; z-index: -2; }
.banner__media img, .banner__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity var(--dur-2) ease; }
.banner__media video { opacity: 0; }
.banner.is-playing .banner__media video { opacity: 1; }
.banner:hover .banner__media img, .banner:hover .banner__media video { transform: scale(1.05); }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 17, 0.6) 0%, rgba(14, 15, 17, 0.08) 34%, rgba(14, 15, 17, 0.2) 52%, rgba(14, 15, 17, 0.9) 100%); }
.banner__body { display: grid; gap: 8px; margin-top: auto; }
.banner__title { font-family: var(--font-display); font-size: 1.1875rem; font-weight: 700; line-height: 1.15; color: var(--white); }
.banner__text { font-size: 0.875rem; line-height: 1.45; color: rgba(255, 255, 255, 0.82); }
.banner__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.banner__tags li { padding: 3px 9px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 0.75rem; font-weight: 600; }
.banner__go { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 6px 6px 6px 14px; border-radius: var(--r-pill); background: var(--white); color: var(--ink); font-size: 0.875rem; font-weight: 700; }
.banner__go .icon { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--yellow); transition: transform var(--dur-2) var(--ease-out); }
.banner:hover .banner__go .icon { transform: translateX(3px); }
.banner .tag { position: absolute; top: 16px; right: 16px; }
@media (min-width: 640px) { .banners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .banners { grid-template-columns: repeat(4, minmax(0, 1fr)); } .banner { min-height: 420px; } }

.figures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 12px; border-radius: var(--r-lg); background: var(--line); overflow: hidden; border: 1px solid var(--line); }
.figures > div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 14px 18px; background: var(--white); }
.figures dt { font-size: 0.8125rem; color: var(--text-2); }
.figures dd { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; line-height: 1.05; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (min-width: 760px) { .figures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 24. Ясна цена ------------------------------------------------------------- */
.clear { display: grid; gap: clamp(24px, 3vw, 48px); align-items: center; }
.clear__title { font-size: var(--fs-h2); max-width: 18ch; }
.clear__lead { margin-top: 12px; max-width: 52ch; font-size: var(--fs-lead); color: var(--text-2); }
.guarantees { display: grid; gap: 10px; margin-top: 22px; }
.guarantee { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; padding: 14px 16px; border-radius: var(--r-md); background: var(--white); border: 1px solid var(--line); }
.guarantee .icon { grid-row: span 2; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--yellow); color: var(--ink); }
.guarantee strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); }
.guarantee span { font-size: 0.8438rem; color: var(--text-2); line-height: 1.45; }
@media (min-width: 640px) { .guarantees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .clear { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }

.receipt { position: relative; padding: 22px 22px 26px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-lg); font-variant-numeric: tabular-nums; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -9px; height: 18px; background: radial-gradient(circle at 9px 0, transparent 8px, var(--white) 8.5px) 0 0 / 18px 18px repeat-x; transform: rotate(180deg); }
.receipt__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.receipt__head strong { font-family: var(--font-display); font-size: 1.0625rem; color: var(--ink); }
.receipt__route { margin-top: 10px; font-size: 0.875rem; color: var(--text-2); }
.receipt__rows { margin-top: 6px; }
.receipt__rows li { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; border-bottom: 1px dashed var(--line-strong); font-size: 0.9063rem; }
.receipt__rows li span:last-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.receipt__rows li.is-zero { color: var(--ok); font-weight: 700; }
.receipt__rows li.is-zero span:last-child { color: var(--ok); }
.receipt__total { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 14px; }
.receipt__total span { font-weight: 700; color: var(--ink); }
.receipt__total strong { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; line-height: 1; color: var(--ink); }
.receipt__stamp { position: absolute; left: 92px; bottom: 26px; padding: 6px 10px; border: 2px solid var(--ok); border-radius: 8px; color: var(--ok); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-8deg); opacity: 0.85; }

/* 25. Карусел ---------------------------------------------------------------- */
.carousel__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 2.6vw, 32px); }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer; transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease, opacity var(--dur-1) ease; }
.carousel__btn:hover:not(:disabled) { background: var(--yellow); border-color: var(--ink); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; }
.carousel__btn--prev .icon { transform: rotate(180deg); }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; margin: 0; padding: 2px 2px 6px; list-style: none; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
.carousel__bar { position: relative; height: 3px; margin-top: 16px; border-radius: 3px; background: var(--line); overflow: hidden; }
.carousel__bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 25%; border-radius: 3px; background: var(--ink); transition: transform var(--dur-2) var(--ease-out); }
@media (min-width: 640px) { .carousel__track { grid-auto-columns: calc((100% - 12px) / 2); } }
@media (min-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 36px) / 4); } }
.story { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); overflow: hidden; }
.story__media { position: relative; overflow: hidden; }
.story__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease-out); }
.story:hover .story__media img { transform: scale(1.04); }
.story__media .tag { position: absolute; left: 12px; top: 12px; }
.story__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.story__title { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.story__text { font-size: 0.875rem; line-height: 1.5; color: var(--text-2); }
.story__meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 10px; font-size: 0.8125rem; font-weight: 700; color: var(--ink); }
.story__meta span { display: inline-flex; align-items: center; gap: 5px; }
.story__meta .icon { width: 15px; height: 15px; }

/* 26. Мрежата в движение (анимация) ----------------------------------------- */
.fleet { position: relative; margin-inline: clamp(8px, 1.2vw, 16px); border-radius: var(--r-xl); background: #ecece8; overflow: hidden; isolation: isolate; }
.fleet__canvas { display: block; width: 100%; height: clamp(460px, 44vw, 620px); touch-action: pan-y; }
.fleet__ui { position: absolute; left: 0; right: 0; top: 0; z-index: 2; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; padding: clamp(12px, 2vw, 20px); pointer-events: none; }
.fleet__ui > * { pointer-events: auto; }
.fleet__card { max-width: 380px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); }
.fleet__card h2 { font-size: var(--fs-h3); }
.fleet__card p { margin-top: 6px; font-size: 0.875rem; color: var(--text-2); }
.fleet__filters { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-md); }
.fleet__filter { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 0; border-radius: var(--r-pill); background: transparent; font-size: 0.8125rem; font-weight: 700; color: var(--text-2); cursor: pointer; }
.fleet__filter i { width: 12px; height: 12px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--ink); }
.fleet__filter[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.fleet__filter[aria-pressed="true"] i { box-shadow: inset 0 0 0 1.5px var(--white); }
.fleet__stats { position: absolute; left: clamp(12px, 2vw, 20px); bottom: clamp(12px, 2vw, 20px); z-index: 2; display: flex; flex-wrap: wrap; gap: 6px; }
.fleet__stat { display: grid; gap: 1px; min-width: 104px; padding: 10px 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, 0.95); box-shadow: var(--shadow-sm); }
.fleet__stat small { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.fleet__stat strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.fleet__toggle { position: absolute; right: clamp(12px, 2vw, 20px); bottom: clamp(12px, 2vw, 20px); z-index: 2; }
.fleet__tip { position: absolute; z-index: 3; min-width: 200px; padding: 12px 14px; border-radius: var(--r-md); background: var(--ink); color: rgba(255, 255, 255, 0.8); font-size: 0.8125rem; line-height: 1.4; box-shadow: var(--shadow-lg); pointer-events: none; transform: translate(-50%, calc(-100% - 18px)); }
.fleet__tip strong { display: block; color: var(--white); font-size: 0.875rem; }
.fleet__tip b { color: var(--yellow); }
@media (max-width: 759.98px) {
  .fleet__card { max-width: none; flex: 1 1 100%; }
  .fleet__card p { display: none; }
  .fleet__stat:nth-child(n + 3) { display: none; }
}
/* Истинската 3D карта (fleet-map.js) – появява се плавно, когато е заредена */
.fleet .fleet__map { position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity 900ms var(--ease-out); }
.fleet.is-map .fleet__map { opacity: 1; pointer-events: auto; }
.fleet.is-map .fleet__canvas { visibility: hidden; }
.fleet.is-map { background: #eeeeea; }
.fleet .maplibregl-ctrl-bottom-right { bottom: calc(clamp(12px, 2vw, 20px) + 56px); right: calc(clamp(12px, 2vw, 20px) - 10px); }
.fleet .maplibregl-ctrl-group { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md); }
.fleet .maplibregl-ctrl-group button { width: 36px; height: 36px; }
.fleet .maplibregl-ctrl-attrib { font-size: 10px; }
.fleet .maplibregl-cooperative-gesture-screen { z-index: 4; font-family: var(--font-sans); font-size: 1rem; }
@media (max-width: 759.98px) { .fleet .maplibregl-ctrl-group { display: none; } }

/* 27. Партньори и бизнес ----------------------------------------------------- */
.partners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--line); overflow: hidden; }
.partner { display: grid; place-items: center; min-height: 92px; padding: 18px; background: var(--white); }
.partner img { width: auto; max-width: 78%; max-height: 30px; filter: grayscale(1) contrast(1.1); opacity: 0.7; transition: filter var(--dur-2) ease, opacity var(--dur-2) ease; }
.partner:hover img { filter: none; opacity: 1; }
.partner__word { font-family: var(--font-sans); font-size: 1.1875rem; font-weight: 800; letter-spacing: 0.12em; color: #6a6d74; }
@media (min-width: 760px) { .partners { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.partners-note { margin-top: 10px; font-size: 0.8125rem; color: var(--text-3); }
.panel--ink .partner, .on-dark .partner { background: #17181b; }
.panel--ink .partners { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.08); }
.panel--ink .partner img { filter: grayscale(1) brightness(0) invert(1); opacity: 0.75; }
.panel--ink .partner:hover img { filter: none; opacity: 1; }
.panel--ink .partner img[src$=".jpg"] { filter: grayscale(1); }
.panel--ink .partner__word { color: rgba(255, 255, 255, 0.75); }

.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: var(--white); border: 1px solid var(--line); font-size: 0.8438rem; font-weight: 600; color: var(--ink); }
.pill-list .icon { width: 16px; height: 16px; }

/* 28. Калкулатор – компактна версия ------------------------------------------ */
.calc { gap: 14px; }
@media (min-width: 1000px) { .calc { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); } }
.calc__form { gap: 10px; }
.calc__num { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-family: var(--font-sans); font-size: 0.75rem; font-weight: 800; vertical-align: 1px; }
.calc__row--when { display: grid; gap: 12px; }
@media (min-width: 640px) { .calc__row--when { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; } .calc__row--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .calc__row--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.calc__row--when .segmented { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.calc__row--when .segmented span { padding-inline: 6px; white-space: normal; line-height: 1.2; }
.calc__summary { gap: 10px; }
.calc__map { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.choices--compact { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
.choices--compact .choice__box { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 9px 34px 9px 10px; }
.choices--compact .choice__art { grid-row: span 2; width: 52px; height: 24px; margin: 0; }
.choices--compact .choice__name { font-size: 0.875rem; }
.choices--compact .choice__meta { font-size: 0.7188rem; }
.choices--compact .choice__tick { top: 50%; right: 10px; width: 20px; height: 20px; transform: translateY(-50%); }
@media (min-width: 1200px) { .calc .choices--compact { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } .calc .choices--compact .choice__box { grid-template-columns: 1fr; padding: 10px 12px 12px; } .calc .choices--compact .choice__art { grid-row: auto; margin-bottom: 4px; } .calc .choices--compact .choice__tick { top: 10px; transform: none; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); font-size: 0.8438rem; font-weight: 600; color: var(--ink); transition: background-color var(--dur-1) ease, border-color var(--dur-1) ease; }
.chip > span .icon { display: none; width: 15px; height: 15px; stroke-width: 2.6; }
.chip b { font-weight: 800; color: var(--text-3); }
.chip:hover > span { border-color: var(--ink); }
.chip input:checked + span { border-color: var(--ink); background: var(--yellow-50); box-shadow: inset 0 0 0 1px var(--ink); }
.chip input:checked + span .icon { display: block; }
.chip input:checked + span b { color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.check--sm { min-height: 34px; padding-block: 4px; font-size: 0.8125rem; gap: 8px; }
.check--sm .check__box { width: 20px; height: 20px; border-radius: 6px; }
.check--sm input { width: 20px; height: 20px; }
.promo { display: flex; gap: 6px; margin-top: 14px; }
.promo__input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; background: rgba(255, 255, 255, 0.06); color: var(--white); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.promo__input::placeholder { color: rgba(255, 255, 255, 0.5); font-weight: 500; letter-spacing: 0; text-transform: none; }
.promo__input:focus-visible { outline: none; border-color: var(--yellow); }
.promo__btn { height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--white); color: var(--ink); font-size: 0.875rem; font-weight: 700; cursor: pointer; }
.promo__btn:hover { background: var(--yellow); }
.promo__msg { margin-top: 6px; font-size: 0.8125rem; }
.promo__msg:empty { display: none; }
.promo__msg.is-ok { color: #8ee0a9; }
.promo__msg.is-err { color: #ffb4ab; }
.quote__included { display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.8438rem; color: rgba(255, 255, 255, 0.84); }
.quote__included li { display: flex; align-items: flex-start; gap: 8px; }
.quote__included .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--yellow); stroke-width: 2.6; }
.quote__lines li { padding-block: 5px; }
.quote__lines li.is-zero { margin-top: 4px; padding-top: 9px; border-top: 1px dashed rgba(255, 255, 255, 0.2); font-weight: 700; color: #8ee0a9; }
.quote__lines li.is-zero span:last-child { color: #8ee0a9; }
.quote__lines li.is-discount span:last-child { color: var(--yellow); }
.quote__label .tag { font-size: 0.6875rem; }

/* 21. Появяване при скрол --------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero__map, .calc__map { display: none; }
}
.footer-news__note { font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }

/* 29. Страница „Калкулатор“, бизнес, лога в страниците ---------------------- */
.calc-intro { padding-block: 14px 18px; }
.calc-intro__inner { display: grid; gap: 12px; align-items: end; }
.calc-intro .trust { margin-top: 0; }
@media (min-width: 1000px) { .calc-intro__inner { grid-template-columns: minmax(0, 1fr) auto; } }
.biz-grid { display: grid; gap: 12px; }
.biz-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(18px, 2vw, 24px); border-radius: var(--r-lg); background: var(--white); }
.biz-card__title { font-size: var(--fs-h3); }
.biz-card .audience__list { margin-block: 2px 6px; color: var(--text-2); }
.biz-card .link-arrow { margin-top: auto; }
@media (min-width: 640px) { .biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .biz-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.page-brand { margin-bottom: 14px; }
.page-hero__media video { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1000px) { .page-hero__media video { aspect-ratio: 5 / 4.4; } }
@media (max-width: 639.98px) {
  .messengers { gap: 8px; }
  .messenger { width: 46px; height: 46px; }
  .messenger img { width: 26px; height: 26px; }
}

/* 30. Товарът в буса ---------------------------------------------------------- */
.planner { display: grid; gap: 14px; }
.planner__side { display: grid; align-content: start; gap: 10px; min-width: 0; }
.planner__head { display: flex; gap: 8px; }
.pl-search { position: relative; flex: 1; min-width: 0; }
.pl-search .icon { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; color: var(--text-3); transform: translateY(-50%); pointer-events: none; }
.pl-search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); font: inherit; font-size: 0.9375rem; color: var(--ink); transition: border-color var(--dur-1) ease, box-shadow var(--dur-1) ease; }
.pl-search input:hover { border-color: var(--ink); }
.pl-search input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.pl-clear { flex: none; height: 46px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: var(--white); font: inherit; font-size: 0.875rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: border-color var(--dur-1) ease, opacity var(--dur-1) ease; }
.pl-clear:hover:not(:disabled) { border-color: var(--ink); }
.pl-clear:disabled { opacity: 0.4; cursor: default; }
.planner__note { padding: 9px 14px; border-radius: var(--r-md); background: var(--yellow-50); font-size: 0.8125rem; color: var(--text-2); }
.planner__note[hidden] { display: none; }

.planner__items { max-height: 560px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; overscroll-behavior: contain; }
.pl-group[hidden] { display: none; }
.pl-group__title { position: sticky; top: 0; z-index: 1; padding: 10px 14px 6px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(6px); font-family: var(--font-sans); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }
.pl-group ul { margin: 0; padding: 0 6px 6px; list-style: none; }
.pl-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 7px 8px; border-radius: 12px; transition: background-color var(--dur-1) ease; }
.pl-item[hidden] { display: none; }
.pl-item:hover { background: var(--paper); }
.pl-item.is-on { background: var(--yellow-50); }
.pl-item__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--paper); color: var(--ink); transition: background-color var(--dur-1) ease; }
.pl-item.is-on .pl-item__icon { background: var(--yellow); }
.pl-item__icon .icon { width: 21px; height: 21px; stroke-width: 1.6; }
.pl-item__text { display: grid; min-width: 0; }
.pl-item__name { overflow: hidden; font-size: 0.9063rem; font-weight: 600; color: var(--ink); text-overflow: ellipsis; white-space: nowrap; }
.pl-item__meta { font-size: 0.75rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pl-step { display: inline-grid; grid-template-columns: 34px 30px 34px; align-items: center; height: 38px; padding: 2px; border-radius: var(--r-pill); background: var(--paper); }
.pl-item.is-on .pl-step { background: var(--white); box-shadow: inset 0 0 0 1px rgba(240, 196, 0, 0.5); }
.pl-step button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; transition: background-color var(--dur-1) ease, transform var(--dur-1) ease; }
.pl-step button:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.pl-step button:active:not(:disabled) { transform: scale(0.92); }
.pl-step button:disabled { opacity: 0.28; cursor: default; }
.pl-step .icon { width: 15px; height: 15px; stroke-width: 2.4; }
.pl-step output { text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); }
.pl-nores { padding: 18px 16px; font-size: 0.875rem; color: var(--text-2); }
.pl-nores[hidden] { display: none; }
.pl-nores button { border: 0; padding: 0; background: none; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }

.pl-custom { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--white); }
.pl-custom[open] { border-style: solid; }
.pl-custom summary { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 16px; font-weight: 700; font-size: 0.9063rem; color: var(--ink); cursor: pointer; list-style: none; }
.pl-custom summary::-webkit-details-marker { display: none; }
.pl-custom summary .icon { width: 14px; height: 14px; padding: 4px; border-radius: 50%; background: var(--yellow); stroke-width: 2.6; box-sizing: content-box; }
.pl-custom__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 16px 16px; }
.pl-field { display: grid; gap: 4px; min-width: 0; }
.pl-field > span { font-size: 0.75rem; font-weight: 600; color: var(--text-3); }
.pl-field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); font: inherit; color: var(--ink); }
.pl-field input:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--yellow); }
.pl-field--wide { grid-column: 1 / -1; }
.pl-custom__msg { font-size: 0.8125rem; }
.pl-custom__msg:empty { display: none; }
.pl-custom__msg.is-ok { color: var(--ok); }
.pl-custom__msg.is-err { color: var(--err); }

.planner__stage { display: grid; align-content: start; gap: 12px; min-width: 0; padding: clamp(12px, 1.4vw, 18px); border-radius: var(--r-xl); background: var(--paper); }
.planner__vehicles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pl-veh { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 8px; padding: 10px 12px 11px; border: 1px solid transparent; border-radius: var(--r-md); background: var(--white); text-align: left; cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, transform var(--dur-2) var(--ease-out); }
.pl-veh:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.pl-veh[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), var(--shadow-md); }
.pl-veh__art { grid-row: 1 / span 2; grid-column: 2; width: 54px; height: 24px; color: var(--ink); }
.pl-veh__name { grid-column: 1; grid-row: 1; font-size: 0.875rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
@media (max-width: 639.98px), (min-width: 1000px) and (max-width: 1439.98px) { .pl-veh__art { display: none; } }
.pl-veh__meta { grid-column: 1; grid-row: 2; font-size: 0.7188rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pl-veh__bar { grid-column: 1 / -1; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.pl-veh__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-1) ease; }
.pl-veh__fill { grid-column: 1 / -1; font-size: 0.7188rem; font-weight: 700; color: var(--text-3); font-variant-numeric: tabular-nums; }
.pl-veh.is-best::after { content: "Препоръчан"; position: absolute; top: -9px; right: 10px; padding: 2px 9px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-size: 0.6563rem; font-weight: 800; letter-spacing: 0.02em; box-shadow: var(--shadow-sm); }
.pl-veh.is-best .pl-veh__bar i { background: var(--yellow-600); }
.pl-veh.is-best .pl-veh__fill { color: var(--ink); }
.pl-veh.is-over .pl-veh__fill { color: var(--err); }
.pl-veh.is-over .pl-veh__bar i { background: #e7a39b; }

.planner__view { position: relative; border-radius: var(--r-lg); background: linear-gradient(180deg, #ffffff 0%, #fafaf8 100%); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.planner__canvas { display: block; width: 100%; height: clamp(320px, 34vw, 460px); touch-action: pan-y; }
.planner__toolbar { position: absolute; top: 12px; right: 12px; display: flex; gap: 6px; }
.pl-toggle { display: inline-flex; padding: 3px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); backdrop-filter: blur(6px); }
.pl-toggle button { min-height: 32px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: none; font: inherit; font-size: 0.8125rem; font-weight: 700; color: var(--text-2); cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.pl-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.planner__legend { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 4px 12px; max-width: calc(100% - 190px); margin: 0; padding: 0; list-style: none; font-size: 0.7188rem; font-weight: 600; color: var(--text-3); pointer-events: none; }
.planner__legend li { display: inline-flex; align-items: center; gap: 6px; }
.planner__legend i { width: 10px; height: 10px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(14, 15, 17, 0.18); }
.pl-tip { position: absolute; left: 0; top: 0; z-index: 2; display: grid; gap: 1px; max-width: 240px; padding: 8px 12px; border-radius: 10px; background: var(--ink); color: rgba(255, 255, 255, 0.72); font-size: 0.75rem; pointer-events: none; box-shadow: var(--shadow-md); font-variant-numeric: tabular-nums; }
.pl-tip strong { font-size: 0.8438rem; color: var(--white); }
.pl-tip[hidden] { display: none; }
.planner__empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 20px; font-weight: 700; color: var(--text-3); text-align: center; pointer-events: none; }
.planner__empty .icon { width: 18px; height: 18px; }
.planner__empty[hidden] { display: none; }

.pl-meters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pl-meter { display: grid; gap: 8px; padding: 10px 12px 12px; border-radius: var(--r-md); background: var(--white); }
.pl-meter p { display: grid; gap: 1px; }
.pl-meter p span { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.pl-meter strong { font-size: 0.9375rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pl-meter__bar { height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.pl-meter__bar i { display: block; height: 100%; background: var(--ink); transform-origin: left center; transform: scaleX(0); transition: transform var(--dur-3) var(--ease-out); }
.pl-meter__bar.is-bad i { background: var(--err); }

.pl-verdict { position: relative; padding: 12px 14px 12px 44px; border-radius: var(--r-md); background: var(--white); font-size: 0.875rem; line-height: 1.5; color: var(--text-2); }
.pl-verdict::before { content: ""; position: absolute; left: 14px; top: 13px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0f11' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }
.pl-verdict strong { color: var(--ink); }
.pl-verdict.is-ok { background: var(--yellow-100); color: var(--ink); }
.pl-verdict.is-ok::before { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd100' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.pl-verdict.is-bad { background: var(--err-bg); color: var(--err); }
.pl-verdict.is-bad strong { color: var(--err); }
.pl-verdict.is-bad::before { background: var(--err) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.8' stroke-linecap='round'%3E%3Cpath d='M12 7v6M12 17h.01'/%3E%3C/svg%3E") center / 14px no-repeat; }

.planner__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 12px 12px 12px 18px; border-radius: var(--r-md); background: var(--ink); }
.planner__price { display: grid; gap: 3px; }
.planner__price small { font-size: 0.75rem; color: rgba(255, 255, 255, 0.6); }
.planner__price strong { font-size: 1.375rem; font-weight: 800; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.planner__cta .btn[aria-disabled="true"] { opacity: 0.5; }
.calc__planner-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8438rem; font-weight: 700; color: var(--ink); }
@media (min-width: 640px) { .planner__vehicles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) {
  .planner { grid-template-columns: minmax(0, 5fr) minmax(0, 8fr); align-items: start; gap: 18px; }
  .planner__stage { position: sticky; top: calc(var(--header-h) + 16px); }
}
@media (max-width: 999.98px) {
  .planner__stage { order: -1; }
  .planner__items { max-height: 420px; }
}
@media (max-width: 479.98px) {
  .pl-meters { grid-template-columns: minmax(0, 1fr); }
  .pl-meter { grid-template-columns: minmax(0, 1fr) 40%; align-items: center; }
  .planner__legend { display: none; }
  .planner__cta .btn { width: 100%; }
}

/* 31. Рекламен клип ------------------------------------------------------------ */
.film { width: min(100vw - 24px, 1280px); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 0; border-radius: var(--r-xl); background: #000; color: var(--white); overflow: hidden; }
.film::backdrop { background: rgba(14, 15, 17, 0.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.film-open { overflow: hidden; }
.film__stage { position: relative; aspect-ratio: 16 / 9; max-height: calc(100dvh - 24px); margin-inline: auto; }
.film__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s ease; }
.film__video.is-active { opacity: 1; }
.film__stage::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(14, 15, 17, 0.7) 0%, rgba(14, 15, 17, 0) 45%), linear-gradient(180deg, rgba(14, 15, 17, 0.45) 0%, rgba(14, 15, 17, 0) 22%); pointer-events: none; }
.film__bars { position: absolute; top: 16px; left: 16px; right: 112px; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.film__bars i { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); overflow: hidden; }
.film__bars b { display: block; height: 100%; background: var(--white); transform-origin: left center; transform: scaleX(0); }
.film__caption { position: absolute; left: clamp(16px, 4vw, 48px); right: clamp(16px, 30%, 420px); bottom: clamp(18px, 4vw, 44px); z-index: 2; margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 0.9rem + 1.6vw, 2.25rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; color: var(--white); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s var(--ease-out); }
.film__caption.is-in { opacity: 1; transform: none; }
.film__controls { position: absolute; top: 6px; right: 8px; z-index: 4; display: flex; gap: 6px; }
.film__btn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.16); color: var(--white); cursor: pointer; transition: background-color var(--dur-1) ease, color var(--dur-1) ease; }
.film__btn:hover { background: var(--yellow); color: var(--ink); }
.film__btn .icon { width: 18px; height: 18px; }
.film__btn .i-play, .film__btn[aria-pressed="true"] .i-pause { display: none; }
.film__btn[aria-pressed="true"] .i-play { display: block; }
.film__end { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; background: rgba(14, 15, 17, 0.74); text-align: center; animation: fade-up 0.5s var(--ease-out); }
.film__end .logo { height: clamp(40px, 6vw, 64px); color: var(--white); }
.film__end p { font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.8vw, 1.5rem); font-weight: 700; }
.film__end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.is-ended .film__controls [data-film-toggle] { display: none; }

.watch { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 14px; padding: 4px 16px 4px 4px; border: 0; border-radius: var(--r-pill); background: var(--white); box-shadow: var(--shadow-sm); font-size: 0.875rem; font-weight: 700; color: var(--ink); cursor: pointer; transition: box-shadow var(--dur-2) ease; }
.watch:hover { box-shadow: var(--shadow-md); }
.watch__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--yellow); transition: transform var(--dur-2) var(--ease-out); }
.watch__icon .icon { width: 16px; height: 16px; fill: currentColor; }
.watch:hover .watch__icon { transform: scale(1.08); }
.watch small { font-size: 0.8125rem; font-weight: 600; color: var(--text-3); }

.filmband { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 44vw, 600px); margin-inline: clamp(8px, 1.2vw, 16px); border-radius: var(--r-xl); background: var(--ink); color: var(--white); overflow: hidden; isolation: isolate; }
.filmband__media { position: absolute; inset: 0; z-index: -2; }
.filmband__media video { width: 100%; height: 100%; object-fit: cover; }
.filmband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 15, 17, 0.78) 0%, rgba(14, 15, 17, 0.35) 42%, rgba(14, 15, 17, 0) 68%), linear-gradient(0deg, rgba(14, 15, 17, 0.55) 0%, rgba(14, 15, 17, 0) 50%); }
.filmband__inner { padding-block: clamp(28px, 4vw, 52px); }
.filmband h2 { max-width: 15ch; font-size: var(--fs-h2); color: var(--white); }
.filmband p { max-width: 42ch; margin-top: 10px; color: rgba(255, 255, 255, 0.84); }
.filmband .watch { margin-top: 18px; padding: 6px 22px 6px 6px; font-size: 1rem; }
.filmband .watch__icon { width: 46px; height: 46px; background: var(--yellow); color: var(--ink); }
.filmband .watch__icon .icon { width: 20px; height: 20px; }
@media (max-width: 759.98px) { .filmband::after { background: linear-gradient(0deg, rgba(14, 15, 17, 0.85) 0%, rgba(14, 15, 17, 0.2) 70%); } }
.filmband + .panel, .filmband + .section { margin-top: clamp(8px, 1.2vw, 16px); }
@media (max-width: 999.98px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__form, .calc__summary, .calc__group > * { min-width: 0; }
}
@media (max-width: 479.98px) {
  .segmented { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; }
  .segmented span { padding-inline: 8px; white-space: normal; line-height: 1.2; }
  .segmented small { white-space: normal; }
}
.quote__label { flex-wrap: wrap; gap: 6px 12px; }
.clear > *, .footer-top > *, .split > *, .two-col > *, .faq-layout > * { min-width: 0; }
@media (max-width: 999.98px) { .footer-top { grid-template-columns: minmax(0, 1fr); } }
/* Onest е по-широк – текстовите полета и бутоните не бива да разпъват тесните колони */
.calc__summary, .quote__actions { grid-template-columns: minmax(0, 1fr); }
.calc__summary > *, .quote > * { min-width: 0; }
.promo__input, .footer-news input { width: 1px; }
@media (max-width: 479.98px) {
  .btn { white-space: normal; text-align: center; }
  /* Табовете се виждат изцяло, вместо да се скролват настрани */
  .tabs__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); width: 100%; border-radius: 18px; overflow: visible; }
  .tabs__tab { gap: 8px; padding: 8px 12px; border-radius: 14px; white-space: normal; text-align: left; line-height: 1.2; }
  .tabs__tab .icon { flex: none; }
  /* Автомобилите – по един на ред, за да се чете цялото име */
  .choices--compact { grid-template-columns: minmax(0, 1fr) !important; }
}

/* 32. От хипермаркета до дома ------------------------------------------------- */
.segmented--2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
.segmented--2 span { white-space: normal; line-height: 1.2; }
.store-box { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-md); background: var(--yellow-50); box-shadow: inset 0 0 0 1px rgba(240, 196, 0, 0.35); }
.store-box[hidden] { display: none; }
.store-box__text { display: flex; gap: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--text); }
.store-box__text .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--yellow); color: var(--ink); stroke-width: 3; }
.store-box__promo { padding: 8px 12px; border-radius: 10px; background: var(--white); font-size: 0.8125rem; font-weight: 600; color: var(--text-2); }
.store-box__promo.is-on { background: var(--ink); color: var(--white); }
.store-box__promo.is-on::before { content: "−10% · "; color: var(--yellow); font-weight: 800; }

.offer-pill { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; padding: 4px 14px 4px 4px; border-radius: var(--r-pill); background: var(--ink); color: var(--white); font-size: 0.8438rem; font-weight: 600; }
.offer-pill__badge { padding: 4px 10px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }

.offer { position: relative; display: grid; gap: 20px; align-items: center; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--ink); color: rgba(255, 255, 255, 0.78); overflow: hidden; isolation: isolate; }
.offer::after { content: ""; position: absolute; right: -12%; top: -40%; z-index: -1; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 209, 0, 0.22), transparent); }
.offer__big { font-family: var(--font-display); font-size: clamp(4.5rem, 3rem + 6vw, 8.5rem); font-weight: 800; line-height: 0.9; letter-spacing: -0.05em; color: var(--yellow); font-variant-numeric: tabular-nums; }
.offer__big span { font-size: 0.5em; letter-spacing: 0; }
.offer .eyebrow { color: rgba(255, 255, 255, 0.6); }
.offer__title { margin-top: 6px; font-size: var(--fs-h3); color: var(--white); }
.offer__text { max-width: 56ch; margin-top: 10px; line-height: 1.6; }
.offer__terms { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.offer__terms li { padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); font-size: 0.8125rem; font-weight: 600; color: rgba(255, 255, 255, 0.86); }
@media (min-width: 1000px) { .offer { grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); } }

.spot { display: grid; border-radius: var(--r-xl); background: var(--paper); overflow: hidden; }
.spot__media { position: relative; display: block; min-height: 260px; overflow: hidden; }
.spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.spot:hover .spot__media img { transform: scale(1.03); }
.spot__badge { position: absolute; left: 16px; bottom: 16px; display: grid; gap: 2px; max-width: 200px; padding: 12px 16px; border-radius: var(--r-md); background: var(--yellow); color: var(--ink); font-size: 0.8125rem; font-weight: 600; line-height: 1.3; box-shadow: var(--shadow-md); }
.spot__badge strong { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.spot__body { display: grid; align-content: center; gap: 12px; padding: clamp(22px, 3vw, 44px); }
.spot__title { font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.025em; }
.spot__text { max-width: 54ch; color: var(--text-2); line-height: 1.6; }
.spot__list { display: grid; gap: 8px; margin-top: 4px; }
.spot__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.9063rem; color: var(--text-2); }
.spot__list strong { color: var(--ink); }
.spot__list .icon { flex: none; width: 20px; height: 20px; color: var(--ink); }
.spot__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 8px; }
@media (min-width: 1000px) { .spot { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); min-height: 460px; } }

/* 33. Премиум слой ---------------------------------------------------------------
   По-топли неутрални тонове, по-фина типография, дълбочина при бутоните и
   тъмните секции, лека текстура в херо секцията. Само надгражда стиловете отгоре. */
:root {
  --paper: #f6f5f2;
  --paper-2: #edebe6;
  --line: #e7e5e0;
  --line-strong: #d2cfc8;
  --text-2: #4a4c52;
  --section: clamp(56px, 6.8vw, 100px);
  --shadow-sm: 0 1px 2px rgba(20, 18, 14, 0.05), 0 1px 1px rgba(20, 18, 14, 0.03);
  --shadow-md: 0 1px 2px rgba(20, 18, 14, 0.04), 0 12px 32px -14px rgba(20, 18, 14, 0.2);
  --shadow-lg: 0 2px 4px rgba(20, 18, 14, 0.04), 0 32px 72px -28px rgba(20, 18, 14, 0.3);
}

/* Типография: по-плътно и по-спокойно */
h1, h2 { font-weight: 680; letter-spacing: -0.03em; }
h3, h4 { font-weight: 650; letter-spacing: -0.016em; }
.hero__title { font-weight: 720; letter-spacing: -0.038em; line-height: 1.02; }
.page-hero__title { font-weight: 720; letter-spacing: -0.034em; }
.section-head__title, .spot__title, .split__title { letter-spacing: -0.032em; }
.section-head__text, .page-hero__lead, .hero__lead { color: var(--text-2); }
.faq__item summary { font-weight: 650; letter-spacing: -0.014em; }

/* Маркер като с флумастер – долната половина на реда */
.mark {
  padding: 0 0.08em;
  margin: 0 -0.04em;
  border-radius: 0.06em;
  background: linear-gradient(180deg, transparent 0 54%, var(--yellow) 54% 94%, transparent 94%);
}

/* Надзаглавие: по-фин знак и по-въздушно разреждане */
.eyebrow { gap: 9px; font-size: 0.7188rem; letter-spacing: 0.16em; color: var(--text-2); }
.eyebrow::before { width: 7px; height: 7px; box-shadow: 0 0 0 2.5px var(--ink); }
.panel--ink .eyebrow, .on-dark .eyebrow, .offer .eyebrow { color: rgba(255, 255, 255, 0.7); }

/* Бутони: лека дълбочина */
.btn { font-weight: 650; letter-spacing: -0.005em; transition: background-color var(--dur-1) ease, color var(--dur-1) ease, border-color var(--dur-1) ease, box-shadow var(--dur-2) ease, transform var(--dur-1) ease; }
.btn--primary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 1px 2px rgba(20, 18, 14, 0.12), 0 10px 22px -12px rgba(214, 170, 0, 0.75); }
.btn--primary:hover { box-shadow: 0 1px 2px rgba(20, 18, 14, 0.12), 0 12px 26px -12px rgba(14, 15, 17, 0.55); }
.btn--dark { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px -14px rgba(14, 15, 17, 0.6); }
.btn--ghost { background: rgba(255, 255, 255, 0.6); }

/* Хедър: стъкло и фина сянка при скрол */
.site-header::before { background: rgba(255, 255, 255, 0.82); }
.site-header[data-scrolled] { box-shadow: 0 10px 30px -24px rgba(20, 18, 14, 0.35); }

/* Тъмните секции – с мек светлинен отблясък */
.site-footer, .panel--ink, .offer, .planner__cta, .quote {
  background-image: radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 55%);
  background-color: var(--ink);
}
.site-footer { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06); }

/* Карти: тънък контур и плавно повдигане */
.feature { transition: background-color var(--dur-2) ease, box-shadow var(--dur-2) ease; }
.feature:hover { background: #fcfbf9; }
.story, .guarantee { transition: transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2) ease, border-color var(--dur-2) ease; }
.story:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.spot { box-shadow: inset 0 0 0 1px var(--line); }

/* Херо: лека текстура като на хартия */
.hero2::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero2 .qq { box-shadow: 0 2px 4px rgba(20, 18, 14, 0.04), 0 30px 70px -30px rgba(20, 18, 14, 0.32); }

/* Цифри навсякъде еднакво широки */
.figures dd, .quote__price, .qq__price strong, .pl-meter strong, .fleet__stat strong { font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }

/* Хедър между 1100 и 1360 px: логото с .bg е по-широко – по-плътно меню,
   телефонът остава само като икона (номерът е достъпен за екранните четци) */
@media (min-width: 1100px) {
  .site-nav__link, .header-phone { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1359.98px) {
  .site-header__inner { gap: 16px; }
  .site-nav { margin-left: 0; }
  .site-nav__link { padding-inline: 11px; }
  .header-actions { gap: 8px; }
  .header-phone { justify-content: center; width: 42px; height: 42px; gap: 0; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 0; }
  .header-phone .icon { width: 19px; height: 19px; }
  .header-phone:hover { border-color: var(--ink); text-decoration: none; }
}
@media (min-width: 1100px) and (max-width: 1219.98px) {
  .header-actions .btn--ghost { display: none; } /* „Регистрация“ остава в менюто „Компания“ */
  .site-nav__link { padding-inline: 9px; }
}

/* Невидимо поле срещу спам ботове (попълнено = бот) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
