/* ============================================================
   STYLE.CSS — Capital Upfitters Phase 1
   Global Components: Nav, Footer, Hero, Cards, Forms
   ============================================================ */

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-nav-bg);
  height: var(--nav-height);
  border-bottom: 1px solid var(--color-border-dark);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  line-height: 1;
}
.nav-logo-text span {
  color: var(--color-accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-nav-text);
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 100%;
  height: 1px;
  background: #fff;
  border-radius: 1px;
  transition: right var(--transition-base);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { right: 0; }
.nav-links a.active::after { right: 0; }

/* ── Nav dropdown ──────────────────────────────────────── */
.nav-item { position: relative; list-style: none; }
.nav-item > a { display: flex; align-items: center; gap: 4px; }
.nav-chevron { width: 10px; height: 10px; transition: transform 200ms ease; flex-shrink: 0; margin-top: 1px; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: #1a2035;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 8px;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 200;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 8px 12px 4px;
  display: block;
}
.nav-dropdown a {
  display: block;
  padding: 7px 12px;
  border-radius: 8px;
  color: rgba(255,255,255,0.72);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 120ms, color 120ms;
  letter-spacing: 0.02em;
}
.nav-dropdown a:hover { background: rgba(255,255,255,0.09); color: #fff; }
.nav-dropdown a::after { display: none !important; }
.nav-dropdown-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 4px 8px; }

/* ── Floating quote CTA ──────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}
.float-cta.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.float-cta-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(32,48,85,0.55), 0 2px 8px rgba(0,0,0,0.25);
  transition: transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}
.float-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(32,48,85,0.65); }
@media (max-width: 480px) { .float-cta { bottom: 16px; right: 16px; } .float-cta-btn { padding: 12px 18px; font-size: 12px; } }
@media print { .float-cta { display: none; } }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.nav-cta {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1.5rem;
  background: var(--color-accent);
  color: #fff;
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
}
.nav-portal-link {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-inverse-muted);
  transition: color var(--transition-fast);
}
.nav-portal-link:hover { color: #fff; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-nav-bg);
  z-index: 200;
  flex-direction: column;
  padding: var(--space-8);
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: var(--space-2);
  margin-bottom: var(--space-8);
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.nav-mobile-links a {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid var(--color-border-dark);
  padding-bottom: var(--space-6);
  transition: color var(--transition-fast);
}
.nav-mobile-links a:hover { color: var(--color-text-inverse-muted); }
.nav-mobile-actions {
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

@media (max-width: 900px) {
  .nav-links, .nav-portal-link { display: none; }
  .nav-hamburger { display: flex; }
}

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.announce-bar {
  background: var(--color-accent);
  color: #fff;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
}
.announce-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.announce-close {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  /* Compact hero: ~30% shorter than full viewport so both CTAs and
     the proof strip sit above the fold on standard 900px desktops. */
  min-height: clamp(520px, 68vh, 680px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-surface-dark);
  padding: var(--space-10) 0 var(--space-12);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.45);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1.03); }
.hero-overlay {
  position: absolute;
  inset: 0;
  /* 70% text side → 10% right edge */
  background: linear-gradient(
    to right,
    rgba(17,24,39,0.70) 0%,
    rgba(17,24,39,0.50) 35%,
    rgba(17,24,39,0.20) 65%,
    rgba(17,24,39,0.10) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  /* Cap content column so the right half stays available for the
     background video / imagery instead of being covered by the h1. */
  max-width: 62%;
}
@media (max-width: 900px) {
  .hero-content { max-width: 100%; }
}
.hero-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hero-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.4);
}
.hero h1 {
  color: #fff;
  /* Down from --text-hero (96px). Fits two lines on desktop and
     keeps the Apple-style two-color emphasis without dominating the frame. */
  font-size: clamp(2.25rem, 4.6vw, 3.75rem);
  line-height: 1.05;
  margin-bottom: var(--space-5);
  max-width: 720px;
}
.hero h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.55);
}
.hero-sub {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  margin-bottom: var(--space-7);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
}
/* On the dark video hero, the outline/ghost secondary CTA needs a visible
   affordance. Give it a soft white border and light text so it reads as a
   button without competing with the primary Signal Blue CTA. */
.hero-ctas .btn-outline,
.hero-ctas .btn-ghost {
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.32);
  background: transparent;
}
.hero-ctas .btn-outline:hover,
.hero-ctas .btn-ghost:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  text-decoration: none;
}
.hero-stats {
  position: absolute;
  bottom: var(--space-6);
  right: 0;
  display: flex;
  gap: var(--space-6);
  padding: var(--space-4) var(--space-6);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.hero-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: var(--space-1);
}
@media (max-width: 900px) {
  /* On tablets/mobile, the video's right-heavy composition no longer works
     under a narrow column of copy — dim the whole background so text stays
     readable regardless of frame content. */
  .hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(17,24,39,0.60) 0%,
      rgba(17,24,39,0.55) 60%,
      rgba(17,24,39,0.70) 100%
    );
  }
}
@media (max-width: 680px) {
  .hero {
    min-height: clamp(480px, 78svh, 640px);
    padding: var(--space-8) 0 var(--space-10);
  }
  .hero-stats { display: none; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-ctas .btn { width: 100%; text-align: center; justify-content: center; }
}

/* ── VEHICLE SELECTOR ──────────────────────────────────── */
.vehicle-selector-section {
  background: #fff;
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.vehicle-selector-inner {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}
.vehicle-selector-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.vehicle-selector-fields {
  display: flex;
  gap: var(--space-3);
  flex: 1;
  flex-wrap: wrap;
}
.vs-select {
  flex: 1;
  min-width: 120px;
  padding: var(--space-4) var(--space-5);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text);
  background: var(--color-surface);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.vs-select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(32,48,85,0.12);
}
.vs-select:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.vs-btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-7);
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius-pill);
  cursor: pointer;
  white-space: nowrap;
  transition: background 140ms ease, transform 140ms ease;
  flex-shrink: 0;
}
.vs-btn:hover { background: #162240; transform: translateY(-1px); }
.vs-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.vehicle-selector-hint {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.vs-results {
  margin-top: var(--space-6);
  display: none;
}
.vs-results.visible { display: block; }
.vs-results-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.vs-service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.vs-chip {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
  transition: all 150ms ease;
}
.vs-chip:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: translateY(-1px);
}
.vs-chip-icon { flex-shrink: 0; }
@media (max-width: 768px) {
  .vehicle-selector-inner { flex-direction: column; align-items: stretch; }
  .vehicle-selector-label { text-align: center; }
  .vehicle-selector-fields { flex-direction: column; }
  .vs-btn { width: 100%; justify-content: center; }
}

/* ── AUDIENCE FUNNEL CARDS ──────────────────────────────── */
.funnel-section {
  padding: var(--space-20) 0;
  background: var(--color-surface-dark);
  position: relative;
}
.funnel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin-top: var(--space-12);
}
@media (max-width: 1100px) {
  .funnel-grid { grid-template-columns: repeat(2, 1fr); }
}
.funnel-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  cursor: pointer;
  transition: transform var(--transition-base);
}
.funnel-card:hover { transform: translateY(-4px); }
.funnel-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.5);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}
.funnel-card:hover .funnel-card-bg {
  transform: scale(1.05);
  filter: brightness(0.65);
}
.funnel-card-body {
  position: relative;
  z-index: 2;
  padding: var(--space-8);
  background: linear-gradient(to top, rgba(17,24,39,0.95) 0%, transparent 100%);
}
.funnel-card-eyebrow {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: var(--space-2);
}
.funnel-card-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-3);
  line-height: 1.1;
}
.funnel-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin-bottom: var(--space-5);
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.funnel-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: var(--radius-pill);
  transition: all var(--transition-base);
}
.funnel-card-link:hover {
  background: #fff;
  color: var(--color-text);
  border-color: #fff;
}
@media (max-width: 900px) {
  .funnel-grid { grid-template-columns: 1fr; }
  .funnel-card { min-height: 320px; }
}

/* ── SERVICE CARDS ──────────────────────────────────────── */
.service-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.service-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.65);
  transition: transform var(--transition-slow), filter var(--transition-slow);
}
.service-card:hover .service-card-img {
  transform: scale(1.05);
  filter: brightness(0.8);
}
.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.9) 0%, rgba(17,24,39,0.1) 60%, transparent 100%);
}
.service-card-body {
  position: relative;
  z-index: 2;
  padding: var(--space-6);
}
.service-card-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-1);
}
.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.service-card-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.72);
  line-height: 1.55;
  margin-bottom: var(--space-3);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.service-card-price {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-3);
}
.service-card-price strong {
  color: rgba(255,255,255,0.9);
  font-size: var(--text-sm);
}
.service-card-arrow {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.service-card:hover .service-card-arrow { color: #fff; }

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  background: var(--color-surface-dark);
  border-top: 1px solid var(--color-border-dark);
  border-bottom: 1px solid var(--color-border-dark);
  padding: var(--space-5) 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  flex-shrink: 0;
}
.trust-item-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
}
.trust-item-text span {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  font-weight: 400;
}

/* ── STATS STRIP ────────────────────────────────────────── */
.stats-strip {
  background: var(--color-accent);
  padding: var(--space-16) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 6vw, var(--text-8xl));
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-top: var(--space-2);
  display: block;
}
@media (max-width: 700px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WHY SECTION ────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  margin-top: var(--space-8);
}
.why-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.why-item-num {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-border);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.why-item-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.why-item-text p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}
.why-visual {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.why-visual-badge {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  background: var(--color-surface-dark);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.why-visual-badge-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.why-visual-badge-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { order: -1; }
}

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}
.testimonial-quote {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.7;
  flex: 1;
}
.testimonial-quote::before { content: '\201C'; }
.testimonial-quote::after  { content: '\201D'; }
.testimonial-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text);
}
.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}
@media (max-width: 860px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── CTA BANNER ─────────────────────────────────────────── */
.cta-banner {
  background: var(--color-surface-dark);
  padding: var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(32,48,85,0.4) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-inline: auto;
}
.cta-banner h2 { color: #fff; margin-bottom: var(--space-4); }
.cta-banner p { color: rgba(255,255,255,0.65); margin-bottom: var(--space-8); font-size: var(--text-lg); }
.cta-banner-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.footer {
  background: var(--color-footer-bg);
  border-top: 2px solid var(--color-divider);
  padding: var(--space-16) 0 var(--space-8);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  text-decoration: none;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}
.footer-brand-name span { color: var(--color-accent); }
.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-footer-text);
  line-height: 1.7;
  max-width: 280px;
  font-family: var(--font-body);
}
.footer-contact {
  margin-top: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-footer-text);
  transition: color var(--transition-fast);
}
.footer-contact-item:hover { color: #fff; }
.footer-contact-item svg { flex-shrink: 0; color: var(--color-accent); }
.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: var(--space-5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-footer-text);
  transition: color var(--transition-fast);
  line-height: 1.4;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-copyright {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-legal {
  display: flex;
  gap: var(--space-6);
}
.footer-legal a {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  transition: color var(--transition-fast);
}
.footer-legal a:hover { color: var(--color-footer-text); }
.footer-social {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-5);
}
.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--color-border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-footer-text);
  transition: all var(--transition-fast);
}
.footer-social a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.footer-pplx {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.footer-pplx a {
  color: var(--color-text-faint);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}
.footer-pplx a:hover { color: var(--color-footer-text); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── BREADCRUMB ─────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.45);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: var(--space-6);
}
.breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.3; }
.breadcrumb span { color: rgba(255,255,255,0.7); }

/* ── PAGE HERO (sub-pages) ──────────────────────────────── */
.page-hero {
  position: relative;
  padding: var(--space-24) 0 var(--space-20);
  background: var(--color-surface-dark);
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,24,39,0.92) 0%, rgba(32,48,85,0.7) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: var(--space-5);
  max-width: 700px;
}
.page-hero h1 em { font-style: normal; color: rgba(255,255,255,0.45); }
.page-hero-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.65);
  max-width: 550px;
  line-height: 1.7;
  font-family: var(--font-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: var(--space-8);
}

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-filters {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}
.gallery-filter-btn {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.gallery-count {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-left: auto;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.gallery-grid {
  columns: 3;
  column-gap: var(--space-4);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-slow);
  filter: brightness(0.85);
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1);
}
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-5);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.gallery-item[data-cat] { transition: opacity var(--transition-base); }
.gallery-item.hidden { display: none; }
@media (max-width: 860px) { .gallery-grid { columns: 2; } }
@media (max-width: 560px) { .gallery-grid { columns: 1; } }

/* ── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 1100px;
  width: 100%;
}
.lightbox img {
  width: 100%;
  border-radius: var(--radius-xl);
  display: block;
}
.lightbox-close {
  position: absolute;
  top: -var(--space-10);
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}
.lightbox-close:hover { color: #fff; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lightbox-nav:hover { background: var(--color-accent); border-color: var(--color-accent); }
.lightbox-prev { left: -var(--space-14); }
.lightbox-next { right: -var(--space-14); }
.lightbox-caption {
  text-align: center;
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ── FORM ───────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-label {
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.875rem var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-fast);
  outline: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* ── SCROLL REVEAL ENGINE ───────────────────────────────── */
/* (handled by cro.js IntersectionObserver) */

/* ── STICKY MOBILE CTA BAR ──────────────────────────────── */
.sticky-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-surface-dark);
  border-top: 1px solid var(--color-border-dark);
  padding: var(--space-3) var(--space-4);
  gap: var(--space-3);
}
@media (max-width: 680px) {
  .sticky-cta-bar { display: flex; }
  .sticky-cta-bar .btn { flex: 1; text-align: center; justify-content: center; font-size: var(--text-sm); }
  body { padding-bottom: 72px; }
}

/* ══════════════════════════════════════════════════════════
   MEGA-DROPDOWN NAV — Services + Fleet & Business panels
   ══════════════════════════════════════════════════════════ */

/* Wide panel base — overrides default .nav-dropdown width */
.nav-mega {
  min-width: 580px;
  padding: 0;
  overflow: hidden;
}
.nav-mega-wide {
  min-width: 680px;
}

/* Bundle banner across top of Services dropdown */
.nav-bundle-banner {
  background: linear-gradient(90deg, #b45309 0%, #d97706 100%);
  padding: 9px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 140ms;
}
.nav-bundle-banner:hover { background: linear-gradient(90deg, #92400e 0%, #b45309 100%); color: #fff !important; }
.nav-bundle-banner::after { display: none !important; }
.nav-bundle-star { font-size: 13px; }
.nav-bundle-arrow {
  margin-left: auto;
  opacity: 0.75;
  font-size: 13px;
}

/* Two-column layout inside mega panels */
.nav-mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 10px;
}
.nav-mega-cols--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.nav-mega-col {
  padding: 4px 4px 8px;
}
.nav-mega-col + .nav-mega-col {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 10px;
}
.nav-mega-col-header {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 8px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-mega-col-header--gold  { color: #f59e0b; }
.nav-mega-col-header--orange { color: #fb923c; }
.nav-mega-col-header--blue  { color: #60a5fa; }
.nav-mega-col-header--teal  { color: #22d3ee; }
.nav-mega-col-header--purple { color: #a78bfa; }

/* Links inside mega panel — same base as .nav-dropdown a */
.nav-mega-col a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  color: rgba(255,255,255,0.72);
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  text-decoration: none;
  transition: background 120ms, color 120ms;
  letter-spacing: 0.02em;
}
.nav-mega-col a:hover { background: rgba(255,255,255,0.09); color: #fff; }
.nav-mega-col a::after { display: none !important; }
.nav-mega-link-price {
  font-size: 10.5px;
  opacity: 0.45;
  font-weight: 400;
  flex-shrink: 0;
}
.nav-mega-link-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245,158,11,0.18);
  color: #f59e0b;
  border-radius: 4px;
  padding: 1px 5px;
  flex-shrink: 0;
}
.nav-mega-link-badge--blue {
  background: rgba(96,165,250,0.15);
  color: #60a5fa;
}

/* Footer bar inside mega panel */
.nav-mega-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 10px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-mega-footer-cta {
  font-family: var(--font-display);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  transition: all 140ms;
  white-space: nowrap;
}
.nav-mega-footer-cta::after { display: none !important; }
.nav-mega-footer-cta--primary {
  background: var(--color-accent);
  color: #fff;
}
.nav-mega-footer-cta--primary:hover { background: var(--color-accent-hover); color: #fff; }
.nav-mega-footer-cta--ghost {
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.12);
}
.nav-mega-footer-cta--ghost:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.nav-mega-footer-rebate {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255,200,100,0.75);
  text-decoration: none;
  font-weight: 500;
  transition: color 120ms;
}
.nav-mega-footer-rebate::after { display: none !important; }
.nav-mega-footer-rebate:hover { color: #fbbf24; }

/* Industrial direct link — amber accent */
.nav-industrial-link {
  position: relative;
  padding-left: 10px !important;
}
.nav-industrial-link::before {
  content: '';
  position: absolute;
  left: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 14px;
  background: #f59e0b;
  border-radius: 2px;
}

/* ── Mobile nav accordion (v3) ───────────────────────────── */
.nav-mobile-section {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-mobile-section-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-5) 0;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  transition: color 160ms;
  text-align: left;
}
.nav-mobile-section-trigger:hover { color: rgba(255,255,255,0.7); }
.nav-mobile-section-trigger.open .nav-mobile-chevron { transform: rotate(180deg); }
.nav-mobile-chevron {
  width: 18px; height: 18px;
  transition: transform 200ms ease;
  flex-shrink: 0;
  color: rgba(255,255,255,0.4);
}
.nav-mobile-section-body {
  display: none;
  padding-bottom: var(--space-4);
}
.nav-mobile-section-body.open { display: block; }
.nav-mobile-group-label {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  padding: var(--space-3) 0 var(--space-2);
  margin-top: var(--space-2);
}
.nav-mobile-group-label--gold  { color: rgba(245,158,11,0.7); }
.nav-mobile-group-label--blue  { color: rgba(96,165,250,0.7); }
.nav-mobile-group-label--orange { color: rgba(251,146,60,0.7); }
.nav-mobile-sub-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) 0 var(--space-2) var(--space-4) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.65) !important;
  border-bottom: none !important;
  letter-spacing: 0.03em !important;
  text-transform: none !important;
}
.nav-mobile-sub-link:hover { color: #fff !important; }
.nav-mobile-sub-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245,158,11,0.18);
  color: #f59e0b;
  border-radius: 4px;
  padding: 1px 5px;
}
.nav-mobile-direct {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: var(--space-5) 0 !important;
  font-family: var(--font-display) !important;
  font-size: var(--text-2xl) !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #f59e0b !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}
.nav-mobile-direct::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: #f59e0b;
  border-radius: 2px;
  flex-shrink: 0;
}

/* ── 4-card funnel grid — duplicate removed; defined above —──── */

/* ── Services hub tab filter ────────────────────────────── */
.svc-filter-tabs {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin: var(--space-8) 0 var(--space-6);
}
.svc-filter-btn {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}
.svc-filter-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.svc-filter-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.svc-filter-btn[data-filter="fleet"].active {
  background: #1d4ed8;
  border-color: #1d4ed8;
}
.service-hub-card[data-hidden="true"] {
  display: none;
}

/* ══════════════════════════════════════════════════════════
   NAV FIX v3 — spacing, dropdown positioning, mobile z-index
   ══════════════════════════════════════════════════════════ */

/* 1. Tighten nav-inner so items don't cramp */
.nav-inner {
  width: 95%;
  max-width: 1400px;
}
.nav-links {
  gap: var(--space-6);
}
.nav-links a {
  font-size: 11.5px;
  letter-spacing: 0.06em;
}
/* Portal login smaller at mid-widths */
.nav-portal-link {
  font-size: 11px;
}

/* 2. Hide portal login below 1160px to prevent cramping */
@media (max-width: 1160px) {
  .nav-portal-link { display: none !important; }
  .nav-links { gap: var(--space-5); }
}

/* 3. Hamburger breakpoint — keep nav visible down to 960px */
@media (max-width: 960px) {
  .nav-links, .nav-portal-link { display: none !important; }
  .nav-hamburger { display: flex !important; }
}
/* Override the old 900px breakpoint */
@media (min-width: 961px) and (max-width: 1160px) {
  .nav-links { display: flex !important; }
  .nav-hamburger { display: none !important; }
}

/* 4. Mega dropdown: left-align to nav-item, not centered — prevents clipping */
.nav-item:nth-child(1) .nav-dropdown.nav-mega {
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-6px);
}
.nav-item:nth-child(1):hover .nav-dropdown.nav-mega,
.nav-item:nth-child(1):focus-within .nav-dropdown.nav-mega {
  transform: translateX(0) translateY(0);
}

/* Fleet & Business dropdown — also left-aligned */
.nav-item:nth-child(2) .nav-dropdown.nav-mega {
  left: 0;
  right: auto;
  transform: translateX(0) translateY(-6px);
}
.nav-item:nth-child(2):hover .nav-dropdown.nav-mega,
.nav-item:nth-child(2):focus-within .nav-dropdown.nav-mega {
  transform: translateX(0) translateY(0);
}

/* Dealer & Gov — right-aligned to prevent right-edge clip */
.nav-item:nth-child(4) .nav-dropdown {
  left: auto !important;
  right: 0;
  transform: translateX(0) translateY(-6px) !important;
}
.nav-item:nth-child(4):hover .nav-dropdown,
.nav-item:nth-child(4):focus-within .nav-dropdown {
  transform: translateX(0) translateY(0) !important;
}

/* 5. Ensure mega panels don't overflow viewport */
.nav-mega {
  max-width: calc(100vw - 40px);
}

/* 6. Mobile nav — fix z-index and sub-link rendering */
.nav-mobile {
  z-index: 9999 !important;
  background: #111827 !important;
}
.nav-mobile-links {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.nav-mobile-section-body {
  overflow: hidden;
}
.nav-mobile-sub-link {
  padding-left: var(--space-5) !important;
  font-size: 0.9rem !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: rgba(255,255,255,0.7) !important;
  border-bottom: none !important;
  padding-bottom: 10px !important;
  padding-top: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.nav-mobile-sub-link:hover { color: #fff !important; }

/* 7. Industrial direct link — fix sizing in mobile */
.nav-mobile-direct {
  font-family: var(--font-display) !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  padding: var(--space-5) 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

/* 8. Nav mega col links — ensure no line-height issues */
.nav-mega-col a {
  line-height: 1.4;
  white-space: normal;
  min-height: 34px;
  align-items: center;
}

/* 9. Bundle banner link text shouldn't wrap oddly */
.nav-bundle-banner {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 1100px) {
  .nav-bundle-banner {
    font-size: 10px;
    padding: 8px 14px;
  }
}

/* 10. Nav mega column header dot fix */
.nav-mega-col-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
  padding-bottom: 8px;
}

/* ══════════════════════════════════════════════════════════
   DROPDOWN DWELL FIX — bridge gap between nav item and panel
   ══════════════════════════════════════════════════════════ */

/* Add invisible padding-bottom to nav links to bridge the 14px gap */
.nav-item > a {
  padding-bottom: 18px;
  margin-bottom: -18px;
}

/* Extend the dropdown upward to overlap with the nav-item padding */
.nav-dropdown {
  top: calc(100% + 4px);
}

/* Add a pseudo-element bridge above the dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

/* Increase hover detection — slightly larger hit area on nav links */
.nav-links > li > a,
.nav-links > .nav-item > a {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Prevent chevron rotation lag causing flicker */
.nav-item:focus-within .nav-chevron { transform: rotate(180deg); }

/* ══════════════════════════════════════════════════════════
   ALIGNMENT FIX — nav vertical centering + card grid
   ══════════════════════════════════════════════════════════ */

/* 1. NAV — force all list items to be inline-flex centered
      The mismatch was: .nav-item (li) uses block layout
      while direct <li> children of .nav-links use inline.
      Fix: make ALL nav-links children flex-centered */
.nav-links {
  align-items: center;
  height: 100%;
}
.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
  list-style: none;
}
.nav-links > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  /* Remove conflicting padding overrides from dwell fix */
  padding-top: 0;
  padding-bottom: 0;
  /* Use margin trick instead for dwell area */
}

/* 2. Industrial link — fix vertical alignment specifically */
.nav-industrial-link {
  display: flex !important;
  align-items: center;
  height: 100%;
  padding-left: 12px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 3. Dwell fix using height on li instead of padding on a */
.nav-links > li {
  /* Extend clickable area via li height already full nav height */
  cursor: pointer;
}
/* Re-implement dwell bridge on ::after of li, not a */
.nav-item::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

/* 4. Dropdown top offset — must clear the nav border */
.nav-dropdown {
  top: calc(100% + 6px) !important;
}

/* 5. Remove conflicting padding from previous dwell fix */
.nav-links > li > a,
.nav-links > .nav-item > a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.nav-item > a {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ══════════════════════════════════════════
   SERVICE HUB CARDS — equal height grid rows
   ══════════════════════════════════════════ */

/* Each card is already fixed 360px — ensure consistent layout */
.service-hub-card {
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Ensure card body stacks content and pins button to bottom */
.service-hub-card-body {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
}

.service-hub-card-desc {
  flex: 1;
}

/* ══════════════════════════════════════════
   SERVICE PAGE CARDS — equal height in grids
   (bedliner, tonneau, etc service option cards)
   ══════════════════════════════════════════ */

/* Any grid of cards should be equal height */
.svc-grid,
.feature-grid,
[class*="grid-"] .svc-card,
[class*="grid-"] .feature-card,
[class*="grid-"] .brand-card,
[class*="grid-"] .option-card,
[class*="grid-"] .coating-card {
  height: 100%;
}

/* Grid containers — equal height rows via align-items stretch */
.grid-2,
.grid-3,
.grid-4 {
  align-items: stretch;
}

/* Generic card pattern — ensure inner content fills */
.svc-card,
.feature-card,
.option-card,
.brand-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ══════════════════════════════════════════
   FLEET PAGE — service tab cards equal height
   ══════════════════════════════════════════ */

.fleet-svc-grid,
.fleet-svc-card,
.dg-svc-card,
.dg-svc-grid {
  height: 100%;
}

/* ══════════════════════════════════════════
   KPI STRIPS — consistent alignment
   ══════════════════════════════════════════ */

.kpi-strip,
.stat-strip,
.stats-grid {
  align-items: center;
}

/* ══════════════════════════════════════════
   PAGE HERO — consistent left-margin
   ══════════════════════════════════════════ */

.page-hero-content {
  max-width: var(--container-max);
  width: 90%;
  margin-inline: auto;
}

/* ══════════════════════════════════════════
   INDUSTRIAL KPI BAR — equal column widths
   ══════════════════════════════════════════ */

.ind-kpi-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-6);
  align-items: center;
}

/* ══════════════════════════════════════════
   DETAILING KPI BAR — prevent text overflow
   ══════════════════════════════════════════ */

.detail-kpi-item {
  text-align: center;
  overflow: hidden;
}

.detail-kpi-value {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ══════════════════════════════════════════
   CONTAINER CONSISTENCY — all pages same width
   ══════════════════════════════════════════ */

.container {
  width: 90%;
  max-width: var(--container-max);
  margin-inline: auto;
}

/* ══════════════════════════════════════════
   ANNOUNCE BAR — fix z-index stacking  
   ══════════════════════════════════════════ */

.announce-bar {
  position: relative;
  z-index: 101;
}

/* ══════════════════════════════════════════════════════════
   KPI STRIP FIX — long text wraps cleanly, no overflow
   ══════════════════════════════════════════════════════════ */

/* stat-number used in KPI strips — clamp font for long text */
.stat-number.kpi-number {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-5xl));
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
  line-height: 1.15;
}

/* Stats grid cells should not overflow their column */
.stats-grid > div {
  overflow: hidden;
  min-width: 0;
}

/* Align stats grid to top so variable-height cells start together */
.stats-grid {
  align-items: start;
}
