/* =============================================================
   represuperior.com — CSS Principal
   Variables, Reset, Layout, Navbar, Hero, Secciones, Footer
   ============================================================= */

/* --- Variables de diseño institucional --- */
:root {
  --verde-esmeralda: #1B5E20;
  --verde-medio: #2E7D32;
  --verde-claro: #4CAF50;
  --verde-hero: #0d3b14;
  --dorado: #C8A951;
  --dorado-hover: #d4b96a;
  --blanco: #FFFFFF;
  --negro: #212121;
  --gris-texto: #555;
  --gris-claro: #f4f6f4;
  --whatsapp-verde: #25D366;
  --sombra-sm: 0 2px 8px rgba(0, 0, 0, .12);
  --sombra-md: 0 6px 24px rgba(0, 0, 0, .18);
  --sombra-lg: 0 16px 48px rgba(0, 0, 0, .22);
  --radio: 12px;
  --radio-lg: 20px;
  --trans: 0.3s ease;
  --font-titulo: 'Playfair Display', Georgia, serif;
  --font-cuerpo: 'Inter', system-ui, sans-serif;
}

/* --- Reset y base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-cuerpo);
  color: var(--negro);
  background: var(--blanco);
  overflow-x: hidden;
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* --- Utilidades --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--blanco);
}

section {
  padding: 5rem 0;
}

/* --- Tipografía --- */
.section-title {
  font-family: var(--font-titulo);
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--verde-esmeralda);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-title.text-white {
  color: var(--blanco);
}

.section-subtitle {
  color: var(--gris-texto);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(27, 94, 32, .1);
  color: var(--verde-esmeralda);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-hero .section-badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--blanco);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-badge--gold {
  background: rgba(200, 169, 81, .15);
  color: #8a7020;
}

/* --- Botones --- */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: all var(--trans);
}

.btn-primary {
  background: linear-gradient(135deg, var(--verde-medio), var(--verde-esmeralda));
  color: var(--blanco);
  box-shadow: 0 4px 16px rgba(27, 94, 32, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 94, 32, .45);
  background: linear-gradient(135deg, #388e3c, #1B5E20);
}

.btn-secondary {
  background: transparent;
  color: var(--blanco);
  border: 2px solid var(--blanco);
}

.btn-secondary:hover {
  background: var(--dorado);
  color: var(--blanco);
  border-color: var(--dorado);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(13, 59, 20, .96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  transition: background var(--trans);
}

.navbar {
  padding: .85rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  color: var(--blanco);
  font-weight: 700;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: .68rem;
  color: var(--dorado);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-link {
  color: rgba(255, 255, 255, .85);
  padding: .45rem .8rem;
  border-radius: 8px;
  font-size: .88rem;
  font-weight: 500;
  transition: all var(--trans);
}

.nav-link:hover,
.nav-link.active {
  color: var(--dorado);
  background: rgba(200, 169, 81, .12);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: all var(--trans);
}

/* ================================================================
   HERO — Layout 50/50
   ================================================================ */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--verde-hero);
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  width: 100%;
  min-height: 100vh;
}

.hero-left {
  flex: 1;
  width: 100%;
  background: linear-gradient(to right, rgba(13, 59, 20, 0.95) 0%, rgba(27, 94, 32, 0.75) 40%, transparent 60%);
  display: flex;
  align-items: center;
  padding: 8rem 3.5rem 5rem;
  position: relative;
  z-index: 2;
}

.hero-right {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200, 169, 81, .2);
  color: var(--dorado);
  padding: .35rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: var(--font-titulo);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--blanco);
  line-height: 1.15;
  margin-bottom: .75rem;
}

.hero-name-highlight {
  color: var(--dorado);
  display: block;
}

.hero-position {
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.hero-slogan-wrapper {
  margin-bottom: 2rem;
  min-height: 2rem;
}

.hero-slogan {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  color: var(--dorado);
  font-style: italic;
}

.typewriter-cursor {
  color: var(--dorado);
  animation: blink 1s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: 0
  }
}

.hero-chart-wrapper {
  margin-bottom: 1.5rem;
}

.chart-label {
  color: rgba(255, 255, 255, .65);
  font-size: .8rem;
  margin-bottom: .5rem;
}

.hero-chart-container {
  height: 120px;
}

.hero-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.counter-number {
  background: rgba(200, 169, 81, .15);
  border: 1px solid rgba(200, 169, 81, .35);
  border-radius: 12px;
  padding: .5rem 1.25rem;
}

.counter-value {
  font-family: var(--font-titulo);
  font-size: 2.2rem;
  color: var(--dorado);
  font-weight: 700;
}

.counter-label {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero right / slider */
.hero-slider,
.hero-no-image {
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
  position: relative;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 1;
  pointer-events: none;
}

.hero-slide-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, var(--verde-hero), transparent);
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 3;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: 2px solid rgba(255, 255, 255, .6);
  transition: all var(--trans);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--dorado);
  border-color: var(--dorado);
  transform: scale(1.3);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border-right: 3px solid var(--dorado);
  border-bottom: 3px solid var(--dorado);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: rotate(45deg) translateY(0)
  }

  50% {
    transform: rotate(45deg) translateY(6px)
  }
}

/* ================================================================
   PARTICLE CANVAS
   ================================================================ */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  width: 100%;
  height: 100%;
}

.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ================================================================
   SECCIÓN CHART (gestiones)
   ================================================================ */
.section-chart {
  background: var(--gris-claro);
}

.chart-section-container {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.chart-wrapper-large {
  flex: 1 1 400px;
  height: 320px;
}

.chart-legend-custom {
  flex: 0 0 220px;
}

.chart-legend-custom .legend-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.legend-dot {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* ================================================================
   SECCIÓN CONTADOR DOCENTES
   ================================================================ */
.section-counter {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

.section-counter-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--verde-esmeralda) 0%, var(--verde-hero) 100%);
}

.counter-section-inner {
  position: relative;
  z-index: 2;
}

.counter-big-number {
  font-family: var(--font-titulo);
  font-size: clamp(4rem, 10vw, 8rem);
  color: var(--dorado);
  display: block;
  line-height: 1;
}

.counter-display {
  margin: 1.5rem 0;
}

.counter-display--dual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.counter-block {
  text-align: center;
}

.counter-divider {
  width: 2px;
  height: 100px;
  background: rgba(200, 169, 81, .45);
  border-radius: 2px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .counter-divider {
    display: none;
  }

  .counter-display--dual {
    gap: 2rem;
  }
}

.counter-description {
  color: rgba(255, 255, 255, .8);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}

.counter-progress-bar {
  max-width: 500px;
  margin: 0 auto 1.5rem;
  height: 8px;
  background: rgba(255, 255, 255, .2);
  border-radius: 4px;
  overflow: hidden;
}

.counter-progress-fill {
  height: 100%;
  background: var(--dorado);
  width: 0;
  border-radius: 4px;
  transition: width 2s ease;
}

.counter-context {
  color: rgba(255, 255, 255, .65);
  font-size: .95rem;
}

/* ================================================================
   CARDS GENERALES + TILT
   ================================================================ */
.achievement-card,
.tilt-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 2rem;
  box-shadow: var(--sombra-sm);
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
  will-change: transform;
  display: flex;
  flex-direction: column;
}

.achievement-card:hover,
.tilt-card:hover {
  box-shadow: var(--sombra-lg);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: conic-gradient(from 0deg, var(--dorado), transparent 40%, var(--dorado) 70%, transparent);
  opacity: 0;
  transition: opacity var(--trans);
  pointer-events: none;
}

.tilt-card:hover .card-glow {
  opacity: .08;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.achievement-card--featured {
  border-left: 4px solid var(--dorado);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--verde-medio);
  margin-bottom: 1rem;
}

.card-title {
  font-family: var(--font-titulo);
  font-size: 1.1rem;
  color: var(--negro);
  margin-bottom: .75rem;
  line-height: 1.4;
}

.card-description {
  color: var(--gris-texto);
  font-size: .92rem;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  background: rgba(200, 169, 81, .15);
  color: #8a7020;
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
}

/* ================================================================
   SECCIÓN COWORKING
   ================================================================ */
.section-coworking {
  background: var(--gris-claro);
}

.coworking-inner {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.coworking-icon {
  font-size: 5rem;
  color: var(--verde-esmeralda);
  opacity: .15;
  flex-shrink: 0;
}

.coworking-text p {
  margin-bottom: 1rem;
  color: var(--gris-texto);
}

.coworking-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--blanco);
  border: 1px solid rgba(27, 94, 32, .15);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .88rem;
  color: var(--verde-esmeralda);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.section-cta {
  background: linear-gradient(135deg, var(--verde-esmeralda), var(--verde-hero));
  text-align: center;
  padding: 5rem 1rem;
}

.cta-title {
  font-family: var(--font-titulo);
  font-size: 2rem;
  color: var(--blanco);
  margin-bottom: .75rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================================================
   PAGE INNER (páginas internas)
   ================================================================ */
.page-inner {
  padding-top: 72px;
}

.page-hero {
  background: linear-gradient(135deg, var(--verde-hero) 0%, var(--verde-esmeralda) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blanco);
  margin-bottom: .75rem;
}

.page-subtitle {
  color: rgba(255, 255, 255, .75);
  font-size: 1.05rem;
}

/* ================================================================
   TIMELINE (Perfil)
   ================================================================ */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--verde-medio), var(--dorado));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item--right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  background: var(--verde-esmeralda);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: 4px solid var(--blanco);
  box-shadow: 0 0 0 3px var(--verde-medio);
  z-index: 2;
}

.timeline-marker--highlight {
  background: var(--dorado);
  color: var(--negro);
  box-shadow: 0 0 0 3px var(--dorado);
}

.timeline-content {
  max-width: 400px;
  width: 100%;
}

.timeline-date {
  font-size: .78rem;
  color: var(--dorado);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.timeline-title {
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  margin: .3rem 0 .5rem;
}

.timeline-desc {
  color: var(--gris-texto);
  font-size: .9rem;
}

.timeline-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .75rem;
  font-size: .75rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 50px;
  background: rgba(27, 94, 32, .1);
  color: var(--verde-esmeralda);
}

.timeline-tag--gold {
  background: rgba(200, 169, 81, .15);
  color: #8a7020;
}

.timeline-tag--green {
  background: rgba(27, 94, 32, .15);
  color: var(--verde-esmeralda);
}

/* ================================================================
   PROPUESTAS — TABS
   ================================================================ */
.proposals-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 2rem;
}

.proposal-tab {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.25rem;
  border-radius: 8px;
  border: 2px solid rgba(27, 94, 32, .2);
  color: var(--verde-esmeralda);
  font-size: .88rem;
  font-weight: 600;
  transition: all var(--trans);
}

.proposal-tab:hover {
  background: rgba(27, 94, 32, .08);
}

.proposal-tab.active {
  background: var(--verde-esmeralda);
  color: var(--blanco);
  border-color: var(--verde-esmeralda);
}

.proposal-panel {
  display: none;
}

.proposal-panel.active {
  display: block;
  animation: fadeIn .35s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.proposal-panel-inner {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  box-shadow: var(--sombra-md);
  border-top: 4px solid var(--verde-esmeralda);
}

.eje-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.eje-icon {
  width: 60px;
  height: 60px;
  background: var(--verde-esmeralda);
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.eje-title {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  color: var(--verde-esmeralda);
}

.eje-block {
  margin-bottom: 2rem;
}

.eje-block-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--negro);
}

.eje-items-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.eje-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: var(--gris-texto);
}

.eje-item .item-dot {
  color: var(--verde-claro);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .15rem;
}

.eje-block--indicators {
  background: rgba(200, 169, 81, .08);
  border-radius: 10px;
  padding: 1.25rem;
  border-left: 3px solid var(--dorado);
}

/* Imagen de eje en propuestas */
.eje-image-wrap {
  margin: -2.5rem -2.5rem 2rem -2.5rem;
  border-radius: var(--radio-lg) var(--radio-lg) 0 0;
  overflow: hidden;
  position: relative;
  max-height: 320px;
}

.eje-hero-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .5s ease;
}

.eje-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(13, 59, 20, .35) 100%);
  pointer-events: none;
}

.proposal-panel.active .eje-hero-img:hover {
  transform: scale(1.03);
}

/* Manifiesto blockquote */
.eje-manifesto {
  font-size: 1rem;
  color: var(--gris-texto);
  line-height: 1.75;
  font-style: italic;
  margin: 0;
  padding: .5rem 0 .5rem .75rem;
}

/* ================================================================
   AGENDA / CALENDAR
   ================================================================ */
.calendar-wrapper {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2rem;
  box-shadow: var(--sombra-md);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-sm);
  background: var(--blanco);
  border-top: 4px solid var(--event-color, var(--verde-esmeralda));
  transition: transform var(--trans), box-shadow var(--trans);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sombra-lg);
}

.event-card--past {
  opacity: .7;
}

.event-date-block {
  background: var(--event-color, var(--verde-esmeralda));
  color: var(--blanco);
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event-day {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.event-month {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.event-year {
  font-size: .78rem;
  opacity: .75;
}

.event-info {
  padding: 1.25rem;
  flex: 1;
}

.event-title {
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  margin-bottom: .75rem;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: .75rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--gris-texto);
}

.event-description {
  font-size: .88rem;
  color: var(--gris-texto);
}

.event-past-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(0, 0, 0, .5);
  color: var(--blanco);
  padding: .2rem .65rem;
  border-radius: 50px;
  font-size: .72rem;
  font-weight: 600;
}

/* Modal de evento */
.event-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: var(--sombra-lg);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .5);
  z-index: 1999;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--gris-texto);
  font-size: 1.25rem;
  padding: .35rem .6rem;
}

.event-modal-title {
  font-family: var(--font-titulo);
  font-size: 1.4rem;
  color: var(--verde-esmeralda);
  margin-bottom: 1rem;
}

/* ================================================================
   DOCUMENTOS
   ================================================================ */
.documents-category {
  margin-bottom: 3rem;
}

.documents-category-title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--verde-esmeralda);
  margin-bottom: 1.25rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid rgba(27, 94, 32, .15);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.document-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radio);
  border: 1px solid rgba(27, 94, 32, .12);
}

.doc-icon-wrapper {
  flex-shrink: 0;
}

.doc-icon {
  font-size: 2.5rem;
  color: #e53935;
}

.doc-name {
  font-weight: 700;
  margin-bottom: .3rem;
}

.doc-description {
  font-size: .85rem;
  color: var(--gris-texto);
  margin-bottom: .5rem;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .78rem;
  color: var(--gris-texto);
  margin-bottom: .75rem;
}

.doc-meta i {
  margin-right: .25rem;
}

.doc-download-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--verde-esmeralda);
  color: var(--blanco);
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--trans);
}

.doc-download-btn:hover {
  background: var(--verde-medio);
}

/* ================================================================
   PARTICIPA — Formulario
   ================================================================ */
.participate-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.form-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  box-shadow: var(--sombra-md);
}

.form-card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-card-header i {
  font-size: 2.5rem;
  color: var(--verde-esmeralda);
  margin-bottom: .75rem;
}

.form-card-header h2 {
  font-family: var(--font-titulo);
  font-size: 1.6rem;
  color: var(--verde-esmeralda);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: .4rem;
  font-size: .9rem;
}

.required {
  color: #c62828;
}

.input-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: .9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gris-texto);
  font-size: .9rem;
}

.input-icon--textarea {
  top: .9rem;
  transform: none;
}

.form-input {
  width: 100%;
  padding: .7rem 2.5rem .7rem 2.5rem;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-family: var(--font-cuerpo);
  font-size: .95rem;
  transition: border-color var(--trans), box-shadow var(--trans);
  background: var(--blanco);
}

.form-input:focus {
  outline: none;
  border-color: var(--verde-medio);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, .15);
}

.form-input.valid {
  border-color: var(--verde-claro);
}

.form-input.invalid {
  border-color: #c62828;
}

.form-textarea {
  resize: vertical;
}

.textarea-wrapper .input-icon {
  top: .9rem;
  transform: none;
}

.input-status {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
}

.textarea-wrapper .input-status {
  top: .9rem;
  transform: none;
}

.field-error {
  display: block;
  color: #c62828;
  font-size: .8rem;
  margin-top: .3rem;
}

.field-hint {
  display: block;
  color: var(--gris-texto);
  font-size: .78rem;
  margin-top: .3rem;
}

.char-count {
  font-size: .78rem;
  color: var(--gris-texto);
  text-align: right;
}

.form-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.form-submit {
  margin-top: 1.5rem;
}

.flash-message {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: .92rem;
}

.flash-success {
  background: #e8f5e9;
  color: #1B5E20;
  border: 1px solid #a5d6a7;
}

.flash-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

.flash-info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #90caf9;
}

/* Sidebar participa */
.participate-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.support-counter-card {
  background: linear-gradient(135deg, var(--verde-esmeralda), var(--verde-hero));
  color: var(--blanco);
  text-align: center;
  padding: 2rem;
  border-radius: var(--radio);
}

.support-icon {
  font-size: 2.5rem;
  color: var(--dorado);
  margin-bottom: .5rem;
}

.support-count-number {
  font-family: var(--font-titulo);
  font-size: 3.5rem;
  color: var(--dorado);
  line-height: 1;
}

.support-count-label {
  font-size: .85rem;
  margin-top: .5rem;
}

.participate-info-card,
.participate-quote-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 1.5rem;
  box-shadow: var(--sombra-sm);
}

.participate-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--verde-esmeralda);
  margin-bottom: .75rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.participate-info-card li {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .88rem;
  color: var(--gris-texto);
  margin-bottom: .4rem;
}

.participate-info-card li i {
  color: var(--verde-claro);
}

.participate-quote-card blockquote {
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  color: var(--verde-esmeralda);
  font-style: italic;
  margin-bottom: .5rem;
}

.participate-quote-card cite {
  font-size: .82rem;
  color: var(--gris-texto);
}

/* Encuesta */
.survey-form-wrapper {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  box-shadow: var(--sombra-md);
  max-width: 780px;
  margin: 0 auto;
}

.survey-question {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.survey-question:last-child {
  border-bottom: none;
}

.survey-question-text {
  font-weight: 600;
  margin-bottom: 1rem;
}

.survey-options {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.survey-option {
  display: flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  padding: .5rem;
  border-radius: 6px;
  transition: background var(--trans);
}

.survey-option:hover {
  background: rgba(27, 94, 32, .06);
}

.survey-scale {
  display: flex;
  gap: .5rem;
  flex-direction: column;
}

.scale-option {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scale-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--verde-esmeralda);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
}

input[type=radio]:checked+.scale-number {
  background: var(--verde-esmeralda);
  color: var(--blanco);
}

.scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: .78rem;
  color: var(--gris-texto);
  margin-top: .35rem;
}

/* Overlay éxito */
.success-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(27, 94, 32, .95);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-overlay[hidden] {
  display: none !important;
}

.success-overlay-content {
  color: var(--blanco);
}

.success-icon {
  font-size: 5rem;
  color: var(--dorado);
  margin-bottom: 1rem;
}

/* ================================================================
   COMO VOTAR
   ================================================================ */
.election-info-grid {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 3rem;
}

.election-info-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 2rem;
  box-shadow: var(--sombra-sm);
  text-align: center;
  flex: 1 1 180px;
  max-width: 200px;
  border-top: 3px solid var(--dorado);
}

.election-info-card i {
  font-size: 2rem;
  color: var(--verde-esmeralda);
  margin-bottom: .75rem;
}

.election-info-card h3 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gris-texto);
  margin-bottom: .35rem;
}

.election-info-card p {
  font-weight: 700;
  color: var(--negro);
}

.video-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra-lg);
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.procedure-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--gris-texto);
  line-height: 1.8;
}

.procedure-content ol {
  padding-left: 1.5rem;
}

.procedure-content li {
  margin-bottom: .75rem;
}

.requirements-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  box-shadow: var(--sombra-md);
  max-width: 820px;
  margin: 0 auto;
}

.requirements-content ul {
  padding-left: 1.25rem;
}

.requirements-content li {
  margin-bottom: .5rem;
  color: var(--gris-texto);
}

.vote-cta-card {
  background: linear-gradient(135deg, var(--verde-esmeralda), var(--verde-hero));
  color: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 3rem;
  box-shadow: var(--sombra-lg);
}

.vote-cta-icon {
  font-size: 3rem;
  color: var(--dorado);
  margin-bottom: 1rem;
}

.vote-cta-card h2 {
  font-family: var(--font-titulo);
  font-size: 1.8rem;
  margin-bottom: .5rem;
}

.vote-cta-card p {
  color: rgba(255, 255, 255, .8);
  margin-bottom: 1.5rem;
}

/* ================================================================
   CONTACTO
   ================================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radio);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-icon--email {
  background: rgba(27, 94, 32, .12);
  color: var(--verde-esmeralda);
}

.contact-icon--web {
  background: rgba(200, 169, 81, .15);
  color: var(--dorado);
}

.contact-icon--wa {
  background: rgba(37, 211, 102, .15);
  color: var(--whatsapp-verde);
}

.contact-card h3 {
  font-weight: 700;
  margin-bottom: .25rem;
}

.contact-card a {
  color: var(--verde-esmeralda);
  word-break: break-all;
}

.contact-card a:hover {
  color: var(--dorado);
}

.contact-card p {
  font-size: .88rem;
  color: var(--gris-texto);
  margin-top: .25rem;
}

.whatsapp-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  background: var(--whatsapp-verde);
  color: var(--blanco);
  padding: .5rem 1.1rem;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 600;
}

.contact-candidate-card {
  background: linear-gradient(135deg, var(--verde-esmeralda), var(--verde-hero));
  color: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 2rem;
  text-align: center;
}

.contact-candidate-name {
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.contact-candidate-role {
  font-size: .88rem;
  opacity: .8;
  line-height: 1.5;
}

.contact-candidate-uni {
  font-size: .82rem;
  color: var(--dorado);
  margin-top: .3rem;
}

.contact-divider {
  border-color: rgba(255, 255, 255, .2);
  margin: 1rem 0;
}

.contact-slogan {
  font-family: var(--font-titulo);
  font-size: .95rem;
  color: var(--dorado);
  font-style: italic;
}

.contact-info-note {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(27, 94, 32, .07);
  border-radius: var(--radio);
  padding: 1rem;
  font-size: .85rem;
  color: var(--gris-texto);
  margin-top: 1rem;
}

.contact-info-note i {
  color: var(--verde-esmeralda);
  margin-top: .15rem;
}

/* ================================================================
   PERFIL — extras
   ================================================================ */
.message-card {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 3rem;
  box-shadow: var(--sombra-md);
  position: relative;
  overflow: hidden;
  border-left: 5px solid var(--dorado);
  max-width: 900px;
  margin: 0 auto;
}

.message-quote-icon {
  font-size: 4rem;
  color: rgba(200, 169, 81, .2);
  position: absolute;
  top: 1rem;
  right: 2rem;
}

.message-content p {
  color: var(--gris-texto);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.principles-content {
  background: var(--gris-claro);
  border-radius: var(--radio-lg);
  padding: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
  border-left: 4px solid var(--verde-esmeralda);
  font-size: 1.02rem;
  color: var(--gris-texto);
  line-height: 1.85;
}

.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.publication-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  border-left: 3px solid var(--dorado);
}

.pub-icon {
  font-size: 1.5rem;
  color: var(--verde-esmeralda);
  flex-shrink: 0;
  margin-top: .15rem;
}

.pub-title {
  font-weight: 700;
  color: var(--negro);
  margin-bottom: .25rem;
}

.pub-title a {
  color: var(--verde-esmeralda);
}

.pub-title a:hover {
  color: var(--dorado);
}

.pub-authors {
  font-size: .88rem;
  font-style: italic;
  color: var(--gris-texto);
}

.pub-meta {
  font-size: .82rem;
  color: var(--gris-texto);
}

.section-principles {
  background: var(--gris-claro);
}

.section-publications {
  padding: 5rem 0;
}

.section-message {
  padding: 5rem 0;
  background: var(--gris-claro);
}

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--verde-esmeralda);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
}

.footer-name {
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  color: var(--blanco);
  margin-bottom: .4rem;
}

.footer-position {
  color: rgba(255, 255, 255, .7);
  font-size: .88rem;
  margin-bottom: .75rem;
}

.footer-slogan {
  color: var(--dorado);
  font-style: italic;
  font-size: .9rem;
}

.footer-heading {
  color: var(--dorado);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

.footer-links a:hover {
  color: var(--dorado);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
}

.footer-contact-list i {
  color: var(--dorado);
  margin-top: .2rem;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .8);
}

.footer-contact-list a:hover {
  color: var(--dorado);
}

.footer-admin-link {
  display: inline-flex;
  color: rgba(255, 255, 255, .3);
  margin-top: 1rem;
  font-size: .85rem;
}

.footer-admin-link:hover {
  color: var(--dorado);
}

.footer-bottom {
  background: rgba(0, 0, 0, .25);
  padding: 1.25rem 0;
}

.footer-copyright {
  color: rgba(255, 255, 255, .55);
  font-size: .82rem;
  text-align: center;
}

/* ================================================================
   WHATSAPP FLOTANTE
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 110px;
  right: 1.75rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .75rem;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  background: var(--whatsapp-verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, .45);
  color: var(--blanco);
  animation: waPulse 2.5s infinite;
  position: relative;
}

.whatsapp-btn::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--whatsapp-verde);
  opacity: 0;
  animation: waRipple 2.5s infinite;
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, .7);
    transform: scale(1.06);
  }
}

@keyframes waRipple {
  0% {
    transform: scale(1);
    opacity: .5;
  }

  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.whatsapp-bubble {
  background: var(--blanco);
  border-radius: 12px;
  padding: .75rem 1rem;
  box-shadow: var(--sombra-md);
  max-width: 220px;
  position: relative;
  animation: fadeIn .4s ease;
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -8px;
  right: 1.5rem;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid var(--blanco);
}

.whatsapp-bubble p {
  font-size: .88rem;
  color: var(--negro);
  margin: 0;
}

.bubble-close {
  position: absolute;
  top: .25rem;
  right: .4rem;
  font-size: 1rem;
  color: var(--gris-texto);
  line-height: 1;
}

/* ================================================================
   PROPUESTAS — IMAGEN A LA DERECHA
   ================================================================ */
.proposal-panel-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
}

.eje-content-col {
  min-width: 0;
}

.eje-image-wrap {
  grid-column: 2;
  grid-row: 1 / 10;
  position: sticky;
  top: 90px;
}

.eje-hero-img {
  width: 100%;
  border-radius: var(--radio-lg);
  object-fit: cover;
  box-shadow: var(--sombra-md);
  border: 3px solid rgba(27, 94, 32, .15);
  max-height: 380px;
}

@media (max-width: 768px) {
  .proposal-panel-inner {
    grid-template-columns: 1fr;
  }

  .eje-image-wrap {
    grid-column: 1;
    grid-row: auto;
    position: static;
    margin-bottom: 1rem;
  }

  .eje-hero-img {
    max-height: 220px;
  }
}

/* ================================================================
   REVEAL ON SCROLL
   ================================================================ */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  animation: fadeIn .8s ease forwards;
}

/* ================================================================
   EMPTY STATE + ERROR PAGE
   ================================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gris-texto);
}

.empty-state i {
  font-size: 4rem;
  color: rgba(27, 94, 32, .25);
  margin-bottom: 1rem;
}

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
}

.error-code {
  font-family: var(--font-titulo);
  font-size: 8rem;
  color: var(--verde-esmeralda);
  line-height: 1;
}

.error-content {
  text-align: center;
}

/* ================================================================
   RESPONSIVE — Tablet y Móvil
   ================================================================ */
@media (max-width: 1024px) {
  .hero-left {
    padding: 8rem 2.5rem 5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-block:last-child {
    grid-column: span 2;
  }

  .participate-grid {
    grid-template-columns: 1fr;
  }

  .participate-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 24px;
  }

  .timeline-item {
    padding-right: 0;
    padding-left: 5rem;
    justify-content: flex-start;
  }

  .timeline-item--right {
    padding-left: 5rem;
  }

  .timeline-marker {
    left: 24px;
  }
}

@media (max-width: 768px) {

  /* Nav móvil */
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(13, 59, 20, .97);
    flex-direction: column;
    padding: 1rem;
    gap: .25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--trans);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    padding: .75rem 1rem;
    display: block;
    border-radius: 8px;
  }

  /* Hero móvil */
  .hero-inner {
    flex-direction: column-reverse;
  }

  .hero-left {
    flex: none;
    padding: 2.5rem 1.5rem 3rem;
    order: 2;
  }

  .hero-right {
    flex: none;
    height: 55vw;
    max-height: 320px;
    order: 1;
    width: 100%;
  }

  .hero-gradient-overlay {
    background: linear-gradient(to bottom, transparent 50%, var(--verde-hero));
  }

  .hero-slide {
    position: absolute !important;
  }

  .hero-slide.active {
    position: relative !important;
    height: 100%;
  }

  /* Grid secciones */
  .achievements-grid {
    grid-template-columns: 1fr;
  }

  .coworking-inner {
    flex-direction: column;
  }

  .coworking-icon {
    display: none;
  }

  .chart-section-container {
    flex-direction: column;
  }

  .chart-legend-custom {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
  }

  /* Footer móvil */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-block:last-child {
    grid-column: span 1;
  }

  /* Calendar */
  .calendar-wrapper {
    padding: 1rem;
  }

  /* Propuestas tabs scroll horizontal */
  .proposals-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: .5rem;
  }

  .proposal-panel-inner {
    padding: 1.5rem;
  }

  /* Contacto */
  .contact-card {
    flex-direction: column;
  }

  /* Documentos */
  .documents-grid {
    grid-template-columns: 1fr;
  }

  /* Vote */
  .election-info-grid {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-chart-container {
    height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  .fade-in-up,
  .reveal-on-scroll,
  .whatsapp-btn,
  .scroll-arrow {
    animation: none !important;
  }
}

/* ================================================================
   17. CALENDARIO INTERACTIVO (FullCalendar)
   ================================================================ */
.calendar-wrapper {
  background: var(--blanco);
  border-radius: var(--radio-lg);
  padding: 1.5rem;
  box-shadow: var(--sombra-md);
  margin: 0 auto 3rem auto;
  min-height: 400px;
}

/* Forzar apariencia de calendario tradicional */
.calendar-wrapper .fc-theme-standard td,
.calendar-wrapper .fc-theme-standard th,
.calendar-wrapper .fc-theme-standard .fc-scrollgrid {
  border: 1px solid #333 !important;
}

/* Color gris para fines de semana (Sábado y Domingo) */
.calendar-wrapper .fc-day-sun,
.calendar-wrapper .fc-day-sat {
  background-color: #d1d5db !important;
}

/* Cabecera de días (Domingo, Lunes...) más destacada */
.calendar-wrapper .fc-col-header-cell {
  background-color: #f3f4f6;
  padding: 8px 0;
  font-family: var(--font-titulo);
  font-weight: 700;
  font-size: 1.1rem;
  color: #111;
}

/* Agrandar números de los días */
.calendar-wrapper .fc-daygrid-day-number {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 4px 8px;
  color: #000;
  text-decoration: none;
}

/* Ajuste del título principal (Mes y Año) */
.calendar-wrapper .fc-toolbar-title {
  font-family: var(--font-titulo);
  font-size: 2.2rem !important;
  color: #000;
  text-transform: capitalize;
}

/* Ajuste de eventos */
.calendar-wrapper .fc-event {
  cursor: pointer;
  border-radius: 4px;
  padding: 3px 5px;
  margin-top: 2px;
  margin-bottom: 2px;
  font-size: 0.9em;
  font-weight: 600;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.calendar-wrapper .fc-event:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}