/* ==========================================================================
   Homepage sections (post-hero)
   ========================================================================== */

.section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.section--light {
  background: var(--whe-white);
}

.section--mist {
  background: var(--whe-mist);
}

.section--dark {
  background: var(--whe-midnight);
  color: var(--whe-white);
}

.section__header {
  max-width: min(100%, 58rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__header--center {
  margin-inline: auto;
  text-align: center;
  max-width: min(100%, 64rem);
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--whe-blue);
}

.section--dark .section__eyebrow {
  color: var(--whe-electric);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--fw-black);
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  color: var(--whe-midnight);
  max-width: none;
}

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

.section__title .accent {
  color: var(--whe-blue);
}

.section--dark .section__title .accent {
  color: var(--whe-electric);
}

.section__lede {
  margin-top: 1rem;
  max-width: 42ch;
  font-size: var(--text-md);
  color: var(--whe-slate);
  line-height: 1.55;
}

.section--dark .section__lede {
  color: rgba(255, 255, 255, 0.7);
}

.section__header--center .section__lede {
  margin-inline: auto;
}

/* ---------- Problem selector ---------- */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.problem-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 88px;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--whe-border-strong);
  border-radius: var(--radius-md);
  background: var(--whe-white);
  transition:
    border-color var(--duration-fast) var(--ease-soft),
    transform var(--duration-fast) var(--ease-soft),
    box-shadow var(--duration-fast) var(--ease-soft);
}

.problem-card:hover {
  border-color: rgba(8, 126, 245, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(4, 26, 47, 0.08);
}

.problem-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--whe-midnight);
}

.problem-card__arrow {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whe-ice);
  color: var(--whe-blue);
  flex-shrink: 0;
}

.problem-card__arrow .lucide {
  width: 0.9rem;
  height: 0.9rem;
}

/* ---------- Services editorial ---------- */

.services-editorial {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 240px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--whe-white);
  isolation: isolate;
}

.svc--feature {
  grid-row: 1 / span 2;
  min-height: 420px;
}

.svc--wide {
  grid-column: 2 / span 2;
}

.svc__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(160deg, rgba(4, 26, 47, 0.2), rgba(2, 16, 28, 0.88)),
    radial-gradient(circle at 30% 20%, rgba(24, 184, 255, 0.3), transparent 55%),
    linear-gradient(145deg, #0a3558, #041a2f);
}

.svc__bg--2 {
  background:
    linear-gradient(160deg, rgba(4, 26, 47, 0.25), rgba(2, 16, 28, 0.9)),
    radial-gradient(circle at 70% 30%, rgba(8, 126, 245, 0.35), transparent 50%),
    linear-gradient(145deg, #0d2f4d, #02101c);
}

.svc__bg--3 {
  background:
    linear-gradient(160deg, rgba(4, 26, 47, 0.25), rgba(2, 16, 28, 0.9)),
    radial-gradient(circle at 40% 70%, rgba(24, 184, 255, 0.25), transparent 50%),
    linear-gradient(155deg, #123a5c, #041a2f);
}

.svc__bg--4 {
  background:
    linear-gradient(160deg, rgba(4, 26, 47, 0.2), rgba(2, 16, 28, 0.88)),
    radial-gradient(circle at 60% 20%, rgba(8, 126, 245, 0.4), transparent 45%),
    linear-gradient(165deg, #0b2c4a, #02101c);
}

.svc__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.svc__desc {
  max-width: 34ch;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1.1rem;
}

.svc__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-bold);
  color: var(--whe-electric);
}

.svc__link .lucide {
  width: 0.95rem;
  height: 0.95rem;
}

.svc:hover .svc__link {
  color: var(--whe-white);
}

/* ---------- Comparison ---------- */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.compare-card {
  padding: 0;
  background: var(--whe-white);
  border: 1px solid var(--whe-border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.compare-card__media {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--whe-mist);
}

.compare-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.compare-card__body {
  padding: 1.2rem 1.25rem 1.4rem;
}

.compare-card__type {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--whe-midnight);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--whe-border);
}

.compare-card dl {
  display: grid;
  gap: 0.85rem;
}

.compare-card dt {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--whe-blue);
  margin-bottom: 0.2rem;
}

.compare-card dd {
  font-size: var(--text-sm);
  color: var(--whe-slate);
  line-height: 1.45;
}

.compare-cta {
  display: flex;
  justify-content: center;
}

/* ---------- Reviews ---------- */

.reviews-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.reviews-score {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.reviews-score__value {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: var(--fw-black);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--whe-electric);
}

.reviews-score__stars {
  display: flex;
  gap: 0.25rem;
  margin: 0.75rem 0 0.5rem;
  color: #f5c542;
}

.reviews-score__stars .lucide {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.reviews-score__meta {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
}

.reviews-score__note {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.45;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.trust-pill {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.review-cards {
  display: grid;
  gap: 0.85rem;
}

.review-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-card__quote {
  font-size: var(--text-md);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1rem;
}

.review-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

.review-card__name {
  font-weight: var(--fw-bold);
  color: var(--whe-electric);
}

.review-card__placeholder {
  font-style: italic;
  opacity: 0.7;
}

/* ---------- Difference ---------- */

.difference-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.difference-photo {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(circle at 40% 30%, rgba(24, 184, 255, 0.25), transparent 50%),
    linear-gradient(145deg, #0a3558, #041a2f);
}

.difference-photo::after {
  content: "Photo placeholder — team / van / install";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.difference-photo__frame {
  position: absolute;
  inset: 12% -6% -8% 18%;
  border: 1px solid rgba(24, 184, 255, 0.35);
  border-radius: 40% 0 0 0;
  pointer-events: none;
}

.difference-copy p {
  margin-bottom: 1rem;
  color: var(--whe-slate);
  line-height: 1.6;
  max-width: 42ch;
}

.difference-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.difference-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--whe-midnight);
}

.difference-list li::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--whe-blue);
  flex-shrink: 0;
}

/* ---------- Projects slider ---------- */

.projects-rail {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.project-card {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--whe-white);
  border: 1px solid var(--whe-border-strong);
}

.project-card__media {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(160deg, rgba(4, 26, 47, 0.35), rgba(4, 26, 47, 0.7)),
    radial-gradient(circle at 50% 40%, rgba(24, 184, 255, 0.3), transparent 60%),
    #0a2744;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--text-xs);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
}

.project-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.project-card__loc {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--whe-blue);
  margin-bottom: 0.35rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--whe-midnight);
}

.project-card__note {
  margin-top: 0.4rem;
  font-size: var(--text-xs);
  color: var(--whe-slate);
  font-style: italic;
}

/* ---------- Financing + promo ---------- */

.split-cta {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0.9rem;
}

.split-panel {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  border-radius: var(--radius-lg);
}

.split-panel--dark {
  background: var(--whe-midnight);
  color: var(--whe-white);
}

.split-panel--accent {
  background: linear-gradient(145deg, #087ef5, #0a5ec0);
  color: var(--whe-white);
}

.split-panel__eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

.split-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.4rem + 1.5vw, 2.75rem);
  font-weight: var(--fw-black);
  line-height: 0.95;
  letter-spacing: var(--tracking-tight);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.split-panel__copy {
  max-width: 38ch;
  font-size: var(--text-sm);
  line-height: 1.55;
  opacity: 0.8;
  margin-bottom: 1.35rem;
}

.split-panel__terms {
  margin-top: 0.85rem;
  font-size: 0.7rem;
  opacity: 0.65;
  line-height: 1.4;
}

/* ---------- Service areas ---------- */

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.areas-map {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 45% 48%, rgba(24, 184, 255, 0.2), transparent 45%),
    linear-gradient(160deg, #0a2744, #041a2f);
  overflow: hidden;
}

.areas-map__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  border: 1px solid rgba(24, 184, 255, 0.25);
  border-radius: 50%;
}

.areas-map__ring--1 {
  width: 42%;
  aspect-ratio: 1;
}
.areas-map__ring--2 {
  width: 64%;
  aspect-ratio: 1;
  opacity: 0.6;
}
.areas-map__ring--3 {
  width: 86%;
  aspect-ratio: 1;
  opacity: 0.35;
}

.areas-map__pin {
  position: absolute;
  left: 48%;
  top: 46%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--whe-electric);
  box-shadow: 0 0 0 8px rgba(24, 184, 255, 0.2);
}

.areas-map__label {
  position: absolute;
  left: 54%;
  top: 42%;
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.areas-chip {
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--whe-border-strong);
  background: var(--whe-white);
  font-size: var(--text-sm);
  font-weight: var(--fw-semibold);
  color: var(--whe-midnight);
}

.areas-chip--primary {
  background: var(--whe-ice);
  border-color: rgba(8, 126, 245, 0.25);
  color: var(--whe-blue);
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--whe-border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--whe-border-strong);
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  font-weight: var(--fw-bold);
  letter-spacing: -0.02em;
  color: var(--whe-midnight);
}

.faq-item__icon {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whe-ice);
  color: var(--whe-blue);
  flex-shrink: 0;
  transition: transform var(--duration) var(--ease-out);
}

.faq-item__icon .lucide {
  width: 0.9rem;
  height: 0.9rem;
}

.faq-item[data-open="true"] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--whe-blue);
  color: var(--whe-white);
}

.faq-item__panel {
  display: none;
  padding: 0 0 1.35rem;
  max-width: 60ch;
  font-size: var(--text-md);
  line-height: 1.6;
  color: var(--whe-slate);
}

.faq-item[data-open="true"] .faq-item__panel {
  display: block;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0;
  background:
    radial-gradient(ellipse 70% 80% at 90% 50%, rgba(24, 184, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 80%, rgba(8, 126, 245, 0.2), transparent 50%),
    linear-gradient(155deg, #02101c, #041a2f 50%, #06304f);
  color: var(--whe-white);
  text-align: center;
}

.final-cta__title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: var(--fw-black);
  line-height: 0.95;
  letter-spacing: var(--tracking-display);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.final-cta__title .accent {
  color: var(--whe-electric);
}

.final-cta__copy {
  max-width: 38ch;
  margin: 0 auto 1.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--text-md);
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--whe-charcoal);
  color: rgba(255, 255, 255, 0.72);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--whe-white);
  margin-bottom: 0.85rem;
}

.footer-brand p,
.footer-brand a {
  font-size: var(--text-sm);
  line-height: 1.6;
}

.footer-brand a:hover {
  color: var(--whe-electric);
}

.footer-col__title {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--whe-white);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: grid;
  gap: 0.55rem;
}

.footer-col a {
  font-size: var(--text-sm);
}

.footer-col a:hover {
  color: var(--whe-electric);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--text-xs);
}

.footer-bottom a:hover {
  color: var(--whe-electric);
}

/* ---------- Responsive ---------- */

@media (max-width: 999px) {
  .problem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-editorial {
    grid-template-columns: 1fr 1fr;
  }

  .svc--feature {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .svc--wide {
    grid-column: 1 / -1;
  }

  .compare-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reviews-layout,
  .difference-layout,
  .areas-layout,
  .split-cta,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

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

  .services-editorial,
  .compare-grid {
    grid-template-columns: 1fr;
  }

  .final-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta__actions .btn {
    width: 100%;
  }
}
