:root {
  --fleet-navy: #083b8f;
  --fleet-navy-2: #061f54;
  --fleet-navy-3: #1267d8;
  --fleet-orange: #ff6a00;
  --fleet-orange-2: #ff9b35;
  --fleet-gold: #ffc04d;
  --fleet-aqua: #25d6c4;
  --ink: #101828;
  --muted: #667085;
  --line: #d9e2f1;
  --panel: #ffffff;
  --paper: #f7fbff;
  --success: #16a34a;
  --warning: #f59e0b;
  --danger: #dc2626;
  --shadow: 0 18px 45px rgba(8, 59, 143, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% -6%, rgba(255, 192, 77, 0.22), transparent 28%),
    radial-gradient(circle at 95% 8%, rgba(37, 214, 196, 0.18), transparent 30%),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(8, 41, 104, 0.12);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 188px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border: 2px solid rgba(8, 41, 104, 0.16);
  border-radius: var(--radius);
  background: #fff;
}

.brand-title {
  display: grid;
  justify-items: center;
  line-height: 1;
}

.brand-title strong {
  color: var(--fleet-navy);
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-title span {
  color: var(--fleet-orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  margin-left: 0.32em;
  margin-top: 4px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: #274466;
  font-weight: 750;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fleet-orange);
  background: rgba(255, 106, 0, 0.08);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--fleet-navy);
  font-size: 1.4rem;
}

.menu-toggle::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 10px 16px;
  color: #fff;
  background: var(--fleet-navy);
  font-weight: 800;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(8, 41, 104, 0.18);
}

.button.primary {
  background: linear-gradient(135deg, var(--fleet-orange), var(--fleet-orange-2));
  color: #fff;
  box-shadow: 0 14px 30px rgba(255, 106, 0, 0.24);
}

.button.primary:hover {
  background: var(--fleet-orange-2);
}

.button.secondary {
  background: #fff;
  color: var(--fleet-navy);
  border-color: rgba(8, 41, 104, 0.2);
}

.button.ghost {
  background: transparent;
  color: var(--fleet-navy);
  border-color: transparent;
}

.button.block {
  width: 100%;
}

.button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 0.9rem;
}

.page-main {
  flex: 1;
}

.section {
  padding: 70px 20px;
}

.section.tight {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section.white {
  background: #fff;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
}

.hero {
  padding: 44px 20px 36px;
  background:
    linear-gradient(100deg, rgba(8, 41, 104, 0.98), rgba(5, 26, 68, 0.95)),
    radial-gradient(circle at 10% 20%, rgba(255, 106, 0, 0.16), transparent 38%);
  color: #fff;
  overflow: hidden;
}

.ad-hero {
  position: relative;
  min-height: calc(100vh - 79px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #f4f9ff;
}

.ad-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 31, 84, 0.82), rgba(8, 59, 143, 0.46) 46%, rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, rgba(6, 31, 84, 0.1), rgba(6, 31, 84, 0.58));
}

.ad-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 24%, rgba(255, 192, 77, 0.22), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
  pointer-events: none;
}

.ad-hero-slides,
.ad-hero-slide {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.ad-hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center right;
  transform: scale(1.04);
  transition: opacity 1.1s ease, transform 5.8s ease;
}

.ad-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.ad-hero-copy {
  animation: fadeUp 0.76s ease both;
}

.ad-hero-copy.is-switching {
  animation: softSwitch 0.42s ease both;
}

.ad-hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.ad-hero-dots button {
  width: 22px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition: width 0.24s ease, background 0.24s ease;
}

.ad-hero-dots button.is-active {
  width: 52px;
  background: var(--fleet-orange);
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: 34px;
  align-items: center;
}

.hero-grid.single {
  grid-template-columns: minmax(0, 760px);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softSwitch {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--fleet-orange-2);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.84rem;
  font-weight: 800;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--fleet-orange);
  box-shadow: 0 0 0 6px rgba(255, 106, 0, 0.16);
}

.hero h1,
.page-hero h1 {
  margin: 18px 0 16px;
  color: #fff;
  font-size: clamp(2.05rem, 5vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: 0;
  font-weight: 950;
}

.hero h1 span,
.page-hero h1 span,
.accent {
  color: var(--fleet-orange);
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.98rem, 1.6vw, 1.08rem);
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 620px;
  margin-top: 28px;
}

.stat-tile {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-tile strong {
  display: block;
  font-size: clamp(1.25rem, 3vw, 2rem);
  line-height: 1;
  color: #fff;
}

.stat-tile span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.84rem;
  margin-top: 6px;
}

.dispatch-console {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.console-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: linear-gradient(90deg, var(--fleet-orange), #ff8f32);
  color: #fff;
  font-weight: 900;
}

.console-body {
  padding: 16px;
}

.map-panel {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(8, 41, 104, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(rgba(8, 41, 104, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 41, 104, 0.08) 1px, transparent 1px),
    #eef4fb;
  background-size: 44px 44px;
}

.map-panel.compact {
  min-height: 230px;
}

.map-panel.tall {
  min-height: 460px;
}

.map-fallback {
  position: absolute;
  inset: 0;
  padding: 18px;
  display: grid;
  align-content: end;
  color: var(--fleet-navy);
}

.fallback-route {
  position: absolute;
  left: 14%;
  right: 12%;
  top: 28%;
  height: 42%;
  border-top: 5px solid var(--fleet-orange);
  border-right: 5px solid var(--fleet-orange);
  border-radius: 60% 32% 56% 24%;
  transform: rotate(-7deg);
}

.fallback-pin {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--fleet-orange);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(8, 41, 104, 0.28);
}

.fallback-pin.start {
  left: 13%;
  top: 62%;
  background: var(--success);
}

.fallback-pin.end {
  right: 11%;
  top: 24%;
  background: var(--danger);
}

.fallback-driver {
  position: absolute;
  left: 48%;
  top: 43%;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--fleet-navy);
  box-shadow: 0 8px 22px rgba(8, 41, 104, 0.28);
  font-size: 1.1rem;
}

.map-caption {
  position: relative;
  z-index: 2;
  max-width: 320px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(8, 41, 104, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 12px 25px rgba(8, 41, 104, 0.12);
}

.map-caption strong,
.map-caption span {
  display: block;
}

.map-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: #344054;
  font-size: 0.82rem;
  font-weight: 850;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.field textarea {
  min-height: 96px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fleet-orange);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.12);
}

.select-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: grid;
  min-height: 74px;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: #fff;
  color: #344054;
  font-weight: 850;
}

.choice small {
  color: var(--muted);
  font-weight: 700;
}

.choice input:checked + span {
  border-color: var(--fleet-orange);
  background: rgba(255, 106, 0, 0.08);
  color: var(--fleet-navy);
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(8, 41, 104, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 10px 25px rgba(8, 41, 104, 0.08);
}

.panel.pad {
  padding: 20px;
}

.spacer-sm {
  height: 16px;
}

.spacer-md {
  height: 22px;
}

.stack-top {
  margin-top: 16px;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.panel h2,
.panel h3,
.section h2,
.page-hero h1,
.kicker-title {
  letter-spacing: 0;
}

.panel h2,
.panel h3 {
  margin: 0;
  color: var(--fleet-navy);
}

.section-title {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-title.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title h2 {
  margin: 8px 0 10px;
  color: var(--fleet-navy);
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  line-height: 1.04;
  font-weight: 950;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.kicker {
  color: var(--fleet-orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero {
  background: linear-gradient(115deg, var(--fleet-navy), var(--fleet-navy-2) 58%, #0b8f7f);
  color: #fff;
  padding: 40px 20px;
}

.page-hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.page-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.08rem;
  margin: 0;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cards-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card,
.service-card,
.order-card,
.driver-card,
.support-card {
  background: #fff;
  border: 1px solid rgba(8, 41, 104, 0.12);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 10px 25px rgba(8, 41, 104, 0.07);
}

.compact-card {
  min-height: 0;
  padding: 14px;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.compact-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.32);
  box-shadow: 0 18px 36px rgba(8, 59, 143, 0.12);
}

.compact-card h3 {
  margin: 8px 0 4px;
  font-size: 1.45rem;
}

.compact-card p {
  font-size: 0.9rem;
}

.feature-card {
  animation: fadeUp 0.68s ease both;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card h3 {
  background: linear-gradient(90deg, var(--fleet-navy), var(--fleet-orange));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.feature-card h3,
.service-card h3,
.driver-card h3,
.support-card h3 {
  margin: 10px 0 8px;
  color: var(--fleet-navy);
}

.feature-card p,
.service-card p,
.driver-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
}

.icon-box {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  background: var(--fleet-navy);
  font-weight: 900;
}

.icon-box.orange {
  background: var(--fleet-orange);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--fleet-navy);
  background: #e8eef8;
  font-size: 0.82rem;
  font-weight: 850;
}

.status-pill.orange {
  color: #8a3800;
  background: #fff0e2;
}

.status-pill.green {
  color: #0c6b34;
  background: #e7f8ed;
}

.status-pill.red {
  color: #9f1239;
  background: #fff1f2;
}

.quote-box {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 106, 0, 0.24);
  background: rgba(255, 106, 0, 0.07);
  border-radius: var(--radius);
}

.quote-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #344054;
}

.quote-price {
  color: var(--fleet-navy);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 950;
  line-height: 1;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  min-height: 68px;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 999px;
  background: #cbd5e1;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.timeline-step.is-done .timeline-dot {
  background: var(--fleet-orange);
}

.timeline-step.is-current .timeline-dot {
  background: var(--fleet-navy);
  box-shadow: 0 0 0 4px rgba(8, 41, 104, 0.14);
}

.timeline-step:not(:last-child) .timeline-rail {
  position: relative;
}

.timeline-step:not(:last-child) .timeline-rail::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 7px;
  width: 2px;
  height: calc(100% - 18px);
  background: var(--line);
}

.timeline-content strong {
  display: block;
  color: var(--fleet-navy);
}

.timeline-content span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}

.order-card {
  display: grid;
  gap: 10px;
}

.order-card header,
.list-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}

.route-pair {
  display: grid;
  gap: 8px;
  color: #344054;
}

.route-pair span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.empty-state {
  padding: 22px;
  border: 1px dashed rgba(8, 41, 104, 0.22);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

.dashboard-welcome {
  padding: 26px 20px 10px;
}

.dashboard-welcome .container {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.dashboard-welcome h1 {
  margin: 6px 0 4px;
  color: var(--fleet-navy);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.02;
}

.dashboard-welcome h1 span {
  color: var(--fleet-orange);
}

.dashboard-welcome p {
  margin: 0;
  color: var(--muted);
  font-weight: 750;
}

.dashboard-summary {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 0.8fr));
  gap: 12px;
}

.simple-dashboard-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

.transaction-list {
  display: grid;
  gap: 10px;
}

.transaction-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(8, 59, 143, 0.1);
  border-radius: var(--radius);
  background: #f8fbff;
  padding: 12px;
}

.transaction-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.transaction-row strong {
  color: var(--fleet-navy);
}

.transaction-row .credit {
  color: var(--success);
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.auth-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100vh - 79px);
}

.auth-art {
  background:
    linear-gradient(145deg, rgba(8, 59, 143, 0.94), rgba(6, 31, 84, 0.96)),
    url("../assets/hero-wallet.svg") center / cover;
  color: #fff;
  padding: 48px;
  display: grid;
  align-content: center;
  gap: 24px;
}

.auth-art img {
  width: min(360px, 78vw);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.25);
}

.auth-art h1 {
  margin: 0;
  max-width: 560px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.auth-panel-wrap {
  padding: 48px 20px;
  display: grid;
  align-content: center;
  justify-items: center;
}

.auth-panel {
  width: min(100%, 500px);
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  background: #eef4fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.tab-button {
  border: 0;
  border-radius: var(--radius);
  min-height: 42px;
  color: var(--fleet-navy);
  background: transparent;
  font-weight: 850;
}

.tab-button.is-active {
  background: #fff;
  box-shadow: 0 8px 18px rgba(8, 41, 104, 0.1);
}

.auth-form {
  display: none;
}

.auth-form.is-active {
  display: grid;
  gap: 14px;
}

.notice {
  border: 1px solid rgba(8, 59, 143, 0.12);
  background: #f3f8ff;
  color: var(--fleet-navy);
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 750;
  font-size: 0.92rem;
}

.smart-wallet-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(6, 31, 84, 0.62);
  backdrop-filter: blur(10px);
}

.smart-wallet-card {
  width: min(440px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.smart-wallet-card h2 {
  margin: 6px 0 6px;
  color: var(--fleet-navy);
}

.smart-wallet-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 750;
}

.toast-region {
  position: fixed;
  top: 92px;
  right: 20px;
  z-index: 100;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 40px));
}

.toast {
  border-radius: var(--radius);
  padding: 12px 14px;
  color: #fff;
  background: var(--fleet-navy);
  box-shadow: var(--shadow);
  font-weight: 800;
}

.toast.success {
  background: var(--success);
}

.toast.error {
  background: var(--danger);
}

.footer {
  background: var(--fleet-navy-2);
  color: rgba(255, 255, 255, 0.78);
  padding: 34px 20px;
}

.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 30px;
}

.footer a {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-top: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 900;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-socials a:hover {
  transform: translateY(-2px);
  border-color: var(--fleet-orange);
  color: var(--fleet-orange-2);
}

.footer strong {
  color: #fff;
}

.mobile-panel {
  display: none;
}

.leaflet-container {
  font-family: inherit;
}

@media (max-width: 980px) {
  .nav-wrap {
    grid-template-columns: auto auto;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
  }

  .mobile-panel {
    display: none;
    position: fixed;
    inset: 79px 14px auto;
    z-index: 60;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .mobile-panel.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-panel a,
  .mobile-panel button {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-grid,
  .app-grid,
  .dashboard-grid,
  .auth-layout,
  .page-hero .container {
    grid-template-columns: 1fr;
  }

  .auth-art {
    min-height: auto;
    padding: 36px 20px;
  }

  .cards-grid,
  .cards-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dashboard-summary,
  .simple-dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    padding: 10px 14px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-title strong {
    font-size: 0.96rem;
  }

  .brand-title span {
    font-size: 0.58rem;
  }

  .hero,
  .page-hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .section {
    padding: 48px 14px;
  }

  .ad-hero {
    min-height: 76vh;
  }

  .ad-hero-slide {
    background-position: center;
  }

  .hero-grid.single {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    margin-top: 20px;
  }

  .hero-stats,
  .dashboard-summary,
  .simple-dashboard-grid,
  .form-grid,
  .form-grid.three,
  .select-row,
  .cards-grid,
  .cards-grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .map-panel {
    min-height: 270px;
  }

  .map-panel.tall {
    min-height: 340px;
  }

  .panel-head,
  .order-card header,
  .list-row,
  .dashboard-welcome .container {
    display: grid;
  }

  .dashboard-welcome {
    padding-left: 14px;
    padding-right: 14px;
  }
}
