/* ═══════════════════════════════════════════════════════════
   éxodo bpo — CLIENTES CINEMÁTICA
   Identidad de página: verde #40AC47 · misma gramática
   Carga DESPUÉS de home-cine.css
   ═══════════════════════════════════════════════════════════ */
:root { --verde: #40AC47; --verde-d: #1e5c22; }
.green { color: var(--verde); }

#nav { mix-blend-mode: normal; color: #fff; }
#nav.scrolled {
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}
.n-links li.active a { opacity: 1; }
.n-links li.active a::after { transform: scaleX(1); }

/* ═ HERO VERDE ═ */
.pgh {
  height: 100vh; height: 100svh; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
  background: var(--verde);
}
#heroCanvas { position: absolute; inset: 0; z-index: 0; }
.pgh-vig {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(10, 46, 13, 0.5), transparent 55%),
    radial-gradient(ellipse 140% 110% at 50% 50%, transparent 38%, rgba(9, 40, 11, 0.6) 100%);
}
.pgh ::selection { background: #fff; color: var(--verde); }
.pgh-ct { position: relative; z-index: 3; width: 100%; padding: 0 var(--pad) clamp(72px, 12vh, 140px); }
.pgh-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.82); margin-bottom: clamp(20px, 3vh, 36px);
  opacity: 0; transform: translateY(14px);
}
.pgh-badge i {
  width: 6px; height: 6px; background: #fff; border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite; box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}
.pgh-h {
  font-size: clamp(44px, min(9vw, 14svh), 148px);
  font-weight: 760; letter-spacing: -0.045em; line-height: 0.96;
  color: #fff; margin-bottom: clamp(26px, 4vh, 44px);
}
.pgh-h .hl { display: block; overflow: hidden; padding-bottom: 0.07em; margin-bottom: -0.06em; }
.pgh-h .hl-in { display: block; transform: translateY(112%); will-change: transform; }
.pgh-h .em { font-size: 1.04em; line-height: 0.9; color: rgba(255, 255, 255, 0.95); }
.pgh-p {
  font-size: clamp(14px, 1.15vw, 17px); font-weight: 300; line-height: 1.85;
  color: rgba(228, 248, 230, 0.85); max-width: 470px;
  opacity: 0; transform: translateY(16px);
}
.pgh-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0;
}
.pgh-scroll .mono { font-size: 8px; color: rgba(255, 255, 255, 0.5); letter-spacing: 0.3em; }
.pgh-scroll .sc-line { background: rgba(255, 255, 255, 0.2); }
.pgh-scroll .sc-line::after { background: rgba(255, 255, 255, 0.75); }

/* ═ encabezados ═ */
.sd-h {
  font-size: clamp(30px, 4.2vw, 64px); font-weight: 750; letter-spacing: -0.04em;
  line-height: 1.04; max-width: 820px;
}
.sd-h em { font-size: 1.05em; color: var(--verde); }
.sd-sub { font-size: 14px; font-weight: 300; max-width: 460px; line-height: 1.85; margin-top: 20px; text-wrap: pretty; }

/* ═ MURO DE CLIENTES por sector (hueso) ═ */
.wall { background: var(--bone); color: var(--ink); padding: clamp(90px, 13vh, 180px) var(--pad); }
.wall .sd-sub { color: #8d897f; }
.wall-groups { margin-top: clamp(44px, 6vh, 72px); border-top: 1px solid rgba(10, 10, 11, 0.12); }
.wall-group {
  display: grid; grid-template-columns: minmax(150px, 260px) 1fr;
  gap: clamp(20px, 3vw, 56px); align-items: start;
  padding: clamp(28px, 4.5vh, 48px) 0; border-bottom: 1px solid rgba(10, 10, 11, 0.12);
  position: relative; opacity: 0; transform: translateY(26px);
}
.wall-group::before {
  content: ''; position: absolute; top: -1px; left: 0; width: 100%; height: 1px;
  background: var(--verde); transform: scaleX(0); transform-origin: left;
  transition: transform 0.8s var(--ease);
}
.wall-group:hover::before { transform: scaleX(1); }
.wall-label {
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: #a39f97; padding-top: clamp(8px, 1.4vw, 20px);
}
.wall-count { display: block; margin-top: 8px; color: #c5c2ba; }
.wall-names { display: flex; flex-wrap: wrap; align-items: baseline; }
.wall-name {
  font-size: clamp(24px, 3.2vw, 50px); font-weight: 240; letter-spacing: -0.03em;
  line-height: 1.3; color: rgba(10, 10, 11, 0.45); transition: color 0.4s var(--ease), font-weight 0.4s;
  cursor: default; white-space: nowrap;
}
.wall-name:hover { color: var(--verde); }
.wall-sep { color: rgba(10, 10, 11, 0.16); font-size: clamp(14px, 1.8vw, 26px); padding: 0 0.5em; }

/* ═ TESTIMONIOS PINNEADOS (tinta) ═ */
.tst-w { height: 420vh; position: relative; }
.tst {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); overflow: hidden;
}
.tst-idx { position: absolute; top: 110px; left: var(--pad); color: var(--mut-d); }
.tst-mark {
  position: absolute; top: clamp(80px, 14vh, 140px); left: 50%; transform: translateX(-50%);
  font-size: clamp(80px, 12vw, 180px); font-weight: 800; color: var(--verde);
  opacity: 0.18; line-height: 1; pointer-events: none; font-family: Georgia, serif;
}
.tst-q {
  position: absolute; max-width: 920px; padding: 0 32px; text-align: center;
  opacity: 0; will-change: transform, opacity, filter;
}
.tst-text {
  font-size: clamp(20px, 2.8vw, 40px); font-weight: 300; letter-spacing: -0.015em;
  line-height: 1.55; color: var(--mut); text-wrap: pretty;
}
.tst-text strong { color: var(--fg); font-weight: 700; }
.tst-author { margin-top: clamp(20px, 3.5vh, 36px); display: flex; flex-direction: column; gap: 5px; }
.tst-role { font-size: 14px; font-weight: 600; color: var(--fg); }
.tst-company { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; color: var(--verde); }
.tst-dots { position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%); display: flex; gap: 9px; }
.tst-dot { width: clamp(22px, 3.5vw, 44px); height: 2px; background: rgba(242, 240, 235, 0.1); transition: background 0.4s; }
.tst-dot.active { background: var(--verde); }

/* ═ NÚMEROS (hueso) ═ */
.nums { background: var(--bone); color: var(--ink); padding: clamp(90px, 13vh, 180px) var(--pad); }
.nums-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(44px, 6vh, 72px); }
.num-it { padding: 10px clamp(16px, 2.5vw, 44px); border-left: 1px solid rgba(10, 10, 11, 0.12); opacity: 0; transform: translateY(26px); }
.num-it:first-child { border-left: none; padding-left: 0; }
.num-val {
  font-size: clamp(48px, 6.5vw, 104px); font-weight: 230; letter-spacing: -0.04em;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.num-val sup { font-size: 0.4em; font-weight: 300; color: var(--verde); vertical-align: 0.9em; }
.num-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 16px; color: #8d897f; max-width: 180px; line-height: 1.9; }

/* ═ QUOTE (tinta) ═ */
.qbrk-d { background: var(--ink); padding: clamp(100px, 14vh, 190px) var(--pad); text-align: center; }
.qbrk-d-in {
  font-size: clamp(24px, 3vw, 46px); font-weight: 300; letter-spacing: -0.02em;
  line-height: 1.45; max-width: 820px; margin: 0 auto; color: var(--mut); text-wrap: pretty;
}
.qbrk-d-in .qw { opacity: 0.1; }
.qbrk-d-in strong { font-weight: 750; color: var(--fg); }
.qbrk-d-in .green { font-weight: 750; }

/* ═ CTA (hueso) ═ */
.cta-cl {
  min-height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; background: var(--bone); color: var(--ink);
  padding: clamp(90px, 12vh, 150px) 32px;
}
.cta-cl .cta-h { font-size: clamp(48px, 8.5vw, 130px); }
.cta-cl .cta-h em { color: var(--verde); }
.cta-cl .cta-tagline { color: #9b978e; }
.cta-btn.verde { background: var(--verde); color: #fff; }
.cta-btn.verde:hover { box-shadow: 0 24px 70px rgba(64, 172, 71, 0.35); }

/* ═ RESPONSIVE ═ */
@media (max-width: 1024px) {
  .wall-group { grid-template-columns: 1fr; gap: 12px; }
  .nums-grid { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .num-it:nth-child(odd) { border-left: none; padding-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pgh-h .hl-in, .pgh-badge, .pgh-p, .pgh-scroll,
  .wall-group, .num-it { opacity: 1 !important; transform: none !important; }
  .qbrk-d-in .qw { opacity: 1 !important; }
  .tst-w { height: auto; }
  .tst { position: static; height: auto; padding: 100px 24px; flex-direction: column; gap: 60px; }
  .tst-q { position: static; opacity: 1 !important; }
}
