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

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Poppins:wght@200;300;400;500;600;700&family=JetBrains+Mono:wght@300;400;500&display=swap');

/* ─── 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: '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%);
}


/* ═══════════════════════════════════════════════════════════════
   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;
}

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, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.018) 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: 0.025;
  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;
}


/* ═══════════════════════════════════════════════════════════════
   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;
}
/* 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);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--bg-dark);
}


/* ═══════════════════════════════════════════════════════════════
   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 */
.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  /* MÁSCARA PARA EL CORTE INFERIOR: El video se desvanece a transparente en el último 25% */
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 75%, transparent 100%);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1;
}

.hero-blur-overlay {
  width: 984px;
  height: 527px;
  background: #030712;
  filter: blur(82px);
  opacity: 0.9;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
}

/* 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;
  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;
}
.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 item (soluciones page) */
.industry-item h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  color: var(--text-primary);
}
.industry-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.industry-item .card-glow {
  background: radial-gradient(circle 150px at var(--mouse-x, -200px) var(--mouse-y, -200px), var(--violet-glow), transparent 80%);
}


/* ═══════════════════════════════════════════════════════════════
   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;
}


/* ═══════════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════════ */
.lead, .demo-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.field label,
.form-group label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.field input,
.field textarea,
.field select,
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--text-tertiary);
}
.honeypot { position: absolute; left: -9999px; }

.submit {
  background: var(--gold);
  color: var(--bg-dark);
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: none;
  transition: background 0.3s, transform 0.2s;
}
.submit:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

/* Demo form (standalone page) */
.demo-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: var(--radius-lg);
}

/* 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; }
}

@media (max-width: 768px) {
  .nav {
    padding: 0.8rem 5%;
  }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 999;
    align-items: stretch;
  }
  .nav-links.open {
    transform: translateX(0);
  }
  .nav-links a {
    padding: 0.8rem 1rem;
    font-size: 1rem;
  }
  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: 1rem;
  }

  .hero {
    padding: 2rem 0;
  }
  .hero h1 { font-size: 2.5rem; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-blur-overlay {
    width: 280px;
    height: 280px;
    filter: blur(50px);
  }
  .marquee-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .industry-grid,
  .explorer-grid { grid-template-columns: 1fr; }
  .field-row { 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: calc(var(--slot, 0) * 108px);
  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: top .55s cubic-bezier(.2, .7, .2, 1), 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;
  transform: translateY(-22px);
}
.notif.out {
  opacity: 0;
  transform: translateY(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;
}

/* NEURA MASCOT */
.ind-neura {
  position: relative;
  margin-top: 56px;
  width: 140px;
  height: 210px;
  animation: neuraBob 4s ease-in-out infinite;
  cursor: default;
}
@keyframes neuraBob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
.neura-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 6px rgba(0, 217, 255, 0));
  transition: filter .6s ease;
  transform-origin: 50% 24%;
}
.ind-neura:hover .neura-img {
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, .55)) drop-shadow(0 0 14px rgba(0, 217, 255, .5));
}
.ind-neura.nodding .neura-img {
  animation: neuraNod .55s cubic-bezier(.4, 0, .4, 1);
}
@keyframes neuraNod {
  0% {
    transform: rotate(0deg);
  }
  45% {
    transform: rotate(4deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.neura-fx {
  position: absolute;
  left: -54px;
  top: -86px;
  width: 150px;
  height: 156px;
  pointer-events: none;
  z-index: 3;
}
.neura-threads {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.neura-threads path {
  stroke-dasharray: 70 90;
  animation: threadFlow 2.6s linear infinite;
}
.neura-threads path:nth-child(1) {
  animation-delay: .0s;
}
.neura-threads path:nth-child(2) {
  animation-delay: .35s;
}
.neura-threads path:nth-child(3) {
  animation-delay: .7s;
}
.neura-threads path:nth-child(4) {
  animation-delay: 1.05s;
}
.neura-threads path:nth-child(5) {
  animation-delay: 1.4s;
}
.neura-threads path:nth-child(6) {
  animation-delay: 1.75s;
}
@keyframes threadFlow {
  0% {
    stroke-dashoffset: 0;
    opacity: .0;
  }
  20% {
    opacity: .75;
  }
  100% {
    stroke-dashoffset: -160;
    opacity: .0;
  }
}

.neura-icons {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.neura-icon {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  opacity: 0;
  transform: translateY(8px) scale(.9);
  transition: opacity .6s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
  filter: drop-shadow(0 0 5px rgba(212, 175, 55, .4));
}
.neura-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.neura-icon.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: iconFloat 3.6s ease-in-out infinite;
}
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-6px) scale(1.04);
  }
}

.neura-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}
.neura-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .7);
  box-shadow: 0 0 4px rgba(212, 175, 55, .6);
  opacity: 0;
  animation: particleRise 2.5s ease-out forwards;
}
@keyframes particleRise {
  0% {
    transform: translate(0, 0) scale(.6);
    opacity: 0;
  }
  18% {
    opacity: .55;
  }
  100% {
    transform: translate(var(--drift, 0px), -130px) scale(1);
    opacity: 0;
  }
}

.neura-tooltip {
  position: absolute;
  left: 50%;
  top: -34px;
  transform: translate(-50%, 8px);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 14px;
  color: rgba(212, 175, 55, .95);
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(212, 175, 55, .4);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease, transform .28s ease;
  z-index: 8;
  letter-spacing: .01em;
}
.ind-neura:hover .neura-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

@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;
  }
  .ind-neura {
    margin: 30px auto 0;
    width: 110px;
    height: 165px;
  }
  .neura-fx {
    left: -44px;
    top: -70px;
    width: 120px;
    height: 130px;
  }
}

/* ═══════════════════════════════════════════════════════════════
   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; }

