:root {
  --blue: #109bdb;
  --blue-dark: #0874ae;
  --blue-soft: #e5f6fd;
  --ink: #20242a;
  --muted: #5f6268;
  --graphite: #58585a;
  --line: #dce4e8;
  --white: #ffffff;
  --offwhite: #f5f8fa;
  --shadow: 0 22px 55px rgba(17, 35, 48, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 228, 232, 0.8);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 4vw, 58px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 0.2s ease, padding 0.2s ease;
  z-index: 50;
}

.site-header.scrolled {
  box-shadow: 0 12px 36px rgba(11, 31, 45, 0.1);
  padding-bottom: 10px;
  padding-top: 10px;
}

.brand img {
  height: 50px;
  width: auto;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.main-nav a {
  color: var(--graphite);
  position: relative;
}

.main-nav a::after {
  background: var(--blue);
  bottom: -7px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  width: 100%;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 42px;
  padding: 8px;
  width: 42px;
}

.menu-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
  width: 100%;
}

.hero {
  align-items: end;
  color: var(--white);
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 150px clamp(20px, 6vw, 80px) 44px;
  position: relative;
}

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

.hero-media {
  background: url("assets/hero-trailer.jpg") center 64% / cover no-repeat;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 22, 32, 0.86) 0%, rgba(6, 22, 32, 0.68) 44%, rgba(6, 22, 32, 0.18) 100%),
    linear-gradient(0deg, rgba(6, 22, 32, 0.78), rgba(6, 22, 32, 0));
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

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

.hero h1,
.section h2,
.image-band h2 {
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.8rem);
  max-width: 980px;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 690px;
}

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

.button {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.hero-panel {
  align-items: stretch;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-self: end;
  margin-top: 48px;
  max-width: 620px;
  overflow: hidden;
  position: relative;
  width: min(100%, 620px);
  z-index: 1;
}

.hero-panel div {
  background: var(--white);
  padding: 20px;
}

.hero-panel strong {
  color: var(--blue);
  display: block;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1;
}

.hero-panel span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin-top: 8px;
}

.stats-band {
  background: var(--ink);
  color: var(--white);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 28px clamp(20px, 6vw, 80px);
}

.stat {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px 24px;
}

.stat:first-child {
  border-left: 0;
}

.stat span {
  color: var(--blue);
  display: block;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
}

.stat p {
  color: rgba(255, 255, 255, 0.74);
  margin: 8px 0 0;
}

.section {
  padding: 86px clamp(20px, 6vw, 80px);
}

.section h2,
.image-band h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 820px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading p:not(.eyebrow),
.section-copy p,
.fleet-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-grid {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 1.15fr 0.85fr;
}

.promise-card,
.pillars article,
.facility-layout article,
.security-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 42, 58, 0.08);
  padding: 28px;
}

.icon-mark {
  align-items: center;
  background: var(--blue-soft);
  border-radius: 999px;
  color: var(--blue-dark);
  display: inline-flex;
  font-size: 1.2rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  margin-bottom: 16px;
  width: 42px;
}

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

.card-label {
  color: var(--blue);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.pillars h3,
.service-grid h3,
.facility-layout h3,
.security-grid h3,
.promise-card h3 {
  font-size: 1.25rem;
  line-height: 1.18;
  margin: 0 0 12px;
}

.pillars p,
.service-grid p,
.facility-layout p,
.security-grid p,
.promise-card p {
  color: var(--muted);
  margin: 0;
}

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

.service-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-grid img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.service-grid div {
  padding: 24px;
}

.image-band {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 52px;
  grid-template-columns: 1fr 1fr;
  padding: 70px clamp(20px, 6vw, 80px);
}

.image-band img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.image-band p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.08rem;
}

.facilities {
  background: var(--offwhite);
}

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

.fleet {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 0.9fr 1.1fr;
}

.fleet-tabs {
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 6px;
  margin: 28px 0 18px;
  padding: 6px;
}

.tab {
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: var(--graphite);
  cursor: pointer;
  flex: 1;
  font: inherit;
  font-weight: 800;
  min-height: 42px;
  padding: 10px;
}

.tab.active {
  background: var(--blue);
  color: var(--white);
}

.tab-panel {
  border-left: 4px solid var(--blue);
  display: none;
  padding-left: 18px;
}

.tab-panel.active {
  display: block;
}

.tab-panel strong,
.tab-panel span {
  display: block;
}

.tab-panel strong {
  font-size: 1.65rem;
}

.tab-panel span {
  color: var(--muted);
}

.fleet-photo img {
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.security {
  background: linear-gradient(180deg, var(--offwhite), var(--white));
}

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

.gallery-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.gallery-grid img {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.contact {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 54px;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-details {
  border-left: 4px solid var(--blue);
  margin-top: 26px;
  padding-left: 18px;
}

.quote-form {
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--ink);
  display: grid;
  gap: 16px;
  padding: 28px;
}

.quote-form label {
  color: var(--graphite);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 11px 12px;
  width: 100%;
}

.quote-form textarea {
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.form-note.success {
  color: var(--blue-dark);
  font-weight: 800;
}

.site-footer {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 80px);
}

.site-footer img {
  height: 42px;
  width: auto;
}

.site-footer p {
  color: var(--muted);
  margin: 0;
}

.site-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

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

  .main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: grid;
    gap: 0;
    left: 0;
    opacity: 0;
    padding: 12px 20px 20px;
    pointer-events: none;
    position: absolute;
    right: 0;
    top: 78px;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 0;
  }

  .hero-panel,
  .stats-band,
  .pillars,
  .service-grid,
  .facility-layout,
  .security-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .intro-grid,
  .image-band,
  .fleet,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .brand img {
    height: 40px;
  }

  .hero {
    min-height: auto;
    padding-top: 128px;
  }

  .hero-panel,
  .stats-band,
  .pillars,
  .service-grid,
  .facility-layout,
  .security-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: stretch;
  }

  .stat {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 0;
  }

  .stat:first-child {
    border-top: 0;
  }

  .fleet-tabs {
    display: grid;
  }

  .section {
    padding-bottom: 60px;
    padding-top: 60px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
