/* ============================================= */
/* MM AGENCY — LANDING STYLES                       */
/* Brand Guidelines v1.0 + NoGood.io aesthetic      */
/* ============================================= */

/* ---------- TOKENS ---------- */
:root {
  /* Brand palette */
  --yellow: #FAFA00;
  --yellow-soft: #FFF25E;
  --violet: #713DFF;
  --violet-light: #C8A4FF;
  --violet-deep: #2E1A6B;
  --orange: #F54900;
  --cyan: #00E3FF;
  --pink: #FCA8FF;
  --green: #008500;

  /* Neutrals */
  --bg: #121214;
  --bg-section: #17171A;
  --bg-card: #1D1D21;
  --bg-card-hover: #232328;
  --border: #2E2E33;
  --border-strong: #3A3A40;
  --text: #FFFFFF;
  --text-muted: #9A9A9A;
  --text-dim: #5A5A5A;

  /* Typography */
  --font-head: 'Orbitron', system-ui, sans-serif;
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, monospace;

  /* Aliases */
  --white: #FFFFFF;

  /* Sizing */
  --container: 1280px;
  --container-narrow: 880px;
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 16px;
  --radius-md: 20px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Borders */
  --border-subtle: 1px solid rgba(255, 255, 255, 0.06);
  --border-normal: 1px solid rgba(255, 255, 255, 0.1);
  --border-strong-rgb: 1px solid rgba(255, 255, 255, 0.12);

  /* Shadows */
  --shadow-glow-violet: 0 0 40px rgba(113, 61, 255, 0.25);
  --shadow-glow-yellow: 0 0 40px rgba(250, 250, 0, 0.2);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.5);

  /* Brand gradient (canonical) */
  --gradient-brand: linear-gradient(90deg, #FAFA00 0%, #F54900 30%, #E0348E 55%, #9B30FF 80%, #7A2DC0 100%);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.2s var(--ease);
  --t-normal: 0.3s var(--ease);
  --t-slow: 0.6s var(--ease);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}
.container-narrow { max-width: var(--container-narrow); }
.muted { color: var(--text-muted); }

/* ---------- NAV (NoGood-style glass morphism) ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(28px, 5vw, 72px);
  /* Frosted glass siempre activo — no importa qué haya detrás */
  background: rgba(24, 24, 24, 0.55);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s var(--ease), padding 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(24, 24, 24, 0.78);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  padding-top: 16px;
  padding-bottom: 16px;
}
.nav-logo-link { display: flex; align-items: center; }
.nav-logo {
  height: 46px;
  width: auto;
  display: block;
  transition: height 0.3s var(--ease);
}
.nav.scrolled .nav-logo { height: 38px; }

.nav-menu {
  display: flex;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: center;
}
.nav-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: opacity 0.2s var(--ease);
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.95;
}
.nav-link:hover { opacity: 0.65; }

/* Botón nav estilo NoGood: rectángulo suave con fill direccional */
.btn-nav {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 8px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
/*
  Fill blanco que entra desde la izquierda en hover y sale por la derecha al salir.
  Trick: en estado default el origin es right (se contrae hacia la derecha).
  En :hover cambiamos el origin a left (entra desde la izquierda).
*/
.btn-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn-nav:hover {
  color: var(--bg);
}
.btn-nav:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.nav-hamburger svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}

/* Mobile menu — fullscreen overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #121214;
  display: flex;
  flex-direction: column;
  padding: 100px 32px 40px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.65, 0, 0.35, 1);
}
.nav-mobile.is-open {
  transform: translateX(0);
}
.nav-mobile-links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.nav-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-body);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-link:hover {
  color: rgba(255, 255, 255, 0.6);
}
.nav-mobile-cta {
  display: flex;
  justify-content: center;
  margin-top: auto;
  padding-top: 32px;
}
.nav-mobile-cta a {
  display: inline-block;
  padding: 16px 48px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.nav-mobile-cta a:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Body lock when menu is open */
body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  .nav-menu { display: none; }
  .btn-nav { display: none; }
  .nav-hamburger { display: block; }
  .nav { padding: 18px 24px; }
}

/* ---------- BUTTONS ---------- */
/* ---------- BOTONES UNIFICADOS ESTILO NoGood ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 28px;
  border-radius: 8px;
  border: 1px solid var(--text);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  background: transparent;
  color: var(--text);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn:hover {
  color: var(--bg);
}
.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}
/* Variante primaria: fondo blanco s\u00f3lido, al hover se invierte a transparente con texto blanco */
.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary::before {
  /* fill transparente que entra al hover: texto pasa a blanco, fondo queda oscuro */
  background: var(--bg);
}
.btn-primary:hover {
  color: var(--text);
}
/* Ghost y outline usan los mismos estilos base del .btn */
.btn-ghost,
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }
.btn-arrow { transition: transform 0.25s var(--ease); position: relative; z-index: 1; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- SECTION UTILITIES ---------- */
.section-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.section-head { margin-bottom: 60px; max-width: 780px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section-title-xl {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.section-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 640px;
}
.section-body {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  margin-top: 20px;
}
.section-body-accent {
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--yellow);
  line-height: 1.3;
}
.accent-text { color: var(--yellow); }

/* ============================================= */
/* 1. HERO                                          */
/* ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 160px 0 120px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-glow-tr,
.hero-glow-bl {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
}
.hero-glow-tr {
  top: -200px;
  right: -250px;
  background: radial-gradient(circle, rgba(113, 61, 255, 0.18), transparent 70%);
}
.hero-glow-bl {
  bottom: -250px;
  left: -200px;
  background: radial-gradient(circle, rgba(0, 227, 255, 0.15), transparent 70%);
}

/* ================================================ */
/* SVG perspective tunnel (NoGood style)             */
/* Líneas radiales al punto de fuga + rectángulos    */
/* concéntricos dibujados directamente en SVG        */
/* ================================================ */
.hero-grid-floor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  background: var(--bg);
}

.hero-tunnel-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}


/* Horizontal MM AGENCY wordmark floating */
.hero-3d-logo {
  position: absolute;
  top: 150px;
  left: 50%;
  transform: translateX(-50%) perspective(900px) rotateX(8deg);
  width: min(540px, 58vw);
  height: auto;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.12)) drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateX(-50%) perspective(900px) rotateX(8deg) translateY(0); }
  50% { transform: translateX(-50%) perspective(900px) rotateX(8deg) translateY(-10px); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-label-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 12px var(--yellow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.9); }
}

.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5.8vw, 84px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  text-transform: none;
}
.hero-line-1, .hero-line-2 { display: block; }
.accent-word {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
  padding: 0.08em 0.05em 0.18em;
  margin: -0.08em -0.05em -0.18em;
  line-height: 1.15;
}
.accent-gradient {
  background: var(--gradient-brand);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.5;
}

.hero-cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.trust-bar {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.trust-item-primary { color: var(--yellow); }
.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 10px var(--yellow);
}
.trust-check { color: var(--yellow); font-weight: 700; }

@media (max-width: 720px) {
  .hero { padding: 130px 0 80px; }
}

/* ============================================= */
/* 2. MARQUEE                                       */
/* ============================================= */
.marquee-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}
.marquee-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 36px;
}
.marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  animation: scroll 35s linear infinite;
  width: max-content;
}
.marquee-slow .marquee-track { animation-duration: 60s; }
.marquee-item {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.marquee-item.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.marquee-dot {
  color: var(--yellow);
  font-size: 28px;
  line-height: 1;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- CLIENTS LOGO MARQUEE (NoGood style) ---------- */
.clients-section {
  padding: clamp(40px, 5vw, 64px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-section);
}
.clients-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: clamp(14px, 2vw, 23px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-dim);
  margin-bottom: 28px;
}
.clients-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients-track {
  display: flex;
  gap: 72px;
  align-items: center;
  animation: scroll 45s linear infinite;
  width: max-content;
}
.client-logo {
  flex-shrink: 0;
  width: 160px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.client-logo:hover { opacity: 1; }
.client-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.client-logo--lg { width: 200px; height: 70px; }
.client-logo--lg img { max-height: 70px; max-width: 200px; }
.client-logo--tall { width: 100px; height: 70px; }
.client-logo--tall img { max-height: 70px; max-width: 100px; }
@media (max-width: 768px) {
  .client-logo { width: 120px; height: 44px; }
  .client-logo--lg { width: 160px; height: 56px; }
  .client-logo--lg img { max-height: 56px; max-width: 160px; }
  .client-logo--tall { width: 80px; height: 56px; }
  .client-logo--tall img { max-height: 56px; max-width: 80px; }
  .clients-track { gap: 48px; }
}

/* ============================================= */
/* 3. SQUADS (el squad)                             */
/* ============================================= */
.squads {
  padding: clamp(80px, 12vw, 160px) 0 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.squads-deco {
  position: absolute;
  top: -8%;
  right: 2%;
  width: clamp(360px, 42vw, 660px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: squadsDecoFloat 8s ease-in-out infinite;
  filter: drop-shadow(0 0 50px rgba(0, 133, 0, 0.5));
}
.squads-deco img {
  width: 100%;
  height: auto;
  display: block;
}
@keyframes squadsDecoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(6deg); }
}
.squads-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.squads-label-icon { font-size: 15px; color: #fff; }

.squads-header {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.squads-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  font-weight: 500;
}
.squads-intro {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0 0 14px;
  max-width: 460px;
}

.squads-stage {
  position: relative;
  width: 100%;
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 40px);
  box-sizing: border-box;
  margin-bottom: clamp(-280px, -18vw, -160px); /* overlap: el globo se pega al card gris en sincronía */
}
.squads-svg {
  width: 100%;
  height: auto;
  display: block;
  cursor: default;
}

/* El glow interior sigue al mouse (focal point animado vía JS) */
#sqGlow stop {
  transition: stop-color 0.6s ease;
}

/* ============================================= */
/* 2B. FUNNEL VISUAL                                */
/* ============================================= */
.funnel-visual {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.funnel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.funnel-label-icon { font-size: 16px; color: var(--violet); }
.funnel-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
}
.funnel-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 20px);
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* ---------- FUNNEL SPLIT (imagen + labels al lado con flechas conectoras) ---------- */
.funnel-split {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}
.funnel-split-img {
  display: flex;
  justify-content: center;
  align-items: stretch;
  filter: drop-shadow(0 40px 80px rgba(113, 61, 255, 0.25));
}
.funnel-svg {
  width: 100%;
  height: 100%;
  display: block;
  max-width: 420px;
  overflow: hidden;
}
.funnel-split-labels {
  position: relative;
}
.fstage {
  position: absolute;
  top: var(--top);
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
}
.fstage-connector {
  flex-shrink: 0;
  width: 56px;
  height: 3px;
  background: currentColor;
  position: relative;
  border-radius: 2px;
}
.fstage-connector::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 10px;
  height: 10px;
  background: currentColor;
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 16px currentColor;
}
.fstage-connector::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
  transform: translateY(-50%);
}
.fstage-body {
  flex: 1;
  min-width: 0;
}
.fstage-body h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 6px;
}
.fstage-body p {
  font-family: var(--font-body);
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 48ch;
}

.fstage--violet { color: var(--violet-light); }
.fstage--orange { color: #A53EC0; }
.fstage--cyan { color: #E5521F; }
.fstage--yellow { color: var(--orange); }

/* Números dentro de cada banda del embudo SVG */
.funnel-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 900;
  fill: rgba(255, 255, 255, 0.95);
  letter-spacing: -0.02em;
  paint-order: stroke;
  stroke: rgba(0, 0, 0, 0.2);
  stroke-width: 0.5px;
}
.funnel-num--sm { font-size: 26px; }
.funnel-num--xs { font-size: 20px; }

/* Esferas 3D cayendo por el centro del embudo — animación via SMIL en el SVG */
.funnel-particles { filter: drop-shadow(0 0 8px rgba(200, 164, 255, 0.35)); }

@media (prefers-reduced-motion: reduce) {
  .funnel-particles { display: none; }
}

@media (max-width: 880px) {
  .funnel-split {
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
  }
  .funnel-svg { max-width: 200px; }
  .fstage-connector { width: 24px; }
  .fstage-body h3 { font-size: 15px; }
  .fstage-body p { display: none; }
}

@media (max-width: 480px) {
  .funnel-split {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    max-width: 340px;
  }
  .funnel-svg { max-width: 100px; }
  .fstage-connector { width: 16px; }
  .fstage-body h3 { font-size: 13px; }
}

/* La siguiente sección se superpone sobre el espacio vacío del hemisferio */
.squads + .services {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .squads-header { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .squads-title { font-size: clamp(36px, 9vw, 56px); }
  .squads-intro { max-width: 100%; }
  .squads-stage { margin-bottom: clamp(-80px, -10vw, -40px); }
}

/* ============================================= */
/* 4. SERVICES (estilo NoGood — card flotante dark) */
/* ============================================= */
.services {
  padding: 0 clamp(16px, 2.5vw, 40px) 0;
  background: var(--bg);
  position: relative;
  z-index: 2;
}
.services-card {
  position: relative;
  max-width: 1640px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: clamp(32px, 3.5vw, 56px);
  padding: clamp(56px, 7vw, 120px) clamp(32px, 5vw, 96px) clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.services-card::before {
  /* Glow sutil de ambiente arriba-izq, como NoGood */
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 80%;
  height: 90%;
  background:
    radial-gradient(circle at 20% 25%, rgba(245, 73, 0, 0.18), transparent 55%),
    radial-gradient(circle at 75% 10%, rgba(224, 52, 142, 0.12), transparent 50%);
  pointer-events: none;
}
.services-card::after {
  content: "";
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle at 70% 70%, rgba(122, 45, 192, 0.18), transparent 60%);
  pointer-events: none;
}
.services-card > * { position: relative; z-index: 1; }

.services-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.services-label-icon { font-size: 15px; color: #fff; }

.services-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 68px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 clamp(48px, 7vw, 96px);
  font-weight: 500;
  max-width: 1200px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  background: #0E0E10;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 36px 28px 32px;
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.4s ease;
  display: flex;
  flex-direction: column;
  min-height: 440px;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(250, 250, 0, 0.5), rgba(245, 73, 0, 0.35), rgba(224, 52, 142, 0.25), rgba(122, 45, 192, 0.15));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card:hover {
  background: #0A0A0C;
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}
.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 0 24px;
  transition: transform 0.5s ease;
}
.service-icon--violet { filter: drop-shadow(0 12px 32px rgba(113, 61, 255, 0.4)); }
.service-icon--orange { filter: drop-shadow(0 12px 32px rgba(245, 73, 0, 0.4)); }
.service-icon--cyan   { filter: drop-shadow(0 12px 32px rgba(0, 227, 255, 0.4)); }
.service-icon--pink   { filter: drop-shadow(0 12px 32px rgba(252, 168, 255, 0.4)); }
.service-icon svg { width: 100%; height: 100%; display: block; }
.service-card:hover .service-icon { transform: translateY(-4px) rotate(-3deg); }
.service-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 1.7vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 18px;
}
.service-body {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px;
  flex-grow: 1;
}
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  align-self: flex-start;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.service-more:hover {
  border-color: #fff;
  gap: 12px;
}
.service-more span { transition: transform 0.3s ease; }
.service-more:hover span { transform: translateX(4px); }

@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 900px) {
  .services-card { border-radius: 32px; padding: 56px 24px 72px; }
  .services-title { font-size: clamp(36px, 9vw, 56px); }
  .service-card { min-height: auto; padding: 28px 22px 28px; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .services-card { padding: 40px 16px 56px; }
  .service-card { padding: 24px 18px 24px; }
}


/* ============================================= */
/* 5. TESTIMONIALS                                  */
/* ============================================= */
.testimonials {
  padding: clamp(60px, 8vw, 120px) clamp(16px, 2.5vw, 40px) 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Glow verde empresa, ancho completo */
.testimonials::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20%;
  width: 100vw;
  height: 80%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(122, 45, 192, 0.95), rgba(113, 61, 255, 0.55) 35%, rgba(122, 45, 192, 0.2) 60%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
.testimonials > * { position: relative; z-index: 1; }
.testimonials-card {
  position: relative;
  max-width: 1640px;
  margin: 0 auto;
  background: transparent;
  padding: 0 clamp(32px, 5vw, 96px) clamp(72px, 9vw, 120px);
  overflow: visible;
}
.testimonials-card > * { position: relative; z-index: 1; }
.testimonials-deco {
  position: absolute !important;
  z-index: 0 !important;
  top: 6%;
  right: -6%;
  width: 320px;
  height: 320px;
  opacity: 0.32;
  filter: drop-shadow(0 30px 80px rgba(0, 227, 255, 0.35));
  pointer-events: none;
  animation: formOrbFloat 12s ease-in-out infinite;
}
.testimonials-deco svg { width: 100%; height: 100%; }
@media (max-width: 900px) {
  .testimonials-deco, .form-bg-orb { display: none; }
}

.testimonials-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 40px;
}
.testimonials-label-icon { font-size: 15px; color: #fff; }

.testimonials-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 clamp(48px, 7vw, 96px);
  font-weight: 500;
  max-width: 1200px;
}

/* ---------- FEATURED CASE (single case estético) ---------- */
.featured-case {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) 1.4fr;
  gap: clamp(40px, 5vw, 80px);
  background: #0E0E10;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: clamp(48px, 5vw, 72px) clamp(40px, 5vw, 72px);
  margin-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
}
.featured-case::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 100% 0%, rgba(250, 250, 0, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.featured-case > * { position: relative; z-index: 1; }

.fc-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: clamp(20px, 3vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.fc-label {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.fc-metric {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #fff;
  margin-bottom: 20px;
}
.fc-metric-arrow {
  font-size: clamp(32px, 3vw, 48px);
  line-height: 1;
  margin-top: 0.15em;
  font-weight: 500;
  color: var(--yellow);
}
.fc-metric-number {
  font-size: clamp(120px, 14vw, 220px);
}
.fc-metric-label {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.fc-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fc-logo {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.fc-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 24px;
}
.fc-body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62);
  margin: 0 0 36px;
  max-width: 620px;
}

.fc-stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 32px;
}
.fc-stat { display: flex; flex-direction: column; gap: 6px; }
.fc-stat-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 600;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.fc-stat-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.fc-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
}

.fc-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.fc-author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7A2DC0, #E0348E);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.fc-author-avatar-img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
}
.fc-author-info { display: flex; flex-direction: column; }
.fc-author-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.fc-author-role {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.testimonials-cta {
  display: flex;
  justify-content: center;
}
.btn-ghost-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border: 1px solid var(--text);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
  background: transparent;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.btn-ghost-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  z-index: -1;
}
.btn-ghost-pill:hover {
  color: #0a0a0a;
}
.btn-ghost-pill:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

@media (max-width: 960px) {
  .featured-case {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }
  .fc-left {
    padding-right: 0;
    border-right: none;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .fc-metric-number { font-size: clamp(100px, 22vw, 160px); }
  .fc-stats { flex-wrap: wrap; gap: 20px; }
  .fc-stat-divider { display: none; }
  .testimonials-card { padding: 56px 24px 72px; border-radius: 0 0 32px 32px; }
}

/* ============================================= */
/* 6. PILLARS — DIFFERENTIATED APPROACH SLIDER      */
/* ============================================= */
.pillars {
  padding: clamp(80px, 12vw, 160px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg);
  overflow: hidden;
}
.pillars-wrap {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.pillars-head {
  margin-bottom: clamp(48px, 6vw, 88px);
}
.pillars-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 0 clamp(28px, 3vw, 44px);
}
.pillars-sub-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.pillars-sub {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0;
}
.pillars-nav {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.pillars-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.pillars-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.pillars-arrow[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.pillars-viewport {
  overflow: hidden;
  margin: 0 calc(clamp(20px, 4vw, 64px) * -1);
  padding: 0 clamp(20px, 4vw, 64px);
}
.pillars-track {
  display: flex;
  gap: clamp(20px, 2vw, 32px);
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
  touch-action: pan-y;
  cursor: grab;
}
.pillars-track.is-dragging {
  transition: none;
  cursor: grabbing;
}
.pillar-slide {
  transition: transform 0.9s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.pillar-slide:not(.is-active) {
  opacity: 0.55;
  transform: scale(0.96);
}
.pillar-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.pillar-slide {
  flex: 0 0 calc((100% - clamp(20px, 2vw, 32px)) * 0.78);
  max-width: 1080px;
  min-height: clamp(420px, 52vw, 640px);
  border-radius: clamp(24px, 2.6vw, 40px);
  padding: clamp(36px, 4vw, 64px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: #0B0B0E;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.pillar-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, var(--glow-color, rgba(122, 45, 192, 0.55)) 0%, transparent 55%);
  pointer-events: none;
}
.pillar-slide--purple { --glow-color: rgba(122, 45, 192, 0.55); }
.pillar-slide--orange { --glow-color: rgba(245, 73, 0, 0.45); }
.pillar-slide--green  { --glow-color: rgba(46, 125, 50, 0.45); }

.pillar-slide .pillar-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(56px, 6.5vw, 104px);
  line-height: 1;
  color: #FFFFFF;
  position: relative;
  z-index: 2;
  margin: 0;
}
.pillar-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 58%;
  height: 72%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.pillar-visual svg {
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 420px;
}

/* ---------- PILLAR VISUALS — ANIMATIONS ---------- */
/* Animaciones solo corren cuando el slide está activo */
.pillar-slide .pv * { animation-play-state: paused; }
.pillar-slide.is-active .pv * { animation-play-state: running; }

/* 1 — MOLECULE: solo gira */
@keyframes pv-rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.pv--molecule .pv-mol-rotate {
  animation: pv-rotate-slow 14s linear infinite;
}

/* 2 — BARS: suben desde abajo una vez, se quedan arriba */
@keyframes pv-bar-up {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
.pv--bars .pv-bar {
  transform: scaleY(0);
}
.pillar-slide.is-active .pv--bars .pv-bar {
  animation: pv-bar-up 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pillar-slide.is-active .pv--bars .pv-bar--1 { animation-delay: 0.1s; }
.pillar-slide.is-active .pv--bars .pv-bar--2 { animation-delay: 0.25s; }
.pillar-slide.is-active .pv--bars .pv-bar--3 { animation-delay: 0.4s; }
.pillar-slide.is-active .pv--bars .pv-bar--4 { animation-delay: 0.55s; }

/* 3 — CHART: línea poligonal se dibuja + barras escalonadas suben */
@keyframes pv-chart-draw {
  0%   { stroke-dashoffset: 900; }
  100% { stroke-dashoffset: 0;   }
}
@keyframes pv-chart-bar-up {
  0%   { transform: scaleY(0); }
  100% { transform: scaleY(1); }
}
.pv--chart .pv-chart-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.pv--chart .pv-chart-bar {
  transform: scaleY(0);
}
.pillar-slide.is-active .pv--chart .pv-chart-line {
  animation: pv-chart-draw 1.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.1s;
}
.pillar-slide.is-active .pv--chart .pv-chart-bar {
  animation: pv-chart-bar-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pillar-slide.is-active .pv--chart .pv-chart-bar--1 { animation-delay: 0.4s; }
.pillar-slide.is-active .pv--chart .pv-chart-bar--2 { animation-delay: 0.6s; }
.pillar-slide.is-active .pv--chart .pv-chart-bar--3 { animation-delay: 0.8s; }
.pillar-slide.is-active .pv--chart .pv-chart-bar--4 { animation-delay: 1.0s; }

/* 4 — RING: solo gira */
.pv--ring .pv-ring-arc {
  animation: pv-rotate-slow 12s linear infinite;
}

/* 5 — DASHBOARD: línea se dibuja, área se revela, barras suben, donut gira */
@keyframes pv-dash-line-draw {
  0%   { stroke-dashoffset: 900; }
  100% { stroke-dashoffset: 0;   }
}
@keyframes pv-dash-area-fade {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0);    }
}
@keyframes pv-dash-dot-pop {
  0%   { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes pv-dash-donut-fill {
  0%   { stroke-dashoffset: 283; }
  100% { stroke-dashoffset: 85;  }
}

.pv--dashboard .pv-dash-line {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
}
.pv--dashboard .pv-dash-area {
  opacity: 0;
  transform-origin: 50% 100%;
}
.pv--dashboard .pv-dash-dot {
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}
.pv--dashboard .pv-dash-bar {
  transform: scaleY(0);
}
.pv--dashboard .pv-dash-donut-arc {
  stroke-dashoffset: 283;
}

.pillar-slide.is-active .pv--dashboard .pv-dash-line {
  animation: pv-dash-line-draw 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
}
.pillar-slide.is-active .pv--dashboard .pv-dash-area {
  animation: pv-dash-area-fade 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.4s;
}
.pillar-slide.is-active .pv--dashboard .pv-dash-dot {
  animation: pv-dash-dot-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.pillar-slide.is-active .pv--dashboard .pv-dash-dot:nth-child(1) { animation-delay: 0.7s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-dot:nth-child(2) { animation-delay: 0.9s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-dot:nth-child(3) { animation-delay: 1.1s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-dot:nth-child(4) { animation-delay: 1.3s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-dot:nth-child(5) { animation-delay: 1.5s;  }

.pillar-slide.is-active .pv--dashboard .pv-dash-bar {
  animation: pv-bar-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--1 { animation-delay: 0.5s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--2 { animation-delay: 0.6s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--3 { animation-delay: 0.7s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--4 { animation-delay: 0.8s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--5 { animation-delay: 0.9s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--6 { animation-delay: 1.0s;  }
.pillar-slide.is-active .pv--dashboard .pv-dash-bar--7 { animation-delay: 1.1s;  }

.pillar-slide.is-active .pv--dashboard .pv-dash-donut-arc {
  animation: pv-dash-donut-fill 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.6s;
}

@media (prefers-reduced-motion: reduce) {
  .pillar-slide.is-active .pv * {
    animation: none !important;
  }
}
.pillar-text {
  position: relative;
  z-index: 2;
  max-width: 560px;
  align-self: end;
}
.pillar-slide .pillar-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  margin: 0 0 clamp(14px, 1.4vw, 20px);
}
.pillar-slide .pillar-body {
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

@media (max-width: 960px) {
  .pillar-slide { flex-basis: 88%; }
  .pillar-visual { width: 50%; height: 52%; opacity: 0.75; }
  .pillar-text { max-width: 100%; }
}
@media (max-width: 640px) {
  .pillars-sub-row { flex-direction: column; align-items: flex-start; }
  .pillar-slide { flex-basis: 92%; min-height: 460px; padding: 32px 26px; }
  .pillar-visual { width: 55%; height: 40%; }
  .pillars-arrow { width: 48px; height: 48px; }
}

/* ============================================= */
/* 6B. PLATFORMS — HERRAMIENTAS QUE USAMOS          */
/* ============================================= */
.platforms {
  padding: clamp(24px, 3vw, 40px) 0;
  background: var(--bg);
}
.platforms-wrap {
  max-width: 1640px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.platforms-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: clamp(12px, 2vw, 24px) 0;
  /* fade suave en los bordes */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.platforms-track {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
  width: max-content;
  will-change: transform;
  animation-duration: 40s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.platforms-track--left  { animation-name: platforms-marquee-left; }
.platforms-track--right { animation-name: platforms-marquee-right; }
.platforms-row:hover .platforms-track { animation-play-state: paused; }

@keyframes platforms-marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes platforms-marquee-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.platform-logo {
  flex: 0 0 auto;
  width: clamp(120px, 12vw, 180px);
  height: clamp(36px, 4vw, 50px);
  object-fit: contain;
  object-position: center;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease);
}
.platform-logo--color {
  filter: brightness(0) invert(1);
}
.platform-logo.platform-logo--ws {
  width: clamp(200px, 18vw, 280px);
  height: clamp(56px, 6vw, 80px);
  filter: brightness(0) invert(1);
}
.platform-logo:hover {
  opacity: 1;
}
.platforms-divider {
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.12);
}
.platforms-text {
  text-align: center;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.5;
  color: #FFFFFF;
  max-width: 960px;
  margin: clamp(20px, 3vw, 36px) auto;
  padding: 0 16px;
  font-weight: 400;
}

@media (max-width: 900px) {
  .platforms-track { gap: 56px; animation-duration: 32s; }
  .platform-logo { width: 110px; height: 32px; }
}
@media (max-width: 520px) {
  .platforms-track { gap: 44px; animation-duration: 26s; }
  .platform-logo { width: 90px; height: 28px; }
  .platforms-text { font-size: 16px; }
}

/* ============================================= */


/* ============================================= */
/* 8. FAQ — NoGood style                            */
/* ============================================= */
.faq {
  position: relative;
  padding: clamp(100px, 14vw, 180px) 0 clamp(80px, 12vw, 140px);
  background: var(--bg);
  overflow: hidden;
}
.faq-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 520px;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(0, 170, 60, 0.95) 0%, rgba(0, 133, 0, 0.65) 25%, rgba(0, 133, 0, 0.3) 55%, rgba(0, 133, 0, 0) 100%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}
.faq > .container { position: relative; z-index: 1; }
.faq-deco {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 260px;
  height: 260px;
  opacity: 0.75;
  filter: drop-shadow(0 24px 60px rgba(245, 73, 0, 0.4));
  pointer-events: none;
  z-index: 0;
  animation: faqDecoFloat 14s ease-in-out infinite;
}
.faq-deco img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
@keyframes faqDecoFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-18px) rotate(4deg); }
}
.faq-deco--right {
  left: auto;
  right: 3%;
  top: auto;
  bottom: 12%;
  width: 320px;
  height: 320px;
  filter: drop-shadow(0 24px 60px rgba(0, 227, 255, 0.35));
  animation: faqDecoFloat2 16s ease-in-out infinite;
}

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

@media (max-width: 900px) {
  .faq-deco { display: none; }
}

.faq-head {
  text-align: center;
  margin-bottom: clamp(56px, 7vw, 100px);
}
.faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: clamp(24px, 3.5vw, 40px);
}
.faq-eyebrow-icon {
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.5);
}
.faq-title {
  font-family: var(--font-head, 'Orbitron', sans-serif);
  font-weight: 700;
  font-size: clamp(36px, 5.8vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.faq-item[open] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 36px;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  color: var(--text);
  user-select: none;
  line-height: 1.35;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 200;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.35s var(--ease), color 0.3s var(--ease);
  line-height: 1;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: #FFFFFF;
}
.faq-answer {
  padding: 0 36px 32px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body, Inter, sans-serif);
  font-size: 16px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .faq-item { border-radius: 24px; }
  .faq-question { padding: 24px 24px; gap: 16px; font-size: 17px; }
  .faq-answer { padding: 0 24px 24px; font-size: 15px; }
  .faq-title br { display: none; }
}

/* ============================================= */
/* 9. FORM                                          */
/* ============================================= */
.form-section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  overflow: hidden;
}
.form-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(113, 61, 255, 0.15), transparent 60%);
  filter: blur(120px);
  pointer-events: none;
}
.form-bg-orb {
  position: absolute;
  top: 8%;
  right: -8%;
  width: 360px;
  height: 360px;
  opacity: 0.32;
  filter: drop-shadow(0 30px 80px rgba(113, 61, 255, 0.5));
  pointer-events: none;
  animation: formOrbFloat 10s ease-in-out infinite;
}
.form-bg-orb svg { width: 100%; height: 100%; }
@keyframes formOrbFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}
.form-section > .container { position: relative; z-index: 2; }
.form-title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin: 0 auto;
}
.form-title .accent-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.form-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.form {
  position: relative;
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-field { margin-bottom: 20px; }
.form-row .form-field { margin-bottom: 0; }
.form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.form-input {
  width: 100%;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s var(--ease);
  font-family: var(--font-body);
}
.form-input::placeholder { color: var(--text-dim); }
.form-input:focus {
  outline: none;
  border-color: var(--yellow);
}
.form-input.error { border-color: var(--orange); }
.form-textarea {
  min-height: 120px;
  resize: vertical;
}
select.form-input {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1L6 6L11 1' stroke='%239A9A9A' stroke-width='1.5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}
.form button[type="submit"] { margin-top: 16px; }
.form-microcopy {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
}
.form-legal {
  margin-top: 10px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--yellow);
  color: #0A0A0A;
  font-size: 36px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-family: var(--font-head);
  font-size: 28px;
  margin-bottom: 12px;
}
.form-success p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ============================================= */
/* 9b. BLOGS — estilo NoGood                        */
/* ============================================= */
.blogs {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 140px);
  background: var(--bg);
  overflow: hidden;
}
.blogs-head {
  max-width: 1200px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 clamp(20px, 3vw, 40px);
}
.blogs-arrows {
  display: none;
  gap: 12px;
  margin-top: 20px;
}
.blogs-arrows .blog-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.blogs-arrows .blog-arrow svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.blogs-arrows .blog-arrow:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.blogs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: clamp(20px, 3vw, 32px);
}
.blogs-eyebrow-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.blogs-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
}
.blogs-title-dot {
  color: var(--violet);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 40px);
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}
.blog-card-cover {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.blog-cover--violet {
  background: linear-gradient(135deg, #2E1A6B 0%, #713DFF 55%, #E0348E 100%);
}
.blog-cover--orange {
  background: linear-gradient(135deg, #3A0E05 0%, #F54900 55%, #FAFA00 100%);
}
.blog-cover--pink {
  background: linear-gradient(135deg, #1A1A1E 0%, #7A2DC0 45%, #E0348E 85%, #FCA8FF 100%);
}
.blog-cover-badge {
  align-self: flex-start;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}
.blog-cover-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}
.blog-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px 26px;
  flex: 1;
}
.blog-card-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.005em;
}
.blog-card-excerpt {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.blog-meta-sep { color: rgba(255, 255, 255, 0.25); }

@media (max-width: 960px) {
  .blogs-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .blogs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 0 16px;
    scrollbar-width: none;
  }
  .blogs-grid::-webkit-scrollbar { display: none; }
  .blogs-grid .blog-card-link,
  .blogs-grid .blog-card {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
  .blog-card-cover { aspect-ratio: 16 / 9; padding: 20px; }
  .blog-card-body { padding: 20px 20px 22px; }
  .blogs-arrows { display: flex; }
}

/* ============================================= */
/* CLOSING CTA — reutilizable en cualquier página  */
/* ============================================= */
.closing-cta {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background: #1A1A1E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.closing-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.closing-cta-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 60px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0;
}

.closing-cta-deco {
  position: absolute;
  right: 12%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(200px, 22vw, 340px);
  pointer-events: none;
  opacity: 0.18;
  z-index: 0;
}

.closing-cta-deco img {
  width: 100%;
  height: auto;
  animation: closing-float 6s ease-in-out infinite;
}

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

.closing-cta-btn {
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .closing-cta {
    padding: clamp(56px, 10vw, 100px) 0;
  }

  .closing-cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .closing-cta-title {
    font-size: clamp(28px, 7vw, 44px);
  }
}

/* ============================================= */
/* 10. FOOTER                                       */
/* ============================================= */
.footer {
  padding: clamp(80px, 10vw, 120px) 0 40px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}
.footer-logo { height: clamp(200px, 22vw, 340px); width: auto; }
.footer-hq {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  text-align: right;
  letter-spacing: -0.01em;
  max-width: 640px;
}
.footer-hq .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: var(--text-muted);
}
.footer-list a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}
.footer-list a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s var(--ease);
}
.footer-legal a:hover { color: var(--yellow); }

@media (max-width: 860px) {
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-hq { text-align: left; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- A11Y ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero-3d-logo, .marquee-track, .hero-label-dot { animation: none !important; }
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-radius: 4px;
}
