/* =========================================================
   Fast Food Web - Estética Limpia de Comida Rápida
   - Fondo blanco, imágenes grandes, diseño visual
   - Colores vibrantes: rojo y amarillo
   ========================================================= */

:root{
  --bg: #ffffff;
  --surface: #f5f5f5;
  --card: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --brand: #7B3F00;
  --brand-2: #A0522D;
  --accent: #8B4513;
  --border: rgba(0,0,0,.12);
  --shadow: 0 8px 24px rgba(0,0,0,.1);
  --radius: 16px;
  --radius-sm: 12px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  padding-top: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: #ffffff;
  color:var(--text);
  line-height:1.6;
}

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

.container{
  width:min(1120px, calc(100% - 40px));
  margin:0 auto;
}

/* Header */
.site-header{
  position:static;
  z-index:50;
  background: #ffffff;
  border-bottom:3px solid var(--brand);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  padding: 0;
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:50px;
  padding:15px 20px 15px 5px;
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
}
.brand{
  display:flex; align-items:center; justify-content:center;
  padding: 15px;
  border-radius: 50%;
  transition: all .3s ease;
  flex-shrink: 0;
  position: relative;
  background: #000000;
  width: 140px;
  height: 140px;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.brand::after {
  display: none;
}
.brand:hover{
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.brand:hover::after{
  opacity: 1;
}
.brand-logo{
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
}
.brand:hover .brand-logo{
  filter: drop-shadow(0 6px 16px rgba(160,82,45,.6));
}
.nav{
  display:flex; gap:40px; align-items:center; flex-wrap:wrap;
}

/* Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: 10px;
  cursor: pointer;
  z-index: 100;
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  position: relative;
}
.menu-toggle:hover {
  background: var(--brand);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(123,63,0,.3);
}
.menu-icon {
  position: relative;
  width: 30px;
  height: 3px;
  background: var(--brand);
  border-radius: 3px;
  transition: all .3s ease;
}
.menu-toggle:hover .menu-icon {
  background: #ffffff;
}
.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  width: 30px;
  height: 3px;
  background: var(--brand);
  border-radius: 3px;
  transition: all .3s ease;
  left: 0;
}
.menu-toggle:hover .menu-icon::before,
.menu-toggle:hover .menu-icon::after {
  background: #ffffff;
}
.menu-icon::before {
  top: -9px;
}
.menu-icon::after {
  bottom: -9px;
}
.menu-toggle.active .menu-icon {
  background: transparent;
}
.menu-toggle.active .menu-icon::before {
  transform: rotate(45deg);
  top: 0;
}
.menu-toggle.active .menu-icon::after {
  transform: rotate(-45deg);
  bottom: 0;
}
.nav a{
  padding:0;
  border-radius:0;
  color:#1a1a1a;
  font-weight:700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border:none;
  background: transparent;
  transition: color .3s ease;
  position: relative;
}
.nav a::before {
  display: none;
}
.nav a:hover::before {
  left: 100%;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand);
  transition: width .3s ease;
}
.nav a:hover{
  color: var(--brand);
}
.nav a:hover::after{
  width: 100%;
}
.nav a.active{
  color: var(--brand);
}
.nav a.active::after{
  width: 100%;
}

/* Responsive Menu */
@media (max-width: 768px) {
  body {
    padding-top: 0;
  }
  .navbar {
    padding: 20px 20px 20px 10px;
  }
  .brand {
    width: 100px;
    height: 100px;
    padding: 10px;
  }
  .brand-logo {
    height: 70px;
  }
  .menu-toggle {
    display: flex;
  }
  .hero {
    padding: 40px 0;
  }
  .hero-content {
    padding: 50px 24px;
  }
  .hero h1 {
    margin: 20px 0 16px;
  }
  .hero p {
    font-size: 18px;
    margin-bottom: 28px;
  }
  .nav {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    margin-left: 0;
    padding: 30px 20px;
    gap: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,.15);
    border-top: 3px solid var(--brand);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 99;
  }
  .nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav a {
    width: 100%;
    text-align: center;
    padding: 0;
    color: #1a1a1a;
    font-size: 18px;
  }
  .nav a::after {
    left: 50%;
    transform: translateX(-50%);
    width: 0;
  }
  .nav a:hover,
  .nav a.active {
    color: var(--brand);
  }
  .nav a:hover::after,
  .nav a.active::after {
    width: 60px;
  }
}

/* Hero */
.hero{
  padding:60px 0 60px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:0;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}
.hero-card{
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(80,40,0,0.92) 100%), url('../img/madera.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  overflow:hidden;
  position:relative;
  text-align: center;
  border: 1px solid rgba(123,63,0,.3);
}
.hero-content{
  position:relative;
  padding:70px 40px;
  max-width: 900px;
  margin: 0 auto;
}
.kicker{
  display:inline-flex;
  gap:12px; align-items:center;
  padding:14px 28px;
  border-radius:8px;
  background: rgba(160,82,45,.25);
  border: 2px solid var(--brand-2);
  color: #ffffff;
  font-weight:800;
  font-size:14px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
}
.kicker-dot{
  width:12px; height:12px; border-radius:999px;
  background: var(--brand-2);
  box-shadow: 0 0 0 6px rgba(255,199,44,.35);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: .8; }
}
.hero h1{
  margin:28px 0 20px;
  font-size: clamp(40px, 5vw, 68px);
  line-height:1.15;
  letter-spacing:-1.5px;
  font-weight: 900;
  color: #ffffff;
}
.hero p{
  margin:0 0 32px;
  color: rgba(255,255,255,.95);
  font-size: 20px;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions{
  display:flex; gap:16px; flex-wrap:wrap; justify-content: center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight:900;
  border:3px solid transparent;
  transition: all .25s ease;
  font-size: 16px;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}
.btn-primary{
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(123,63,0,.4);
  border-color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-primary:hover{
  background: var(--brand-2);
  box-shadow: 0 10px 30px rgba(123,63,0,.5);
  border-color: var(--brand-2);
}
.btn-ghost{
  color: #ffffff;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.1);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.8);
}

/* Side panel - OCULTO por defecto para layout más visual */
.panel{
  display: none;
}

/* Article style - Similar al Hero pero diferente */
.article-header{
  padding:60px 0 60px;
  text-align:center;
}
.article-header::before {
  display: none;
}
.article-header .container {
  position: relative;
  z-index: 1;
  padding: 70px 40px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(80,40,0,0.92) 100%), url('../img/madera.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  border: 1px solid rgba(123,63,0,.3);
}
.article-kicker{
  display:inline-flex;
  gap:10px; align-items:center;
  padding:12px 24px;
  border-radius:8px;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.3);
  color: #ffffff;
  font-weight:800;
  font-size:13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.article-kicker-dot{
  width:10px; height:10px; border-radius:999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.3);
  animation: pulse 2s ease-in-out infinite;
}
.article-header h1{
  margin:0 0 20px;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height:1.2;
  letter-spacing:-1.2px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0,0,0,.3);
}
.article-meta{
  margin:0;
  color: rgba(255,255,255,.95);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}
.article-content{
  padding:60px 0;
}

.page-votacion .article-header {
  padding: 60px 0 30px;
}

.page-votacion .article-content {
  padding: 20px 0 60px;
}

/* Listado cards - Más espacio para imágenes */
.listado{padding: 20px 0 80px}
.grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr; gap: 24px;} }

.card{
  border:2px solid var(--border);
  background: #ffffff;
  border-radius: 12px;
  overflow:hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transform: translateY(0);
  transition: all .3s ease;
}
.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  border-color: var(--brand);
}
.card-media{
  height: 500px;
  background: var(--surface);
  overflow:hidden;
  position: relative;
}
.card-media img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  transition: transform .4s ease;
}
.card:hover .card-media img{transform: scale(1.08)}
@media (max-width: 640px){
  .card-media{
    height: 400px;
  }
}
.card-body{
  padding:24px;
}
.card-title{
  margin:0 0 8px;
  font-weight:900;
  font-size:22px;
  letter-spacing:-.5px;
  color: var(--text);
}
.card-text{
  margin:0 0 16px;
  color: var(--muted);
  font-size:16px;
  line-height: 1.6;
}
.badges{
  display:flex; flex-wrap:wrap; gap:8px;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:8px 16px;
  border-radius:20px;
  background: var(--brand);
  color: #ffffff;
  font-size:13px;
  font-weight:800;
  text-transform: uppercase;
  letter-spacing: .8px;
  transition: all .2s ease;
}
.badge:hover{
  background: #6B3410;
  transform: scale(1.05);
}

/* Footer */
.site-footer{
  border-top:3px solid var(--brand);
  background: #1a1a1a;
  padding: 40px 0;
  margin-top: 80px;
}
.site-footer p{margin:0; color: #cccccc; font-size:14px; text-align: center; letter-spacing: 0.5px;}

/* Utility */
.section-title{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
  padding: 20px 0 32px;
  flex-wrap: wrap;
}
.section-title h2{
  margin:0;
  font-size:36px;
  letter-spacing:-1px;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--brand-2);
}
.search{
  display:flex; gap:10px; flex-wrap:wrap;
  flex: 1;
  justify-content: flex-end;
}
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 80%;
}
.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  z-index: 1;
  transition: color .3s ease;
}
.input{
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: 25px;
  padding: 18px 28px 18px 52px;
  outline: none;
  font-size: 16px;
  transition: all .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.input:focus{
  border-color: var(--brand);
  box-shadow: 0 4px 16px rgba(123,63,0,.12);
}
.input:focus + .search-icon,
.search-wrapper:focus-within .search-icon {
  color: var(--brand);
}
.input::placeholder{color: var(--muted); font-size: 15px;}
.small-note{color: var(--muted); font-size:15px; margin: 12px 0 0; text-align: center;}

/* Votación - Estilos del formulario y resultados */
.votacion-form {
  max-width: 920px;
  margin: 0 auto;
  background: var(--card);
  border-radius: var(--radius);
  padding: 46px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.form-group {
  margin-bottom: 0;
}
.votacion-form .form-group:nth-child(n + 4) {
  grid-column: 1 / -1;
}
.form-label {
  display: block;
  margin-bottom: 12px;
  font-weight: 800;
  color: var(--text);
  font-size: 16px;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: #ffffff;
  border: 2px solid var(--border);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  outline: none;
  font-size: 16px;
  font-family: inherit;
  transition: all .25s ease;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(123,63,0,.08);
}
.form-textarea {
  resize: vertical;
  min-height: 120px;
}
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 50px;
}

/* Autocompletado */
.autocomplete-wrapper {
  position: relative;
}
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid var(--brand);
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  max-height: 280px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}
.autocomplete-dropdown.show {
  display: block;
  animation: slideDownFade 0.2s ease;
}
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.autocomplete-item {
  padding: 14px 18px;
  cursor: pointer;
  transition: all .2s ease;
  border-bottom: 1px solid var(--border);
}
.autocomplete-item:last-child {
  border-bottom: none;
}
.autocomplete-item:hover,
.autocomplete-item.selected {
  background: linear-gradient(135deg, rgba(123,63,0,.08), rgba(160,82,45,.08));
  border-left: 3px solid var(--brand);
  padding-left: 15px;
}
.autocomplete-item.no-results {
  cursor: default;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}
.autocomplete-item.no-results:hover {
  background: transparent;
  border-left: none;
  padding-left: 18px;
}
.autocomplete-nombre {
  font-weight: 800;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 4px;
}
.autocomplete-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.autocomplete-item:hover .autocomplete-nombre,
.autocomplete-item.selected .autocomplete-nombre {
  color: var(--brand);
}

.data-policy-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px;
}
.data-policy-title {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
}
.data-policy-text {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}
.policy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}
.policy-check:last-of-type {
  margin-bottom: 0;
}
.policy-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--brand);
  flex-shrink: 0;
}
.policy-link {
  margin-top: 14px;
  background: transparent;
  color: var(--brand);
  border: none;
  padding: 0;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.policy-link:hover {
  color: var(--brand-2);
}

.policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
}
.policy-modal.show {
  display: block;
}
.policy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
}
.policy-modal-dialog {
  position: relative;
  width: min(700px, calc(100% - 30px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  margin: 20px auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 24px;
}
.policy-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.policy-modal-close:hover {
  color: var(--text);
}
.policy-modal-dialog h3 {
  margin: 0 30px 12px 0;
  color: var(--brand);
  font-size: 24px;
}
.policy-modal-dialog p {
  margin: 0 0 12px;
  color: var(--text);
}
.policy-modal-dialog ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}
.policy-modal-dialog li {
  margin-bottom: 8px;
}

body.modal-open {
  overflow: hidden;
}

.btn-submit {
  grid-column: 1 / -1;
  width: 100%;
  background: var(--brand);
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: 30px;
  font-weight: 900;
  font-size: 18px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 6px 20px rgba(123,63,0,.25);
}
.btn-submit:hover {
  background: #6B3410;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(123,63,0,.35);
}
.btn-submit:active {
  transform: translateY(0);
}
.success-message {
  display: none;
  text-align: center;
  padding: 30px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  border-radius: var(--radius);
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(16,185,129,.3);
}
.success-message.show {
  display: block;
  animation: slideDown 0.4s ease;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.success-message h3 {
  margin: 0 0 10px;
  font-size: 28px;
}
.success-message p {
  margin: 0;
  font-size: 16px;
  opacity: 0.95;
}
.resultados-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 3px solid var(--border);
}
.resultados-header {
  text-align: center;
  margin-bottom: 50px;
}
.resultados-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(239,68,68,.3);
  margin-bottom: 20px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
.resultados-header h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -1px;
}
.resultados-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
}

/* Top 3 Podium */
.top-tres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 50px;
  align-items: end;
}
.podium-item {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 30px 20px 25px;
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  border: 2px solid var(--border);
  position: relative;
  transition: all .3s ease;
  text-align: center;
}
.podium-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}
.podium-item.primero {
  grid-column: 2;
  padding-top: 45px;
  border-color: #fbbf24;
  background: linear-gradient(to bottom, #fffbeb 0%, #ffffff 100%);
}
.podium-item.segundo {
  grid-column: 1;
  border-color: #d1d5db;
}
.podium-item.tercero {
  grid-column: 3;
  border-color: #d97706;
}
.podium-crown {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 32px;
  animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.podium-medal {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(123,63,0,.3);
  border: 4px solid #ffffff;
}
.podium-item.primero .podium-medal {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 8px 28px rgba(251,191,36,.4);
}
.podium-item.segundo .podium-medal {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
.podium-item.tercero .podium-medal {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.medal-icon {
  font-size: 36px;
}
.podium-item.primero .medal-icon {
  font-size: 42px;
}
.podium-posicion {
  font-size: 14px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.podium-nombre {
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
}
.podium-item.primero .podium-nombre {
  font-size: 22px;
  color: var(--brand);
}
.podium-bar {
  width: 100%;
  height: 10px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 15px;
}
.podium-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  transition: width .5s ease;
  position: relative;
  overflow: hidden;
}
.podium-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  to { left: 100%; }
}
.podium-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.podium-votos {
  font-weight: 800;
  color: var(--brand);
  font-size: 18px;
}
.podium-porcentaje {
  font-weight: 900;
  color: var(--text);
  font-size: 24px;
}

/* Otros Resultados */
.otros-resultados {
  margin-top: 40px;
}
.otros-titulo {
  margin: 0 0 25px;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}
.otros-titulo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--brand-2);
  border-radius: 2px;
}
.resultado-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding: 20px 24px;
  background: #ffffff;
  .article-header .container {
    padding: 50px 24px;
  }
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  transition: all .3s ease;
}
.resultado-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  transform: translateX(8px);
  border-color: var(--brand);
}
.resultado-posicion {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #ffffff;
  font-weight: 900;
  font-size: 18px;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(123,63,0,.2);
}
.resultado-info {
  flex: 1;
  min-width: 0;
}
.resultado-nombre {
  font-weight: 800;
  color: var(--text);
  font-size: 18px;
  margin-bottom: 8px;
}
.resultado-bar {
  width: 100%;
  height: 8px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}
.resultado-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  transition: width .5s ease;
  position: relative;
  overflow: hidden;
}
.resultado-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  animation: shimmer 2.5s infinite;
}
.resultado-stats {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}
.resultado-votos {
  font-weight: 700;
  color: var(--muted);
  font-size: 14px;
}
.resultado-porcentaje {
  font-weight: 900;
  color: var(--brand);
  font-size: 20px;
}
@media (max-width: 768px) {
  .votacion-form {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .votacion-form .form-group:nth-child(n + 4) {
    grid-column: auto;
  }
  .data-policy-block {
    padding: 18px;
  }
  .policy-modal-dialog {
    margin: 10px auto;
    max-height: calc(100vh - 20px);
    padding: 24px 18px;
  }
  .policy-modal-dialog h3 {
    font-size: 21px;
  }
  .top-tres {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .podium-item.primero,
  .podium-item.segundo,
  .podium-item.tercero {
    grid-column: auto;
  }
  .resultado-item {
    flex-wrap: wrap;
    gap: 15px;
  }
  .resultado-stats {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
  }
}

/* Mapa - Estilos para la página de mapa */
#mapa {
  width: 100%;
  height: 600px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid var(--border);
  position: relative;
  z-index: 1;
}
.mapa-container {
  padding: 40px 0;
  position: relative;
  z-index: 1;
}
.leaflet-popup-content {
  font-family: inherit;
  text-align: center;
}
.leaflet-container {
  position: relative;
  z-index: 1;
}
.popup-title {
  font-weight: 900;
  color: var(--brand);
  margin: 0 0 8px;
  font-size: 18px;
}
.popup-text {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}
