/* ============================================================
   HERO-03 — Fondo Oscuro Alíneado a la Izquierda (Split View)
   Sistema: gradiente izquierdo denso para contraste + visual side
   Color cliente: --primary para acentos, botones y orbes de neón
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body, 'Inter', sans-serif);
  min-height: 100vh;
}

/* ── Sección principal ─────────────────────────────────────── */
.hero-section-3 {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 24px 100px;
  background-color: #0d0d0d; /* fallback */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow: hidden;
}

/* ── Overlay degradado de izquierda (oscuro) a derecha (luz) ─ */
.hero3-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 13, 13, 0.96) 0%,
    rgba(13, 13, 13, 0.85) 45%,
    rgba(13, 13, 13, 0.40) 100%
  );
  z-index: 1;
}

/* Tinte sutil del color cliente en el borde inferior del overlay */
.hero3-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
}

/* ── Contenedor principal ─────────────────────────────────── */
.hero3-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Grid de una columna */
.hero3-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 60px;
}

/* ── Columna de Contenido (Izquierda) ─────────────────────── */
.hero3-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 28px;
  max-width: 800px;
  animation: hero3FadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Badge superior */
.hero3-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: color-mix(in srgb, var(--primary) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 45%, transparent);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero3-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px color-mix(in srgb, var(--primary) 80%, transparent);
  animation: hero3Pulse 2s infinite;
}

/* Título */
.hero3-title {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #ffffff;
}

/* Palabra acento en color cliente */
.hero3-title .accent {
  color: var(--primary);
}

/* Descripción */
.hero3-desc {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 620px;
}

/* Botones */
.hero3-buttons {
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.btn3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

/* Botón primario: color del cliente */
.btn3-primary {
  background-color: var(--primary);
  color: var(--primary-text, #ffffff);
  box-shadow: 0 4px 24px color-mix(in srgb, var(--primary) 40%, transparent);
}

.btn3-primary:hover {
  background-color: var(--primary-hover, var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px color-mix(in srgb, var(--primary) 55%, transparent);
}

.btn3-primary svg {
  transition: transform 0.25s ease;
}

.btn3-primary:hover svg {
  transform: translateX(4px);
}

/* Botón secundario: glass blanco */
.btn3-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn3-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.40);
  transform: translateY(-2px);
}

/* Stats */
.hero3-stats {
  display: flex;
  gap: 36px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.hero3-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero3-stat-num {
  font-family: var(--font-title, 'Outfit', sans-serif);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.hero3-stat-num span {
  color: var(--primary);
}

.hero3-stat-lbl {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Divisor */
.hero3-stat-sep {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  align-self: center;
}

/* ── Orbes de Luz decorativos (Fondo) ───────────────────────── */
.hero3-glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(120px);
  -webkit-filter: blur(120px);
}

.hero3-orb-1 {
  width: 480px;
  height: 480px;
  top: -80px;
  left: -150px;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent) 0%, transparent 70%);
}

.hero3-orb-2 {
  width: 320px;
  height: 320px;
  bottom: -40px;
  left: 20%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 70%);
}

/* ── Animaciones ───────────────────────────────────────────── */
@keyframes hero3FadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero3Pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ── Responsive — tablet/mobile ────────────────────────────── */
@media (max-width: 768px) {
  .hero-section-3 {
    padding: 100px 20px 60px;
  }
  .hero3-content {
    gap: 18px;
  }
  .hero3-title {
    line-height: 1.15;
  }
  .hero3-stats {
    gap: 24px;
    margin-top: 8px;
  }
}

@media (max-width: 600px) {
  .hero3-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn3 {
    width: 100%;
    justify-content: center;
    padding: 12px 28px;
  }
}

@media (max-width: 480px) {
  .hero-section-3 {
    padding: 85px 16px 45px;
    background-attachment: scroll; /* fix para iOS */
  }

  .hero3-title {
    font-size: 2.0rem;
    letter-spacing: -0.8px;
  }

  .hero3-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero3-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero3-stats {
    gap: 16px;
    margin-top: 4px;
  }

  .hero3-stat-num {
    font-size: 1.5rem;
  }

  .hero3-stat-lbl {
    font-size: 0.72rem;
  }

  .hero3-stat-sep {
    display: none;
  }
}
