/* ==========================================================================
   Финальная версия (Объединение Neon + Astra)
   Эвакуатор 24/7 и Газель — Майкоп и Майкопский район
   Design System: Adygea Pine-Slate Hero + Daylight Engineering Utility
   ========================================================================== */

:root {
  --bg: #f5f7f9;
  --surface: #ffffff;
  --surface-alt: #ecf1f4;
  --blueprint-bg: #f7fafc;
  --pine: #10353b;
  --pine-deep: #0b262b;
  --pine-border: rgba(255, 255, 255, 0.18);
  --ink: #101c22;
  --ink-secondary: #33454e;
  --ink-muted: #5a6d76;
  --border: #d4dfe4;
  --border-strong: #b2c3cb;

  /* Real fleet colors */
  --amber: #f2a900;
  --amber-hover: #da9700;
  --amber-soft: #fff6dc;
  --amber-border: #ebcb78;

  --cobalt: #1d56a8;
  --cobalt-hover: #154386;
  --cobalt-soft: #eaf2fd;
  --cobalt-border: #a7c5f0;

  /* Messenger channels */
  --wa: #178a47;
  --wa-hover: #12723a;
  --tg: #1982c4;
  --tg-hover: #136ba3;
  --max: #5a4ae3;
  --max-hover: #4838cc;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(16, 28, 34, 0.05);
  --shadow-md: 0 10px 28px rgba(16, 28, 34, 0.09);
  --shadow-lg: 0 20px 48px rgba(11, 38, 43, 0.22);

  --container: 1180px;
  --header-h: 68px;
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.tnum { font-variant-numeric: tabular-nums; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--pine); color: var(--amber);
  display: grid; place-items: center; font-weight: 800; font-size: 15px;
  border: 2px solid var(--amber); flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.18; }
.brand-name { font-weight: 800; font-size: 15.5px; letter-spacing: -0.01em; color: var(--pine); }
.brand-sub { font-size: 12px; color: var(--ink-muted); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  padding: 8px 12px; border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 600; color: var(--ink-secondary);
  white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease;
}
.site-nav a:hover { background: var(--surface-alt); color: var(--ink); }
.site-nav a[aria-current="page"] { background: var(--pine); color: #ffffff; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.header-phone {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 14px; border-radius: var(--radius-sm);
  background: var(--amber); color: var(--ink);
  font-weight: 700; font-size: 14.5px; white-space: nowrap;
  transition: background-color 0.15s ease;
}
.header-phone:hover { background: var(--amber-hover); }

.icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: inline-grid; place-items: center; color: #ffffff; border: none;
  transition: filter 0.14s ease;
}
.icon-btn:hover { filter: brightness(0.92); }
.icon-btn--wa { background: var(--wa); }
.icon-btn--tg { background: var(--tg); }
.icon-btn--max { background: var(--max); }

.nav-toggle {
  display: none; width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  align-items: center; justify-content: center;
}
.mobile-drawer {
  display: none; border-top: 1px solid var(--border);
  background: var(--surface); padding: 14px 20px 18px;
}
.mobile-drawer.is-open { display: block; }
.mobile-drawer-nav { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.mobile-drawer-nav a { padding: 10px 12px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px; }
.mobile-drawer-nav a[aria-current="page"] { background: var(--pine); color: #ffffff; }
.mobile-drawer-phones { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- Authentic 01 RUS License Plate ---------- */
.plate-badge {
  display: inline-flex; align-items: stretch; flex-shrink: 0; white-space: nowrap;
  background: #ffffff; border: 2px solid #101c22; border-radius: 5px;
  color: #101c22; font-weight: 700; line-height: 1;
  box-shadow: 0 2px 6px rgba(16, 28, 34, 0.16); overflow: hidden; user-select: all;
}
.plate-main { padding: 5px 8px; font-size: 13.5px; letter-spacing: 0.04em; display: flex; align-items: center; white-space: nowrap; }
.plate-region { border-left: 1.5px solid #101c22; padding: 3px 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; }
.plate-rus { display: flex; align-items: center; gap: 3px; font-size: 7.5px; font-weight: 700; letter-spacing: 0.03em; }
.plate-flag { width: 10px; height: 7px; border: 0.5px solid rgba(16, 28, 34, 0.25); background: linear-gradient(to bottom, #ffffff 33.3%, #1c57a7 33.3% 66.6%, #d52b1e 66.6%); display: inline-block; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 18px; border-radius: var(--radius-sm);
  border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.15;
  white-space: nowrap; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn--call { background: var(--amber); color: var(--ink); font-weight: 700; }
.btn--call:hover { background: var(--amber-hover); }
.btn--call-light { background: rgba(255, 255, 255, 0.11); color: #ffffff; border-color: rgba(255, 255, 255, 0.3); font-weight: 600; }
.btn--call-light:hover { background: rgba(255, 255, 255, 0.18); border-color: #ffffff; }
.btn--call-alt { background: var(--surface); color: var(--ink); border-color: var(--border-strong); font-weight: 600; }
.btn--call-alt:hover { background: var(--surface-alt); border-color: var(--ink); }
.btn--cobalt { background: var(--cobalt); color: #ffffff; }
.btn--cobalt:hover { background: var(--cobalt-hover); }
.btn--pine { background: var(--pine); color: #ffffff; }
.btn--pine:hover { background: var(--pine-deep); }
.btn--wa { background: var(--wa); color: #ffffff; }
.btn--wa:hover { background: var(--wa-hover); }
.btn--tg { background: var(--tg); color: #ffffff; }
.btn--tg:hover { background: var(--tg-hover); }
.btn--max { background: var(--max); color: #ffffff; }
.btn--max:hover { background: var(--max-hover); }
.btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--ink); }
.btn--ghost:hover { background: var(--surface-alt); }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.contact-grid .btn { width: 100%; }

/* ---------- Breadcrumbs on Dark Pine Strip ---------- */
.breadcrumbs-bar { background: var(--pine-deep); color: #b7cdd2; font-size: 13px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.breadcrumbs-bar ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumbs-bar li:not(:last-child)::after { content: '/'; margin-left: 8px; opacity: 0.45; }
.breadcrumbs-bar a:hover { color: var(--amber); }

/* ---------- Signature Pine-Slate Hero with Interactive 4-Photo Slider ---------- */
.hero {
  background: linear-gradient(135deg, var(--pine) 0%, #0d2b30 100%);
  color: #ffffff;
  padding: 36px 0 44px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}
.status-line {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 13.5px; font-weight: 600; color: #e4f1f3;
  margin-bottom: 16px;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25); }
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; color: #ffffff;
  max-width: 19ch;
}
.hero--sub h1 { max-width: 22ch; }
.hero-lead { margin: 0 0 22px; font-size: 16.5px; line-height: 1.55; color: #d1e2e6; max-width: 54ch; }
.hero-phones { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.hero-messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-mobile-bar { display: none; }

/* Hero Slider Card */
.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--pine-deep);
  box-shadow: var(--shadow-lg);
}
.hero-slider-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #081c20;
}
.hero-slider-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.22s ease;
}
.hero-zoom-btn {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(11, 38, 43, 0.72); color: #ffffff;
  display: grid; place-items: center;
}
.hero-zoom-btn:hover { background: rgba(11, 38, 43, 0.92); }
.hero-slider-plate { position: absolute; top: 12px; left: 12px; }

.hero-slider-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; background: #ffffff; color: var(--ink);
}
.hero-slider-cap { min-width: 0; }
.hero-slider-cap strong { display: block; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.hero-slider-cap span { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.slider-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.slider-count { font-size: 13px; font-weight: 700; color: var(--ink-muted); margin-right: 4px; }
.slider-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong); background: var(--bg); color: var(--ink);
  display: grid; place-items: center; font-size: 18px; line-height: 1;
}
.slider-btn:hover { background: var(--pine); color: #ffffff; border-color: var(--pine); }

/* Key Metrics Band right beneath Hero */
.metrics-band {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.metric-cell {
  padding: 18px 20px;
  border-right: 1px solid var(--border);
}
.metric-cell:first-child { padding-left: 0; }
.metric-cell:last-child { border-right: none; padding-right: 0; }
.metric-val { font-size: 21px; font-weight: 800; color: var(--pine); letter-spacing: -0.02em; line-height: 1.15; }
.metric-lbl { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 62px 0; }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.section-head h2 { margin: 0; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.16; letter-spacing: -0.02em; font-weight: 800; max-width: 28ch; color: var(--ink); }
.section-head p { margin: 8px 0 0; color: var(--ink-muted); max-width: 60ch; font-size: 16px; }

/* ---------- Interactive Fleet Blueprint (Side + Top View!) ---------- */
.fleet-switch {
  display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--surface-alt); padding: 5px; border-radius: var(--radius-md);
  border: 1px solid var(--border); gap: 5px; margin-bottom: 22px; width: 100%; max-width: 680px;
}
.fleet-tab {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: transparent; text-align: left;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.fleet-tab-title { font-size: 16px; font-weight: 700; color: var(--ink); display: block; }
.fleet-tab-sub { font-size: 13px; color: var(--ink-muted); display: block; margin-top: 2px; }
.fleet-tab[aria-selected="true"] { background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.fleet-tab[data-vehicle="tow"][aria-selected="true"] { border-color: var(--amber); box-shadow: inset 3px 0 0 var(--amber), var(--shadow-sm); }
.fleet-tab[data-vehicle="gazel"][aria-selected="true"] { border-color: var(--cobalt); box-shadow: inset 3px 0 0 var(--cobalt), var(--shadow-sm); }

.fleet-stage {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.fleet-stage[data-active="tow"] { border-top: 4px solid var(--amber); }
.fleet-stage[data-active="gazel"] { border-top: 4px solid var(--cobalt); }

.blueprint-box {
  background:
    linear-gradient(to right, rgba(16, 53, 59, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(to bottom, rgba(16, 53, 59, 0.05) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--blueprint-bg);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.blueprint-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.blueprint-title { font-weight: 700; font-size: 16px; color: var(--ink); }
.blueprint-svg-wrap { width: 100%; overflow: hidden; }
.blueprint-svg-wrap svg { width: 100%; height: auto; display: block; }
.dim-line { stroke-dasharray: 420; stroke-dashoffset: 0; transition: stroke-dashoffset 0.55s ease; }
.blueprint-svg-wrap.is-animating .dim-line { stroke-dashoffset: 420; }

.cargo-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.cargo-chip {
  padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); font-size: 13.5px; font-weight: 600; color: var(--ink-secondary);
}
.cargo-chip:hover { border-color: var(--pine); color: var(--pine); }
.cargo-chip.is-active { background: var(--pine); border-color: var(--pine); color: #ffffff; }

.fleet-info { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.fleet-photo-card { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16 / 10; background: var(--pine-deep); position: relative; }
.fleet-photo-card img { width: 100%; height: 100%; object-fit: cover; }
.fleet-photo-label { position: absolute; left: 10px; bottom: 10px; background: rgba(11, 38, 43, 0.88); color: #ffffff; font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: var(--radius-sm); }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.spec-table th { font-weight: 500; color: var(--ink-muted); width: 46%; padding-right: 12px; }
.spec-table td { font-weight: 700; color: var(--ink); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.fleet-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
.text-link { color: var(--pine); font-weight: 700; font-size: 14.5px; border-bottom: 1.5px solid rgba(16, 53, 59, 0.35); padding-bottom: 1px; }
.text-link:hover { border-bottom-color: var(--pine); color: var(--cobalt); }

/* ---------- Dual Vehicle Comparison Cards ---------- */
.dual-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vehicle-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.vehicle-card-media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--pine-deep); }
.vehicle-card-media img { width: 100%; height: 100%; object-fit: cover; }
.vehicle-card-plate { position: absolute; top: 12px; left: 12px; }
.vehicle-card-body { padding: 22px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.vehicle-card-body h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.015em; }
.vehicle-card-body p { margin: 0; color: var(--ink-secondary); font-size: 15px; }
.bullet-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bullet-list li { position: relative; padding-left: 20px; font-size: 14.5px; color: var(--ink-secondary); }
.bullet-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 2px; background: var(--amber); }
.bullet-list--cobalt li::before { background: var(--cobalt); }

/* ---------- Interactive Route Map ---------- */
.coverage-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 24px; align-items: start; }
.map-panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.route-svg { width: 100%; height: auto; display: block; }
.map-node { cursor: pointer; }
.map-node circle.node-dot { transition: r 0.16s ease, fill 0.16s ease, stroke-width 0.16s ease; }
.map-node text { font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.map-node:hover circle.node-dot { r: 9; }
.map-node.is-active circle.node-dot { fill: var(--amber); stroke: var(--pine); stroke-width: 3; r: 10; }
.map-node.is-active text { font-weight: 800; fill: var(--pine); }

.settlement-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.settlement-chip { padding: 6px 11px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg); font-size: 13.5px; font-weight: 600; color: var(--ink-secondary); }
.settlement-chip:hover { border-color: var(--pine); color: var(--pine); }
.settlement-chip.is-active { background: var(--pine); border-color: var(--pine); color: #ffffff; }

.route-detail { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.route-detail-head h3 { margin: 0; font-size: 22px; font-weight: 800; }
.route-detail-tag { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: var(--radius-sm); background: #e5f1f3; color: var(--pine); font-size: 13px; font-weight: 600; }
.route-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.route-metric { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px; }
.route-metric-val { font-size: 18px; font-weight: 800; color: var(--ink); }
.route-metric-lbl { font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; }
.route-note { margin: 0; font-size: 15px; color: var(--ink-secondary); line-height: 1.55; }

/* ---------- Quick Dispatch Builder ---------- */
.dispatch-wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px; align-items: start; }
.dispatch-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.field-group { display: flex; flex-direction: column; gap: 8px; }
.field-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.radio-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-pill { padding: 9px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-secondary); }
.radio-pill.is-selected { background: var(--pine); border-color: var(--pine); color: #ffffff; }
.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.input, .select { width: 100%; padding: 11px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); font-size: 15px; color: var(--ink); }
.input:focus, .select:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(16, 53, 59, 0.14); }
.check-row { display: flex; flex-wrap: wrap; gap: 14px; }
.check-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-secondary); cursor: pointer; }
.check-item input { width: 17px; height: 17px; accent-color: var(--pine); }

.dispatch-summary { background: var(--pine); color: #ffffff; border-radius: var(--radius-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.dispatch-summary h3 { margin: 0; font-size: 20px; font-weight: 700; }
.dispatch-summary-sub { margin: 0; font-size: 14px; color: #c0d7dc; }
.message-preview { background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-md); padding: 14px 16px; font-size: 14px; line-height: 1.55; color: #f0f6f7; white-space: pre-line; }
.dispatch-phones-note { font-size: 13.5px; color: #c9dde1; border-top: 1px solid rgba(255, 255, 255, 0.16); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.dispatch-phones-note a { color: var(--amber); font-weight: 700; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 8px 14px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--ink-secondary); }
.filter-btn.is-active { background: var(--pine); border-color: var(--pine); color: #ffffff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery-item { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column; }
.gallery-item.is-hidden { display: none; }
.gallery-trigger { padding: 0; border: none; background: var(--pine-deep); aspect-ratio: 4 / 3; overflow: hidden; position: relative; width: 100%; }
.gallery-trigger img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.gallery-trigger:hover img { transform: scale(1.03); }
.gallery-tag { position: absolute; top: 9px; left: 9px; padding: 4px 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; }
.gallery-tag--tow { background: var(--amber); color: var(--ink); }
.gallery-tag--gazel { background: var(--cobalt); color: #ffffff; }
.gallery-caption { padding: 12px 14px; font-size: 13.5px; line-height: 1.4; color: var(--ink-secondary); }
.gallery-caption strong { display: block; color: var(--ink); margin-bottom: 2px; font-size: 14px; }

/* ---------- Steps, Tables & FAQ ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; }
.step-num { width: 32px; height: 32px; border-radius: 6px; background: var(--amber-soft); border: 1px solid var(--amber-border); color: var(--ink); font-weight: 800; font-size: 15px; display: grid; place-items: center; margin-bottom: 12px; }
.step-card h3 { margin: 0 0 6px; font-size: 16.5px; font-weight: 700; }
.step-card p { margin: 0; font-size: 14px; color: var(--ink-muted); }

.info-table-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 540px; }
.info-table th, .info-table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: left; }
.info-table thead th { background: var(--surface-alt); font-weight: 700; font-size: 13.5px; color: var(--ink-secondary); }
.info-table tbody tr:last-child td { border-bottom: none; }

.faq-list { display: grid; gap: 10px; max-width: 880px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.faq-item summary { list-style: none; padding: 17px 20px; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; font-weight: 500; color: var(--ink-muted); flex-shrink: 0; line-height: 1; }
.faq-item[open] summary::after { content: '−'; color: var(--pine); }
.faq-answer { padding: 0 20px 18px; font-size: 15px; color: var(--ink-secondary); line-height: 1.6; }

/* ---------- Footer ---------- */
.site-footer { background: var(--pine-deep); color: #d5e4e7; padding: 48px 0 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 32px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.footer-title { margin: 0 0 12px; color: #ffffff; font-size: 16px; font-weight: 700; }
.footer-desc { margin: 0 0 14px; font-size: 14.5px; color: #b4cbd0; max-width: 44ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.footer-links a:hover { color: var(--amber); }
.footer-phones { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.footer-phone-link { font-size: 19px; font-weight: 800; color: #ffffff; }
.footer-phone-link:hover { color: var(--amber); }
.footer-bottom { padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #8da9af; }

/* ---------- Modals & Toast ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(11, 38, 43, 0.88); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-backdrop.is-open { display: flex; }
.lightbox-dialog { position: relative; max-width: 960px; width: 100%; background: var(--pine-deep); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lightbox-media { background: #07191d; display: flex; align-items: center; justify-content: center; max-height: 74vh; }
.lightbox-media img { max-height: 74vh; width: auto; max-width: 100%; object-fit: contain; }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; color: #ffffff; font-size: 14.5px; }
.lightbox-nav { display: flex; gap: 8px; flex-shrink: 0; }
.lightbox-btn { width: 38px; height: 38px; border-radius: var(--radius-sm); border: 1px solid rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.1); color: #ffffff; font-size: 18px; display: grid; place-items: center; }
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.22); }

.max-dialog { max-width: 440px; width: 100%; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-lg); }
.max-dialog h3 { margin: 0 0 8px; font-size: 20px; }
.max-dialog p { margin: 0 0 14px; font-size: 14.5px; color: var(--ink-secondary); }
.max-copy-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 14px; font-weight: 700; }

.toast { position: fixed; right: 20px; bottom: 24px; z-index: 95; background: var(--pine-deep); color: #ffffff; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity 0.18s ease, transform 0.18s ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Mobile Sticky Action Bar ---------- */
.mobile-sticky-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.98); border-top: 1px solid var(--border-strong);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 6px;
  box-shadow: 0 -6px 20px rgba(11, 38, 43, 0.14);
}
.sticky-btn { min-height: 48px; border-radius: var(--radius-sm); border: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 700; line-height: 1.1; padding: 5px 4px; }
.sticky-btn--call { background: var(--amber); color: var(--ink); }
.sticky-btn--wa { background: var(--wa); color: #ffffff; }
.sticky-btn--tg { background: var(--tg); color: #ffffff; }
.sticky-btn--max { background: var(--max); color: #ffffff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid, .fleet-stage, .coverage-grid, .dispatch-wrap { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  body { padding-bottom: 72px; }
  .mobile-sticky-bar { display: grid; }
  .hero-phones,
  .hero-messengers,
  .mobile-hide-dup { display: none !important; }
  .hero-mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13.5px;
    color: #d6e7ea;
  }
  .hero-mobile-bar a.mobile-alt-phone {
    color: #ffffff;
    font-weight: 700;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.45);
  }
  .hero-mobile-bar a.mobile-calc-link {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
  }
  .toast { bottom: 84px; left: 16px; right: 16px; text-align: center; }
  .header-actions .icon-btn { display: none; }
  .dual-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric-cell { padding: 14px 12px; border-right: none; border-bottom: 1px solid var(--border); }
  .metric-cell:first-child { padding-left: 12px; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 560px) {
  .container { padding-inline: 14px; }
  .header-inner { min-height: 56px; gap: 8px; }
  .brand { flex-shrink: 1; min-width: 0; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; font-size: 13px; }
  .brand-name { font-size: 13px; line-height: 1.15; }
  .brand-sub { display: none; }
  .header-actions { gap: 6px; }
  .header-phone { padding: 7px 9px; font-size: 12.5px; }
  .header-phone svg { display: none; }
  .nav-toggle { width: 36px; height: 36px; }

  .hero { padding: 18px 0 24px; }
  .hero-grid { gap: 18px; }
  .status-line { font-size: 12.5px; padding: 5px 10px; margin-bottom: 10px; }
  .hero h1 { font-size: 26px; line-height: 1.13; margin-bottom: 10px; max-width: none; }
  .hero-lead { font-size: 15px; line-height: 1.46; margin-bottom: 14px; }
  .hero-phones { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 8px; }
  .hero-phones .btn--call { min-height: 50px; font-size: 16px; width: 100%; }
  .hero-phones .btn--call-light { min-height: 42px; font-size: 14px; width: 100%; }
  .hero-messengers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .hero-messengers .btn { min-height: 46px; padding: 8px 6px; font-size: 13px; gap: 5px; width: 100%; }

  .fleet-switch, .form-row-2, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .fleet-stage, .dispatch-form, .dispatch-summary, .route-detail, .map-panel { padding: 16px; }
  .gallery-grid, .gallery-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-caption { padding: 9px 10px; font-size: 12.5px; }
  .dispatch-summary .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 380px) {
  .container { padding-inline: 12px; }
  .brand-name { font-size: 11.5px; }
  .header-phone { padding: 6px 8px; font-size: 12px; }
  .nav-toggle { width: 34px; height: 34px; }
  .hero h1 { font-size: 23px; }
  .hero-messengers { gap: 5px; }
  .hero-messengers .btn { padding: 8px 4px; font-size: 12px; gap: 4px; }
  .hero-messengers .btn svg { width: 14px; height: 14px; }
  .fleet-tab { flex-wrap: wrap; gap: 8px; padding: 11px 12px; }
  .plate-main { padding: 4px 6px; font-size: 12px; }
  .mobile-sticky-bar { grid-template-columns: 1.15fr 1fr 1fr 0.9fr; gap: 4px; padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); }
  .sticky-btn { font-size: 10.5px; padding: 4px 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
