/* ============================================================
   HERO
============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: #111;
}

/* ============================================================
   FONDOS DEL SLIDER
============================================================ */

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   OSCURECIMIENTO DEL HERO
============================================================ */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 12, 0.82) 0%,
    rgba(8, 10, 12, 0.62) 35%,
    rgba(8, 10, 12, 0.28) 68%,
    rgba(8, 10, 12, 0.45) 100%
  );
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 30%,
    transparent 75%,
    rgba(0, 0, 0, 0.2) 100%
  );
}

/* ============================================================
   CONTENEDOR HERO
============================================================ */

.hero-container {
  position: relative;
  z-index: 2;
  width: min(1500px, 92%);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}

.hero-content {
  width: min(720px, 60%);
  padding-top: 80px;
}

/* ============================================================
   ETIQUETA
============================================================ */

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 17px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 30px;
}

.hero-tag span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.hero-tag p {
  font-size: 11px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================================
   TÍTULO
============================================================ */

.hero-content h1 {
  max-width: 800px;
  font-size: clamp(48px, 5vw, 82px);
  line-height: 0.99;
  font-weight: 600;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 25px;
  text-wrap: balance;
}

/* ============================================================
   ANIMACIÓN DEL TEXTO
============================================================ */

.text-changing {
  animation: textChange 0.7s ease both;
}

@keyframes textChange {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* ============================================================
   LÍNEA
============================================================ */

.hero-line {
  width: 155px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  margin-bottom: 18px;
}

/* ============================================================
   DESCRIPCIÓN
============================================================ */

.hero-description {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 22px;
}

/* ============================================================
   CAJA INFORMATIVA
============================================================ */

.hero-info {
  display: flex;
  align-items: center;
  min-height: 68px;
  width: min(560px, 100%);
  padding: 17px 24px;
  margin-bottom: 28px;
  border-left: 2px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================================
   BOTONES HERO
============================================================ */

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 28px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease;
}

.hero-button:hover {
  transform: translateY(-3px);
}

.hero-button.primary {
  background: rgba(255, 255, 255, 0.95);
  color: #111;
}

.hero-button.primary:hover {
  background: #fff;
}

.hero-button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
}

.hero-button.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   CONTROLES DEL SLIDER
============================================================ */

.hero-controls {
  position: absolute;
  z-index: 5;
  bottom: 42px;
  left: 50%;
  width: min(1500px, 92%);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   DOTS
============================================================ */

.slider-dots {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.dot.active {
  background: #fff;
  transform: scale(1.25);
}

/* ============================================================
   FLECHAS
============================================================ */

.slider-arrows {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.slider-arrow {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: scale(1.06);
}

/* ============================================================
   SCROLL
============================================================ */

.scroll-indicator {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.scroll-indicator span {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.7);
}

.scroll-indicator small {
  font-size: 7px;
  letter-spacing: 3px;
}

/* ============================================================
   SECCIONES FUTURAS
============================================================ */

.future-section {
  min-height: 70vh;
  padding: 120px 8%;
  display: flex;
  align-items: center;
  background: #f4f4f2;
  color: #111;
}

.future-section:nth-child(odd) {
  background: #e9e9e7;
}

.future-section > div {
  max-width: 800px;
}

.future-section span {
  font-size: 12px;
  letter-spacing: 4px;
  font-weight: 700;
  opacity: 0.5;
}

.future-section h2 {
  font-size: clamp(45px, 6vw, 90px);
  margin: 15px 0 20px;
  letter-spacing: -3px;
}

.future-section p {
  font-size: 18px;
  line-height: 1.7;
  color: #555;
}

/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1100px) {
  .hero-content {
    width: 68%;
  }

  .hero-content h1 {
    font-size: clamp(45px, 5.8vw, 70px);
  }
}

/* ============================================================
   MOBILE / RESPONSIVE
============================================================ */

@media (max-width: 800px) {
  .hero {
    min-height: 720px;
    height: 100svh;
  }

  .hero-slide {
    background-position: 62% center;
    transform: scale(1.03);
  }

  .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 9, 11, 0.77),
      rgba(7, 9, 11, 0.48)
    );
  }

  .hero-container {
    width: calc(100% - 38px);
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding-top: 55px;
  }

  .hero-tag {
    margin-bottom: 24px;
    padding: 7px 13px;
  }

  .hero-tag p {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 10.5vw, 58px);
    line-height: 1.02;
    letter-spacing: -1.5px;
    margin-bottom: 22px;
    max-width: 650px;
  }

  .hero-line {
    width: 160px;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 15px;
    line-height: 1.55;
    max-width: 540px;
    margin-bottom: 22px;
  }

  .hero-info {
    width: 100%;
    min-height: 78px;
    padding: 17px 20px;
    margin-bottom: 25px;
    font-size: 14px;
  }

  .hero-buttons {
    flex-wrap: wrap;
  }

  .hero-button {
    min-height: 45px;
    padding: 0 22px;
    font-size: 10px;
  }

  .hero-controls {
    bottom: 28px;
    width: calc(100% - 38px);
    justify-content: center;
  }

  .slider-dots {
    position: static;
    transform: none;
  }

  .slider-arrows {
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .scroll-indicator {
    display: none;
  }
}

/* ============================================================
   MOBILE PEQUEÑO
============================================================ */

@media (max-width: 480px) {
  .hero-container {
    width: calc(100% - 30px);
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-tag {
    margin-bottom: 20px;
  }

  .hero-tag p {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .hero-content h1 {
    font-size: 38px;
    line-height: 1.04;
    letter-spacing: -1px;
  }

  .hero-description {
    font-size: 14px;
  }

  .hero-info {
    font-size: 13px;
    min-height: 72px;
  }

  .hero-buttons {
    gap: 9px;
  }

  .hero-button {
    padding: 0 17px;
  }

  .hero-controls {
    width: calc(100% - 30px);
    bottom: 20px;
  }

  .slider-arrows {
    display: none;
  }
}
