body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}
.video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-color: black; /* previene espacios blancos */
}

.video-background {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.35); /* contraste opcional */
  text-align: center;
}

.red-banner {
  background-color: #C52829; /* rojo según el Brand Manual */
  color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.red-banner h2 {
  font-size: 1.9rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 1000px;
}
.featured-section {
  background-color: #F5F7FA; /* Fondo claro */
  padding: 60px 20px;
  text-align: center;
}

.featured-title {
  color: #0B1E3C;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

.featured-card {
  background-color: #ffffff;
  display: flex;
  align-items: flex-start;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-align: left;
}

.featured-card:hover {
  transform: translateY(-5px);
}

.featured-card img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  flex-shrink: 0;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: #0B1E3C;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 0.95rem;
  color: #2E2E2E;
  margin: 0;
}
.legacy-banner {
    background-image: url('/images/headerc-08.jpg'); /* <-- asegúrate de usar la ruta correcta */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 700px;
  }

  .legacy-content {
    color: #ffffff;
    max-width: 700px;
  }

  .legacy-content h2 {
    font-size: 2.5rem;
    margin: 10px 0;
    line-height: 1.3;
  }

.subscribe-btn {
  background-color: #F1C40F;
  border: none;
  padding: 12px 32px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  color: #000;
  margin-top: 20px;
  transition: background-color 0.3s ease;
  text-decoration: none; 
  display: inline-block;  
}


  .subscribe-btn:hover {
    background-color: #d4a007;
  }

/* Responsive para móviles */
@media (max-width: 768px) {
    .video-section {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .video-background {
    height: auto;
    object-fit: contain;
  }
    .red-banner p {
    font-size: 1.1rem;
    line-height: 1.5;
  }
    .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .featured-card img {
    width: 100%;
    height: auto;
  }

  .card-content {
    padding: 15px;
  }
    .legacy-content h2 {
    font-size: 1.6rem;
  }

  .subscribe-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}
