/* Hero */
.hero {
  position: relative;
  min-height: clamp(32rem, 85vh, 44rem);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cep-white);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgb(15 36 56 / 88%) 0%,
    rgb(27 58 92 / 72%) 45%,
    rgb(43 191 176 / 35%) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4rem;
  max-width: 40rem;
}

.hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cep-teal);
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 2rem;
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgb(255 255 255 / 90%);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero--compact {
  min-height: clamp(18rem, 40vh, 24rem);
}

.hero--compact .hero__content {
  padding: 5rem 0 3rem;
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--alt {
  background: var(--cep-white);
}

.section--dark {
  background: var(--cep-navy);
  color: rgb(255 255 255 / 92%);
}

.section__header {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cep-orange);
}

.section--dark .section__eyebrow {
  color: var(--cep-teal);
}

.section__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--cep-navy);
}

.section--dark .section__title {
  color: var(--cep-white);
}

.section__lead {
  margin: 0;
  color: var(--cep-text-muted);
  font-size: 1.125rem;
}

.section--dark .section__lead {
  color: rgb(255 255 255 / 78%);
}

/* Services grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 2rem;
  background: var(--cep-white);
  border-radius: var(--cep-radius-lg);
  box-shadow: var(--cep-shadow);
  border-top: 4px solid var(--cep-teal);
}

.service-card:nth-child(1) { border-top-color: var(--cep-orange); }
.service-card:nth-child(2) { border-top-color: var(--cep-navy); }
.service-card:nth-child(3) { border-top-color: var(--cep-teal); }

.service-card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: linear-gradient(135deg, var(--cep-navy), var(--cep-teal));
  color: var(--cep-white);
}

.service-card:nth-child(1) .service-card__icon {
  background: linear-gradient(135deg, var(--cep-orange), var(--cep-orange-light));
}

.service-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--cep-navy);
}

.service-card__text {
  margin: 0;
  color: var(--cep-text-muted);
  font-size: 0.975rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.split__image {
  border-radius: var(--cep-radius-lg);
  overflow: hidden;
  box-shadow: var(--cep-shadow-lg);
}

.split__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Stats strip */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat__value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--cep-orange);
  line-height: 1.1;
}

.stat__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.9375rem;
  color: rgb(255 255 255 / 75%);
}

/* CTA band */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
  background:
    linear-gradient(rgb(27 58 92 / 92%), rgb(27 58 92 / 92%)),
    url("/assets/theme/img/energy-gradient.jpg") center / cover;
  color: var(--cep-white);
}

.cta-band__title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.cta-band__text {
  margin: 0 auto 2rem;
  max-width: 32rem;
  color: rgb(255 255 255 / 85%);
}

/* Checklist */
.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  position: relative;
  padding: 0.75rem 0 0.75rem 2rem;
  border-bottom: 1px solid rgb(27 58 92 / 8%);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--cep-teal);
  box-shadow: 0 0 0 3px rgb(43 191 176 / 25%);
}

/* Steps timeline */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 2rem;
  counter-reset: step;
}

.steps__item {
  position: relative;
  padding-top: 3rem;
  counter-increment: step;
}

.steps__item::after {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--cep-orange);
  color: var(--cep-white);
  font-weight: 700;
  font-size: 0.9375rem;
}

.steps__title {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  color: var(--cep-navy);
}

.steps__text {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--cep-text-muted);
}

/* Contact page */
.contact-card {
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--cep-white);
  border-radius: var(--cep-radius-lg);
  box-shadow: var(--cep-shadow-lg);
  text-align: center;
}

.contact-card__audiences {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--cep-text-muted);
}

.contact-card__audiences li::before {
  content: "◆ ";
  color: var(--cep-teal);
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Prose (privacy, long-form) */
.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.5rem 0 1rem;
  font-size: 1.375rem;
  color: var(--cep-navy);
}

.prose p,
.prose li {
  color: var(--cep-text-muted);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose a {
  color: var(--cep-teal-dark);
}

/* Page intro (non-hero pages) */
.page-intro {
  padding: 3rem 0 1rem;
}

.page-intro h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--cep-navy);
}

.page-intro p {
  margin: 0;
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--cep-text-muted);
}

.highlight-box {
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  background: linear-gradient(135deg, rgb(232 119 34 / 8%), rgb(43 191 176 / 8%));
  border-left: 4px solid var(--cep-orange);
  border-radius: 0 var(--cep-radius) var(--cep-radius) 0;
}

.highlight-box p {
  margin: 0;
  color: var(--cep-text);
}
