.hero {
  background: #fff;
  padding-top: 100px;
  margin-inline: 200px;
}

.hero__svg-wrapper {
  position: relative;
}

/* Línea amarilla decorativa — mitad derecha del panel, zona superior */
.hero__deco-yellow {
  position: absolute;
  right: 30%;
  top: 5%;
  height: 120px;
  width: auto;
  animation: float-slow 6s ease-in-out infinite;
}

/* SVG de fondo — define el alto de la sección */
.hero__bg {
  display: block;
  width: 100%;
  height: auto;
}

/*
  Overlay cubre solo la mitad izquierda del panel.
  La mitad derecha la ocupa el teléfono renderizado en el SVG.
  Flex centra el hero__content vertical y horizontalmente dentro de esa mitad.
*/
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  padding-bottom: 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero__content {
  width: 65%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Título grande */
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.3125rem);
  font-weight: 700;
  line-height: 0.85;
  color: #fff;
  margin-bottom: var(--space-3);
}

/* Bloque de taglines: textos juntos a la izquierda, cara a la derecha */
.hero__taglines {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero__taglines-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Fila "Conecta familias." + línea rosa */
.hero__subtitle-row {
  display: flex;
  align-items: center;
}

.hero__subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.hero__deco-lines {
  height: 86px;
  width: 86px;
  flex-shrink: 0;
  transform: translateY(-20px) translateX(-30px);
}

.hero__deco-line {
  position: absolute;
  right: 5%;
  bottom: 22%;
  height: 150px;
  width: auto;
  animation: float-slow 5s ease-in-out infinite 0.8s;
}

/* Fila "Inspira sonrisas." */
.hero__accent-row {
  display: flex;
  align-items: center;
  margin-top: -20px;
}

.hero__accent {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 3.2rem);
  font-weight: 500;
  color: var(--color-yellow);
  line-height: 1.1;
}

/* Cara feliz — al lado del bloque de texto, no dentro de una fila */
.hero__deco-face {
  height: 130px;
  width: auto;
  flex-shrink: 0;
  align-self: flex-end;
  animation: float 3.5s ease-in-out infinite;
  transform: translateY(22px) translateX(18px);
}

/* Descripción */
.hero__desc {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 255);
  line-height: 1.2;
  margin-bottom: var(--space-8);
}

.hero__desc strong {
  color: #fff;
}

/* Botón Contactamos */
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1E1E1E;
  border-radius: 20px;
  width: 215px;
  height: 40px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--font-size-xs);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.hero__cta:hover {
  opacity: 0.9;
}

/* Tarjeta de vidrio — posición y tamaño en % del SVG wrapper */
.hero__glass-card {
  position: absolute;
  left: 63%;
  top: 33.5%;
  width: 11%;
  z-index: 2;
}

.hero__glass-bg {
  display: block;
  width: 100%;
  height: auto;
}

/* Parallax — GPU hint */
.hero__glass-card,
.hero__glass-logo {
  will-change: transform;
}

.hero__glass-logo {
  position: absolute;
  left: 67%;
  top: 38%;
  width: 16%;
  height: auto;
  z-index: 3;
}

/* Barra inferior */
.hero__bottom-bar {
  position: absolute;
  bottom: 17%;
  left: 32px;
  background: #9476FF;
  border-radius: 40px;
  padding: var(--space-3) var(--space-6);
}

.hero__bottom-bar span {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: #fff;
  white-space: nowrap;
}

.hero__bottom-bar strong {
  color: #fff;
}

/* Responsive */

/* Pantallas medianas: desktop pequeño / tablet landscape */
@media (max-width: 1280px) {
  .hero {
    margin-inline: clamp(32px, 5vw, 100px);
  }

  .hero__desc {
    font-size: 1rem;
    margin-bottom: var(--space-5);
  }

  .hero__taglines {
    margin-bottom: var(--space-4);
  }

  .hero__deco-face {
    height: 90px;
  }

  .hero__deco-yellow {
    height: 65px;
  }

  .hero__deco-line {
    height: 88px;
  }
}

@media (max-width: 900px) {
  .hero {
    margin-inline: 32px;
  }

  .hero__overlay {
    right: 0;
    padding: 0 40px 8%;
  }

  .hero__content {
    width: 100%;
  }

  .hero__deco-face {
    height: 72px;
  }

  .hero__deco-yellow {
    height: 50px;
  }

  .hero__deco-line {
    height: 70px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding-top: 70px;
    margin-inline: 16px;
  }

  .hero__overlay {
    padding: 0 24px 8%;
  }

  .hero__deco-face {
    height: 56px;
  }

  .hero__deco-yellow {
    height: 38px;
  }

  .hero__deco-line {
    height: 52px;
  }

  .hero__bottom-bar {
    bottom: 10%;
    left: 16px;
  }

  .hero__glass-card,
  .hero__glass-logo {
    display: none;
  }
}
