/* ============================================================
   CarShippingHub.com — Main Stylesheet
   Bold, authoritative, editorial design system
   ============================================================ */

/* --- Google Fonts Import --- */
/* @import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Mono:wght@400;500&family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap'); */


/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --navy: #0A0F1E;
  --navy-mid: #111827;
  --navy-light: #1A2235;
  --gold: #F5A623;
  --gold-dark: #D4901A;
  --cyan: #00D4FF;
  --white: #F0F4FF;
  --muted: #8896B0;
  --danger: #FF4D6A;
  --success: #22D3A3;
  --broker: #A78BFA;
  --carrier: #34D399;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', sans-serif;
  --font-mono: 'DM Mono', 'Consolas', monospace;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 960px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-pill: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow-gold: 0 0 20px rgba(245, 166, 35, 0.3);
  --shadow-glow-cyan: 0 0 20px rgba(0, 212, 255, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Z-Index Scale */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ============================================================
   CSS RESET
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--white);
  background-color: var(--navy);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--gold);
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

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

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--space-md);
  color: var(--muted);
}

.text-gold {
  color: var(--gold);
}

.text-cyan {
  color: var(--cyan);
}

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--muted);
}

.text-danger {
  color: var(--danger);
}

.text-success {
  color: var(--success);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-display {
  font-family: var(--font-display);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--dark {
  background: var(--navy-mid);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  font-size: 1.125rem;
  max-width: 640px;
  margin: 0 auto;
}

.section-header .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: var(--space-md) auto;
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
  align-items: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.gap-xl {
  gap: var(--space-xl);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  padding: var(--space-md) 0;
  transition: background var(--transition-base), padding var(--transition-base);
}

.site-nav.scrolled {
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: var(--space-sm) 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  color: var(--white);
  text-transform: uppercase;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  margin-left: var(--space-md);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: var(--z-modal);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: var(--navy-mid);
  z-index: var(--z-overlay);
  padding: var(--space-4xl) var(--space-xl);
  transition: right var(--transition-base);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer a {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted);
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mobile-drawer a:hover {
  color: var(--gold);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: calc(var(--z-overlay) - 1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 15, 30, 0.92) 0%,
      rgba(10, 15, 30, 0.75) 50%,
      rgba(10, 15, 30, 0.88) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  left: 0;
  max-width: 85%;
}

.hero h1 {
  /* width: 800px; */
  margin-bottom: var(--space-lg);
}

.hero h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: var(--space-2xl);
  /* max-width: 620px; */
  line-height: 1.7;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   MARKET TICKER
   ============================================================ */
.market-ticker {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ticker-track {
  display: flex;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  padding: var(--space-sm) 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-xs) var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  flex-shrink: 0;
}

.ticker-item .icon {
  font-size: 0.875rem;
}

.ticker-item .up {
  color: var(--success);
}

.ticker-item .down {
  color: var(--danger);
}

.ticker-item .info {
  color: var(--cyan);
}

.ticker-divider {
  color: rgba(255, 255, 255, 0.15);
  padding: 0 var(--space-sm);
  flex-shrink: 0;
}

@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================================
   QUOTE ESTIMATOR TOOL
   ============================================================ */
.quote-tool {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.quote-tool::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

.quote-tool-header {
  margin-bottom: var(--space-xl);
}

.quote-tool-header h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-xs);
}

.quote-tool-header p {
  font-size: 0.875rem;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label,
.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: block;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group select {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  color: var(--white);
  font-size: 0.9375rem;
  transition: border-color var(--transition-fast);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group input.valid {
  border-color: var(--success);
}

.form-group .input-icon {
  position: relative;
}

.form-group .input-icon i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--success);
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.form-group .input-icon i.show {
  opacity: 1;
}

/* Radio Toggle */
.radio-group {
  display: flex;
  gap: var(--space-sm);
}

.radio-option {
  flex: 1;
}

.radio-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-option label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1rem;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  text-align: center;
}

.radio-option input[type="radio"]:checked+label {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
}

/* Route Map Preview */
.route-preview {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: var(--space-lg);
  display: none;
}

.route-preview.visible {
  display: block;
}

.route-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.route-preview .route-distance {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Estimate Results Panel */
.estimate-results {
  background: var(--navy);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  display: none;
  animation: slideUp 0.4s ease;
}

.estimate-results.visible {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.estimate-price {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.estimate-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.estimate-detail {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
}

.estimate-detail i {
  color: var(--cyan);
  width: 20px;
  text-align: center;
}

.estimate-detail span {
  color: var(--white);
  font-family: var(--font-mono);
}

.fuel-note {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: rgba(0, 212, 255, 0.05);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.estimate-cta-wrap {
  text-align: center;
}

.estimate-cta-wrap .partner-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: var(--space-sm);
}

.transparency-note {
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.7;
}

/* ============================================================
   TRUST STATS BAR
   ============================================================ */
.trust-stats {
  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: var(--space-2xl) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   FMCSA VERIFICATION TOOL
   ============================================================ */
.fmcsa-tool {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.fmcsa-search {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.fmcsa-search input {
  flex: 1;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  color: var(--white);
  font-size: 0.9375rem;
}

.fmcsa-search input:focus {
  border-color: var(--cyan);
}

.fmcsa-result {
  display: none;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  animation: slideUp 0.4s ease;
}

.fmcsa-result.visible {
  display: block;
}

.fmcsa-result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fmcsa-result-header h4 {
  font-size: 1.25rem;
}

.fmcsa-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.fmcsa-status.authorized {
  background: rgba(34, 211, 163, 0.15);
  color: var(--success);
  border: 1px solid var(--success);
}

.fmcsa-status.not-authorized {
  background: rgba(255, 77, 106, 0.15);
  color: var(--danger);
  border: 1px solid var(--danger);
}

.fmcsa-badge {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.fmcsa-badge.broker {
  background: rgba(167, 139, 250, 0.15);
  color: var(--broker);
  border: 1px solid rgba(167, 139, 250, 0.4);
}

.fmcsa-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.fmcsa-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.fmcsa-field .label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.fmcsa-field .value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--white);
}

.fmcsa-cta-banner {
  margin-top: var(--space-lg);
  padding: var(--space-md) var(--space-lg);
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.fmcsa-cta-banner p {
  font-size: 0.875rem;
  color: var(--white);
  margin: 0;
}

/* --- Trust Score --- */
.fmcsa-trust-score {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
}

.fmcsa-trust-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.fmcsa-trust-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.fmcsa-trust-value {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
}

.fmcsa-trust-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
}

.fmcsa-trust-fill {
  height: 100%;
  border-radius: var(--border-radius-pill);
  transition: width 1s ease;
}

/* --- Section Titles --- */
.fmcsa-section-title {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(245, 166, 35, 0.15);
}

.fmcsa-section-title i {
  font-size: 0.8125rem;
}

/* --- Stats Grid (Crash & Inspections) --- */
.fmcsa-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.fmcsa-stat-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  overflow: hidden;
}

.fmcsa-stat-card.stat-danger {
  border-color: rgba(255, 77, 106, 0.25);
  background: rgba(255, 77, 106, 0.04);
}

.fmcsa-stat-card.stat-ok {
  border-color: rgba(34, 211, 163, 0.15);
}

.fmcsa-stat-header {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.fmcsa-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0;
  font-size: 0.8125rem;
}

.fmcsa-stat-row span {
  color: var(--muted);
}

.fmcsa-stat-row strong {
  font-family: var(--font-mono);
  color: var(--white);
}

/* --- Insurance Status Dot --- */
.insurance-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: var(--space-xs);
  vertical-align: middle;
}

.insurance-dot.adequate { background: var(--success); }
.insurance-dot.inadequate { background: var(--gold); }
.insurance-dot.none { background: var(--danger); }
.insurance-dot.not-required { background: var(--muted); }

.fmcsa-stat-header i {
  margin-right: var(--space-xs);
  color: var(--cyan);
  font-size: 0.75rem;
}

/* --- Out of Service Warning --- */
.fmcsa-oos-warning {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  background: rgba(255, 77, 106, 0.08);
  border: 1px solid rgba(255, 77, 106, 0.25);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
}

.fmcsa-oos-warning > i {
  font-size: 1.25rem;
  color: var(--danger);
  margin-top: 2px;
  flex-shrink: 0;
}

.fmcsa-oos-warning strong {
  color: var(--danger);
  display: block;
  margin-bottom: 4px;
  font-size: 0.875rem;
}

.fmcsa-oos-warning p {
  color: var(--muted);
  font-size: 0.8125rem;
  margin: 0;
  line-height: 1.5;
}

/* --- Trust Factor Breakdown --- */
.fmcsa-trust-breakdown {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
}

.fmcsa-factors {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs) var(--space-lg);
}

.fmcsa-factor {
  font-size: 0.8125rem;
  padding: 4px 0;
  color: var(--muted);
}

.fmcsa-factor.factor-good { color: var(--success); }
.fmcsa-factor.factor-bad { color: var(--danger); }
.fmcsa-factor.factor-warn { color: var(--gold); }
.fmcsa-factor.factor-neutral { color: var(--muted); }

/* --- Data Source --- */
.fmcsa-source {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: right;
}

.fmcsa-source small {
  font-size: 0.75rem;
  color: var(--muted);
  font-family: var(--font-mono);
}

.fmcsa-source i {
  margin-right: var(--space-xs);
  color: var(--cyan);
}

/* ============================================================
   ROUTE CARDS
   ============================================================ */
.route-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.route-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.route-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.route-card:hover .route-card-img img {
  transform: scale(1.05);
}

.route-card-body {
  padding: var(--space-lg);
}

.route-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-sm);
}

.route-card-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

.route-card-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

/* Route Type Tabs */
.route-type-tabs {
  display: flex;
  gap: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: var(--space-sm);
}

.route-type-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  color: var(--muted);
  transition: var(--transition-fast);
  text-decoration: none;
}

.route-type-tab:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.route-type-tab.active {
  color: var(--gold);
  background: rgba(245, 166, 35, 0.12);
}

/* Route Type Badge (on card) */
.route-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--border-radius-pill);
  z-index: 2;
}

.route-type-badge.type-city {
  background: rgba(0, 212, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.route-type-badge.type-state {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  opacity: 0.3;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--navy-mid);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.step-card .h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.125rem;
  font-weight: 900;
  color: white;
}

.step-card p {
  font-size: 0.875rem;
}

/* ============================================================
   BLOG / GUIDE CARDS
   ============================================================ */
.blog-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img {
  height: 180px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: var(--space-lg);
}

.blog-card-category {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cyan);
  margin-bottom: var(--space-sm);
}

.blog-card-title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-card-excerpt {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  padding: var(--space-sm) var(--space-lg) var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius);
  margin-bottom: var(--space-md);
  overflow: hidden;
  background: var(--navy-mid);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
  transition: color var(--transition-fast);
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  color: var(--gold);
}

.faq-question i {
  font-size: 0.75rem;
  color: var(--gold);
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============================================================
   SCAM WATCH TEASER
   ============================================================ */
.scam-teaser {
  background: linear-gradient(135deg, rgba(255, 77, 106, 0.08), rgba(255, 77, 106, 0.02));
  border: 1px solid rgba(255, 77, 106, 0.2);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.scam-teaser-icon {
  font-size: 3rem;
  color: var(--danger);
  flex-shrink: 0;
}

.scam-teaser h3 {
  color: var(--danger);
  margin-bottom: var(--space-sm);
}

.scam-teaser p {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
}

.footer-brand .nav-logo {
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 300px;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col .h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  padding: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================================
   CARRIER PROFILE PAGE
   ============================================================ */
.profile-hero {
  background: var(--navy-mid);
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 70px;
}

.profile-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
}

.profile-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: var(--space-sm);
  flex-shrink: 0;
}

.profile-info h1 {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.profile-meta {
  display: flex;
  gap: var(--space-lg);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: var(--space-md);
  flex-wrap: wrap;
}

.profile-badges {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* Broker Explainer Block */
.broker-explainer {
  background: var(--navy-mid);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.broker-explainer-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(167, 139, 250, 0.06);
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.broker-explainer-header i {
  color: var(--broker);
  font-size: 1.5rem;
}

.broker-explainer-header h3 {
  font-size: 1.25rem;
  color: var(--broker);
}

.broker-explainer-body {
  padding: var(--space-xl);
}

.broker-process-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.broker-step {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: var(--navy);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
}

.broker-step:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 28px;
  width: 2px;
  height: 12px;
  background: var(--broker);
  opacity: 0.3;
}

.broker-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.15);
  border: 1px solid var(--broker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--broker);
  flex-shrink: 0;
}

.broker-step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--white);
}

.broker-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

.broker-benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--white);
}

.broker-benefit i {
  color: var(--success);
  margin-top: 3px;
  flex-shrink: 0;
}

.broker-warning {
  padding: var(--space-md) var(--space-lg);
  background: rgba(245, 166, 35, 0.06);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: var(--border-radius);
  margin-top: var(--space-lg);
}

.broker-warning h4 {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.broker-warning p {
  font-size: 0.875rem;
  margin: 0;
}

/* Score Bars */
.score-section {
  margin-top: var(--space-2xl);
}

.score-item {
  margin-bottom: var(--space-lg);
}

.score-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
  font-size: 0.8125rem;
}

.score-item-header .label {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.score-item-header .value {
  font-family: var(--font-mono);
  color: var(--white);
}

.score-bar {
  width: 100%;
  height: 8px;
  background: var(--navy);
  border-radius: var(--border-radius-pill);
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: var(--border-radius-pill);
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  transition: width 1s ease;
}

/* Service Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* ============================================================
   PAGE HEADER (for inner pages)
   ============================================================ */
.page-header {
  background: var(--navy-mid);
  padding: var(--space-4xl) 0 var(--space-2xl);
  margin-top: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-header h1 {
  margin-bottom: var(--space-sm);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.breadcrumbs a {
  color: var(--muted);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .separator,
.breadcrumbs .breadcrumb-sep {
  color: rgba(255, 255, 255, 0.25);
  margin: 0 var(--space-xs);
  font-size: 0.875rem;
}

.breadcrumbs li:last-child span:not(.breadcrumb-sep) {
  color: var(--white);
}

/* ============================================================
   GENERAL FORM COMPONENTS
   ============================================================ */

/* Form Card — reusable card wrapper for standalone forms */
.form-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
}

/* Form Row — two-column grid inside forms */
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Textarea (global, not just .contact-form) */
.form-group textarea,
.form-card textarea {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.form-group textarea:focus,
.form-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
  outline: none;
}

/* Button Block */
.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

/* Contact Info Card */
.contact-info-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-item i {
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.contact-info-item a {
  color: var(--cyan);
}

.contact-info-item a:hover {
  color: var(--gold);
}

/* CTA Card */
.cta-card {
  background: var(--navy-mid);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  text-align: center;
}

.cta-card h4 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.cta-card p {
  color: var(--muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-lg);
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission h2 {
  margin-bottom: var(--space-lg);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

.value-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.value-card h4 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

.partner-disclosure {
  background: var(--navy-mid);
  border: 1px solid rgba(245, 166, 35, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
}

.partner-disclosure h2 {
  margin-bottom: var(--space-lg);
}

.partner-disclosure p {
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ============================================================
   GUIDES PAGE
   ============================================================ */
.featured-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.featured-guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-guide-body {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-guide-body h2 {
  margin: var(--space-md) 0;
}

.featured-guide-body p {
  color: var(--muted);
  margin-bottom: var(--space-xl);
}

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

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SCAM WATCH PAGE EXTRAS
   ============================================================ */
.scam-alert-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 77, 106, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.scam-alert-card h4 {
  margin: var(--space-md) 0 var(--space-sm);
}

.scam-alert-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

.scam-alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scam-date {
  font-size: 0.75rem;
  color: var(--muted);
}

.red-flags-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.red-flag-item {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 77, 106, 0.1);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.red-flag-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 77, 106, 0.15);
  color: var(--danger);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.red-flag-item h4 {
  margin-bottom: var(--space-sm);
}

.red-flag-item p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ============================================================
   CARRIER PROFILE PAGE
   ============================================================ */
.profile-identity {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.carrier-logo-lg {
  width: 140px;
  height: auto;
  border-radius: var(--border-radius);
  background: var(--navy-mid);
  padding: var(--space-md);
}

.profile-meta {
  display: flex;
  gap: var(--space-lg);
  color: var(--muted);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.profile-scores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.profile-score-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.profile-score-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-sm);
}

.profile-score-value small {
  font-size: 0.875rem;
  color: var(--muted);
}

.profile-score-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: var(--space-md);
}

.bar-wrap {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan));
  border-radius: 3px;
  transition: width 0.6s ease;
}

.profile-about,
.profile-broker-explainer {
  max-width: 800px;
}

.profile-about h2,
.profile-broker-explainer h3 {
  margin-bottom: var(--space-lg);
}

.profile-about p,
.profile-broker-explainer p {
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.reviews-list {
  display: grid;
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.review-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  border-color: rgba(245, 166, 35, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.review-card-inner {
  padding: var(--space-xl);
}

.review-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.star-rating i {
  color: var(--gold);
  font-size: 0.875rem;
}

.star-rating--lg i {
  font-size: 1.35rem;
}

.review-author {
  font-weight: 700;
  font-size: 0.95rem;
}

.review-date {
  color: var(--muted);
  font-size: 0.775rem;
}

.review-title {
  margin-bottom: var(--space-sm);
  color: var(--gold);
  font-style: italic;
  font-weight: 600;
}

.review-body {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.925rem;
}

/* ── Profile Inline Rating ───────────────────────────────── */
.profile-inline-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-count-link {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
  font-weight: 400;
}

.review-count-link:hover {
  color: var(--gold);
}

.profile-header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ── Review Avatar ───────────────────────────────────────── */
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e8942e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--navy-deep);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 166, 35, 0.25);
}

.review-header-info {
  flex: 1;
  min-width: 0;
}

.review-header-top {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.review-header-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-route-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.review-route-badge i {
  margin-right: 3px;
  font-size: 0.6rem;
}

.review-meta-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.review-meta-tag {
  font-size: 0.75rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 6px;
}

.review-meta-tag i {
  margin-right: 4px;
  color: var(--gold);
}

.review-verified-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px var(--space-xl);
  background: rgba(34, 197, 94, 0.06);
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  font-size: 0.75rem;
  font-weight: 600;
  color: #4ade80;
}

.review-verified-badge i {
  font-size: 0.7rem;
}

/* ── Review Snapshot Card ────────────────────────────────── */
.review-snapshot {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  padding: var(--space-xl) var(--space-2xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
}

.review-snapshot-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.review-snapshot-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.review-snapshot-count {
  font-size: 0.775rem;
  color: var(--muted);
  white-space: nowrap;
}

.review-snapshot-bars {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.snapshot-bar-row {
  display: grid;
  grid-template-columns: 50px 1fr 28px;
  align-items: center;
  gap: 8px;
}

.snapshot-bar-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.snapshot-bar-label i {
  font-size: 0.6rem;
  color: var(--gold);
  margin-left: 2px;
}

.snapshot-bar-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.snapshot-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #e8942e);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.snapshot-bar-count {
  font-size: 0.75rem;
  color: var(--muted);
  text-align: right;
  font-weight: 600;
}

.review-snapshot-cta {
  display: flex;
  align-items: center;
}

/* ── Empty Reviews State ─────────────────────────────────── */
.empty-reviews {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  max-width: 500px;
  margin: 0 auto;
}

.empty-reviews-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
}

.empty-reviews-icon i {
  font-size: 2rem;
  color: var(--gold);
}

.empty-reviews h3 {
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

.empty-reviews p {
  color: var(--muted);
  line-height: 1.6;
}

/* ── Star Picker ─────────────────────────────────────────── */
.star-picker {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: var(--space-sm) 0;
}

.star-picker i {
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.star-picker i:hover {
  transform: scale(1.25);
  filter: drop-shadow(0 0 6px rgba(245, 166, 35, 0.5));
}

.star-picker-label {
  margin-left: var(--space-md);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--muted);
  transition: color 0.2s;
}

/* ── Review Form Section ─────────────────────────────────── */
.review-form-section {
  margin-top: var(--space-2xl);
  padding: var(--space-2xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.review-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8942e, var(--gold));
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.review-form-header {
  margin-bottom: var(--space-xl);
}

.review-form-header h3 {
  margin-bottom: var(--space-xs);
}

.review-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.review-form-footer {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

#review-form-status {
  margin-top: var(--space-lg);
}

/* ── Alerts ──────────────────────────────────────────────── */
.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #4ade80;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

/* ── Inline Spinner ──────────────────────────────────────── */
.spinner-inline {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(245, 166, 35, 0.3);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

/* ── Carrier Contact Bar ─────────────────────────────────── */
.carrier-contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-xl);
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-bar-item i {
  color: var(--gold);
  font-size: 0.85rem;
  width: 20px;
  text-align: center;
}

.contact-bar-item a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.contact-bar-item a:hover {
  color: var(--gold);
}

/* ── Review Tags (old compat) ────────────────────────────── */
.review-tags {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .review-snapshot {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-xl);
  }

  .review-snapshot-left {
    flex-direction: row;
    gap: var(--space-md);
  }

  .review-snapshot-cta {
    justify-content: center;
  }

  .snapshot-bar-row {
    grid-template-columns: 42px 1fr 24px;
  }

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

  .review-form-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .profile-header-actions {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .profile-identity {
    flex-direction: column;
    text-align: center;
  }

  .profile-meta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .profile-inline-rating {
    justify-content: center;
  }

  .profile-scores-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carrier-contact-bar {
    justify-content: center;
  }

  .review-header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

@media (max-width: 576px) {
  .profile-scores-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FMCSA VERIFY PAGE
   ============================================================ */
.fmcsa-page-intro {
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.fmcsa-page-intro p {
  color: var(--muted);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.fmcsa-checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.fmcsa-check-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.fmcsa-check-card i {
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: var(--space-md);
}

.fmcsa-check-card h4 {
  margin-bottom: var(--space-sm);
}

.fmcsa-check-card p {
  color: var(--muted);
  font-size: 0.875rem;
}

/* ============================================================
   CONTACT / FORMS (legacy .contact-form support)
   ============================================================ */
.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

.contact-form textarea {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 0.875rem 1rem;
  color: var(--white);
  font-size: 0.9375rem;
  width: 100%;
  min-height: 150px;
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.contact-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

/* ============================================================
   SCAM WATCH PAGE
   ============================================================ */
.red-flag-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 77, 106, 0.15);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  transition: transform var(--transition-base);
}

.red-flag-card:hover {
  transform: translateY(-2px);
}

.red-flag-card .flag-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 77, 106, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.red-flag-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  margin-bottom: var(--space-sm);
  font-size: 1rem;
}

.red-flag-card p {
  font-size: 0.875rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-mission img {
  border-radius: var(--border-radius-lg);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
}

.team-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto var(--space-md);
  border: 2px solid var(--gold);
}

.team-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
  margin-bottom: 2px;
}

.team-card .role {
  font-size: 0.8125rem;
  color: var(--gold);
  font-family: var(--font-mono);
}

/* BVC .bvc-banner base styling is in components.css */

.bvc-banner-title {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.bvc-banner-title i {
  color: var(--cyan);
  font-size: 1.25rem;
}

.bvc-banner-title h3 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  font-size: 1.125rem;
  margin: 0;
}

.bvc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.bvc-col {
  padding: var(--space-xl);
  border-radius: var(--border-radius-lg);
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.bvc-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.broker-col h4 {
  color: var(--broker);
}

.carrier-col h4 {
  color: var(--carrier);
}

.bvc-col p {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
  line-height: 1.7;
  color: var(--muted);
}

.bvc-pros {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.bvc-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--white);
}

.bvc-item .fa-check {
  color: var(--success);
}

.bvc-item .fa-triangle-exclamation {
  color: var(--gold);
}

.bvc-banner-note {
  font-size: 0.8125rem;
  text-align: center;
  margin-top: var(--space-xl);
  margin-bottom: 0;
  color: var(--muted);
  font-style: italic;
}

.bvc-toggle-mobile {
  display: none;
  width: 100%;
  padding: var(--space-md) var(--space-lg);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  margin-bottom: var(--space-md);
}

.bvc-toggle-mobile span {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================================
   STAR RATING
   ============================================================ */
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star-rating i {
  color: var(--gold);
  font-size: 0.875rem;
}

.star-rating .count {
  margin-left: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--muted);
}

/* ============================================================
   ADDITIONAL BADGES
   ============================================================ */
.badge-warning {
  background: rgba(255, 77, 106, 0.15);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.3);
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.badge-verified {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

/* Carrier Card Description */
.carrier-card-description {
  font-size: 0.875rem;
  color: var(--muted);
  font-style: italic;
  margin: var(--space-md) 0;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

/* ============================================================
   ARTICLE / GUIDE DETAIL PAGE
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-3xl);
  align-items: start;
}

.article-header {
  margin-bottom: var(--space-2xl);
}

.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--space-2xl);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--muted);
}

.article-meta i {
  color: var(--gold);
  margin-right: 4px;
}

.article-meta .article-category {
  background: rgba(0, 212, 255, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 3px 12px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-meta .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.5;
}

.article-header h1 {
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.article-header .article-excerpt {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 0;
  border-left: 3px solid var(--gold);
  padding-left: var(--space-lg);
}

/* --- Article Body: Dynamic Content Styling --- */
.article-body {
  line-height: 1.8;
  font-size: 1.0625rem;
  color: var(--white);
}

.article-body h2 {
  font-size: 1.5rem;
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(245, 166, 35, 0.2);
  color: var(--white);
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--white);
  padding-left: var(--space-md);
  border-left: 3px solid var(--gold);
}

.article-body h4 {
  font-size: 1.125rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  color: var(--white);
}

.article-body h5,
.article-body h6 {
  font-size: 1rem;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-body p {
  margin-bottom: var(--space-lg);
  color: var(--white);
  opacity: 0.88;
}

.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.article-body a:hover {
  color: var(--cyan);
}

.article-body strong {
  color: var(--white);
  font-weight: 700;
}

/* Lists */
.article-body ul,
.article-body ol {
  margin-bottom: var(--space-xl);
  padding-left: 0;
  list-style: none;
}

.article-body ul li,
.article-body ol li {
  position: relative;
  padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-2xl);
  margin-bottom: var(--space-xs);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius);
  border-left: 3px solid rgba(245, 166, 35, 0.3);
  color: var(--white);
  opacity: 0.92;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.article-body ul li:hover,
.article-body ol li:hover {
  background: rgba(245, 166, 35, 0.04);
  border-left-color: var(--gold);
}

.article-body ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 0.7rem;
}

.article-body ol {
  counter-reset: article-counter;
}

.article-body ol li::before {
  counter-increment: article-counter;
  content: counter(article-counter);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

/* Nested lists */
.article-body ul ul,
.article-body ol ol,
.article-body ul ol,
.article-body ol ul {
  margin-top: var(--space-sm);
  margin-bottom: 0;
}

.article-body ul ul li,
.article-body ol ul li {
  border-left-color: rgba(0, 212, 255, 0.3);
}

.article-body ul ul li::before {
  content: '\f105';
  color: var(--cyan);
}

/* Tables */
.article-body .table-wrapper {
  overflow-x: auto;
  margin-bottom: var(--space-xl);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-overflow-scrolling: touch;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 500px;
}

.article-body thead {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(0, 212, 255, 0.08));
  position: sticky;
  top: 0;
  z-index: 1;
}

.article-body thead th {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 2px solid rgba(245, 166, 35, 0.2);
  white-space: nowrap;
}

.article-body tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.article-body tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.article-body tbody tr:hover {
  background: rgba(245, 166, 35, 0.04);
}

.article-body tbody td {
  padding: var(--space-md) var(--space-lg);
  color: var(--white);
  opacity: 0.9;
  vertical-align: top;
}

.article-body tbody td:first-child {
  font-weight: 600;
  color: var(--white);
}

/* Blockquotes */
.article-body blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(245, 166, 35, 0.04);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--white);
  position: relative;
}

.article-body blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gold);
  position: absolute;
  top: -10px;
  left: 12px;
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.article-body blockquote p {
  margin-bottom: 0;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

/* Code */
.article-body code {
  font-family: var(--font-mono);
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.875em;
}

.article-body pre {
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius);
  padding: var(--space-xl);
  overflow-x: auto;
  margin-bottom: var(--space-xl);
  -webkit-overflow-scrolling: touch;
}

.article-body pre code {
  background: none;
  padding: 0;
  color: var(--white);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Images + Figures */
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin: var(--space-lg) 0;
}

.article-body figure {
  margin: var(--space-xl) 0;
}

.article-body figcaption {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
  font-style: italic;
  margin-top: var(--space-sm);
}

/* Horizontal Rules */
.article-body hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--cyan), transparent);
  margin: var(--space-3xl) 0;
  opacity: 0.3;
}

/* Tags */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.article-tag {
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: all var(--transition-fast);
}

.article-tag:hover {
  background: rgba(245, 166, 35, 0.08);
  border-color: rgba(245, 166, 35, 0.3);
  color: var(--gold);
}

/* Author Box */
.author-box {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl);
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  margin-top: var(--space-2xl);
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.author-info p {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0;
}

/* --- Sidebar --- */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.sidebar-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.sidebar-card h4 {
  font-size: 0.9375rem;
  color: var(--white);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid rgba(245, 166, 35, 0.15);
}

/* Table of Contents */
.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-list li {
  margin-bottom: 2px;
}

.toc-list a {
  display: block;
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
  color: var(--muted);
  border-left: 2px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(245, 166, 35, 0.04);
}

.toc-list .toc-h3 {
  padding-left: var(--space-xl);
  font-size: 0.75rem;
}

/* Sidebar CTA */
.sidebar-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.08), rgba(0, 212, 255, 0.05));
  border-color: rgba(245, 166, 35, 0.2);
}

.sidebar-cta .cta-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: var(--space-md);
}

.sidebar-cta p {
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

/* Related Posts */
.related-post-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.related-post-item:last-child {
  border-bottom: none;
}

.related-post-item img {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: var(--border-radius);
  flex-shrink: 0;
}

.related-post-item a {
  font-size: 0.8125rem;
  color: var(--white);
  line-height: 1.4;
  transition: color var(--transition-fast);
}

.related-post-item a:hover {
  color: var(--gold);
}

/* ============================================================
   ROUTE DETAIL PAGE
   ============================================================ */
.route-hero-bar {
  background: linear-gradient(135deg, var(--navy-mid), rgba(245, 166, 35, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.route-hero-bar .route-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.route-hero-bar .route-title span {
  color: var(--gold);
}

.route-hero-bar .route-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0;
}

/* Route Stats Grid */
.route-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.route-stat-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.route-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 166, 35, 0.2);
}

.route-stat-card .stat-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: var(--space-sm);
}

.route-stat-card .stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: var(--space-xs);
  line-height: 1.2;
}

.route-stat-card .stat-label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Demand Trend Badge */
.demand-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.demand-badge.up {
  background: rgba(34, 211, 163, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 211, 163, 0.3);
}

.demand-badge.down {
  background: rgba(255, 77, 106, 0.1);
  color: var(--danger);
  border: 1px solid rgba(255, 77, 106, 0.3);
}

.demand-badge.stable {
  background: rgba(136, 150, 176, 0.1);
  color: var(--muted);
  border: 1px solid rgba(136, 150, 176, 0.3);
}

/* Monthly Pricing Table */
.pricing-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: var(--space-2xl);
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.pricing-table thead {
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.12), rgba(0, 212, 255, 0.08));
}

.pricing-table thead th {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  border-bottom: 2px solid rgba(245, 166, 35, 0.2);
}

.pricing-table thead th:first-child {
  text-align: left;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--transition-fast);
}

.pricing-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table tbody tr:hover {
  background: rgba(245, 166, 35, 0.04);
}

.pricing-table tbody td {
  padding: var(--space-md) var(--space-lg);
  text-align: center;
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
}

.pricing-table tbody td:first-child {
  text-align: left;
  font-family: var(--font-body);
  font-weight: 600;
}

.pricing-table .price-peak {
  color: var(--gold);
  font-weight: 700;
}

.pricing-table .price-low {
  color: var(--success);
}

/* Interstate Badges */
.interstate-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.interstate-badge {
  background: rgba(0, 212, 255, 0.08);
  color: var(--cyan);
  border: 1px solid rgba(0, 212, 255, 0.2);
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
}

.interstate-badge i {
  color: var(--cyan);
  font-size: 0.75rem;
}

/* Route Info Cards */
.route-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.route-info-card {
  background: var(--navy-mid);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
}

.route-info-card .h4 {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.route-info-card h4 i {
  color: var(--gold);
}

.route-info-card p {
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.7;
}

/* Sidebar Route Facts */
.route-facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.route-facts-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.875rem;
}

.route-facts-list li:last-child {
  border-bottom: none;
}

.route-facts-list .fact-label {
  color: var(--muted);
}

.route-facts-list .fact-value {
  font-family: var(--font-mono);
  color: var(--white);
  font-weight: 600;
}

/* ============================================================
   RESPONSIVE: ARTICLE & ROUTE DETAIL
   ============================================================ */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .article-sidebar .sidebar-card {
    flex: 1;
    min-width: 250px;
  }

  .route-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .route-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .article-body {
    font-size: 1rem;
  }

  .article-body h2 {
    font-size: 1.25rem;
  }

  .article-body h3 {
    font-size: 1.125rem;
  }

  .article-body ul li,
  .article-body ol li {
    padding-left: var(--space-2xl);
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .article-sidebar {
    flex-direction: column;
  }

  .article-sidebar .sidebar-card {
    min-width: 100%;
  }

  .route-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .route-stat-card .stat-value {
    font-size: 1.25rem;
  }

  .article-meta {
    gap: var(--space-sm);
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.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;
}

.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.mt-0 {
  margin-top: 0;
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.pt-0 {
  padding-top: 0;
}

.pb-0 {
  padding-bottom: 0;
}

/* ── Keyframe Animations ─────────────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}