:root {
  --ink: #172026;
  --asphalt: #253036;
  --signal: #f2b705;
  --fleet: #0f766e;
  --paper: #f7f4ee;
  --white: #ffffff;
  --line: rgba(37, 48, 54, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 0 34px;
  background: rgba(247, 244, 238, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand,
.desktop-nav,
.hero-actions,
.vehicle-status,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-size: 20px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--ink);
  color: var(--signal);
}

.desktop-nav {
  justify-content: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.header-action,
.primary-button,
.secondary-button,
.search-panel button,
.contact-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.header-action,
.primary-button,
.search-panel button,
.contact-form button {
  background: var(--signal);
  color: var(--ink);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.2);
  color: white;
}

.menu-button,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: var(--ink);
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 32, 38, 0.94), rgba(23, 32, 38, 0.36)),
    url("https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center;
}

.hero-inner,
.section,
.metric-band,
.admin-section,
.security-band,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 660px;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 40px;
  align-items: end;
  padding: 54px 0 48px;
}

.eyebrow,
.section-kicker,
.section-heading span {
  display: inline-flex;
  width: fit-content;
  color: var(--signal);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  padding: 10px 12px;
  color: white;
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 82px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy-block p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.search-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  background: white;
  color: var(--ink);
  padding: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.panel-heading {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 24px;
}

.panel-heading span {
  color: var(--fleet);
  font-size: 13px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(37, 48, 54, 0.2);
  padding: 0 12px;
  background: white;
  color: var(--ink);
}

textarea {
  min-height: 116px;
  padding-top: 12px;
  resize: vertical;
}

.search-panel button,
.search-result {
  grid-column: 1 / -1;
}

.search-result {
  min-height: 20px;
  margin: 0;
  color: var(--fleet);
  font-size: 14px;
  font-weight: 800;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  transform: translateY(-22px);
  background: var(--line);
}

.metric-band div {
  display: grid;
  gap: 5px;
  background: white;
  padding: 24px;
}

.metric-band strong {
  font-size: 32px;
}

.metric-band span {
  color: rgba(37, 48, 54, 0.72);
  font-size: 14px;
}

.section,
.admin-section,
.contact-section {
  padding: 64px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.split-section h2,
.security-band h2,
.contact-section h2 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
}

.fleet-grid,
.module-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.vehicle-card,
.module-grid article,
.pricing-grid article {
  border: 1px solid var(--line);
  background: white;
}

.vehicle-card img {
  display: block;
  width: 100%;
  height: 206px;
  object-fit: cover;
}

.vehicle-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.vehicle-head,
.vehicle-status {
  justify-content: space-between;
  gap: 14px;
}

.vehicle-head {
  display: flex;
  align-items: flex-start;
}

.fleet-id {
  margin: 0 0 4px;
  color: var(--fleet);
  font-size: 13px;
  font-weight: 900;
}

.vehicle-card h3 {
  margin: 0;
  font-size: 21px;
}

.meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  font-size: 14px;
}

.vehicle-status {
  border-top: 1px solid rgba(37, 48, 54, 0.1);
  padding-top: 16px;
  font-size: 14px;
}

.on {
  color: var(--fleet);
  font-weight: 900;
}

.off {
  color: #b42318;
  font-weight: 900;
}

.unavailable {
  border-left: 4px solid var(--signal);
  background: var(--paper);
  margin: 0;
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.45;
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.split-section p,
.security-band p,
.contact-section p {
  color: rgba(37, 48, 54, 0.76);
  font-size: 17px;
  line-height: 1.75;
}

.workflow {
  display: grid;
  gap: 10px;
}

.workflow span {
  border-left: 5px solid var(--signal);
  background: white;
  padding: 16px 18px;
  font-weight: 800;
}

.admin-section {
  width: 100%;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  padding-right: max(20px, calc((100vw - 1180px) / 2));
  background: var(--ink);
  color: white;
}

.module-grid article {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

.module-grid strong {
  font-size: 20px;
}

.module-grid span {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

.pricing-grid article {
  display: grid;
  gap: 12px;
  padding: 26px;
}

.pricing-grid h3 {
  margin: 0;
}

.pricing-grid strong {
  font-size: 34px;
}

.highlight-plan {
  border-top: 6px solid var(--signal);
}

.security-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 54px;
  background: white;
}

.security-band ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
}

.contact-form {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  background: white;
  padding: 22px;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 0 34px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
}

.site-footer span:first-child {
  color: white;
  font-weight: 900;
}

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

  .desktop-nav,
  .header-action {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    min-height: 42px;
    border: 1px solid var(--line);
    background: white;
    padding: 0 14px;
    font-weight: 900;
  }

  .mobile-nav.is-open {
    position: sticky;
    top: 72px;
    z-index: 19;
    display: grid;
    gap: 1px;
    background: var(--line);
  }

  .mobile-nav a {
    background: white;
    padding: 16px 24px;
    font-weight: 800;
  }

  .hero-inner,
  .split-section,
  .security-band,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .metric-band,
  .fleet-grid,
  .module-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner,
  .section,
  .metric-band,
  .security-band,
  .contact-section {
    width: min(100% - 28px, 1180px);
  }

  .search-panel,
  .metric-band,
  .fleet-grid,
  .module-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .security-band {
    padding: 28px;
  }

  .site-footer {
    display: grid;
    align-content: center;
  }
}
