/* ============================================================
   МалАвто — дизайн-система
   Корпоративный графит + тёплый кремовый
   ============================================================ */

:root {
  /* Графит */
  --ink-900: #1A2332;
  --ink-800: #232E3F;
  --ink-700: #2D3A4D;

  /* Бумажные / фоновые */
  --paper:  #FFFFFF;
  --bg:     #F4F1EC;
  --bg-2:   #EBE6DC;

  /* Линии */
  --line:   #E5E0D9;
  --line-2: #D4CDC2;

  /* Текст */
  --text:   #2A3441;
  --text-2: #6B7785;
  --text-3: #98A1AE;

  /* Акцент — тёплый оранжевый */
  --accent:      #E8742C;
  --accent-h:    #D85F18;
  --accent-soft: #FFE8D6;
  --accent-ink:  #2A1A0A; /* тёмно-коричневый текст для CTA */

  /* Статусы */
  --ok:     #1F7A4A;
  --danger: #B0341B;

  /* Скругления */
  --r-1: 6px;
  --r-2: 10px;
  --r-3: 14px;
  --r-4: 20px;

  /* Тени */
  --sh-1: 0 1px 3px rgba(26, 35, 50, .06);
  --sh-2: 0 4px 16px rgba(26, 35, 50, .08);
  --sh-3: 0 24px 60px -16px rgba(26, 35, 50, .25);

  /* Сетка */
  --container: 1240px;
  --gutter: 24px;
}

/* -----------------------------------------------------------
   Base
   ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
  color: inherit;
}

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

p { margin: 0; }

/* -----------------------------------------------------------
   Контейнер
   ----------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* -----------------------------------------------------------
   Кнопки
   ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--r-2);
  border: 1px solid transparent;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-h); }

.btn-lg {
  padding: 16px 28px;
  font-size: 17px;
  border-radius: var(--r-2);
}

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.32);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--line-2);
}
.btn-outline:hover { background: var(--paper); border-color: var(--ink-900); }

/* btn-outline на тёмных секциях — белый текст и рамка, при ховере инверсия */
.page-hero .btn-outline,
.page-cta .btn-outline,
.autopark-cta .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.page-hero .btn-outline:hover,
.page-cta .btn-outline:hover,
.autopark-cta .btn-outline:hover {
  background: #fff;
  color: var(--ink-900);
  border-color: #fff;
}

.btn-block { width: 100%; }

/* -----------------------------------------------------------
   Бейджи
   ----------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-h);
}

.badge-license {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
}
.badge-license svg { color: var(--accent); }

/* -----------------------------------------------------------
   Шапка — верхняя полоса
   ----------------------------------------------------------- */
.topbar {
  background: var(--ink-900);
  color: rgba(255,255,255,.78);
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 9px 0;
}
.topbar .tb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.topbar .tb-item svg { color: var(--accent); flex-shrink: 0; }
.topbar .tb-right { justify-self: end; }
.topbar .tb-center { justify-self: center; }

@media (max-width: 900px) {
  .topbar-inner { grid-template-columns: 1fr; gap: 4px; padding: 8px 0; }
  .topbar .tb-right, .topbar .tb-center { justify-self: start; }
}

/* -----------------------------------------------------------
   Шапка — основная
   ----------------------------------------------------------- */
.header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--r-2);
  background: var(--ink-900);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.1;
}
.logo-sub {
  font-size: 11px;
  color: var(--text-2);
  margin-top: 2px;
  line-height: 1.3;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-self: center;
}
.nav a, .nav button.nav-trigger {
  padding: 10px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav a:hover, .nav button.nav-trigger:hover { background: var(--bg); color: var(--ink-900); }
.nav a.is-active { color: var(--ink-900); font-weight: 600; }

.nav-item { position: relative; }
.nav-item .chev { transition: transform .15s ease; }
.nav-item:hover .chev { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 340px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  box-shadow: var(--sh-3);
  padding: 8px;
  margin-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav-dropdown a:hover { background: var(--bg); }
.nav-dropdown .ndr-title { display: block; font-weight: 600; color: var(--ink-900); font-size: 14px; line-height: 1.3; }
.nav-dropdown .ndr-desc { display: block; font-size: 12px; color: var(--text-2); margin-top: 4px; line-height: 1.3; }

/* header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header-phone {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.header-phone:hover { color: var(--accent-h); }

/* burger */
.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 8px;
  color: var(--ink-900);
}
.burger:hover { background: var(--bg); }
.icon-phone-only { display: none; }

@media (max-width: 1024px) {
  .nav { display: none; }
  .header-phone { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .burger { display: inline-flex; }
  .icon-phone-only {
    display: inline-flex;
    width: 44px; height: 44px;
    align-items: center; justify-content: center;
    border-radius: 8px;
    background: var(--accent);
    color: var(--accent-ink);
  }
  .btn-header-cta { display: none; }
  .logo-sub { display: none; }
  .logo-mark { width: 40px; height: 40px; }
  .logo-name { font-size: 18px; }
}

/* mobile menu overlay */
.mmenu {
  position: fixed; inset: 0;
  background: var(--paper);
  z-index: 100;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}
.mmenu.is-open { display: flex; }
.mmenu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--line);
}
.mmenu-body { padding: 16px var(--gutter); display: flex; flex-direction: column; gap: 4px; }
.mmenu-body a {
  padding: 14px 12px;
  font-size: 17px;
  font-weight: 600;
  border-radius: 10px;
  color: var(--ink-900);
  border-bottom: 1px solid var(--line);
}
.mmenu-foot {
  margin-top: auto;
  padding: 20px var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
}

/* -----------------------------------------------------------
   Подвал
   ----------------------------------------------------------- */
.footer {
  background: var(--ink-900);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 48px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

.footer a:hover { color: var(--accent); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }

.footer-logo .logo-mark { background: rgba(255,255,255,.06); color: var(--accent); }
.footer-logo .logo-name { color: #fff; }
.footer-about { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,.6); margin-top: 18px; }
.footer-about strong { color: rgba(255,255,255,.85); font-weight: 600; }

.socials { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 10px;
  color: #fff;
  transition: transform .15s ease, filter .15s ease;
}
.social-btn:hover { transform: translateY(-2px); filter: brightness(1.1); }
.social-wa { background: #25D366; }
.social-tg { background: #2AABEE; }

.footer-contact-phone {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.footer-contact-phone:hover { color: var(--accent); }
.footer-contact-line {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.footer-contact-line svg { color: var(--accent); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,.5);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }

/* -----------------------------------------------------------
   FAB — плавающие кнопки
   ----------------------------------------------------------- */
.fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fab a {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease;
}
.fab a:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.fab .fab-wa { background: #25D366; }
.fab .fab-tg { background: #2AABEE; }

@media (max-width: 600px) {
  .fab { right: 16px; bottom: 16px; }
  .fab a { width: 48px; height: 48px; }
}

/* -----------------------------------------------------------
   Утилиты
   ----------------------------------------------------------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-bg-paper { background: var(--paper); }
.section-bg-cream { background: var(--bg); }
.section-bg-dark { background: var(--ink-900); color: rgba(255,255,255,.78); }
.section-bg-dark h2, .section-bg-dark h3, .section-bg-dark h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.section-head .lead {
  margin-top: 14px;
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
}
.section-bg-dark .section-head .lead { color: rgba(255,255,255,.65); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}


/* ============================================================
   ГЛАВНАЯ — компоненты блоков 1-8
   ============================================================ */

/* ---------- БЛОК 1 — HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 88px;
  background:
    radial-gradient(60% 80% at 80% 20%, rgba(232,116,44,.18) 0%, transparent 60%),
    radial-gradient(40% 60% at 10% 90%, rgba(45,58,77,.6) 0%, transparent 60%),
    var(--ink-900);
  color: #fff;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-text { max-width: 620px; }

.hero-h1 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 22px 0 18px;
}
.hero-h1 .dot { color: var(--accent); }

.hero-lead {
  color: rgba(255,255,255,.78);
  font-size: 19px;
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: 13.5px;
  font-weight: 500;
}
.hero-trust svg {
  width: 15px; height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  justify-content: stretch;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.10);
  max-width: 600px;
}
.hs-item {
  border-left: 2px solid var(--accent);
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hs-num {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 7px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hs-suffix {
  font-size: 17px;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
  letter-spacing: 0;
}
.hs-suffix-plus {
  color: var(--accent);
  font-weight: 800;
  margin-left: 1px;
}
.hs-label {
  font-size: 12px;
  color: rgba(255,255,255,.65);
  line-height: 1.35;
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* Коллаж */
.hero-collage {
  position: relative;
  height: 540px;
}
.bus {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,.5);
  background: var(--ink-700);
}
.bus img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bus::after {
  /* плейсхолдер на случай отсутствия фото */
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: rgba(255,255,255,.35);
  background: repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 8px, transparent 8px 16px), var(--ink-700);
  z-index: 0;
  pointer-events: none;
}
.bus img { position: relative; z-index: 1; }

.bus-badge {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(26,35,50,.85);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  z-index: 2;
}

.bus-1 { top: 0; left: 0; width: 72%; height: 58%; border: 1px solid rgba(255,255,255,.12); }
.bus-2 { top: 8%; right: 0; width: 42%; height: 38%; border: 2px solid var(--ink-900); z-index: 2; }
.bus-3 { bottom: 0; left: 8%; width: 46%; height: 42%; border: 2px solid var(--ink-900); z-index: 3; }
.bus-4 { bottom: 8%; right: 4%; width: 36%; height: 32%; border: 2px solid var(--ink-900); z-index: 2; }

.bus-card-fleet {
  position: absolute;
  top: 50%; right: -8%;
  transform: translateY(-50%);
  background: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  z-index: 5;
  display: flex; align-items: center; gap: 12px;
}
.bcf-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.bcf-title { font-size: 15px; font-weight: 700; color: var(--ink-900); line-height: 1.2; }
.bcf-sub { font-size: 12px; color: var(--text-2); margin-top: 2px; }

@media (max-width: 1100px) {
  .bus-card-fleet { right: 0; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .hero { padding: 40px 0 56px; }
  .hero-trust { flex-direction: column; gap: 10px; }
  .hero-stats { 
    grid-template-columns: 1fr 1fr; 
    gap: 18px 16px; 
    max-width: none;
  }
  .hs-num { font-size: 26px; }
  .hs-suffix { font-size: 15px; }
  .hs-label { font-size: 11.5px; }
  .hero-collage {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .bus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255,255,255,.12) !important;
  }
  .bus-card-fleet {
    position: static;
    transform: none;
    margin-top: 12px;
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* ---------- БЛОК 2 — УСЛУГИ ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  display: block;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  position: relative;
  color: var(--text);
}
.service-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.sc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-2);
  color: var(--ink-700);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.service-card.is-priority .sc-icon {
  background: var(--accent-soft);
  color: var(--accent-h);
}
.service-card.is-priority {
  border-color: var(--accent-soft);
}
.service-card.is-priority:hover {
  border-color: var(--accent);
}
.sc-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.service-card h3 { font-size: 18px; margin: 0; }
.sc-desc {
  font-size: 14px;
  color: var(--text-2);
  margin-bottom: 18px;
  line-height: 1.55;
}
.sc-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-h);
}
.sc-link svg { transition: transform .15s; }
.service-card:hover .sc-link svg { transform: translateX(3px); }

/* ---------- БЛОК 3 — АВТОПАРК ---------- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .fleet-grid { grid-template-columns: 1fr; } }

.fleet-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  color: var(--text);
}
.fleet-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.fc-img {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--bg) 0 10px, var(--bg-2) 10px 20px);
}
.fc-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.fc-img::after {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--text-3);
  pointer-events: none;
}
.fc-class {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,.95);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-900);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.fc-body { padding: 20px; }
.fc-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.fc-name { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.fc-seats {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.fc-seats small {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  margin-left: 4px;
}
.fc-task {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 14px;
  line-height: 1.5;
}
.fc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-3);
}
.fc-foot svg { color: var(--accent); flex-shrink: 0; }

/* ---------- БЛОК 4 — ПОЧЕМУ МАЛАВТО ---------- */
.why-section {
  background: var(--ink-900);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(40% 80% at 50% 0%, rgba(232,116,44,.12), transparent);
  pointer-events: none;
}
.why-section .container { position: relative; }
.why-section .eyebrow { color: var(--accent); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  overflow: hidden;
}
.why-cell {
  padding: 28px;
  border-right: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.why-cell:nth-child(3n) { border-right: 0; }
.why-cell:nth-last-child(-n+3) { border-bottom: 0; }
.wc-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(232,116,44,.12);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.why-cell h3 { color: #fff; font-size: 17px; margin-bottom: 6px; }
.why-cell p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.55; }
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-cell { border-right: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08); }
  .why-cell:nth-child(3n) { border-right: 1px solid rgba(255,255,255,.08); }
  .why-cell:nth-child(2n) { border-right: 0; }
  .why-cell:nth-last-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.08); }
  .why-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-cell { border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.08); }
  .why-cell:last-child { border-bottom: 0; }
}

/* ---------- БЛОК 5 — КАК МЫ РАБОТАЕМ ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .process-grid { grid-template-columns: 1fr; } }

.process-step { position: relative; }
.ps-num {
  font-size: 56px;
  font-weight: 800;
  color: var(--line-2);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}
@media (min-width: 901px) {
  .process-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 16px; right: -22px;
    color: var(--line-2);
    font-size: 24px;
    font-weight: 400;
  }
}

/* ---------- БЛОК 6 — НАМ ДОВЕРЯЮТ ---------- */
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .trust-layout { grid-template-columns: 1fr; gap: 32px; } }

.trust-head h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }

.trust-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
@media (max-width: 600px) { .trust-logos { grid-template-columns: repeat(2, 1fr); } }

.trust-logo-cell {
  background: #fff;
  padding: 28px 16px;
  text-align: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  min-height: 88px;
  display: grid;
  place-items: center;
}

.trust-reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .trust-reviews { grid-template-columns: 1fr; } }

.trust-review-empty {
  background: var(--paper);
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  padding: 32px 22px;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  line-height: 1.7;
}

/* ---------- БЛОК 7 — ГЕОГРАФИЯ ---------- */
.geo-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .geo-layout { grid-template-columns: 1fr; gap: 28px; } }

.geo-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.geo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
  transition: border-color .12s, transform .12s;
}
.geo-tag:hover { border-color: var(--accent); transform: translateY(-1px); }
.geo-tag svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ---------- БЛОК 8 — ЗАЯВКА ---------- */
.lead-section { background: var(--ink-800); color: rgba(255,255,255,.78); }
.lead-section h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }

.lead-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) { .lead-layout { grid-template-columns: 1fr; gap: 32px; } }

.lead-perks {
  list-style: none; padding: 0; margin: 28px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.lead-perks li {
  display: flex; align-items: center; gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}
.lead-perks li svg {
  width: 32px; height: 32px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(232,116,44,.16);
  color: var(--accent);
  flex-shrink: 0;
  box-sizing: border-box;
}

.lead-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 32px;
}
.lead-form h3 { font-size: 22px; margin-bottom: 6px; color: #fff; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.field { margin-bottom: 12px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px;
  color: #fff;
  outline: none;
  transition: border-color .12s, background .12s;
  font-family: inherit;
}
.field textarea { resize: vertical; min-height: 80px; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255,255,255,.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: rgba(255,255,255,.08);
}
.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid { border-color: var(--danger); }
.field-error {
  display: none;
  font-size: 12px;
  color: #ff9a8a;
  margin-top: 4px;
}
.field select option { background: var(--ink-800); color: #fff; }

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0;
  font-size: 13px;
  color: rgba(255,255,255,.7);
  line-height: 1.5;
  cursor: pointer;
}
.checkbox-row input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.checkbox-row a { color: var(--accent); text-decoration: underline; }

.lead-footnote {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  text-align: center;
}


/* === Inline logo: марка · название · подзаголовок · в одну строку с телефоном === */
.logo.logo-inline { display: inline-flex; align-items: center; gap: 12px; flex-wrap: nowrap; min-width: 0; }
.logo.logo-inline .logo-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.1;
  flex-shrink: 0;
}
.logo.logo-inline .logo-sub {
  font-size: 12.5px;
  color: var(--text-2);
  margin-top: 0;
  padding-left: 12px;
  border-left: 1px solid var(--line-2);
  line-height: 1.25;
  max-width: 180px;
}
/* Размеры/фон/фильтр квадрата задаёт .logo-mark.is-image (см. блок «12 мая 2026»). */

@media (max-width: 1180px) { .logo.logo-inline .logo-sub { display: none; } }


/* === HERO slider — один прямоугольник с автоперелистыванием === */
.hero-slider {
  position: relative;
  height: 520px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--ink-700);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.5);
}
.hero-slider .hslide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  pointer-events: none;
}
.hero-slider .hslide.is-active { opacity: 1; pointer-events: auto; }
.hero-slider .hslide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  position: relative; z-index: 1;
}
.hero-slider .hslide[data-placeholder]::before {
  content: attr(data-placeholder);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    var(--ink-700);
  z-index: 0;
}
.hero-slider .hslide.is-placeholder img { display: none; }
.hero-slider .bus-badge {
  position: absolute;
  bottom: 18px; left: 18px;
  background: rgba(26,35,50,.88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  z-index: 2;
}
.hero-slider .hslider-dots {
  position: absolute;
  bottom: 18px; right: 18px;
  display: flex; gap: 6px;
  z-index: 4;
}
.hero-slider .hslider-dots button {
  width: 28px; height: 4px;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: background .2s;
  cursor: pointer;
}
.hero-slider .hslider-dots button:hover { background: rgba(255,255,255,.5); }
.hero-slider .hslider-dots button.is-active { background: var(--accent); width: 36px; }

.hero-slider .bus-card-fleet {
  position: absolute;
  bottom: -28px; left: 24px;
  z-index: 5;
  top: auto; right: auto; transform: none;
}
@media (max-width: 768px) {
  .hero-slider { height: 320px; }
  .hero-slider .bus-card-fleet { display: none; }
}


/* Hero slider arrows */
.hero-slider .hslider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  display: grid; place-items: center;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  z-index: 5;
  opacity: .85;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.5));
  transition: opacity .15s, transform .15s, color .15s;
}
.hero-slider .hslider-arrow:hover { opacity: 1; color: var(--accent); }
.hero-slider .hslider-arrow:active { transform: translateY(-50%) scale(.92); }
.hero-slider .hslider-prev { left: 10px; }
.hero-slider .hslider-next { right: 10px; }
@media (max-width: 768px) {
  .hero-slider .hslider-arrow { width: 32px; height: 32px; }
  .hero-slider .hslider-prev { left: 4px; }
  .hero-slider .hslider-next { right: 4px; }
}

/* ============================================================
   СТРАНИЦА АВТОБУСА (avtopark/*.html)
   ============================================================ */

/* Hero автобуса */
.bus-hero {
  background: var(--paper);
  padding: 48px 0 64px;
}
.bus-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Галерея */
.bus-gallery {
  position: relative;
}
.bus-gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.bus-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bus-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.bus-gallery-thumb {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  background: var(--bg-2);
  transition: border-color .15s;
}
.bus-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bus-gallery-thumb.is-active {
  border-color: var(--ink-700);
}
.bus-gallery-thumb:hover {
  border-color: var(--line-2);
}
.bus-gallery-thumb.is-active:hover {
  border-color: var(--ink-700);
}

/* Описание (правая колонка) */
.bus-summary .bus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-2);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 14px;
}
.bus-summary .bus-eyebrow svg {
  color: var(--accent);
}
.bus-summary h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.bus-summary .bus-lead {
  font-size: 16px;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.55;
}
/* Оснащение (иконки) */
.bus-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.bus-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}
.bus-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--ink-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bus-feature-icon svg { width: 16px; height: 16px; }
/* CTA */
.bus-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.bus-cta-note {
  font-size: 12px;
  color: var(--text-3);
  margin: 0;
}

/* Теххарактеристики — компактная таблица */
.bus-specs {
  background: var(--bg);
  padding: 80px 0;
}
.bus-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.bus-specs-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.bus-specs-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-h);
  margin-bottom: 14px;
}
.bus-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.bus-specs-table tr {
  border-bottom: 1px solid var(--line);
}
.bus-specs-table tr:last-child {
  border-bottom: 0;
}
.bus-specs-table td {
  padding: 11px 0;
  vertical-align: top;
}
.bus-specs-table td:first-child {
  color: var(--text-2);
  width: 50%;
}
.bus-specs-table td:last-child {
  color: var(--ink-900);
  font-weight: 600;
  text-align: right;
}

/* Use Cases — Для каких задач подходит */
.bus-cases {
  background: var(--paper);
  padding: 80px 0;
}
.bus-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bus-case {
  padding: 26px 24px;
  border-left: 2px solid var(--accent);
  background: var(--bg);
  border-radius: 0 12px 12px 0;
}
.bus-case-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-700);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.bus-case-icon svg { width: 18px; height: 18px; }
.bus-case h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.bus-case p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Другие автобусы парка */
.bus-others {
  background: var(--bg);
  padding: 80px 0;
}
.bus-others-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.bus-others-head h2 {
  font-size: clamp(24px, 3vw, 32px);
}
.bus-others-link {
  color: var(--ink-700);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .15s;
}
.bus-others-link:hover {
  color: var(--accent-h);
}
.bus-others-link svg {
  transition: transform .15s;
}
.bus-others-link:hover svg {
  transform: translateX(3px);
}
.bus-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bus-other-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.bus-other-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.bus-other-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.bus-other-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bus-other-body {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bus-other-body h3 {
  font-size: 15px;
  margin: 0;
}
.bus-other-cls {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.bus-other-seats {
  text-align: right;
}
.bus-other-seats-num {
  font-weight: 800;
  font-size: 20px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.bus-other-seats-lbl {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}

/* CTA-блок "Заказать этот автобус" */
.bus-book {
  background: var(--ink-800);
  color: rgba(255,255,255,.78);
  padding: 80px 0;
}
.bus-book-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.bus-book h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 38px);
  margin-bottom: 14px;
}
.bus-book .lead {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin-bottom: 24px;
}
.bus-book-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bus-book-perks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
}
.bus-book-perks svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* Адаптив страницы автобуса */
@media (max-width: 1024px) {
  .bus-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .bus-specs-grid { grid-template-columns: 1fr; }
  .bus-cases-grid { grid-template-columns: 1fr 1fr; }
  .bus-others-grid { grid-template-columns: 1fr 1fr; }
  .bus-book-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .bus-cases-grid { grid-template-columns: 1fr; }
  .bus-others-grid { grid-template-columns: 1fr; }
  .bus-features { grid-template-columns: 1fr; }
  .bus-keys { grid-template-columns: 1fr 1fr 1fr; }
  .bus-specs { padding: 56px 0; }
  .bus-cases { padding: 56px 0; }
  .bus-others { padding: 56px 0; }
  .bus-book { padding: 56px 0; }
}

/* Bullets-бейджи на странице автобуса (вместо .bus-keys) */
.bus-bullets {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-bottom: 24px;
}
.bus-bullet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-900);
}
.bus-bullet-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .bus-bullets {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================================
   СТРАНИЦА АВТОПАРКА (/avtopark.html)
   ============================================================ */

/* Hero страницы автопарка */
.autopark-hero {
  background: var(--paper);
  padding: 56px 0 48px;
}
.autopark-hero-inner {
  max-width: 760px;
}
.autopark-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 14px;
}
.autopark-hero .lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 28px;
}
.autopark-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Секция со списком автобусов */
.autopark-list {
  background: var(--bg);
  padding: 64px 0 80px;
}
.autopark-list-head {
  margin-bottom: 36px;
  max-width: 720px;
}
.autopark-list-head h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 12px;
}
.autopark-list-head p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Сетка крупных карточек */
.autopark-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 900px) {
  .autopark-list-grid { grid-template-columns: 1fr; }
}

/* Большая карточка автобуса */
.bus-list-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  color: var(--text);
}
.bus-list-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-3px);
}
.bus-list-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.bus-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.bus-list-card:hover .bus-list-img img {
  transform: scale(1.04);
}
.bus-list-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.bus-list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.bus-list-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-h);
  margin-bottom: 4px;
}
.bus-list-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.15;
}
.bus-list-seats {
  text-align: right;
  flex-shrink: 0;
}
.bus-list-seats-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}
.bus-list-seats-lbl {
  display: block;
  font-size: 11px;
  color: var(--text-3);
  margin-top: 2px;
}
.bus-list-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.bus-list-best-for {
  font-size: 13px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: 8px;
  border-left: 2px solid var(--accent);
}
.bus-list-bf-label {
  color: var(--text-3);
  font-weight: 600;
  margin-right: 4px;
}
.bus-list-bf-text {
  color: var(--ink-900);
}
.bus-list-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.bus-list-chip {
  display: inline-block;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--text-2);
  border: 1px solid var(--line);
}
.bus-list-foot {
  padding-top: 4px;
  margin-top: auto;
}
.bus-list-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-h);
}
.bus-list-link svg {
  transition: transform .15s;
}
.bus-list-card:hover .bus-list-link svg {
  transform: translateX(3px);
}

/* Полоска с гарантиями */
.autopark-trust {
  background: var(--paper);
  padding: 80px 0;
}
.autopark-trust h2 {
  font-size: clamp(26px, 3vw, 32px);
  margin-bottom: 32px;
  text-align: center;
}
.autopark-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) { .autopark-trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .autopark-trust-grid { grid-template-columns: 1fr; } }

.autopark-trust-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.att-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.autopark-trust-item h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.autopark-trust-item p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin: 0;
}

/* CTA "Не нашли подходящий?" */
.autopark-cta {
  background: var(--ink-800);
  color: rgba(255,255,255,.78);
  padding: 80px 0;
}
.autopark-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .autopark-cta-grid { grid-template-columns: 1fr; gap: 32px; }
}
.autopark-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}
.autopark-cta .lead {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Адаптив страницы автопарка */
@media (max-width: 640px) {
  .autopark-hero { padding: 40px 0 32px; }
  .autopark-list { padding: 48px 0 56px; }
  .autopark-trust { padding: 56px 0; }
  .autopark-cta { padding: 56px 0; }
  .bus-list-body { padding: 18px; gap: 12px; }
  .bus-list-name { font-size: 19px; }
  .bus-list-seats-num { font-size: 26px; }
}

/* ============================================================
   СТРАНИЦЫ УСЛУГ (uslugi/*.html)
   ============================================================ */

/* HERO */
.usl-hero {
  background: var(--paper);
  padding: 64px 0 56px;
}
.usl-hero-grid {
  max-width: 820px;
}
.usl-hero h1 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
.usl-hero-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 28px;
}
.usl-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.usl-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.usl-hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}
.usl-hero-trust svg {
  color: var(--accent);
  flex-shrink: 0;
}

/* ЧТО ВХОДИТ */
.usl-included {
  background: var(--bg);
  padding: 80px 0;
}
.usl-included h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.usl-included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.usl-included-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color .15s, box-shadow .15s;
}
.usl-included-item:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-1);
}
.usl-included-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.usl-included-item h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.usl-included-item p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* КОМУ ПОДХОДИТ */
.usl-who {
  background: var(--paper);
  padding: 80px 0;
}
.usl-who h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.usl-who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.usl-who-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  border-left: 3px solid var(--accent);
}
.usl-who-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.usl-who-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* КАК РАБОТАЕМ */
.usl-process {
  background: var(--bg);
  padding: 80px 0;
}
.usl-process h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.usl-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.usl-process-step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 22px;
  position: relative;
}
.usl-step-num {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 14px;
}
.usl-process-step h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.usl-process-step p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}

/* АВТОПАРК В УСЛУГЕ */
.usl-fleet {
  background: var(--paper);
  padding: 80px 0;
}
.usl-fleet h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 12px;
}
.usl-fleet-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 720px;
}
.usl-fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.usl-fleet-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  color: var(--text);
}
.usl-fleet-card:hover {
  border-color: var(--line-2);
  box-shadow: var(--sh-2);
  transform: translateY(-2px);
}
.usl-fleet-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-2);
}
.usl-fleet-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.usl-fleet-card:hover .usl-fleet-img img {
  transform: scale(1.04);
}
.usl-fleet-body {
  padding: 16px 18px;
}
.usl-fleet-body h3 {
  font-size: 15px;
  margin: 0 0 4px;
  color: var(--ink-900);
}
.usl-fleet-seats {
  font-size: 12px;
  color: var(--text-3);
}
.usl-fleet-foot {
  margin-top: 28px;
  text-align: center;
}
.usl-fleet-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-h);
  padding: 10px 20px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  transition: background .15s, border-color .15s;
}
.usl-fleet-link:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* ЦЕНЫ */
.usl-price {
  background: var(--bg);
  padding: 80px 0;
}
.usl-price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.usl-price h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 16px;
}
.usl-price-lead {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.usl-price-factors {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 30px;
}
.usl-price-factors h3 {
  font-size: 16px;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.usl-price-factors ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.usl-price-factors li {
  font-size: 14px;
  color: var(--text);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.usl-price-factors li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* FAQ */
.usl-faq {
  background: var(--paper);
  padding: 80px 0;
}
.usl-faq h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.usl-faq-list {
  max-width: 880px;
}
.usl-faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.usl-faq-item:first-child {
  border-top: 1px solid var(--line);
}
.usl-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink-900);
  padding-right: 36px;
  position: relative;
  display: block;
  line-height: 1.45;
}
.usl-faq-item summary::-webkit-details-marker {
  display: none;
}
.usl-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  transition: transform .2s;
}
.usl-faq-item[open] summary::after {
  content: '−';
}
.usl-faq-answer {
  padding-top: 14px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
}
.usl-faq-answer p {
  margin: 0;
}

/* ОТЗЫВЫ */
.usl-reviews {
  background: var(--bg);
  padding: 80px 0;
}
.usl-reviews h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.usl-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.usl-review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.usl-review-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}
.usl-review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.usl-review-author {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.usl-review-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
}
.usl-review-role {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}

/* ДРУГИЕ УСЛУГИ */
.usl-other {
  background: var(--paper);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.usl-other h2 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--ink-900);
}
.usl-other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.usl-other-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  border: 1px solid var(--line);
  transition: border-color .15s, background .15s;
}
.usl-other-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.usl-other-link svg {
  color: var(--accent);
  transition: transform .15s;
}
.usl-other-link:hover svg {
  transform: translateX(3px);
}

/* Адаптив страниц услуг */
@media (max-width: 1024px) {
  .usl-included-grid { grid-template-columns: 1fr; }
  .usl-who-grid { grid-template-columns: 1fr 1fr; }
  .usl-process-grid { grid-template-columns: 1fr 1fr; }
  .usl-fleet-grid { grid-template-columns: 1fr 1fr; }
  .usl-reviews-grid { grid-template-columns: 1fr; }
  .usl-other-grid { grid-template-columns: 1fr 1fr; }
  .usl-price-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .usl-hero { padding: 40px 0; }
  .usl-included, .usl-who, .usl-process, .usl-fleet, .usl-price, .usl-faq, .usl-reviews { padding: 56px 0; }
  .usl-who-grid, .usl-process-grid, .usl-fleet-grid, .usl-other-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ОБЩИЕ СТИЛИ ДЛЯ СТРАНИЦ (О компании, Контакты, B2B-лендинги, Спасибо, Legal)
   ============================================================ */

/* Общий Hero для большинства страниц */
.page-hero {
  background: var(--paper);
  padding: 64px 0 48px;
}
.page-hero-compact {
  padding: 40px 0 24px;
}
.page-hero-inner {
  max-width: 820px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 12px 0 16px;
}
.page-hero-lead {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Общий CTA внизу страницы */
.page-cta {
  background: var(--ink-800);
  color: rgba(255,255,255,.78);
  padding: 80px 0;
}
.page-cta-inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.page-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 14px;
}
.page-cta p {
  color: rgba(255,255,255,.75);
  font-size: 16px;
  margin-bottom: 24px;
  line-height: 1.55;
}
.page-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
@media (max-width: 640px) {
  .page-cta { padding: 56px 0; }
}

/* ============================================================
   О КОМПАНИИ /o-kompanii.html
   ============================================================ */

.about-intro {
  background: var(--bg);
  padding: 80px 0;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-intro h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 18px;
}
.about-intro p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 14px;
}
.about-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ais-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
}
.ais-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.03em;
  line-height: 1;
}
.ais-lbl {
  font-size: 12px;
  color: var(--text-2);
  margin-top: 6px;
}

@media (max-width: 900px) {
  .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Лицензия */
.about-license {
  background: var(--paper);
  padding: 80px 0;
}

/* Вертикальная компоновка: текст сверху, страницы лицензии в ряд снизу */
.al-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.al-text {
  max-width: 820px;
}
.al-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 16px;
}
.al-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 24px;
}
.al-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.al-meta li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.al-meta li:first-child { border-top: 1px solid var(--line); padding-top: 12px; }
.al-meta-key { color: var(--text-2); flex-shrink: 0; }
.al-meta-val { color: var(--ink-900); font-weight: 600; text-align: right; }

.al-note {
  background: rgba(232, 109, 41, 0.06);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.55;
  border-radius: 0 8px 8px 0;
  margin: 0 0 24px;
}

.al-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--ink-900);
  color: #fff !important;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}
.al-cta:hover {
  background: #0F1A2A;
  transform: translateY(-1px);
}
.al-cta svg { color: var(--accent); }

/* Страницы лицензии в горизонтальный ряд под текстом */
.al-doc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}
.al-doc-link {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(20, 28, 42, 0.12), 0 2px 6px rgba(20, 28, 42, 0.06);
  background: #fff;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--line);
}
.al-doc-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(20, 28, 42, 0.18), 0 4px 10px rgba(20, 28, 42, 0.08);
}
.al-doc-link img {
  display: block;
  width: 100%;
  height: auto;
}
.al-doc-page {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(26, 35, 50, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.al-doc-hint {
  font-size: 12px;
  color: var(--text-2);
  text-align: center;
  margin: -16px 0 0;
  font-style: italic;
}

@media (max-width: 700px) {
  .al-doc-row { grid-template-columns: 1fr; gap: 16px; max-width: 500px; }
  .al-meta li { font-size: 13px; flex-direction: column; gap: 4px; }
  .al-meta-val { text-align: left; }
}

/* ──────────────────────────────────────────────────────────────
   Кликабельные ссылки на лицензию (общие)
   ────────────────────────────────────────────────────────────── */

/* Лицензия в top-bar (тонкая полоса сверху) */
.tb-license-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: color .2s ease, opacity .2s ease;
}
.tb-license-link:hover {
  color: var(--accent);
  opacity: 1;
}

/* Бейдж лицензии в hero (главная) — был span, теперь a */
a.badge-license {
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .15s ease;
}
a.badge-license:hover {
  background: rgba(232, 109, 41, 0.08);
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* Карточка лицензии в блоке "Почему МалАвто" — была div, теперь a */
.why-cell-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
}
.why-cell-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  border-color: var(--accent) !important;
}
.wc-link-arrow {
  display: inline-block;
  margin-left: 6px;
  color: var(--accent);
  font-weight: 700;
  transition: transform .2s ease;
}
.why-cell-link:hover .wc-link-arrow {
  transform: translate(2px, -2px);
}

/* Лицензия в футере (кликабельная) */
.footer-license-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color .2s ease, border-color .2s ease;
}
.footer-license-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.footer-license-link span[aria-hidden] {
  color: var(--accent);
  font-weight: 700;
}

/* Лицензия как inline-ссылка в тексте параграфа */
.inline-license-link {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  transition: color .2s ease;
}
.inline-license-link:hover {
  color: var(--accent);
}
.inline-license-link span[aria-hidden] {
  color: var(--accent);
  font-weight: 700;
}

/* Принципы */
.about-values {
  background: var(--bg);
  padding: 80px 0;
}
.about-values h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 36px;
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.av-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.av-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.av-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.av-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .av-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .av-grid { grid-template-columns: 1fr; } }

/* Реквизиты */
.about-requisites {
  background: var(--paper);
  padding: 80px 0;
}
.about-requisites h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 32px;
}
.ar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.ar-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 30px;
}
.ar-card h3 {
  font-size: 16px;
  margin: 0 0 18px;
  color: var(--ink-900);
}
.ar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.ar-table tr {
  border-bottom: 1px solid var(--line);
}
.ar-table tr:last-child { border-bottom: 0; }
.ar-table td {
  padding: 11px 0;
  vertical-align: top;
}
.ar-table td:first-child {
  color: var(--text-2);
  width: 45%;
}
.ar-table td:last-child {
  color: var(--ink-900);
  font-weight: 600;
}

@media (max-width: 900px) { .ar-grid { grid-template-columns: 1fr; } }


/* ============================================================
   КОНТАКТЫ /kontakty.html
   ============================================================ */

.contacts-main {
  background: var(--bg);
  padding: 64px 0;
}
.cm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  transition: border-color .15s, transform .15s, box-shadow .15s;
  display: block;
  color: var(--text);
}
.cm-card:not(.cm-card-static):hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.cm-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}
.cm-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.cm-value {
  display: block;
  font-size: 19px;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cm-note {
  display: block;
  font-size: 13px;
  color: var(--text-2);
}
@media (max-width: 900px) { .cm-grid { grid-template-columns: 1fr; } }

.contacts-how {
  background: var(--paper);
  padding: 80px 0;
}
.contacts-how h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 32px;
}
.ch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ch-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.ch-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 14px;
}
.ch-card h3 {
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.ch-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
.ch-card a {
  color: var(--accent-h);
  font-weight: 600;
}
@media (max-width: 900px) { .ch-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ch-grid { grid-template-columns: 1fr; } }

.contacts-requisites {
  background: var(--bg);
  padding: 80px 0;
}
.contacts-requisites h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin: 12px 0 24px;
}
.cr-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 760px;
}
.cr-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.cr-table tr {
  border-bottom: 1px solid var(--line);
}
.cr-table tr:last-child { border-bottom: 0; }
.cr-table td {
  padding: 12px 0;
  vertical-align: top;
}
.cr-table td:first-child {
  color: var(--text-2);
  width: 40%;
}
.cr-table td:last-child {
  color: var(--ink-900);
  font-weight: 600;
}
.cr-table a {
  color: var(--accent-h);
}
.cr-note {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 18px;
  font-style: italic;
}


/* ============================================================
   B2B-ЛЕНДИНГИ (Корпоративным, Турфирмам)
   ============================================================ */

.b2b-why {
  background: var(--bg);
  padding: 80px 0;
}
.b2b-why h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
.b2b-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.b2b-why-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.b2b-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-h);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.b2b-why-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.b2b-why-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 900px) { .b2b-why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .b2b-why-grid { grid-template-columns: 1fr; } }

.b2b-types {
  background: var(--paper);
  padding: 80px 0;
}
.b2b-types h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 32px;
}
.b2b-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.b2b-type-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: block;
  color: var(--text);
  transition: border-color .15s, transform .15s;
  border-left: 3px solid var(--accent);
}
.b2b-type-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  transform: translateY(-2px);
}
.b2b-type-card h3 {
  font-size: 17px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.b2b-type-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 12px;
}
.b2b-type-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-h);
}
@media (max-width: 900px) { .b2b-types-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .b2b-types-grid { grid-template-columns: 1fr; } }

.b2b-process {
  background: var(--bg);
  padding: 80px 0;
}
.b2b-process h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 36px;
}
@media (max-width: 640px) { .b2b-process { padding: 56px 0; } }

.b2b-routes {
  background: var(--paper);
  padding: 80px 0;
}
.b2b-routes h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 32px;
}
.b2b-routes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.b2b-route-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px 28px;
}
.b2b-route-card h3 {
  font-size: 18px;
  margin: 0 0 16px;
  color: var(--ink-900);
}
.b2b-route-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.b2b-route-card li {
  font-size: 14px;
  color: var(--text);
  padding-left: 20px;
  position: relative;
  line-height: 1.55;
}
.b2b-route-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 900px) { .b2b-routes-grid { grid-template-columns: 1fr; } }

.b2b-fleet {
  background: var(--bg);
  padding: 80px 0;
}
.b2b-fleet h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 12px 0 32px;
}


/* ============================================================
   СПАСИБО /spasibo.html
   ============================================================ */

.thanks-hero {
  background: var(--paper);
  padding: 80px 0 64px;
}
.thanks-hero-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.thanks-icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #1F7A4A;
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.thanks-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
  color: var(--ink-900);
}
.thanks-lead {
  font-size: 18px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}
.thanks-note {
  font-size: 15px;
  color: var(--text-2);
}
.thanks-note a {
  color: var(--accent-h);
  font-weight: 600;
}

.thanks-explore {
  background: var(--bg);
  padding: 80px 0;
}
.thanks-explore h2 {
  font-size: clamp(24px, 3vw, 30px);
  margin: 12px 0 32px;
}
.thanks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.thanks-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: block;
  color: var(--text);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.thanks-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.thanks-card-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-2);
}
.thanks-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.thanks-card-body {
  padding: 22px 24px;
}
.thanks-card-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-h);
  margin-bottom: 8px;
}
.thanks-card h3 {
  font-size: 18px;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.thanks-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.55;
  margin: 0 0 12px;
}
.thanks-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-h);
}
@media (max-width: 900px) { .thanks-grid { grid-template-columns: 1fr; } }

.thanks-services {
  background: var(--paper);
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.thanks-services h2 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--ink-900);
}
.thanks-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.thanks-service-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-900);
  border: 1px solid var(--line);
  transition: border-color .15s, background .15s;
}
.thanks-service-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.thanks-service-link svg {
  color: var(--accent);
}
@media (max-width: 900px) { .thanks-services-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .thanks-services-grid { grid-template-columns: 1fr; } }


/* ============================================================
   ПРАВОВЫЕ СТРАНИЦЫ /legal/*.html
   ============================================================ */

.legal-content {
  background: var(--paper);
  padding: 48px 0 80px;
}
.legal-text {
  max-width: 820px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}
.legal-meta {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 32px;
  font-style: italic;
}
.legal-text h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--ink-900);
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text p {
  margin: 0 0 14px;
  color: var(--text);
}
.legal-text ul {
  margin: 0 0 16px;
  padding-left: 24px;
}
.legal-text li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.legal-text a {
  color: var(--accent-h);
  font-weight: 600;
}
.legal-text a:hover {
  text-decoration: underline;
}


/* ========================================================
   Логотип-знак МалАвто (квадрат + текст, 12 мая 2026)
   Графитовый квадрат с буквами МАЛ (как фавикон) + текст «МалАвто».
   Единый стиль везде: шапка, футер, мобильное меню.
   ======================================================== */

/* Контейнер логотипа-картинки — квадратный знак */
.logo-mark.is-image {
  width: 48px;
  height: 48px;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.logo-mark.is-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
}

/* Текст «МалАвто» рядом с квадратом — теперь показываем везде */
.header .logo .logo-name,
.mmenu .logo .logo-name {
  display: inline-block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  line-height: 1.1;
}

/* В футере темный фон → белый текст, квадрат чуть меньше */
.footer-logo .logo-mark.is-image {
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: 9px;
}
.footer-logo .logo-name {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* В мобильном меню — компактнее */
.mmenu .logo-mark.is-image {
  width: 40px;
  height: 40px;
  border-radius: 9px;
}
.mmenu .logo .logo-name {
  font-size: 20px;
}

/* Адаптив: на узких экранах */
@media (max-width: 768px) {
  .logo-mark.is-image { width: 42px; height: 42px; border-radius: 9px; }
  .header .logo .logo-name { font-size: 19px; }
  .mmenu .logo-mark.is-image { width: 38px; height: 38px; }
}
@media (max-width: 480px) {
  .logo-mark.is-image { width: 38px; height: 38px; }
  .header .logo .logo-name { font-size: 17px; }
}
