/*
Theme Name: EcoSun Energy Pixel Perfect
Author: EcoSun Energy
Description: Theme WordPress convertido literalmente desde el HTML/CSS original.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: ecosunenergy
License: GPL-2.0-or-later
*/

:root {
  --blue: #083d77;
  --blue-dark: #062f5c;
  --orange: #f59f00;
  --orange-dark: #e67700;
  --text: #172033;
  --muted: #667085;
  --soft: #f5f8fb;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(8, 61, 119, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, Arial, sans-serif; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.header { position: fixed; top: 0; width: 100%; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(8,61,119,.08); }
.nav { height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--blue); font-size: 1.1rem; }
.brand img { width: 52px; height: 52px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 26px; font-weight: 600; color: var(--blue-dark); }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 14px 24px; font-weight: 800; transition: .2s ease; border: 0; cursor: pointer; }
.btn-small { padding: 10px 18px; background: var(--orange); color: var(--white); }
.btn-primary { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); color: var(--white); box-shadow: 0 12px 28px rgba(245,159,0,.32); }
.btn-secondary { background: rgba(255,255,255,.16); color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn-light { background: var(--white); color: var(--blue); }
.btn:hover { transform: translateY(-2px); }
.hero { position: relative; min-height: 760px; padding: 150px 0 80px; display: flex; align-items: center; color: var(--white); background: linear-gradient(120deg, rgba(8,61,119,.95), rgba(8,61,119,.64)), url('https://images.unsplash.com/photo-1509391366360-2e959784a276?auto=format&fit=crop&w=1800&q=80') center/cover; }
.hero-overlay { position: absolute; inset: 0; background: radial-gradient(circle at 80% 15%, rgba(245,159,0,.35), transparent 32%); }
.hero-content { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 50px; align-items: center; }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; margin: 0 0 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.6rem, 5vw, 5rem); line-height: .98; margin-bottom: 24px; letter-spacing: -.05em; }
h2 { font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; margin-bottom: 18px; color: var(--blue-dark); }
h3 { margin-bottom: 10px; color: var(--blue-dark); }
.hero-subtitle, .lead { font-size: 1.15rem; line-height: 1.7; color: #e7edf5; max-width: 700px; }
.lead { color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 650px; }
.hero-stats div, .hero-card { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(14px); border-radius: 22px; padding: 24px; }
.hero-stats strong { display: block; font-size: 2rem; color: var(--orange); }
.hero-stats span { color: #d8e3ef; font-size: .92rem; }
.hero-card { background: rgba(255,255,255,.94); color: var(--text); box-shadow: var(--shadow); }
.hero-card p { color: var(--muted); line-height: 1.6; }
ul { padding-left: 20px; line-height: 2; color: var(--muted); }
.section { padding: 95px 0; }
.section-soft { background: var(--soft); }
.section-heading { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.section-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.grid { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card, .service-item, .equipment-card, .contact-form { background: var(--white); border: 1px solid rgba(8,61,119,.09); border-radius: 24px; padding: 30px; box-shadow: var(--shadow); }
.card p, .service-item p { color: var(--muted); line-height: 1.65; }
.icon { font-size: 2rem; display: inline-block; margin-bottom: 14px; }
.split, .equipment, .contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.timeline div { padding: 28px; border-left: 4px solid var(--orange); background: var(--soft); border-radius: 20px; }
.timeline span { color: var(--orange); font-weight: 900; font-size: 1.7rem; }
.cta-band { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: var(--white); }
.cta-content { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.cta-content h2 { color: var(--white); }
.cta-content p { color: #d8e3ef; margin-bottom: 0; }
.equipment-card { background: linear-gradient(180deg, var(--soft), #fff); }
.contact-section { background: var(--soft); }
.contact-info { margin-top: 28px; color: var(--muted); line-height: 1.8; }
.contact-form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-weight: 700; color: var(--blue-dark); }
input, select, textarea { width: 100%; border: 1px solid #d9e2ec; border-radius: 14px; padding: 14px 15px; font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(245,159,0,.15); }
.footer { background: #061d35; color: #d8e3ef; padding: 38px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand span { color: var(--white); }
.footer-brand img { width: 44px; height: 44px; }
.whatsapp { position: fixed; right: 22px; bottom: 22px; z-index: 30; background: #25d366; color: white; padding: 14px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 12px 25px rgba(0,0,0,.22); }
@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .hero-content, .split, .equipment, .contact-grid { grid-template-columns: 1fr; }
  .cards-3, .timeline, .service-list { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 130px; }
  .hero-stats { grid-template-columns: 1fr; }
  .cta-content { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
  .container { width: min(100% - 26px, 1160px); }
  .brand span { font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .section { padding: 70px 0; }
}
