/*
Theme Name: Energreen Modern
Author: Codex
Description: Tema ligero para remodelacion de Energreen Campeche.
Version: 0.1.0
Text Domain: energreen-modern
*/

:root {
  --ink: #14201b;
  --muted: #5d6a63;
  --green: #009b4a;
  --green-dark: #08713b;
  --lime: #b7d935;
  --sun: #f6b73c;
  --sky: #eaf7f0;
  --line: #d9e7de;
  --bg: #f7faf7;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.nav {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 168px;
}
.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 84px;
  object-fit: contain;
}
.menu { display: flex; align-items: center; gap: 20px; color: var(--muted); font-weight: 700; }
.menu a:hover { color: var(--green); }
.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
}
.header-cta:hover { background: var(--green-dark); }
.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}
.btn.secondary { background: var(--ink); }
.hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(20,32,27,.94), rgba(20,32,27,.70) 52%, rgba(20,32,27,.20)),
    url("assets/solar-field.svg") center/cover no-repeat;
}
.hero-grid {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(320px, 1fr);
  gap: 54px;
  align-items: center;
  padding: 84px 0 72px;
}
.eyebrow {
  color: #bff0ce;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .12em;
}
.eyebrow.dark { color: var(--green); }
h1 { margin: 14px 0 18px; font-size: clamp(42px, 7vw, 76px); line-height: .96; letter-spacing: 0; }
.lead { max-width: 660px; margin: 0; color: #e5f1e9; font-size: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.savings-panel {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  padding: 24px;
}
.saving {
  display: grid;
  gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.saving:last-child { border-bottom: 0; }
.saving strong { font-size: 34px; line-height: 1; }
.saving span { color: #dbe8df; }
.section { padding: 78px 0; }
.section-head { max-width: 780px; margin-bottom: 34px; }
.section-head.wide { max-width: 940px; }
h2 { margin: 0 0 12px; font-size: 36px; line-height: 1.12; }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; }
.benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.benefit, .service, .faq, .cert-card, .contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.benefit { padding: 22px; }
.benefit strong { display: block; margin-bottom: 8px; font-size: 20px; }
.benefit span { color: var(--muted); }
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service { padding: 24px; }
.service i {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 20px;
  background: var(--green);
}
.service:nth-child(2) i { background: var(--sun); }
.service:nth-child(3) i { background: var(--lime); }
.service h3 { margin: 0 0 10px; font-size: 22px; }
.service p { margin: 0; color: var(--muted); }
.how {
  background: var(--sky);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.step {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.step b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
}
.step h3 { margin: 0 0 6px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }
.cert-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}
.cert-card { padding: 30px; }
.cert-card .badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 16px;
}
.cert-card p { margin: 0; color: var(--muted); font-size: 18px; }
.cert-visual {
  min-height: 300px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: url("assets/cert-solar.svg") center/cover no-repeat;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.faq { padding: 22px; }
.faq h3 { margin: 0 0 8px; font-size: 20px; }
.faq p { margin: 0; color: var(--muted); }
.contact {
  background: var(--ink);
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 28px;
  align-items: start;
}
.contact p { color: #d8e4dd; }
.contact-card {
  color: var(--ink);
  padding: 24px;
}
.contact-card a { color: var(--green-dark); font-weight: 900; }
.contact-card div + div { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.social-links a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 6px;
  color: var(--white);
  font-weight: 800;
}
.social-links a:hover { background: rgba(255,255,255,.12); }
.site-footer { padding: 28px 0; background: var(--white); border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}
@media (max-width: 860px) {
  .menu { display: none; }
  .nav { min-height: 84px; }
  .brand { width: 136px; }
  .header-cta { min-height: 38px; padding: 0 12px; font-size: 14px; }
  .hero-grid, .benefits, .services, .steps, .cert-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding: 72px 0 48px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
