/* ==========================================================================
   Cargo (کارگو) — Enterprise freight waybill platform landing page
   Static, RTL, Persian. No frameworks.
   ========================================================================== */

/* ---------- Font ---------- */
/* Place Vazirmatn.woff2 in assets/fonts/ (variable or Regular weight).
   Download: https://github.com/rastikerdar/vazirmatn (offline copy required). */
@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #07111F;
  --graphite: #101923;
  --surface: #162230;
  --surface-2: #1B2938;
  --orange: #F59E0B;
  --orange-bright: #FFB020;
  --white: #F8FAFC;
  --muted: #9CA8B7;
  --green: #22C55E;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Vazirmatn", "Segoe UI", Tahoma, "Iranian Sans", system-ui, sans-serif;
  --header-h: 76px;
  --header-h-compact: 60px;
  --container: 1180px;
  --transition: 180ms ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  line-height: 1.85;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 { line-height: 1.5; margin: 0 0 0.6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--orange-bright); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 3px solid var(--orange-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow { max-width: 820px; }

.icon { width: 22px; height: 22px; flex: none; }
.icon-lg { width: 40px; height: 40px; }

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--orange);
  color: var(--navy);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
  transition: top var(--transition);
}
.skip-link:focus { top: 0.75rem; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.7rem;
  min-height: 48px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn:hover { text-decoration: none; }

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-bright); }

.btn-sm { padding: 0.5rem 1.1rem; min-height: 42px; }
.btn-lg { padding: 0.95rem 2.2rem; font-size: 1.05rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.1);
  color: var(--orange-bright);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  transition: min-height var(--transition);
}
.site-header.is-compact .header-inner { min-height: var(--header-h-compact); }
.site-header.is-compact { background: rgba(7, 17, 31, 0.95); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-weight: 800;
  font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 36px; height: 36px; }
.brand-sep { color: var(--orange); margin-inline: 0.15rem; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}
.nav-link {
  display: inline-block;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--white); text-decoration: none; }
.nav-link.is-active {
  color: var(--orange-bright);
  background: rgba(245, 158, 11, 0.1);
}
.nav-cta-item { margin-inline-start: 0.6rem; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(7, 17, 31, 0.98);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    overflow-y: auto;
  }
  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
    gap: 0.25rem;
  }
  .nav-link { display: block; padding: 0.9rem 1rem; font-size: 1.05rem; }
  .nav-cta-item { margin: 0.75rem 0 0; }
  .nav-demo-cta { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-alt { background: var(--graphite); border-block: 1px solid var(--border); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-title { font-size: clamp(1.5rem, 3.4vw, 2.15rem); }
.section-lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-scene { width: 100%; height: 100%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,17,31,0.55) 0%, rgba(7,17,31,0.75) 55%, rgba(7,17,31,0.92) 100%);
}
/* If a real photo is used: add class "has-photo" to .hero */
.hero.has-photo .hero-scene { display: none; }
.hero.has-photo .hero-bg {
  background: url("../images/cargo-hero-truck.webp") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero-title {
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.4;
}
.hero-lead {
  color: #C7D0DB;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

/* Hero dashboard mockup */
.hero-dash, .showcase-panel {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.dash-titlebar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.dash-dots { display: inline-flex; gap: 6px; }
.dash-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-strong);
}
.dash-dots i:first-child { background: var(--orange); }
.dash-title { font-size: 0.85rem; font-weight: 700; color: var(--muted); }
.dash-note { font-weight: 400; opacity: 0.8; }

.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
}
.dash-stat {
  background: var(--surface);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.dash-stat-label { color: var(--muted); font-size: 0.8rem; }
.dash-stat-value { font-size: 1.5rem; font-weight: 800; color: var(--orange-bright); }

.status {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid transparent;
  width: fit-content;
}
.status-ok   { background: rgba(34,197,94,0.14);  color: #7CE8A4; border-color: rgba(34,197,94,0.4); }
.status-warn { background: rgba(245,158,11,0.14); color: var(--orange-bright); border-color: rgba(245,158,11,0.4); }
.status-info { background: rgba(96,165,250,0.14); color: #9EC5FA; border-color: rgba(96,165,250,0.4); }
.status-muted{ background: rgba(156,168,183,0.12); color: var(--muted); border-color: rgba(156,168,183,0.35); }

.dash-route { padding: 1rem 1rem 0.4rem; }
.dash-route-line {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.dash-point {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2.5px solid var(--orange);
  flex: none;
}
.dash-point-end { border-color: var(--green); }
.dash-track {
  flex: 1;
  height: 2px;
  background-image: linear-gradient(90deg, var(--orange) 55%, transparent 0);
  background-size: 14px 2px;
}
.dash-route-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
.dash-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0.5rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-dash { max-width: 560px; }
}

/* ---------- Problem / solution ---------- */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.contrast-col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.contrast-problem { border-inline-start: 3px solid rgba(156,168,183,0.5); }
.contrast-solution { border-inline-start: 3px solid var(--orange); }
.contrast-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.15rem;
}
.contrast-problem .contrast-title { color: var(--muted); }
.contrast-solution .contrast-title { color: var(--orange-bright); }
.contrast-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  color: var(--muted);
}
.contrast-list li {
  position: relative;
  padding-inline-start: 1.3rem;
}
.contrast-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.75em;
  width: 8px;
  height: 2px;
  background: var(--muted);
}
.contrast-text { color: #C7D0DB; }
.contrast-arrow {
  display: flex;
  align-items: center;
  color: var(--orange);
}
.contrast-arrow svg { transform: scaleX(-1); } /* points from problem to solution in RTL */

.unified-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.flow-chip {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.85rem;
  position: relative;
}
.flow-chip:not(:last-child)::after {
  content: "←";
  position: absolute;
  inset-inline-end: -1.05rem;
  color: var(--orange);
}
.flow-chip-accent {
  background: rgba(245,158,11,0.14);
  border-color: rgba(245,158,11,0.5);
  color: var(--orange-bright);
  font-weight: 700;
}

@media (max-width: 800px) {
  .contrast-grid { grid-template-columns: 1fr; }
  .contrast-arrow { justify-content: center; transform: rotate(90deg); }
  .flow-chip { margin-inline-end: 1rem; }
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.feature-card, .audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover, .audience-card:hover {
  border-color: rgba(245,158,11,0.45);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 11px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  color: var(--orange-bright);
  margin-bottom: 1rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-title { font-size: 1.08rem; }
.feature-text { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ---------- Workflow ---------- */
.workflow { position: relative; }
.workflow-road {
  position: relative;
  height: 46px;
  margin-bottom: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.workflow-lane {
  position: absolute;
  top: 50%;
  inset-inline: 20px;
  height: 3px;
  transform: translateY(-50%);
  background-image: linear-gradient(90deg, var(--orange) 50%, transparent 0);
  background-size: 26px 3px;
  opacity: 0.8;
}
.workflow-truck {
  position: absolute;
  top: 50%;
  inset-inline-start: 2%;
  width: 56px;
  transform: translateY(-58%) scaleX(-1); /* faces direction of travel in RTL */
  transition: inset-inline-start 120ms linear;
  will-change: inset-inline-start;
}

.workflow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: step;
}
.workflow-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.25rem;
  counter-increment: step;
  position: relative;
}
.workflow-step::before {
  content: counter(step);
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(245,158,11,0.5);
  color: var(--orange-bright);
  font-size: 0.85rem;
  font-weight: 800;
}
.workflow-marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245,158,11,0.12);
  color: var(--orange-bright);
  margin-bottom: 0.9rem;
}
.workflow-title { font-size: 1rem; margin: 0; }

@media (max-width: 900px) {
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .workflow-steps { grid-template-columns: 1fr; }
}

/* ---------- Customers ---------- */
.customer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.1rem;
}
.customer-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.customer-card:hover {
  border-color: rgba(245,158,11,0.4);
  transform: translateY(-3px);
}
.customer-logo-box {
  width: 96px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface-2);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.customer-logo-box img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
.customer-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--orange-bright);
}
.customer-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Integration ---------- */
.integration-diagram {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.int-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 170px;
  padding: 1.25rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-weight: 700;
  color: var(--muted);
  text-align: center;
}
.int-node .icon { width: 28px; height: 28px; color: var(--orange-bright); }
.int-node-core {
  border-color: rgba(245,158,11,0.55);
  background: rgba(245,158,11,0.08);
  color: var(--white);
}
.int-link {
  display: flex;
  align-items: center;
  min-width: 56px;
}
.int-dash {
  width: 100%;
  height: 2px;
  background-image: linear-gradient(90deg, var(--orange) 55%, transparent 0);
  background-size: 12px 2px;
}
.integration-cats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
}
.int-cat {
  padding: 0.85rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  position: relative;
}
.int-cat::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  margin-inline-end: 0.6rem;
  vertical-align: middle;
}

@media (max-width: 700px) {
  .integration-diagram { flex-direction: column; align-items: center; }
  .int-link { min-height: 42px; min-width: 0; width: 2px; }
  .int-dash {
    width: 2px; height: 100%;
    background-image: linear-gradient(180deg, var(--orange) 55%, transparent 0);
    background-size: 2px 12px;
  }
}

/* ---------- Showcase table ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll:focus-visible { outline-offset: -3px; }
.ops-table {
  width: 100%;
  min-width: 940px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.ops-table th, .ops-table td {
  padding: 0.75rem 0.9rem;
  text-align: start;
  white-space: nowrap;
  border-bottom: 1px solid var(--border);
}
.ops-table thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.82rem;
  position: sticky;
  top: 0;
}
.ops-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.ops-table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Benefits ---------- */
.benefit-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.1rem;
}
.benefit-card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  font-weight: 700;
}
.benefit-card .icon { color: var(--orange-bright); width: 26px; height: 26px; }

/* ---------- Audience ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* ---------- Demo ---------- */
.section-demo {
  background:
    radial-gradient(600px 300px at 85% 0%, rgba(245,158,11,0.09), transparent 70%),
    var(--graphite);
  border-block: 1px solid var(--border);
}
.demo-inner { max-width: 760px; }
.demo-form {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 4vw, 2.2rem);
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.1rem;
}
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--graphite);
  color: var(--white);
  font: inherit;
  transition: border-color var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-field input[dir="ltr"] { text-align: left; }
.form-field.has-error input,
.form-field.has-error textarea { border-color: #F87171; }
.field-error {
  color: #FCA5A5;
  font-size: 0.85rem;
  min-height: 1.4em;
  margin: 0.3rem 0 0;
}
.form-status {
  margin: 1rem 0 0;
  font-weight: 700;
  min-height: 1.6em;
}
.form-status.is-error { color: var(--orange-bright); }
.form-status.is-ok { color: var(--green); }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.faq-heading { margin: 0; }
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: transparent;
  border: 0;
  color: var(--white);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: start;
  cursor: pointer;
  min-height: 48px;
}
.faq-trigger:hover { color: var(--orange-bright); }
.faq-chevron {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--orange);
  transition: transform var(--transition);
}
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-panel { padding: 0 1.3rem 1.15rem; color: var(--muted); }
.faq-panel p { margin: 0; }

/* No-JS fallback: keep all FAQ panels visible */
.no-js .faq-panel[hidden] { display: block; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--graphite);
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.footer-tagline { color: var(--muted); margin: 1rem 0 0.3rem; }
.footer-domain a { font-weight: 700; }
.footer-nav ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 1.5rem;
}
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 1.25rem 0 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-copy, .footer-dev { margin: 0; }
.footer-dev a { color: var(--muted); }
.footer-dev a:hover { color: var(--white); }
.footer-dev-sep { margin-inline: 0.35rem; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms ease, transform 500ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* No-JS fallback: show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .workflow-truck { transition: none; }
}
