/* ============================================================
   hero.css — Hero Section Carousel
   ============================================================ */

#inicio {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
}

/* Background image slides */
.hero-bg-slide {
  position: absolute;
  inset: 0;
  transition: opacity 0.7s ease;
}

.hero-bg-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-slide .overlay-main {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(13, 27, 64, 0.85),
    rgba(13, 32, 96, 0.6),
    rgba(13, 27, 64, 0.3)
  );
}

.hero-bg-slide .overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 9rem;
  background: linear-gradient(to top, rgba(10, 21, 53, 0.7), transparent);
}

/* Gradient accent line at bottom */
.hero-accent-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 20;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

/* Content area */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 88vh;
}

.hero-inner {
  max-width: 48rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/* Category tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.hero-tag-line {
  width: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
}

.hero-tag span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
}

/* Headline */
#hero-title {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

/* Description */
#hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

/* CTA buttons */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
  color: white;
  font-weight: 600;
  font-size: 1rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 0.25rem;
  transition: opacity 0.2s;
}

.btn-hero-primary:hover {
  opacity: 0.9;
}

.btn-hero-primary svg {
  transition: transform 0.2s;
}

.btn-hero-primary:hover svg {
  transform: translateX(4px);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  height: 3rem;
  padding: 0 2rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: background 0.2s, border-color 0.2s;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Slide nav controls */
.hero-controls {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .hero-controls { right: 2rem; }
}

.hero-control-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  transition: background 0.2s;
}

.hero-control-btn:hover {
  background: var(--brand-blue);
}

/* Category tabs */
.hero-tabs {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 1rem;
}

.hero-tab {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s;
}

.hero-tab:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: white;
}

.hero-tab.active {
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
  border-color: transparent;
  color: white;
}

/* Progress bar */
.hero-progress-track {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.1);
}

#hero-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-cyan), var(--brand-blue));
  animation: progress-bar 6s linear forwards;
}
