/* =========================================
   HERO SECTION
   Archivo: hero.css
   Descripción: Sección principal con imagen de fondo y CTA
   ========================================= */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px var(--spacing-lg) var(--spacing-3xl);
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4a7a 100%);
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 44, 74, 0.9) 0%, rgba(0, 168, 232, 0.7) 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
}

.hero__content {
  color: var(--color-white);
}

/* Badge de confianza */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-xl);
  animation: fadeInDown 0.8s ease;
}

.hero__badge svg {
  color: var(--color-secondary);
}

/* Título */
.hero__title {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero__title .text-secondary {
  color: var(--color-secondary);
  display: block;
}

/* Subtítulo */
.hero__subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  margin-bottom: var(--spacing-2xl);
  opacity: 0.95;
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Botones */
.hero__buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero__btn {
  min-width: 250px;
}

/* Características */
.hero__features {
  display: flex;
  gap: var(--spacing-xl);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.8s both;
}

.hero__feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--text-sm);
  font-weight: 500;
}

.hero__feature svg {
  color: var(--color-secondary);
  flex-shrink: 0;
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--color-white);
  opacity: 0.7;
  animation: bounce 2s infinite;
  cursor: pointer;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* =========================================
   BOTÓN "AGENDAR VISITA TÉCNICA" - ESTILO OUTLINE BLANCO
   ========================================= */

.hero .btn--secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
  font-weight: 600;
}

.hero .btn--secondary:hover {
  background-color: var(--color-white);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}