/* ==========================================================================
   FS Logistics — static site stylesheet
   ========================================================================== */

:root {
  --radius: 0.5rem;

  --background: oklch(1 0 0);
  --foreground: oklch(0.22 0.03 265);
  --card: oklch(1 0 0);

  --primary: oklch(0.67 0.19 45);
  --primary-foreground: oklch(1 0 0);

  --secondary: oklch(0.96 0.01 250);
  --secondary-foreground: oklch(0.25 0.03 265);

  --muted: oklch(0.97 0.006 250);
  --muted-foreground: oklch(0.53 0.03 258);

  --accent: oklch(0.96 0.03 60);
  --accent-foreground: oklch(0.3 0.06 45);

  --destructive: oklch(0.58 0.24 27);
  --destructive-foreground: oklch(0.99 0 0);

  --border: oklch(0.92 0.01 255);
  --input: oklch(0.92 0.01 255);
  --ring: oklch(0.67 0.19 45);

  --navy: oklch(0.26 0.04 264);
  --navy-soft: oklch(0.31 0.04 264);
  --navy-foreground: oklch(0.98 0.003 248);

  --font-display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.15;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; font-size: 0.95rem; }

.section-shell {
  margin-inline: auto;
  width: 100%;
  max-width: 76rem;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid transparent;
  transition: opacity 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}
.btn-primary:hover { background-color: oklch(0.67 0.19 45 / 0.9); }
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline-primary:hover { background-color: oklch(0.67 0.19 45 / 0.1); }
.btn-navy {
  background-color: var(--navy);
  color: var(--navy-foreground);
}
.btn-navy:hover { opacity: 0.9; }
.btn-outline-invert {
  border-color: var(--primary-foreground);
  color: var(--primary-foreground);
  background: transparent;
}
.btn-outline-invert:hover { background-color: oklch(1 0 0 / 0.1); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--navy);
  color: var(--navy-foreground);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 5rem;
}
.brand { display: flex; align-items: center; gap: 0.5rem; }
.brand img { height: 2.75rem; width: auto; }
.brand__word {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: oklch(0.98 0.003 248 / 0.7);
}
.main-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.98 0.003 248 / 0.8);
  transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--primary); }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-cta { display: none; }
.menu-toggle {
  border: 0;
  background: transparent;
  color: var(--navy-foreground);
  padding: 0.5rem;
  border-radius: var(--radius);
  display: inline-flex;
}
.mobile-nav {
  display: none;
  border-top: 1px solid oklch(0.98 0.003 248 / 0.1);
  background-color: var(--navy);
}
.mobile-nav.is-open { display: block; }
.mobile-nav .section-shell { display: flex; flex-direction: column; padding-block: 0.75rem; }
.mobile-nav a {
  padding-block: 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: oklch(0.98 0.003 248 / 0.8);
}
.mobile-nav a[aria-current="page"] { color: var(--primary); }
.mobile-nav .btn { margin-top: 0.75rem; text-align: center; }

@media (min-width: 640px) {
  .brand__word { display: inline; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* ---------- footer ---------- */
.site-footer { background-color: var(--navy); color: var(--navy-foreground); }
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
  grid-template-columns: 1fr;
}
.footer-about p {
  margin-top: 1rem;
  max-width: 26rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: oklch(0.98 0.003 248 / 0.7);
}
.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
}
.footer-links { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: oklch(0.98 0.003 248 / 0.7); }
.footer-links a:hover { color: var(--primary); }
.footer-contact { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-contact li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: oklch(0.98 0.003 248 / 0.7); }
.footer-contact a:hover { color: var(--primary); }
.footer-contact .icon { color: var(--primary); flex-shrink: 0; margin-top: 0.15rem; }
.footer-bottom { border-top: 1px solid oklch(0.98 0.003 248 / 0.1); }
.footer-bottom .section-shell {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: oklch(0.98 0.003 248 / 0.6);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-about { grid-column: span 2; }
}
@media (min-width: 640px) {
  .footer-bottom .section-shell { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- icon sizing ---------- */
.icon { width: 1rem; height: 1rem; display: inline-block; vertical-align: -0.15em; }
.icon-sm { width: 0.85rem; height: 0.85rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--navy);
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.hero-inner {
  position: relative;
  padding-block: 6rem;
  color: var(--navy-foreground);
}
.hero-content { max-width: 40rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid oklch(0.67 0.19 45 / 0.6);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
}
.hero h1 { margin-top: 1.5rem; font-size: 2.75rem; line-height: 1.05; }
.hero h1 .accent { display: block; color: var(--primary); }
.hero-lead { margin-top: 1.5rem; font-size: 1.1rem; font-weight: 600; color: oklch(0.98 0.003 248 / 0.9); }
.hero-sub { margin-top: 1rem; max-width: 34rem; font-size: 0.875rem; line-height: 1.6; color: oklch(0.98 0.003 248 / 0.7); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 640px) {
  .hero h1 { font-size: 3.5rem; }
  .hero-inner { padding-block: 8rem; }
}

/* ---------- page hero (inner pages) ---------- */
.page-hero { background-color: var(--navy); color: var(--navy-foreground); padding-block: 4rem; }
.page-hero .eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); }
.page-hero h1 { margin-top: 0.75rem; font-size: 2.25rem; line-height: 1.15; }
.page-hero p { margin-top: 1rem; max-width: 40rem; font-size: 1rem; line-height: 1.6; color: oklch(0.98 0.003 248 / 0.75); }
@media (min-width: 640px) {
  .page-hero { padding-block: 5rem; }
  .page-hero h1 { font-size: 3rem; }
}

/* ---------- generic sections ---------- */
.section { padding-block: 5rem; }
.section-muted { background-color: var(--secondary); }
.section-navy { background-color: var(--navy); color: var(--navy-foreground); }
.section h2 { font-size: 1.875rem; }
.section > .section-shell > p.lede { margin-top: 0.75rem; max-width: 40rem; font-size: 0.875rem; color: var(--muted-foreground); }
.section-navy p.lede { color: oklch(0.98 0.003 248 / 0.7); }
@media (min-width: 640px) { .section h2 { font-size: 2.25rem; } }

/* ---------- stat band ---------- */
.stat-band { background-color: var(--primary); color: var(--primary-foreground); padding-block: 2rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; text-align: center; }
.stat-grid .value { font-family: var(--font-display); font-size: 1.875rem; font-weight: 800; }
.stat-grid .label { margin-top: 0.25rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: oklch(1 0 0 / 0.8); }
@media (min-width: 768px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- cards / grids ---------- */
.card {
  border: 1px solid var(--border);
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card--soft { background-color: var(--secondary); }
.card .icon-badge { color: var(--primary); }
.card h3 { margin-top: 1rem; font-size: 1.25rem; }
.card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--muted-foreground); }

.grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

.reason-list { display: grid; gap: 1rem; margin-top: 2.5rem; grid-template-columns: 1fr; }
.reason-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  border: 1px solid var(--border); background-color: var(--card);
  border-radius: var(--radius); padding: 1.1rem 1.25rem;
  font-size: 0.875rem; font-weight: 500;
}
.reason-item .icon { color: var(--primary); margin-top: 0.15rem; flex-shrink: 0; }
@media (min-width: 640px) { .reason-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .reason-list { grid-template-columns: repeat(3, 1fr); } }

.step-num { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: oklch(0.67 0.19 45 / 0.3); }

/* trucks pill list */
.pill-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.pill {
  border: 1px solid oklch(0.98 0.003 248 / 0.15);
  background-color: var(--navy-soft);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* testimonials */
.quote-card blockquote { font-size: 0.875rem; line-height: 1.6; color: oklch(0.22 0.03 265 / 0.9); }
.quote-card figcaption { margin-top: 1.25rem; font-size: 0.875rem; font-weight: 700; }
.quote-card figcaption span { display: block; margin-top: 0.15rem; font-size: 0.75rem; font-weight: 500; color: var(--muted-foreground); }

/* CTA band */
.cta-band { background-color: var(--primary); color: var(--primary-foreground); padding-block: 3.5rem; text-align: center; }
.cta-band h2 { font-size: 1.875rem; }
.cta-band p { margin: 0.75rem auto 0; max-width: 40rem; font-size: 0.875rem; line-height: 1.6; color: oklch(1 0 0 / 0.9); }
.cta-band .hero-actions { justify-content: center; margin-top: 1.75rem; }
@media (min-width: 640px) { .cta-band h2 { font-size: 2.25rem; } }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .form-grid { grid-template-columns: 1.1fr 0.9fr; } }

.form-card { border: 1px solid var(--border); background-color: var(--card); border-radius: var(--radius); padding: 1.75rem; }
.field-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: 0.5rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.8rem; font-weight: 600; }
.field input, .field textarea {
  border: 1px solid var(--input);
  border-radius: var(--radius);
  padding: 0.55rem 0.75rem;
  background-color: var(--background);
  color: var(--foreground);
  width: 100%;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 1px;
}
.field-grid .field { margin-bottom: 0; }

.info-list { display: flex; flex-direction: column; gap: 1.25rem; }
.info-card { display: flex; align-items: flex-start; gap: 1rem; border: 1px solid var(--border); background-color: var(--card); border-radius: var(--radius); padding: 1.5rem; }
.info-card .icon { color: var(--primary); margin-top: 0.15rem; }
.info-card h2 { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--muted-foreground); }
.info-card a, .info-card p.value { margin-top: 0.25rem; display: block; font-size: 1rem; font-weight: 600; }
.info-card a:hover { color: var(--primary); }

.aside-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-stack ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
.aside-stack li::before { content: "• "; color: var(--primary); }

/* ---------- accordion (FAQ) ---------- */
.accordion { max-width: 48rem; }
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.1rem;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}
.accordion-trigger .chevron { transition: transform 0.2s ease; flex-shrink: 0; color: var(--muted-foreground); }
.accordion-item.is-open .chevron { transform: rotate(180deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.accordion-content > div { padding-bottom: 1.1rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 0.5rem);
  min-width: 18rem;
  max-width: 90vw;
  background-color: var(--foreground);
  color: var(--background);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: 0 10px 30px oklch(0 0 0 / 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background-color: var(--destructive); color: var(--destructive-foreground); }

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding-inline: 1rem; text-align: center; }
.not-found h1 { font-size: 4.5rem; }
.not-found h2 { margin-top: 1rem; font-size: 1.25rem; }
.not-found p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted-foreground); }
