/**
 * Styles for the EV Charging page (ev-charging.php). Enqueued only on that
 * template. Colours mirror the Affordable Solar brand:
 * primary #F48025 (orange), secondary #1a1a1a (near-black).
 */

.ev-page {
  --ev-primary: #F48025;
  --ev-secondary: #1a1a1a;
  --ev-green: #2f7d54;
  --ev-ink: #1f2024;
  --ev-muted: #55585e;
  --ev-line: #e4e4e4;
  color: var(--ev-ink);
}

.ev-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ev-eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ev-primary);
  margin-bottom: 12px;
}

.ev-h2 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ev-ink);
  margin: 0 0 18px;
}

.ev-lead { color: var(--ev-muted); font-size: 16px; line-height: 1.7; }
.ev-lead p { margin: 0 0 14px; }
.ev-lead p:last-child { margin-bottom: 0; }

@media (min-width: 768px) {
  .ev-h2 { font-size: 38px; }
}

/* ---------------- Buttons ---------------- */
.ev-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 35px;
  border-radius: 200px;
  font-family: 'Adani', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-transform: lowercase;
  border: 1px solid var(--ev-primary);
  background: var(--ev-primary);
  color: #fff;
  transition: background .2s ease, color .2s ease;
  cursor: pointer;
  text-decoration: none;
}
.ev-btn:hover { background: #fff; color: var(--ev-primary); }
.ev-btn svg { width: 16px; height: 16px; }

/* ---------------- Sections ---------------- */
.ev-section { padding: 56px 0; }
@media (min-width: 768px) { .ev-section { padding: 80px 0; } }
.ev-section--tint { background: #f5f6f8; }

.ev-section__head { text-align: center; max-width: 760px; margin: 0 auto 44px; }
.ev-section__head .ev-lead { font-size: 17px; }

/* ---------------- Benefits row ---------------- */
.ev-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .ev-benefits { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ev-benefits { grid-template-columns: repeat(4, 1fr); }
}
.ev-benefit {
  background: #fff;
  border: 1px solid var(--ev-line);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
.ev-benefit__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fbe7de;
  color: var(--ev-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-benefit__icon svg { width: 28px; height: 28px; }
.ev-benefit h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; color: var(--ev-ink); }
.ev-benefit p { font-size: 15px; line-height: 1.6; color: var(--ev-muted); margin: 0; }

/* ---------------- Zigzag bordered cards (Home / Apartment / Fleet) ---------------- */
.ev-card {
  border: 1px solid var(--ev-primary);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 32px;
  background: #fff;
}
.ev-card--secondary { border-color: var(--ev-secondary); }

.ev-card__grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .ev-card__grid { grid-template-columns: 1fr 1fr; }
  .ev-card--reverse .ev-card__media { order: 2; }
}

.ev-card__media { background: #e9eaee; min-height: 240px; }
.ev-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ev-card__placeholder {
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9aa0a8;
  font-size: 14px;
  letter-spacing: .5px;
  background: repeating-linear-gradient(45deg, #edeef1, #edeef1 12px, #e6e7eb 12px, #e6e7eb 24px);
}

.ev-card__body { padding: 32px; }
@media (min-width: 768px) { .ev-card__body { padding: 46px; } }
.ev-card__title { font-size: 26px; font-weight: 700; color: var(--ev-ink); margin: 0 0 4px; line-height: 1.15; }
@media (min-width: 768px) { .ev-card__title { font-size: 32px; } }
.ev-card__subtitle { font-size: 20px; font-weight: 700; color: var(--ev-primary); margin: 0 0 16px; }
.ev-card--secondary .ev-card__subtitle { color: var(--ev-secondary); }
@media (min-width: 768px) { .ev-card__subtitle { font-size: 24px; } }

/* ---------------- Feature list with check bullets ---------------- */
.ev-list { list-style: none; margin: 22px 0 0; padding: 0; }
.ev-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  color: var(--ev-ink);
  font-size: 15.5px;
  line-height: 1.55;
}
.ev-list li svg {
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  color: var(--ev-primary);
}
.ev-cta-row { margin-top: 30px; }

/* ---------------- Give Purpose to your Parking (dark cards) ---------------- */
.ev-parking__title { font-size: 28px; font-weight: 800; color: var(--ev-secondary); margin: 0 0 36px; }
@media (min-width: 768px) { .ev-parking__title { font-size: 40px; } }
.ev-parking__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .ev-parking__grid { grid-template-columns: repeat(3, 1fr); } }
.ev-parking__card {
  background: var(--ev-primary);
  color: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
}
.ev-parking__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ev-parking__icon svg { width: 38px; height: 38px; color: #fff; }
.ev-parking__card h3 { font-size: 20px; font-weight: 700; margin: 0 0 14px; }
.ev-parking__card p { font-size: 15px; line-height: 1.65; color: rgba(255, 255, 255, .92); margin: 0; }

/* ---------------- Best Price Guarantee ---------------- */
.ev-price { position: relative; background-color: #dfe3e6; background-size: cover; background-position: center; }
.ev-price__inner { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
@media (min-width: 768px) { .ev-price__inner { padding: 90px 20px; } }
.ev-price__card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  max-width: 640px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}
@media (min-width: 768px) { .ev-price__card { padding: 48px; } }
.ev-price__card h2 {
  color: var(--ev-primary);
  font-size: 26px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin: 0 0 6px;
}
@media (min-width: 768px) { .ev-price__card h2 { font-size: 32px; } }
.ev-price__sub { color: var(--ev-muted); margin: 0 0 22px; font-size: 15px; }
.ev-price__note { color: #9aa0a8; font-size: 13px; margin-top: 18px; }
.ev-price__badge { position: absolute; right: 30px; bottom: 30px; width: 120px; height: auto; }
@media (max-width: 900px) {
  .ev-price__badge { position: static; display: block; margin: 24px auto 0; }
}

/* ---------------- FAQ (inherits the theme's .faq_content accordion styles) ---------------- */
.ev-faq .faq_content .accordion-body { max-width: 100%; }

/* ---------------- Match Affordable Solar heading conventions ----------------
   Adani font, lowercase, no uppercase / letter-spacing — as used site-wide. */
.ev-page .ev-eyebrow,
.ev-page .ev-h2,
.ev-page .ev-benefit h3,
.ev-page .ev-card__title,
.ev-page .ev-card__subtitle,
.ev-page .ev-parking__title,
.ev-price .ev-price__card h2,
.ev-assess h2 {
  font-family: 'Adani', sans-serif;
  text-transform: lowercase;
  letter-spacing: 0;
}

.ev-page .ev-h2,
.ev-page .ev-benefit h3,
.ev-page .ev-card__title,
.ev-page .ev-parking__title,
.ev-assess h2 {
  color: #000;
  font-weight: 400;
}

/* ---------------- Bottom assessment CTA ---------------- */
.ev-assess { background: #f5f5f5; padding: 56px 0; text-align: center; }
@media (min-width: 768px) { .ev-assess { padding: 80px 0; } }
.ev-assess h2 { font-size: 28px; margin-bottom: 22px; color: var(--ev-ink); }
@media (min-width: 768px) { .ev-assess h2 { font-size: 40px; } }
