/* ==========================================================================
   CAMPAÑA DR. CLAUDIO DÍAZ DE VIVAR - CONCEJAL 2026
   Landing Page Oficial | Diseño Corporativo y Moderno
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & RESET
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Oficial del Flyer */
  --color-navy: #0b1c3e;
  --color-navy-dark: #061126;
  --color-navy-light: #162a52;
  --color-red: #e51d24;
  --color-red-dark: #c41219;
  --color-yellow: #f89e1b;
  --color-yellow-light: #fef3df;

  /* Superficies */
  --bg-page: #fbf9f5;
  --bg-card: #ffffff;
  --bg-card-subtle: #f8f6f1;

  /* Tipografía */
  --text-title: #0b1c3e;
  --text-main: #232c3d;
  --text-muted: #57657d;
  --text-white: #ffffff;

  /* Sombras y Bordes */
  --border-subtle: rgba(11, 28, 62, 0.08);
  --border-card: rgba(11, 28, 62, 0.1);
  --shadow-sm: 0 4px 14px rgba(11, 28, 62, 0.05);
  --shadow-md: 0 10px 28px -5px rgba(11, 28, 62, 0.09);
  --shadow-lg: 0 20px 45px -10px rgba(11, 28, 62, 0.15);
  --shadow-red: 0 10px 25px -5px rgba(229, 29, 36, 0.35);

  /* Radio & Transiciones */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Fuentes */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset básico */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
}

/* Contenedor */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   2. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

.btn-primary {
  background-color: var(--color-red);
  color: var(--text-white);
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  background-color: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -5px rgba(229, 29, 36, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline:hover {
  background-color: var(--color-navy);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. BARRA SUPERIOR & NAVEGACIÓN
   -------------------------------------------------------------------------- */
.top-announcement {
  background-color: var(--color-navy-dark);
  color: var(--text-white);
  padding: 0.55rem 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-announcement-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.announcement-badge {
  background-color: var(--color-red);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.announcement-text {
  flex-grow: 1;
  color: rgba(255, 255, 255, 0.9);
}

.announcement-ballot {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--color-yellow);
  letter-spacing: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(11, 28, 62, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Logo Oficial */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-navy);
  letter-spacing: -0.5px;
}

.logo-subname {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--color-navy);
  margin-top: 2px;
}

.logo-role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  font-style: italic;
  color: var(--color-red);
  margin-top: 1px;
}

/* Menú */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-red);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--color-red);
  border-radius: var(--radius-pill);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botón Menú Móvil */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--color-navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

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

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* --------------------------------------------------------------------------
   4. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  background-color: var(--bg-page);
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-skyline-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-position: right 60%;
  background-repeat: no-repeat;
  background-size: 55% auto;
  opacity: 0.045;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Retrato y Estampillas */
.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.stamps-column {
  position: absolute;
  top: 0.5rem;
  left: -0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  z-index: 4;
}

.stamp-item {
  width: 86px;
  height: 86px;
  filter: drop-shadow(0 6px 12px rgba(11, 28, 62, 0.12));
  transition: transform var(--transition-normal);
  cursor: pointer;
}

.stamp-item:hover {
  transform: scale(1.15) rotate(-3deg);
}

.stamp-1 { transform: rotate(-2deg); }
.stamp-2 { transform: rotate(3deg) translateX(12px); }
.stamp-3 { transform: rotate(-4deg); }
.stamp-4 { transform: rotate(2deg) translateX(8px); }

.candidate-photo-wrapper {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.candidate-hero-img {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  filter: drop-shadow(0 15px 35px rgba(11, 28, 62, 0.16));
}

/* Columna de Contenido */
.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-logos-top {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.logo-nos-une-hero {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.logo-pasion-top {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* Título */
.candidate-title-block {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 900;
  color: var(--color-navy);
  line-height: 0.98;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 8px;
  color: var(--color-navy);
  margin-top: 0.35rem;
  text-transform: uppercase;
}

.hero-role {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 900;
  font-style: italic;
  color: var(--color-red);
  line-height: 1.1;
  margin-top: 0.25rem;
  letter-spacing: -0.5px;
}

/* Tarjeta de Votación Oficial */
.voting-badge-card {
  background-color: var(--bg-card);
  border: 1px solid rgba(11, 28, 62, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.6rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.voting-badge-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(11, 28, 62, 0.06);
  padding-bottom: 0.6rem;
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.badge-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: 0.5px;
}

.voting-badges-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.ballot-graphic-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-lista-opcion-img {
  height: 96px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(11, 28, 62, 0.12));
  transition: transform var(--transition-normal);
}

.badge-lista-opcion-img:hover {
  transform: translateY(-2px) scale(1.04);
}

.ballot-box-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ballot-box {
  width: 98px;
  height: 98px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-normal);
}

.ballot-box:hover {
  transform: translateY(-3px) scale(1.03);
}

.ballot-box.red {
  background: linear-gradient(135deg, #ff2a2a, #e51d24);
  color: #ffffff;
}

.ballot-box.navy {
  background: linear-gradient(135deg, #13274e, #0b1c3e);
  color: #ffffff;
}

.ballot-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 2px;
}

.ballot-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 0.9;
}

.highlight-yellow {
  color: var(--color-yellow);
}

.logo-cheba-badge {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* Botones CTA */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   5. BANNER DE CITA / COMPROMISO DEL FLYER
   -------------------------------------------------------------------------- */
.quote-banner {
  background: linear-gradient(135deg, #0b1c3e 0%, #13274e 100%);
  color: var(--text-white);
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 3px 12px rgba(0,0,0,0.2);
}

.quote-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-yellow));
}

.quote-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 920px;
  position: relative;
  z-index: 2;
}

.quote-icon {
  font-size: 2.2rem;
  color: var(--color-yellow);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.95rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.quote-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-yellow);
  letter-spacing: 0.5px;
}

.quote-author span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

/* --------------------------------------------------------------------------
   6. SECCIONES COMUNES
   -------------------------------------------------------------------------- */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  background-color: rgba(229, 29, 36, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 0.75rem;
}

.section-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   7. PROPUESTAS (LOS 4 EJES DEL FLYER)
   -------------------------------------------------------------------------- */
.section-proposals {
  background-color: #ffffff;
}

.proposals-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.proposal-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.proposal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-navy);
  transition: width var(--transition-fast);
}

.proposal-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(229, 29, 36, 0.3);
  background-color: #ffffff;
}

.proposal-card:hover::before {
  width: 8px;
  background: var(--color-red);
}

.proposal-card-inner {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
}

.proposal-icon-wrapper {
  flex-shrink: 0;
  width: 90px;
  height: 90px;
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.proposal-card:hover .proposal-icon-wrapper {
  transform: scale(1.08) rotate(3deg);
  border-color: var(--color-yellow);
}

.proposal-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.proposal-content {
  flex-grow: 1;
}

.proposal-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.proposal-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.proposal-program {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy);
  background-color: rgba(11, 28, 62, 0.05);
  border: 1px solid rgba(11, 28, 62, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-red);
}

.proposal-program strong {
  color: var(--color-red);
  font-weight: 800;
}

@media (min-width: 992px) {
  .proposal-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   8. SECCIÓN DE VOTACIÓN Y BOLETA OFICIAL
   -------------------------------------------------------------------------- */
.section-voting {
  background-color: var(--bg-page);
}

.voting-display-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.official-ballot-showcase {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.ballot-card-top {
  background-color: var(--color-navy);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-align: center;
  word-break: break-word;
}

.ballot-card-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.8rem;
  align-items: center;
  flex-grow: 1;
}

.ballot-candidate-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 3px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.ballot-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ballot-data-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 0.25rem;
}

.ballot-data-role {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-red);
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.ballot-numbers-large {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ballot-tile {
  width: 85px;
  height: 85px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.ballot-tile.red {
  background: linear-gradient(135deg, #ff2a2a, #e51d24);
}

.ballot-tile.navy {
  background: linear-gradient(135deg, #13274e, #0b1c3e);
}

.tile-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 2px;
}

.tile-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 0.9;
}

.tile-number.yellow {
  color: var(--color-yellow);
}

.ballot-logos-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ballot-logo-item {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Banner de Equipo */
.team-official-banner {
  background-color: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.team-banner-tag {
  background-color: var(--color-red);
  color: #ffffff;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.team-banner-official-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   9. PIE DE PÁGINA CORPORATIVO
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-navy-dark);
  color: #ffffff;
  padding-top: 4.5rem;
  border-top: 4px solid var(--color-red);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo .logo-name {
  color: #ffffff;
  font-size: 1.5rem;
}

.footer-logo .logo-subname {
  color: rgba(255, 255, 255, 0.7);
}

.footer-logo .logo-role {
  color: var(--color-red);
}

.footer-quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1.25rem;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background-color: var(--color-red);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--color-yellow);
  transform: translateX(4px);
}

.footer-links i {
  font-size: 0.75rem;
  color: var(--color-red);
}

.footer-ballot-badge {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.f-ballot-item {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.f-ballot-item.red {
  background: var(--color-red);
}

.f-ballot-item.navy {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.f-ballot-item span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.f-ballot-item strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 0.9;
}

.f-ballot-item.navy strong {
  color: var(--color-yellow);
}

.footer-tags {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-yellow);
}

.footer-bottom {
  background-color: #030a17;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   10. BOTÓN VOLVER ARRIBA
   -------------------------------------------------------------------------- */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.back-to-top {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-red);
  transform: translateY(-3px);
}

/* --------------------------------------------------------------------------
   11. RESPONSIVE (MÓVIL, TABLET Y ESCRITORIO)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-visual {
    order: 1;
  }

  .candidate-hero-img {
    max-width: 380px;
  }

  .hero-content {
    order: 2;
    text-align: center;
    align-items: center;
  }

  .hero-logos-top {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .voting-badges-row {
    justify-content: center;
  }

  .voting-display-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .top-announcement {
    display: none;
  }

  .header-container {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .brand-logo {
    flex-shrink: 1;
    min-width: 0;
  }

  .logo-name {
    font-size: 1.15rem;
  }

  .logo-subname {
    letter-spacing: 2px;
    font-size: 0.55rem;
  }

  .logo-role {
    font-size: 0.72rem;
  }

  .header-actions {
    flex-shrink: 0;
  }

  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4.5px;
    width: 42px;
    height: 42px;
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 8px;
    box-shadow: var(--shadow-sm);
    z-index: 1001;
  }

  .mobile-toggle span {
    width: 22px;
    height: 2.5px;
    background-color: var(--color-navy);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease, visibility 0.35s ease;
    z-index: 999;
  }

  .main-nav.active {
    max-height: 300px;
    padding: 1.25rem 1.5rem;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.1rem;
  }

  .header-actions .btn {
    display: none;
  }

  /* Ocultar estampillas flotantes en móvil para centrar la foto del candidato */
  .stamps-column {
    display: none;
  }

  .hero-section {
    padding: 1.5rem 0 3rem;
  }

  .hero-container {
    gap: 1.5rem;
  }

  .hero-visual {
    order: 1;
    margin-bottom: 0.25rem;
  }

  .candidate-hero-img {
    max-width: 290px;
    width: 75%;
  }

  .hero-content {
    order: 2;
  }

  .hero-logos-top {
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .logo-nos-une-hero {
    height: 36px;
  }

  .logo-pasion-top {
    height: 38px;
  }

  .hero-title {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
  }

  .hero-subtitle {
    letter-spacing: 2.5px;
    font-size: 0.8rem;
  }

  .hero-role {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  }

  .voting-badge-card {
    padding: 1.25rem 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
  }

  .voting-badge-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
  }

  .voting-badges-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  .badge-lista-opcion-img {
    height: 82px;
  }

  .ballot-box-group {
    display: flex;
    gap: 0.65rem;
  }

  .ballot-box {
    width: 82px;
    height: 82px;
    border-radius: 16px;
  }

  .ballot-label {
    font-size: 0.72rem;
  }

  .ballot-number {
    font-size: 2.5rem;
  }

  .logo-cheba-badge {
    height: 36px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-size: 0.85rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .quote-banner {
    padding: 2.5rem 0;
  }

  .quote-text {
    font-size: 1.15rem;
  }

  .proposals-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .proposal-card {
    padding: 1.75rem 1.25rem;
  }

  .ballot-card-body {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 1.5rem 1.2rem;
  }

  .ballot-candidate-visual {
    max-width: 220px;
  }

  .ballot-numbers-large {
    justify-content: center;
  }

  .ballot-logos-row {
    justify-content: center;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .voting-badge-card {
    padding: 1rem 0.85rem;
  }

  .voting-badge-header {
    font-size: 0.68rem;
  }

  .badge-title {
    font-size: 0.68rem;
  }

  .badge-tag {
    font-size: 0.68rem;
  }

  .ballot-box {
    width: 80px;
    height: 80px;
    border-radius: 14px;
  }

  .ballot-label {
    font-size: 0.72rem;
  }

  .ballot-number {
    font-size: 2.5rem;
  }

  .proposal-card-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }

  .proposal-icon-wrapper {
    width: 76px;
    height: 76px;
  }

  .proposal-title {
    font-size: 1.18rem;
  }

  .proposal-text {
    font-size: 0.92rem;
  }
}


