/* =====================================================
   🧩 ESTRUCTURA GENERAL DE ESTILOS – LAMAGIADEGANAR
   ===================================================== */

/* === 1. Fuentes personalizadas === */

/* Margaret Bold */
@font-face {
  font-family: "Margaret";
  src: url("../fonts/Margaret-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
}

/* Myriad Pro Regular */
@font-face {
  font-family: "MyriadPro";
  src: url("../fonts/MyriadPro-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

/* WorkSans Variable */
@font-face {
  font-family: "WorkSans";
  src: url("../fonts/WorkSans-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

/* === 2. Reset global & elementos base === */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  font-family: "Montserrat", sans-serif;
}
main {
  overflow: hidden;
}
h1 {
  position: absolute;
}
h2 {
  font-size: 30px;
  text-align: center;
}
li {
  list-style-type: none;
}
a {
  text-decoration: none;
}
.row {
  justify-content: center;
}
.logos {
  max-height: 2.7vw;
}
img {
  object-fit: contain;
}

/* === 3. Header + Navegación === */
header {
  position: fixed;
  width: 100%;
  padding: 3px 0;
  z-index: 99;
  transition: 0.5s ease all;
}

header nav.navbar {
  background-color: #c1000a !important;
}

header.scroll {
  background-color: #c1000a;
  box-shadow: 1px 1px 8px #720001;
}

header .navbar-collapse {
  flex-grow: 0;
}
header img {
  max-height: 60px;
  min-width: 400px;
}

header nav.navbar li {
  margin: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

header nav.navbar li a {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: 0.5s ease all;
}

header nav.navbar li a:hover {
  color: #f4d594;
  font-weight: 700;
  font-size: 13px;
  transition: 0.5s ease all;
}

/* WhatsApp flotante  */
header #flotante {
  max-width: 400px;
  width: 100%;
  position: fixed;
  bottom: 10px;
  right: 10px;
}
header #flotante figure {
  background-color: #cc1517;
  display: flex;
  border-radius: 100px;
  overflow: hidden;
  box-shadow: 1px 1px 5px #000;
  transition: 0.5s ease all;
  max-width: 400px;
  margin: 0;
}
header #flotante figure .caja-ico {
  background-color: #09960d;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
}
header #flotante figure figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  transition: 0.5s ease all;
}
header #flotante figure figcaption p {
  color: #fff;
  font-size: 15px;
  margin: 0;
}
header #flotante figure figcaption p span {
  font-weight: 700;
}
header #flotante figure:hover {
  background-color: #f4d594;
}
header #flotante figure:hover figcaption p {
  color: #000;
}

.nav {
  display: flex;
  justify-content: flex-end !important;
}

#home-nuevo {
  background: linear-gradient(
    to bottom,
    #e40100 0%,
    #e40100 50%,
    #ffffff 50%,
    #ffffff 100%
  );
  padding: 100px 0 0;
  text-align: center;
}

#home-nuevo .home-logo {
  width: 57%;
  margin: 0 auto 20px;
  display: block;
}
#home-nuevo .home-titulo {
  color: #f4d594;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 1200px;
  margin: 0 auto 50px;
  font-family: "WorkSans", sans-serif;
}
#home-nuevo .home-titulo span {
  color: #e40100;
  font-weight: 800;
  background-color: #f4d594;
  padding: 3px 10px;
}
#home-nuevo .home-img-box {
  display: flex;
  justify-content: center;
}
#home-nuevo .home-img-box img {
  width: 100%;
  display: block;
  max-width: 2000px;
}

/* Desktop: mostrar logo web, ocultar mobile */
.home-logo {
  display: block;
}
.home-logo-mobile {
  display: none;
}

/* ========================
   ❄️ COPOS ANIMADOS HEADER
======================== */
.snowflakes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100vh !important;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.snowflake {
  position: absolute;
  animation: caer 12s linear infinite;
  opacity: 0.95;
  top: -150px;
}

/* ❄ CONFIGURACIÓN NUEVA — MÁS LENTO, MÁS CANTIDAD, MÁS TAMAÑOS */
.snowflake:nth-child(1) {
  left: 2%;
  width: 40px;
  animation-duration: 9s;
  animation-delay: 0.1s;
}
.snowflake:nth-child(2) {
  left: 6%;
  width: 70px;
  animation-duration: 11s;
  animation-delay: 0.3s;
}
.snowflake:nth-child(3) {
  left: 10%;
  width: 110px;
  animation-duration: 12s;
  animation-delay: 0.15s;
}
.snowflake:nth-child(4) {
  left: 15%;
  width: 55px;
  animation-duration: 10s;
  animation-delay: 0.05s;
}
.snowflake:nth-child(5) {
  left: 20%;
  width: 90px;
  animation-duration: 13s;
  animation-delay: 0.25s;
}

.snowflake:nth-child(6) {
  left: 26%;
  width: 45px;
  animation-duration: 9.5s;
  animation-delay: 0.12s;
}
.snowflake:nth-child(7) {
  left: 32%;
  width: 130px;
  animation-duration: 14s;
  animation-delay: 0.4s;
}
.snowflake:nth-child(8) {
  left: 37%;
  width: 75px;
  animation-duration: 10.5s;
  animation-delay: 0.2s;
}
.snowflake:nth-child(9) {
  left: 43%;
  width: 150px;
  animation-duration: 15s;
  animation-delay: 0.18s;
}
.snowflake:nth-child(10) {
  left: 48%;
  width: 60px;
  animation-duration: 11s;
  animation-delay: 0.35s;
}

.snowflake:nth-child(11) {
  left: 55%;
  width: 100px;
  animation-duration: 12.8s;
  animation-delay: 0.22s;
}
.snowflake:nth-child(12) {
  left: 60%;
  width: 50px;
  animation-duration: 9.8s;
  animation-delay: 0.08s;
}
.snowflake:nth-child(13) {
  left: 65%;
  width: 160px;
  animation-duration: 15.5s;
  animation-delay: 0.5s;
}
.snowflake:nth-child(14) {
  left: 70%;
  width: 85px;
  animation-duration: 10.8s;
  animation-delay: 0.18s;
}
.snowflake:nth-child(15) {
  left: 75%;
  width: 55px;
  animation-duration: 9.2s;
  animation-delay: 0.04s;
}

.snowflake:nth-child(16) {
  left: 80%;
  width: 140px;
  animation-duration: 14.5s;
  animation-delay: 0.28s;
}
.snowflake:nth-child(17) {
  left: 85%;
  width: 65px;
  animation-duration: 10.6s;
  animation-delay: 0.1s;
}
.snowflake:nth-child(18) {
  left: 89%;
  width: 95px;
  animation-duration: 12.3s;
  animation-delay: 0.33s;
}
.snowflake:nth-child(19) {
  left: 93%;
  width: 45px;
  animation-duration: 9.3s;
  animation-delay: 0.07s;
}
.snowflake:nth-child(20) {
  left: 97%;
  width: 120px;
  animation-duration: 13.8s;
  animation-delay: 0.44s;
}

.snowflake:nth-child(21) {
  left: 18%;
  width: 50px;
  animation-duration: 9.7s;
  animation-delay: 0.12s;
}
.snowflake:nth-child(22) {
  left: 41%;
  width: 135px;
  animation-duration: 14.2s;
  animation-delay: 0.36s;
}
.snowflake:nth-child(23) {
  left: 58%;
  width: 75px;
  animation-duration: 10.4s;
  animation-delay: 0.09s;
}
.snowflake:nth-child(24) {
  left: 79%;
  width: 150px;
  animation-duration: 15.7s;
  animation-delay: 0.52s;
}

@keyframes caer {
  0% {
    transform: translateY(-220px) rotate(0deg);
  }
  5% {
    transform: translateY(-180px) rotate(15deg);
  }
  50% {
    transform: translateY(150px) rotate(180deg) translateX(20px);
  }
  80% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(380px) rotate(360deg) translateX(-20px);
    opacity: 0;
  }
}

/* === 5. Sección Cómo Participar === */

/* Versiones separadas Web/Mobile del texto */
.como-texto-web {
  display: block;
}

.como-texto-mobile {
  display: none;
}

#como-participar {
  text-align: center;
  padding: 50px 0 60px 0;
}

#como-participar h2 {
  font-family: "WorkSans", sans-serif;
  font-size: 32px;
  line-height: 1.4;
  font-weight: 400;
  margin-bottom: 40px;
  color: #000;
}

#como-participar h2 img {
  width: 45px;
  margin: 0 5px;
  vertical-align: middle;
}

#como-participar h2 b {
  font-weight: 700;
  font-size: 35px;
}

#como-participar .separador {
  width: 300px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #ff0000 0,
    #ff0000 10px,
    transparent 10px,
    transparent 20px
  );
  margin: 50px auto 70px;
}
/* === Link WhatsApp en Cómo Participar === */
figcaption.como-participar-wsp a {
  color: #000;
  text-decoration: none;
}

figcaption.como-participar-wsp a:hover {
  color: #000;
}

/* ============================
   TARJETAS DE PASOS
============================ */
#como-participar figure {
  border: 4px dashed #e33d2b;
  border-radius: 25px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  width: 100%;
  max-width: 390px;
  margin: 30px auto;
}

#como-participar .steps-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

#como-participar .caja-ico {
  background-color: #06960e;
  border-radius: 100px;
  padding: 15px;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#como-participar .caja-ico img {
  width: 40px;
  height: auto;
}

#como-participar figure p {
  font-size: 20px;
  text-align: left;
  margin: 0;
  line-height: 1.3;
}

#como-participar figure span {
  font-weight: 700;
}

#como-participar figure .verde {
  color: #00a65c;
  font-weight: 700;
}

/* ============================
   Participa aqui 
============================ */

.participa-aqui {
  margin: 0 auto;
  display: flex;
  width: max-content;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background-color: #ff0000;
  padding: 10px 15px;
  border-radius: 50px;
  box-shadow: 1px 1px 5px #000;
  transition: 0.5s ease all;
  font-size: 28px;
}

.participa-aqui::after {
  content: "";
  width: 20px;
  height: 20px;
  background-image: url("../img/ico-whatsapp.svg");
  background-position: center;
  background-size: 55%;
  background-repeat: no-repeat;
  background-color: #09960d;
  display: block;
  border-radius: 50px;
  margin-left: 10px;
  padding: 15px;
}
.participa-aqui:hover {
  background-color: #f4d594;
  color: #000;
}

/* ============================
  GANADORES
============================ */

#ganadores-destacado {
  padding: 40px 0 80px;
}

#ganadores-destacado .caja-ganadores {
  background-color: #f4d594;
  border-radius: 40px;
  padding: 70px 40px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  overflow: visible;
}

#ganadores-destacado .caja-ganadores::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border: 4px dashed #ffffff;
  border-radius: 30px;
  pointer-events: none;
}

#ganadores-destacado h2 {
  font-size: 48px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 50px;
  color: #000;
  font-family: "WorkSans", sans-serif;
}

#ganadores-destacado .lista-sorteos {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  width: 100%;
}

#ganadores-destacado details {
  width: 100%;
  max-width: 650px;
}

#ganadores-destacado summary {
  background-color: #c1000a;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  border-radius: 50px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  list-style: none;
  font-family: "WorkSans", sans-serif;
}

#ganadores-destacado summary::-webkit-details-marker {
  display: none;
}

#ganadores-destacado details[open] summary {
  background-color: #f02917;
}

#ganadores-destacado summary .ico {
  width: 25px;
  height: 25px;
  background-image: url("../img/ico-fecha-blanco.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
}

#ganadores-destacado summary .flecha {
  width: 35px;
  height: 15px;
  background-image: url("../img/flecha-abajo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  margin-left: auto;
  transition: 0.3s;
}

#ganadores-destacado details[open] summary .flecha {
  transform: rotate(180deg);
}

#ganadores-destacado .contenido-sorteo {
  animation: fade 0.3s ease-in-out;
  margin-top: 15px;
  padding-bottom: 20px;
}

.tabla.ganadores {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.tabla.ganadores .cabecera {
  display: grid;
  grid-template-columns: repeat(4, 25%);
  background-color: #c1000a;
  padding: 20px 20px;
  color: #fff;
}
.tabla.ganadores .cabecera div {
  text-align: center;
}

.tabla.ganadores .body {
  padding: 0;
}

.tabla.ganadores .body .row-b {
  border-bottom: 1px solid #fff;
  display: grid;
  grid-template-columns: repeat(4, 25%);
  padding: 20px 20px;
}
.tabla.ganadores .body .row-b:last-child {
  border-bottom: none;
}

.tabla.ganadores .body .row-b div {
  text-align: center;
  color: #000;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
  PREMIOS
============================ */
#premios {
  background-color: #e40000;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding: 5vw 0 1vw 0;
  position: relative;
  border-top: 25px solid #f4d594;
}
#premios h2 {
  color: #fff;
}
#premios .row {
  justify-content: center;
  margin: 50px 0 20px;
}
#premios img {
  width: 100%;
  margin: 30px 0;
}
#premios .autos {
  margin-top: 100px;
}
#premios .col-xl-10 {
  position: relative;
}
#premios .col-xl-10::after {
  content: "";
  width: 160px;
  height: 120px;
  background-image: url("../img/globo-sorteo.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  position: absolute;
  top: 15px;
  right: 125px;
  animation: rebota2 1s alternate infinite ease-out;
}
#premios #mas-premios figure {
  width: 12vw;
  height: 12vw;
  min-width: 230px;
  min-height: 230px;
  background-color: #fff;
  border-radius: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0 120px;
  border: 6px solid #f02917;
  box-shadow: 0 0 0 6px #fbd589;
}

#premios #mas-premios figure img {
  width: 100%;
  object-fit: contain;
  max-height: 10vw;
  max-width: 11vw;
  min-width: 130px;
  min-height: 130px;
  margin: 0;
  transition: 0.5s ease all;
  filter: drop-shadow(5px 5px 5px #222);
}
#premios #mas-premios figure img:hover {
  transform: scale(1.1);
}
#premios #mas-premios figure figcaption {
  position: absolute;
  bottom: -140px;
  min-height: 65px;
}
#premios #mas-premios figure figcaption p {
  font-weight: 700;
  font-size: 27px;
  color: #fff;
  text-align: center;
}

/* ============================
   COPOS ESQUINAS – PREMIOS / PERSONAJES / SALUDO
============================ */

/* CONTENEDOR — más amplio y NO afectar Home */
.snow-corners-premios {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* .snow-corners-premios img {
  width: 10%;
} */

/* Copos individuales */
.snow-corner {
  position: absolute;
  opacity: 0.7;
  animation: flotar2 5s ease-in-out infinite alternate;
}

/* TAMAÑOS variado */
.snow-corner.sm {
  width: 120px;
}
.snow-corner.md {
  width: 170px;
}
.snow-corner.lg {
  width: 220px;
}

/* UBICACIONES exactas */
.snow-corner.top-left {
  top: 40px;
  left: 40px;
}
.snow-corner.top-right {
  top: 30px;
  right: 40px;
}
.snow-corner.bottom-left {
  bottom: -430px;
  left: 20px;
}
.snow-corner.bottom-right {
  bottom: -280px;
  right: 10px;
}

/* Corner-specific widths */
.snow-corner.top-left {
  width: 140px !important;
}
.snow-corner.top-right {
  width: 100px !important;
}
.snow-corner.bottom-left {
  width: 230px !important;
}
.snow-corner.bottom-right {
  width: 280px !important;
}

/* Animación más suave sin moverlos tanto */
@keyframes flotar2 {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(12px) rotate(4deg);
  }
}

/* ============================
   PERSONAJES — CARD UNIFICADA
============================= */

#personajes {
  padding: 80px 0;
  background-color: #e40000;
}

.separador-personajes {
  width: 300px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #fbd589 0,
    #fbd589 10px,
    transparent 10px,
    transparent 20px
  );
  margin: 40px auto 60px;
}

.titulo-personajes {
  width: 70%;
  margin: 0 auto 50px;
  display: block;
}

.titulo-personajes-mobile {
  display: none;
}

/* CARD COMPLETA */
.personaje-card {
  display: flex;
  width: 80%;
  max-width: 1400px;
  height: 500px;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
}

/* LADO IZQUIERDO */
.personaje-img {
  width: 50%;
}

.personaje-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LADO DERECHO — BEIGE */
.personaje-info {
  width: 50%;
  background: #f7e2b4;
  padding: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.personaje-info h3 {
  font-size: 56px;
  font-weight: 800;
  font-family: "Margaret", serif;
  color: #b12a21;
  margin-bottom: 25px;
}

/* Línea punteada */
.personaje-info .separador {
  width: 300px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    #ff0000 0,
    #ff0000 10px,
    transparent 10px,
    transparent 20px
  );
  margin: 0px 0 20px;
}

/* Texto */
.personaje-info p {
  font-size: 25px;
  line-height: 1.4;
  max-width: 750px;
  color: #b12a21;
}

/* Swiper */
.personajesSwiper {
  margin: 60px auto;
  justify-content: center;
}

.personajes-prev,
.personajes-next {
  color: #fff !important;
  width: 50px;
  height: 50px;
}

.personajes-pagination .swiper-pagination-bullet {
  background: #fff !important;
  opacity: 1;
}

/* PAGINACIÓN DE PERSONAJES */
.personajes-pagination {
  position: relative !important;
  margin-top: 25px;
  text-align: center;
}

.personajes-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #fff !important;
  opacity: 0.5;
  margin: 0 6px !important;
  border-radius: 50%;
  transition: 0.3s ease;
}

.personajes-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.3);
  background: #fbd589 !important;
}

/* ============================
   SALUDO PERSONALIZADO
============================= */

#saludo-personalizado {
  background: #e40000;
  padding: 20px 0;
}

.saludo-box {
  background: #fff;
  border-radius: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1100px;
  margin: 0 auto;
}

.saludo-texto {
  flex: 1.2;
  padding-left: 20px;
  text-align: center;
}

#saludo-personalizado h2 {
  font-size: 25px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.btn-saludo {
  background: #ff3b2f;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 35px;
  border-radius: 50px;
  display: inline-block;
  transition: 0.3s ease;
  margin: 20px 0 0 0;
}

.btn-saludo:hover {
  background: #d92e26;
}

.saludo-img {
  flex: 1;
}

.saludo-img img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 0 40px 40px 0;
}

/* === 11. Sección Otros (Carrusel / Info adicional) === */
#otros {
  background-color: #c1000a;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  padding: 50px 0 50px 0;
  border-top: 25px solid #f4d594;
}
/* === 12. Preguntas Frecuentes (Accordion + Slider) === */
#preguntas-frecuentes h2 {
  color: #fff;
}
#preguntas-frecuentes .accordion-item {
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
  border: none;
}
#preguntas-frecuentes .accordion-item .accordion-button {
  background-color: #fff;
  box-shadow: none;
  font-weight: 700;
}
#preguntas-frecuentes .carousel-item {
  padding: 20px;
}
#preguntas-frecuentes .carousel-indicators {
  bottom: -30px;
  justify-content: flex-end;
  padding: 0;
  margin-right: 20px;
}
#preguntas-frecuentes .carousel-indicators button {
  box-sizing: content-box;
  flex: 0;
  min-width: 30px !important;
  min-height: 30px !important;
  padding: 0;
  text-indent: 0;
  border: 0;
  border-top: 0;
  border-bottom: 0;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  color: #fff;
  opacity: 1;
  background-color: transparent;
}
#preguntas-frecuentes .carousel-indicators button.active {
  background-color: #e64153;
}
/* === 13. Términos y Condiciones === */
#terminos-y-condiciones {
  padding: 100px 0;
  background-color: #e40000;
}
#terminos-y-condiciones a {
  display: flex;
  align-items: center;
  width: fit-content;
  color: #e40000;
  background-color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 30px;
  border-radius: 50px;
  margin: 0 auto;
  transition: 0.5s ease all;
  box-shadow: 1px 1px 1px #e40000;
  font-size: 20px;
}
#terminos-y-condiciones a::after {
  content: "";
  width: 25px;
  height: 25px;
  display: block;
  background-image: url("../img/ico-download.svg");
  background-color: #f4d594;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 53%;
  border-radius: 50px;
  margin-left: 10px;
  transition: 0.5s ease all;
  display: none;
}
#terminos-y-condiciones a:hover {
  background-color: #f4d594;
  color: #000;
  box-shadow: 1px 1px 1px #fff;
}
#terminos-y-condiciones a:hover::after {
  background-image: url("../img/ico-download-celeste.svg");
  background-color: #fff;
}

/* ============================
   SECCIÓN REDES – 3 COLUMNAS
============================ */

#contacto-redes {
  background-color: #c1000a;
  padding: 40px 0 80px;
}

#contacto-redes .titulo-redes {
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 90px;
  font-family: "WorkSans", sans-serif;
}

.redes-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 0.8fr);
  gap: 20px;
  align-items: start;
}

/* ============================
   COLUMNA
============================ */
.redes-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ============================
   ITEM (icono + texto)
============================ */
.red-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.red-item .ico {
  width: 40px;
  height: 40px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Íconos según clase */
.red-item.ig .ico {
  background-image: url("../img/rrss-ig.svg");
}
.red-item.fb .ico {
  background-image: url("../img/rrss-fb.svg");
}
.red-item.tik .ico {
  background-image: url("../img/rrss-tiktok.svg");
}
.red-item.web .ico {
  background-image: url("../img/rrss-web.svg");
}

/* Redes links color */
.red-item a {
  color: #ffffff !important;
  text-decoration: none;
}
.red-item a:hover {
  color: #f4d594 !important;
}

/* ============================
   SEPARADORES VERTICALES
============================ */
.redes-grid .col-sep {
  width: 3px;
  height: 100%;
  margin: 0 auto;
  border-right: 3px dashed #fbd589;
}

/* === 15. Footer === */
footer {
  position: relative;
  margin-top: 50px;
}
footer p {
  color: #fff;
}
footer img {
  max-height: 50px;
}
footer ul {
  display: flex;
  padding: 0;
  margin: 20px 0;
}
footer ul li {
  margin: 0 20px;
}
footer ul li a {
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  transition: 0.5s ease all;
}
footer ul li a:hover {
  color: #000;
}
footer .col-xl-10 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* === 19. Media Queries === */
/* === Separator Estrellas — Desktop hidden, Mobile visible === */
.estrellas-separador {
  display: none;
}

/* Universal redes links color for #contacto if present */
#contacto ul.redes li a {
  color: #ffffff !important;
}
#contacto ul.redes li a:hover {
  color: #f4d594 !important;
}

/* ============================
     SECCIÓN — LOGOS FINALES (MEGAPLAZA / OUTLETARAUCO / MINKA)
============================ */

.footer-logos-section {
  background-color: #c1000a;
  padding: 60px 0 40px;
  text-align: center;
}

.separador-logos {
  width: 250px;
  height: 2px;
  background: #ffffff;
  margin: 0 auto 40px auto;
}

.footer-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
  width: 100%;
  margin: 2rem 0;
}

.footer-logos a img {
  height: 95px;
  width: auto;
  object-fit: contain;
  transition: 0.3s ease;
}

.footer-logos a img:hover {
  transform: scale(1.08);
}

@media (min-width: 1981px) {
  #home {
    background-size: 100% 85%;
  }
  #premios {
    background-size: 100% 100%;
  }
  #premios #mas-premios figure {
    max-width: 170px;
    max-height: 170px;
    margin: auto;
  }
  #premios #mas-premios figure img {
    max-height: 120px;
    max-width: 120px;
  }
}

@media (max-width: 1399px) {
  #contacto ul.data a {
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  header .container {
    justify-content: center !important;
    justify-content: space-between !important;
  }
  header .navbar-brand {
    margin: 0;
  }
  header .navbar-toggler {
    border: none;
  }
  header .navbar-toggler p {
    display: none;
  }
  header .navbar-toggler .navbar-toggler-icon {
    background-image: url("../img/ico-close.svg");
    transition: 0.5s ease all;
  }
  header .navbar-toggler:focus,
  header .navbar-toggler:focus:not(:focus-visible) {
    box-shadow: none;
  }
  header .navbar-toggler.collapsed .navbar-toggler-icon {
    background-image: url("../img/ico-menu.svg?v=1.2");
  }
  header .navbar-collapse ul {
    padding: 30px 0;
  }
  header nav a {
    text-align: end;
  }
  .logos {
    max-height: fit-content;
    max-width: 100%;
  }
  #home {
    background-size: 100%;
    padding-top: 160px;
  }
  #home h2 {
    font-size: 17px;
  }
  #home .llamado {
    max-height: fit-content;
    max-width: 400px;
    margin: 0 auto;
  }
  #home #premio-mayor {
    padding: 50px 0 80px 0;
  }
  #home #premio-mayor .productos {
    flex-wrap: wrap;
  }
  #home #premio-mayor .productos figure {
    width: 33.33%;
  }
  #home #premio-mayor .productos figure img {
    height: 85px;
    max-width: 100px;
  }
  #home #premio-mayor .productos figure p {
    font-size: 14px;
  }
  #home #premio-mayor .col-xl-12 img {
    min-width: auto;
    max-width: fit-content;
    height: 150px;
  }
  #home #autos::after {
    display: none;
  }
  #home .participa-aqui {
    margin: 10px auto;
    position: absolute;
    bottom: 50px;
    left: 50%;
    margin-left: -90px;
  }
  #premios #mas-premios figure {
    margin: 40px auto;
  }
  #como-participar {
    padding: 0;
  }
  #como-participar h2 {
    font-size: 20px;
  }
  #como-participar figure {
    font-size: 18px;
    margin: 20px auto;
    height: 100px;
    border-radius: 25px;
  }
  #como-participar figure p {
    font-size: 13px;
  }
  #como-participar figure .caja-ico {
    height: 80px;
    width: 80px;
  }
  #video {
    padding: 25vw 0;
    margin: -30vw 0;
  }

  #contacto ul {
    flex-direction: column;
    align-items: flex-start;
  }
  #contacto ul h2 {
    width: 50%;
    align-self: center;
  }
  #contacto ul li {
    margin: 10px 20px;
  }
  #contacto ul.data {
    width: max-content;
    margin: auto;
  }
  #contacto ul.data > li {
    padding: 20px 3% 20px 2%;
    width: 100%;
  }
  #contacto ul.data > li:nth-child(3) ul li::before,
  #contacto ul.data > li:nth-child(4) ul li::before {
    visibility: visible;
    width: 40px;
    margin-right: 10px;
  }
  #contacto ul.data > li:nth-child(2),
  #contacto ul.data > li:nth-child(3) {
    border-right: none;
    border-bottom: 1px solid #fff;
  }
  footer {
    padding-bottom: 50px;
  }
  footer ul {
    flex-direction: column;
  }
  footer ul li {
    text-align: center;
    margin: 20px 0;
  }
}

@media (max-width: 992px) {
  #home {
    background-size: 280%;
    padding-top: 160px;
    min-height: 160vw;
  }

  #home .llamado {
    max-height: fit-content;
    max-width: 100%;
  }

  #video .container {
    background-color: white;
    position: relative;
  }

  .ganador {
    grid-template-columns: 100%;
  }
  .ganador img {
    margin: 10px auto;
    height: 100px;
  }
  .accordion-content.active {
    padding-left: 0;
  }
  .losLogos {
    flex-direction: column;
  }
  .losLogos img {
    max-height: 80px;
  }
  #premios .col-xl-10::after {
    top: 0px;
    right: 115px;
  }
  #video .video {
    border-radius: 15px;
  }
  .accordion tr {
    display: flex;
    flex-direction: column;
  }
  .sub-accordion-text table {
    height: auto;
  }
  .footer-logos {
    gap: 70px;
  }
  .footer-logos a img {
    height: 75px;
  }

  .saludo-box {
    flex-direction: column;
    text-align: center;
    padding: 40px;
  }

  .saludo-img {
    text-align: center;
  }

  #saludo-personalizado h2 {
    font-size: 30px;
  }

  .btn-saludo {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  /* Fondo se ajusta antes */
  #home-nuevo {
    background: linear-gradient(
      to bottom,
      #e40100 0%,
      #e40100 70%,
      #ffffff 70%,
      #ffffff 100%
    );
    padding: 80px 0 0;
    text-align: center;
  }

  /* Título mobile */
  #home-nuevo .home-titulo {
    font-size: 16px;
    line-height: 1.25;
    max-width: 300px;
    margin: 0 auto 25px;
    color: #f4d594;
  }

  #home-nuevo .home-titulo span {
    padding: 2px 8px;
    font-size: 15px;
  }

  /* Imagen curva */
  #home-nuevo .home-img-box img {
    width: 100%;
    margin-top: -5px;
  }

  .home-logo {
    display: none !important;
  }
  .home-logo-mobile {
    display: block !important;
    width: 90%;
    margin: 0 auto 15px;
  }
  .estrellas-separador {
    display: block;
    width: 35%;
    max-width: 300px;
    margin: 30px auto;
  }

  #como-participar h2 b {
    font-weight: 700;
    font-size: 20px;
  }

  #como-participar h2 {
    margin: 40px 0;
  }
  .participa-aqui {
    font-size: 19px;
  }

  #como-participar figure {
    max-width: 300px;
  }

  #ganadores-destacado summary {
    background-color: #c1000a;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    border-radius: 50px;
    padding: 9px 20px;
    display: flex;
    align-items: center;
    gap: 21px;
    cursor: pointer;
    list-style: none;
  }

  #ganadores-destacado summary .ico {
    width: 35px;
    height: 35px;
  }

  .logos-row img {
    max-width: 70% !important;
    height: auto !important;
    margin: 10px auto !important;
    display: block !important;
  }
  .logos-row {
    padding: 0 15px !important;
  }

  #premios h2 {
    font-size: 19px;
  }

  /* Contenedor en grid */
  #premios #mas-premios {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 10px;
    padding: 0 10px;
  }

  /* Cada columna centrada */
  #premios #mas-premios .col {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center;
    margin: 0 auto !important;
  }

  /* Ajustes de cada figura */
  #premios #mas-premios figure {
    width: 150px !important;
    height: 150px !important;
    min-width: auto !important;
    min-height: auto !important;
    margin: 15px auto !important;
  }

  /* Imagen del premio */
  #premios #mas-premios figure img {
    max-width: 95px !important;
    max-height: 95px !important;
  }

  /* Texto del nombre */
  #premios #mas-premios figure figcaption p {
    font-size: 16px !important;
    line-height: 1.2;
  }

  #premios #mas-premios figure figcaption {
    position: absolute;
    bottom: -87px;
    min-height: 65px;
  }
  .tabla.ganadores {
    border-radius: 15px;
    max-width: 95%;
  }
  .tabla.ganadores .cabecera {
    padding: 10px 10px;
    font-size: 12px;
  }
  .tabla.ganadores .body .row-b {
    padding: 10px 10px;
  }
  .tabla.ganadores .body .row-b div {
    font-size: 9px;
  }
  .como-texto-web {
    display: none !important;
  }
  .como-texto-mobile {
    display: block !important;
    font-size: 20px;
    line-height: 1.4;
    margin: 0 auto 40px;
    color: #000;
    font-family: "WorkSans", sans-serif;
  }
  .titulo-personajes {
    display: none !important;
  }

  .titulo-personajes-mobile {
    display: block !important;
    width: 85%;
    margin: 0 auto 30px;
  }

  /* === PERSONAJES — CARRUSEL EN COLUMNA MOBILE === */
  .personaje-card {
    flex-direction: column !important;
    height: auto !important;
    width: 95% !important;
    max-width: 400px !important;
  }

  .personaje-img {
    width: 100% !important;
    height: auto !important;
  }

  .personaje-img img {
    height: auto !important;
    object-fit: cover !important;
  }

  .personaje-info {
    width: 100% !important;
    padding: 25px !important;
    text-align: center !important;
  }

  .personaje-info h3 {
    font-size: 32px !important;
    text-align: center !important;
  }

  .personaje-info p {
    font-size: 18px !important;
    text-align: center !important;
    max-width: 300px !important;
    margin: 0 auto !important;
  }

  .personaje-info .separador {
    margin: 10px auto 20px !important;
  }

  .personajesSwiper {
    width: 100% !important;
  }

  /* === SALUDO PERSONALIZADO — MOBILE === */
  #saludo-personalizado {
    padding: 40px 0 !important;
  }

  .saludo-box {
    flex-direction: column-reverse !important;
    width: 90% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border-radius: 30px !important;
    overflow: hidden !important;
  }

  .saludo-img {
    width: 100% !important;
    text-align: center !important;
  }

  .saludo-img img {
    width: 100% !important;
    height: auto !important;
    border-radius: 30px 30px 0 0 !important;
  }

  .saludo-texto {
    width: 100% !important;
    padding: 1px 0 15px !important;
    text-align: center !important;
  }

  .saludo-texto h2 {
    font-size: 20px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  .btn-saludo {
    font-size: 18px !important;
    padding: 10px 25px !important;
    margin: 0;
  }

  .saludo-texto h2 {
    font-size: 18px !important;
    line-height: 1.3 !important;
    margin-bottom: 20px !important;
  }

  /* === REDES – MOBILE AJUSTADO === */
  .redes-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    padding: 0 80px;
  }

  .redes-grid .col-sep {
    display: none !important;
  }

  .redes-col {
    padding-bottom: 35px !important;
    border-bottom: 2px dashed #fbd589 !important;
  }

  .redes-col:last-child {
    border-bottom: none !important;
  }

  #contacto-redes .titulo-redes {
    font-size: 24px;
  }

  .snowflake {
    position: absolute;
    opacity: 0.85;
    top: -150px;
    animation: caer 12s linear infinite;
  }

  .snowflakes .snowflake:nth-child(n + 25) {
    display: none !important;
  }

  .snowflake:nth-child(1)  { width: 22px !important; animation-duration: 9s !important;  animation-delay: 0.1s !important; }
  .snowflake:nth-child(2)  { width: 28px !important; animation-duration: 11s !important; animation-delay: 0.4s !important; }
  .snowflake:nth-child(3)  { width: 22px !important; animation-duration: 8.5s !important; animation-delay: 0.2s !important; }
  .snowflake:nth-child(4)  { width: 30px !important; animation-duration: 13s !important; animation-delay: 0.6s !important; }
  .snowflake:nth-child(5)  { width: 24px !important; animation-duration: 10.5s !important; animation-delay: 0.15s !important; }
  .snowflake:nth-child(6)  { width: 20px !important; animation-duration: 9.8s !important; animation-delay: 0.35s !important; }
  .snowflake:nth-child(7)  { width: 32px !important; animation-duration: 14s !important; animation-delay: 0.55s !important; }
  .snowflake:nth-child(8)  { width: 26px !important; animation-duration: 10s !important; animation-delay: 0.25s !important; }
  .snowflake:nth-child(9)  { width: 34px !important; animation-duration: 15s !important; animation-delay: 0.75s !important; }
  .snowflake:nth-child(10) { width: 22px !important; animation-duration: 8.8s !important; animation-delay: 0.3s !important; }
  .snowflake:nth-child(11) { width: 30px !important; animation-duration: 12s !important; animation-delay: 0.5s !important; }
  .snowflake:nth-child(12) { width: 24px !important; animation-duration: 9.3s !important; animation-delay: 0.12s !important; }
  .snowflake:nth-child(13) { width: 36px !important; animation-duration: 14.5s !important; animation-delay: 0.65s !important; }
  .snowflake:nth-child(14) { width: 28px !important; animation-duration: 11s !important; animation-delay: 0.22s !important; }
  .snowflake:nth-child(15) { width: 20px !important; animation-duration: 8.7s !important; animation-delay: 0.05s !important; }

  /* === RESPONSIVE — COPOS ESQUINAS MÁS PEQUEÑOS === */
  .snow-corner.top-left {
    width: 70px !important;
    top: 20px !important;
    left: 20px !important;
  }

  .snow-corner.top-right {
    width: 55px !important;
    top: 15px !important;
    right: 20px !important;
  }

  .snow-corner.bottom-left {
    width: 110px !important;
    bottom: -180px !important;
    left: 10px !important;
  }

  .snow-corner.bottom-right {
    width: 130px !important;
    bottom: -150px !important;
    right: 10px !important;
  }

  .snowflakes {
    width: 100% !important;
    left: 0 !important;
  }
}

@media (max-width: 567px) {
  header {
    padding: 0;
  }
  header nav {
    padding: 0 !important;
  }
  header nav li a {
    text-align: center;
  }
  header .navbar-collapse ul {
    padding: 30px 0;
  }
  header .navbar-collapse ul li {
    margin: 8px 0;
  }
  header .navbar-collapse ul .participa-aqui {
    margin-top: 20px;
  }
  header .container {
    justify-content: center !important;
    padding: 0;
  }
  header .container .navbar-brand {
    width: 100%;
    padding: 5px 0 5px 0;
    justify-content: center;
    display: flex;
  }
  header .container .navbar-brand img {
    max-width: 80%;
    min-width: auto;
  }
  header .container .navbar-toggler {
    border-radius: 0;
    padding: 20px 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header .container .navbar-toggler p {
    display: block;
    margin-right: 10px;
    margin-bottom: 0;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
  }
  header #flotante {
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    max-width: 100%;
    padding: 20px;
    background-color: #09960d;
    border-radius: 20px 20px 0 0;
  }
  header #flotante figure figcaption p {
    font-size: 13px;
  }
  #home h2 {
    line-height: 17px;
  }
  #premios #mas-premios figure {
    width: 150px;
    height: 150px;
    margin: 40px auto;
  }
  #premios #mas-premios figure img {
    max-height: 100px;
    max-width: 100px;
  }
  #premios .autos {
    margin-top: 140px;
  }
  #premios .col-xl-10 {
    display: flex;
    justify-content: center;
  }
  #premios .col-xl-10 img {
    width: 130%;
  }
  #premios .col-xl-10::after {
    top: 0px;
    right: 115px;
  }
  #otros {
    padding: 5% 0 20px 0;
  }

  .footer-logos {
    flex-direction: column;
    gap: 40px;
  }
  .footer-logos a img {
    height: 65px;
  }
}

@-moz-keyframes rebota {
  0% {
    top: -60%;
  }
  10% {
    top: -61%;
  }
  100% {
    top: -75%;
  }
}

@-webkit-keyframes rebota {
  0% {
    top: -60%;
  }
  10% {
    top: -61%;
  }
  100% {
    top: -75%;
  }
}

@-o-keyframes rebota {
  0% {
    top: -60%;
  }
  10% {
    top: -61%;
  }
  100% {
    top: -75%;
  }
}

@keyframes rebota {
  0% {
    top: -60%;
  }
  10% {
    top: -61%;
  }
  100% {
    top: -75%;
  }
}
