/* ─────────────────────────────────────────────
   MASSACHUSETTS ENERGY INITIATIVE — Styles
   Palette: Navy Blue dominant, minimal gold accent
   ───────────────────────────────────────────── */
:root{
  --navy:     #0d2347;
  --navy2:    #091a35;
  --blue:     #1a3a6b;
  --blue-mid: #2255a0;
  --blue-light:#dde8f8;
  --gold:     #c9a227;   /* solo acento mínimo — del logo */
  --ink:      #142131;
  --muted:    #5a6b7a;
  --white:    #fff;
  --line:     #d0dcea;
  --shadow:   0 18px 50px rgba(13,35,71,.12);
  --radius:   20px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font-family:"DM Sans",sans-serif;line-height:1.6;background:#fff}
h1,h2,h3{font-family:Manrope,sans-serif;line-height:1.1;margin:0 0 18px}
h1{font-size:clamp(2.4rem,5.5vw,4.8rem);letter-spacing:-.045em}
h2{font-size:clamp(1.85rem,3.8vw,3.1rem);letter-spacing:-.038em}
h3{font-size:1.22rem}
p{color:var(--muted);margin:0 0 20px}
.container{width:min(1180px,calc(100% - 40px));margin:auto}
.skip{position:absolute;left:-999px}
.skip:focus{left:10px;top:10px;background:#fff;padding:10px;z-index:99}

/* ── TOP BAR ── */
.topbar{background:var(--navy2);color:#c8d8f0;font-size:12px}
.topbar-inner{height:36px;display:flex;justify-content:space-between;align-items:center}
.topbar a{color:#fff;text-decoration:none;margin-right:18px;font-weight:600}
.lang{background:none;border:1px solid rgba(255,255,255,.35);color:#fff;font-weight:700;cursor:pointer;border-radius:5px;padding:2px 8px;font-size:11px}
.topbar-phone{font-weight:700;color:#fff;letter-spacing:.03em}

/* ── HEADER ── */
.header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);backdrop-filter:blur(16px);border-bottom:1px solid rgba(208,220,234,.8)}
.nav-wrap{height:78px;display:flex;align-items:center;justify-content:space-between;gap:30px}

/* Logo */
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--navy);line-height:1}
.brand-logo{width:52px;height:52px;object-fit:contain}
.brand-text b{display:block;font-size:10px;letter-spacing:.14em;color:var(--navy)}
.brand-text strong{display:block;font-size:11.5px;letter-spacing:.04em;color:var(--blue)}

nav{display:flex;align-items:center;gap:26px}
nav a{color:#243c5a;text-decoration:none;font-size:14px;font-weight:600}
nav a:hover{color:var(--blue)}
nav a.nav-active{color:var(--blue-mid);border-bottom:2px solid var(--blue-mid);padding-bottom:2px}

.nav-cta,
.nav-cta:visited{background:#1a1a1a!important;color:#fff!important;border-radius:999px;padding:11px 22px;font-weight:800;font-size:14px;transition:.2s;border:none;text-decoration:none}
.nav-cta:hover{background:#333!important}

.btn-reach,
.btn.btn-reach{background:#1a1a1a!important;color:#fff!important;border-radius:999px!important;padding:14px 26px;font-weight:800;box-shadow:0 6px 20px rgba(0,0,0,.28);border:none!important;transition:.2s}
.btn-reach:hover,
.btn.btn-reach:hover{background:#333!important;transform:translateY(-2px)}


.menu{display:none;background:none;border:0;font-size:26px;color:var(--navy);cursor:pointer}

/* ── HERO ── */
.hero{position:relative;overflow:hidden;min-height:720px;display:flex;align-items:center}
.hero-bg{
  position:absolute;inset:0;
  background:
    linear-gradient(105deg,
      rgba(9,26,53,.92) 0%,
      rgba(13,35,71,.78) 45%,
      rgba(13,35,71,.50) 75%,
      rgba(13,35,71,.30) 100%),
    url('../assets/images/imagen de fondojpeg.jpeg') center/cover no-repeat;
}
.hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:1.2fr .8fr;gap:60px;align-items:center;padding:100px 0}

.eyebrow{font-size:11px;letter-spacing:.18em;font-weight:900;color:var(--gold);margin-bottom:16px;text-transform:uppercase}
.eyebrow.light{color:#a8c4e8}

.hero h1{max-width:740px;color:#fff}
.hero h1 em{font-style:normal;color:#7eb8f7}
.hero-copy > p{font-size:18px;max-width:660px;color:#b8ccdf}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin:32px 0 22px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 24px;border-radius:10px;text-decoration:none;font-weight:800;border:1px solid transparent;cursor:pointer;font-family:inherit;font-size:14px;transition:.2s}
.btn-primary{background:var(--blue-mid);color:#fff!important;box-shadow:0 8px 22px rgba(34,85,160,.30)}
.btn-primary:hover{background:#1a489e;transform:translateY(-2px)}
.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff;background:rgba(255,255,255,.08)}
.btn-ghost:hover{background:rgba(255,255,255,.16)}
.btn-light{border-color:#fff;color:#fff}
.btn-accent{background:var(--blue);color:#fff}
.btn-accent:hover{background:var(--blue-mid)}
.full{width:100%}

.trust-row{display:flex;gap:22px;font-size:13px;color:#8ab4d8;flex-wrap:wrap}

/* Hero alert card */
.hero-alert{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);border-left:4px solid var(--gold);color:#fff;padding:26px 28px;border-radius:16px;backdrop-filter:blur(8px)}
.hero-alert-label{font-size:10px;font-weight:900;letter-spacing:.16em;color:var(--gold);margin-bottom:10px;text-transform:uppercase}
.hero-alert h3{font-size:1.15rem;margin:0 0 10px;color:#fff}
.hero-alert p{font-size:14px;color:#b8ccdf;margin:0 0 18px}
.hero-alert-stat{display:flex;gap:18px;margin-top:14px}
.hero-alert-stat div{text-align:center;background:rgba(255,255,255,.07);padding:12px 16px;border-radius:10px;flex:1}
.hero-alert-stat strong{display:block;font-size:2rem;color:#7eb8f7;line-height:1}
.hero-alert-stat small{font-size:11px;color:#8ab4d8;display:block;margin-top:4px}

/* ── PROOF STRIP ── */
.proof{border-bottom:1px solid var(--line);background:#fff}
.proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px}
.proof-grid > div{padding:24px 18px;border-right:1px solid var(--line)}
.proof-grid strong{display:block;color:var(--blue);font-size:12.5px;font-weight:900}
.proof-grid span{display:block;font-size:12px;color:var(--muted);margin-top:4px}

/* ── SECTIONS ── */
.section{padding:100px 0}
.section-head{display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-bottom:48px}
.section-head > p{max-width:440px}

/* ── URGENCY SECTION ── */
.urgency{background:var(--navy);color:#fff;padding:90px 0}
.urgency h2{color:#fff}
.urgency p{color:#8ab4d8}
.urgency-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center}
.urgency-box{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:36px}
.urgency-stat{margin-bottom:24px;padding-bottom:24px;border-bottom:1px solid rgba(255,255,255,.1)}
.urgency-stat:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.urgency-stat strong{display:block;font-size:2.8rem;color:#7eb8f7;line-height:1;margin-bottom:6px}
.urgency-stat span{font-size:13px;color:#8ab4d8}
.alert-banner{background:rgba(201,162,39,.12);border:1px solid rgba(201,162,39,.4);border-radius:14px;padding:22px 26px;margin-top:30px}
.alert-banner p{color:#e8d080;font-size:14px;margin:0;font-weight:600}
.alert-banner p strong{color:#f5dc6b}

/* ── BENEFITS CARDS ── */
.cards{display:grid;gap:18px}
.three{grid-template-columns:repeat(3,1fr)}
.four{grid-template-columns:repeat(4,1fr)}
.benefit-card{border:1px solid var(--line);border-radius:18px;padding:30px;background:#fff;transition:.25s;box-shadow:0 6px 20px rgba(13,35,71,.05)}
.benefit-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.card-icon{width:52px;height:52px;border-radius:14px;background:var(--blue-light);color:var(--blue);display:grid;place-items:center;font-size:26px;margin-bottom:22px}
.benefit-card p{font-size:14px;min-height:80px}
.benefit-card .tag{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--blue-mid);margin-bottom:8px;display:block}

/* ── DARK SPLIT (HOW IT WORKS) ── */
.dark{background:var(--navy);color:#fff}
.dark p{color:#8ab4d8}
.split-grid{display:grid;grid-template-columns:1fr 1fr;gap:90px;align-items:center}
.split h2{max-width:580px;color:#fff}
.steps{display:grid;gap:14px}
.steps > div{display:grid;grid-template-columns:55px 1fr;gap:15px;padding:22px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.04)}
.steps b{font-size:13px;color:#7eb8f7;font-weight:900}
.steps strong,.steps small{display:block}
.steps strong{color:#fff}
.steps small{color:#8ab4d8;font-size:13px;margin-top:5px}

/* ── POLICY SECTION ── */
.light-bg{background:#f4f8fd}
.policy-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.policy-grid article{padding:30px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:.2s}
.policy-grid article:hover{border-color:#a8c0de}
.policy-tag{font-size:10px;font-weight:900;letter-spacing:.14em;color:var(--blue-mid);display:block;margin-bottom:10px}
.policy-grid p{font-size:14px}
.policy-grid a,.text-link{color:var(--blue-mid);font-weight:800;text-decoration:none;font-size:13px}
.policy-grid a:hover,.text-link:hover{text-decoration:underline}

/* ── CONTACT / CTA BAND ── */
.cta-band{padding:90px 0;background:linear-gradient(130deg,var(--navy2) 0%,var(--blue) 100%);color:#fff}
.cta-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:70px;align-items:start}
.cta-band h2{color:#fff}
.cta-band p{color:#8ab4d8}
.cta-band .eyebrow.light{color:#a8c4e8}

/* Lead Form */
.lead-form{background:#fff;color:var(--ink);padding:36px;border-radius:22px;box-shadow:0 20px 60px rgba(13,35,71,.25)}
.lead-form-title{font-family:Manrope,sans-serif;font-size:1.1rem;font-weight:800;color:var(--navy);margin:0 0 22px;padding-bottom:16px;border-bottom:2px solid var(--blue-light)}
label{display:block;font-weight:700;font-size:13px;color:#1e3558;margin-bottom:16px}
label span{display:block;margin-bottom:6px}
input,select,textarea{width:100%;font:inherit;border:1.5px solid #c2d4e8;border-radius:10px;padding:13px 16px;background:#fff;outline:none;transition:.2s;font-size:14px;color:var(--ink)}
input:focus,select:focus,textarea:focus{border-color:var(--blue-mid);box-shadow:0 0 0 3px rgba(34,85,160,.10)}
input::placeholder,textarea::placeholder{color:#9ab0c8;font-weight:400}
textarea{resize:vertical}
.btn-book{background:var(--navy);color:#fff;border:none;border-radius:30px;padding:16px 28px;font-size:15px;font-weight:800;width:100%;cursor:pointer;font-family:inherit;margin-top:6px;transition:.2s;letter-spacing:.02em}
.btn-book:hover{background:var(--blue)}
.form-disclaimer{display:block;color:#7a8fa3;font-size:10.5px;line-height:1.5;margin-top:14px}

/* ── RESOURCE GRID ── */
.resource-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.resource-grid > a{flex:0 1 calc(33.333% - 16px);min-width:250px;box-sizing:border-box}
.resource-grid a{padding:24px;border:1px solid var(--line);border-radius:16px;text-decoration:none;color:var(--ink);transition:.2s}
.resource-grid a:hover{border-color:#93b8de;transform:translateY(-3px)}
.resource-grid span,.resource-grid b,.resource-grid small{display:block}
.resource-grid span{font-size:11px;color:var(--blue-mid);margin-bottom:18px;font-weight:900;letter-spacing:.1em}
.resource-grid b{font-size:13px}
.resource-grid small{color:var(--muted);font-size:12px;margin-top:6px}

/* ── BILLING TERMS — Two-panel table layout ── */
.bt-section{padding:90px 0;background:#f4f7fb}
.bt-header{margin-bottom:40px}
.bt-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:start}
.bt-panel{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 4px 20px rgba(13,35,71,.08);border:1px solid #d8e4f0}
.bt-panel-head{display:flex;align-items:center;gap:14px;padding:18px 22px;background:var(--navy);color:#fff}
.bt-panel-head span{font-size:24px;line-height:1;flex-shrink:0}
.bt-icon{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.2);font-size:14px;font-weight:900;color:#fff;flex-shrink:0}

.bt-panel-head strong{display:block;font-size:15px;font-weight:800;color:#fff}
.bt-panel-head small{display:block;font-size:11px;color:#a8c4e0;margin-top:3px;font-weight:400}
.bt-table{width:100%;border-collapse:collapse}
.bt-table td{padding:13px 20px;font-size:13.5px;vertical-align:top;border-bottom:1px solid #edf1f7;line-height:1.55}
.bt-table tr:last-child td{border-bottom:0}
.bt-table tr:nth-child(even) td{background:#f9fbfd}
.bt-term{width:38%;font-weight:800;font-size:12.5px;color:var(--navy);white-space:nowrap;padding-right:12px}
.bt-table td:not(.bt-term){color:var(--muted)}
.bt-table td strong{color:var(--ink)}
.bt-highlight td{background:#eef4fd!important}
.bt-highlight .bt-term{color:var(--blue-mid)}
.bt-insight{background:var(--navy);color:#fff;padding:28px 36px;border-radius:16px;margin-top:24px;font-size:15px;line-height:1.7}
.bt-insight em{color:#7eb8f7;font-style:normal;font-weight:700}
.bt-insight strong{color:#fff}

/* ── FOOTER ── */

footer{background:var(--navy2)}
.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .8fr 1fr;gap:45px;padding:64px 0}
.footer-grid p{font-size:12px;max-width:300px;margin-top:16px;color:#6a83a3}
.footer-grid > b,.footer-grid > div > b{font-size:12px;display:block;margin-bottom:14px;color:#a8bed8;font-weight:800;letter-spacing:.06em}
.footer-grid a,.footer-grid span{display:block;text-decoration:none;color:#6a83a3;font-size:12px;margin:8px 0;transition:.15s}
.footer-grid a:hover{color:#c8daec}
.footer-brand{margin-bottom:10px}
.footer-brand .brand-text b{color:#a8bed8}
.footer-brand .brand-text strong{color:#7eb8f7}
.footer-brand .brand-logo{opacity:.92;border-radius:50%;background:#fff;padding:2px}

.footer-contact{color:#c8daec!important;font-weight:600;font-size:13px!important}
.footer-button{display:inline-block!important;background:var(--blue-mid);color:#fff!important;padding:10px 16px;border-radius:8px;font-weight:800;transition:.2s;margin-top:6px}
.footer-button:hover{background:var(--blue)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;display:flex;justify-content:space-between;gap:15px;color:#4a6180;font-size:10px}

/* ── COOKIE BANNER ── */
.cookie{position:fixed;bottom:15px;left:15px;right:15px;max-width:520px;background:var(--navy2);color:#fff;padding:12px 16px;border-radius:12px;display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:11px;box-shadow:var(--shadow);z-index:50;border:1px solid rgba(255,255,255,.1)}
.cookie button{background:#fff;color:var(--navy2);border:0;border-radius:7px;padding:7px 12px;font-weight:800;cursor:pointer}

/* ── UTILITIES ── */
.is-hidden{display:none!important}
.checklist{padding:0;margin:28px 0;list-style:none}
.checklist li{margin:12px 0;padding-left:28px;position:relative;font-size:15px;color:#4a6180}
.checklist li:before{content:'✓';position:absolute;left:0;top:0;color:var(--blue-mid);font-weight:900}
.dark .checklist li{color:#8ab4d8}
.dark .checklist li:before{color:#7eb8f7}

/* ── RESPONSIVE 980px ── */
@media(max-width:980px){
  nav{gap:14px}
  .three,.four,.resource-grid{grid-template-columns:repeat(2,1fr)}
  .hero-grid,.split-grid,.urgency-grid,.cta-grid{grid-template-columns:1fr}
  .hero-alert{justify-self:start;max-width:100%}
  .hero{min-height:auto}
  .proof-grid{grid-template-columns:repeat(2,1fr)}
  .section-head{display:block}
  .section-head > p{margin-top:14px}
  .footer-grid{grid-template-columns:repeat(2,1fr)}
}

/* ── RESPONSIVE 720px ── */
@media(max-width:720px){
  .container{width:min(100% - 28px,1180px)}
  .topbar-inner{height:40px}
  .topbar-inner > span{max-width:70%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .nav-wrap{height:70px}
  .menu{display:block}
  nav{display:none;position:absolute;top:108px;left:14px;right:14px;background:#fff;padding:14px;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);flex-direction:column;align-items:stretch}
  nav.open{display:flex}
  nav a{padding:10px}
  .hero-grid{padding:70px 0}
  .hero h1{font-size:2.5rem}
  .hero-copy > p{font-size:16px}
  .hero-alert{max-width:none}
  .hero-alert-stat{flex-wrap:wrap}
  .proof-grid,.three,.four,.policy-grid,.resource-grid,.bt-grid,.footer-grid{grid-template-columns:1fr}
  .urgency-box{flex-direction:column;gap:40px!important}
  .urgency-box > div[style*="width:1px"]{width:100%!important;height:1px!important;margin:10px 0}
  .bt-term{white-space:normal;width:auto}
  .proof-grid > div{border-right:0;border-bottom:1px solid var(--line)}
  .section{padding:72px 0}
  .urgency,.cta-band{padding:72px 0}
  .footer-bottom{display:block}
  .footer-bottom span{display:block;margin:5px 0}
  .cookie{left:10px;right:10px}
  .hero-bg{background-position:65% center}
}
