/* ============================================================
   Cosmos Dispatch — Full Website Stylesheet
   Palette: Deep Navy + Electric Blue + Amber
   Fonts: Plus Jakarta Sans (body), Space Grotesk (headings)
   ============================================================ */

:root {
  --navy: #0f1b2d;
  --navy-light: #1a2d47;
  --navy-mid: #152238;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --blue-dark: #1d4ed8;
  --blue-pale: rgba(37,99,235,0.08);
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --green: #10b981;
  --slate: #64748b;
  --slate-light: #94a3b8;
  --off-white: #f8fafc;
  --white: #ffffff;
  --dark: #0f172a;
  --border: #e2e8f0;
  --font-primary: 'Plus Jakarta Sans', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(15,27,45,0.06);
  --shadow-md: 0 4px 20px rgba(15,27,45,0.08);
  --shadow-lg: 0 10px 40px rgba(15,27,45,0.12);
  --transition: 0.3s ease;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration:none; color:inherit; transition: color var(--transition); }
img { max-width:100%; height:auto; display:block; }

.container { max-width:1140px; margin:0 auto; padding:0 1.5rem; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37,99,235,0.4);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  color: var(--blue-dark);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(15,27,45,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0.8rem 0;
  transition: all var(--transition);
}
.site-header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-mark { width: 1.45em; height: 1.45em; flex: none; color: var(--white); }
.logo span { color: var(--blue-light); font-weight: 500; }
.logo .wm, .footer-brand .wm { color: inherit; font-weight: 700; }

/* Desktop Nav */
.main-nav { display: flex; align-items: center; gap: 0.3rem; }
.main-nav a {
  color: var(--slate-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
@media (min-width: 769px) and (max-width: 1180px) {
  .main-nav a { padding: 0.5rem 0.5rem; font-size: 0.85rem; }
  .main-nav a.nav-quote i, .main-nav a.nav-track i { display: none; }
  .main-nav a[href$="careers.html"] { display: none; }
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
}
.main-nav a.nav-phone {
  color: var(--amber-light);
  font-weight: 600;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.75rem;
  color: var(--slate-light);
  font-size: 0.85rem;
}
.hero-trust span { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-trust i { color: var(--green); }

.promise-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.promise-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
}
.promise-item i { color: var(--blue); font-size: 1.1rem; margin-top: 0.2rem; }
.promise-item h4 { margin-bottom: 0.2rem; font-size: 1rem; }
.promise-item p { color: var(--slate); font-size: 0.92rem; }

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem;
}

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2847 40%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 7rem 1.5rem 4rem;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(37,99,235,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(245,158,11,0.06) 0%, transparent 60%);
  animation: heroGlow 12s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  0%   { transform: translate(0,0); }
  100% { transform: translate(-3%,3%); }
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 640px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37,99,235,0.15);
  border: 1px solid rgba(37,99,235,0.3);
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--blue-light), var(--amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 1.1rem;
  color: var(--slate-light);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.8;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 1.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item h3 {
  font-size: 2.2rem;
  color: var(--blue-light);
  margin-bottom: 0.3rem;
}
.stat-item p {
  color: var(--slate-light);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ============ SECTIONS ============ */
.section {
  padding: 5rem 1.5rem;
}
.section-light { background: var(--off-white); }
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-dark .section-header .label { color: var(--blue-light); }
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 0.75rem;
}
.section-dark .section-header h2 { color: var(--white); }
.section-header p {
  color: var(--slate);
  font-size: 1.05rem;
}
.section-dark .section-header p { color: var(--slate-light); }

/* ============ SERVICES GRID ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.services-grid.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}
.service-card .icon-wrap,
.guide-card .icon-wrap,
.guide-mode-head .icon-wrap {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.icon-blue  { background: rgba(37,99,235,0.1);  color: var(--blue); }
.icon-amber { background: rgba(245,158,11,0.1); color: var(--amber); }
.icon-green { background: rgba(16,185,129,0.1); color: var(--green); }
.icon-navy  { background: rgba(15,27,45,0.08);  color: var(--navy); }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--navy);
}
.service-card p {
  color: var(--slate);
  font-size: 0.93rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.service-card .card-link,
.guide-card .card-link,
.tt-card .card-link,
.guide-narrow .card-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.service-card .card-link:hover,
.guide-card:hover .card-link,
.tt-card .card-link:hover,
.guide-narrow .card-link:hover { gap: 0.7rem; }

/* ============ WHY CHOOSE / FEATURES ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.feature-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  background: rgba(37,99,235,0.12);
  color: var(--blue-light);
}
.feature-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--white);
}
.feature-item p {
  color: var(--slate-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}
.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--navy);
}
.process-step p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ TESTIMONIALS ============ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}
.testimonial-card .stars {
  color: var(--amber);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.testimonial-card blockquote {
  font-size: 1.1rem;
  color: var(--dark);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.25rem;
}
.testimonial-card .author {
  font-weight: 700;
  color: var(--navy);
}
.testimonial-card .role {
  color: var(--slate);
  font-size: 0.85rem;
}

/* ============ FAQ ============ */
.faq-list {
  max-width: 740px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-question i {
  transition: transform var(--transition);
  color: var(--blue);
}
.faq-item.open .faq-question i {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
}
.faq-answer p {
  color: var(--slate);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.1) 0%, transparent 70%);
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}
.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  position: relative;
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail .icon {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: var(--radius-sm);
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-detail h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
  color: var(--navy);
}
.contact-detail p,
.contact-detail a {
  color: var(--slate);
  font-size: 0.9rem;
}
.contact-detail a:hover { color: var(--blue); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--navy);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 8rem 1.5rem 4rem;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}
.page-hero p {
  color: var(--slate-light);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}
.breadcrumb a { color: var(--slate-light); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { color: var(--slate); }
.breadcrumb .current { color: var(--blue-light); }

/* ============ ABOUT PAGE ============ */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-intro h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--navy);
}
.about-intro p {
  color: var(--slate);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-visual {
  background: linear-gradient(135deg, var(--blue-pale), rgba(37,99,235,0.04));
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.about-visual i {
  font-size: 5rem;
  color: var(--blue);
  opacity: 0.3;
}

.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}
.timeline-dot {
  width: 56px; height: 56px;
  min-width: 56px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--off-white);
}
.timeline-content h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
  margin-top: 0.4rem;
}
.timeline-content p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--navy);
  color: var(--slate-light);
  padding: 4rem 1.5rem 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.45em; }
.footer-brand span { color: var(--blue-light); font-weight: 500; }
.footer-about {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--slate-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--blue);
  color: var(--white);
}
.footer-col h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a {
  color: var(--slate-light);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--slate);
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--slate); }
.footer-legal a:hover { color: var(--slate-light); }

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-intro { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .main-nav.open { display: flex; }
  .mobile-toggle { display: block; }

  .hero { min-height: auto; padding: 7rem 1.25rem 3.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .services-grid.two-up { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
}

/* ============ TRACKING DEMO SECTION ============ */
.tracking-section {
  background: var(--off-white);
  padding: 5rem 1.5rem;
}
.tracking-section .section-header .label { color: var(--blue); }

/* Search Bar */
.tracking-search {
  max-width: 580px;
  margin: 0 auto 3rem;
}
.tracking-search-bar {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 56px;
  padding: 6px 6px 6px 24px;
  box-shadow: var(--shadow-md);
  transition: border-color var(--transition), box-shadow var(--transition);
  gap: 8px;
}
.tracking-search-bar:focus-within {
  border-color: var(--blue);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(37,99,235,0.1);
}
.tracking-search-bar .search-icon {
  flex-shrink: 0;
  color: var(--slate-light);
  font-size: 1rem;
}
.tracking-search-bar input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--dark);
  outline: none;
  padding: 10px 0;
  min-width: 0;
}
.tracking-search-bar input::placeholder { color: var(--slate-light); }
.tracking-search-btn {
  flex-shrink: 0;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 48px;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.tracking-search-btn:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}
.tracking-demo-hint {
  text-align: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--slate-light);
}
.tracking-demo-hint button {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
  font-family: var(--font-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tracking-demo-hint button:hover { color: var(--blue-dark); }

/* Tracking Result */
.tracking-result {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.tracking-result.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.tracking-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.tracking-ref {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}
.tracking-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-primary);
  background: rgba(245,158,11,0.12);
  color: var(--amber);
}
.tracking-status-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: trackingPulse 2s ease-in-out infinite;
}
@keyframes trackingPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* Tracking Grid */
.tracking-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
}

/* Map Card */
.tracking-map-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.tracking-route-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  gap: 12px;
}
.tracking-city { text-align: center; }
.tracking-city-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
}
.tracking-city-state {
  font-size: 0.75rem;
  color: var(--slate-light);
  font-weight: 500;
}
.tracking-route-line {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 60px;
}
.tracking-route-line .line-bg {
  flex: 1;
  height: 3px;
  background: var(--border);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.tracking-route-line .line-bg::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background: var(--blue);
  border-radius: 2px;
  animation: routeProgress 4s ease-in-out infinite;
}
@keyframes routeProgress {
  0% { width: 55%; }
  50% { width: 72%; }
  100% { width: 55%; }
}
.tracking-route-line .chevron {
  color: var(--slate-light);
  flex-shrink: 0;
  margin-left: 2px;
}
.tracking-map-view {
  position: relative;
  background: var(--off-white);
  aspect-ratio: 16 / 10;
  max-width: 100%;
  overflow: hidden;
}
.tracking-map-view svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tracking-map-legend {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--slate);
  flex-wrap: wrap;
}
.tracking-legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tracking-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tracking-legend-line {
  width: 20px;
  height: 3px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Side Panel */
.tracking-side-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.tracking-eta {
  background: rgba(37,99,235,0.06);
  border: 1px solid rgba(37,99,235,0.15);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tracking-eta i {
  color: var(--blue);
  font-size: 1rem;
}
.tracking-eta-text {
  font-size: 0.85rem;
  color: var(--blue);
  font-weight: 500;
}
.tracking-eta-text strong { font-weight: 700; }

.tracking-info-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.25rem;
}
.tracking-info-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}
.tracking-detail-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tracking-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.tracking-detail-label {
  font-size: 0.82rem;
  color: var(--slate-light);
  white-space: nowrap;
}
.tracking-detail-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-align: right;
}
.tracking-detail-value.accent { color: var(--blue); }

/* Tracking Timeline */
.tracking-timeline {
  display: flex;
  flex-direction: column;
}
.tracking-tl-item {
  display: flex;
  gap: 14px;
  padding-bottom: 18px;
}
.tracking-tl-item:last-child { padding-bottom: 0; }
.tracking-tl-track {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 24px;
}
.tracking-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--white);
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.tracking-tl-dot.done {
  background: var(--green);
  border-color: var(--green);
}
.tracking-tl-dot.active {
  background: var(--amber);
  border-color: var(--amber);
  box-shadow: 0 0 0 4px rgba(245,158,11,0.15);
  animation: trackingPulse 2s ease-in-out infinite;
}
.tracking-tl-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 4px;
}
.tracking-tl-item.completed .tracking-tl-line { background: var(--green); }
.tracking-tl-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.tracking-tl-meta {
  font-size: 0.75rem;
  color: var(--slate-light);
  margin-top: 2px;
}
.tracking-tl-item.pending .tracking-tl-title { color: var(--slate-light); }

/* Truck animation */
.tracking-truck {
  offset-path: path('M 120 310 C 200 295, 280 250, 360 210 C 420 185, 480 150, 530 105');
  animation: truckMove 6s ease-in-out infinite alternate;
}
@keyframes truckMove {
  0% { offset-distance: 0%; }
  100% { offset-distance: 65%; }
}
@keyframes dashScroll {
  to { stroke-dashoffset: -20; }
}

/* Tracking Responsive */
@media (max-width: 800px) {
  .tracking-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .tracking-search-btn { padding: 10px 18px; font-size: 0.85rem; }
}

/* ============ NAV TRACK LINK ============ */
.nav-track {
  color: var(--amber-light) !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.nav-track:hover {
  color: var(--amber) !important;
  background: rgba(245,158,11,0.1) !important;
}

/* ============ INSTANT QUOTE ============ */
.quote-section { background: var(--white); }

.quote-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
}
.quote-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.quote-field {
  position: relative;
}
.quote-field label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.quote-field input,
.quote-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--off-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.quote-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 2.5rem;
}
.quote-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.92rem;
  resize: vertical;
}
.quote-field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.quote-field input:disabled { background: var(--light, #f5f7fa); color: var(--slate); cursor: not-allowed; }
.quote-field .optional { font-weight: 400; color: var(--slate); }
.quote-form-grid .full { grid-column: 1 / -1; }
.quote-check { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--navy); cursor: pointer; }
.quote-check input { width: 1rem; height: 1rem; accent-color: var(--blue); }
.quote-step-title { font-size: 1.05rem; color: var(--navy); margin-bottom: 0.35rem; }
.quote-step-note { font-size: 0.88rem; color: var(--slate); margin-bottom: 1.25rem; }
.quote-confirm-btn { width: 100%; justify-content: center; }
.quote-consent { font-size: 0.78rem; color: var(--slate); text-align: center; margin-top: 0.75rem; }
.quote-consent a { color: var(--blue); }
.quote-form-result { display: none; text-align: center; margin-top: 0.75rem; font-size: 0.9rem; }
.quote-form-result.ok { display: block; color: #047857; }
.quote-form-result.err { display: block; color: #dc2626; }
.quote-field input:focus,
.quote-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.quote-submit {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

/* Autocomplete suggestions */
.quote-suggestions {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: var(--shadow-md);
  max-height: 200px;
  overflow-y: auto;
  z-index: 50;
}
.quote-suggestions.open { display: block; }
.quote-suggestion-item {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--dark);
  transition: background 0.15s;
}
.quote-suggestion-item:hover,
.quote-suggestion-item.active {
  background: var(--blue-pale);
  color: var(--blue-dark);
}
.quote-suggestion-item .state {
  color: var(--slate-light);
  font-size: 0.8rem;
}

/* Quote Result */
.quote-result {
  display: none;
}
.quote-result.visible { display: block; }
.quote-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.quote-result-header h3 {
  font-size: 1.15rem;
  color: var(--navy);
}
.quote-new-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.quote-new-btn:hover { color: var(--blue-dark); }

.quote-route-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
}
.quote-route-city {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}
.quote-route-arrow { color: var(--blue); font-size: 1rem; }

.quote-price-box {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(37,99,235,0.05), rgba(37,99,235,0.02));
  border: 1px solid rgba(37,99,235,0.12);
  border-radius: var(--radius);
}
.quote-price-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
}
.quote-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}
.quote-price-sep {
  color: var(--slate-light);
  font-size: 1.2rem;
}
.quote-price-label {
  color: var(--slate);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

.quote-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.quote-detail {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.quote-detail-label {
  font-size: 0.82rem;
  color: var(--slate-light);
}
.quote-detail-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.quote-disclaimer {
  font-size: 0.75rem;
  color: var(--slate-light);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.quote-cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--off-white);
  color: var(--navy);
}

/* Nav quote link */
.nav-quote {
  color: var(--green) !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
}
.nav-quote:hover {
  background: rgba(16,185,129,0.1) !important;
}

/* Quote responsive */
@media (max-width: 600px) {
  .quote-form-grid { grid-template-columns: 1fr; }
  .quote-card { padding: 1.5rem; }
  .quote-price { font-size: 1.6rem; }
  .quote-details-grid { grid-template-columns: 1fr; }
  .quote-cta-row { flex-direction: column; }
  .quote-cta-row .btn { width: 100%; justify-content: center; }
  .quote-route-summary { flex-direction: column; gap: 0.5rem; }
  .quote-route-arrow { transform: rotate(90deg); }
}

/* ============ BLOG ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37,99,235,0.2);
}
.blog-card-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.blog-card-body {
  padding: 1.5rem;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--slate-light);
  margin-bottom: 0.6rem;
}
.blog-card-meta .tag {
  background: var(--blue-pale);
  color: var(--blue);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
  line-height: 1.35;
}
.blog-card h3 a { color: var(--navy); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card .read-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.blog-card .read-more:hover { gap: 0.7rem; }

/* Blog Post */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
}
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: var(--slate-light);
}
.blog-post-meta .tag {
  background: var(--blue-pale);
  color: var(--blue);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-post h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
  color: var(--navy);
}
.blog-post h3 {
  font-size: 1.1rem;
  margin: 2rem 0 0.5rem;
  color: var(--navy);
}
.blog-post p {
  color: var(--dark);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.blog-post ul, .blog-post ol {
  margin: 0 0 1.25rem 1.5rem;
  color: var(--dark);
  line-height: 1.85;
}
.blog-post li { margin-bottom: 0.4rem; }
.blog-post strong { color: var(--navy); }
.blog-post blockquote {
  border-left: 4px solid var(--blue);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--slate);
}
.blog-post-cta {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
}
.blog-post-cta h3 { color: var(--white); margin: 0 0 0.5rem; }
.blog-post-cta p { color: var(--slate-light); margin-bottom: 1.25rem; font-size: 0.95rem; }
.blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}
.blog-back:hover { gap: 0.7rem; color: var(--blue-dark); }

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

/* ============ FREIGHT SHIPPING GUIDE ============ */
.guide-narrow { max-width: 920px; }
.guide-note { display: flex; gap: 0.9rem; align-items: flex-start; background: rgba(37,99,235,0.06); border: 1px solid rgba(37,99,235,0.18); border-radius: var(--radius-md, 12px); padding: 1rem 1.25rem; margin-bottom: 3rem; }
.guide-note i { color: var(--blue); font-size: 1.1rem; margin-top: 0.2rem; }
.guide-note p { margin: 0; color: var(--dark, #0f1b2d); font-size: 0.95rem; }
.guide-card { display: block; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1.75rem; color: inherit; transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition); }
.guide-card:hover, .guide-card:focus-visible { border-color: var(--blue); box-shadow: var(--shadow-md, 0 8px 24px rgba(15,27,45,0.08)); transform: translateY(-2px); }
.guide-mode-head .icon-wrap { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0; }
.guide-card h3 { font-size: 1.1rem; margin: 0 0 0.4rem; color: var(--navy); }
.guide-card p { color: var(--slate); font-size: 0.92rem; margin-bottom: 1rem; }
.guide-spec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.guide-spec { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md, 12px); padding: 1.25rem; }
.guide-spec i { color: var(--blue); font-size: 1.15rem; }
.guide-spec h4 { font-size: 0.98rem; color: var(--navy); margin: 0.7rem 0 0.35rem; }
.guide-spec p { font-size: 0.86rem; color: var(--slate); margin: 0; }
.guide-mode { border-top: 1px solid var(--border); padding: 2rem 0; scroll-margin-top: 90px; }
.guide-mode:first-of-type { border-top: none; padding-top: 0; }
.guide-mode-head { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.guide-mode-head h3 { font-size: 1.35rem; color: var(--navy); margin: 0; }
.guide-mode > p { color: var(--slate); max-width: 68ch; }
.guide-badge { font-size: 0.78rem; font-weight: 700; color: #047857; background: rgba(16,185,129,0.1); padding: 0.25rem 0.7rem; border-radius: 999px; }
.guide-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.25rem; }
.guide-cols h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 0.5rem; }
.guide-cols ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.35rem; color: var(--slate); font-size: 0.92rem; }
.guide-cta { margin-top: 1.5rem; }
.guide-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-md, 12px); background: var(--white); }
.guide-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 640px; }
.guide-table th, .guide-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); vertical-align: top; }
.guide-table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate); background: rgba(15,27,45,0.03); }
.guide-table tbody th { color: var(--navy); font-weight: 600; white-space: nowrap; }
.guide-table td { color: var(--slate); }
.guide-table tbody tr:last-child th, .guide-table tbody tr:last-child td { border-bottom: none; }
.guide-caption { font-size: 0.82rem; color: var(--slate); margin-top: 0.75rem; }
@media (max-width: 960px) { .guide-spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .guide-spec-grid, .guide-cols { grid-template-columns: 1fr; } }

/* Animated flow diagrams (shipping guide) */
.flow-wrap { overflow-x: auto; margin: 1.25rem 0 0.25rem; padding: 1.5rem 1.25rem 1.25rem; background: var(--off-white, #f8fafc); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); }
.flow { display: flex; align-items: flex-start; min-width: 560px; }
.flow-stop { flex: 0 0 104px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; }
.flow-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--white); border: 2px solid var(--border); display: grid; place-items: center; color: var(--slate); font-size: 1.15rem; margin-bottom: 0.2rem; transition: border-color 0.4s, color 0.4s, box-shadow 0.4s; }
.flow-stop.lit .flow-icon { border-color: var(--blue); color: var(--blue); box-shadow: 0 0 0 6px rgba(37,99,235,0.12); }
.flow-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); line-height: 1.25; }
.flow-sub { font-size: 0.72rem; color: var(--slate); line-height: 1.3; }
.flow-leg { flex: 1 1 auto; min-width: 72px; display: flex; flex-direction: column; align-items: stretch; padding-top: 25px; }
.flow-track { position: relative; height: 0; border-top: 2px dashed #cbd5e1; margin: 0 -6px; transition: border-color 0.4s; }
.flow-leg.done .flow-track { border-top: 2px solid var(--blue); }
.flow-vehicle { position: absolute; top: -1px; left: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--white); display: grid; place-items: center; font-size: 0.85rem; box-shadow: 0 4px 10px rgba(15,27,45,0.18); }
.flow-vehicle.ours { background: var(--amber); color: var(--navy); }
.flow-caption { margin-top: 26px; font-size: 0.74rem; color: var(--slate); text-align: center; padding: 0 0.25rem; transition: color 0.3s; }
.flow-leg.active .flow-caption { color: var(--blue); font-weight: 600; }

/* ============ TRUCK & TRAILER TYPES ============ */
.tt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.tt-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; scroll-margin-top: 90px; }
.tt-card.is-ours { border-color: rgba(245,158,11,0.45); }
.tt-art { background: var(--off-white, #f8fafc); border-radius: var(--radius-sm); padding: 0.75rem 0.5rem 0.25rem; }
.tt-art svg { display: block; width: 100%; height: auto; }
.tt-head { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; }
.tt-head h3 { font-size: 1.1rem; color: var(--navy); margin: 0; }
.tt-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 999px; color: var(--slate); background: rgba(15,27,45,0.06); white-space: nowrap; }
.tt-badge.ours { color: #047857; background: rgba(16,185,129,0.12); }
.tt-card > p { color: var(--slate); font-size: 0.9rem; margin: 0; }
.tt-specs { display: grid; gap: 0.4rem; margin: 0; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.tt-specs div { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.85rem; }
.tt-specs dt { color: var(--slate); }
.tt-specs dd { margin: 0; color: var(--navy); font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tt-card .card-link { margin-top: auto; }
/* drawing palette */
.tt-ground { stroke: #cbd5e1; stroke-width: 1.5; }
.tt-tire { fill: #1e293b; } .tt-hub { fill: #cbd5e1; } .tt-dark { fill: #334155; }
.tt-cab { fill: var(--navy); } .tt-glass { fill: #93c5fd; }
.tt-box { fill: #ffffff; stroke: #94a3b8; stroke-width: 2; }
.tt-cold { fill: #eff6ff; stroke: #60a5fa; }
.tt-line-cold { stroke: #60a5fa; stroke-width: 3; stroke-linecap: round; fill: none; }
.tt-accent { fill: var(--blue); }
.tt-deck { fill: #475569; }
.tt-cargo { fill: #fcd34d; stroke: #b45309; stroke-width: 1.5; }
.tt-strap { stroke: #b45309; stroke-width: 2; fill: none; }
.tt-tarp { fill: #e2e8f0; stroke: #94a3b8; stroke-width: 2; }
.tt-rib { stroke: #94a3b8; stroke-width: 1.5; fill: none; }
.tt-arm { stroke: #b45309; stroke-width: 4; stroke-linecap: round; fill: none; }
.tt-tank { fill: #e2e8f0; stroke: #64748b; stroke-width: 2; }
.tt-container { fill: #2563eb; } .tt-corr { stroke: #1d4ed8; stroke-width: 2; }
.tt-ghost { fill: none; stroke: #94a3b8; stroke-width: 2; stroke-dasharray: 6 5; }
.tt-ghost-text { fill: #64748b; font: 600 13px var(--font-primary, sans-serif); }
.tt-card.is-ours .tt-cab { fill: var(--navy); }
/* containers vs trailers */
.tt-compare { background: var(--off-white, #f8fafc); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); padding: 1.5rem; margin-bottom: 1.5rem; display: grid; gap: 0.9rem; }
.tt-compare-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 1rem; }
.tt-compare-label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.tt-bars { display: flex; gap: 0.5rem; }
.tt-bar { height: 40px; border-radius: 4px; display: grid; place-items: center; font-size: 0.78rem; font-weight: 700; color: #fff; }
.tt-bar.is-container { flex: 0 0 calc((100% - 1rem) / 3 * 0.92); background: repeating-linear-gradient(90deg, #2563eb 0 10px, #1d4ed8 10px 12px); }
.tt-bar.is-trailer { flex: 0 0 calc((100% - 0.5rem) / 2 * 0.92); background: var(--amber); color: var(--navy); }
.tt-compare-arrow { font-size: 0.8rem; color: var(--slate); padding-left: 186px; }
@media (max-width: 600px) {
  .tt-grid { grid-template-columns: 1fr; }
  .tt-compare-row { grid-template-columns: 1fr; gap: 0.4rem; }
  .tt-compare-arrow { padding-left: 0; }
}

/* ============ RESOURCES HUB ============ */
.res-posts { display: grid; gap: 0.75rem; }
.res-post { display: grid; grid-template-columns: 1fr auto; gap: 0.2rem 1rem; align-items: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md, 12px); padding: 1rem 1.25rem; color: inherit; transition: border-color var(--transition); }
.res-post:hover, .res-post:focus-visible { border-color: var(--blue); }
.res-post-title { font-weight: 600; color: var(--navy); }
.res-post-desc { grid-column: 1; font-size: 0.88rem; color: var(--slate); }
.res-post i { grid-column: 2; grid-row: 1 / span 2; color: var(--blue); }
.quote-help { float: right; font-family: var(--font-primary); font-weight: 500; font-size: 0.78rem; color: var(--blue); text-transform: none; letter-spacing: 0; }
