/* ═══════════════════════════════════════════════════════════════
   NeuroNet Visionary Technologies — Premium Design System
   Pure CSS3 · Dark Corporate · Gold & Violet · Glassmorphism
   ═══════════════════════════════════════════════════════════════ */

/* ─── Fuentes self-hosted (woff2 latin, mismo origen — sin CSS render-blocking externo) ─── */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/cormorant-garamond-var-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/poppins-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ─── Design Tokens ─── */
:root {
  /* Paletas por industria — testimonios (color real de marca) */
  --ind-fitness-a:    #0a3a8a;  --ind-fitness-b:    #2e7dff;  /* CentumX · azul vivo */
  --ind-logistics-a:  #0f3a32;  --ind-logistics-b:  #2d8a72;  /* ShipEase · jade */
  --ind-education-a:  #7a3a0f;  --ind-education-b:  #f08a2a;  /* Anáhuac · naranja */
  --ind-retail-a:     #3a2a10;  --ind-retail-b:     #a8822e;  /* Bacio di Latte · dorado café */
  --ind-legaltech-a:  #5a4a0f;  --ind-legaltech-b:  #e8c52a;  /* Toga · amarillo */
  --ind-proptech-a:   #3a0a18;  --ind-proptech-b:   #a83a4a;  /* Find My Roomie · vino */

  --bg-dark: #08080c;
  --bg-hero: #040209; /* HSL 260 87% 3% */
  --text-hero-sub: hsl(40, 6%, 82%);
  --bg-surface: #0d0d14;
  --bg-card: rgba(13, 13, 20, 0.7);
  --bg-card-hover: rgba(18, 18, 28, 0.85);

  --gold: #D4AF37;
  --gold-dim: rgba(212, 175, 55, 0.15);
  --gold-hover: #b8962e;
  --gold-glow: rgba(212, 175, 55, 0.06);

  --violet: #6A0DAD;
  --violet-dim: rgba(106, 13, 173, 0.12);
  --violet-glow: rgba(106, 13, 173, 0.08);

  --text-primary: #F5F5F7;
  --text-secondary: #a0a0c0;
  --text-tertiary: #6a6a8a;

  --glass-bg: rgba(13, 13, 20, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(212, 175, 55, 0.35);

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Poppins', -apple-system, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Roboto Mono', 'JetBrains Mono', 'Fira Code', monospace;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --wrap: min(1280px, 90%);
  --wrap-narrow: min(800px, 90%);

  /* Atmospheric tokens (themeable) */
  --grid-line: rgba(255, 255, 255, 0.018);
  --grain-opacity: 0.025;
  --grain-blend: normal;
  --hairline: rgba(255, 255, 255, 0.08);
  --surface-veil: rgba(13, 13, 20, 0.55);
  --on-gold: #0d0d14;
}

/* ─── Light theme (Apple-white) ─── */
:root[data-theme="light"] {
  --bg-dark: #ffffff;
  --bg-hero: #fafafa;
  --text-hero-sub: #3a3a42;
  --bg-surface: #ffffff;
  --bg-card: #f6f6f8;
  --bg-card-hover: #eeeef2;

  --gold: #b8860b;            /* deepened for contrast on white */
  --gold-dim: rgba(184, 134, 11, 0.14);
  --gold-hover: #9c6f08;
  --gold-glow: rgba(184, 134, 11, 0.07);

  --violet: #6A0DAD;
  --violet-dim: rgba(106, 13, 173, 0.10);
  --violet-glow: rgba(106, 13, 173, 0.05);

  --text-primary: #0d0d14;
  --text-secondary: #4a4a55;
  --text-tertiary: #80808f;

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(0, 0, 0, 0.10);
  --glass-border-hover: rgba(184, 134, 11, 0.45);

  --grid-line: rgba(0, 0, 0, 0.045);
  --grain-opacity: 0.018;
  --grain-blend: multiply;
  --hairline: rgba(0, 0, 0, 0.10);
  --surface-veil: rgba(255, 255, 255, 0.72);
  --on-gold: #ffffff;
}


/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
::selection { background: var(--gold); color: var(--bg-dark); }


/* ═══════════════════════════════════════════════════════════════
   ATMOSPHERIC BACKGROUNDS
   ═══════════════════════════════════════════════════════════════ */

/* Blueprint grid overlay */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

/* Radial ambient glows */
.ambient-glow {
  position: fixed;
  top: -20%;
  left: 15%;
  width: 70vw;
  height: 70vw;
  background: radial-gradient(circle, var(--violet-glow) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}
.ambient-glow-gold {
  position: fixed;
  bottom: -30%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--gold-glow) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* Film grain overlay */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

/* ─── Aurora boreal · pulso atmosférico de fondo ───────────────────
   Dos capas de gradientes grandes y difuminados (colores de marca +
   un toque teal/azul "boreal") que derivan y respiran lentamente.
   Sólo se anima transform/opacity (compositor/GPU); el blur es estático. */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  contain: layout paint;
  opacity: 1;
  transition: opacity .6s var(--ease-out);
}
.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  inset: -25%;
  background-repeat: no-repeat;
  filter: blur(60px) saturate(1.25);
  will-change: transform, opacity;
}
/* Capa 1 — violeta + dorado de marca, con un núcleo teal */
.aurora::before {
  background:
    radial-gradient(38% 50% at 25% 28%, rgba(106, 13, 173, .42), transparent 62%),
    radial-gradient(42% 42% at 72% 22%, rgba(212, 175, 55, .26), transparent 62%),
    radial-gradient(46% 48% at 55% 72%, rgba(34, 160, 160, .22), transparent 64%);
  animation: aurora-drift-a 32s ease-in-out infinite alternate,
             aurora-pulse-a 11s ease-in-out infinite;
}
/* Capa 2 — cinta teal/índigo en contramovimiento */
.aurora::after {
  background:
    radial-gradient(40% 44% at 80% 42%, rgba(46, 125, 255, .20), transparent 60%),
    radial-gradient(50% 40% at 18% 64%, rgba(106, 13, 173, .26), transparent 62%),
    conic-gradient(from 210deg at 62% 32%, transparent 0deg, rgba(34, 170, 150, .18) 60deg, transparent 150deg);
  animation: aurora-drift-b 44s ease-in-out infinite alternate,
             aurora-pulse-b 14s ease-in-out infinite;
}
@keyframes aurora-drift-a {
  0%   { transform: translate3d(-3%, -2%, 0) rotate(-3deg) scale(1.05); }
  100% { transform: translate3d(5%, 3%, 0) rotate(4deg) scale(1.18); }
}
@keyframes aurora-drift-b {
  0%   { transform: translate3d(4%, 2%, 0) rotate(2deg) scale(1.12); }
  100% { transform: translate3d(-5%, -3%, 0) rotate(-4deg) scale(1.04); }
}
@keyframes aurora-pulse-a {
  0%, 100% { opacity: .5; }
  50%      { opacity: .95; }
}
@keyframes aurora-pulse-b {
  0%, 100% { opacity: .8; }
  50%      { opacity: .4; }
}
/* Modo claro: aurora más presente, pero aún cuidando el blanco */
:root[data-theme="light"] .aurora { opacity: .72; }
/* Accesibilidad: sin movimiento si el usuario lo pidió (queda estática y sutil) */
@media (prefers-reduced-motion: reduce) {
  .aurora::before, .aurora::after { animation: none; }
}
/* En móvil bajamos el costo del blur: menos radio, menos área promovida y deriva más lenta */
@media (max-width: 768px) {
  .aurora::before, .aurora::after {
    inset: -10%;
    filter: blur(38px) saturate(1.2);
    animation-duration: 48s, 16s;
  }
}


/* ═══════════════════════════════════════════════════════════════
   LAYOUT PRIMITIVES
   ═══════════════════════════════════════════════════════════════ */
.wrap {
  width: var(--wrap);
  margin: 0 auto;
}
.wrap-narrow {
  width: var(--wrap-narrow);
  margin: 0 auto;
}


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 1rem 5%;
  border: 1px solid transparent;
  border-bottom-color: var(--glass-border);
  border-radius: 0;
  background: rgba(8, 8, 12, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: width .45s var(--ease-out), max-width .45s var(--ease-out),
              top .45s var(--ease-out), margin .45s var(--ease-out),
              padding .45s var(--ease-out), border-radius .45s var(--ease-out),
              background .4s, border-color .4s, box-shadow .45s;
}
/* Móvil: el morph a píldora salta sin animar la geometría — animar
   width/top/padding con backdrop-filter activo fuerza reflow + re-raster
   del blur en cada frame y produce jank en el primer scroll. */
@media (max-width: 768px) {
  .nav { transition: background .4s, border-color .4s, box-shadow .45s; }
}
/* Al hacer scroll: barra flotante en forma de píldora + glassmorphism */
.nav.scrolled {
  top: 14px;
  width: calc(100% - 2rem);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(13, 13, 20, 0.55);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.brand-name {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: block;
  line-height: 1.2;
}
.brand-name b { font-weight: 700; }
.brand-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 400;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

/* Nav CTA button */
.nav-cta {
  background: var(--text-primary) !important;
  color: var(--bg-dark) !important;
  padding: 0.5rem 1.3rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.3s !important;
  margin-left: 0.5rem;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.25);
  background: var(--gold) !important;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ═══════════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s var(--ease-out);
  cursor: pointer;
  border: none;
  line-height: 1;
}
.btn-gold {
  background: var(--gold);
  color: var(--bg-dark);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--glass-border-hover);
}


/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }
.reveal.d6 { transition-delay: 0.48s; }


/* ═══════════════════════════════════════════════════════════════
   SECTION HEADINGS (shared)
   ═══════════════════════════════════════════════════════════════ */
.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.section-head .eyebrow,
.eyebrow {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 0.8rem;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-head h2 em,
.accent {
  font-style: italic;
  color: var(--gold);
}
.section-head p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.gold-text { color: var(--gold); }


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: calc(100vh - 70px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: visible;
  position: relative;
  padding: 3rem 0;
  box-sizing: border-box;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Background video wrapper */
/* Navigation divider */
.nav-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2) 50%, transparent);
  position: relative;
  z-index: 1001;
  transition: opacity 0.4s ease;
}
/* El divisor desaparece cuando la barra flota como píldora */
.nav.scrolled + .nav-divider { opacity: 0; }

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}
.pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
}

/* Hero H1 */
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

/* Hero lead paragraphs */
.hero-lead p {
  color: var(--text-secondary);
  line-height: 1.7;
}
.hero-lead .l1 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.hero-lead .l2 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}
.hero-lead .l3 {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: 2rem;
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Logo Marquee & Liquid Glass */
.marquee-container {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: 100%;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  margin-top: 2rem;
}
.marquee-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  line-height: 1.4;
}
.marquee-track {
  overflow: hidden;
  flex: 1;
  min-width: 0; /* permite que flex encoja bajo el ancho del contenido nowrap → sin overflow horizontal en móvil */
  display: flex;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-content {
  display: flex;
  gap: 4rem;
  animation: marquee-scroll 20s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-sans);
}
.logo-icon.liquid-glass {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}
.logo-icon.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 50%, rgba(212, 175, 55, 0.25));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Orb (alternative to video) */
.hero-orb {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-orb .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.18);
  animation: rotate-orb 90s linear infinite;
}
.hero-orb .ring.r2 {
  inset: 8%;
  border-color: rgba(255, 255, 255, 0.10);
  animation-duration: 60s;
  animation-direction: reverse;
}
.hero-orb .ring.r3 {
  inset: 16%;
  border-color: rgba(106, 13, 173, 0.30);
  animation-duration: 120s;
}
.hero-orb .ring::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
@keyframes rotate-orb {
  to { transform: rotate(360deg); }
}
.hero-orb .halo {
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.5), transparent 55%),
    conic-gradient(from 200deg, rgba(106, 13, 173, 0.65), rgba(11, 61, 145, 0.65), rgba(106, 13, 173, 0.65), rgba(212, 175, 55, 0.5), rgba(106, 13, 173, 0.65));
  filter: blur(8px);
  animation: orbBreathe 14s ease-in-out infinite;
}
.hero-orb .neura {
  position: relative;
  width: 62%;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 30px 60px rgba(106, 13, 173, 0.45)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.25));
  animation: float-orb 7s ease-in-out infinite;
  z-index: 2;
}
.hero-orb .neura img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@keyframes orbBreathe {
  0%, 100% { transform: scale(1); opacity: 0.95; }
  50% { transform: scale(1.05); opacity: 1; }
}
@keyframes float-orb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-orb .orb-cap {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-tertiary);
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: .04em;
}


/* ═══════════════════════════════════════════════════════════════
   MANIFIESTO SECTION
   ═══════════════════════════════════════════════════════════════ */
.manifiesto {
  padding: 16px 24px 36px;
  text-align: center;
}
.manifiesto .wrap {
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .manifiesto { padding: 12px 20px 28px; }
}
.manifiesto .whisper {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.manifiesto .quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2rem;
}
.manifiesto .signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
}
.manifiesto .sig-bar {
  width: 40px;
  height: 1px;
  background: var(--gold);
  opacity: 0.4;
}


/* ═══════════════════════════════════════════════════════════════
   ÉPOCA DORADA SECTION
   ═══════════════════════════════════════════════════════════════ */
.epoca {
  padding: 6rem 0;
}

/* Statement protagonista: tesis de la sección (de sistemas → AaaS) */
.epoca-statement {
  max-width: 980px;
  margin: 0 auto 90px;
  padding: 0 24px;
  text-align: center;
}
.epoca-statement p {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.25;
  letter-spacing: -.01em;
  color: rgba(245,245,247,.78);
  margin: 0;
}
.epoca-statement .st-gold { color: var(--gold); font-style: italic; }
.epoca-statement .st-muted { color: rgba(245,245,247,.5); }
.epoca-statement .st-em { color: #f5f5f7; font-weight: 600; font-style: italic; }
.epoca-statement::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  margin: 40px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* Bloques comprimidos: gancho protagonista, prosa secundaria, sin caja */
.epoca-blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.epoca-block {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8px 36px;
  position: relative;
}
.epoca-block:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.10) 20%, rgba(255,255,255,.10) 80%, transparent);
}
.epoca-block h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 25px;
  line-height: 1.25;
  color: #f5f5f7;
  margin: 0 0 20px;
  letter-spacing: -.005em;
}
/* (el énfasis .accent dentro de h3 ya es dorado itálico vía regla global) */
.epoca-block p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(245,245,247,.5);
  margin: 0;
}

/* Cierre con CTA: des-encajonado, con aire (conserva quote + CTA) */
.epoca-pull {
  max-width: 880px;
  margin: 80px auto 0;
  text-align: center;
  padding: 0 24px;
  border: none;
  background: none;
  border-radius: 0;
}
.epoca-pull q {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}
.epoca-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap 0.3s;
}
.epoca-cta:hover { gap: 0.8rem; }

@media (max-width: 1024px) {
  .epoca-blocks { grid-template-columns: 1fr; gap: 48px; max-width: 640px; }
  .epoca-block { padding: 0 8px; }
  .epoca-block:not(:first-child)::before { display: none; }
  .epoca-block:not(:first-child) {
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .epoca-block h3 { font-size: 23px; }
}
@media (max-width: 720px) {
  .epoca-statement { margin-bottom: 64px; }
}


/* ═══════════════════════════════════════════════════════════════
   POLARIZACIÓN (vs) SECTION
   ═══════════════════════════════════════════════════════════════ */
.pol-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
}
.pol-col {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.pol-col h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.pol-col .sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.pol-col ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pol-col li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.pol-col li .ico {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.pol-bad li .ico { background: #ef4444; }
.pol-good li .ico { background: var(--gold); }
.pol-good {
  border-color: rgba(212, 175, 55, 0.15);
  background: rgba(212, 175, 55, 0.03);
}
.pol-vs {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-tertiary);
  align-self: center;
  padding: 0 0.5rem;
}


/* ═══════════════════════════════════════════════════════════════
   METHODOLOGY SECTION
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   MÉTODO · CUATRO PASOS · MINIMAL (estética Apple, confía en el vacío)
   ═══════════════════════════════════════════════════════════════ */
section#metodo { padding: 140px 0 80px; }
section#metodo .section-head { text-align: center; margin-bottom: 90px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Cards sin caja: solo aire + jerarquía tipográfica */
.method-card {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 8px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.method-card:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.10) 25%, rgba(255,255,255,.10) 75%, transparent 100%);
}
.method-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 72px;
  line-height: 1;
  color: var(--gold);
  opacity: .9;
  margin-bottom: 28px;
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums;
}
.method-card h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: #f5f5f7;
  margin: 0 0 16px;
  letter-spacing: -.01em;
}
.method-card p {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(245,245,247,.62);
  margin: 0 0 28px;
  flex: 1;
}
.method-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245,245,247,.38);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.method-card:hover { transform: translateY(-4px); }
.method-card:hover .method-num { opacity: 1; }

/* Banner CTA refinado al mismo lenguaje minimalista */
.method-banner {
  max-width: 1280px;
  margin: 100px auto 0;
  padding: 48px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: none;
  border-radius: 0;
}
.method-banner .text {
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.2;
  color: rgba(245,245,247,.7);
  font-weight: 400;
}
.method-banner .text b {
  color: #f5f5f7;
  font-weight: 600;
  font-style: italic;
}
.method-banner .btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px;
  background: var(--gold);
  color: #0d0d14;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  border-radius: 4px; text-decoration: none; white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, box-shadow .35s;
}
.method-banner .btn-gold:hover { transform: translateY(-2px); background: #e6c247; box-shadow: 0 16px 40px -10px rgba(212,175,55,.4); }
.method-banner .btn-gold svg { transition: transform .35s; }
.method-banner .btn-gold:hover svg { transform: translateX(4px); }

/* ── Módulo "Agenda con un Especialista" (estilo Apple, dark) ── */
.especialista-card {
  max-width: 1280px;
  margin: 100px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #14141c 0%, #0d0d14 100%);
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.6);
}
.esp-content {
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.esp-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.esp-content h3 {
  font-family: var(--font-serif);
  font-weight: 500; font-size: 36px; line-height: 1.18;
  color: #f5f5f7; margin: 0 0 18px; letter-spacing: -.01em;
}
.esp-content p {
  font-family: var(--font-sans); font-size: 15px; line-height: 1.6;
  color: rgba(245,245,247,.6); margin: 0 0 32px; max-width: 440px;
}
.esp-cta {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px;
  background: #f5f5f7; color: #0d0d14;
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s, box-shadow .35s;
}
.esp-cta:hover { transform: translateY(-2px); background: #fff; box-shadow: 0 14px 36px -12px rgba(255,255,255,.25); }
.esp-cta svg { transition: transform .35s; }
.esp-cta:hover svg { transform: translateX(4px); }
.esp-photo {
  position: relative;
  background: radial-gradient(120% 120% at 70% 0%, rgba(212,175,55,.12) 0%, transparent 55%), #0a0a10;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 24px;
  align-self: stretch;
}
.esp-photo img {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: 50% 66%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.esp-photo-fallback {
  width: 100%; height: 100%; min-height: 320px;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(212,175,55,.15), transparent 70%),
    linear-gradient(180deg, #14141c, #0a0a10);
  position: relative;
}
.esp-photo-fallback::after {
  content: "⌖";
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 80px; color: rgba(212,175,55,.25);
}

@media (prefers-reduced-motion: reduce) {
  .method-card, .method-banner .btn-gold, .method-banner .btn-gold svg,
  .esp-cta, .esp-cta svg { transition: none !important; }
  .method-card:hover { transform: none; }
}

@media (max-width: 1024px) {
  .method-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 0; }
  .method-card { padding: 8px 28px; }
  .method-card:not(:first-child)::before { display: none; }
  .method-card:nth-child(even)::before {
    content: ""; display: block;
    position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,.10), transparent);
  }
  .method-num { font-size: 64px; }
}
@media (max-width: 900px) {
  .especialista-card { grid-template-columns: 1fr; align-items: stretch; }
  .esp-content { padding: 44px 32px 32px; }
  .esp-content h3 { font-size: 30px; }
  .esp-photo { min-height: auto; order: 2; padding: 32px 24px; }
}
@media (max-width: 720px) {
  .method-banner { grid-template-columns: 1fr; gap: 28px; padding: 40px 24px; text-align: left; }
  .method-banner .text { font-size: 26px; }
  .method-banner .btn-gold { justify-content: center; }
}
@media (max-width: 640px) {
  .method-grid { grid-template-columns: 1fr; gap: 56px; }
  .method-card { padding: 0 8px; }
  .method-card::before { display: none !important; }
  .method-num { font-size: 56px; margin-bottom: 20px; }
}


/* ═══════════════════════════════════════════════════════════════
   VERTICALES SECTION
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   VERTICALES · TRES PUERTAS · afiche editorial inmersivo
   Tercera voz visual: fotográfico/aspiracional (vs. carrusel emocional
   y ledger racional). Imagen de fondo como protagonista + overlay.
   ═══════════════════════════════════════════════════════════════ */

/* Separación editorial respecto a #metodo (el padding-bottom base de #metodo
   vive ahora en el bloque MÉTODO; aquí solo el padding de #verticales) */
section#verticales { padding-top: 90px; padding-bottom: 160px; position: relative; }
section#verticales::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 64px;
  background: linear-gradient(180deg, transparent 0%, rgba(212,175,55,.5) 50%, transparent 100%);
}

.vert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1280px;
  margin: 60px auto 0;
}

.vert {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 640px;
  padding: 44px 36px 36px;
  border-radius: 6px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: #f5f5f7;
  background-color: #0a0a10;
  border: 1px solid rgba(255,255,255,.05);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.04) inset;
  transition: transform .55s cubic-bezier(.2,.7,.2,1), box-shadow .55s ease;
}
/* Fallback por puerta (visible si la imagen 404ea) */
.vert[data-vertical="b2b"]      { background: linear-gradient(135deg, #0f1a2e 0%, #050810 100%); }
.vert[data-vertical="b2g"]      { background: linear-gradient(135deg, #1a0f2e 0%, #050410 100%); }
.vert[data-vertical="academia"] { background: linear-gradient(135deg, #2e1a0f 0%, #100805 100%); }

/* Imagen de fondo en capa propia para animar transform sin afectar overlays */
.vert::before {
  content: "";
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  z-index: -2;
  transform: scale(1.02);
  filter: saturate(.9) contrast(1.05);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s ease;
}
/* Imágenes de las 3 puertas: ausentes por ahora → se omiten para evitar 404s.
   El degradado/overlay del ::before queda como fallback elegante.
   Cuando existan los archivos, reactivar estas 3 líneas. */
/* .vert[data-vertical="b2b"]::before      { background-image: url('assets/verticales/puerta-b2b.jpg'); } */
/* .vert[data-vertical="b2g"]::before      { background-image: url('assets/verticales/puerta-b2g.jpg'); } */
/* .vert[data-vertical="academia"]::before { background-image: url('assets/verticales/puerta-academia.jpg'); } */

/* Overlay doble capa: tinte dorado arriba-der + gradient negro vertical */
.vert::after {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(212,175,55,.18) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13,13,20,.35) 0%, rgba(13,13,20,.75) 55%, rgba(13,13,20,.95) 100%);
  transition: opacity .55s ease, background .55s ease;
}

.vert:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px -20px rgba(0,0,0,.75), 0 1px 0 rgba(255,255,255,.06) inset, 0 0 0 1px rgba(212,175,55,.18);
}
.vert:hover::before { transform: scale(1.08); filter: saturate(1) contrast(1.1); }
.vert:hover::after {
  background:
    radial-gradient(60% 50% at 90% 10%, rgba(212,175,55,.28) 0%, transparent 55%),
    linear-gradient(180deg, rgba(13,13,20,.25) 0%, rgba(13,13,20,.7) 50%, rgba(13,13,20,.96) 100%);
}

/* Cabecera de la card: ícono (badge) + etiqueta en fila, sin solaparse */
.vert .vert-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}
.vert .icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, rgba(212,175,55,.16) 0%, rgba(212,175,55,.04) 100%);
  border: 1px solid rgba(212,175,55,.3);
  border-radius: 6px;
  color: var(--gold);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.vert .icon svg { width: 22px; height: 22px; color: var(--gold); }

.vert .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.vert h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: normal;
  font-size: 28px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 18px;
  letter-spacing: -.005em;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
  position: relative;
  z-index: 2;
}
.vert .anchor {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(245,245,247,.85);
  margin: 0 0 22px;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
  position: relative;
  z-index: 2;
}
.vert ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 2;
}
.vert li {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(245,245,247,.78);
  padding-left: 22px;
  position: relative;
}
.vert li::before {
  content: "→";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 13px;
}
.vert-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: .02em;
  color: var(--gold);
  text-decoration: none;
  padding-top: 16px;
  border-top: 1px solid rgba(212,175,55,.18);
  margin-top: auto;
  position: relative;
  z-index: 2;
  transition: color .3s ease, gap .3s ease;
}
.vert-cta svg { transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.vert:hover .vert-cta { color: #e6c247; gap: 14px; }
.vert:hover .vert-cta svg { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .vert, .vert::before, .vert::after, .vert-cta, .vert-cta svg { transition: none !important; }
  .vert:hover::before { transform: scale(1.02); }
}

@media (max-width: 1024px) {
  section#metodo     { padding-bottom: 60px; }
  section#verticales { padding-top: 72px; padding-bottom: 130px; }
  section#verticales::before { height: 48px; }
  .vert-grid { grid-template-columns: 1fr; max-width: 560px; gap: 24px; }
  .vert { min-height: 560px; padding: 40px 32px 32px; }
  .vert h3 { font-size: 26px; }
}
@media (max-width: 720px) {
  section#metodo     { padding-bottom: 48px; }
  section#verticales { padding-top: 60px; padding-bottom: 110px; }
  .vert { min-height: 480px; padding: 36px 26px 28px; }
  .vert .icon { width: 40px; height: 40px; }
  .vert h3 { font-size: 23px; }
  .vert .anchor { font-size: 14px; }
}


/* ═══════════════════════════════════════════════════════════════
   PRODUCTS SECTION & CARDS
   ═══════════════════════════════════════════════════════════════ */
.product-grid,
.products-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.product-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.4s, transform 0.3s var(--ease-out);
}
.product-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-3px);
}
.product-card.primary {
  grid-column: 1 / -1;
  border-color: rgba(212, 175, 55, 0.2);
  background: rgba(212, 175, 55, 0.03);
}

/* Glow tracker */
.product-card .card-glow,
.card-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle 220px at var(--mouse-x, -200px) var(--mouse-y, -200px), var(--gold-glow), transparent 80%);
  transition: opacity 0.3s;
  opacity: 0;
}
.product-card:hover .card-glow,
[data-glow]:hover .card-glow {
  opacity: 1;
}

.product-card > *:not(.card-glow) {
  position: relative;
  z-index: 1;
}

.product-num,
.tech-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.product-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.product-card .qproblem {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-style: italic;
  border-left: 2px solid var(--gold-dim);
  padding-left: 1rem;
}
.product-card .meta {
  margin-bottom: 1.5rem;
}
.product-card .meta-row {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.product-card .meta-row b {
  color: var(--text-primary);
}
.product-card .meta-log {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-tertiary);
}
.pcta {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gold);
  transition: letter-spacing 0.3s;
}
.pcta:hover { letter-spacing: 0.5px; }


/* ═══════════════════════════════════════════════════════════════
   INDUSTRY GRID & EXPLORER
   ═══════════════════════════════════════════════════════════════ */
.industry-grid,
.explorer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.industry-chip,
.industry-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.2s;
  overflow: hidden;
  text-align: left;
  color: var(--text-primary);
  font-size: 0.88rem;
}
.industry-chip:hover,
.industry-item:hover {
  border-color: var(--glass-border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}
.industry-chip.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}
.industry-chip .ico {
  color: var(--gold);
  flex-shrink: 0;
  display: flex;
}
.industry-chip .label {
  flex: 1;
  font-size: 0.85rem;
}
.industry-chip .arrow {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  transition: transform 0.3s;
}
.industry-chip:hover .arrow { transform: translateX(3px); }



/* ═══════════════════════════════════════════════════════════════
   INDUSTRY DETAIL PANEL
   ═══════════════════════════════════════════════════════════════ */
.industry-detail {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  position: relative;
  margin-bottom: 2rem;
}
.industry-detail[hidden] { display: none; }
.id-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  transition: color 0.3s;
}
.id-close:hover { color: var(--text-primary); }
.id-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
}
.industry-detail h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.id-lead {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.id-multiplier {
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.id-case {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.id-case-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.3rem;
}
.id-cta-row {
  margin-top: 1.5rem;
}
.id-build-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.id-build {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.id-build li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.5;
}
.id-build li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
}


/* ═══════════════════════════════════════════════════════════════
   MEMBERSHIP SECTION
   ═══════════════════════════════════════════════════════════════ */
.member {
  padding: 6rem 0;
}
.member-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.pillar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: border-color 0.3s;
}
.pillar:hover { border-color: var(--glass-border-hover); }
.pillar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.pillar p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}
.member-quote {
  text-align: center;
  padding: 3rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  background: rgba(212, 175, 55, 0.02);
}
.member-quote q {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
}


/* ═══════════════════════════════════════════════════════════════
   CLIENTS SECTION
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   CLIENTES · DIRECTORIO EDITORIAL (LEDGER)
   Contraparte racional del carrusel: registro estático, monocromo,
   tipografía dual serif + mono, un solo punto de dorado por hover.
   ═══════════════════════════════════════════════════════════════ */
section.clients { padding: 140px 0 160px; position: relative; }
section.clients .section-head { text-align: center; margin-bottom: 80px; }

/* Etiqueta superior tipo "REGISTRO 2022-2024" */
.clients-ledger-caption {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, .7);
}
.clients-ledger-caption .sep {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, .3), transparent);
  margin: 0 20px;
}

/* Contenedor del ledger con marco lateral de "libro contable" */
.clients-ledger {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.clients-ledger::before,
.clients-ledger::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, rgba(212, 175, 55, .12) 20%, rgba(212, 175, 55, .12) 80%, transparent 100%);
}
.clients-ledger::before { left: -1px; }
.clients-ledger::after  { right: -1px; }

/* Cada fila del registro */
.client-row {
  display: grid;
  grid-template-columns: 56px 140px 1fr 200px 100px 32px;
  align-items: center;
  gap: 28px;
  padding: 26px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  text-decoration: none;
  color: #f5f5f7;
  position: relative;
  overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), background .4s ease, border-color .4s ease;
}
/* Línea dorada que se llena de izq. a der. en hover — microinteracción signature */
.client-row::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  height: 1px;
  width: 0%;
  background: linear-gradient(90deg, #d4af37 0%, rgba(212, 175, 55, 0) 100%);
  transition: width .6s cubic-bezier(.2,.7,.2,1);
}
.client-row:hover::before { width: 100%; }
.client-row:hover {
  transform: translateX(8px);
  background: linear-gradient(90deg, rgba(212, 175, 55, .04) 0%, rgba(212, 175, 55, 0) 60%);
  border-bottom-color: transparent;
}

.client-row .row-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: #d4af37;
  opacity: .75;
}
.client-row .row-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 36px;
}
.client-row .row-logo img {
  max-width: 120px;
  max-height: 36px;
  object-fit: contain;
  object-position: left center;
  filter: grayscale(1) brightness(1.6) opacity(.78);
  transition: filter .4s ease;
}
.client-row:hover .row-logo img { filter: grayscale(0) brightness(1.05) opacity(1); }

/* Fondo específico para el logo de ShipEase Logistics (contraste en fondo oscuro) */
.client-row[data-industry="logistics"] .row-logo {
  justify-content: center;
  width: 100%;
  max-width: 120px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 6px;
  padding: 4px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.client-row[data-industry="logistics"]:hover .row-logo {
  background-color: #ffffff;
  transform: scale(1.03);
}
.client-row[data-industry="logistics"] .row-logo img {
  max-width: 100%;
  max-height: 100%;
  object-position: center;
  filter: grayscale(1) opacity(0.85);
}
.client-row[data-industry="logistics"]:hover .row-logo img { filter: grayscale(0) opacity(1); }
/* Fallback si falta el SVG — serif pequeño NO italic (italic es lenguaje del carrusel) */
.client-row .row-logo-fallback {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: normal;
  font-size: 14px;
  letter-spacing: .01em;
  color: rgba(245, 245, 247, .42);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-row:hover .row-logo-fallback { color: rgba(245, 245, 247, .7); }

.client-row .row-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-style: normal;
  font-size: 26px;
  line-height: 1.1;
  color: #f5f5f7;
  letter-spacing: -.005em;
}
.client-row .row-sector {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 245, 247, .5);
}
.client-row .row-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .16em;
  color: rgba(245, 245, 247, .32);
  text-align: right;
}
.client-row .row-arrow {
  font-family: var(--font-mono);
  font-size: 16px;
  color: rgba(245, 245, 247, .35);
  text-align: right;
  transition: transform .4s cubic-bezier(.2,.7,.2,1), color .4s ease;
}
.client-row:hover .row-arrow {
  color: #d4af37;
  transform: translate(4px, -4px);
}

@media (max-width: 1024px) {
  .client-row { grid-template-columns: 48px 100px 1fr 80px 24px; gap: 20px; padding: 22px 20px; }
  .client-row .row-meta { display: none; }
  .client-row .row-name { font-size: 22px; }
}
@media (max-width: 720px) {
  .client-row { grid-template-columns: 36px 1fr 24px; gap: 16px; padding: 20px 16px; }
  .client-row .row-logo { display: none; }
  .client-row .row-name { font-size: 19px; grid-column: 2; grid-row: 1; }
  .client-row .row-sector { grid-column: 2; margin-top: 4px; }
  .client-row .row-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .clients-ledger-caption { font-size: 9px; padding: 0 16px 12px; }
}


/* ═══════════════════════════════════════════════════════════════
   TESTIMONIALS SECTION
   ═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   TESTIMONIOS · CARRUSEL INFINITO + CARDS EDITORIALES PREMIUM
   ═══════════════════════════════════════════════════════════════ */
section.testi { position: relative; padding: 120px 0 140px; }

.testi-carousel {
  --testi-speed: 60s;
  position: relative;
  width: 100%;
  margin-top: 3.5rem;
  overflow: hidden;
  display: flex;
  /* Edge fade cinematográfico */
  -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%);
}
.testi-carousel .testi-track {
  display: flex;
  flex: 0 0 auto;
  gap: 28px;
  padding: 12px 14px;
  animation: testi-scroll var(--testi-speed) linear infinite;
  will-change: transform;
}
@keyframes testi-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); } /* ancho border-box del track → loop sin salto */
}
.testi-carousel:hover .testi-track { animation-play-state: paused; }

/* Reduced motion: detener animación y permitir scroll horizontal manual */
@media (prefers-reduced-motion: reduce) {
  .testi-carousel { overflow-x: auto; scroll-snap-type: x mandatory; }
  .testi-carousel .testi-track { animation: none; }
  .testi-card { scroll-snap-align: center; }
}

@media (max-width: 1024px) { .testi-carousel { --testi-speed: 50s; } }
@media (max-width: 768px)  { .testi-carousel { --testi-speed: 40s; } .testi-carousel .testi-track { gap: 20px; } }

/* ── Card editorial ───────────────────────────────────────────── */
.testi-card {
  position: relative;
  flex: 0 0 440px;
  min-height: 420px;
  padding: 40px 36px 32px;
  border-radius: 4px;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* fallback de paleta antes de que data-industry aplique */
  --ind-a: #2a2a36;
  --ind-b: #5a5a6e;
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in oklab, var(--ind-b) 22%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, color-mix(in oklab, var(--ind-a) 18%, #14141c) 0%, #0d0d14 70%);
  border: 1px solid color-mix(in oklab, var(--ind-b) 18%, rgba(255,255,255,.06));
  box-shadow:
    0 1px 0 rgba(255,255,255,.04) inset,
    0 30px 60px -20px rgba(0,0,0,.6),
    0 0 0 1px rgba(0,0,0,.4);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s, box-shadow .5s;
}
/* Banda industria lateral izquierda — "índice de revista" */
.testi-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ind-b) 0%, color-mix(in oklab, var(--ind-a) 60%, transparent) 60%, transparent 100%);
  opacity: .85;
  z-index: 1;
}
/* Watermark comilla gigante */
.testi-card::after {
  content: "\201C";
  position: absolute;
  left: 50%; top: 42%;
  transform: translate(-50%, -50%);
  font-family: "Cormorant Garamond", serif;
  font-size: 320px;
  line-height: 1;
  color: rgba(255,255,255,.035);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.testi-card .quoticon {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-family: "Cormorant Garamond", serif;
  font-size: 56px;
  line-height: .5;
  color: #d4af37;
  margin-bottom: 22px;
  letter-spacing: -.05em;
}
.testi-card .body {
  position: relative;
  z-index: 2;
  font-family: "Cormorant Garamond", "Georgia", serif;
  font-style: italic;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(245,245,247,.92);
  letter-spacing: .005em;
  margin: 0 0 26px;
  flex: 1;
}
.testi-card .rating {
  position: relative;
  z-index: 2;
  color: #d4af37;
  font-size: 14px;
  letter-spacing: 4px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.testi-card .rating::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212,175,55,.25), rgba(255,255,255,0));
  margin-left: 6px;
}
.testi-card .author {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
}
.testi-card .author .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #2a2418, #0d0a04);
  border: 1px solid rgba(212,175,55,.4);
  display: grid; place-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .08em;
  color: #d4af37;
}
.testi-card .author .who {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.testi-card .author .name {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  color: #f5f5f7;
  line-height: 1.3;
}
.testi-card .author .title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: rgba(245,245,247,.55);
  letter-spacing: .02em;
}
.testi-card .author .company {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: color-mix(in oklab, var(--ind-b) 70%, #f5f5f7);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: 3px;
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in oklab, var(--ind-b) 35%, rgba(255,255,255,.08));
  box-shadow:
    0 1px 0 rgba(255,255,255,.06) inset,
    0 40px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px color-mix(in oklab, var(--ind-b) 20%, transparent);
}

/* ── Logo de empresa ──────────────────────────────────────────── */
.testi-card .logo-mark {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 100px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: .72;
  filter: grayscale(1) brightness(1.6);
  transition: opacity .4s ease, filter .4s ease;
  z-index: 3;
  isolation: isolate;
}
.testi-card .logo-mark img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: right center;
}
.testi-card .logo-mark::before {
  content: "";
  position: absolute;
  inset: -40px -40px -20px -60px;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--ind-b) 35%, transparent) 0%, transparent 75%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}
.testi-card:hover .logo-mark {
  opacity: 1;
  filter: grayscale(0) brightness(1.1);
}
.testi-card .logo-fallback {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 16px;
  color: rgba(245,245,247,.65);
  letter-spacing: .02em;
  text-align: right;
}

/* Responsive cards */
@media (max-width: 1024px) { .testi-card { flex: 0 0 400px; min-height: 400px; padding: 36px 30px 28px; } }
@media (max-width: 768px)  { .testi-card { flex: 0 0 86vw; max-width: 380px; min-height: 380px; padding: 32px 26px 26px; } .testi-card .body { font-size: 17px; } }

/* ── Degradados por industria ─────────────────────────────────── */
.testi-card[data-industry="fitness"]    { --ind-a: var(--ind-fitness-a);    --ind-b: var(--ind-fitness-b); }
.testi-card[data-industry="logistics"]  { --ind-a: var(--ind-logistics-a);  --ind-b: var(--ind-logistics-b); }
.testi-card[data-industry="education"]  { --ind-a: var(--ind-education-a);  --ind-b: var(--ind-education-b); }
.testi-card[data-industry="retail"]     { --ind-a: var(--ind-retail-a);     --ind-b: var(--ind-retail-b); }
.testi-card[data-industry="legaltech"]  { --ind-a: var(--ind-legaltech-a);  --ind-b: var(--ind-legaltech-b); }
.testi-card[data-industry="proptech"]   { --ind-a: var(--ind-proptech-a);   --ind-b: var(--ind-proptech-b); }

/* Toga (amarillo): sobre negro se vuelve ácido — reducir wash y borde */
.testi-card[data-industry="legaltech"] {
  background:
    radial-gradient(120% 60% at 100% 0%, color-mix(in oklab, var(--ind-b) 16%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, color-mix(in oklab, var(--ind-a) 18%, #14141c) 0%, #0d0d14 70%);
  border-color: color-mix(in oklab, var(--ind-b) 12%, rgba(255,255,255,.06));
}
/* Find My Roomie (vino degradado): reforzar el efecto direccional */
.testi-card[data-industry="proptech"] {
  background:
    radial-gradient(140% 70% at 100% 0%, color-mix(in oklab, var(--ind-b) 28%, transparent) 0%, transparent 60%),
    linear-gradient(160deg, color-mix(in oklab, var(--ind-a) 28%, #14141c) 0%, #0d0d14 75%);
}
/* Anáhuac (naranja): recolor avatar */
.testi-card[data-industry="education"] .avatar {
  background: radial-gradient(circle at 30% 30%, #4a2a10, #1a0f04);
  border-color: color-mix(in oklab, var(--ind-b) 50%, rgba(255,255,255,.2));
  color: var(--ind-b);
}
/* CentumX (azul): recolor avatar */
.testi-card[data-industry="fitness"] .avatar {
  background: radial-gradient(circle at 30% 30%, #0f1f3a, #04081a);
  border-color: color-mix(in oklab, var(--ind-b) 50%, rgba(255,255,255,.2));
  color: var(--ind-b);
}
/* Find My Roomie (vino): avatar tinte vino */
.testi-card[data-industry="proptech"] .avatar {
  background: radial-gradient(circle at 30% 30%, #2a0a18, #14040a);
  border-color: color-mix(in oklab, var(--ind-b) 50%, rgba(255,255,255,.2));
  color: var(--ind-b);
}


/* ═══════════════════════════════════════════════════════════════
   ALIANZAS / ORIGIN SECTION
   ═══════════════════════════════════════════════════════════════ */
.alianzas {
  padding: 5rem 0 5.5rem;
}

/* Alianzas · banner fotográfico "Nosotros" (Opción A) */
.alianzas-photo {
  position: relative;
  margin: 2.5rem 0 3.25rem;
  aspect-ratio: 21 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow:
    0 28px 64px -22px rgba(0, 0, 0, 0.65),
    0 0 70px -18px rgba(212, 175, 55, 0.28);
}
.alianzas-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
/* Crossfade slideshow: slides apilados, solo el activo visible */
.alianzas-photo[data-slideshow] .al-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
.alianzas-photo[data-slideshow] .al-slide.is-active { opacity: 1; }
.alianzas-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 20, 0.12) 0%, rgba(13, 13, 20, 0.58) 100%),
    radial-gradient(130% 90% at 50% 0%, transparent 45%, rgba(13, 13, 20, 0.42) 100%);
}
.alianzas-photo-fallback {
  width: 100%;
  height: 100%;
  position: relative;
  background:
    radial-gradient(60% 70% at 50% 35%, rgba(212, 175, 55, 0.16), transparent 70%),
    linear-gradient(180deg, #14141c, #0a0a10);
}
.alianzas-photo-fallback::after {
  content: "NeuroNet · Nosotros";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: rgba(212, 175, 55, 0.32);
}

.origin-story {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}
.origin-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.origin-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--gold);
  border: none;
  padding: 1.5rem 2rem;
  margin: 1.5rem 0;
  position: relative;
  line-height: 1.5;
}
.origin-quote::before {
  content: '"';
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  position: absolute;
  top: -0.5rem;
  left: 0;
  font-family: var(--font-serif);
}
.origin-mission {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Story pillars */
.story-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.story-pillar {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s;
}
.story-pillar:hover { border-color: var(--glass-border-hover); }
.story-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}
.story-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--gold);
}
.story-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.story-pillar h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.story-pillar p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.7;
}

/* Photo gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.gal {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.gal img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gal:hover img { transform: scale(1.05); }
.gal.feat {
  grid-column: span 2;
}
.gal.feat img { height: 200px; }
.gal .cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.8rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.gal .cap .tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Alianza text */
.alianza-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.alianza-text h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.alianza-text p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.route {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 1.5rem;
}
.route .arrow { color: var(--gold); margin: 0 0.3rem; }
.route .next { color: var(--gold); font-weight: 500; }


/* ═══════════════════════════════════════════════════════════════
   CIERRE / CONTACT SECTION
   ═══════════════════════════════════════════════════════════════ */
.close-head {
  text-align: center;
  margin-bottom: 3rem;
}
.close-head .eyebrow {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 0.8rem;
}
.close-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 0.8rem;
}
.close-head .sub {
  color: var(--text-secondary);
  font-size: 1rem;
}

.close-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
}
.cta-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
}
.cta-card.cta-primary {
  border-color: rgba(212, 175, 55, 0.2);
}
.cta-card .ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--gold-dim);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}
.cta-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.8rem;
}
.cta-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}
.cta-card .desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}


/* App store buttons */
.stores {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.store {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}
.store:hover { border-color: var(--glass-border-hover); }
.store .ico { flex-shrink: 0; color: var(--text-primary); }
.store .meta { display: flex; flex-direction: column; }
.store .small {
  font-size: 0.6rem;
  color: var(--text-tertiary);
}
.store .big {
  font-size: 0.85rem;
  font-weight: 600;
}

/* WhatsApp button */
.wa {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s, transform 0.2s;
  margin-bottom: 0.8rem;
}
.wa:hover {
  background: #20bd5a;
  transform: translateY(-1px);
}
.number {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-tertiary);
}


/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER (subpages)
   ═══════════════════════════════════════════════════════════════ */
.page-header {
  text-align: center;
  padding: 4rem 0 3rem;
}
.page-header .label {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  display: block;
  margin-bottom: 0.8rem;
}
.page-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-top: 0.5rem;
}
.page-header p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 0.8rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5% 4rem;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 1rem;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold); }
.footer-soon,
.footer-text {
  display: block;
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 0.3rem 0;
}
.footer-soon {
  color: var(--text-tertiary);
  cursor: default;
}
.footer-soon i {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
  margin-left: 0.4rem;
  vertical-align: middle;
  opacity: 0.7;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-tertiary);
}


/* ═══════════════════════════════════════════════════════════════
   MODAL
   ═══════════════════════════════════════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal {
  background: var(--bg-surface);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
}
.modal .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s;
}
.modal .close:hover { color: var(--text-primary); }
.modal h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}
.modal p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.ok-btn {
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.6rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  border: none;
  margin-bottom: 1rem;
  transition: background 0.3s;
}
.ok-btn:hover { background: var(--gold-hover); }
.modal .ack {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
}
.neura-orb {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.neura-orb img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}
.check {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}


/* ═══════════════════════════════════════════════════════════════
   QUICK BUILD CHIPS
   ═══════════════════════════════════════════════════════════════ */
.quick-build {
  margin: 1.5rem 0;
}
.quick-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.6rem;
}
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.quick-chips span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-orb { max-width: 400px; margin: 0 auto; }
  .product-grid,
  .products-list { grid-template-columns: 1fr; }
  .product-card.primary { grid-column: auto; }
  .industry-grid,
  .explorer-grid { grid-template-columns: repeat(2, 1fr); }
  .close-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .gal.feat { grid-column: span 2; }
  .pol-grid { grid-template-columns: 1fr; }
  .pol-vs {
    text-align: center;
    padding: 1rem 0;
  }
  .story-pillars { grid-template-columns: 1fr; }
  .member-pillars { grid-template-columns: 1fr; }
  .industry-detail { grid-template-columns: 1fr; }
  .alianzas-photo { aspect-ratio: 16 / 10; margin: 2rem 0 2.5rem; }
  .alianzas-photo-fallback::after { font-size: 1.25rem; }
}

/* Nav colapsa a hamburguesa en móvil Y tablet (≤1180px); los controles
   (EN/ES + tema) viven DENTRO del menú en este rango.
   Arriba de 1180px la barra completa (con "NeuroNet Visionary Technologies")
   cabe en una sola línea sin hacer wrap. */
@media (max-width: 1180px) {
  .nav {
    padding: 0.8rem 5%;
  }
  .hamburger { display: flex; }

  /* When the mobile menu is open, remove backdrop-filter from .nav so that
     position:fixed on .nav-links references the viewport (backdrop-filter
     creates a containing block for fixed descendants). Also reset the
     scrolled pill shape so the overlay isn't clipped by border-radius. */
  .nav.nav-expanded {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    width: 100%;
    max-width: 100%;
    margin: 0;
    top: 0;
    border-radius: 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease-out), visibility 0.35s var(--ease-out);
    z-index: 999;
    align-items: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }
  .nav-links a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
  /* Lock body scroll when menu is open */
  body.nav-open {
    overflow: hidden;
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 1rem;
  }
  /* Los controles de la barra se ocultan; los del menú aparecen.
     Doble clase para ganar especificidad sobre la base .nav-controls{display:flex}. */
  .nav-controls.nav-controls--bar { display: none; }
  .nav-controls.nav-controls--menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: .6rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--glass-border);
  }
  .nav-controls--menu .theme-toggle { width: 40px; height: 40px; }
  .nav-controls--menu .lang-switch button { padding: .5rem .85rem; font-size: .72rem; }
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }
  .hero h1 { font-size: 2.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .marquee-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .industry-grid,
  .explorer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gal.feat { grid-column: span 2; }
  .close-head h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr; }
  .gal.feat { grid-column: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   RESTORED COSMIC GLOBE & MASCOT STYLES
   ═══════════════════════════════════════════════════════════════ */
.industrias {
  --c-gold: #D4AF37;
  --c-gold-light: #F3D67A;
  --c-gold-soft: #E5C76B;
  --ink-1: rgba(255, 255, 255, 0.96);
  --ink-2: rgba(255, 255, 255, 0.74);
  --ink-3: rgba(255, 255, 255, 0.52);
  --ink-4: rgba(255, 255, 255, 0.34);
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-2: rgba(255, 255, 255, 0.07);
  --glass-bd: rgba(255, 255, 255, 0.10);
  --glass-bd-2: rgba(255, 255, 255, 0.18);
  --serif: var(--font-serif);
  --sans: var(--font-sans);
}

.ind-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 90px;
}
.ind-text h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 64px);
  line-height: 1.05;
  letter-spacing: -.014em;
  margin: 14px 0 22px;
}
.ind-text h2 em {
  font-style: italic;
}
.ind-text h2 .gold {
  background: linear-gradient(180deg, #F3D67A, #D4AF37 55%, #8A6A1A);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ind-text > p {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
  max-width: 560px;
}
.quick-build {
  margin: 30px 0 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quick-label {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.quick-chips span {
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-bd);
  color: var(--ink-2);
  transition: all .25s ease;
}
.quick-chips span:hover {
  background: var(--glass-bg-2);
  border-color: rgba(212, 175, 55, 0.4);
  color: var(--c-gold-light);
}

.ind-globe {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}
.globe-cluster {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  width: 100%;
}
.cluster-connectors {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
}
.cluster-connectors .connector {
  stroke: rgba(212, 175, 55, 0.6);
  stroke-width: 0.9;
  fill: none;
  stroke-linecap: round;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.35));
}
.globe-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-style: normal;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, .7);
  white-space: nowrap;
}
.globe-eyebrow .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00C853;
  box-shadow: 0 0 0 0 rgba(0, 200, 83, .55);
  animation: liveDotPulse 1.6s ease-in-out infinite;
  flex: none;
}
@keyframes liveDotPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 83, .55);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 200, 83, 0);
    transform: scale(1.15);
  }
}
.globe-stage {
  position: relative;
  flex: 1 1 0;
  max-width: 380px;
  min-width: 0;
  aspect-ratio: 1;
}
#cosmic-globe {
  width: 100%;
  height: 100%;
  overflow: visible;
  display: block;
}
#cosmic-globe .city-node {
  fill: #D4AF37;
  filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.55));
}
#cosmic-globe .city-node.pulse {
  animation: cityPulse 2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes cityPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .3;
  }
}
#cosmic-globe .city-halo {
  fill: url(#nodeGlow);
  animation: haloPulse 2s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes haloPulse {
  0%, 100% {
    opacity: .9;
    transform: scale(.85);
  }
  50% {
    opacity: .25;
    transform: scale(1.6);
  }
}
#cosmic-globe .city-node.occluded {
  opacity: .4;
  filter: none;
}
#cosmic-globe .city-halo.occluded {
  opacity: 0;
}
#cosmic-globe .anchor-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  fill: #D4AF37;
  letter-spacing: .01em;
}
#cosmic-globe .anchor-leader {
  stroke: rgba(212, 175, 55, .5);
  stroke-width: 0.6;
  fill: none;
}
#cosmic-globe .anchor-label.occluded,
#cosmic-globe .anchor-leader.occluded {
  opacity: .45;
}
#cosmic-globe .net-arc {
  stroke: rgba(212, 175, 55, .7);
  stroke-width: 0.9;
  fill: none;
  stroke-linecap: round;
}
.globe-stats {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .02em;
  margin: 0;
  text-align: center;
  width: 100%;
}
.globe-stats .counter {
  color: rgba(212, 175, 55, .85);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
}
.globe-stats .counter.bump {
  animation: counterBump .4s ease;
}
@keyframes counterBump {
  0% {
    transform: translateY(0);
    opacity: .6;
  }
  40% {
    transform: translateY(-3px);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* LIVE APPS PANEL */
.live-apps {
  flex: 0 0 244px;
  position: relative;
  height: 380px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.apps-eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, .55);
  white-space: nowrap;
}
.notifs {
  position: relative;
  flex: 1;
  min-height: 0;
}
.notif {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  /* posición por slot vía transform (composición GPU) — animar `top` forzaba
     reflow + re-raster del blur(24px) en cada rotación del feed */
  transform: translateY(calc(var(--slot, 0) * 108px + var(--nudge, 0px)));
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .05);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(212, 175, 55, .32);
  box-shadow: 0 10px 30px -14px rgba(212, 175, 55, .20), 0 0 0 1px rgba(212, 175, 55, .04) inset;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 11px;
  opacity: 1;
  transition: opacity .5s ease, transform .55s cubic-bezier(.2, .7, .2, 1);
}
.notif .ndot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00C853;
  box-shadow: 0 0 0 0 rgba(0, 200, 83, .55);
  animation: liveDotPulse 1.6s ease-in-out infinite;
  flex: none;
}
.notif .nmeta {
  min-width: 0;
}
.notif .ntitle {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .95);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif .ntitle .ncountry {
  font-weight: 400;
  color: rgba(212, 175, 55, .78);
  font-size: 12.5px;
}
.notif .ntime {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  color: rgba(255, 255, 255, .5);
  margin-top: 3px;
  letter-spacing: .01em;
}
.notif .ncheck {
  color: rgba(212, 175, 55, .9);
  font-size: 14px;
  line-height: 1;
  flex: none;
}
.notif.enter {
  opacity: 0;
  --nudge: -22px;
}
.notif.out {
  opacity: 0;
  --nudge: 22px;
}

.ind-pick {
  text-align: center;
  margin-bottom: 40px;
}
.ind-pick h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  margin-top: 6px;
}
.ind-pick p {
  color: var(--ink-3);
  font-size: 14px;
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .globe-cluster {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .live-apps {
    flex: 0 0 auto;
    width: 100%;
    max-width: 380px;
    height: 380px;
  }
}
@media (max-width: 980px) {
  .ind-hero {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .ind-globe {
    max-width: 560px;
    margin: 0 auto;
    align-items: center;
  }
  .globe-stage {
    max-width: 360px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION — respeta usuarios con sensibilidad al movimiento
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Industrias como HERO de soluciones.html: aire bajo el nav */
body.page-soluciones section.industrias { padding-top: 140px; }
@media (max-width: 1024px) { body.page-soluciones section.industrias { padding-top: 110px; } }
@media (max-width: 720px)  { body.page-soluciones section.industrias { padding-top: 90px; } }

/* Época como HERO de clientes.html: aire bajo el nav */
body.page-clientes section.epoca { padding-top: 140px; }
@media (max-width: 1024px) { body.page-clientes section.epoca { padding-top: 110px; } }
@media (max-width: 720px)  { body.page-clientes section.epoca { padding-top: 90px; } }

/* Nosotros como HERO de nosotros.html: aire bajo el nav */
body.page-nosotros section.alianzas { padding-top: 140px; }
@media (max-width: 1024px) { body.page-nosotros section.alianzas { padding-top: 110px; } }
@media (max-width: 720px)  { body.page-nosotros section.alianzas { padding-top: 90px; } }

/* CTA "Conoce nuestra historia" bajo las 3 cards de #alianzas en la home */
.alianzas-cta { text-align: center; margin-top: 3.5rem; }


/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME · overrides para superficies hardcodeadas
   (lo que usa var(--token) ya se adapta solo arriba)
   ═══════════════════════════════════════════════════════════════ */

/* Navbar píldora flotante en claro */
:root[data-theme="light"] .nav.scrolled {
  border-color: rgba(0, 0, 0, 0.10);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px -12px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
:root[data-theme="light"] .nav { border-bottom-color: var(--glass-border); }

/* Modo claro · barra SIN scroll: el fondo del nav sigue siendo oscuro,
   así que el texto/íconos van en blanco para que se lean. Al pasar a la
   píldora (.scrolled, fondo claro) recuperan el color oscuro por defecto. */
:root[data-theme="light"] .nav:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, .82); }
:root[data-theme="light"] .nav:not(.scrolled) .nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
:root[data-theme="light"] .nav:not(.scrolled) .brand-name { color: #fff; }
:root[data-theme="light"] .nav:not(.scrolled) .brand-tag { color: #d4af37; }
:root[data-theme="light"] .nav:not(.scrolled) .hamburger span { background: #fff; }
/* Controles (barra) en el tope oscuro */
:root[data-theme="light"] .nav:not(.scrolled) .theme-toggle,
:root[data-theme="light"] .nav:not(.scrolled) .lang-switch {
  color: #fff;
  border-color: rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .08);
}
:root[data-theme="light"] .nav:not(.scrolled) .theme-toggle .icon-sun { color: #f0d98a; }
:root[data-theme="light"] .nav:not(.scrolled) .lang-switch button:not(.active) { color: rgba(255, 255, 255, .72); }

/* EXCEPCIÓN · modo claro + drawer hamburguesa (≤1180px): el menú desplegable
   tiene fondo CLARO, así que sus letras/controles van oscuros SIEMPRE (incluso
   en el tope sin scroll). La regla blanca de arriba sólo debe afectar la barra
   superior (marca + hamburger sobre la banda oscura), no el contenido del drawer.
   #navLinks gana especificidad sobre la regla blanca de .nav-links a. */
@media (max-width: 1180px) {
  :root[data-theme="light"] #navLinks a { color: var(--text-secondary); }
  :root[data-theme="light"] #navLinks a:hover { color: var(--text-primary); background: rgba(0, 0, 0, .04); }
  /* #navLinks (id) gana especificidad sobre la regla blanca .nav:not(.scrolled) */
  :root[data-theme="light"] #navLinks .theme-toggle,
  :root[data-theme="light"] #navLinks .lang-switch {
    color: var(--text-primary);
    border-color: var(--glass-border);
    background: var(--glass-bg);
  }
  :root[data-theme="light"] #navLinks .theme-toggle .icon-sun { color: var(--gold); }
  :root[data-theme="light"] #navLinks .lang-switch button:not(.active) { color: var(--text-tertiary); }
}

/* Botones */
:root[data-theme="light"] .btn-gold { color: #1a1a20; }
:root[data-theme="light"] .btn-glass {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}
:root[data-theme="light"] .btn-glass:hover { background: rgba(0, 0, 0, 0.07); }

/* Chips / badges translúcidos blancos → casi invisibles en claro */
:root[data-theme="light"] .hero-badge {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.10);
}
:root[data-theme="light"] .logo-icon.liquid-glass {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.10);
}

/* App store buttons / superficies oscuras hardcodeadas */
:root[data-theme="light"] .store {
  background-color: #f3f3f6;
  color: #1a1a20;
  border-color: rgba(0, 0, 0, 0.08);
}

/* ─── Controles del nav: toggle de tema + switch de idioma ─── */
.nav-controls { display: flex; align-items: center; gap: .55rem; }
/* La copia que vive DENTRO del menú hamburguesa: oculta en desktop */
.nav-controls--menu { display: none; }

.theme-toggle {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, background .3s, transform .35s var(--ease-spring);
}
.theme-toggle:hover { border-color: var(--glass-border-hover); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: block; color: var(--gold); }
:root[data-theme="light"] .theme-toggle .icon-moon { display: none; }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--glass-border);
  border-radius: 999px; overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-mono);
}
.lang-switch button {
  padding: .38rem .62rem; font-size: .68rem; font-weight: 500;
  letter-spacing: .05em; color: var(--text-tertiary);
  background: transparent; line-height: 1;
  transition: color .3s, background .3s;
}
.lang-switch button.active { color: var(--on-gold); background: var(--gold); }
.lang-switch button:not(.active):hover { color: var(--text-primary); }

@media (prefers-reduced-motion: reduce) {
  .theme-toggle { transition: border-color .3s, background .3s; }
  .theme-toggle:hover { transform: none; }
}
/* (El show/hide de .nav-controls--bar / --menu vive en el bloque @media ≤1024px
   junto al colapso del nav a hamburguesa.) */

/* ─── LIGHT THEME · textos claros hardcodeados en secciones que se vuelven blancas ─── */
:root[data-theme="light"] .method-card h3 { color: var(--text-primary); }
:root[data-theme="light"] .method-card p { color: var(--text-secondary); }
:root[data-theme="light"] .method-meta { color: var(--text-tertiary); }
:root[data-theme="light"] .method-banner { border-top-color: var(--hairline); border-bottom-color: var(--hairline); }
:root[data-theme="light"] .method-banner .text { color: var(--text-secondary); }
:root[data-theme="light"] .method-banner .text b { color: var(--text-primary); }

/* Especialista: card de fondo oscuro intencional (como .vert / .testi) →
   conserva su texto claro original; no se sobreescribe. */

/* Clientes · ledger */
:root[data-theme="light"] .clients-ledger { border-top-color: var(--hairline); }
:root[data-theme="light"] .client-row { color: var(--text-primary); border-bottom-color: rgba(0,0,0,.08); }
:root[data-theme="light"] .client-row .row-name { color: #16161c; }
:root[data-theme="light"] .client-row .row-sector { color: rgba(20,20,28,.62); }
:root[data-theme="light"] .client-row .row-meta { color: rgba(20,20,28,.42); }
:root[data-theme="light"] .client-row .row-arrow { color: rgba(20,20,28,.42); }
:root[data-theme="light"] .clients-ledger-caption { color: var(--gold); }
:root[data-theme="light"] .client-row .row-logo-fallback { color: rgba(20,20,28,.5); }
:root[data-theme="light"] .client-row:hover .row-logo-fallback { color: rgba(20,20,28,.82); }
/* Logos monocromáticos blancos → silueta oscura sobre blanco */
:root[data-theme="light"] .client-row .row-logo img { filter: grayscale(1) brightness(0) opacity(.55); }
:root[data-theme="light"] .client-row:hover .row-logo img { filter: grayscale(1) brightness(0) opacity(.9); }



/* ═══════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION (≤768px) — auditoría móvil completa
   Overflow, tap targets ≥44px, fuentes legibles, ritmo vertical,
   contraste y performance. Bloque al final = máxima prioridad.
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Overflow horizontal: el marquee en columna (align-items:flex-start)
     tomaba el ancho de su contenido nowrap. Forzar ancho de contenedor + clip. ── */
  .marquee-track { width: 100%; min-width: 0; }

  /* ── Tap targets ≥44px (Apple HIG / WCAG 2.5.5) ── */
  .btn { min-height: 48px; }
  .nav-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .vert-cta,
  .esp-cta,
  .epoca-cta,
  .pcta,
  .apps-cta,
  .alianzas-cta .btn,
  .member-cta .btn { min-height: 44px; display: inline-flex; align-items: center; }
  .lang-switch button { min-height: 44px; }
  .nav-controls--menu .theme-toggle { width: 44px; height: 44px; }
  /* Hamburger: área táctil 44×44 sin agrandar el ícono (padding border-box) */
  .hamburger {
    width: 44px; height: 44px;
    padding: 14px 8px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }
  /* Links del footer + logo + botones del modal → área táctil cómoda */
  .footer-col a,
  .footer-col .footer-soon,
  .footer-col .footer-text { min-height: 44px; display: flex; align-items: center; }
  .brand { min-height: 44px; }
  .modal .close { width: 44px; height: 44px; }
  .modal .ok-btn { min-height: 44px; }

  /* ── Fuentes: piso de legibilidad (sin micro-texto <11px) ── */
  .eyebrow { font-size: 0.72rem; }
  .apps-eyebrow,
  .globe-eyebrow { font-size: 0.72rem; }
  .marquee-label { font-size: 0.72rem; }
  .clients-ledger-caption { font-size: 11px; }
  .modal .ack { font-size: 11px; }
  .gal .cap .tag,
  .cta-card .ribbon,
  .store .small { font-size: 0.7rem; }
  .footer-soon i { font-size: 0.68rem; }
  /* Cuerpo de texto más cómodo de leer */
  .vert .anchor,
  .story-pillar p,
  .pillar p,
  .method-card p,
  .member-quote q { font-size: 15px; }

  /* ── Contraste de encabezados (eran casi invisibles en oscuro) ── */
  .pol-col h3 { color: var(--text-primary); opacity: 1; }

  /* ── Ritmo vertical: compactar huecos heredados de escritorio ── */
  .vert-grid { margin-top: 32px; }
  .method-banner { margin-top: 48px; padding: 28px 22px; }
  .especialista-card { margin-top: 48px; }
  .epoca-pull { margin-top: 40px; }
  .member-quote { margin-top: 2rem; }

  /* ── Nav: la marca cabe en una línea en la píldora ── */
  .brand-tag { display: none; }
  .brand-name { font-size: 0.92rem; line-height: 1.15; }
  .brand-mark img { width: 30px; height: 30px; }
}

/* iPhone SE / pantallas muy estrechas */
@media (max-width: 380px) {
  .hero h1 { font-size: 2.15rem; }
  .brand-name { font-size: 0.86rem; }
}


/* ═══════════════════════════════════════════════════════════════
   LIGHT THEME · textos claros que se perdían sobre el fondo blanco
   (heros que NO son tarjetas oscuras intencionales)
   ═══════════════════════════════════════════════════════════════ */

/* clientes · hero "época" (statement AaaS + 3 bloques) */
:root[data-theme="light"] .epoca-statement p,
:root[data-theme="light"] .epoca-statement .st-em,
:root[data-theme="light"] .epoca-block h3 { color: #16161c; }
:root[data-theme="light"] .epoca-statement .st-muted { color: rgba(22, 22, 28, 0.5); }
:root[data-theme="light"] .epoca-block p { color: #45454f; }

/* soluciones · hero del globo (.industrias): voltear la paleta de tinta blanca a oscura */
:root[data-theme="light"] .industrias {
  --ink-1: rgba(20, 20, 28, 0.96);
  --ink-2: rgba(20, 20, 28, 0.72);
  --ink-3: rgba(20, 20, 28, 0.55);
  --ink-4: rgba(20, 20, 28, 0.40);
}
/* tarjetas del "live app stream" (eran 5% blanco con texto blanco → invisibles) */
:root[data-theme="light"] .notif {
  background: rgba(0, 0, 0, 0.045);
  border-color: rgba(212, 175, 55, 0.40);
}
:root[data-theme="light"] .industrias .ntitle,
:root[data-theme="light"] .industrias .nname { color: #16161c; }
:root[data-theme="light"] .industrias .ntime { color: rgba(22, 22, 28, 0.55); }
/* línea de stats bajo el globo */
:root[data-theme="light"] .globe-stats { color: rgba(22, 22, 28, 0.58); }
