/* FORWRD marketing site — professional, app-aligned */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #006FFD;
  --primary-2: #2897FF;
  --primary-deep: #0056CC;
  --primary-lightest: #EAF2FF;
  --primary-lighter: #D6E7FF;
  --bg: #F7F8FC;
  --surface: #ffffff;
  --text: #1F2024;
  --text-2: #2F3036;
  --muted: #71727A;
  --border: #E4E6EF;
  --shipper: #FFA726;
  --transporter: #02BA46;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 8px 28px rgba(31, 32, 36, 0.08);
  --font: 'Archivo', 'Helvetica Neue', sans-serif;
  --max: 1080px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
/* Body copy justified; keep UI/headings left/center */
p,
.lead,
.section-desc,
.prose,
.prose p,
.prose li,
.footer-brand p,
.feature-card p,
.dual-panel p,
.plan-card p,
.contact-card p {
  text-align: justify;
  text-justify: inter-word;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.section-label,
.page-hero h1,
.nav-desktop,
.nav-drawer,
.brand,
.btn,
.breadcrumb,
.site-header,
.footer-col h4,
.footer-bottom {
  text-align: left;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
@media (min-width: 768px) {
  .container { width: min(var(--max), calc(100% - 64px)); }
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.reveal { opacity: 0; transform: translateY(14px); transition: .45s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand img.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--primary);
}
.brand-name span { display: none; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
@media (min-width: 980px) {
  .nav-desktop { display: flex; }
}
.nav-desktop a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  border-radius: 10px;
  transition: .15s ease;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: var(--primary);
  background: var(--primary-lightest);
}

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.menu-toggle {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.menu-toggle svg { width: 20px; height: 20px; }
@media (min-width: 980px) { .menu-toggle { display: none; } }

.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(15, 23, 36, .4);
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
  z-index: 99;
}
.nav-drawer.open { opacity: 1; pointer-events: auto; }
.nav-drawer-panel {
  margin-left: auto;
  width: min(320px, 100%);
  height: 100%;
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transform: translateX(12px);
  transition: .2s ease;
}
.nav-drawer.open .nav-drawer-panel { transform: none; }
.nav-drawer-panel a {
  padding: 14px 12px;
  font-weight: 650;
  border-radius: 10px;
  color: var(--text-2);
}
.nav-drawer-panel a:hover,
.nav-drawer-panel a.active {
  background: var(--primary-lightest);
  color: var(--primary);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  transition: .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 111, 253, .22);
}
.btn-primary:hover { background: var(--primary-deep); }
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1.5px solid var(--primary-lighter);
}
.btn-secondary:hover { background: var(--primary-lightest); }
.btn-white { background: #fff; color: var(--primary); }
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* ——— Hero: full-width banner carousel (phone creatives) ——— */
.hero {
  padding: 24px 0 40px;
  background: #fff;
}
@media (min-width: 900px) {
  .hero { padding: 32px 0 56px; }
}

.hero-banner-wrap {
  display: grid;
  gap: 20px;
}

.banner-carousel {
  width: 100%;
  animation: rise .45s ease both;
}

.banner-carousel-frame {
  border-radius: 16px;
  overflow: hidden;
  background: #0B1B4D;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.banner-carousel-viewport {
  position: relative;
  width: 100%;
  /* Exact ratio of phone banners (1536×1024) — do not crop */
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #0B1B4D;
}

.banner-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(.22, 1, .36, 1);
  will-change: transform;
}

.banner-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  /* contain = full creative visible (logo, bottom bar, map) */
  object-fit: contain;
  object-position: center center;
  display: block;
  background: #0B1B4D;
}

.banner-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 14px 0 0;
}

.banner-carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D4D6DD;
  padding: 0;
  transition: .2s ease;
}

.banner-carousel-dots button.active {
  background: var(--primary);
  width: 22px;
  border-radius: 999px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  padding-top: 4px;
}
.hero-cta-line {
  margin-right: auto;
  font-size: 1rem;
  font-weight: 650;
  color: var(--text-2);
  line-height: 1.4;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ——— Sections ——— */
.section { padding: 72px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section-alt { background: #EEF3FB; }
.section-head { margin-bottom: 36px; max-width: 36rem; }
.section-label {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 16ch;
}
.section-desc {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 46ch;
}
.section-link { margin-top: 28px; }

/* Dual panels */
.dual {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .dual { grid-template-columns: 1fr 1fr; gap: 20px; } }
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 2px 12px rgba(31,32,36,.04);
}
.panel.shipper { border-top: 4px solid var(--shipper); }
.panel.transporter { border-top: 4px solid var(--transporter); }
.panel .eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.panel.shipper .eyebrow { background: #FFF3E0; color: #E65100; }
.panel.transporter .eyebrow { background: #E7F4E8; color: #1B7A38; }
.panel h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.panel ul { display: grid; gap: 10px; margin-bottom: 22px; }
.panel li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
  font-size: .95rem;
}
.panel li::before {
  content: '';
  width: 8px; height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Feature rows */
.feature-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.feature-row {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  border-top: 1px solid var(--border);
}
.feature-row:first-child { border-top: 0; }
.feature-row:hover { background: var(--primary-lightest); }
@media (min-width: 720px) {
  .feature-row {
    grid-template-columns: 240px 1fr;
    align-items: baseline;
    gap: 28px;
  }
}
.feature-row strong {
  font-size: 1rem;
  font-weight: 750;
}
.feature-row p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Cities */
.city-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.city-row a {
  padding: 11px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 650;
  font-size: 14px;
  color: var(--text-2);
  transition: .15s ease;
}
.city-row a:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-lightest);
}

/* Flow */
.steps {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(6, 1fr); }
}
.step {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
}
.step b {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  margin-bottom: 10px;
}
.step span {
  font-size: 13px;
  font-weight: 650;
  color: var(--text-2);
  line-height: 1.35;
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff;
  border-radius: 20px;
  padding: 44px 36px;
}
.cta-band h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.cta-band p { opacity: .92; margin-bottom: 22px; max-width: 46ch; }
.cta-band .btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Inner pages */
.page-hero {
  padding: 40px 0 32px;
  background: linear-gradient(180deg, var(--primary-lightest), var(--bg));
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  max-width: 18ch;
  margin-bottom: 10px;
}
.page-hero .lead { color: var(--muted); max-width: 58ch; font-size: 1.02rem; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--primary); }

.prose { max-width: 68ch; }
.prose h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}
.prose p { margin-bottom: 12px; color: var(--text-2); }
.prose ul { margin: 0 0 16px; display: grid; gap: 8px; }
.prose li {
  padding-left: 18px;
  position: relative;
  color: var(--text-2);
}
.prose li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

.related-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 700px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
.related-card {
  display: block;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: .15s ease;
}
.related-card:hover {
  border-color: var(--primary-lighter);
  box-shadow: var(--shadow);
}
.related-card strong { display: block; margin-bottom: 4px; }
.related-card span { font-size: 13px; color: var(--muted); }

.price-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 860px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px;
}
.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}
.price-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 6px; }
.price-card .price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0;
}
.price-card ul { margin: 14px 0 20px; display: grid; gap: 8px; }
.price-card li { font-size: 14px; color: var(--text-2); padding-left: 18px; position: relative; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--transporter); font-weight: 800; }

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  max-width: 520px;
  box-shadow: 0 2px 12px rgba(31,32,36,.04);
}
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--text-2); }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid #D4D6DD;
  font: inherit;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0,111,253,.12);
}
textarea { min-height: 120px; resize: vertical; }

.icon-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) { .icon-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.feature-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.feature-tile h3 { font-size: 1.05rem; font-weight: 750; margin-bottom: 8px; }
.feature-tile p { color: var(--muted); font-size: .95rem; }
.icon-anim {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--primary-lightest);
  color: var(--primary);
  margin-bottom: 14px;
}
.icon-anim svg { width: 22px; height: 22px; }

.chip-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-link {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 650;
  font-size: 14px;
  color: var(--text-2);
}
.chip-link:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-lightest); }

/* Footer */
.site-footer {
  background: #fff;
  color: var(--text-2);
  padding: 56px 0 28px;
  margin-top: 8px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  gap: 32px;
  margin-bottom: 36px;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: 14px;
}
.footer-brand p {
  font-size: 14px;
  max-width: 34ch;
  line-height: 1.55;
  color: var(--muted);
}
.footer-col h4 {
  color: var(--text);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 750;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 14px;
  color: var(--muted);
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom a {
  color: var(--primary);
  font-weight: 650;
}
.footer-bottom a:hover { text-decoration: underline; }

/* Contact */
.contact-layout {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 36px; }
}
.contact-aside { display: grid; gap: 16px; }
.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 750;
  margin-bottom: 8px;
}
.contact-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}
.contact-meta { display: grid; gap: 12px; }
.contact-meta-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 0;
  border-top: 1px solid var(--border);
}
.contact-meta-item:first-child { border-top: 0; padding-top: 0; }
.contact-meta-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.contact-meta-item span,
.contact-meta-item a {
  font-size: 14px;
  color: var(--muted);
}
.contact-meta-item a { color: var(--primary); font-weight: 650; }
.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary-lightest);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
