/* ============================================================
   UDEH — UI Profesional
   Pantone 349 C · 186 C · 116 C
   Montserrat + Open Sans
   ============================================================ */

:root {
  /* Pantone-inspired palette */
  --verde:        #006747;   /* Pantone 349 C */
  --verde-dark:   #004d35;
  --verde-light:  #e6f2ed;
  --rojo:         #C8102E;   /* Pantone 186 C */
  --rojo-dark:    #9b0e26;
  --amarillo:     #FEDD00;   /* Pantone 116 C */
  --amarillo-dark:#d4b800;
  --negro:        #1a1a1a;   /* Carbón */
  --blanco:       #ffffff;
  --gris-50:      #f9fafb;
  --gris-100:     #f3f4f6;
  --gris-200:     #e5e7eb;
  --gris-400:     #9ca3af;
  --gris-600:     #4b5563;

  --font-heading: 'Montserrat', system-ui, sans-serif;
  --font-body:    'Open Sans', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.10);

  --radius:     12px;
  --radius-lg:  16px;
  --ease:       cubic-bezier(.4, 0, .2, 1);
  --header-h:   76px;

  --video-w: 478;
  --video-h: 850;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal--delay { transition-delay: .12s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .875rem;
  letter-spacing: .03em;
  border: none;
  cursor: pointer;
  transition: all .25s var(--ease);
}

.btn--cta {
  background: var(--amarillo);
  color: var(--negro);
  box-shadow: 0 4px 16px rgba(254,221,0,.35);
}
.btn--cta:hover {
  background: #ffe433;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(254,221,0,.4);
}

.btn--afiliate {
  background: var(--rojo);
  color: var(--blanco);
  padding: .65rem 1.25rem;
  font-size: .8rem;
}
.btn--afiliate:hover {
  background: var(--rojo-dark);
  transform: translateY(-1px);
}

.btn--full { width: 100%; }

.btn--outline {
  background: rgba(255,255,255,.15);
  color: var(--negro);
  border: 1.5px solid rgba(0,103,71,.25);
  backdrop-filter: blur(4px);
}
.btn--outline:hover {
  background: var(--verde);
  color: var(--blanco);
  border-color: var(--verde);
  transform: translateY(-2px);
}

/* ---- Section utilities ---- */
.section { padding: 5.5rem 0; }
.section--light { background: var(--gris-50); }
.section--green { background: var(--verde); color: var(--blanco); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--verde);
  margin-bottom: .75rem;
}

.section-label--light { color: var(--amarillo); }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--negro);
  line-height: 1.25;
  margin-bottom: .75rem;
}

.section-title--light { color: var(--blanco); }

.section-desc {
  font-size: 1.05rem;
  color: var(--gris-600);
  line-height: 1.75;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .875rem;
  color: var(--verde);
  transition: gap .2s;
}
.link-arrow::after { content: '→'; }
.link-arrow:hover { gap: .65rem; color: var(--verde-dark); }

/* ============================================================
   HEADER — Blanco, limpio, fijo
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--blanco);
  border-bottom: 1px solid var(--gris-200);
  transition: box-shadow .3s var(--ease);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.header__brand { flex-shrink: 0; }

.header__logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
  justify-content: center;
}

.header__nav a {
  padding: .5rem .85rem;
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  color: var(--negro);
  border-radius: 6px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.header__nav a:hover {
  color: var(--verde);
  background: var(--verde-light);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.header__search {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1.5px solid var(--gris-200);
  border-radius: 8px;
  color: var(--negro);
  cursor: pointer;
  transition: all .2s;
}

.header__search svg { width: 18px; height: 18px; }

.header__search:hover {
  border-color: var(--verde);
  color: var(--verde);
  background: var(--verde-light);
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.header__menu-btn span {
  display: block;
  width: 22px; height: 2px;
  background: var(--negro);
  border-radius: 2px;
  transition: .3s;
}

.header__mobile-nav {
  display: none;
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: .25rem;
  border-top: 1px solid var(--gris-200);
  background: var(--blanco);
}

.header__mobile-nav.open { display: flex; }

.header__mobile-nav a {
  padding: .75rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .9rem;
  border-radius: 8px;
  transition: background .2s;
}

.header__mobile-nav a:hover { background: var(--gris-100); }

/* ---- Search overlay ---- */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26,26,26,.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
}

.search-overlay[hidden] { display: none; }

.search-overlay__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--blanco);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.search-overlay__box input {
  width: 100%;
  padding: .85rem 2.5rem .85rem 1rem;
  border: 1.5px solid var(--gris-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s;
}

.search-overlay__box input:focus { border-color: var(--verde); }

.search-overlay__close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--gris-400);
  cursor: pointer;
}

.search-overlay__results {
  margin-top: .75rem;
  max-height: 240px;
  overflow-y: auto;
}

.search-overlay__results a {
  display: block;
  padding: .65rem .75rem;
  font-size: .9rem;
  border-radius: 6px;
  transition: background .2s;
}

.search-overlay__results a:hover { background: var(--verde-light); color: var(--verde); }

/* ============================================================
   HERO — Overlay moderno multicapa
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  margin-top: var(--header-h);
  overflow: hidden;
}

/* Fondo con zoom suave */
.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__bg-image {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  animation: heroKenBurns 18s ease-in-out infinite alternate;
  transform-origin: center center;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.06); }
}

/* Overlay en capas */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__overlay-base {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      118deg,
      rgba(255, 255, 255, 0.94) 0%,
      rgba(255, 255, 255, 0.82) 20%,
      rgba(230, 242, 237, 0.55) 38%,
      rgba(0, 103, 71, 0.35) 58%,
      rgba(0, 77, 53, 0.72) 100%
    ),
    linear-gradient(
      to top,
      rgba(0, 50, 35, 0.95) 0%,
      rgba(0, 77, 53, 0.78) 30%,
      rgba(0, 103, 71, 0.45) 55%,
      rgba(0, 103, 71, 0.2) 75%,
      transparent 90%
    );
}

.hero__overlay-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 80% at 80% 50%, rgba(0, 103, 71, 0.55) 0%, rgba(0, 77, 53, 0.3) 45%, transparent 72%),
    radial-gradient(ellipse 50% 60% at 70% 70%, rgba(0, 103, 71, 0.4) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 85%, rgba(254, 221, 0, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 30% 40% at 92% 12%, rgba(200, 16, 46, 0.1) 0%, transparent 55%);
  mix-blend-mode: multiply;
}

.hero__overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 80% at 50% 50%,
    transparent 40%,
    rgba(26, 26, 26, 0.18) 100%
  );
}

.hero__overlay-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Franja de colores institucionales */
.hero__accent-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  height: 4px;
}

.hero__accent-bar-line { flex: 1; }
.hero__accent-bar-line--green  { background: var(--verde); }
.hero__accent-bar-line--yellow { background: var(--amarillo); }
.hero__accent-bar-line--red    { background: var(--rojo); }

/* Layout principal */
.hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.9fr 1.25fr;
  gap: 2rem;
  align-items: flex-end;
  padding: 3rem 1.5rem 4rem;
  min-height: calc(92vh - var(--header-h));
  min-height: calc(92dvh - var(--header-h));
}

/* Panel glassmorphism */
.hero__panel {
  max-width: 560px;
  align-self: center;
}

.hero__panel-inner {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  box-shadow:
    0 4px 24px rgba(0, 103, 71, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--verde);
  background: rgba(0, 103, 71, 0.08);
  border: 1px solid rgba(0, 103, 71, 0.12);
  padding: .4rem .85rem .4rem .5rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero__eyebrow-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.8vw, 3.25rem);
  font-weight: 800;
  color: var(--negro);
  line-height: 1.1;
  margin-bottom: .65rem;
  letter-spacing: -0.02em;
}

.hero__title-highlight {
  position: relative;
  display: inline-block;
  color: var(--verde);
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: .08em;
  width: 100%;
  height: .12em;
  background: linear-gradient(90deg, var(--amarillo), var(--amarillo) 60%, transparent);
  border-radius: 2px;
  opacity: .7;
  z-index: -1;
}

.hero__subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
  color: var(--blanco);
  background: var(--verde);
  padding: .3rem .85rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(0, 103, 71, 0.25);
}

.hero__lead {
  font-size: 1.05rem;
  color: var(--gris-600);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  max-width: 440px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 103, 71, 0.12);
}

.hero__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1.1;
}

.hero__stat span {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gris-400);
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(0, 103, 71, 0.15);
}

/* Visual del candidato */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: stretch;
  padding-bottom: .5rem;
}

.hero__visual::before {
  content: '';
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 78%;
  background: radial-gradient(
    ellipse at center bottom,
    rgba(0, 103, 71, 0.95) 0%,
    rgba(0, 77, 53, 0.85) 40%,
    rgba(0, 50, 35, 0.5) 70%,
    transparent 100%
  );
  border-radius: 50% 50% 12% 12%;
  z-index: 0;
  filter: blur(2px);
}

.hero__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 55%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 77, 53, 0.6) 50%,
    rgba(0, 50, 35, 0.9) 100%
  );
  border-radius: 0 0 24px 24px;
  z-index: 0;
}

.hero__visual-frame {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  margin-bottom: -1rem;
}

.hero__visual-frame::before {
  content: '';
  position: absolute;
  inset: -16px -16px 50px;
  border: 3px solid rgba(254, 221, 0, 0.55);
  border-radius: 24px;
  pointer-events: none;
}

.hero__visual-frame img {
  width: 100%;
  min-height: 480px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center bottom;
  border-radius: 16px;
  background: transparent;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.35));
  transform: scale(1.12);
  transform-origin: center bottom;
}

.hero__visual-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-left: 4px solid var(--rojo);
}

.hero__visual-badge span {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--verde);
  margin-bottom: .15rem;
}

.hero__visual-badge strong {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  color: var(--negro);
}

/* Indicador scroll */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  opacity: .6;
}

.hero__scroll span {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blanco);
}

.hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--blanco), transparent);
  animation: heroScrollPulse 2s ease-in-out infinite;
}

@keyframes heroScrollPulse {
  0%, 100% { opacity: .4; transform: scaleY(.8); }
  50%       { opacity: 1;  transform: scaleY(1); }
}

/* ============================================================
   SPLIT — Nuestra Cauri
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split__text p {
  color: var(--gris-600);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}

.split__text .link-arrow { margin-top: .5rem; }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.split__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--blanco);
  padding: .85rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--verde);
}

.split__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
}

.split__badge span {
  font-size: .75rem;
  color: var(--gris-600);
  font-weight: 600;
}

/* ============================================================
   CANDIDATOS
   ============================================================ */
.mayor-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--blanco);
  border: 1.5px solid var(--verde);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}

.mayor-card:hover { box-shadow: var(--shadow-md); }

.mayor-card__photo {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--negro);
  aspect-ratio: 1;
}

.mayor-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.mayor-card__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--rojo);
  margin-bottom: .5rem;
}

.mayor-card__body h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--negro);
  margin-bottom: .35rem;
}

.mayor-card__role {
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  color: var(--verde);
  margin-bottom: 1rem;
}

.mayor-card__bio {
  color: var(--gris-600);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.candidates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.candidate-card {
  position: relative;
  background: var(--blanco);
  border: 1.5px solid rgba(0,103,71,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all .3s var(--ease);
}

.candidate-card:hover {
  border-color: var(--verde);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.candidate-card__number {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: .3rem;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 800;
  color: var(--gris-400);
}

.candidate-card__star {
  width: 14px;
  height: 14px;
  color: var(--amarillo);
}

.candidate-card__photo {
  width: 120px;
  height: 120px;
  margin: .5rem auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gris-100);
  background: var(--gris-100);
}

.candidate-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(1.05);
}

.candidate-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gris-400);
  background: linear-gradient(135deg, var(--gris-100), var(--gris-200));
  filter: grayscale(100%);
}

.candidate-card__name {
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 700;
  color: var(--negro);
  line-height: 1.35;
  margin-bottom: .35rem;
}

.candidate-card__role {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  color: var(--verde);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============================================================
   BARRA DE VALORES
   ============================================================ */
.values-bar {
  position: relative;
  padding: 3.5rem 0;
  background: var(--blanco);
  overflow: hidden;
}

.values-bar__stripes {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--verde) 0px,
    var(--verde) 25%,
    var(--rojo) 25%,
    var(--rojo) 50%,
    var(--verde) 50%,
    var(--verde) 75%,
    var(--rojo) 75%,
    var(--rojo) 100%
  );
}

.values-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 1rem;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-lg);
  transition: transform .25s;
}

.value-item:hover { transform: translateY(-3px); }

.value-item--green { background: var(--verde-light); }
.value-item--red   { background: #fde8ec; }

.value-item__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blanco);
  border: 1.5px solid var(--gris-200);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.value-item__icon svg { width: 28px; height: 28px; }

.value-item--green .value-item__icon { color: var(--verde); }
.value-item--red   .value-item__icon { color: var(--rojo); }

.value-item span {
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--negro);
  line-height: 1.4;
  max-width: 160px;
}

/* ============================================================
   PLAN DE GOBIERNO
   ============================================================ */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.plan-card {
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: all .3s var(--ease);
}

.plan-card:hover {
  border-color: var(--verde);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.plan-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.plan-card__icon svg { width: 24px; height: 24px; }
.plan-card__icon--green { background: var(--verde-light); color: var(--verde); }

.plan-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--negro);
  margin-bottom: .6rem;
}

.plan-card p {
  font-size: .9rem;
  color: var(--gris-600);
  line-height: 1.7;
}

/* ============================================================
   VIDEO
   ============================================================ */
.video-block {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.video-block__text p {
  color: var(--gris-600);
  line-height: 1.8;
  margin-top: .75rem;
  max-width: 420px;
}

.video-frame {
  width: min(320px, 80vw);
  aspect-ratio: var(--video-w) / var(--video-h);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--negro);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--verde);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   TRANSPARENCIA
   ============================================================ */
.transparency {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.transparency__text {
  color: rgba(255,255,255,.85);
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}

.transparency__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .6rem;
  color: rgba(255,255,255,.9);
  font-size: .95rem;
}

.transparency__list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 6px; height: 6px;
  background: var(--amarillo);
  border-radius: 50%;
}

.transparency__stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.transparency__stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
}

.transparency__stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--amarillo);
  line-height: 1;
  margin-bottom: .35rem;
}

.transparency__stat span {
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.contact-form {
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--negro);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--gris-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: .95rem;
  background: var(--gris-50);
  transition: all .2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--verde);
  background: var(--blanco);
  box-shadow: 0 0 0 3px rgba(0,103,71,.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: var(--blanco);
  border: 1px solid var(--gris-200);
  border-left: 4px solid var(--verde);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.info-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--verde);
  margin-bottom: .3rem;
}

.info-card p {
  font-size: .9rem;
  color: var(--gris-600);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--negro);
  color: var(--blanco);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 3rem 0;
}

.footer__logo {
  height: 56px;
  width: auto;
  border-radius: 8px;
  margin-bottom: .75rem;
}

.footer__brand p {
  font-size: .9rem;
  opacity: .8;
}

.footer__slogan {
  margin-top: .35rem;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  color: var(--amarillo) !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}

.footer__links a {
  font-size: .85rem;
  opacity: .75;
  transition: opacity .2s, color .2s;
}

.footer__links a:hover {
  opacity: 1;
  color: var(--amarillo);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: .8rem;
  opacity: .5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .header__menu-btn { display: flex; }

  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .candidates-grid { grid-template-columns: repeat(2, 1fr); }
  .values-bar__grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .video-block { grid-template-columns: 1fr; }
  .video-frame { margin: 0 auto; }
  .transparency { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }

  .hero { min-height: auto; }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero__panel { max-width: 100%; }

  .hero__panel-inner { padding: 2rem 1.5rem; }

  .hero__visual { order: -1; padding-bottom: 0; }

  .hero__visual-frame {
    width: min(380px, 92vw);
    margin-bottom: 0;
  }

  .hero__visual-frame img {
    min-height: 380px;
    transform: scale(1.08);
  }

  .hero__overlay-base {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94) 0%,
        rgba(230, 242, 237, 0.7) 35%,
        rgba(0, 103, 71, 0.55) 65%,
        rgba(0, 50, 35, 0.88) 100%
      );
  }

  .hero__scroll { display: none; }

  .hero__stats { justify-content: center; }

  .hero__actions { justify-content: center; }

  .hero__panel-inner { text-align: center; }

  .hero__lead { margin-left: auto; margin-right: auto; }

  .hero__eyebrow { margin-left: auto; margin-right: auto; }

  .mayor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mayor-card__photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .candidates-grid { grid-template-columns: 1fr; }
  .values-bar__grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer__links { justify-content: center; }

  .header__actions .btn--afiliate { display: none; }
}

@media (max-width: 480px) {
  .header__logo { height: 46px; }
  .hero__stats { gap: .75rem; }
  .hero__stat strong { font-size: 1rem; }
  .hero__visual-frame { width: min(340px, 95vw); }
  .hero__visual-frame img { min-height: 340px; transform: scale(1.05); }
}
