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

body, html {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: black;
  color: white;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  /*padding-top: 120px;*/
}

/* Header fijo que aparece al hacer scroll */
.encabezado-fijo {
  position: fixed;
  top: -120px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 999;
  transition: top 0.3s ease;
  padding: 10px 20px;
}

body.scrolled .encabezado-fijo {
  top: 0;
}

.contenido-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}


.logo img {
  height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.titulo-header {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; /* o 400 para más delgado */
  font-size: 1.5rem;
  margin: 0;
  text-align: center;
  flex: 1;
}
.redes-sociales a {
  margin-left: 10px;
}

.redes-sociales img {
  height: 24px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}

.redes-sociales img:hover {
  opacity: 0.7;
}

/* Mostrar el header cuando el usuario hace scroll */
body.scrolled .encabezado-fijo {
  display: block;
}

/* Sección de video */


.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: fill; /* o 'cover' si deseas recorte en extremos */
  display: block;
}

.video-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.80); /* ajusta el 0.35 para más o menos opacidad */
  z-index: 0;
}
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
  pointer-events: none; /* permite hacer clic a través del texto si necesario */
}

.video-overlay h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.video-overlay p {
  font-size: 1.2rem;
  max-width: 700px;
}

@media (max-width: 768px) {
  .video-overlay h1 {
    font-size: 2rem;
  }
  .video-overlay p {
    font-size: 1rem;
  }
}
/* Sección de opciones */
.opciones {
  background-color: #111;
  padding: 60px 20px;
  text-align: center;
}

.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Cajas 16:9 con imagen de fondo y degradado oscuro */
.opcion {
  background-color: transparent;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  font-size: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  z-index: 0;
}

.opcion::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.opcion h2,
.opcion p {
  opacity: 0;
  transform: translateY(35px); /* 10-15% más bajo */
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.opcion h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.opcion p {
  font-size: 1.1rem;
  color: #ddd;
}

/* Estilo para sombra blanca */
.con-sombra {
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.opcion:hover h2,
.opcion:hover p {
  opacity: 1;
  transform: translateY(45px); /* aparece ligeramente más abajo del centro */
}

.opcion-destacada {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  padding: 50px;
  font-size: 1.3rem;
  text-align: center;
}

/*Producciones*/

.producciones-grid {
  padding: 60px 20px;
  background-color: #111;
}

.grid-contenedor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.item-produccion {
  background-color: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  color: white;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-produccion:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

/*Predicaciones*/
#mapa {
  height: 500px;
  width: 100%;
  max-width: 1000px;
  margin: 40px auto;
  border-radius: 12px;
}
.material-estudio {
  background-color: #000;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.material-estudio .intro-text {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ccc;
}

.grid-material {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.material-card {
  background-color: #1a1a1a;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 300px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.material-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: white;
}

.material-card p {
  font-size: 1rem;
  color: #bbb;
  flex-grow: 1;
}

.material-card a {
  margin-top: 20px;
  display: inline-block;
  padding: 10px 15px;
  background-color: #333;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.material-card a:hover {
  background-color: #555;
}
 /*Cuenta regresiva*/
 .cuenta-regresiva {
  text-align: center;
  background-color: #111;
  color: white;
  padding: 60px 20px;
}

#contador {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .opcion h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .opcion p {
    font-size: 0.9rem;
    padding: 0 10px;
  }

  .grid-2x2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}