body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eaf7fd;
    color: #333;
    line-height: 1.6;
  }
  
  .main-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  h1, h2 {
    color: #111;
    margin-bottom: 0.5em;
  }
  
  h1 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  h2 {
    font-size: 2rem;
    margin-top: 2rem;
  }
  
  h3 {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
  }
  
  p {
    margin-bottom: 1rem;
  }
  
  section {
    margin-bottom: 3rem;
  }
  
  .grid-2 {
    display:grid ;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
  
  .box {
    background-color: #b9e7f7;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  }
  
  .text-center {
    text-align: center;
  }
  
  ul {
    padding-left: 1.5rem;
  }
  
  ul li {
    margin-bottom: 0.5rem;
  }
  
  .emoji {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
  }
/* Estilo general para todas las imágenes */
/* Fade-in animation general para secciones */
/* Animación suave al aparecer */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
  }
  
  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Imagen principal: grande y protagonista */
  .main-img {
    width: 100%;
    max-width: 880px;
    height: 460px;
    object-fit:fill;
    object-position: center;
    display:block;
    margin: 2rem auto 0;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
  }
  
  .main-img:hover {
    transform: scale(1.015);
  }
  
  /* Imágenes secundarias: tamaños personalizados para dinamismo visual */
  .sub-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center;
    margin-top: 1rem;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
  }
  
  /* Alternar ligeramente tamaños según posición en el grid */
  .grid-2 > div:nth-child(odd) .sub-img {
    height: 260px;
  }
  
  .grid-2 > div:nth-child(even) .sub-img {
    height: 300px;
  }
  
  .sub-img:hover {
    transform: scale(1.03);
  }
  
  /* Grids */
  .grid-2,
  .grid-4 {
    display: grid;
    gap: 2rem;
  }
  
  .grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: start;
  }
  
  .grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-top: 1.5rem;
    text-align: center;
  }
  
  /* Emoji y texto */
  .emoji {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    display: inline-block;
  }
  
  /* Responsive ajustes */
  @media (max-width: 768px) {
    .main-img {
      height: auto;
      max-width: 100%;
      border-radius: 12px;
    }
  
    .sub-img {
      height: 220px;
      margin-top: 0.8rem;
    }
  
    .grid-2,
    .grid-4 {
      grid-template-columns: 1fr;
    }
  }
/* Estilo específico para los bloques de características */
.features-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}



.feature {
  background-color: #fff;
  width: 220px;
  padding: 1.5rem;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 350px; /* opcional para asegurar igual altura */

  
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  flex-grow: 1;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1rem;
}

.feature img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature img:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .features-row {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    width: 90%;
  }
}

  /* Botón que aparece al llegar al final */
.floating-bottom-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0077ff;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 50%;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none; /* Oculto por defecto */
    transition: transform 0.3s ease, background-color 0.3s ease;
  }
  
  .floating-bottom-button:hover {
    background-color: #005fcc;
    transform: scale(1.1);
  }
  

  #fichas {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(170deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
}

#fichas:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);

}

/* Estilo general de la sección */
.explora {
  padding: 4rem 1rem;
  text-align: center;
}

.explora h2 {
  font-size: 2rem;
  color: #001133;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Contenedor de los botones */
.botonera {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Estilo base para todos los botones */
.botonera a {
  background-color: #001133;
  color: white;
  padding: 1rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  min-width: 150px;
  text-align: center;
}

/* Hover animado */
.botonera a:hover {
  background-color: #003399;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive en móviles */
@media (max-width: 600px) {
  .explora h2 {
    font-size: 1.5rem;
  }

  .botonera {
    flex-direction: column;
    align-items: center;
  }

  .botonera a {
    width: 80%;
    max-width: 300px;
  }
}
