/* CM Solar EV Infrastructure WordPress Styles
   Paste into Appearance > Customize > Additional CSS
   or your theme/Elementor custom CSS panel.
*/

:root {
  --cm-bg: #071116;
  --cm-bg-soft: #0d1b22;
  --cm-card: #ffffff;
  --cm-card-soft: #f4f8fa;
  --cm-text: #12212a;
  --cm-muted: #5f7078;
  --cm-white: #ffffff;
  --cm-accent: #1fbf75;
  --cm-accent-dark: #15985c;
  --cm-blue: #1d6cff;
  --cm-border: #dbe5ea;
  --cm-shadow: 0 18px 50px rgba(0, 0, 0, 0.12);
}

.cm-ev-page {
  font-family: inherit;
  color: var(--cm-text);
  line-height: 1.55;
}

.cm-ev-page * {
  box-sizing: border-box;
}

.cm-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.cm-section {
  padding: 76px 0;
}

.cm-section-tight {
  padding: 54px 0;
}

.cm-hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(31, 191, 117, 0.25), transparent 32%),
    linear-gradient(135deg, #061016 0%, #0c2630 52%, #061016 100%);
  color: var(--cm-white);
  padding: 96px 0;
  overflow: hidden;
}

.cm-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.cm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31, 191, 117, 0.13);
  color: #b9ffd9;
  border: 1px solid rgba(31, 191, 117, 0.38);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  margin-bottom: 18px;
}

.cm-hero h1,
.cm-ev-page h1 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 22px;
}

.cm-hero p {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255,255,255,0.86);
  max-width: 760px;
  margin: 0 0 30px;
}

.cm-hero-card {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--cm-shadow);
  backdrop-filter: blur(12px);
}

.cm-stat-grid {
  display: grid;
  gap: 14px;
}

.cm-stat {
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 18px;
}

.cm-stat strong {
  display: block;
  font-size: 28px;
  color: var(--cm-white);
  line-height: 1.1;
}

.cm-stat span {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.cm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cm-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 800;
  text-decoration: none !important;
  transition: .2s ease;
  border: 1px solid transparent;
}

.cm-btn-primary {
  background: var(--cm-accent);
  color: #061016 !important;
}

.cm-btn-primary:hover {
  background: #46dc94;
  transform: translateY(-1px);
}

.cm-btn-secondary {
  color: var(--cm-white) !important;
  border-color: rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.08);
}

.cm-btn-secondary:hover {
  background: rgba(255,255,255,0.14);
}

.cm-section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.cm-section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.cm-section-header h2 {
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin: 0 0 14px;
}

.cm-section-header p {
  font-size: 18px;
  color: var(--cm-muted);
  margin: 0;
}

.cm-bg-soft {
  background: var(--cm-card-soft);
}

.cm-dark {
  background: var(--cm-bg);
  color: var(--cm-white);
}

.cm-dark p,
.cm-dark .cm-muted {
  color: rgba(255,255,255,0.72);
}

.cm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.cm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cm-card {
  background: var(--cm-card);
  border: 1px solid var(--cm-border);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.045);
}

.cm-card h3 {
  font-size: 21px;
  line-height: 1.18;
  margin: 0 0 10px;
}

.cm-card p {
  margin: 0;
  color: var(--cm-muted);
}

.cm-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 191, 117, 0.12);
  color: var(--cm-accent-dark);
  font-weight: 900;
  margin-bottom: 16px;
}

.cm-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cm-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.cm-list li::before {
  content: "✓";
  color: var(--cm-accent-dark);
  font-weight: 900;
}

.cm-process {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.cm-step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 22px;
  padding: 22px;
}

.cm-step::before {
  content: counter(step);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cm-accent);
  color: #061016;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.cm-step h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.cm-step p {
  margin: 0;
  color: var(--cm-muted);
}

.cm-form-wrap {
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--cm-shadow);
}

.cm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.cm-field {
  display: grid;
  gap: 7px;
}

.cm-field.full {
  grid-column: 1 / -1;
}

.cm-field label {
  font-weight: 800;
  font-size: 14px;
}

.cm-field input,
.cm-field select,
.cm-field textarea {
  width: 100%;
  border: 1px solid var(--cm-border);
  border-radius: 14px;
  padding: 13px 14px;
  min-height: 48px;
  font: inherit;
  background: #fff;
}

.cm-field textarea {
  min-height: 110px;
  resize: vertical;
}

.cm-note {
  font-size: 13px;
  color: var(--cm-muted);
  margin-top: 12px;
}

.cm-faq {
  display: grid;
  gap: 14px;
}

.cm-faq details {
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 18px;
  padding: 18px 20px;
}

.cm-faq summary {
  font-weight: 900;
  cursor: pointer;
}

.cm-faq p {
  color: var(--cm-muted);
  margin: 12px 0 0;
}

.cm-cta {
  background:
    radial-gradient(circle at 20% 20%, rgba(31,191,117,0.22), transparent 30%),
    linear-gradient(135deg, #061016 0%, #0e2731 100%);
  color: var(--cm-white);
  text-align: center;
  border-radius: 32px;
  padding: 52px 28px;
}

.cm-cta h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
}

.cm-cta p {
  color: rgba(255,255,255,0.76);
  font-size: 18px;
  max-width: 760px;
  margin: 0 auto 26px;
}

.cm-home-band {
  background: linear-gradient(135deg, #071116 0%, #102934 100%);
  color: #fff;
  border-radius: 30px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.cm-home-band h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
}

.cm-home-band p {
  color: rgba(255,255,255,.76);
  margin: 0;
  max-width: 760px;
}

@media (max-width: 900px) {
  .cm-hero-grid,
  .cm-grid-2,
  .cm-grid-3,
  .cm-form-grid,
  .cm-home-band {
    grid-template-columns: 1fr;
  }

  .cm-hero {
    padding: 70px 0;
  }

  .cm-section {
    padding: 58px 0;
  }

  .cm-home-band {
    padding: 30px;
  }
}

@media (max-width: 520px) {
  .cm-container {
    width: min(100% - 24px, 1180px);
  }

  .cm-actions,
  .cm-btn {
    width: 100%;
  }

  .cm-step {
    grid-template-columns: 1fr;
  }
}