/* ============================================================
   COMMERCIAL VEHICLE WRAPS — page-specific styles
   Loaded after styles.css + truck-styles.css
   ============================================================ */

/* ---- Coverage option cards (static, not tabs) ---- */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.coverage-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: all var(--ease);
  display: flex;
  flex-direction: column;
}
.coverage-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px -10px rgba(3,105,161,.18);
}
.coverage-card.featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 8px 24px -10px rgba(3,105,161,.2);
  position: relative;
}
.coverage-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -1px; right: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--blue);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 6px 6px;
}
.coverage-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.coverage-price {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--blue);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.coverage-card > p {
  font-size: 0.94rem;
  line-height: 1.55;
  flex: 1;
}
.coverage-best {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}
.coverage-best-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.coverage-best p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}
@media (max-width: 860px) { .coverage-grid { grid-template-columns: 1fr; } }

/* ---- Compact vehicle link grid ---- */
.vlink-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}
.vlink {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  text-decoration: none;
  color: var(--text);
  transition: all var(--ease);
  min-width: 0;
}
.vlink:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -8px rgba(3,105,161,.15);
  color: var(--text);
}
.vlink:hover .vlink-arr { color: var(--blue); transform: translateX(3px); }
.vlink-icon {
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(3,105,161,.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.vlink-text { flex: 1; min-width: 0; }
.vlink-text h3 { font-size: 0.95rem; margin: 0 0 0.15rem; }
.vlink-text p { font-size: 0.78rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vlink-arr {
  flex-shrink: 0;
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--ease);
}
@media (max-width: 860px) { .vlink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vlink-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Compact industry grid ---- */
.ind-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.ind-mini {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  transition: all var(--ease);
}
.ind-mini:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
}
.ind-mini-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(3,105,161,.08);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.75rem;
}
.ind-mini h3 { font-size: 0.88rem; margin-bottom: 0.3rem; }
.ind-mini p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; }
@media (max-width: 960px) { .ind-mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ind-mini-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- Fleet callout ---- */
.fleet-callout {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.fleet-callout::before {
  content: '';
  position: absolute;
  top: -100px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,.18), transparent 60%);
  pointer-events: none;
}
.fleet-callout > * { position: relative; z-index: 1; }
.fleet-callout h2 { color: white; font-size: 1.5rem; margin-bottom: 0.85rem; }
.fleet-callout p { color: rgba(255,255,255,.82); font-size: 0.98rem; line-height: 1.6; max-width: 640px; }
.fleet-callout p + p { margin-top: 0.75rem; }
@media (max-width: 860px) {
  .fleet-callout { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem; }
}

/* ---- Dark stat cards (inline with why-wraps section) ---- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.stat-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.stat-card .n {
  font-family: 'Outfit', sans-serif;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--blue-light);
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat-card .l {
  margin-top: 0.6rem;
  color: rgba(255,255,255,.82);
  font-size: 0.88rem;
  line-height: 1.45;
}
@media (max-width: 860px) { .stat-row { grid-template-columns: repeat(2, 1fr); } }

/* ---- Horizontal gallery with scroll ---- */
.gallery-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 6px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.gallery-scroll .gallery-item {
  flex: 0 0 280px;
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
}
.gallery-scroll .gallery-item.wide { flex: 0 0 420px; }

/* ---- Conditional form field ---- */
.form-field.hidden { display: none; }
