/* ═══════════════════════════════════════════════════════
   nes.css — Nuestra Esencia page styles
   ═══════════════════════════════════════════════════════ */

/* ── Utilities ─────────────────────────────────────────── */
.py-6  { padding-top: 5rem; padding-bottom: 5rem; }
.z-2   { z-index: 2; }

/* ══════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════ */
.nes-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('../images/banner nuestra esencia.png') center center / cover no-repeat;
  overflow: hidden;
}

.nes-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 6, 24, .72) 0%,
    rgba(18, 14, 42, .82) 45%,
    rgba(10, 8, 28, .90) 100%
  );
  z-index: 1;
}

.nes-hero .container { padding-top: 7rem; padding-bottom: 4rem; }

.nes-hero-row {
  display: flex;
  align-items: center;
}

.nes-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffcd00;
  background: rgba(255, 205, 0, .12);
  border: 1px solid rgba(255, 205, 0, .28);
  border-radius: 50px;
  padding: .35rem 1rem;
  margin-bottom: 1.5rem;
}

.nes-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 1.25rem;
  letter-spacing: -.02em;
}

.nes-hero-accent {
  color: #ffcd00;
  display: inline-block;
  position: relative;
}

.nes-hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  color: rgba(255, 255, 255, .72);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0;
}

.nes-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ta-dark, #0d0d24);
  background: #ffcd00;
  border-radius: 50px;
  padding: .75rem 1.75rem;
  transition: transform .25s, box-shadow .25s, background .2s;
  box-shadow: 0 6px 28px rgba(255, 205, 0, .3);
}
.nes-hero-btn:hover {
  background: #ffe566;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(255, 205, 0, .45);
  color: var(--ta-dark, #0d0d24);
}

/* bouncing scroll hint */
.nes-hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.4rem;
  color: rgba(255, 255, 255, .45);
  z-index: 3;
  animation: nesBounce 1.8s ease-in-out infinite;
}

@keyframes nesBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ══════════════════════════════════════════════════════════
   NUESTRO TALENTO
   ══════════════════════════════════════════════════════════ */
.nes-talento {
  background: #fdfaf6;
}

/* image wrap */
.nes-img-wrap {
  position: relative;
  display: inline-block;
  width: 100%;
  border-radius: 24px;
  overflow: visible;
}

.nes-team-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  display: block;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .14);
}

/* floating badge on image */
.nes-img-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #ffcd00;
  color: #0d0d24;
  font-weight: 700;
  font-size: .82rem;
  line-height: 1.3;
  border-radius: 14px;
  padding: .85rem 1.1rem;
  box-shadow: 0 8px 28px rgba(255, 205, 0, .4);
  white-space: nowrap;
}
.nes-img-badge i {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: #0d0d24;
}
.nes-img-badge small {
  font-size: .7rem;
  font-weight: 400;
  opacity: .8;
}

/* intro text */
.nes-talento-intro {
  font-size: 1.02rem;
  color: #444;
  line-height: 1.8;
}

/* pillars */
.nes-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nes-pillar {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.35rem 1.5rem;
  background: #ffffff;
  border-radius: 14px;
  border-left: 4px solid #ffcd00;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  transition: box-shadow .25s, transform .25s;
}
.nes-pillar:hover {
  box-shadow: 0 10px 34px rgba(255, 205, 0, .18);
  transform: translateX(4px);
}

.nes-pillar-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 205, 0, .12);
  border-radius: 10px;
  color: #f4a300;
  font-size: 1.25rem;
  margin-top: .1rem;
}

.nes-pillar-num {
  display: block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #f4a300;
  margin-bottom: .2rem;
}

.nes-pillar-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1a1a3e;
  margin: 0 0 .4rem;
}

.nes-pillar-desc {
  font-size: .88rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   NUESTRO IMPACTO (stats)
   ══════════════════════════════════════════════════════════ */
.nes-impacto {
  background: #08061a;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* decorative blurred orbs */
.nes-imp-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .18;
}
.nes-imp-p1 {
  width: 420px;
  height: 420px;
  background: #ffcd00;
  top: -120px;
  left: -100px;
}
.nes-imp-p2 {
  width: 320px;
  height: 320px;
  background: #7c3aed;
  bottom: -80px;
  right: -60px;
}

/* eyebrow */
.nes-imp-eyebrow {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 205, 0, .7);
  margin-bottom: .6rem;
}

.nes-imp-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.nes-imp-accent {
  color: #ffcd00;
}

/* stat cards */
.nes-stat-card {
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 205, 0, .12);
  border-radius: 18px;
  padding: 2.25rem 1.5rem 1.75rem;
  text-align: center;
  transition: border-color .3s, box-shadow .3s;
  height: 100%;
}
.nes-stat-card:hover {
  border-color: rgba(255, 205, 0, .35);
  box-shadow: 0 0 34px rgba(255, 205, 0, .08);
}

.nes-stat-num {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  font-weight: 900;
  color: #ffcd00;
  line-height: 1;
  letter-spacing: -.03em;
  /* subtle neon glow — tasteful, not overdone */
  text-shadow:
    0 0 18px rgba(255, 205, 0, .55),
    0 0 42px rgba(255, 205, 0, .18);
  margin-bottom: .35rem;
}

.nes-stat-infinity {
  font-size: clamp(3rem, 7vw, 4.5rem);
}
.nes-stat-infinity.nes-counting {
  animation: nesInfGlow 1.6s ease-in-out 3;
}
@keyframes nesInfGlow {
  0%, 100% { text-shadow: 0 0 18px rgba(255,205,0,.55), 0 0 42px rgba(255,205,0,.18); }
  50%       { text-shadow: 0 0 32px rgba(255,205,0,.9),  0 0 70px rgba(255,205,0,.45), 0 0 120px rgba(255,205,0,.2); }
}

.nes-stat-unit {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .65rem;
}

.nes-stat-desc {
  font-size: .82rem;
  color: rgba(255, 255, 255, .38);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   CTA — CONÉCTATE CON TU CONSULTOR
   ══════════════════════════════════════════════════════════ */
.nes-cta {
  background: linear-gradient(135deg, #1a1a3e 0%, #2a1a5e 40%, #3a1a4e 70%, #1e1a38 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.nes-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 50%, rgba(255, 205, 0, .06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(124, 58, 237, .1) 0%, transparent 70%);
  pointer-events: none;
}

.nes-cta-inner {
  padding: 7rem 0;
  position: relative;
  z-index: 2;
}

.nes-cta-logo {
  height: 44px;
  opacity: .85;
  margin-bottom: 1.5rem;
}

.nes-cta-tagline {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 205, 0, .65);
  margin-bottom: 1rem;
}

.nes-cta-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 1.25rem;
}

.nes-cta-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* WhatsApp button */
.nes-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
  background: #25d366;
  border-radius: 50px;
  padding: .9rem 2.25rem;
  box-shadow:
    0 6px 28px rgba(37, 211, 102, .35),
    0 0 0 0 rgba(37, 211, 102, .5);
  transition: transform .25s, box-shadow .25s, background .2s;
  animation: nesWaPulse 2.8s ease-in-out infinite;
}
.nes-wa-btn:hover {
  background: #1ebe5d;
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 12px 38px rgba(37, 211, 102, .5),
    0 0 0 8px rgba(37, 211, 102, .12);
  animation: none;
}
.nes-wa-btn i { font-size: 1.15rem; }

@keyframes nesWaPulse {
  0%, 100% { box-shadow: 0 6px 28px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .4); }
  60%       { box-shadow: 0 6px 28px rgba(37, 211, 102, .35), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* "También puedes..." */
.nes-cta-also {
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
  margin: 0;
}
.nes-cta-also a {
  color: rgba(255, 205, 0, .75);
  text-decoration: none;
  transition: color .2s;
}
.nes-cta-also a:hover { color: #ffcd00; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .nes-hero { min-height: 85vh; }
  .nes-team-img { height: 360px; }
  .nes-img-badge { bottom: -12px; right: -8px; }

  .nes-stat-card { padding: 1.75rem 1rem 1.4rem; }
  .nes-stat-num { font-size: 2.4rem; }
}

@media (max-width: 575.98px) {
  .nes-hero { min-height: 100svh; }
  .nes-hero-title { font-size: 2.6rem; }

  .nes-team-img { height: 280px; object-position: center 20%; }
  .nes-img-badge { position: relative; bottom: auto; right: auto; margin-top: 1rem; display: inline-flex; }

  .nes-pillar { padding: 1rem 1.1rem; }

  .nes-cta-title { font-size: 1.85rem; }
  .nes-wa-btn { padding: .8rem 1.75rem; font-size: .92rem; width: 100%; justify-content: center; }

  .nes-stat-num { font-size: 2rem; }
  .nes-imp-title { font-size: 1.6rem; }
}
