/* ==========================================================================
   ECOVOLTA · SUNFIELD ENERGY (030) — 1:1 Ivory Solar Hero, Pill Nav & Marquee
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --canvas: #F5F3EE;
  --heading: #31463B;
  --slate-900: #0F172A;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-200: #E2E8F0;
  --slate-50: #F8FAFC;
}

html { background: var(--canvas); color: var(--heading); scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: #FFFFFF;
  color: var(--slate-900);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
  letter-spacing: 0 !important;
}
h1, h2, h3, dt, dd, p, a, button, span { letter-spacing: 0; }
[dir="ltr"], [lang="en"] { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.05em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.eco-glass {
  background: rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 8px 32px rgba(49, 70, 59, 0.09);
}

.btn-green-gradient {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(135deg, #3D9B6A, #2A7D52 48%, #1F6B45);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 28px rgba(42, 125, 82, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.btn-green-gradient:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* 1. Full-Screen Ivory Solar & Turbine Hero */
.eco-hero {
  position: relative;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--heading);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.eco-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.eco-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.eco-hero-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(62% 58% at 74% 48%, rgba(245, 243, 238, 0.86) 0%, rgba(245, 243, 238, 0.34) 60%, rgba(245, 243, 238, 0) 100%),
    linear-gradient(180deg, rgba(245, 243, 238, 0.68) 0%, rgba(245, 243, 238, 0.34) 48%, rgba(245, 243, 238, 0.88) 100%);
}

/* Floating Rounded-Full Glass Pill Nav */
.eco-nav-outer {
  position: relative;
  z-index: 20;
  padding: 20px clamp(18px, 3vw, 40px) 0;
}
.eco-nav-pill {
  max-width: 1160px;
  margin-inline: auto;
  padding: 10px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.eco-brand {
  font-family: 'Readex Pro', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--heading);
}
.eco-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(49, 70, 59, 0.82);
}
.eco-links a:hover { color: var(--heading); }
@media (max-width: 780px) { .eco-links { display: none; } }
html.cfx-embed-preview .eco-dir-link { display: none !important; }

/* Hero Main Copy */
.eco-hero-main {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding: 36px clamp(18px, 3vw, 40px);
}
.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 15px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.eco-hero h1 {
  font-family: 'Readex Pro', 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 700;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 16px;
  color: var(--heading);
}
.eco-hero p {
  max-width: 50ch;
  color: rgba(49, 70, 59, 0.78);
  font-size: 1.02rem;
  margin-bottom: 24px;
}
.eco-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eco-glass-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--heading);
}

/* Bottom Hero HUD + Dual Marquee */
.eco-hero-bottom {
  position: relative;
  z-index: 10;
}
.eco-hud-row {
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 clamp(18px, 3vw, 40px) 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
}
.eco-play-circle {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.eco-play-circle:hover { transform: scale(1.06); }
.eco-avatars {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eco-av-stack { display: inline-flex; }
.eco-av-stack i {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--canvas);
  margin-right: -8px;
  display: inline-block;
}

.eco-marquee-bar {
  background: rgba(245, 243, 238, 0.84);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(49, 70, 59, 0.12);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}
.eco-m-track {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(49, 70, 59, 0.65);
  animation: ecoScroll 24s linear infinite;
}
@keyframes ecoScroll { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Lower Clean White Sections */
.eco-sec {
  background: #FFFFFF;
  border-top: 1px solid var(--slate-200);
  padding: clamp(64px, 8vw, 100px) clamp(18px, 3vw, 40px);
}
.eco-wrap {
  max-width: 1120px;
  margin-inline: auto;
}
.eco-eyebrow {
  display: block;
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}
.eco-h2 {
  font-family: 'Readex Pro', sans-serif;
  font-size: clamp(1.75rem, 2.8vw, 2.4rem);
  color: var(--slate-900);
  margin-bottom: 14px;
}
.eco-cards-3 {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 720px) { .eco-cards-3 { grid-template-columns: 1fr; } }
.eco-card {
  padding: 24px;
  border-radius: 18px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
}
.eco-card h3 { font-size: 1.12rem; margin-bottom: 8px; color: var(--slate-900); }
.eco-card p { font-size: 0.92rem; color: var(--slate-600); }

.eco-faq-stack {
  margin-top: 22px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eco-footer {
  border-top: 1px solid var(--slate-200);
  padding: 30px clamp(18px, 3vw, 40px) 42px;
  background: var(--slate-50);
}
.eco-foot-row {
  max-width: 1120px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--slate-600);
}
