/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0a1f44;
  --navy-mid:  #1e3a6e;
  --amber:     #e8a020;
  --amber-dk:  #c4861a;
  --light:     #f4f7fc;
  --muted:     #6b7a99;
  --white:     #ffffff;
  --radius:    6px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* ── Typography ───────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.15rem; font-weight: 600; }
p  { color: #374151; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 88px;
  background: rgba(10, 31, 68, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(232, 160, 32, 0.25);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 68px;
  width: auto;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.nav-brand span { color: var(--amber); }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active { color: var(--amber); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--amber);
  color: var(--navy);
}
.btn-primary:hover { background: var(--amber-dk); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('trucks-fleet.jpg');
  background-size: cover;
  background-position: center 40%;
  filter: brightness(0.35);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 0 5%;
  padding-top: 68px;
}

.hero-content--centered {
  max-width: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px 5% 4rem;
}

.hero-content--centered p { margin-left: auto; margin-right: auto; }
.hero-content--centered .hero-ctas { justify-content: center; }

.hero-logo-wrap {
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.55));
}

.hero-logo {
  width: clamp(200px, 30vw, 340px);
  height: auto;
  border-radius: 16px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }

.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 5%;
  z-index: 2;
  display: flex;
  gap: 2.5rem;
}

.stat { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: var(--amber); }
.stat-label  { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── Section base ─────────────────────────────────────────── */
.section { padding: 5rem 5%; }
.section-light { background: var(--light); }
.section-navy  { background: var(--navy); }

.section-header { max-width: 680px; margin-bottom: 3.5rem; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--muted); }

/* ── Intro strip (index) ──────────────────────────────────── */
.intro-strip {
  background: var(--navy);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.intro-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.intro-item:last-child { border-right: none; }

.intro-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.intro-item h3 { color: var(--white); font-size: 0.95rem; margin-bottom: 0.25rem; }
.intro-item p  { color: rgba(255,255,255,0.55); font-size: 0.85rem; }

/* ── Split image section ──────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
}

.split-img { overflow: hidden; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 5%;
}

.split-content h2 { margin-bottom: 1rem; }
.split-content p  { color: var(--muted); margin-bottom: 1.5rem; }

/* ── Services grid ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid #e5e9f0;
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: 0 8px 32px rgba(10,31,68,0.12);
  transform: translateY(-3px);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p  { font-size: 0.9rem; color: var(--muted); }

/* ── Full-width image banner ──────────────────────────────── */
.img-banner {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.img-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: brightness(0.5);
}

.img-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
}

.img-banner-content h2 { color: var(--white); margin-bottom: 0.75rem; }
.img-banner-content p  { color: rgba(255,255,255,0.8); max-width: 520px; margin-bottom: 1.5rem; }

/* ── What We Do page ──────────────────────────────────────── */
.page-hero {
  position: relative;
  height: 420px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5% 3.5rem;
}

.page-hero-content .eyebrow {
  display: inline-block;
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.page-hero-content h1 { color: var(--white); }

/* ── Process steps ────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  counter-reset: steps;
}

.step {
  position: relative;
  padding-top: 1.5rem;
  counter-increment: steps;
}

.step::before {
  content: counter(steps, decimal-leading-zero);
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h3 { color: var(--white); margin-bottom: 0.4rem; }
.step p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-details-only { max-width: 860px; }

.contact-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-detail a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-detail a:hover { color: var(--amber-dk); }

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-detail-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail h4 { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.contact-detail p  { font-size: 0.95rem; color: var(--navy); }

/* ── Form ─────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid #d1d9e6;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

input:focus, textarea:focus, select:focus { border-color: var(--amber); }
textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 2.5rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { font-weight: 700; color: var(--white); font-size: 0.9rem; }
.footer-brand span { color: var(--amber); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--amber); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split-img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { display: none; }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .intro-strip { grid-template-columns: 1fr 1fr; }
}
