/* ===========================================
  HERO - Landing Principal
=========================================== */

.hero {
  position: relative;
  padding: 6rem 0 2rem;
  overflow: hidden;
}

/* -------------------------------------------
  Fondo Difuminado
------------------------------------------- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(117, 102, 219, 0.05), transparent);
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-bg-circle--1 {
  top: -5rem;
  right: -5rem;
  width: 300px;
  height: 300px;
  background: rgba(117, 102, 219, 0.1);
}

.hero-bg-circle--2 {
  bottom: -5rem;
  left: -5rem;
  width: 200px;
  height: 200px;
  background: rgba(237, 84, 130, 0.12);
}

/* -------------------------------------------
  Badge
------------------------------------------- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(117, 102, 219, 0.1);
  border: 1px solid rgba(117, 102, 219, 0.2);
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

.hero-badge span:last-child {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--p-morado);
}

/* -------------------------------------------
  Título y Descripción
------------------------------------------- */
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gris-oscuro);
  margin-bottom: 1.25rem;
}

.hero-title-gradient {
  background: linear-gradient(90deg, var(--p-morado), var(--p-rosado));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gris);
  margin-bottom: 1.75rem;
}

/* -------------------------------------------
  Botones
------------------------------------------- */
.btn-empieza-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: var(--p-morado);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(117, 102, 219, 0.3);
  transition: all 0.2s ease;
}

.btn-empieza-hero:hover {
  background: #6254c4;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(117, 102, 219, 0.4);
}

.btn-planes-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: transparent;
  color: var(--gris-oscuro);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid rgba(117, 102, 219, 0.1);
  border-radius: 0.5rem;
  transition: all 0.2s ease;
}

.btn-planes-hero:hover {
  background: rgba(117, 102, 219, 0.05);
  border-color: rgba(117, 102, 219, 0.2);
  color: var(--gris-oscuro);
}

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

.btn-planes-hero:hover svg {
  transform: translateX(3px);
}

/* -------------------------------------------
  Features
------------------------------------------- */
.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gris);
}

.hero-feature svg {
  color: var(--p-morado);
  flex-shrink: 0;
}

/* -------------------------------------------
  Imagen
------------------------------------------- */
.hero-image-container {
  position: relative;
}

.hero-image-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.hero-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------------------------
  Cards Flotantes
------------------------------------------- */
.hero-card {
  display: none;
  position: absolute;
  background: #fff;
  border-radius: 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid #f1f5f9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(117, 102, 219, 0.1);
  border-radius: 50%;
  color: var(--p-morado);
  flex-shrink: 0;
}

.hero-card-text {
  display: flex;
  flex-direction: column;
}

.hero-card-label {
  font-size: 0.75rem;
  color: var(--gris);
}

.hero-card-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gris-oscuro);
}

/* Card: Tiempo de respuesta */
.hero-card--time {
  align-items: center;
  gap: 0.75rem;
  bottom: 0;
  left: 0;
}

/* Card: Familias */
.hero-card--families {
  top: 0;
  right: 0;
  text-align: center;
}

.hero-card--families .hero-card-value {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.hero-card--families .hero-card-label {
  display: block;
  font-size: 0.7rem;
}

.hero-card-stars {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.25rem;
  color: var(--p-naranja);
}

/* -------------------------------------------
  Responsive
------------------------------------------- */
@media (min-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .hero {
    padding: 10rem 0 6rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-card {
    display: flex;
  }

  .hero-card--time {
    align-items: center;
    gap: 0.75rem;
    left: -1rem;
    bottom: 1.5rem;
  }

  .hero-card--families {
    display: block;
    right: -1rem;
    top: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.25rem;
  }

  .hero-card--time {
    left: -1.5rem;
  }

  .hero-card--families {
    right: -1.5rem;
  }
}