/* ================================================================
   HERO — Sección principal
   ================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero .container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--noise);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ── Blobs decorativos ──────────────────────────────────────── */
.hero-blob {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(206, 132, 180, 0.55) 0%,
    rgba(206, 132, 180, 0.05) 60%,
    transparent 80%
  );
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.blob-1 { top: -160px; right: -180px; }
.blob-2 { bottom: -220px; left: -200px; width: 480px; height: 480px; opacity: 0.6; }

/* ── Layout 2 columnas ──────────────────────────────────────── */
.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ── Tag row ────────────────────────────────────────────────── */
.hero-tag-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-pill .live-dot {
  width: 6px;
  height: 6px;
  background: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.2);
  animation: pulse 1.6s ease-in-out infinite;
}

.tag-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.tag-meta {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Headline ───────────────────────────────────────────────── */
.hero-headline {
  position: relative;
  z-index: 2;
  font-size: clamp(1.8rem, 3.6vw, 4rem);
  line-height: 1.0;
  font-weight: 700;
  letter-spacing: -0.04em;
  max-width: 100%;
  margin-bottom: 20px;
}

.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-headline .line-inner {
  display: inline-block;
}

.hero-headline em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--pink-deep);
  position: relative;
  letter-spacing: -0.01em;
}

.hero-headline em::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  bottom: 6%;
  height: 14%;
  background: var(--pink-soft);
  z-index: -1;
  border-radius: 4px;
  transform: skewX(-4deg);
}

.hero-headline .underline {
  display: inline-block;
  border-bottom: 5px solid var(--pink);
  padding-bottom: 0.05em;
}

/* Rocket decorativo ─────────────────────────────────────────── */
.hero-rocket {
  display: inline-flex;
  vertical-align: middle;
  width: 0.85em;
  height: 0.85em;
  border-radius: 50%;
  background: var(--pink);
  margin: 0 0.05em;
  position: relative;
  overflow: hidden;
}

.hero-rocket::after {
  content: '';
  position: absolute;
  inset: 14%;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='7 17 17 7'/><polyline points='9 7 17 7 17 15'/></svg>") center / contain no-repeat;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 560px;
}

.hero-sub strong { font-weight: 600; }

.hero-cta-row {
  display: flex;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ── Imágenes flotantes ─────────────────────────────────────── */
.hero-visuals {
  position: relative;
  align-self: stretch;
  min-height: 420px;
}

.hero-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(10, 10, 10, 0.16);
  background: var(--paper);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img.main {
  width: 82%;
  height: 72%;
  right: 0;
  top: 0;
  z-index: 2;
  animation: floatA 7s ease-in-out infinite;
}

.hero-img.alt {
  width: 58%;
  height: 50%;
  left: 0;
  bottom: 0;
  z-index: 3;
  border: 5px solid var(--cream);
  animation: floatB 8s ease-in-out infinite;
}

/* ── Sticker giratorio ──────────────────────────────────────── */
.hero-sticker {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--black);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  text-align: center;
  font-weight: 400;
  line-height: 1.1;
  z-index: 4;
  bottom: 32%;
  right: -10px;
  box-shadow: 0 10px 24px rgba(206, 132, 180, 0.4);
  animation: spin 18s linear infinite;
}

.hero-sticker::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--black);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── Métricas ───────────────────────────────────────────────── */
.metrics-strip {
  margin-top: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
}

.metric {
  padding: 0 28px;
  border-right: 1px solid var(--line);
}

.metric:last-child { border-right: none; }

.metric .num {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.metric .num .plus {
  font-family: var(--serif);
  font-style: italic;
  color: var(--pink);
  font-size: 0.7em;
}

.metric .lbl {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Keyframes hero ─────────────────────────────────────────── */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

@keyframes floatA {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%       { transform: translateY(-14px) rotate(2deg); }
}

@keyframes floatB {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(12px) rotate(-3deg); }
}

@keyframes spin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}
