/* ═══════════════════════════════════════
   HERO V2 — Split Layout Editorial
   ═══════════════════════════════════════ */

.hero-v2 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  background: #0A0A0A;
}

.hero-v2__container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
  max-width: 1100px;
  width: 100%;
  padding: 5rem 2rem 0;
  position: relative;
  z-index: 2;
}

/* ── Lado izquierdo: Foto ── */

.hero-v2__photo-side {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-v2__photo-wrap {
  position: relative;
  width: clamp(180px, 45vw, 220px);
  overflow: hidden;
  border-radius: 20px;
}

.hero-v2__photo-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 70%;
  background: radial-gradient(ellipse, rgba(240, 168, 48, 0.12) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  filter: blur(40px);
}

.hero-v2__photo {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
  transform: scale(1.10);
  transition: transform 0.1s ease-out;
}

/* Gradiente que funde los bordes de la foto con el fondo */
.hero-v2__photo-fade {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 20px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 40%,
    rgba(10, 10, 10, 0.05) 55%,
    rgba(10, 10, 10, 0.15) 65%,
    rgba(10, 10, 10, 0.35) 75%,
    rgba(10, 10, 10, 0.6) 85%,
    rgba(10, 10, 10, 0.85) 93%,
    rgba(10, 10, 10, 1) 100%
  );
}

/* Línea decorativa dorada — horizontal en mobile, vertical en tablet+ */
.hero-v2__accent-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(240, 168, 48, 0.5) 30%,
    rgba(240, 168, 48, 0.5) 70%,
    transparent 100%
  );
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.hero-v2__accent-line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(255, 255, 255, 0.95) 0%, rgba(240, 168, 48, 0.6) 30%, rgba(240, 168, 48, 0.2) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(4px);
  top: var(--glow-y, 50%);
  transition: top 0.15s ease-out;
  pointer-events: none;
  display: none;
}

/* ── Lado derecho: Contenido ── */

.hero-v2__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-v2__greeting {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-gold, #F0A830);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 0.8rem 0;
}

.hero-v2__name {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -1px;
  text-align: center;
}

.hero-v2__name-accent {
  background: linear-gradient(135deg, #F0A830 0%, #FFD700 50%, #F0A830 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-v2__tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin: 1rem 0 0 0;
  letter-spacing: 1px;
}

/* Línea separadora dorada */
.hero-v2__divider {
  width: 60px;
  height: 2px;
  background: var(--accent-gold, #F0A830);
  margin: 1.2rem auto;
  border-radius: 2px;
}

/* ── Stats ── */

.hero-v2__stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.8rem;
}

.hero-v2__stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-v2__stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-gold, #F0A830);
  font-family: 'Fira Code', monospace;
  line-height: 1;
}

.hero-v2__stat-label {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ── Botones de acción ── */

.hero-v2__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
}

.hero-v2__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.8rem;
  background: var(--accent-gold, #F0A830);
  color: #0A0A0A;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hero-v2__cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(240, 168, 48, 0.3), 0 0 15px rgba(240, 168, 48, 0.15);
}

.hero-v2__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: all 0.25s ease;
}
.hero-v2__link:hover {
  color: var(--accent-gold, #F0A830);
  border-color: rgba(240, 168, 48, 0.35);
  background: rgba(240, 168, 48, 0.05);
  transform: translateY(-2px);
}
.hero-v2__link svg {
  opacity: 0.7;
  transition: opacity 0.25s ease;
}
.hero-v2__link:hover svg {
  opacity: 1;
}

/* ── Scroll indicator ── */
.hero-v2 .scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240, 168, 48, 0.4);
}

/* ═══════════════════════════════════════
   ENTRADA ANIMADA (staggered reveal)
   ═══════════════════════════════════════ */

.hero-v2__photo {
  animation: heroV2FadeUpPhoto 0.8s ease-out 0.2s both;
}

@keyframes heroV2FadeUpPhoto {
  from { opacity: 0; transform: scale(1.10) translateY(20px); }
  to   { opacity: 1; transform: scale(1.10) translateY(0); }
}
.hero-v2__accent-line {
  animation: heroV2FadeIn 1s ease-out 0.5s both;
}
.hero-v2__greeting {
  animation: heroV2FadeUp 0.6s ease-out 0.3s both;
}
.hero-v2__name {
  animation: heroV2FadeUp 0.7s ease-out 0.4s both;
}
.hero-v2__tagline {
  animation: heroV2FadeUp 0.6s ease-out 0.6s both;
}
.hero-v2__divider {
  animation: heroV2GrowWidth 0.5s ease-out 0.8s both;
}
.hero-v2__stats {
  animation: heroV2FadeUp 0.6s ease-out 0.9s both;
}
.hero-v2__actions {
  animation: heroV2FadeUp 0.6s ease-out 1.1s both;
}

@keyframes heroV2FadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroV2FadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroV2GrowWidth {
  from { opacity: 0; width: 0; }
  to   { opacity: 1; width: 60px; }
}

/* ═══════════════════════════════════════
   RESPONSIVE (mobile-first)
   ═══════════════════════════════════════ */

@media (min-width: 768px) {
  .hero-v2__container {
    flex-direction: row;
    gap: 4rem;
    text-align: left;
    padding-top: 0;
  }

  .hero-v2__photo-side {
    flex-direction: row;
  }

  .hero-v2__photo-wrap {
    width: clamp(250px, 22vw, 320px);
  }

  .hero-v2__accent-line::after {
    display: block;
  }

  .hero-v2__accent-line {
    width: 2px;
    height: 280px;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(240, 168, 48, 0.7) 30%,
      rgba(240, 168, 48, 0.7) 70%,
      transparent 100%
    );
  }

  .hero-v2__content {
    align-items: flex-start;
  }

  .hero-v2__name {
    text-align: left;
  }

  .hero-v2__stats {
    justify-content: flex-start;
    gap: 2.5rem;
  }

  .hero-v2__actions {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .hero-v2__divider {
    margin: 1.5rem 0;
  }
}

/* Tablet: 768-1023px — misma estructura, dimensiones reducidas */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-v2__container {
    gap: 3rem;
  }
  .hero-v2__photo-wrap {
    width: clamp(200px, 24vw, 260px);
  }
  .hero-v2__stats {
    gap: 1.5rem;
  }
}

/* Desktop: 1024px+ */
@media (min-width: 1024px) {
  .hero-v2__container {
    gap: 5rem;
  }
  .hero-v2__photo-wrap {
    width: 320px;
  }
}
