/* ============================================================
   Green Renovable — Sitio web
   ============================================================ */

:root{
  --gr-dark: #004752;
  --gr-dark-2: #00676E;
  --gr-yellow: #E0FF00;
  --gr-blue: #0082FF;
  --gr-gray: #88898D;
  --gr-ink: #0E1B1E;
  --gr-bg: #F7F6F2;
  --gr-white: #FFFFFF;
  --gr-line: #E6E5DF;
  --radius: 14px;
  --radius-lg: 22px;
}

*{ box-sizing: border-box; }
html, body{
  margin: 0; padding: 0;
  background: var(--gr-bg);
  color: var(--gr-ink);
  font-family: 'Work Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

.container{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ====== Botones ====== */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn.lg{ padding: 15px 28px; font-size: 16px; }
.btn.full{ width: 100%; justify-content: center; }
.btn-primary{ background: var(--gr-yellow); color: var(--gr-dark); border-color: var(--gr-yellow); }
.btn-primary:hover{ background: #d2f000; transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--gr-bg);
  border-color: rgba(255,255,255,.25);
}
.btn-ghost:hover{ background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-ghost-dark{
  background: transparent; color: var(--gr-dark);
  border-color: var(--gr-dark);
  padding: 10px 20px;
  font-size: 14px;
}
.btn-ghost-dark:hover{ background: var(--gr-dark); color: var(--gr-bg); }

/* ====== NAV ====== */
.nav{
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,242,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gr-line);
}
.nav-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.nav-logo img{ height: 28px; }
.nav-links{
  display: flex; gap: 28px;
  justify-content: center;
  font-size: 14.5px;
  font-weight: 500;
  color: #2a3438;
}
.nav-links a{ position: relative; padding: 4px 0; }
.nav-links a:hover{ color: var(--gr-dark); }
.nav-links a:hover::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gr-yellow);
}

/* ====== HERO ====== */
.hero{
  position: relative;
  background: var(--gr-dark);
  color: var(--gr-bg);
  overflow: hidden;
  padding: 110px 0 0;
}
.hero-bg{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bolt{
  position: absolute;
  right: -120px;
  top: 60px;
  height: 720px;
  width: auto;
  opacity: .12;
}
.hero-inner{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 60px;
  position: relative; z-index: 2;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gr-yellow);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(224,255,0,.08);
  border: 1px solid rgba(224,255,0,.2);
  margin-bottom: 32px;
}
.dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gr-yellow);
  box-shadow: 0 0 12px var(--gr-yellow);
}
.hero-title{
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 800;
  line-height: .96;
  letter-spacing: -.025em;
  margin: 0 0 28px;
  max-width: 16ch;
}
.hero-title-accent{
  color: var(--gr-yellow);
  font-style: italic;
  font-weight: 700;
}
.hero-lede{
  font-size: 18px;
  line-height: 1.6;
  max-width: 60ch;
  color: rgba(247,246,242,.8);
  margin: 0 0 40px;
}
.hero-actions{
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 80px;
}
.hero-stats{
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  gap: 20px;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hs-num{
  font-size: 44px; font-weight: 800;
  color: var(--gr-yellow);
  letter-spacing: -.025em;
  line-height: 1;
  margin-bottom: 6px;
}
.hs-num small{ font-size: 18px; font-weight: 600; margin-left: 4px; color: rgba(247,246,242,.6); }
.hs-lbl{
  font-size: 13px;
  color: rgba(247,246,242,.65);
  letter-spacing: .04em;
}
.hs-sep{ width: 1px; height: 40px; background: rgba(255,255,255,.12); }

.hero-marquee{
  background: var(--gr-yellow);
  color: var(--gr-dark);
  overflow: hidden;
  padding: 22px 0;
  border-top: 1px solid var(--gr-dark);
  border-bottom: 1px solid var(--gr-dark);
}
.marquee-track{
  display: flex;
  gap: 40px;
  white-space: nowrap;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.01em;
  animation: scroll 25s linear infinite;
}
.marquee-track .bolt{ font-size: 24px; }
@keyframes scroll{
  to{ transform: translateX(-50%); }
}

/* ====== SECTION baseline ====== */
.section{ padding: 100px 0; }
.section-soft{ background: var(--gr-bg); }
.section-dark{ background: var(--gr-dark); color: var(--gr-bg); }
.section-head{ margin-bottom: 60px; max-width: 720px; }
.section-head.split{
  display: flex; justify-content: space-between; align-items: flex-end;
  max-width: none;
  gap: 32px;
  flex-wrap: wrap;
}
.section-label{
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gr-dark-2);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.section-label::before{ content: ""; width: 26px; height: 2px; background: var(--gr-yellow); }
.section-label.light{ color: var(--gr-yellow); }
.section-label.light::before{ background: var(--gr-yellow); }
.section-title{
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--gr-dark);
  margin: 0;
}
.section-title.light{ color: var(--gr-bg); }
.section-title .thin{
  display: inline-block;
  font-weight: 400;
  color: var(--gr-gray);
}
.section-title.light .thin{ color: rgba(247,246,242,.55); }
.section-title .thin.yellow{ color: var(--gr-yellow); font-style: italic; font-weight: 500; }

/* ====== BENEFICIOS ====== */
.benefit-row{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card{
  background: var(--gr-white);
  border: 1px solid var(--gr-line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.benefit-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0,71,82,.25);
}
.benefit-card.highlight{
  background: var(--gr-dark);
  color: var(--gr-bg);
  border-color: var(--gr-dark);
}
.bc-num{
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gr-dark-2); font-weight: 700;
  margin-bottom: 24px;
}
.benefit-card.highlight .bc-num{ color: var(--gr-yellow); }
.bc-icon{
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--gr-dark); color: var(--gr-yellow);
  border-radius: 16px;
  margin-bottom: 24px;
}
.benefit-card.highlight .bc-icon{ background: var(--gr-yellow); color: var(--gr-dark); }
.bc-icon svg{ width: 28px; height: 28px; }
.bc-title{
  font-size: 22px; font-weight: 700;
  margin: 0 0 10px;
  color: var(--gr-dark);
  letter-spacing: -.01em;
}
.benefit-card.highlight .bc-title{ color: var(--gr-bg); }
.bc-body{
  font-size: 15px;
  line-height: 1.55;
  color: #2a3438;
  margin: 0 0 28px;
}
.benefit-card.highlight .bc-body{ color: rgba(247,246,242,.85); }
.bc-tag{
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 12px;
  background: var(--gr-yellow);
  color: var(--gr-dark);
  border-radius: 8px;
  letter-spacing: -.005em;
}

/* ====== PRODUCTOS ====== */
.products-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 980px){
  .products-grid{ grid-template-columns: 1fr; }
}
.product{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  transition: all .25s;
}
.product:hover{
  background: rgba(255,255,255,.07);
  border-color: rgba(224,255,0,.4);
  transform: translateY(-4px);
}
.product.featured{
  background: var(--gr-yellow);
  color: var(--gr-dark);
  border-color: var(--gr-yellow);
}
.p-badge{
  position: absolute;
  top: 24px; right: 24px;
  background: var(--gr-dark); color: var(--gr-yellow);
  font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.p-num{
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gr-yellow); font-weight: 700;
  margin-bottom: 16px;
}
.product.featured .p-num{ color: var(--gr-dark); }
.p-head{
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 8px;
}
.p-name{
  font-size: 32px; font-weight: 700;
  margin: 0;
  letter-spacing: -.02em;
  color: var(--gr-bg);
}
.product.featured .p-name{ color: var(--gr-dark); }
.p-kind{
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: rgba(247,246,242,.7);
}
.product.featured .p-kind{ background: rgba(0,71,82,.12); color: var(--gr-dark); }
.p-body{
  font-size: 15px;
  line-height: 1.6;
  color: rgba(247,246,242,.75);
  margin: 0 0 20px;
}
.product.featured .p-body{ color: rgba(0,71,82,.85); }
.p-feats{
  list-style: none; padding: 0; margin: 0 0 28px;
  font-size: 14px;
  color: rgba(247,246,242,.85);
}
.product.featured .p-feats{ color: var(--gr-dark); }
.p-feats li{
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative; padding-left: 22px;
}
.product.featured .p-feats li{ border-color: rgba(0,71,82,.15); }
.p-feats li::before{
  content: "→";
  position: absolute; left: 0;
  color: var(--gr-yellow);
  font-weight: 700;
}
.product.featured .p-feats li::before{ color: var(--gr-dark); }
.p-link{
  font-size: 14px; font-weight: 600;
  color: var(--gr-yellow);
  letter-spacing: -.005em;
  display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.product.featured .p-link{ color: var(--gr-dark); }

/* ====== STEPS ====== */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.step{
  padding: 32px 20px 0 0;
  position: relative;
  border-top: 2px solid var(--gr-line);
}
.step-line{
  position: absolute; top: -2px; left: 0; right: 0;
  height: 2px; background: var(--gr-yellow);
  width: 0; transition: width .6s;
}
.step:hover .step-line{ width: 100%; }
.step-num{
  font-size: 13px; font-weight: 700;
  letter-spacing: .14em;
  color: var(--gr-dark-2);
  margin-bottom: 16px;
}
.step-title{
  font-size: 22px; font-weight: 700;
  color: var(--gr-dark);
  letter-spacing: -.01em;
  margin: 0 0 10px;
}
.step-body{
  font-size: 14.5px; line-height: 1.55;
  color: #2a3438;
  margin: 0;
}

/* ====== PROYECTOS ====== */
.projects-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.project{
  background: var(--gr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gr-line);
  transition: all .25s;
}
.project:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0,71,82,.25);
}
.proj-img{
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gr-dark) 0%, var(--gr-dark-2) 100%);
  display: grid; place-items: center;
}
.proj-img-placeholder{
  font-family: 'Work Sans', monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(224,255,0,.5);
  font-weight: 500;
}
.proj-kw{
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gr-yellow);
  color: var(--gr-dark);
  font-size: 14px; font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.proj-meta{ padding: 24px 24px 28px; }
.proj-tag{
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gr-dark-2);
  margin-bottom: 8px;
}
.proj-name{
  font-size: 20px; font-weight: 700;
  color: var(--gr-dark);
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
.proj-stats{
  font-size: 13px;
  color: var(--gr-gray);
}

/* ====== CALCULADORA ====== */
.calc-wrap{
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 60px;
  align-items: center;
}
.calc-lede{
  font-size: 17px;
  color: rgba(247,246,242,.7);
  line-height: 1.6;
  max-width: 40ch;
  margin-top: 24px;
}
.calc-card{
  background: var(--gr-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--gr-ink);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.3);
}
.calc-field{ display: block; margin-bottom: 24px; }
.calc-label{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gr-gray);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.calc-value{
  font-size: 32px;
  font-weight: 800;
  color: var(--gr-dark);
  letter-spacing: -.02em;
  margin-bottom: 12px;
}
.calc-card input[type="range"]{
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  cursor: pointer;
}
.calc-card input[type="range"]::-webkit-slider-runnable-track{
  height: 6px;
  background: var(--gr-line);
  border-radius: 3px;
}
.calc-card input[type="range"]::-moz-range-track{
  height: 6px;
  background: var(--gr-line);
  border-radius: 3px;
}
.calc-card input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px;
  background: var(--gr-yellow);
  border: 3px solid var(--gr-dark);
  border-radius: 50%;
  margin-top: -9px;
  cursor: pointer;
}
.calc-card input[type="range"]::-moz-range-thumb{
  width: 24px; height: 24px;
  background: var(--gr-yellow);
  border: 3px solid var(--gr-dark);
  border-radius: 50%;
}
.calc-track{
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--gr-gray);
  letter-spacing: .06em;
  margin-top: 6px;
}
.calc-segmented{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--gr-bg);
  padding: 4px;
  border-radius: 12px;
}
.seg{
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px;
  border: none;
  background: transparent;
  color: var(--gr-gray);
  border-radius: 8px;
  cursor: pointer;
  transition: all .15s;
}
.seg:hover{ color: var(--gr-dark); }
.seg.active{ background: var(--gr-dark); color: var(--gr-yellow); }
.calc-divider{ height: 1px; background: var(--gr-line); margin: 12px 0 20px; }
.calc-results{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.cr-lbl{
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gr-gray);
  margin-bottom: 6px;
}
.cr-val{
  font-size: 24px; font-weight: 800;
  color: var(--gr-dark);
  letter-spacing: -.015em;
}
.cr-val.small{ font-size: 16px; font-weight: 700; }

/* ====== HERO / Marquee viejo (DESACTIVADO, ahora la tira es de marcas) ====== */
.hero-marquee{ display: none; }

/* ====== PARTNERS / Brand marquee ====== */
.partners{
  background: var(--gr-bg);
  padding: 56px 0 0;
  border-bottom: 1px solid var(--gr-line);
  overflow: hidden;
}
.partners-container{
  text-align: center;
  margin-bottom: 36px;
}
.partners-head{
  display: flex; flex-direction: column;
  align-items: center;
  gap: 14px;
}
.partners-cert{
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--gr-dark);
  color: var(--gr-yellow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.005em;
  padding: 12px 22px;
  border-radius: 999px;
}
.partners-cert svg{ width: 18px; height: 18px; flex-shrink: 0; }
.cert-logo{
  height: 22px;
  width: auto;
  background: var(--gr-white);
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 2px;
}
.partners-lbl{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gr-gray);
}
.brand-marquee{
  background: var(--gr-white);
  border-top: 1px solid var(--gr-line);
  padding: 32px 0;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.brand-track{
  display: flex;
  align-items: center;
  gap: 80px;
  width: max-content;
  animation: brand-scroll 40s linear infinite;
}
.bm-logo{
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) contrast(.9);
  opacity: .65;
  transition: filter .3s, opacity .3s;
  flex-shrink: 0;
}
.bm-logo.bm-tall{ height: 56px; }
.bm-logo:hover{ filter: grayscale(0); opacity: 1; }
@keyframes brand-scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce){
  .brand-track{ animation-duration: 120s; }
}

/* ====== Credenciales — sin badge alt ====== */
.creds-badge.alt{ display: none; }
.about-grid{
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: start;
}
.about-body{
  font-size: 17px;
  line-height: 1.65;
  color: #2a3438;
  margin: 24px 0 0;
  max-width: 55ch;
}
.values{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.value{
  padding: 24px;
  background: var(--gr-bg);
  border-radius: var(--radius);
}
.v-icon{
  font-size: 24px; margin-bottom: 8px;
}
.v-name{
  font-size: 16px; font-weight: 700;
  color: var(--gr-dark);
  margin-bottom: 4px;
}
.v-body{
  font-size: 14px;
  color: var(--gr-gray);
  line-height: 1.5;
}

.about-side{ display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.creds-card{
  background: var(--gr-yellow);
  color: var(--gr-dark);
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.creds-card::before{
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(0,71,82,.06);
  border-radius: 50%;
}
.creds-badge{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gr-dark);
  color: var(--gr-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
  position: relative;
}
.creds-badges{
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 16px;
}
.creds-badge svg{ width: 14px; height: 14px; }
.creds-title{
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 0 14px;
  position: relative;
}
.creds-body{
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 24px;
  position: relative;
}
.creds-list{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
}
.creds-list li{
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 0;
  border-top: 1px solid rgba(0,71,82,.15);
}
.creds-list li:first-child{ border-top: none; padding-top: 0; }
.creds-list li span{
  display: grid; place-items: center;
  width: 20px; height: 20px;
  background: var(--gr-dark);
  color: var(--gr-yellow);
  border-radius: 50%;
  font-size: 11px; font-weight: 800;
  flex-shrink: 0;
}
.about-quote{
  background: var(--gr-dark);
  color: var(--gr-bg);
  padding: 32px;
  border-radius: var(--radius-lg);
  position: relative;
}
.aq-mark{
  font-size: 80px;
  line-height: 0.6;
  color: var(--gr-yellow);
  font-weight: 800;
  margin-bottom: 8px;
}
.aq-text{
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
  margin-bottom: 16px;
}
.aq-source{
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gr-yellow);
}

/* ====== FAQ ====== */
.faq-grid{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
}
.faq-lede{
  font-size: 15px;
  color: var(--gr-gray);
  margin-top: 20px;
}
.faq-list{ display: flex; flex-direction: column; gap: 8px; }
.faq-item{
  background: var(--gr-white);
  border: 1px solid var(--gr-line);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: border-color .2s;
}
.faq-item[open]{ border-color: var(--gr-dark); }
.faq-item summary{
  font-size: 17px;
  font-weight: 600;
  color: var(--gr-dark);
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  letter-spacing: -.005em;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary::after{
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--gr-dark);
  transition: transform .2s;
}
.faq-item[open] summary::after{ content: "−"; }
.faq-body{
  font-size: 15px;
  line-height: 1.6;
  color: #2a3438;
  padding-bottom: 22px;
  max-width: 70ch;
}

/* ====== CTA / CONTACTO ====== */
.section-cta{
  background: var(--gr-dark);
  color: var(--gr-bg);
  position: relative;
  overflow: hidden;
}
.section-cta::before{
  content: "";
  position: absolute;
  top: -150px; right: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(224,255,0,.12), transparent 70%);
  pointer-events: none;
}
.cta-wrap{
  max-width: 720px;
  position: relative; z-index: 2;
}
.cta-eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gr-yellow);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(224,255,0,.08);
  border: 1px solid rgba(224,255,0,.2);
  margin-bottom: 24px;
}
.dot-y{ background: var(--gr-yellow); box-shadow: 0 0 12px var(--gr-yellow); }
.cta-title{
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}
.cta-title-accent{ color: var(--gr-yellow); font-style: italic; font-weight: 500; }
.cta-lede{
  font-size: 17px;
  color: rgba(247,246,242,.7);
  max-width: 50ch;
  margin: 0 0 40px;
}
.cta-form{ display: flex; flex-direction: column; gap: 16px; }
.cta-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cta-field{ display: flex; flex-direction: column; gap: 6px; }
.cta-field span{
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(247,246,242,.55);
  font-weight: 600;
}
.cta-field input, .cta-field textarea{
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: var(--gr-bg);
  transition: all .15s;
}
.cta-field input:focus, .cta-field textarea:focus{
  outline: none;
  border-color: var(--gr-yellow);
  background: rgba(255,255,255,.08);
}
.cta-field input::placeholder, .cta-field textarea::placeholder{
  color: rgba(247,246,242,.35);
}
.cta-form .btn{ align-self: flex-start; margin-top: 12px; }
.cta-mini{
  font-size: 13px;
  color: rgba(247,246,242,.55);
  margin-top: 16px;
}
.cta-mini a{ color: var(--gr-yellow); text-decoration: underline; }

/* ====== WHATSAPP FAB ====== */
.wa-fab{
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 22px 14px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.005em;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.55), 0 4px 10px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-fab:hover{
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 36px -8px rgba(37,211,102,.65), 0 4px 12px rgba(0,0,0,.1);
  background: #1fbf57;
  color: white;
}
.wa-fab svg{
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.wa-fab-lbl{
  display: inline-block;
}
@media (max-width: 560px){
  .wa-fab{
    bottom: 18px;
    right: 18px;
    padding: 14px;
  }
  .wa-fab-lbl{ display: none; }
}

/* Subtle pulse to draw attention on first load */
.wa-fab::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-pulse 2.4s ease-out 1s infinite;
}
@keyframes wa-pulse{
  0%{ opacity: .8; transform: scale(1); }
  100%{ opacity: 0; transform: scale(1.4); }
}
/* ====== FOOTER ====== */
.footer{
  background: #001a1f;
  color: rgba(247,246,242,.7);
  padding: 60px 0 24px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo{ height: 32px; margin-bottom: 16px; }
.footer-tag{
  font-size: 14px;
  color: rgba(247,246,242,.5);
  margin: 0;
}
.footer-col-title{
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gr-yellow);
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-links{
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14.5px;
}
.footer-links a:hover{ color: var(--gr-yellow); }
.footer-foot{
  padding-top: 24px;
  display: flex; justify-content: space-between;
  font-size: 13px;
  color: rgba(247,246,242,.4);
  flex-wrap: wrap; gap: 8px;
}
.footer-foot a{ color: rgba(247,246,242,.5); }
.footer-foot a:hover{ color: var(--gr-yellow); }

/* ====== RESPONSIVE ====== */
@media (max-width: 980px){
  .nav-links{ display: none; }
  .nav-inner{ grid-template-columns: 1fr auto; }
  .hero-stats{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .hs-sep{ display: none; }
  .benefit-row,
  .products-grid,
  .projects-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr 1fr; }
  .calc-wrap,
  .about-grid,
  .faq-grid{ grid-template-columns: 1fr; gap: 40px; }
  .about-side{ position: static; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .section{ padding: 70px 0; }
}
@media (max-width: 560px){
  .container{ padding: 0 20px; }
  .nav-inner{ padding: 12px 20px; grid-template-columns: 1fr; justify-items: center; }
  .nav-cta{ display: none; }
  .nav-logo img{ height: 40px; }
  .steps{ grid-template-columns: 1fr; }
  .cta-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .values{ grid-template-columns: 1fr; }
  .marquee-track{ font-size: 22px; }
}

/* ===================== Botón WhatsApp en sección Contacto ===================== */
.btn-whatsapp{
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff; border: 0;
  padding: 18px 28px; border-radius: 999px; font-weight: 700;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35);
}
.btn-whatsapp:hover{ transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 211, 102, .45); color:#fff; }
.btn-whatsapp svg{ flex-shrink: 0; }

/* ===================== Proyectos: estado de carga + imagen dinámica ===================== */
.projects-loading{
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 16px;
  color: #6b7280;
  font-size: 15px;
}
.proj-img img{
  width: 100%; height: 100%; object-fit: cover; display: block;
  position: absolute; inset: 0;
}

/* ===================== Tarjeta de proyecto clickeable ===================== */
.project.is-clickable{ cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.project.is-clickable:hover{ transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.project.is-clickable:focus-visible{ outline: 3px solid #16a34a; outline-offset: 4px; }
.proj-gallery-badge{
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(0,0,0,.65); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .02em;
  backdrop-filter: blur(4px);
}

/* ===================== Lightbox / Galería ===================== */
.lightbox{
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(10, 12, 14, .94);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  animation: lb-fade .2s ease;
}
.lightbox.open{ display: flex; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lb-stage{
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  max-width: 1200px; width: 100%; max-height: 88vh;
  background: transparent;
}
.lb-img-wrap{
  display: flex; align-items: center; justify-content: center;
  background: #000; border-radius: 14px; overflow: hidden;
  min-height: 0;
}
.lb-img{ max-width: 100%; max-height: 88vh; object-fit: contain; display: block; }

.lb-info{
  background: #fff; border-radius: 14px; padding: 24px;
  color: #1f2937;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
}
.lb-tag{ font-size: 12px; color: #16a34a; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lb-title{ font-size: 22px; margin: 0; font-weight: 800; line-height: 1.2; }
.lb-counter{ font-size: 13px; color: #6b7280; }
.lb-specs{ list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.lb-specs li{ display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.lb-specs li:last-child{ border-bottom: 0; }
.lb-specs span{ color: #6b7280; }
.lb-specs b{ color: #1f2937; text-align: right; font-weight: 600; }

.lb-close, .lb-prev, .lb-next{
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: 0; border-radius: 50%;
  width: 48px; height: 48px; font-size: 30px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .15s ease, transform .15s ease;
  backdrop-filter: blur(8px);
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover{ background: rgba(255,255,255,.22); transform: scale(1.05); }
.lb-close{ top: 20px; right: 20px; }
.lb-prev{ left: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover{ transform: translateY(-50%) scale(1.05); }
.lb-next{ right: 24px; top: 50%; transform: translateY(-50%); }
.lb-next:hover{ transform: translateY(-50%) scale(1.05); }

@media (max-width: 860px){
  .lightbox{ padding: 12px; }
  .lb-stage{ grid-template-columns: 1fr; max-height: 95vh; gap: 12px; }
  .lb-img{ max-height: 50vh; }
  .lb-info{ padding: 18px; }
  .lb-title{ font-size: 18px; }
  .lb-prev{ left: 12px; width: 42px; height: 42px; font-size: 24px; }
  .lb-next{ right: 12px; width: 42px; height: 42px; font-size: 24px; }
  .lb-close{ top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; }
}

/* ===================== Partners: garantía 10 años + plus ===================== */
.cert-plus{
  display: inline-block;
  margin-left: 2px;
  font-weight: 800;
  color: #16a34a;
  font-size: 1.1em;
  vertical-align: middle;
}
.partners-cert-block{
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
}
.partners-cert-note{
  font-size: 12px;
  color: var(--gr-gray);
  font-weight: 500;
  letter-spacing: .02em;
}
