/* ==========================================================================
   EV Compatibility — checker + full list
   ========================================================================== */

.evc-hero { padding-top: 150px; padding-bottom: 40px; }

.evc-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}

.evc-copy h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 16px; }
.evc-copy .lede { color: var(--muted); max-width: 38ch; margin-bottom: 24px; }

.evc-checks { list-style: none; display: grid; gap: 12px; }
.evc-checks li { display: flex; gap: 10px; align-items: center; font-size: 0.95rem; }
.evc-checks svg { color: var(--blue-light); flex-shrink: 0; }

/* Checker card */
.checker-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--navy-panel);
  padding: 26px;
}

.checker-card h3 { font-size: 1rem; }

.checker-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.checker-card-head p { color: var(--muted); font-size: 0.86rem; margin-top: 6px; }
.checker-card-head .btn { flex-shrink: 0; white-space: nowrap; }

.ev-row-list { list-style: none; margin-top: 14px; border-top: 1px solid var(--border); }
.ev-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s var(--ease);
}
.ev-row:hover { background: rgba(47,107,255,0.06); }
.ev-row .thumb {
  width: 88px; height: 55px;
  border-radius: 8px;
  background: var(--navy-panel-light);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  overflow: hidden;
}
.ev-row .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-row .info { flex: 1; }
.ev-row .info strong { display: block; font-size: 0.92rem; }
.ev-row .status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; margin-top: 2px; font-weight: 600; }
.status.ok { color: var(--green); }
.status.soon { color: var(--muted); }
.status.partial { color: #f5a623; }
.status.no { color: var(--red); }
.ev-row .chev { color: var(--muted-dim); flex-shrink: 0; }

.cant-see {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}
.cant-see strong { display: block; font-size: 0.9rem; }
.cant-see span { color: var(--muted); font-size: 0.82rem; }

/* Right glow car + CTA card */
.evc-side { text-align: center; }
.glow-car { display: block; margin: 0 auto 20px; width: 100%; max-width: 260px; height: auto; border-radius: 12px; }
.evc-side h3 { font-size: 1.2rem; margin-bottom: 10px; }
.evc-side > p { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.evc-side-list { list-style: none; display: grid; gap: 10px; margin-bottom: 20px; text-align: left; }
.evc-side-list li { display: flex; gap: 10px; align-items: center; font-size: 0.86rem; }
.evc-side-list svg { color: var(--blue-light); flex-shrink: 0; }
.evc-side .note { color: var(--muted-dim); font-size: 0.78rem; margin-top: 10px; }

/* Stat strip */
.stat-strip {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px var(--gutter);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  background: var(--navy-panel);
}
.stat-strip h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.stat-strip p { color: var(--muted); font-size: 0.84rem; }
.stat-num { font-size: 1.9rem; font-weight: 800; color: var(--blue-light); }
.stat-item p { color: var(--muted); font-size: 0.82rem; margin-top: 2px; }

/* ---- Full list page ---- */
.evc-list-hero { padding-top: 150px; padding-bottom: 40px; }
.evc-list-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin-bottom: 30px; }
.evc-list-grid img { border-radius: var(--radius-lg); border: 1px solid var(--border); width: 100%; height: auto; }
.info-callout {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--muted);
}
.info-callout svg { color: var(--blue-light); flex-shrink: 0; margin-top: 2px; }

.table-layout { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }

.filter-tabs { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.86rem; }
.filter-tabs button {
  background: none; border: none; color: var(--muted); cursor: pointer;
  padding-bottom: 6px; border-bottom: 2px solid transparent;
  display: flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: inherit;
}
.filter-tabs button.active { color: var(--white); border-color: var(--blue-light); }
.filter-tabs .dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--green); }
.dot.partial { background: #f5a623; }
.dot.soon { background: var(--muted); }
.dot.no { background: var(--red); }

.ev-table { width: 100%; border-collapse: collapse; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.ev-table th {
  text-align: left; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted-dim); padding: 12px 16px; background: var(--navy-panel);
  border-bottom: 1px solid var(--border);
}
.ev-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.ev-table tr:last-child td { border-bottom: none; }
.ev-table tr:hover td { background: rgba(47,107,255,0.05); }
.make-cell { display: flex; align-items: center; gap: 10px; }
.make-cell .badge { width: 30px; height: 30px; border-radius: 50%; background: var(--navy-panel-light); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.make-cell small { display: block; color: var(--muted); font-size: 0.76rem; }
.cap-ok { color: var(--green); font-weight: 600; }
.cap-partial { color: #f5a623; font-weight: 600; }
.cap-no { color: var(--red); font-weight: 600; }
.cap-soon { color: var(--muted); font-weight: 600; }

.view-more { text-align: center; margin-top: 20px; }

/* ---- Compatible with leading EV brands ---- */
.brands-section { margin: 60px 0 20px; text-align: center; }
.brands-section h2 { font-size: 1.9rem; margin-bottom: 10px; }
.brands-section > p { color: var(--muted); max-width: 52ch; margin: 0 auto 30px; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}
.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--navy-panel), var(--navy));
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand-logo svg {
  width: auto;
  height: 32px;
  max-width: 110px;
  fill: var(--muted);
  transition: fill 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand-logo:hover {
  transform: translateY(-6px);
  border-color: var(--border-light);
  box-shadow: 0 12px 28px -12px rgba(47, 107, 255, 0.4);
}
.brand-logo:hover svg {
  fill: var(--blue-light);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.55));
  transform: scale(1.04);
}

/* Brands without a bundled vector mark render as a styled wordmark instead */
.brand-wordmark {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.brand-logo:hover .brand-wordmark {
  color: var(--blue-light);
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.55));
  transform: scale(1.04);
}

@media (max-width: 600px) {
  .brand-logo { min-height: 80px; padding: 14px; }
  .brand-logo svg { height: 26px; }
}

@media (max-width: 1080px) {
  .evc-grid, .table-layout, .evc-list-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
