:root {
  --green: #007a53;
  --green-dark: #005f43;
  --green-soft: #e7f4ef;
  --gray: #777b7f;
  --dark: #18211f;
  --light: #ffffff;
  --muted: #f6f8f7;
  --border: #dfe6e3;
  --shadow: 0 24px 60px rgba(0, 66, 46, 0.13);
  --radius: 24px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 86px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 122, 83, 0.12);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand img { width: 190px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; font-weight: 700; }
.main-nav a { color: #2b3835; }
.main-nav a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: white !important; padding: 12px 18px; border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: var(--green-soft); color: var(--green-dark); width: 44px; height: 44px; border-radius: 12px; font-size: 1.4rem; }

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 122, 83, 0.16), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4faf7 55%, #e6f3ee 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: 60px; }
.eyebrow { display: inline-flex; color: var(--green); font-size: 0.78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.45rem, 5vw, 4.85rem); line-height: .98; letter-spacing: -0.06em; margin-bottom: 24px; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.05; letter-spacing: -0.04em; margin-bottom: 18px; }
h3 { line-height: 1.18; margin-bottom: 10px; }
.lead { color: #4a5653; font-size: 1.17rem; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 999px; font-weight: 800; border: 0; cursor: pointer; transition: .2s ease; }
.btn-primary { background: var(--green); color: white; box-shadow: 0 12px 30px rgba(0, 122, 83, 0.22); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--green-dark); border: 1px solid var(--border); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-light { background: white; color: var(--green-dark); }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { background: white; border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; color: #43514d; font-weight: 700; font-size: .9rem; }

.hero-card { position: relative; min-height: 480px; }
.hero-card::before {
  content: "";
  position: absolute;
  inset: 40px 10px 10px 30px;
  background: var(--green);
  border-radius: 38px;
  transform: rotate(-6deg);
  opacity: .12;
}
.metric-card { position: absolute; background: white; border: 1px solid var(--border); border-radius: 34px; box-shadow: var(--shadow); padding: 34px; width: min(360px, 88%); }
.metric-card small { color: var(--gray); text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }
.metric-card strong { display: block; color: var(--green); font-size: 3rem; line-height: 1; margin: 12px 0; letter-spacing: -0.05em; }
.metric-card p { color: #52605d; margin-bottom: 0; }
.solar-card { top: 38px; right: 0; }
.phone-card { bottom: 30px; left: 0; }

.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading p { color: #596663; font-size: 1.08rem; }
.intro { padding-bottom: 32px; }

.split { background: white; }
.split.alt { background: var(--muted); }
.split-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 64px; }
.split-grid.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split-copy p { color: #56635f; font-size: 1.05rem; }
.check-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 34px; font-weight: 700; color: #34423f; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); border-radius: 50%; font-weight: 900; }
.text-link { color: var(--green); font-weight: 900; }

.visual { min-height: 390px; border-radius: 36px; background: linear-gradient(145deg, #ffffff, #edf7f3); border: 1px solid var(--border); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.solar-visual { display: grid; place-items: center; padding: 0; }
.solar-visual img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; display: block; }
.phone-visual::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(0, 122, 83, .1); right: -80px; top: -70px; }
.server { position: absolute; left: 70px; top: 80px; width: 130px; height: 210px; border-radius: 24px; background: linear-gradient(180deg, var(--green-dark), var(--green)); box-shadow: 0 18px 40px rgba(0, 85, 60, .22); }
.server::before, .server::after { content: ""; position: absolute; left: 28px; right: 28px; height: 12px; background: rgba(255,255,255,.75); border-radius: 99px; }
.server::before { top: 48px; } .server::after { top: 86px; }
.line { position: absolute; height: 3px; background: rgba(0, 122, 83, .32); transform-origin: left; }
.line.one { left: 200px; top: 135px; width: 150px; transform: rotate(-14deg); }
.line.two { left: 200px; top: 180px; width: 155px; }
.line.three { left: 200px; top: 225px; width: 150px; transform: rotate(14deg); }
.extension { position: absolute; right: 48px; width: 82px; height: 50px; display: grid; place-items: center; background: white; border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 10px 24px rgba(0,0,0,.08); color: var(--green-dark); font-weight: 900; }
.extension:nth-of-type(5) { top: 74px; } .extension:nth-of-type(6) { top: 165px; } .extension:nth-of-type(7) { top: 256px; }

.benefits { background: white; }
.cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.info-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; background: white; box-shadow: 0 16px 36px rgba(0,0,0,.04); }
.info-card .icon { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; background: var(--green-soft); font-size: 1.5rem; margin-bottom: 20px; }
.info-card p { color: #5c6865; margin-bottom: 0; }

.process { background: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.step span { display: inline-grid; place-items: center; width: 42px; height: 42px; background: var(--green); color: white; border-radius: 50%; font-weight: 900; margin-bottom: 22px; }
.step p { color: #5d6865; margin: 0; }

.cta-band { background: var(--green); color: white; padding: 64px 0; }
.cta-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.cta-band .eyebrow { color: rgba(255,255,255,.78); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 760px; margin-bottom: 0; }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; }
.contact-copy p { color: #56635f; }
.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list p { margin: 0; padding: 16px; background: var(--muted); border-radius: 16px; border: 1px solid var(--border); }
.contact-list a { color: var(--green); font-weight: 800; }
.contact-form { display: grid; gap: 18px; background: white; border: 1px solid var(--border); border-radius: 32px; padding: 30px; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: 8px; font-weight: 800; color: #2d3b38; }
input, select, textarea { width: 100%; border: 1px solid var(--border); border-radius: 14px; padding: 14px 15px; font: inherit; color: var(--dark); background: #fbfcfc; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(0,122,83,.15); border-color: var(--green); }
.contact-form small { color: var(--gray); }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; background: white; }
.footer-grid { display: grid; grid-template-columns: 190px 1fr auto; align-items: center; gap: 24px; color: #596663; font-size: .94rem; }
.footer-grid p { margin: 0; }
.footer-grid a { color: var(--green); font-weight: 800; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; background: var(--green); color: white; font-weight: 900; padding: 14px 18px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0, 85, 60, .3); }

.reveal { opacity: 0; transform: translateY(22px); transition: .7s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; } .delay-2 { transition-delay: .22s; } .delay-3 { transition-delay: .32s; }

@media (max-width: 920px) {
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; left: 20px; right: 20px; top: 84px; background: white; border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; display: none; flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .hero-grid, .split-grid, .split-grid.reverse, .contact-grid, .cta-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-card { min-height: 430px; }
  .cards-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .brand img { width: 160px; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .metric-card { position: relative; inset: auto; width: 100%; margin: 0 0 16px; }
  .hero-card { min-height: auto; }
  .hero-card::before { display: none; }
  .cards-grid, .steps { grid-template-columns: 1fr; }
  .visual { min-height: 320px; }
  .panel-row { left: 35px; right: 35px; }
  .footer-grid img { width: 170px; }
}
