:root {
  --navy: #08172b;
  --navy-soft: #102844;
  --steel: #4b5968;
  --line: #dbe1e8;
  --mist: #f4f6f8;
  --white: #ffffff;
  --ink: #111827;
  --accent: #e4572e;
  --accent-dark: #b93c1d;
  --shadow: 0 18px 50px rgba(8, 23, 43, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  background: var(--white);
}

img,
iframe {
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -50px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--accent);
  color: var(--white);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(8, 23, 43, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 28px rgba(8, 23, 43, 0.2);
}

.nav-shell {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 54px;
  border-radius: 6px;
  background: var(--white);
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
  overflow: hidden;
}

.brand-mark img {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: contrast(1.12);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  line-height: 1.1;
  font-size: 1rem;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(8, 23, 43, 0.92), rgba(8, 23, 43, 0.45)),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80") center / cover;
  transform: scale(1.02);
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(8, 23, 43, 0), rgba(8, 23, 43, 0.38));
}

.hero-content {
  position: relative;
  padding: 120px 0 112px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

h3 {
  font-size: 1.2rem;
}

.hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 700px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.44);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
}

.section,
.split-section,
.image-band,
.faq-section,
.cta-section {
  padding: 84px 0;
}

.split-section,
.faq-section {
  background: var(--mist);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading p:not(.eyebrow) {
  color: var(--steel);
  font-size: 1.05rem;
}

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

.service-grid.large {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.feature-panel,
.values-panel,
.form-card,
.contact-panel,
.testimonial-grid blockquote,
.three-column article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(8, 23, 43, 0.06);
}

.service-card {
  padding: 26px;
  min-height: 260px;
}

.service-card h2 {
  font-size: 1.22rem;
}

.service-card p,
.feature-panel p,
.three-column p,
.prose p,
.contact-panel p,
.form-intro p,
.testimonial-grid p {
  color: var(--steel);
}

.icon-box {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: rgba(228, 87, 46, 0.12);
  color: var(--accent-dark);
  font-weight: 900;
}

.text-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
}

.split-grid,
.content-grid,
.form-layout,
.contact-grid,
.image-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.feature-panel,
.values-panel,
.form-card,
.contact-panel {
  padding: 30px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.stats-row div {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: var(--white);
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  font-size: 1.65rem;
  color: var(--navy);
}

.stats-row span {
  color: var(--steel);
  font-weight: 600;
}

.check-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin: 12px 0;
  color: var(--steel);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-50%);
}

.image-band img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.testimonial-grid,
.three-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

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

.testimonial-grid blockquote,
.three-column article {
  margin: 0;
  padding: 28px;
}

.testimonial-grid cite {
  display: block;
  margin-top: 16px;
  color: var(--navy);
  font-style: normal;
  font-weight: 800;
}

.cta-section {
  background: var(--navy);
  color: var(--white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-hero {
  padding: 110px 0 92px;
  background:
    linear-gradient(90deg, rgba(8, 23, 43, 0.94), rgba(8, 23, 43, 0.72)),
    url("https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

.page-hero.compact {
  padding: 86px 0 74px;
}

.fleet-hero {
  background:
    linear-gradient(90deg, rgba(8, 23, 43, 0.94), rgba(8, 23, 43, 0.64)),
    url("https://images.unsplash.com/photo-1519003722824-194d4455a60c?auto=format&fit=crop&w=1800&q=80") center / cover;
}

.prose h2 {
  margin-top: 28px;
  font-size: 1.7rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose ul {
  color: var(--steel);
}

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

label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--navy);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #cfd7e2;
  border-radius: 5px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  background: var(--white);
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(228, 87, 46, 0.2);
  border-color: var(--accent);
}

.alert {
  padding: 12px 14px;
  border-radius: 5px;
  font-weight: 800;
}

.alert.success {
  color: #0e5b34;
  background: #dcf7e9;
}

.alert.error {
  color: #8f1d1d;
  background: #fde2e2;
}

.contact-panel iframe {
  width: 100%;
  min-height: 280px;
  border: 0;
  border-radius: 8px;
  margin-top: 18px;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
}

details p {
  max-width: 780px;
  color: var(--steel);
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: #050d18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.9fr 1.1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  background: var(--white);
}

.site-footer h2 {
  color: var(--white);
  font-size: 1rem;
}

.site-footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer li {
  margin: 9px 0;
}

.site-footer a {
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
}

.footer-bottom p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .primary-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    padding: 12px;
    border-radius: 8px;
    background: var(--navy);
    box-shadow: var(--shadow);
  }

  .primary-nav.open {
    display: grid;
  }

  .service-grid,
  .service-grid.large,
  .split-grid,
  .content-grid,
  .form-layout,
  .contact-grid,
  .image-band-grid,
  .testimonial-grid,
  .three-column,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 560px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .nav-shell {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 52px;
    height: 48px;
  }

  .brand-mark img {
    width: 48px;
    height: 48px;
  }

  .brand small {
    display: none;
  }

  .primary-nav {
    top: 68px;
  }

  .hero-content {
    padding: 88px 0 82px;
  }

  h1 {
    font-size: 2.35rem;
  }

  .section,
  .split-section,
  .image-band,
  .faq-section,
  .cta-section {
    padding: 58px 0;
  }

  .stats-row,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    display: grid;
  }

  .form-card,
  .contact-panel,
  .feature-panel,
  .values-panel,
  .service-card {
    padding: 22px;
  }
}
