/* ═══════════════════════════════════════════════════
   GUSTAVO MORENO — ENERGÍA NUEVA v3.0
   Main CSS · Diseño completo
═══════════════════════════════════════════════════ */

:root {
  --g: #3DDB10;
  --g2: #2AAD07;
  --gdd: #0D3B10;
  --gd: #1B5E20;
  --gm: #145217;
  --gl: rgba(61, 219, 16, .12);
  --white: #fff;
  --dark: #0a0a0a;
  --gray: #6b7280;
  --font: 'Outfit', system-ui, sans-serif;
  --fd: 'Barlow Condensed', sans-serif;
  --r: 14px;
  --r2: 20px;
  --nav-h: 72px;
  --trans: .4s cubic-bezier(.4, 0, .2, 1);
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: var(--font);
  background: #fff;
  color: #111;
  overflow-x: hidden
}

img,
video {
  max-width: 100%;
  display: block
}

a {
  text-decoration: none;
  color: inherit
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit
}

/* ── BODY WORDPRESS RESET ── */
.gm-body {
  margin: 0;
  padding: 0
}

.gm-body * {
  box-sizing: border-box
}

/* Eliminar estilos de bloque de WordPress */
.gm-body .wp-block-group,
.gm-body .wp-site-blocks,
.gm-body .entry-content {
  all: unset
}

/* ── CONTAINER ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px
}

/* ══════════════════════════════════
   NAVBAR
══════════════════════════════════ */
#gm-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(13, 59, 16, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(61, 219, 16, .15);
  height: var(--nav-h);
  transition: background var(--trans);
}

#gm-nav.scrolled {
  background: rgba(8, 30, 10, .98)
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nlogo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none
}

.nlogo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px
}

.nlogo-text .l1 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .7)
}

.nlogo-text .l2 {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--g)
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px
}

.nav-links a {
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .25s;
}

.nav-links a:hover {
  color: #fff;
  background: rgba(61, 219, 16, .1)
}

.nav-links a.btn-nav {
  background: var(--g);
  color: #000;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
}

.nav-links a.btn-nav:hover {
  background: var(--g2);
  transform: scale(1.03)
}

/* Hamburger */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}

.ham span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--trans);
}

.ham.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.ham.active span:nth-child(2) {
  opacity: 0
}

.ham.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100vh;
  background: var(--gdd);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.hero-photo {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 55%;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
      rgba(13, 59, 16, 0) 0%,
      rgba(13, 59, 16, .35) 45%,
      rgba(13, 59, 16, .85) 65%,
      rgba(13, 59, 16, 1) 90%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px 80px;
}

.hero-grid {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.hero-logo {
  width: 100%;
  height: auto;
  max-width: 560px;
  display: block;
}

.hero-tarjeton {
  height: clamp(80px, 12vw, 120px);
  width: auto;
  display: block;
}

.h-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(61, 219, 16, .15);
  border: 1px solid rgba(61, 219, 16, .3);
  color: rgba(255, 255, 255, .85);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  padding: 8px 18px;
  border-radius: 999px;
  width: fit-content;
}

.h-pill-dot {
  width: 6px;
  height: 6px;
  background: var(--g);
  border-radius: 50%;
  animation: blink 1.5s infinite
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.h-title {
  margin: 0 0 15px;
  width: 100%;
}

.tarjeton-wrap {
  margin-bottom: 10px
}

.tarjeton {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--gdd);
  border: 2px solid var(--g);
  border-radius: 12px;
  overflow: hidden;
}

.tarjeton-num {
  background: var(--g);
  padding: 8px 16px;
  font-family: var(--fd);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gdd);
  line-height: 1;
  letter-spacing: -.03em;
}

.tarjeton-label {
  padding: 4px 16px;
  font-family: var(--fd);
  font-size: .7rem;
  font-weight: 900;
  color: var(--g);
  letter-spacing: .12em;
  text-transform: uppercase;
  line-height: 1.2;
}

.h-tagline-row {
  display: flex;
  align-items: center;
  gap: 12px
}

.h-tagline-line {
  width: 36px;
  height: 2px;
  background: var(--g)
}

.h-tagline {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--g)
}

.h-desc {
  color: rgba(255, 255, 255, .85);
  font-size: 18px;
  line-height: 1.8;
  max-width: 500px
}

.h-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center
}

.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--g);
  color: #000;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 32px;
  border-radius: 999px;
  transition: var(--trans);
}

.btn-p:hover {
  background: var(--g2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61, 219, 16, .4)
}

.btn-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  padding: 16px 28px;
  border-radius: 999px;
  transition: var(--trans);
}

.btn-g:hover {
  background: rgba(255, 255, 255, .18);
  transform: translateY(-2px)
}

.h-stats {
  display: flex;
  gap: 48px;
  padding-top: 12px;
  align-items: flex-start;
}

.hst {
  display: flex;
  flex-direction: column;
  gap: 6px
}

.hst-n {
  font-size: 38px;
  font-weight: 900;
  color: var(--g);
  line-height: 1.1;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hst-l {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, .7);
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, .4);
  animation: bounce .6s ease infinite alternate;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .4))
}

@keyframes bounce {
  to {
    transform: translateX(-50%) translateY(6px)
  }
}

/* ══════════════════════════════════
   SECCIONES GENERALES
══════════════════════════════════ */
section {
  padding: 100px 0
}

.sec-header {
  text-align: center;
  margin-bottom: 64px
}

.sec-tag {
  display: inline-block;
  background: var(--gl);
  border: 1px solid rgba(61, 219, 16, .25);
  color: var(--g2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 16px
}

.sec-h2 em {
  color: var(--g2);
  font-style: normal
}

.sec-sub {
  color: var(--gray);
  font-size: 19px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto
}

/* ══════════════════════════════════
   SOBRE
══════════════════════════════════ */
#sobre {
  background: #f8faf8
}

.sobre-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
}

.sobre-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 24px)
}

.sobre-card {
  background: #fff;
  border-radius: var(--r2);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
  border: 1px solid rgba(61, 219, 16, .12);
}

.sobre-top {
  text-align: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 20px
}

.s-avatar-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 16px;
  border: 3px solid var(--g);
  position: relative;
  background: var(--gdd);
}

.s-avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.s-avatar-fallback {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--gdd);
  color: var(--g);
  font-size: 24px;
  font-weight: 900;
}

.s-name {
  font-size: 21px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px
}

.s-role {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 12px
}

.s-badge {
  display: inline-block;
  background: var(--gdd);
  color: var(--g);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: 999px;
}

.scred {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  padding: 24px 0;
  border-top: 1px solid #f5f5f5;
}

.scred-ic {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: var(--gl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.scred-ic svg {
  width: 20px;
  height: 20px;
  stroke: var(--g2)
}

.scred-t {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.scred-s {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.6;
}

.sobre-right {
  padding-top: 8px
}

.stag {
  display: inline-block;
  color: var(--g2);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px
}

.sh2 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px
}

.sh2 em {
  color: var(--g2);
  font-style: normal
}

.sp {
  color: #444;
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 16px
}

/* Video */
.gm-video-wrap {
  margin-top: 28px;
  border-radius: var(--r2);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .15);
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.gm-video-inner {
  position: relative
}

.gm-video-inner video {
  width: 100%;
  display: block;
  aspect-ratio: 9/16;
  object-fit: cover;
  background: #000;
}

.gm-video-controls {
  position: absolute;
  bottom: 16px;
  right: 16px;
  display: flex;
  gap: 10px;
}

.gm-video-btn,
.gm-video-mute {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  transition: var(--trans);
}

.gm-video-btn:hover,
.gm-video-mute:hover {
  background: rgba(0, 0, 0, .8)
}

.gm-video-btn svg,
.gm-video-mute svg {
  width: 20px;
  height: 20px
}

/* ══════════════════════════════════
   LEYES
══════════════════════════════════ */
#leyes {
  background: #fff
}

.laws-seq-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.law-seq-card {
  background: #fff;
  border: 1px solid #e8eae8;
  border-radius: var(--r);
  padding: 20px;
  transition: var(--trans);
  cursor: default;
}

.law-seq-card:hover {
  border-color: var(--g);
  box-shadow: 0 4px 20px rgba(61, 219, 16, .12);
  transform: translateY(-2px)
}

.law-row-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px
}

.law-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.law-icon svg {
  width: 22px;
  height: 22px
}

.law-title {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin-bottom: 2px
}

.law-num {
  font-size: 14px;
  color: var(--g2);
  font-weight: 600;
  letter-spacing: .5px
}

.law-body-inner {
  font-size: 16px;
  color: #555;
  line-height: 1.65
}

/* ══════════════════════════════════
   PILARES
══════════════════════════════════ */
#pilares {
  background: var(--gd)
}

.pilares-inner {
  text-align: center
}

.pilar-header {
  margin-bottom: 56px
}

.pilar-ey {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px
}

.pilar-ey-line {
  height: 1px;
  width: 48px;
  background: rgba(255, 255, 255, .3)
}

.pilar-ey span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase
}

.pilar-h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px
}

.pilar-h2 em {
  color: var(--g);
  font-style: normal
}

.pilar-sub {
  color: rgba(255, 255, 255, .65);
  font-size: 18px
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  text-align: left
}

.picard {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r2);
  padding: 28px;
  transition: var(--trans);
}

.picard:hover {
  background: rgba(255, 255, 255, .1);
  transform: translateY(-4px)
}

.pi-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.pi-icon svg {
  width: 26px;
  height: 26px
}

.pi-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px
}

.pi-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .65);
  line-height: 1.65
}

.pquote {
  margin-top: 56px;
  padding: 32px 40px;
  background: rgba(255, 255, 255, .06);
  border-left: 4px solid var(--g);
  border-radius: 0 var(--r) var(--r) 0;
  text-align: left;
  max-width: 700px;
}

.pq-text {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 12px
}

.pq-author {
  font-size: 15px;
  color: var(--g);
  font-weight: 600
}

/* ══════════════════════════════════
   LOGROS
══════════════════════════════════ */
#logros {
  background: #f8faf8
}

.logros-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px
}

.locard {
  background: #fff;
  border: 1px solid #eaeeea;
  border-radius: var(--r2);
  padding: 32px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--trans);
}

.locard:hover {
  border-color: var(--g);
  box-shadow: 0 6px 24px rgba(61, 219, 16, .1);
  transform: translateY(-3px)
}

.lo-ic {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--gdd);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lo-ic svg {
  width: 26px;
  height: 26px;
  stroke: var(--g)
}

.lo-t {
  font-size: 19px;
  font-weight: 800;
  color: #111;
  margin-bottom: 8px
}

.lo-p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6
}

/* Metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--gdd);
  border-radius: var(--r2);
  padding: 40px;
  text-align: center;
}

.mi-n {
  font-size: 48px;
  font-weight: 900;
  color: var(--g);
  line-height: 1
}

.mi-l {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, .6);
  text-transform: uppercase;
  margin-top: 6px
}

/* ══════════════════════════════════
   ÚNETE
══════════════════════════════════ */
#unete {
  background: var(--gdd)
}

.unete-centered {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px
}

.unete-h2 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1
}

.unete-h2 em {
  color: var(--g);
  font-style: normal
}

.unete-lead {
  font-size: 20px;
  color: rgba(255, 255, 255, .75);
  line-height: 1.8
}

.unete-lead strong {
  color: #fff
}

.num-badge {
  display: inline-block;
  background: var(--g);
  color: #000;
  font-size: 22px;
  font-weight: 900;
  padding: 2px 14px;
  border-radius: 8px;
}

.unete-tarjeton {
  margin: 8px 0
}

.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 999px;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(37, 211, 102, .3);
}

.wa-btn:hover {
  background: #1ebe5b;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, .45)
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: #050f05;
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 32px
}

.foot-logo-banner {
  text-align: center;
  margin-bottom: 48px
}

.foot-logo-banner img {
  max-height: 80px;
  margin: 0 auto
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px
}

.flogo {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px
}

.flogo span {
  color: var(--g)
}

.fslogan {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--g);
  margin-bottom: 12px;
  text-transform: uppercase
}

.fdesc {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 16px
}

.fbadges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap
}

.fb-g,
.fb-d {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px
}

.fb-g {
  background: var(--gdd);
  color: var(--g);
  border: 1px solid var(--g)
}

.fb-d {
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .6);
  border: 1px solid rgba(255, 255, 255, .1)
}

.ft {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px
}

.fnav {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.fnav a {
  font-size: 15px;
  color: rgba(255, 255, 255, .55);
  transition: .2s
}

.fnav a:hover {
  color: var(--g)
}

.fci {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px
}

.fci svg {
  width: 16px;
  height: 16px;
  stroke: var(--g);
  min-width: 16px
}

.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px
}

.sl {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
}

.sl svg {
  width: 16px;
  height: 16px;
  stroke: rgba(255, 255, 255, .6);
  fill: none
}

.sl:hover {
  background: var(--gdd);
  border-color: var(--g)
}

.sl:hover svg {
  stroke: var(--g)
}

/* TikTok & X (filled icons) */
.sl svg[fill="currentColor"] {
  stroke: none;
  fill: rgba(255, 255, 255, .6)
}

.sl:hover svg[fill="currentColor"] {
  fill: var(--g)
}

.fsocial-handle {
  font-size: 12px;
  color: rgba(255, 255, 255, .35)
}

.foot-bot {
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.foot-copy {
  font-size: 14px;
  color: rgba(255, 255, 255, .35)
}

.foot-claim {
  font-size: 14px;
  color: var(--g);
  font-weight: 600
}

/* ══════════════════════════════════
   ANIMACIONES REVEAL
══════════════════════════════════ */
.reveal,
.r {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.revealed,
.r.revealed {
  opacity: 1;
  transform: none
}

/* Delays */
.d1 {
  transition-delay: .1s
}

.d2 {
  transition-delay: .2s
}

.d3 {
  transition-delay: .3s
}

.d4 {
  transition-delay: .4s
}

.d5 {
  transition-delay: .5s
}

.d6 {
  transition-delay: .6s
}

.d7 {
  transition-delay: .7s
}

.d8 {
  transition-delay: .8s
}

.d9 {
  transition-delay: .9s
}

/* Pop animation */
.pop {
  animation: none
}

.pop.revealed {
  animation: pop .5s cubic-bezier(.4, 0, .2, 1) forwards
}

@keyframes pop {
  0% {
    transform: scale(.85);
    opacity: 0
  }

  60% {
    transform: scale(1.05)
  }

  100% {
    transform: scale(1);
    opacity: 1
  }
}

/* ══════════════════════════════════
   RESPONSIVE
══════════════════════════════════ */
@media(max-width:1024px) {
  .hero-inner {
    padding: 0 32px
  }

  .sobre-grid {
    grid-template-columns: 320px 1fr;
    gap: 32px
  }

  .foot-grid {
    grid-template-columns: 1fr 1fr
  }
}

@media(max-width:992px) {

  /* Hero tablet/mobile ajustable */
  #hero {
    min-height: auto;
    display: block;
    padding-top: var(--nav-h)
  }

  .hero-photo {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
    opacity: 1;
  }

  .hero-overlay {
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(13, 59, 16, .6) 40%,
        var(--gdd) 90%);
  }

  .hero-inner {
    padding: 0
  }

  .hero-content {
    width: 100%;
    padding: 60px 24px;
    gap: 20px;
    text-align: center;
    align-items: center
  }

  .h-pill {
    margin: 0 auto
  }

  .hero-logo {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-tarjeton {
    height: 52px;
    margin: 0 auto;
  }

  .hero-content {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }

  .h-title,
  .tarjeton-wrap,
  .h-tagline-row,
  .h-desc,
  .h-ctas,
  .h-stats {
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .h-tagline-line {
    display: none !important;
  }
}

@media(max-width:768px) {
  :root {
    --nav-h: 60px
  }

  section {
    padding: 72px 0
  }

  /* Nav mobile */
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    background: rgba(8, 30, 10, .98);
    backdrop-filter: blur(16px);
    padding: 16px 24px 24px;
    border-bottom: 1px solid rgba(61, 219, 16, .15);
  }

  .nav-links.open {
    display: flex
  }

  .nav-links a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    border-radius: 0
  }

  .nav-links a.btn-nav {
    border: none;
    margin-top: 8px;
    text-align: center;
    border-radius: 999px;
    padding: 12px
  }

  .ham {
    display: flex
  }

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .s-avatar-photo {
    width: 130px;
    height: 130px;
  }

  .s-name {
    font-size: 24px;
  }

  .s-role {
    font-size: 18px;
  }

  .s-badge {
    font-size: 14px;
    padding: 8px 20px;
  }

  .scred-t {
    font-size: 18px;
  }

  .scred-s {
    font-size: 16px;
  }

  .sh2 {
    font-size: 32px;
    line-height: 1.2;
    margin-top: 20px;
  }

  .sp {
    font-size: 18px;
  }

  .sobre-sticky {
    position: static
  }

  /* Laws */
  .laws-seq-wrapper {
    grid-template-columns: 1fr
  }

  /* Pilares */
  .pilares-grid {
    grid-template-columns: 1fr 1fr
  }

  /* Logros */
  .logros-grid {
    grid-template-columns: 1fr
  }

  /* Metrics */
  .metrics {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 24px
  }

  .mi-n {
    font-size: 40px
  }

  /* Footer */
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px
  }
}

@media(max-width:480px) {
  .h-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .pilares-grid {
    grid-template-columns: 1fr
  }

  .foot-grid {
    grid-template-columns: 1fr
  }

  .foot-bot {
    flex-direction: column;
    text-align: center
  }

  .pquote {
    padding: 24px 20px
  }
}

/* ==========================================================================
   POPUP INSTRUCCIÓN DE VOTO (DISEÑO REAL)
   ========================================================================== */
#gm-vote-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  /* Más oscuro para resaltar */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#gm-vote-popup.active {
  display: flex;
  animation: fadeInPopup 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vote-popup-content {
  background: #080a0c;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  width: 100%;
  max-width: 440px;
  padding: 50px 24px 30px;
  position: relative;
  text-align: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* Tablet */
@media (min-width: 768px) {
  .vote-popup-content {
    max-width: 90%;
    padding: 50px 32px 30px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .vote-popup-content {
    max-width: 900px;
    padding: 50px 40px 35px;
  }
}
}

/* Desktop */
@media (min-width: 1024px) {
  .vote-popup-content {
    max-width: 800px;
    padding: 50px 40px 35px;
  }
}

.vote-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: all 0.3s;
  z-index: 10;
}

.vote-popup-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  transform: rotate(90deg);
}

.vote-popup-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  line-height: 1.1;
  letter-spacing: -0.5px;
  padding: 0 40px;
  /* Evita que el texto llegue hasta el botón de cierre */
}

.vote-popup-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 30px;
  line-height: 1.4;
  padding: 0 10px;
}

.tarjeton-guide-container {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 4px solid #fff;
  width: 100%;
  max-width: 100%;
}

.tarjeton-form {
  background: #fff;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.tarjeton-form iframe {
  width: 100% !important;
  min-height: 650px;
  border: none;
  display: block;
  max-width: none;
}

@keyframes fadeInPopup {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Móviles */
@media (max-width: 480px) {
  .vote-popup-content {
    padding: 45px 20px 25px;
    border-radius: 28px;
  }
}