
/* Ritme jarak & separator biru mengikuti komponen Section bawaan tema:
   margin-top 96px, margin-bottom 48px, garis 140x3 px sejauh 48px di atas blok. */
.ec-root {
  position: relative;
  margin-top: 6rem;
  margin-bottom: 3rem;
  grid-column: 1 / -1;
  justify-self: stretch;
  align-self: start;
  width: 100%;
  padding-inline: 1rem;
  box-sizing: border-box;
}
.ec-root::before,
.ec-root--hero::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 140px;
  height: 3px;
  margin-left: -70px;
  border-radius: 999px;
  background-image: linear-gradient(90deg, transparent, rgba(4, 102, 200, 0.7), transparent);
}
.ec-root::before { top: -3rem; }
/* separator untuk section tepat di bawah CTA besar (homepage) */
.ec-root--hero::after { bottom: -3rem; }
/* Tema hanya memberi margin-top 96px pada section yang didahului section/div.
   Section setelah komponen kode (canvas-island) jatuh ke 48px — samakan lagi. */
.region-content > canvas-island + section { margin-top: 6rem; }
.ec-hero { display: grid; grid-template-columns: 1fr; gap: 1.75rem; padding: 2rem; align-items: center; }
.ec-hero-title { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.ec-points { display: grid; gap: .5rem; }
.ec-hero-side { text-align: left; }
.ec-band { display: grid; grid-template-columns: 1fr; gap: 1.25rem; padding: 1.5rem; align-items: center; }
.ec-band-title { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.ec-band-side { text-align: left; }
.ec-btn { transition: opacity .2s, transform .2s; }
.ec-btn:hover { opacity: .9; transform: translateY(-1px); }
@media (min-width: 768px) {
  .ec-hero { grid-template-columns: 1.6fr auto; padding: 2.5rem 3rem; gap: 2.5rem; }
  .ec-points { grid-template-columns: 1fr 1fr; gap: .5rem 1.5rem; }
  .ec-hero-side { text-align: center; }
  .ec-band { grid-template-columns: 1fr auto; padding: 1.5rem 2rem; gap: 2rem; }
  .ec-band-side { text-align: center; }
}
@media print { .ec-root { display: none; } }

/* ---- Variant "hero" dua kartu (homepage): Estimasi Biaya + Generator Company Profile ---- */
.ec-root--duo { max-width: 68rem; margin-left: auto; margin-right: auto; }
.ec-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.ec-duo-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; border-radius: 1rem; color: var(--foreground); box-sizing: border-box; min-width: 0; }
.ec-duo-card--gold { background: linear-gradient(135deg, rgba(255,214,10,0.14), rgba(72,149,239,0.10)); border: 1px solid rgba(255,214,10,0.38); }
.ec-duo-card--blue { background: linear-gradient(135deg, rgba(72,149,239,0.20), rgba(255,214,10,0.06)); border: 1px solid rgba(72,149,239,0.50); }
.ec-duo-kicker { align-self: flex-start; background: #FFD60A; color: #001233; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.05em; padding: 0.25rem 0.75rem; border-radius: 999px; }
.ec-duo-card--blue .ec-duo-kicker { background: #4895EF; color: #001233; }
.ec-duo-title { margin: 0.25rem 0 0; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.2; font-weight: 700; color: #FFD60A; }
.ec-duo-lead { margin: 0; line-height: 1.6; color: rgba(255,255,255,0.88); }
.ec-duo-points { list-style: none; margin: 0.25rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.ec-duo-points li { display: flex; gap: 0.5rem; }
.ec-duo-points li::before { content: "\2713"; color: #FFD60A; font-weight: 700; }
.ec-duo-foot { margin-top: auto; padding-top: 1rem; }
.ec-duo-note { margin: 0.6rem 0 0; font-size: 0.75rem; color: var(--muted-foreground); }
@media (max-width: 47.99rem) {
  .ec-duo { grid-template-columns: minmax(0, 1fr); }
  .ec-duo-card { padding: 1.5rem; }
}

.ec-duo-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.75rem; margin: 0 auto 2rem; max-width: 46rem; }
.ec-duo-heading { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.4rem); line-height: 1.2; font-weight: 700; color: #FFD60A; }
.ec-duo-sub { margin: 0; font-size: 1.05rem; line-height: 1.6; color: rgba(255,255,255,0.88); }
.ec-duo-all { margin: 1.25rem 0 0; text-align: right; font-size: 0.95rem; }
.ec-duo-all a { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; background: #FFD60A !important; color: #001233 !important; font-weight: 700; font-size: .875rem; border-radius: 8px; text-decoration: none; white-space: nowrap; transition: opacity .2s, transform .2s; }
.ec-duo-all a:hover { opacity: .9; transform: translateY(-1px); text-decoration: none; }

