/* ==SECCIÓN HERO (REDISEÑADA) == */
.hero-section {
  position: relative;
  height: 68vh;
  min-height: 550px;
  width: auto;
  margin: 20px; 
  border-radius: 30px;
  overflow: hidden; 
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--usb-black);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* Capa oscura sutil sobre el video para mejorar la lectura */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  z-index: 2; /* capa oscura editable: encima del degradado */
}

/* --- DEGRADADO BLANCO SOBRE EL VIDEO --- */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; 
  background: linear-gradient(to bottom,
    transparent 0%,
    color-mix(in srgb, var(--hero-fade, #ffffff) 45%, transparent) 50%,
    var(--hero-fade, #ffffff) 100%);
  z-index: 1; 
  pointer-events: none; 
}

.hero-content {
  position: relative;
  z-index: 3; 
  text-align: center;
  max-width: 900px;
  padding: 0 40px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900; 
  line-height: 1.1;
  margin-bottom: 35px;
  text-transform: capitalize;
  color: var(--white);
  text-shadow: none; 
  letter-spacing: -1px;
}

/* Estilo de botón sólido para que destaque sobre el fondo amarillo */
.linear-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background-color: var(--usb-black);
  color: var(--usb-yellow);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.linear-button:hover {
  background-color: #222; 
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.linear-button span {
  font-size: 1.2rem;
}
/* -------------------------
   INDICADOR DE SCROLL (RESTAURADO Y ACTUALIZADO)
   ------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 30px; /* Lo subimos un poco para que no choque con el borde redondeado */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10; /* Por encima del degradado amarillo */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.8;
  pointer-events: none;
}

.mouse {
  width: 26px;
  height: 44px;
  /* CAMBIO: Ahora es negro para resaltar sobre el fondo amarillo */
  border: 2px solid var(--usb-black); 
  border-radius: 15px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  /* CAMBIO: Rueda negra */
  background-color: var(--usb-black);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 1.5s infinite;
}

.scroll-text {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 800;
  /* CAMBIO: Texto negro */
  color: var(--usb-black);
}

@keyframes scrollAnim {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 25px;
  }
}

/* Ajustes para móviles */
@media (max-width: 900px) {
  .hero-section {
    margin: 15px;
    height: 60vh;
    border-radius: 20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-content {
    transform: translateY(-20px);
  }
}

/* Texto de cuerpo opcional bajo el título */
.hero-body{margin:0 auto 30px;max-width:640px;font-size:clamp(1rem,1.5vw,1.2rem);line-height:1.6;color:var(--white)}
.hero-title:has(+ .hero-body){margin-bottom:16px}
