/* Integración de fuentes Gotham 
Autor: Uriel Ramos (urielramos@gmail.com)
Fecha: 16 de julio de 2025
*/

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Book.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Gotham';
  src: url('fonts/Gotham-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
}

/* Puedes seguir agregando otros estilos como Ultra, Medium, etc. */

body {
  margin: 0;
  font-family: 'Gotham', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  background-color: #fff;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5 {
  font-weight: 700;
  margin-top: 0;
}

h2.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
  color: #222;
}

section {
  padding: 60px 0;
}

/* Entradas destacadas */

.posts-destacados {
  background-color: #f9f9f9;
}

.posts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.post-card {
  flex: 1 1 300px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.post-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.post-content {
  padding: 20px;
}

.post-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1d1d1d;
}

.post-excerpt {
  font-size: 1rem;
  color: #555;
}

@media (max-width: 768px) {
  .post-card {
    flex: 1 1 100%;
  }
}

/* Categorías de participación */

.categorias-participacion {
  background-color: #fff;
}

.categorias-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.categoria-card {
  flex: 1 1 200px;
  background: #f3f3f3;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: background 0.3s ease;
}

.categoria-card:hover {
  background: #ececec;
}

.categoria-icono {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.categoria-nombre {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
}

/* Requisitos */

.requisitos-participacion {
  background-color: #f4f4f4;
}

.requisitos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.requisito-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.requisito-icono {
  font-size: 2rem;
  margin-bottom: 10px;
}

.requisito-texto {
  font-size: 1rem;
  color: #333;
}

/* Cronograma */

.cronograma {
  background-color: #fff;
}

.cronograma ul {
  list-style: none;
  padding: 0;
  max-width: 900px;
  margin: 0 auto;
}

.cronograma li {
  margin-bottom: 30px;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 8px;
}

.cronograma li strong {
  display: block;
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 5px;
}

.cronograma li span {
  color: #555;
  font-size: 0.95rem;
}

/* Criterios */

.criterios-evaluacion {
  background-color: #f5f5f5;
}

.criterios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.criterio-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.criterio-porcentaje {
  font-size: 2rem;
  color: #1d1d1d;
  font-weight: bold;
  margin-bottom: 10px;
}

.criterio-titulo {
  font-size: 1rem;
  color: #333;
}

/* Presentación final */

.presentacion-final {
  background-color: #fff;
}

.presentacion-final p {
  font-size: 1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Beneficios */

.beneficios-ganadores {
  background-color: #f9f9f9;
}

.beneficios-ganadores ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.beneficios-ganadores li {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  color: #333;
}

.slideshow-title {
  font-size: 3.15rem;
  font-weight: 900;
  line-height: 1.0;
  color: #FF8000;
  margin-bottom: 1rem;
  font-family: 'Gotham-Bold', sans-serif;
}

.slideshow-description {
  font-size: 1.6rem;
  line-height: 1.0;
  color: #0a435f;
  font-weight: 400;
  font-family: 'Gotham-Book', sans-serif;
	/*border-bottom: 5px solid #FF8000;
  display: inline-block;
  padding-bottom: 10px;*/ 
}

.quienes-texto p {
    font-size: 1.2rem; 
    line-height: 1.0; 
    text-align: justify;
    color: #f0eeee;
}



 .swiper {
      width: 100%;
      padding-top: 50px;
      padding-bottom: 50px;
    }

    .swiper-slide {
      background-position: center;
      background-size: cover;
      width: 300px;
      height: 300px;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
    }

    .fundamentos-section {
  background-color: #f0f0f0;
  padding: 60px 20px;
  text-align: center;
}

.fundamentos-titulo {
  font-size: 2.4rem;
  color: #ff8000;
  font-weight: 900;
  margin-bottom: 10px;
}
.texto-naranja {  
  color: #ff8000;
}

.fundamentos-subtitulo {
  color: #003c58;
  font-size: 1.4rem;
  margin-bottom: 40px;
}

.fundamentos-cajas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.fundamento-caja {
  background: #fff;
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0 6px 8px rgba(0,0,0,0.1);
  flex: 1 1 250px;
  max-width: 320px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0px;
  margin: 0 25px;
}

.fundamento-caja h3 {
  color: #003c58;
  font-size: 1.1rem;
  font-weight: 900;
}

.fundamento-caja p {
  font-size: 1rem;
  color: #003c58;
}

.fundamento-caja p, h3 {  
  width: 95%;
  line-height: 1.2; 
}
.fundamento-caja img {
  width: 60px;
  align-self: flex-end;
}




.categorias-section {
  background-color: #ff8000;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.categorias-titulo {
  color: white;
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 30px;
}

.categorias-box {
  background: white;
  border-radius: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-shadow: 5px 8px 15px rgba(0, 0, 0, 0.2);
}

.categoria {
  color: #ff8000;
  text-align: center;
  margin: 0 20px;
  max-width: 160px;
}

.categoria img {
  height: 80px;
  margin-bottom: 10px;
}

.categoria p {
  font-size: 0.8rem;
  font-weight: bold;
  line-height: 1.0;
}

.separador {
  width: 1px;
  height: 70px;
  background-color: #ff8000;
  margin: 0 20px;
}

@media (max-width: 768px) {
  .categorias-box {
    flex-direction: column;
    border-radius: 30px;
  }

  .separador {
    display: none;
  }

  .categoria {
    margin: 20px 0;
  }
}



.requisitos-section {
  background-color: #f1f2f2;
  padding: 60px 20px;
  text-align: center;
}

.requisitos-container {
  max-width: 1300px;
  margin: 0 auto;
}

.requisitos-titulo {
  color: #ff8000;
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 50px;
}

.requisitos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 30px;
  margin-bottom: 40px;
  /*text-align: left;*/
}

@media (max-width: 1024px) {
  .requisitos-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 600px) {
  .requisitos-grid {
    grid-template-columns: 1fr; 
  }
}


.requisito {
display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  line-height: 1.4;
}

.requisito img {
  width: 80px;
  height: auto;
  flex-shrink: 0;
}

.requisito p {
   margin: 0;
  font-size: 0.95rem;
  color: #083c5e;
}

.requisitos-botones {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.btn-orange {
  background-color: #ff8000;
  color: #fff;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 6px 0 #cc6600;
  transition: all 0.2s ease-in-out;
}

.btn-orange:hover {
  background-color: #e36d00;
  box-shadow: 0 4px 0 #a65300;
  transform: translateY(2px);
}

.requisitos-contacto {
  font-size: 0.95rem;
  color: #002e4e;
}

.requisitos-contacto a {
  font-weight: 700;
  color: #002e4e;
  text-decoration: none;
}



.cronograma-section {
  background-color: #ff7c00;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.cronograma-titulo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.cronograma-container {
  max-width: 1100px;
  margin: 0 auto;
}

.cronograma-items {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.cronograma-item {
  flex: 1;
  padding: 0 10px;
  border-right: 1px solid #fff;
}

.cronograma-item:last-child {
  border-right: none;
}

.cronograma-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cronograma-item p {
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 768px) {
  .cronograma-items {
    flex-direction: column;
    gap: 40px;
  }

  .cronograma-item {
    border-right: none;
    border-bottom: 1px solid #fff;
    padding-bottom: 20px;
  }

  .cronograma-item:last-child {
    border-bottom: none;
  }
}


.criterios-section {
  background-color: #f2f2f2;
  padding: 60px 20px;
  text-align: center;
}

.criterios-container {
  max-width: 1100px;
  margin: 0 auto;
}

.criterios-titulo {
  font-size: 2rem;
  font-weight: 800;
  color: #ff6c00;
  margin-bottom: 10px;
}

.criterios-subtitulo {
  color: #003349;
  font-size: 1rem;
  margin-bottom: 40px;
}

.criterios-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: nowrap; /* 👈 esto evita que bajen a otra línea */
}

.criterio {
  flex: 0 0 20%; /* cada uno ocupa exactamente el 20% */
  min-width: 0;
}

.criterio h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #003349;
  margin-bottom: 10px;
}

.criterio p span {
  font-weight: 700;
  color: #ff6c00;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .criterios-grid {
    flex-wrap: wrap;
    justify-content: center;
  }

  .criterio {
    flex: 1 1 100%;
    max-width: 300px;
    margin-bottom: 30px;
  }
}




.presentacion-section {
  background-color: #fff;
  padding: 60px 80px;
  text-align: center;
}

.presentacion-container {
  /*max-width: 1100px;*/
  margin: 0 auto;
  background: #f2f2f2;
  border-radius: 50px;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.presentacion-titulo {
  color: #ff6c00;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: left;
}

.presentacion-items {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.presentacion-item {
  flex: 1 1 30%;
  text-align: center;
}

.presentacion-item img {
  height: 60px;
  margin-bottom: 0px;
}

.presentacion-item p {
  color: #003349;
  font-size: 1rem;
  line-height: 1.5;
}

.presentacion-item p strong {
  font-weight: 700;
}



.beneficios-section {
  background-color: #003349;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.beneficios-container {
  max-width: 1100px;
  margin: 0 auto;
}

.beneficios-titulo {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: left;
  color: #ffffff;
}

.beneficios-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.beneficio {
  flex: 1 1 30%;
  text-align: left;
}

.beneficio img {
  height: 40px;
  margin-bottom: 0px;
}

.beneficio p {
  font-size: 1rem;
  line-height: 1.5;
  color: #ffffff;
}

.beneficio p strong {
  font-weight: bold;
}

.apoyan-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
}

.apoyan-logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.apoyan-logos img {
  height: 120px;
  
  
}


.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: white;
    width: 100%;
    padding: 20px;
    z-index: 999;
    border-top: 1px solid #eee;
  }

  .main-nav.active {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu-toggle {
    display: flex;
  }
}


.main-content, .hero-section, .first-section {
  padding-top: 100px; /* Ajusta según el alto del header */
}

.site-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Estructura horizontal del menú */
.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

/* Enlaces del menú */
.nav-menu li a {
  text-decoration: none;
  color: #1f3d57;
  font-weight: 400;
  font-size: 14px;
  transition: color 0.3s;
}

/* Estilo del enlace activo */
.nav-menu li.current-menu-item a,
.nav-menu li a:hover {
  font-weight: 700;
  color: #ff7900;
}

/* Contenedor del menú */
.site-header .container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 15px 20px;
}

/* Logo */
.logo img {
  max-height: 40px;
}


body.admin-bar .site-header {
  margin-top: 32px; /* Altura del admin bar */
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    margin-top: 46px;
  }
}

/* Estilo base del menú */
.nav-menu li {
  display: inline-block;
  margin: 0 10px;
}

.nav-menu li a {
  display: block;
  padding: 8px 15px;
  border-radius: 20px;
  color: #0d3f56;
  text-decoration: none;
  font-weight: normal;
  transition: all 0.3s ease;
}

/* Hover y enlace activo */
.nav-menu li.current-menu-item a,
.nav-menu li a:hover {
  background-color: #f2f2f2; /* color del fondo gris claro */
  color: #ff7a00; /* naranja */
  font-weight: 700;
}


.custom-logo {
  height: auto;
  max-height: 60px; /* ajusta según tu diseño */
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
html {
  scroll-behavior: smooth;
}

.loader-overlay {
  position: fixed;
  z-index: 99999;
  background-color: #fff;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #ff6c00; /* Color del loader */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
	.apoyan-logos img {
    height: auto;
    width: 75%;
}
	.presentacion-section {
    background-color: #fff;
    padding: 60px 20px;
    text-align: center;
}
	.presentacion-titulo {
    color: #ff6c00;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
}
	
	.fundamentos-titulo {
    font-size: 2.2rem;
    color: #ff8000;
    font-weight: 900;
    margin-bottom: 10px;
}
}
