﻿:root {
  --coal-900: #11151b;
  --coal-800: #1a212c;
  --slate-600: #5a6678;
  --offwhite: #f3f4f6;
  --safety-orange: #f76612;
  --safety-amber: #ffb100;
  --line: #d9dee7;
  --max-width: 1180px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 18px 40px rgba(10, 14, 20, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--coal-900);
  background: #e8ebf0;
  line-height: 1.5;
}

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

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 102, 18, 0.2), transparent 32%),
    radial-gradient(circle at 90% 10%, rgba(10, 17, 28, 0.11), transparent 35%),
    linear-gradient(170deg, #f2f4f8 0%, #e9edf4 52%, #dde4ee 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0.55rem auto;
  width: min(96%, var(--max-width));
  padding: 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(12, 20, 31, 0.08);
}

.brand {
  width: 180px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.nav a {
  text-decoration: none;
  color: var(--coal-800);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.32rem 0.55rem;
  border-radius: 8px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  background: #f0f3f8;
}

.nav .cta-link {
  background: var(--coal-900);
  color: #fff;
}

.nav .cta-link:hover,
.nav .cta-link:focus-visible,
.nav .cta-link.active {
  background: #000;
  color: #fff;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--coal-900);
  border-radius: 8px;
  padding: 0.38rem 0.7rem;
  font-weight: 700;
}

main {
  width: min(96%, var(--max-width));
  margin: 0 auto 3rem;
}

.hero {
  position: relative;
  min-height: 72vh;
  border-radius: calc(var(--radius-lg) + 4px);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 20, 27, 0.35), rgba(16, 20, 27, 0.6)),
    url("assets/lanesafe-fleet.jpg") center/cover no-repeat,
    linear-gradient(120deg, #3b4658, #1d2532);
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 18, 26, 0.25), rgba(12, 18, 26, 0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 4rem);
  max-width: 680px;
  color: #fff;
}

.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #f9d1b6;
}

h1,
h2,
h3 {
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.02;
  margin: 0 0 1rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  font-size: 1.7rem;
}

.hero-content p {
  max-width: 58ch;
  color: #ebedf2;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.9rem 1.35rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--safety-orange), #ff4f00);
  color: #fff;
  box-shadow: 0 10px 25px rgba(247, 102, 18, 0.34);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12px;
  background: repeating-linear-gradient(
    45deg,
    var(--safety-orange),
    var(--safety-orange) 16px,
    var(--safety-amber) 16px,
    var(--safety-amber) 32px
  );
}

.section,
.stats {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(7px);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(20, 30, 44, 0.08);
}

.section {
  padding: clamp(1.3rem, 3vw, 2.2rem);
}

.section-head {
  margin-bottom: 1.3rem;
}

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

.service-card {
  background: #f8fafc;
  border: 1px solid #e4e9f2;
  border-radius: var(--radius-md);
  padding: 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 26px rgba(17, 25, 35, 0.12);
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.service-card li {
  margin-bottom: 0.35rem;
}

.stats {
  padding: 1.2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.stats h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  color: var(--safety-orange);
}

.stats p {
  margin: 0.35rem 0 0;
  color: var(--slate-600);
  font-weight: 600;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.timeline article {
  background: #fff;
  border: 1px solid #e3e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
}

.timeline span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coal-900);
  color: #fff;
  font-weight: 800;
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 1rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pill-row span {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  border: 1px solid #e2e7ef;
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
}

.panel {
  background: linear-gradient(170deg, #131922, #1e2735);
  color: #eff3fb;
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.panel h3 {
  color: #fff;
}

.coverage-layout {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coverage-card {
  background: #fff;
  border: 1px solid #e1e6ee;
  border-radius: var(--radius-md);
  padding: 1.05rem;
}

.coverage-card.accent {
  background: linear-gradient(140deg, #fdf1ea, #fde8dc);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  font: inherit;
  font-weight: 800;
  padding: 0.95rem 1rem;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 1rem 1rem;
}

.faq-item.open .faq-answer {
  max-height: 130px;
}

.quick-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.quick-cta a {
  text-decoration: none;
  color: var(--coal-900);
  border: 1px solid #dce3ed;
  background: #fff;
  border-radius: 999px;
  font-weight: 800;
  padding: 0.45rem 0.85rem;
}

.muted {
  color: var(--slate-600);
}

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

.quote-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.quote-form input,
.quote-form textarea {
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  font: inherit;
  background: #fff;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: 2px solid rgba(247, 102, 18, 0.35);
  border-color: var(--safety-orange);
}

.quote-form .full,
.quote-form .btn,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  min-height: 1.2rem;
  font-weight: 700;
}

.footer {
  width: min(96%, var(--max-width));
  margin: 0 auto 2rem;
  padding: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--slate-600);
}

.footer a {
  color: inherit;
}

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

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

@media (max-width: 980px) {
  .service-grid,
  .stats,
  .split,
  .coverage-layout,
  .quote-form,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .split > * {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .topbar {
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .nav.open {
    display: flex;
  }

  .service-grid,
  .stats,
  .coverage-layout,
  .quote-form,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 64vh;
  }

  .footer {
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }
}
