* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Nestle", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

/* ===========================================
   SECCIÓN DE PATROCINADORES
   =========================================== */
.sponsors-section {
  background-color: #f5f3e8;
  padding: 20px 0;
  border-bottom: 2px solid #ddd;
}

.sponsors-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.sponsor-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.derecha {
  margin-right: auto;
}

/* ===========================================
   SECCIÓN PRINCIPAL (HERO)
   =========================================== */
.main-section {
  position: relative;
  min-height: 60dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 3rem;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #94d600;
  z-index: 1;
}

.background-leaf {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.content-container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 1100px;
  padding: 0 40px;
}

.logo-container {
  margin-bottom: 60px;
}

.main-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.main-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.divider {
  width: 700px;
  height: 3px;
  background: #fcb800;
  margin: 20px 0;
}

.subtitle {
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.registration-info {
  font-size: 2rem;
  font-weight: 300;
  margin-top: 10px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.button-container {
  margin-top: 40px;
}

.register-button {
  height: 60px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.register-button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ===========================================
   SECCIÓN DE PREMIOS
   =========================================== */
.prizes-section {
  background: #94d600;
  padding: 40px 0;
  position: relative;
}

.registration-button-container {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10;
}

.registration-button {
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.registration-button:hover {
  transform: scale(1.05);
}

.registration-button-bg {
  width: 423px;
  height: 73px;
  object-fit: contain;
}

.registration-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  line-height: 1.2;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.button-dimensions {
  position: absolute;
  bottom: -20px;
  right: 10px;
  font-size: 0.7rem;
  color: rgba(0, 0, 0, 0.5);
  font-style: italic;
}

.prizes-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  padding-top: 120px;
}

.prizes-header {
  text-align: center;
  margin-bottom: 80px;
}

.prizes-title {
  font-size: 4rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.prizes-subtitle {
  font-size: 1.5rem;
  color: #000;
  font-weight: 400;
}

.categories-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-header {
  margin-bottom: 40px;
}

.category-button {
  height: 80px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.category-button:hover {
  transform: scale(1.05);
}

.awards-grid {
  display: flex;
  flex-direction: row; /* Cambiar de column a row */
  gap: 20px; /* Reducir el gap para que quepan en una fila */
  width: 100%;
  max-width: 600px; /* Aumentar el max-width para acomodar 3 elementos */
  justify-content: space-between; /* Distribuir uniformemente */
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px; /* Reducir padding para que quepan mejor */
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1; /* Hacer que cada item tome el mismo espacio */
  min-width: 0; /* Permitir que se contraigan si es necesario */
}

.award-icon {
  width: 80px; /* Reducir tamaño para que quepan mejor */
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; /* Reducir margen */
}

.award-icon img {
  max-width: 80px;
}

.award-position {
  font-size: 1.3rem; /* Reducir tamaño de fuente */
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 10px; /* Reducir margen */
  line-height: 1.1;
}

.award-description {
  font-size: 1.2rem; /* Reducir tamaño de fuente */
  color: #000;
  line-height: 1.3;
  max-width: 70%; /* Quitar restricción de ancho */
}

/* ===========================================
   ANIMACIONES
   =========================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

.main-content > *:nth-child(1) {
  animation-delay: 0.2s;
}
.main-content > *:nth-child(2) {
  animation-delay: 0.4s;
}
.main-content > *:nth-child(3) {
  animation-delay: 0.6s;
}
.main-content > *:nth-child(4) {
  animation-delay: 0.8s;
}
.main-content > *:nth-child(5) {
  animation-delay: 1s;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 1023px) and (min-width: 769px) {
  .categories-container {
    grid-template-columns: 1fr; /* Cambiar a una sola columna */
    gap: 50px; /* Reducir gap para mejor espaciado */
    max-width: 800px; /* Limitar ancho máximo */
    margin: 0 auto; /* Centrar */
  }

  .prizes-container {
    padding: 0 20px; /* Reducir padding lateral */
    padding-top: 120px;
  }

  .awards-grid {
    max-width: 700px; /* Aumentar max-width para esta resolución */
    gap: 15px; /* Reducir gap entre premios */
  }

  .award-item {
    padding: 12px; /* Reducir padding */
  }

  .award-description {
    font-size: 0.75rem; /* Reducir tamaño de fuente */
  }

  .category-button {
    height: 70px; /* Reducir altura del botón de categoría */
  }
}

@media (max-width: 1200px) {
  .registration-button-bg {
    width: 350px;
    height: 60px;
  }

  .registration-text {
    font-size: 0.8rem;
  }

  .categories-container {
    gap: 30px;
  }

  /* Agregar estos ajustes para mejor transición */
  .awards-grid {
    gap: 0;
  }

  .award-description {
    font-size: 0.78rem;
  }
}

@media (max-width: 1052px) {
  .award-item {
    padding: 0; /* Reducir padding */
  }
}

@media (max-width: 768px) {
  /* Sponsors */
  .sponsors-container {
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
  }

  .sponsor-logo {
    height: 40px;
  }

  /* Main section */
  .content-container {
    padding: 0 20px;
  }

  .main-logo {
    height: 80px;
  }

  .main-title {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }

  .subtitle {
    font-size: 1.1rem;
  }

  .registration-info {
    font-size: 1rem;
  }

  .divider {
    width: 500px;
  }

  /* Prizes section */
  .registration-button-container {
    position: static;
    text-align: center;
    margin-bottom: 40px;
  }

  .registration-button-bg {
    width: 300px;
    height: 50px;
  }

  .registration-text {
    font-size: 0.7rem;
  }

  .prizes-container {
    padding-top: 20px;
  }

  .prizes-title {
    font-size: 2.5rem;
  }

  .prizes-subtitle {
    font-size: 1.2rem;
  }

  .categories-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .category-button {
    height: 60px;
  }

  .award-icon {
    width: 80px;
    height: 80px;
  }

  .award-icon-img {
    width: 50px;
    height: 50px;
  }

  .awards-grid {
    gap: 20px;
  }

  .award-item {
    padding: 20px; /* Restaurar padding en móvil */
  }

  .award-icon {
    width: 80px;
    height: 80px;
  }

  .award-position {
    font-size: 1.2rem; /* Restaurar tamaño en móvil */
    margin-bottom: 15px;
  }

  .award-description {
    font-size: 0.95rem; /* Restaurar tamaño en móvil */
    max-width: 280px; /* Restaurar restricción en móvil */
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 1.8rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .divider {
    width: 280px;
  }

  .register-button {
    height: auto;
    width: 80%;
  }

  .sponsors-container {
    flex-direction: column;
    gap: 10px;
  }

  .prizes-title {
    font-size: 2rem;
  }

  .registration-button-bg {
    width: 250px;
    height: 40px;
  }

  .registration-text {
    font-size: 0.6rem;
  }

  .award-description {
    font-size: 0.85rem;
  }
  .derecha {
    margin-right: 0;
  }
  .img-2,
  .img-3 {
    display: inline-block;
    margin: 0 5px;
  }
}

/* ===========================================
   SWIPER STYLES PARA PREMIOS (MÓVIL) - CORREGIDO
   =========================================== */

/* Contenedor del swiper */

/* Indicadores de paginación */
.swiper-pagination {
  display: none;
  justify-content: center;
  gap: 20px;
  height: 24px;
}

.swiper-pagination-bullet {
  width: 50px;
  height: 20px;
  border-radius: 20px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet.active {
  background: #000;
  transform: scale(1.2);
}

/* Estilos específicos para móvil (540px y menos) */
@media (max-width: 540px) {
  .awards-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  /* Mostrar paginación en móvil */
  .swiper-pagination {
    display: flex;
  }

  /* Convertir awards-grid en swiper horizontal */
  .awards-grid {
    display: flex !important;
    width: 100%;
    transition: transform 0.5s ease;
    touch-action: pan-y;
    gap: 0;
  }

  /* Cada award-item ocupa exactamente el 100% del contenedor */
  .award-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;

    /* Centrar contenido */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 250px;
  }

  /* Ajustar el contenido de cada award */
  .award-icon {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 15px !important;
    flex-shrink: 0;
  }

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

  .award-position {
    font-size: 1.1rem !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
    color: #000 !important;
  }

  .award-description {
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    /* max-width: 300px !important; */
    color: #000 !important;
  }

  /* Ajustar categorías para mejor espaciado */
  .categories-container {
    gap: 30px !important;
  }

  .category {
    width: 100%;
  }

  .category-header {
    margin-bottom: 20px !important;
  }

  .category-button {
    height: 50px !important;
  }

  /* Botones de navegación - ocultos en móvil pero pueden activarse si se desea */
  .carousel-nav {
    display: none;
  }
}

/* Ajustes adicionales para pantallas muy pequeñas */
@media (max-width: 400px) {
  .award-item {
    min-height: 220px !important;
  }

  .award-position {
    font-size: 1rem !important;
  }

  .award-description {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 320px) {
  .category-button {
    height: 40px !important;
  }
}

.sort-awards {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}

.sort-subtitle {
  font-size: 1.5rem;
  color: #000;
  font-weight: 400;
}

.sort-grid {
  display: flex;
  flex-wrap:wrap ;
  width: 100%;
  max-width: 900px;
  justify-content: center; /* Distribuir uniformemente */
  margin-top: 1.5rem;
}

.sort-item{
	min-width:300px;
	max-width: 300px;
}

.sort-description {
  font-size: 0.8rem; /* Reducir tamaño de fuente */
  color: #000;
  line-height: 1.3;
  max-width: none; /* Quitar restricción de ancho */
}

@media (max-width: 1024px) and (min-width: 769px) {
  .sort-description {
    font-size: 0.75rem; /* Reducir tamaño de fuente */
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .sort-subtitle {
    font-size: 1.2rem;
  }
}

@media (max-width: 540px) {
  .sort-grid {
    display: flex !important;
    width: 100%;
    transition: transform 0.5s ease;
    touch-action: pan-y;
    gap: 0;
    margin-top: 0;
    flex-wrap:unset;
    justify-content:unset;
  }

  .sort-description {
    max-width: 70%;
  }

  .sort-subtitle {
    font-size: 1rem;
    text-align: center;
  }
  
  .sort-item{
  	min-width:100%;
  	max-width:unset;
  }
}

@media (max-width: 320px) {
  .sort-subtitle {
    font-size: 0.8rem;
  }
}

/* Agregar al final del archivo CSS existente */

/* ===========================================
   SECCIÓN DE REGISTRO
   =========================================== */
.registration-section {
  position: relative;
  min-height: 60dvh;
  background: linear-gradient(180deg, #94d600 0%, #e91e63 100%);
  padding: 60px 0;
  overflow: hidden;
}

.registration-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.registration-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.registration-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.registration-header {
  text-align: center;
  margin-top: 50px;
  color: white;
}

.registration-title {
  font-size: 3.5rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.registration-subtitle {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  max-width: 768px;
}

.registration-note {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.registration-content {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-container {
  width: 70%;
  padding: 40px 40px 20px 40px;
}

/* Estilos para el formulario existente */
#webform-submission-innovaton2025-node-84-add-form {
  display: flex;
  flex-direction: column;
	color: white;
}

#webform-submission-innovaton2025-node-84-add-form .error{
	display:inline-block !important;
	color: red;
	margin-top:0.5rem;
}

#webform-submission-innovaton2025-node-84-add-form fieldset:first-of-type {
  text-align: center;
}

#webform-submission-innovaton2025-node-84-add-form fieldset:first-of-type .form-item-tiempo-del-emprendimiento- {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

#webform-submission-innovaton2025-node-84-add-form fieldset:first-of-type .form-item-tiempo-del-emprendimiento- label:first-of-type {
  margin-bottom: 0px;
}

#webform-submission-innovaton2025-node-84-add-form .form-item-fecha-nacimiento .form-item-fecha-nacimiento-date {
	min-width:100%;
}

#webform-submission-innovaton2025-node-84-add-form .form-item-fecha-nacimiento input:first-of-type {
	min-width:100%;
}

.js-form-type-checkbox{
	display:flex;
	gap:1rem;
	align-items:baseline;
	font-size:0.9rem;
}

#webform-submission-innovaton2025-node-84-add-form #edit-actions{
	display:flex;
	justify-content:center;
}

#webform-submission-innovaton2025-node-84-add-form input#edit-actions-submit {
  background-image: url('/sites/default/files/2025-06/registrate.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 200px;      
  color: transparent; 
  border: none;
  cursor: pointer;
  margin-top:1rem;
}


/* Estilos generales para elementos del formulario */
#webform-submission-innovaton2025-node-84-add-form input,
#webform-submission-innovaton2025-node-84-add-form textarea,
#webform-submission-innovaton2025-node-84-add-form select {
  background: transparent;
  border: 2px solid white;
  padding: 12px 15px;
  font-size: 1rem;
  color:white;
  transition: all 0.3s ease;
  max-width: -webkit-fill-available;
}

#webform-submission-innovaton2025-node-84-add-form input::placeholder,
#webform-submission-innovaton2025-node-84-add-form textarea::placeholder{
	color:white;
}

#webform-submission-innovaton2025-node-84-add-form input:focus,
#webform-submission-innovaton2025-node-84-add-form textarea:focus,
#webform-submission-innovaton2025-node-84-add-form select:focus {
  outline: none;
  border-color: #94d600;
  box-shadow: 0 0 10px rgba(148, 214, 0, 0.3);
}

#webform-submission-innovaton2025-node-84-add-form .js-form-type-datetime label:first-of-type {
  color: white;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#webform-submission-innovaton2025-node-84-add-form .js-form-item-video-explicativo label:first-of-type {
  color: white;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

#webform-submission-innovaton2025-node-84-add-form .form-checkboxes,
#webform-submission-innovaton2025-node-84-add-form .form-radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#webform-submission-innovaton2025-node-84-add-form .form-item {
  margin-bottom: 10px;
}

.registration-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  width: 100%;
}

.submit-button,
.whatsapp-button {
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, filter 0.3s ease;
  text-decoration: none;
}

.submit-button:hover,
.whatsapp-button:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.submit-button-img,
.whatsapp-button-img {
  height: 60px;
  width: 100%;
  object-fit: contain;
}

/* ===========================================
   RESPONSIVE PARA SECCIÓN DE REGISTRO
   =========================================== */
@media (max-width: 768px) {
  .registration-section {
    padding: 40px 0;
  }

  .registration-container {
    padding: 0 20px;
  }

  .registration-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .registration-subtitle {
    font-size: 1.1rem;
  }

  .form-container {
    padding: 30px 20px;
  }

  #webform-submission-innovaton2025-node-84-add-form {
    min-height: 500px;
  }

  .submit-button-img,
  .whatsapp-button-img {
    height: 50px;
  }
}

@media (max-width: 480px) {
  .registration-title {
    font-size: 2rem;
  }

  .registration-subtitle {
    font-size: 1rem;
  }

  .form-container {
    padding: 20px 15px;
    width: 100%;
  }

  #webform-submission-innovaton2025-node-84-add-form {
    min-height: 400px;
    gap: 15px;
  }

  .submit-button-img,
  .whatsapp-button-img {
    height: 45px;
  }
}
/* Reemplazar la sección de criterios en el CSS existente */

/* ===========================================
   SECCIÓN DE CRITERIOS DE EVALUACIÓN
   =========================================== */
.criteria-section {
  background: #e91e63;
  min-height: 60vh;
  padding: 80px 0;
  position: relative;
}

.criteria-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.criteria-images {
  margin-bottom: 60px;
  text-align: center;
}

.criteria-top-images {
  max-width: 800px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.criteria-header {
  text-align: center;
  margin-bottom: 80px;
}

.criteria-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.criteria-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
}

.criteria-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

@media screen and (max-width: 1080px) {
  .criteria-grid {
    .criteria-item {
      flex-direction: column;
      gap: 0;
      align-items: start;
    }
  }
}

.criteria-number {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.number-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.criteria-content {
  background: white;
  border: 2px solid #000; /* Borde negro */
  border-radius: 20px;
  padding: 1.3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 380px;
  min-height: 146px;
}

.criteria-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.criteria-icon {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.criteria-text {
  flex: 1;
  flex-grow: 11;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.criteria-subtitle {
  font-size: 1rem;
  font-weight: bolder;
  color: #333;
  text-transform: uppercase;

  line-height: 1.2;
}

.criteria-description {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

/* ===========================================
   RESPONSIVE PARA SECCIÓN DE CRITERIOS
   =========================================== */
@media (max-width: 1024px) {
  .criteria-row {
    flex-direction: column;
    align-items: center;
  }

  .criteria-title {
    font-size: 3rem;
  }

  .criteria-top-images {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .criteria-section {
    padding: 60px 0;
  }

  .criteria-container {
    padding: 0 20px;
  }

  .criteria-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .criteria-images {
    margin-bottom: 40px;
  }

  .criteria-top-images {
    max-width: 400px;
  }

  .criteria-header {
    margin-bottom: 60px;
  }

  .criteria-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .criteria-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }

  .criteria-number {
    width: 70px;
    height: 70px;
  }

  .criteria-icon {
    width: 50px;
    height: 50px;
  }

  .criteria-subtitle {
    font-size: 1.2rem;
  }

  .criteria-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 540px) {
  .criteria-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
  }

  .criteria-grid {
    display: flex !important;
    width: 100%;
    transition: transform 0.5s ease;
    touch-action: pan-y;
    gap: 0;
    flex-wrap: unset;
    flex-direction: row;
    justify-content: unset;
    padding-bottom: 3rem;
  }
  .criteria-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;

    /* Centrar contenido */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 250px;
  }
}
@media (max-width: 480px) {
  .criteria-title {
    font-size: 2rem;
  }

  .criteria-top-images {
    max-width: 300px;
  }

  .criteria-content {
    padding: 20px;
  }

  .criteria-subtitle {
    font-size: 1.1rem;
  }

  .criteria-description {
    font-size: 0.9rem;
  }

  .criteria-number {
    width: 60px;
    height: 60px;
  }

  .criteria-icon {
    width: 40px;
    height: 40px;
  }
}
/* ===========================================
   SECCIÓN DE FASES DEL CONCURSO
   =========================================== */
.phases-section {
  position: relative;
  min-height: 60vh;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #e91e63 0%, #7e57c6 100%);
}

.phases-background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.phases-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.phases-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.phases-header {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
}

.phases-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.phases-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 1000px;
  margin-bottom: 30px;
}

.phase-item {
  display: flex;
  position: relative;
  max-width: 300px;
  width: 100%;
}

.phase-content {
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phase-content:hover {
  transform: translateY(-5px);
}

.phase-content-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.phase-text {
  position: absolute;
  top: 66%;
  left: 58%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80%;
  color: #333;
}

.phase-title {
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #e91e63;
  margin-bottom: 8px;
  line-height: 1.1;
}

.phase-subtitle {
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #e91e63;
  margin-bottom: 8px;
  line-height: 1.1;
}

.phase-dates {
  font-size: 0.9rem;
  font-weight: bolder;
  color: #333;
  line-height: 1.2;
}

.phases-info {
  text-align: center;
  max-width: 940px;
  color: white;
}

.phases-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.phases-description strong {
  font-weight: bold;
}

.phases-button-container {
  display: flex;
  justify-content: center;
}

.nescafe-button {
  transition: all 0.3s ease;
}

.nescafe-button-img {
  max-width: 80%;
  height: auto;
}

.nescafe-button-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
  border-radius: 20px;
}

.nescafe-button-text {
  display: block;
}

/* ===========================================
   RESPONSIVE PARA SECCIÓN DE FASES
   =========================================== */
@media (max-width: 1023px) {
  .phases-row {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .phases-title {
    font-size: 3rem;
  }

  .phase-item {
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .phases-section {
    padding: 60px 0;
  }

  .phases-container {
    padding: 0 20px;
  }

  .phases-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }

  .phases-header {
    margin-bottom: 60px;
  }

  .phases-grid {
    gap: 40px;
    margin-bottom: 60px;
  }

  .phase-item {
    max-width: 300px;
  }

  .phases-description {
    font-size: 1.1rem;
  }

  .nescafe-button {
    padding: 12px 30px;
    font-size: 1rem;
  }

  /* Responsive para el texto de las fases */
  .phase-text {
    width: 70%;
  }

  .phase-title {
    font-size: 0.9rem;
  }

  .phase-subtitle {
    font-size: 0.7rem;
  }

  .phase-dates {
    font-size: 0.8rem;
  }
}
@media (max-width: 540px) {
  .phases-grid {
    display: flex !important;
    width: 100%;
    transition: transform 0.5s ease;
    touch-action: pan-y;
    gap: 0;
    flex-wrap: unset;
    flex-direction: row;
    justify-content: unset;
    padding-bottom: 3rem;
  }
  .phase-item {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0 !important;

    /* Centrar contenido */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    min-height: 250px;
  }

  .phases-info {
    margin-top: 3rem;
  }
}
@media (max-width: 480px) {
  .phases-title {
    font-size: 2rem;
  }

  .phase-item {
    max-width: 250px;
  }

  .phases-description {
    font-size: 1rem;
  }

  .nescafe-button {
    padding: 10px 25px;
    font-size: 0.9rem;
  }

  /* Responsive para el texto de las fases */
  .phase-text {
    width: 80%;
  }

  .phase-title {
    font-size: 0.8rem;
  }

  .phase-subtitle {
    font-size: 0.65rem;
  }

  .phase-dates {
    font-size: 0.75rem;
  }
}
/* ===========================================
   SECCIÓN DE SOCIOS Y ALIADOS
   =========================================== */
.partners-section {
  background: #7e57c6;
  padding: 80px 0;
  position: relative;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

/* Sección "Con respaldo de" */
.partners-support {
  text-align: center;
  width: 100%;
}

.partners-support-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.support-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.support-logo-item {
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 300px;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.support-logo-item:hover {
  transform: translateY(-5px);
}

.support-logo {
  max-width: 100%;
  max-height: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Sección "En alianza con" */
.partners-alliance {
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partners-alliance-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.alliance-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 900px;
}

.alliance-logo-item {
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 200px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alliance-logo-item:hover {
  transform: translateY(-3px);
}

.alliance-logo {
  max-width: 200px;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ===========================================
   RESPONSIVE PARA SECCIÓN DE SOCIOS
   =========================================== */
@media (max-width: 1024px) {
  .partners-container {
    gap: 50px;
  }

  .partners-support-title,
  .partners-alliance-title {
    font-size: 2.2rem;
  }

  .support-logos {
    gap: 30px;
  }

  .alliance-row {
    gap: 25px;
  }

  .support-logo-item {
    min-width: 280px;
    min-height: 140px;
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 0;
  }

  .partners-container {
    padding: 0 20px;
    gap: 40px;
  }

  .partners-support-title,
  .partners-alliance-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
  }

  .support-logos {
    align-items: center;
    gap: 20px;
  }

  .support-logo-item {
    min-width: 250px;
    min-height: 120px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .partners-support-title,
  .partners-alliance-title {
    font-size: 1.5rem;
  }

  .support-logo-item {
    min-width: 0;
    min-height: 0;
    padding: 10px;
  }

  .alliance-logo-item {
    padding: 10px;
    min-width: 0;
    min-height: 0;
  }

  .alliance-logo {
    max-width: 120px;
  }
  .alliance-logos {
    gap: 0;
  }
  .support-logo {
    max-height: 100px;
  }
}
