/* =============================================
   HERO.CSS — Sección principal / Banner
   Hey Wappa! Landing Page
   ============================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
  background: linear-gradient(135deg, #fff5f9 0%, #ffffff 50%, #f0fdf9 100%);
}

/* --- Blobs decorativos de fondo --- */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero__blob--1 {
  width: 500px;
  height: 500px;
  background: var(--pink-light);
  top: -100px;
  right: -80px;
  animation-delay: 0s;
}

.hero__blob--2 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  bottom: 0px;
  left: -60px;
  animation-delay: 2s;
  animation-name: floatReverse;
}

.hero__blob--3 {
  width: 200px;
  height: 200px;
  background: var(--mint);
  top: 40%;
  right: 30%;
  animation-delay: 4s;
}

/* --- Elementos flotantes decorativos --- */
.hero__deco {
  position: absolute;
  pointer-events: none;
  font-size: 2rem;
  animation: float 4s ease-in-out infinite;
  opacity: 0.7;
}

.hero__deco--1 { top: 18%; left: 8%;  animation-delay: 0.5s; font-size: 1.8rem; }
.hero__deco--2 { top: 65%; left: 12%; animation-delay: 1.2s; font-size: 1.4rem; }
.hero__deco--3 { top: 20%; right: 22%; animation-delay: 2s;   font-size: 1.6rem; animation-name: floatReverse; }
.hero__deco--4 { bottom: 25%; right: 8%; animation-delay: 0.8s; font-size: 2rem; }
.hero__deco--5 { top: 50%; left: 45%; animation-delay: 3s;   font-size: 1.2rem; }

/* --- Layout --- */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
  padding: 80px 0;
}

/* --- Contenido izquierdo --- */
.hero__content {
  position: relative;
  z-index: 2;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 2px solid var(--pink-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
  animation: fadeUp 0.6s ease both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse-ring 1.5s ease-out infinite;
}

.hero__title {
  font-size: clamp(2.6rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero__title-highlight {
  color: var(--pink);
  position: relative;
  display: inline-block;
}

.hero__title-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--yellow);
  border-radius: 3px;
  z-index: -1;
  transform: skewX(-3deg);
}

.hero__slogan {
  font-size: 1.2rem;
  color: var(--text-soft);
  margin-bottom: 16px;
  animation: fadeUp 0.6s 0.15s ease both;
  font-weight: 500;
}

.hero__desc {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.25s ease both;
}

/* --- Stats --- */
.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeUp 0.6s 0.35s ease both;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* --- Visual derecho --- */
.hero__visual {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  animation: fadeIn 0.8s 0.2s ease both;
}

.hero__img-wrap {
  position: relative;
  width: 420px;
  height: 480px;
}

.hero__img-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 48% 52% 60% 40% / 40% 44% 56% 60%;
  box-shadow: var(--shadow-hover);
  animation: float 7s ease-in-out infinite;
}

/* Placeholder cuando no hay imagen */
.hero__img-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 48% 52% 60% 40% / 40% 44% 56% 60%;
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--pink) 50%, var(--pink-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  animation: float 7s ease-in-out infinite;
  color: white;
  font-size: 5rem;
  gap: 16px;
}

.hero__img-placeholder p {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}

/* Tarjeta flotante 1 */
.hero__card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 5s ease-in-out infinite;
}

.hero__card--1 {
  bottom: 10%;
  left: -10%;
  animation-delay: 1s;
}

.hero__card--2 {
  top: 10%;
  right: -8%;
  animation-delay: 2.5s;
  animation-name: floatReverse;
}

.hero__card-icon {
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card--1 .hero__card-icon { background: rgba(125, 232, 200, 0.2); }
.hero__card--2 .hero__card-icon { background: rgba(255, 224, 102, 0.25); }

.hero__card-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-display);
}

.hero__card-text span {
  font-size: 0.75rem;
  color: var(--text-soft);
}

/* Sticker decorativo */
.hero__sticker {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--yellow);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--black);
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-soft);
  animation: spin-slow 12s linear infinite;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding: 60px 0;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__desc {
    margin: 0 auto 40px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__img-wrap {
    width: 300px;
    height: 340px;
  }

  .hero__card--1 { left: 0; }
  .hero__card--2 { right: 0; }
}

@media (max-width: 480px) {
  .hero__img-wrap {
    width: 260px;
    height: 300px;
  }

  .hero__stats {
    gap: 20px;
  }

  .hero__card {
    display: none;
  }
}
