/* HERO SLIDER */
.hero {
  position: relative;
  width: 100%;
  height: 600px; 
  background-color: #1a1a1a; 
  display: block !important;
  overflow: hidden;
  z-index: 1;
}

.slider, .slide {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0; 
  transition: opacity 1s ease-in-out;
  z-index: 2;
}

.slide.active {
  opacity: 1 !important;
  z-index: 3;
}

.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: -1;
}

/* CONTENIDO  */
.hero__content {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  color: #FFFFFF;
}

.slide.active .hero__content {
  transform: translateY(0);
  opacity: 1;
}

.hero__tag {
  background: var(--color-dorado-uabc);
  color: #fff;
  padding: 5px 15px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1rem;
}

.hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero__title span {
  color: #DD971A; 
  display: block;
}

.hero__text {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
}

.hero__actions {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-verde-uabc);
  color: #fff;
}

.btn--outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* CONTROLES */
.slider__controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 20;
  transform: translateY(-50%);
}

.control-btn {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px 15px;
  border-radius: 50%;
  transition: 0.3s;
}

.control-btn:hover { background: var(--color-dorado-uabc); }

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero { height: 500px; }
  .hero__title { font-size: 2rem; }
  .hero__actions { flex-direction: column; }
}