#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(180deg, #3d1414 0%, #5f1e1e 50%, #3d1414 100%);
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(95, 30, 30, 0.3), transparent);
  z-index: 5;
  pointer-events: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(95, 30, 30, 0.85) 0%,
    rgba(95, 30, 30, 0.5) 50%,
    rgba(95, 30, 30, 0.3) 100%
  );
  z-index: 1;
}

.hero-slide .hero-slide-content,
.hero-slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 10;
  max-width: 900px;
  padding: 0 20px;
}

.hero-slide.video-slide .hero-slide-content,
div.video-slide > .hero-slide-content {
  top: 62% !important;
}

.hero-slide video, 
.hero-slide.image-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(95, 30, 30, 0.9) 0%,
    rgba(80, 25, 25, 0.8) 50%,
    rgba(40, 15, 15, 0.65) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Overlay para todo el slider (imágenes y video) */
.hero-overlay {
  display: none;
}

.hero-slide-content {
  display: block !important;
}

/* Badge/Label */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 162, 16, 0.2);
  border: 1px solid rgba(232, 162, 16, 0.4);
  color: #e8a210;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #e8a210;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* Título mejorado */
.hero-slide-content h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  line-height: 1.3;
  letter-spacing: -0.5px;
}

.hero-slide-content p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Botones */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-suned {
  display: inline-block;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid #e8a210;
  color: #e8a210;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 120px;
}

.hero-slide-content .btn-primary {
  display: inline-block;
  padding: 16px 36px;
  background: linear-gradient(135deg, #e8a210 0%, #d4920a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(232, 162, 16, 0.4);
}

.hero-slide-content .btn-primary:hover {
  background: linear-gradient(135deg, #f0b020 0%, #e8a210 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 30px rgba(232, 162, 16, 0.5);
}

.hero-slide-content .btn-secondary {
  display: inline-block;
  padding: 16px 36px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
}

.hero-slide-content .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

/* Navegación del slider */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-nav:hover {
  background: rgba(232, 162, 16, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(232, 162, 16, 0.6);
}

.hero-nav.prev {
  left: 20px;
}

.hero-nav.next {
  right: 20px;
}

/* Indicadores (dots) - hidden since scroll indicator replaces them */
.hero-dots {
  display: none;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
  background: #e8a210;
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 992px) {
  #hero {
    min-height: 580px;
  }
  
  .hero-slide .hero-slide-content {
    top: calc(50% + 50px);
  }
  
  .hero-slide .hero-slide-content h1 {
    font-size: 2rem;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  
  .hero-nav.prev {
    left: 10px;
  }
  
  .hero-nav.next {
    right: 10px;
  }
  
  .hero-dots {
    bottom: 20px;
  }
  
  #hero {
    min-height: 550px;
  }
  
  .hero-slide .hero-slide-content {
    top: calc(50% + 40px);
    padding-top: 60px;
  }
  
  .hero-slide .hero-slide-content h1 {
    font-size: 1.6rem;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 0.95rem;
    margin-bottom: 18px;
  }
  
  .hero-slide .hero-slide-content .hero-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }
  
  .hero-slide-content .btn-primary,
  .hero-slide-content .btn-secondary {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  
  .hero-suned {
    font-size: 0.65rem;
    padding: 5px 10px;
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: 500px;
  }
  
  .hero-slide .hero-slide-content {
    padding: 0 12px;
    top: calc(50% + 30px);
    padding-top: 50px;
  }
  
  .hero-slide .hero-slide-content h1 {
    font-size: 1.3rem;
    margin-bottom: 14px;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }
  
  .hero-slide .hero-slide-content .hero-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 1rem;
  }
  
  .hero-slide-content .btn-primary,
  .hero-slide-content .btn-secondary {
    padding: 12px 24px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
  
  .hero-nav.prev {
    left: 10px;
  }
  
  .hero-nav.next {
    right: 10px;
  }
  
  .hero-dots {
    bottom: 20px;
  }
  
  #hero {
    min-height: 520px;
  }
  
  .hero-slide .hero-slide-content {
    top: calc(50% + 35px);
    padding-top: 50px;
  }
  
  .hero-slide .hero-slide-content h1 {
    font-size: 1.4rem;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  
  .hero-slide .hero-slide-content .hero-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  
  .hero-slide-content .btn-primary,
  .hero-slide-content .btn-secondary {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  #hero {
    min-height: 480px;
  }
  
  .hero-slide .hero-slide-content {
    padding: 0 10px;
    top: calc(50% + 25px);
    padding-top: 40px;
  }
  
  .hero-slide .hero-slide-content h1 {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  
  .hero-slide .hero-slide-content p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .hero-slide .hero-slide-content .hero-badge {
    font-size: 0.6rem;
    padding: 3px 8px;
    margin-bottom: 10px;
  }
  
  .hero-nav {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .hero-dot {
    width: 8px;
    height: 8px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  
  .hero-slide-content .btn-primary,
  .hero-slide-content .btn-secondary {
    width: 100%;
    max-width: 160px;
    text-align: center;
    padding: 8px 14px;
    font-size: 0.7rem;
    border-radius: 20px;
  }
}

