/* ============================================================
   NeuroNet · Landing (Figma: "NeuroNet · Hero corregido (PyME)")
   Mobile-first · tokens exactos del archivo de diseño
   ============================================================ */

/* ---------- Fuentes (auto-hospedadas, variables) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-var.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-var-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('../fonts/jetbrains-mono-var.woff2') format('woff2');
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0b0712;
  --bg-deep: #0b0710;
  --card: #17131f;
  --card-2: #1c1730;
  --card-globe: #14101c;
  --border: #2a2140;
  --border-soft: #3a3150;

  --text: #f4f1f8;
  --text-2: #e8e4f0;
  --text-3: #c8c1d6;
  --text-nav: #b7aec6;
  --muted: #9d95b0;
  --muted-2: #9990aa;
  --muted-3: #8f86a4;
  --muted-4: #7d7592;
  --faint: #6f6880;

  --gold: #c9a961;
  --gold-btn: #cbab52;
  --gold-ink: #1a1305;

  --blue: #6a8cff;
  --teal: #3fa7b8;
  --purple: #9b6ad6;
  --green: #4ade80;
  --mint: #3fb88a;
  --pink: #e8789e;
  --red: #cc6166;

  --serif: 'Playfair Display', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, dl, dd, figure, hr { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* hidden debe ganar aunque la clase del elemento fije display */
[hidden] { display: none !important; }

/* ---------- Fondo ambiental · puntitos ----------
   Campo de estrellas del sitio v2, adaptado a la paleta actual.
   Va en body::before (fijo, z-index:-1): las secciones dejan su capa
   base transparente para que se vea a través de sus degradados. */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(3px 3px at 20% 30%, rgba(201, 169, 97, 0.7) 40%, transparent 100%),
    radial-gradient(2.5px 2.5px at 70% 70%, rgba(255, 255, 255, 0.5) 40%, transparent 100%),
    radial-gradient(2.5px 2.5px at 40% 80%, rgba(201, 169, 97, 0.5) 40%, transparent 100%),
    radial-gradient(2.5px 2.5px at 85% 25%, rgba(255, 255, 255, 0.4) 40%, transparent 100%),
    radial-gradient(2.5px 2.5px at 55% 45%, rgba(201, 169, 97, 0.4) 40%, transparent 100%),
    radial-gradient(2px 2px at 10% 60%, rgba(255, 255, 255, 0.45) 40%, transparent 100%);
  background-size: 1200px 1200px, 900px 900px, 1100px 1100px, 1000px 1000px, 800px 800px, 700px 700px;
  animation: ambient-drift 60s linear infinite;
  opacity: 0.85;
}
@keyframes ambient-drift {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(-2%, -1.5%, 0); }
  100% { transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

#equipo, #oficinas { scroll-margin-top: 32px; }

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 22px;
}
@media (min-width: 1024px) {
  .container { padding-inline: 40px; }
}
@media (min-width: 1360px) {
  .container { padding-inline: 0; }
}

section { position: relative; overflow: hidden; }

/* ---------- Utilidades tipográficas ---------- */
.kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 1.3px;
  color: var(--gold);
  text-transform: uppercase;
}
.kicker--sm { font-size: 12px; letter-spacing: 1.2px; }
.kicker--xs { font-size: 11px; letter-spacing: 0.88px; }
@media (min-width: 1024px) {
  .kicker { font-size: 13px; }
  .kicker--sm { font-size: 12px; }
  .kicker--xs { font-size: 11px; }
}

.h2 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--text);
}
.h2 em {
  font-style: italic;
  color: var(--gold);
}
.gold { color: var(--gold); }

.section-sub { color: var(--muted); font-size: 14px; line-height: 1.55; }

.rule { border: 0; height: 1px; background: var(--border); width: 100%; }

.dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex-shrink: 0;
}
.dot--green { background: var(--green); }
.dot--gold { background: var(--gold); width: 6px; height: 6px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  padding: 13px 18px;
  font-size: 14px; font-weight: 500;
  white-space: nowrap;
  transition: filter .18s ease, transform .18s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn--gold { background: var(--gold-btn); color: var(--gold-ink); }
.btn--gold-solid {
  background: var(--gold); color: var(--gold-ink);
  border-radius: 10px; padding: 14px 22px;
  font-size: 14.5px; font-weight: 600;
}
.btn--ghost {
  border: 1px solid var(--border-soft); color: var(--text-3);
}
.btn--lg { padding: 16px 28px; font-size: 16px; }

/* ---------- Callouts (barra dorada) ---------- */
.callout {
  display: flex; align-items: center; gap: 16px;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 14px;
  padding: 18px 24px;
  width: 100%;
}
.callout--soft { background: rgba(201, 169, 97, 0.07); padding: 22px 24px; }
.callout--big {
  background: rgba(201, 169, 97, 0.1);
  border-width: 1.5px; border-color: rgba(201, 169, 97, 0.4);
  border-radius: 16px; padding: 24px 28px; gap: 20px;
}
.callout__bar {
  width: 4px; height: 36px; border-radius: 2px;
  background: var(--gold); flex-shrink: 0;
}
.callout--soft .callout__bar { height: 40px; }
.callout__bar--tall { height: 46px; }
.callout__txt { color: var(--text-3); font-size: 15.5px; line-height: 22px; font-weight: 500; }
.callout__txt--strong { color: var(--text); font-size: 16px; line-height: 23px; font-weight: 600; }
.callout__txt--med { color: var(--text-3); font-size: 16px; line-height: 23px; font-weight: 500; }
.callout__txt--big { color: var(--text); font-size: 17px; line-height: 26px; font-weight: 600; }
@media (min-width: 1024px) {
  .callout__txt--med { font-size: 18px; }
  .callout__txt--big { font-size: 18px; }
}

/* ---------- Banda CTA (texto + botón) ---------- */
.cta-band {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  background: rgba(201, 169, 97, 0.1);
  border: 1.5px solid rgba(201, 169, 97, 0.4);
  border-radius: 14px;
  padding: 22px 26px;
  width: 100%;
}
.cta-band__txt { color: var(--text); font-size: 16px; line-height: 25px; font-weight: 600; flex: 1; }
@media (min-width: 1024px) {
  .cta-band { flex-direction: row; align-items: center; gap: 20px; }
  .cta-band__txt { font-size: 17px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(410px 360px at calc(50% + 290px) 300px, rgba(90, 42, 134, 0.24), transparent 100%),
    radial-gradient(850px 525px at calc(50% - 120px) 120px, rgba(58, 33, 112, 0.32), transparent 100%);
}
.hero__inner { position: relative; }

/* --- Nav: píldora glass fija, siempre visible --- */
.nav {
  position: fixed;
  top: 12px; left: 50%;
  z-index: 70; /* por encima del overlay del menú móvil, para poder cerrarlo */
  display: flex; align-items: center; justify-content: space-between;
  width: min(1160px, calc(100vw - 24px));
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(17, 12, 26, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(244, 241, 248, 0.1);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  transform: translateX(-50%);
  animation: nav-drop .4s ease;
}
@keyframes nav-drop {
  from { transform: translate(-50%, -130%); }
  to   { transform: translate(-50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .nav { animation: none; }
}
.nav__brand { display: flex; align-items: center; gap: 8px; }
.nav__brand-txt { display: flex; flex-direction: column; gap: 4px; }
.nav__brand-name { display: none; font-size: 15px; font-weight: 600; color: var(--text); }
.nav__brand-short { font-size: 13px; line-height: 1.25; font-weight: 600; color: var(--text); }
@media (min-width: 700px) {
  .nav__brand-name { display: inline; }
  .nav__brand-short { display: none; }
}
.nav__brand-tag {
  display: none;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.87px;
  color: var(--gold);
}
.nav__logo { flex-shrink: 0; }
.nav__links { display: none; }
.nav__burger {
  display: flex; flex-direction: column; gap: 4px; align-items: flex-end;
  padding: 8px 0 8px 8px;
}
.nav__burger span {
  display: block; height: 2px; border-radius: 1px; background: var(--text-3);
  width: 22px; transition: transform .2s ease, opacity .2s ease;
}
.nav__burger span:nth-child(2) { width: 18px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 22px; }

@media (min-width: 1024px) {
  .nav { padding: 9px 10px 9px 20px; }
  .nav__burger { display: none; }
  .nav__links { display: flex; align-items: center; gap: 26px; }
  .nav__links a { font-size: 13px; color: var(--text-nav); transition: color .15s ease; }
  .nav__links a:hover { color: var(--text); }
  .nav__cta {
    background: #f4f2f7; color: #14101c !important;
    font-weight: 500; border-radius: 999px; padding: 10px 16px;
  }
  .nav__cta:hover { filter: brightness(1.05); }
}

/* Hueco bajo el nav fijo en las cabeceras que lo contienen */
.hero__inner { padding-top: 72px; }
.bhero { padding-top: 72px; }
@media (min-width: 1024px) {
  .hero__inner { padding-top: 88px; }
  .bhero { padding-top: 88px; }
}

/* --- Menú móvil --- */
.menu-movil {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(11, 7, 18, 0.98);
  display: flex; align-items: center; justify-content: center;
}
.menu-movil[hidden] { display: none; }
.menu-movil nav { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.menu-movil a { font-size: 22px; color: var(--text-3); font-family: var(--serif); }
.menu-movil .btn { font-family: var(--sans); font-size: 15px; }

/* --- Hero contenido ---
   Móvil (M · Hero de Figma): badge → título → mascota → lead → body → CTAs.
   display:contents en el contenedor permite ordenar la mascota entre medio. */
.hero__grid {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
  padding-top: 20px;
}
.hero__content { display: contents; }
.hero__badge { order: 1; }
.hero__title { order: 2; }
.hero__visual { order: 3; align-self: center; }
.hero__lead { order: 4; }
.hero__body { order: 5; }
.hero__mono { display: none; }
.hero__actions { order: 7; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--card);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 7px 14px 7px 12px;
  font-size: 12px; font-weight: 500; color: var(--text-3);
}
.hero__badge-short { display: inline; }
.hero__badge-long { display: none; }
.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 34px; line-height: 40px;
  color: var(--text);
}
.hero__title em { font-style: italic; color: var(--gold); }
.hero__lead { font-size: 18px; line-height: 25px; font-weight: 600; color: var(--text-2); }
.hero__body { font-size: 14px; line-height: 21px; color: var(--muted); }
.hero__mono {
  font-family: var(--mono); font-size: 11px; color: var(--muted-3);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }
.hero__actions .btn--gold { width: 100%; font-weight: 600; border-radius: 11px; }
.hero__actions .btn--ghost { flex: 1; background: var(--card); border-color: var(--border); color: var(--text); font-weight: 600; border-radius: 11px; }

/* --- Hero visual --- */
.hero__visual {
  position: relative;
  width: 230px; height: 230px;
}
.hero__ring, .hero__dot, .hero__caption { display: none; }
.hero__mascot { width: 230px; height: 230px; object-fit: cover; }

/* --- Respaldo --- */
.hero__backing {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px;
  padding: 28px 0 40px;
}
.hero__backing-label {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.72px;
  color: var(--muted-4);
}
.hero__backer {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--muted-2);
}
.hero__backer-mark {
  display: none;
  align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-size: 9px; color: var(--gold);
}

@media (min-width: 1024px) {
  .hero { min-height: 760px; }
  .hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 601px) 1fr;
    align-items: start;
    gap: 0;
    padding-top: 0;
  }
  .hero__content {
    display: flex; flex-direction: column; align-items: flex-start;
    padding-top: 70px;
  }
  .hero__badge {
    order: 0;
    background: transparent;
    border-color: var(--border-soft);
    padding: 6px 15px 6px 13px;
    font-size: 11px; font-weight: 400; color: var(--text-nav);
    margin-bottom: 15px;
  }
  .hero__badge-short { display: none; }
  .hero__badge-long { display: inline; }
  .hero__title { order: 0; font-size: 60px; line-height: 80px; margin-bottom: 4px; }
  .hero__lead, .hero__body, .hero__actions { order: 0; }
  .hero__mono { display: block; order: 0; }
  .hero__backer-mark { display: inline-flex; }
  .hero__lead { font-size: 24px; line-height: 1.35; font-weight: 500; max-width: 540px; margin-bottom: 22px; }
  .hero__body { font-size: 16px; line-height: 26px; max-width: 470px; margin-bottom: 27px; }
  .hero__mono { font-size: 12.5px; margin-bottom: 25px; }
  .hero__actions { gap: 12px; width: auto; }
  .hero__actions .btn--gold { width: auto; font-weight: 500; border-radius: 9px; }
  .hero__actions .btn--ghost { flex: none; background: transparent; border-color: var(--border-soft); color: var(--text-3); font-weight: 500; border-radius: 9px; }

  .hero__visual {
    position: relative;
    width: auto; height: 100%;
    align-self: stretch;
    margin: 0;
  }
  .hero__ring, .hero__dot { display: block; position: absolute; border-radius: 50%; }
  .hero__ring--outer {
    width: 480px; height: 480px;
    right: -10px; top: 90px;
    border: 1px solid rgba(201, 169, 97, 0.14);
  }
  .hero__ring--inner {
    width: 380px; height: 380px;
    right: 40px; top: 140px;
    border: 1px solid rgba(201, 169, 97, 0.3);
  }
  /* Puntos en órbita: anclados al centro común de los anillos (230px, 330px)
     y desplazados a su radio con transform, para poder girarlos. --a0 conserva
     la posición original de cada punto como ángulo de partida. */
  .hero__dot {
    background: var(--gold);
    transform: rotate(var(--a0)) translateY(calc(var(--r) * -1));
    animation: hero-orbit linear infinite;
  }
  .hero__dot--1 {
    width: 7px; height: 7px; right: 226.5px; top: 326.5px;
    --a0: 0deg; --r: 190px;
    animation-duration: 30s;
  }
  .hero__dot--2 {
    width: 6px; height: 6px; right: 227px; top: 327px;
    --a0: 50deg; --r: 240px;
    animation-duration: 50s;
  }
  .hero__dot--3 {
    width: 6px; height: 6px; right: 227px; top: 327px;
    --a0: 240deg; --r: 240px;
    animation-duration: 50s;
  }
  @keyframes hero-orbit {
    from { transform: rotate(var(--a0)) translateY(calc(var(--r) * -1)); }
    to   { transform: rotate(calc(var(--a0) + 360deg)) translateY(calc(var(--r) * -1)); }
  }
  @media (prefers-reduced-motion: reduce) {
    .hero__dot { animation: none; }
  }
  .hero__mascot {
    position: absolute;
    width: 330px; height: 330px;
    right: 65px; top: 165px;
  }
  .hero__caption {
    display: block;
    position: absolute;
    right: 129px; top: 508px;
    font-family: var(--serif); font-style: italic; font-weight: 500;
    font-size: 13px; color: var(--muted-3);
    white-space: nowrap;
  }
  .hero__backing { padding: 35px 0 52px; }
  .hero__backing-label { font-size: 9px; }
}

/* ============================================================
   EL PROBLEMA · 4 TECHOS (rediseño premium: montaña + cards 3D)
   ============================================================ */
.techos {
  --t-growth: 100, 136, 255;   /* #6488ff */
  --t-ops: 66, 212, 223;       /* #42d4df */
  --t-platform: 187, 108, 255; /* #bb6cff */
  --t-ai: 222, 178, 78;        /* #deb24e */
  background:
    radial-gradient(720px 460px at calc(50% + 430px) 40px, rgba(52, 58, 110, 0.22), transparent 100%),
    radial-gradient(600px 380px at calc(50% - 380px) 105%, rgba(90, 42, 134, 0.12), transparent 100%);
  padding-block: 72px 64px;
}
.techos__layout {
  display: flex; flex-direction: column; gap: 34px;
}

/* --- Cabecera editorial --- */
.techos__header { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.techos__kicker { display: inline-flex; align-items: center; gap: 16px; }
.techos__kicker-line { width: 52px; height: 1px; background: rgba(201, 169, 97, 0.55); }
.techos__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; line-height: 1.28;
  color: var(--text);
}
.techos__title em { font-style: italic; color: var(--gold); }
.techos__sub { font-size: 15px; line-height: 1.6; color: var(--text-nav); max-width: 560px; }

/* --- Montaña --- */
.techos__monte { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.monte { display: block; width: 100%; height: auto; }
.techos__nota {
  position: absolute; left: 0; top: 14%;
  font-family: var(--serif); font-style: italic;
  font-size: 15px; line-height: 1.45;
  color: var(--muted-2);
  transform: rotate(-7deg);
  white-space: nowrap;
}
.techos__nota-flecha { display: block; margin: 8px 0 0 26px; color: var(--muted-3); }
.techos__cima {
  position: absolute; right: 0; top: -4px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.2px;
  line-height: 1.7; text-align: left;
  color: var(--text-3);
}

/* Animación de la ruta: JS fija dasharray/dashoffset y añade .is-visible */
.techos.is-visible .monte-ruta {
  transition: stroke-dashoffset 2s ease .2s;
  stroke-dashoffset: 0 !important;
}
.monte-nodo, .monte-bandera { opacity: 0; transition: opacity .45s ease; }
.techos.is-visible .monte-nodo:nth-of-type(1) { opacity: 1; transition-delay: .55s; }
.techos.is-visible .monte-nodo:nth-of-type(2) { opacity: 1; transition-delay: .95s; }
.techos.is-visible .monte-nodo:nth-of-type(3) { opacity: 1; transition-delay: 1.35s; }
.techos.is-visible .monte-nodo:nth-of-type(4) { opacity: 1; transition-delay: 1.75s; }
.techos.is-visible .monte-bandera { opacity: 1; transition-delay: 2s; }
@media (prefers-reduced-motion: reduce) {
  .monte-nodo, .monte-bandera { opacity: 1; transition: none; }
  .techos.is-visible .monte-ruta { transition: none; }
}

/* --- Grid de tarjetas --- */
.techos__grid { display: grid; gap: 18px; width: 100%; }
@media (min-width: 700px) { .techos__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .techos__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

.techo {
  --tc: var(--t-growth);
  position: relative;
  display: flex; flex-direction: column; gap: 13px; align-items: flex-start;
  padding: 24px 22px 20px;
  border-radius: 21px;
  border: 1px solid rgba(var(--tc), 0.4);
  background:
    radial-gradient(130% 85% at 18% 0%, rgba(var(--tc), 0.13), transparent 58%),
    linear-gradient(180deg, #14111f 0%, #0d0a16 100%);
  box-shadow:
    0 12px 36px -20px rgba(var(--tc), 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.techos__grid .techo {
  transition: opacity .6s ease, transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.techo:hover {
  transform: translateY(-7px);
  border-color: rgba(var(--tc), 0.7);
  box-shadow:
    0 22px 44px -20px rgba(var(--tc), 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.techos__grid .techo.reveal:not(.in-view) { opacity: 0; transform: translateY(22px); }

.techo--growth { --tc: var(--t-growth); }
.techo--ops { --tc: var(--t-ops); }
.techo--platform { --tc: var(--t-platform); }
.techo--ai { --tc: var(--t-ai); }

.techo__top {
  display: flex; align-items: flex-start; justify-content: space-between;
  width: 100%; min-height: 96px;
}
.techo__num-block { display: flex; flex-direction: column; gap: 7px; padding-top: 6px; }
.techo__num {
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; line-height: 1;
  color: rgb(var(--tc));
}
.techo__num-line { width: 24px; height: 2px; border-radius: 1px; background: rgba(var(--tc), 0.75); }
.techo__cat {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 1.3px;
  color: rgba(var(--tc), 0.9);
  padding-top: 6px;
}
.techo__icon {
  display: block; flex-shrink: 0;
  margin: -10px -8px 0 0;
  filter: drop-shadow(0 10px 16px rgba(var(--tc), 0.28));
  transition: transform .3s ease;
}
.techo:hover .techo__icon { transform: translateY(-3px) scale(1.03); }

.techo__name {
  font-family: var(--serif); font-weight: 500;
  font-size: 22.5px; line-height: 1.2;
  color: var(--text);
}
.techo__body { font-size: 14px; line-height: 1.55; color: var(--muted); }

.techo__salida {
  display: flex; gap: 10px; align-items: flex-start;
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(var(--tc), 0.09);
  border: 1px solid rgba(var(--tc), 0.22);
  font-size: 13.5px; line-height: 1.45; color: #d6d0e2;
}
.techo__salida strong { font-weight: 600; color: rgb(var(--tc)); }
.techo__bolt { color: rgb(var(--tc)); flex-shrink: 0; margin-top: 1px; }

.techo__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.1px;
  color: rgb(var(--tc));
}
.techo__link span { transition: transform .3s ease; }
.techo__link:hover span, .techo:hover .techo__link span { transform: translateX(4px); }

/* --- CTA inferior --- */
.techos__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 18px;
  width: 100%;
  padding: 15px 15px 15px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 31, 0.55);
}
.techos__cta-icon { flex-shrink: 0; }
.techos__cta-div { width: 1px; height: 26px; background: var(--border-soft); flex-shrink: 0; }
.techos__cta-txt { flex: 1 1 260px; font-size: 15.5px; line-height: 1.5; font-weight: 600; color: var(--text); }
.techos__cta-btn {
  background: linear-gradient(180deg, #ecd28f, #cfa955);
  color: var(--gold-ink);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: 0 6px 22px -10px rgba(222, 178, 78, 0.55);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.techos__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(222, 178, 78, 0.6);
  filter: brightness(1.04);
}

/* Anclas de "VER SOLUCIONES" bajo el nav fijo */
#sol-growth, #sol-operacion, #sol-plataforma, #sol-ia { scroll-margin-top: 96px; }

/* --- Desktop: cabecera izquierda + montaña derecha --- */
@media (min-width: 1024px) {
  .techos { padding-block: 96px 80px; }
  .techos__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 470px;
    column-gap: 48px; row-gap: 40px;
    align-items: end;
  }
  .techos__header { grid-column: 1; grid-row: 1; padding-bottom: 8px; }
  .techos__monte { grid-column: 2; grid-row: 1; margin: 0; }
  .techos__grid { grid-column: 1 / -1; grid-row: 2; }
  .techos__cta { grid-column: 1 / -1; grid-row: 3; }
  .techos__title { font-size: 38px; line-height: 1.25; }
  .techos__sub { font-size: 16.5px; }
  .techos__nota { left: -10%; top: 16%; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .techos__monte { max-width: 560px; }
}

/* ============================================================
   4 PUERTAS
   ============================================================ */
.puertas { padding-block: 80px; }
.puertas .container { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.puertas__title { font-size: 30px; line-height: 1.25; padding-top: 14px; }
@media (min-width: 1024px) { .puertas__title { font-size: 42px; } }

.puertas__stepper {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px; width: 100%;
}
.step {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 20px; padding: 8px 16px 8px 14px;
  font-size: 13px; font-weight: 600; color: var(--text);
  border: 1px solid; white-space: nowrap;
}
.step__num { font-family: var(--serif); font-weight: 500; font-size: 16px; }
.step__arrow { color: var(--gold); font-size: 18px; padding-inline: 4px; }
.step--blue   { background: rgba(106, 140, 255, 0.12); border-color: rgba(106, 140, 255, 0.4); }
.step--blue .step__num { color: var(--blue); }
.step--teal   { background: rgba(63, 167, 184, 0.12); border-color: rgba(63, 167, 184, 0.4); }
.step--teal .step__num { color: var(--teal); }
.step--purple { background: rgba(155, 106, 214, 0.12); border-color: rgba(155, 106, 214, 0.4); }
.step--purple .step__num { color: var(--purple); }
.step--gold   { background: rgba(201, 169, 97, 0.12); border-color: rgba(201, 169, 97, 0.4); }
.step--gold .step__num { color: var(--gold); }

.puertas__grid {
  display: grid; gap: 24px; width: 100%; padding-top: 6px;
}
@media (min-width: 900px) { .puertas__grid { grid-template-columns: 1fr 1fr; } }

.puerta {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1.5px solid;
  border-radius: 16px;
  padding: 24px 20px 26px;
}
@media (min-width: 1024px) { .puerta { padding: 24px 28px 26px; } }
.puerta__media {
  width: 100%; border-radius: 12px; overflow: hidden;
}
.puerta__media img {
  width: 100%; height: 300px; object-fit: cover;
  background-image:
    linear-gradient(180deg, rgba(11, 7, 18, 0) 0%, rgba(11, 7, 18, 0.05) 72%, rgba(11, 7, 18, 0.4) 100%);
}
@media (min-width: 1024px) { .puerta__media img { height: 480px; } }
.puerta__media { position: relative; }
.puerta__media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 7, 18, 0) 0%, rgba(11, 7, 18, 0.05) 72%, rgba(11, 7, 18, 0.4) 100%),
    rgba(11, 7, 18, 0.08);
  pointer-events: none;
}
.puerta__head { display: flex; gap: 16px; align-items: center; }
.puerta__num { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1; }
.puerta__head-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.puerta__name { font-size: 19px; font-weight: 600; color: var(--text); }
.puerta__tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.6px; }
.puerta__problema { font-size: 14.5px; line-height: 21px; color: var(--muted); }
.puerta__ganas { font-size: 14.5px; line-height: 21px; color: var(--text); }
.puerta__seve { font-size: 14.5px; line-height: 21px; color: var(--muted); }
.puerta__seve strong { font-weight: 600; color: var(--text-3); }
.puerta__div { border: 0; height: 1px; width: 100%; }
.puerta__link { font-size: 14.5px; font-weight: 600; }
.puerta__link:hover { filter: brightness(1.15); }

.puerta--blue { border-color: rgba(106, 140, 255, 0.6); box-shadow: 0 8px 46px -2px rgba(106, 140, 255, 0.5); }
.puerta--blue .puerta__media { background: rgba(106, 140, 255, 0.07); }
.puerta--blue .puerta__num, .puerta--blue .puerta__tag, .puerta--blue .puerta__ganas strong, .puerta--blue .puerta__link { color: var(--blue); }
.puerta--blue .puerta__div { background: rgba(106, 140, 255, 0.25); }

.puerta--teal { border-color: rgba(63, 167, 184, 0.6); box-shadow: 0 8px 46px -2px rgba(63, 167, 184, 0.5); }
.puerta--teal .puerta__media { background: rgba(63, 167, 184, 0.07); }
.puerta--teal .puerta__num, .puerta--teal .puerta__tag, .puerta--teal .puerta__ganas strong, .puerta--teal .puerta__link { color: var(--teal); }
.puerta--teal .puerta__div { background: rgba(63, 167, 184, 0.25); }

.puerta--purple { border-color: rgba(155, 106, 214, 0.6); box-shadow: 0 8px 46px -2px rgba(155, 106, 214, 0.5); }
.puerta--purple .puerta__media { background: rgba(155, 106, 214, 0.07); }
.puerta--purple .puerta__num, .puerta--purple .puerta__tag, .puerta--purple .puerta__ganas strong, .puerta--purple .puerta__link { color: var(--purple); }
.puerta--purple .puerta__div { background: rgba(155, 106, 214, 0.25); }

.puerta--gold { border-color: rgba(201, 169, 97, 0.6); box-shadow: 0 8px 46px -2px rgba(201, 169, 97, 0.5); }
.puerta--gold .puerta__media { background: rgba(201, 169, 97, 0.07); }
.puerta--gold .puerta__num, .puerta--gold .puerta__tag, .puerta--gold .puerta__ganas strong, .puerta--gold .puerta__link { color: var(--gold); }
.puerta--gold .puerta__div { background: rgba(201, 169, 97, 0.25); }

/* ============================================================
   CÓMO TRABAJAMOS
   ============================================================ */
.proceso {
  background:
    radial-gradient(650px 350px at calc(50% + 130px) 470px, rgba(63, 167, 184, 0.10), transparent 100%);
  padding-block: 80px;
}
.proceso .container { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.proceso__title { font-size: 28px; line-height: 1.25; }
@media (min-width: 1024px) { .proceso__title { font-size: 40px; } }

.proceso__row {
  display: flex; flex-direction: column; gap: 14px; width: 100%;
  padding-top: 10px;
}
.paso {
  flex: 1;
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--card);
  border: 1px solid;
  border-radius: 16px;
  padding: 26px 22px;
}
.paso__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 50%;
  border: 1.5px solid;
  font-family: var(--serif); font-weight: 500; font-size: 24px;
}
.paso__name { font-size: 18px; font-weight: 600; color: var(--text); font-family: var(--sans); }
.paso__body { font-size: 13.5px; line-height: 20px; color: var(--muted); }
.paso__arrow { display: none; }

@media (min-width: 900px) {
  .proceso__row { flex-direction: row; align-items: stretch; gap: 10px; }
  .paso { align-items: center; text-align: center; padding: 26px 18px; }
  .paso__arrow {
    display: flex; align-items: center;
    color: var(--gold); font-size: 22px; flex-shrink: 0;
  }
}

.paso--blue { border-color: rgba(106, 140, 255, 0.35); }
.paso--blue .paso__num { color: var(--blue); background: rgba(106, 140, 255, 0.16); border-color: rgba(106, 140, 255, 0.6); box-shadow: 0 0 22px 0 rgba(106, 140, 255, 0.5); }
.paso--teal { border-color: rgba(63, 167, 184, 0.35); }
.paso--teal .paso__num { color: var(--teal); background: rgba(63, 167, 184, 0.16); border-color: rgba(63, 167, 184, 0.6); box-shadow: 0 0 22px 0 rgba(63, 167, 184, 0.5); }
.paso--purple { border-color: rgba(155, 106, 214, 0.35); }
.paso--purple .paso__num { color: var(--purple); background: rgba(155, 106, 214, 0.16); border-color: rgba(155, 106, 214, 0.6); box-shadow: 0 0 22px 0 rgba(155, 106, 214, 0.5); }
.paso--gold { border-color: rgba(201, 169, 97, 0.35); }
.paso--gold .paso__num { color: var(--gold); background: rgba(201, 169, 97, 0.16); border-color: rgba(201, 169, 97, 0.6); box-shadow: 0 0 22px 0 rgba(201, 169, 97, 0.5); }

/* ============================================================
   DIFERENCIADOR
   ============================================================ */
.dif {
  background:
    radial-gradient(550px 400px at calc(50% + 510px) 600px, rgba(201, 169, 97, 0.10), transparent 100%);
  padding-block: 80px;
}
.dif .container { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.dif .kicker { letter-spacing: 1.56px; }
.dif__title { font-size: 28px; line-height: 1.25; }
.dif__sub { font-size: 15px; line-height: 24px; max-width: 900px; }
@media (min-width: 1024px) {
  .dif__title { font-size: 38px; line-height: 46px; }
  .dif__sub { font-size: 16px; }
}

.dif__table { display: flex; flex-direction: column; gap: 12px; width: 100%; }
.dif__headrow { display: none; }
.dif__row {
  display: flex; flex-direction: column; gap: 8px; width: 100%;
}
.dif__no {
  display: flex; gap: 12px; align-items: center;
  background: rgba(23, 19, 31, 0.35);
  border: 1px solid rgba(42, 33, 64, 0.7);
  border-radius: 12px;
  padding: 14px 18px;
  opacity: 0.72;
}
.dif__x {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 12px; flex-shrink: 0;
  background: rgba(204, 97, 102, 0.1);
  border: 1px solid rgba(204, 97, 102, 0.45);
  color: var(--red); font-size: 12px;
}
.dif__no p { font-size: 14.5px; color: var(--muted); }
.dif__arrow { display: none; }
.dif__si {
  display: flex; gap: 12px; align-items: center;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.1), rgba(201, 169, 97, 0.03));
  border: 1.2px solid rgba(201, 169, 97, 0.42);
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 22px -6px rgba(201, 169, 97, 0.2);
}
.dif__check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 12px; flex-shrink: 0;
  background: rgba(201, 169, 97, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: var(--gold); font-size: 12px;
}
.dif__si p { font-size: 14.5px; font-weight: 600; color: var(--text); }

@media (min-width: 900px) {
  .dif__headrow {
    display: flex; align-items: center; width: 100%;
  }
  .dif__headrow .dif__col-label {
    flex: 1; padding-left: 18px;
    font-family: var(--mono); font-weight: 500; font-size: 12px;
    color: rgba(157, 149, 176, 0.85);
  }
  .dif__col-label--gold { color: var(--gold) !important; }
  .dif__spacer { width: 64px; flex-shrink: 0; }
  .dif__row { flex-direction: row; align-items: center; gap: 0; }
  .dif__no, .dif__si { flex: 1; min-width: 0; }
  .dif__arrow {
    display: flex; align-items: center; justify-content: center;
    width: 64px; flex-shrink: 0;
    color: var(--gold); font-size: 20px; font-weight: 600;
  }
}

/* ============================================================
   PRUEBA SOCIAL
   ============================================================ */
.social {
  background:
    radial-gradient(650px 600px at calc(50% + 490px) 420px, rgba(74, 37, 133, 0.16), transparent 100%);
  padding-block: 80px 0;
  padding-bottom: 80px;
}
.social .container { display: flex; flex-direction: column; gap: 28px; }
.social__top {
  display: flex; flex-direction: column; gap: 40px; width: 100%;
}
.social__intro { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.social .kicker { letter-spacing: 1.56px; }
.social__title { font-size: 30px; line-height: 1.2; }
.social__intro .section-sub { font-size: 15px; line-height: 25px; }
@media (min-width: 1024px) {
  .social__top { flex-direction: row; gap: 60px; align-items: center; }
  .social__intro { width: 600px; flex-shrink: 0; }
  .social__title { font-size: 42px; line-height: 48px; }
  .social__intro .section-sub { font-size: 16px; }
}

.social__bullets { display: flex; flex-direction: column; gap: 12px; }
.social__bullets li {
  display: flex; gap: 12px; align-items: center;
  font-size: 14.5px; color: var(--text-3);
}
.social__bullets li::before {
  content: '';
  width: 7px; height: 7px; border-radius: 4px;
  background: var(--gold); flex-shrink: 0;
}
.social__bullet--strong { font-weight: 600; color: var(--text) !important; }
.social__bullets strong { color: var(--text); font-weight: 600; }

.social__note {
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex; flex-direction: column; gap: 5px;
  width: 100%;
}
.social__note-title { font-size: 15px; font-weight: 600; color: var(--text); }
.social__note-body { font-size: 13.5px; line-height: 19px; color: var(--text-3); }

/* --- Globo --- */
.globo {
  position: relative;
  background: var(--card-globe);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 620 / 470;
  max-width: 620px;
}
.globo__glow, .globo__sphere {
  position: absolute; border-radius: 50%;
}
.globo__glow {
  width: 69.4%; aspect-ratio: 1; left: 14.8%; top: 5.1%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(128, 82, 235, 0.3) 0%, rgba(107, 61, 184, 0.1) 70%, rgba(107, 61, 184, 0) 100%);
}
.globo__sphere {
  width: 58.7%; aspect-ratio: 1; left: 20.2%; top: 12.1%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(33, 26, 56, 0.9) 0%, rgba(13, 10, 26, 0.85) 100%);
}
.globo__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.globo__canvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  display: block; cursor: grab;
  opacity: 0; animation: globo-in 0.8s ease 0.1s forwards;
}
.globo__canvas:active { cursor: grabbing; }
@keyframes globo-in { to { opacity: 1; } }
/* Con el globo 3D activo se ocultan las capas estáticas y las etiquetas fijas de ciudades */
.globo--3d .globo__grid,
.globo--3d .globo__sphere,
.globo--3d .globo__label--dublin,
.globo--3d .globo__label--madrid,
.globo--3d .globo__label--xalapa { display: none; }
.globo--3d .globo__label--kicker,
.globo--3d .globo__live,
.globo--3d .globo__label--foot { z-index: 2; }
.globo__label {
  position: absolute;
  font-size: 11.5px; color: var(--text-3);
  white-space: nowrap;
}
.globo__label--kicker {
  left: 3.4%; top: 4%;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.88px;
  color: var(--gold);
}
.globo__live {
  position: absolute; right: 3%; top: 4%;
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.4px;
  color: var(--green);
}
.globo__live .dot { width: 8px; height: 8px; border-radius: 4px; }
.globo__label--dublin { left: 73.7%; top: 21%; }
.globo__label--madrid { left: 60.8%; top: 37.7%; }
.globo__label--xalapa { left: 2.4%; top: 67.4%; }
.globo__label--foot {
  left: 3.4%; top: 92.5%;
  font-size: 12.5px; color: var(--muted);
}
@media (max-width: 520px) {
  .globo__label { font-size: 9.5px; }
  .globo__label--foot { font-size: 10px; }
}

/* --- Clientes --- */
.clientes__grid { display: grid; gap: 14px; width: 100%; }
@media (min-width: 700px) { .clientes__grid { grid-template-columns: 1fr 1fr; gap: 20px; } }
@media (min-width: 1024px) { .clientes__grid { grid-template-columns: repeat(3, 1fr); } }

.cliente {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid;
  border-radius: 16px;
  overflow: hidden;
}
.cliente__media {
  display: flex; align-items: center; justify-content: center;
  height: 120px; width: 100%;
  background-color: #1c1730;
}
.cliente__logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 72px; height: 72px; border-radius: 15px;
  color: #fff; font-size: 21px; font-weight: 600;
}
.cliente__logo--sm { font-size: 16px; }
/* Placa clara para logotipos reales de clientes */
.cliente__tile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 140px; height: 72px; border-radius: 15px;
  background: #f4f2f7;
  padding: 9px 14px;
}
.cliente__tile img {
  width: auto; height: auto;
  max-width: 100%; max-height: 100%;
  object-fit: contain;
}
.cliente__body {
  display: flex; flex-direction: column; gap: 7px;
  padding: 18px 22px 6px;
  flex: 1;
}
.cliente__name { font-size: 17px; font-weight: 600; color: var(--text); font-family: var(--sans); }
.cliente__sector { font-size: 12.5px; color: var(--muted); }
.cliente__desc { font-size: 13.5px; line-height: 20px; color: var(--text-3); }
.cliente__badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 12px 22px 20px;
  padding: 6px 12px 6px 10px;
  border-radius: 7px;
  font-size: 11.5px; font-weight: 600;
  align-self: flex-start;
}
.cliente__badge .dot { width: 6px; height: 6px; border-radius: 3px; background: currentColor; }

.cliente--blue { border-color: rgba(106, 140, 255, 0.4); }
.cliente--blue .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(106, 140, 255, 0.16), rgba(106, 140, 255, 0.02)); }
.cliente--blue .cliente__logo { background: linear-gradient(135deg, #6a8cff 0%, #3a4d8c 71%); box-shadow: 0 4px 18px -2px rgba(106, 140, 255, 0.5); }
.cliente--blue .cliente__tile { box-shadow: 0 4px 18px -2px rgba(106, 140, 255, 0.5); }
.cliente--blue .cliente__badge { background: rgba(106, 140, 255, 0.14); color: var(--blue); }

.cliente--teal { border-color: rgba(63, 167, 184, 0.4); }
.cliente--teal .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(63, 167, 184, 0.16), rgba(63, 167, 184, 0.02)); }
.cliente--teal .cliente__logo { background: linear-gradient(135deg, #3fa7b8 0%, #235c65 71%); box-shadow: 0 4px 18px -2px rgba(63, 167, 184, 0.5); }
.cliente--teal .cliente__tile { box-shadow: 0 4px 18px -2px rgba(63, 167, 184, 0.5); }
.cliente--teal .cliente__badge { background: rgba(63, 167, 184, 0.14); color: var(--teal); }

.cliente--gold { border-color: rgba(201, 169, 97, 0.4); }
.cliente--gold .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(201, 169, 97, 0.16), rgba(201, 169, 97, 0.02)); }
.cliente--gold .cliente__logo { background: linear-gradient(135deg, #c9a961 0%, #6f5d35 71%); box-shadow: 0 4px 18px -2px rgba(201, 169, 97, 0.5); }
.cliente--gold .cliente__tile { box-shadow: 0 4px 18px -2px rgba(201, 169, 97, 0.5); }
.cliente--gold .cliente__badge { background: rgba(201, 169, 97, 0.14); color: var(--gold); }

.cliente--purple { border-color: rgba(155, 106, 214, 0.4); }
.cliente--purple .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(155, 106, 214, 0.16), rgba(155, 106, 214, 0.02)); }
.cliente--purple .cliente__logo { background: linear-gradient(135deg, #9b6ad6 0%, #553a76 71%); box-shadow: 0 4px 18px -2px rgba(155, 106, 214, 0.5); }
.cliente--purple .cliente__tile { box-shadow: 0 4px 18px -2px rgba(155, 106, 214, 0.5); }
.cliente--purple .cliente__badge { background: rgba(155, 106, 214, 0.14); color: var(--purple); }

.cliente--mint { border-color: rgba(63, 184, 138, 0.4); }
.cliente--mint .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(63, 184, 138, 0.16), rgba(63, 184, 138, 0.02)); }
.cliente--mint .cliente__logo { background: linear-gradient(135deg, #3fb88a 0%, #23654c 71%); box-shadow: 0 4px 18px -2px rgba(63, 184, 138, 0.5); }
.cliente--mint .cliente__tile { box-shadow: 0 4px 18px -2px rgba(63, 184, 138, 0.5); }
.cliente--mint .cliente__badge { background: rgba(63, 184, 138, 0.14); color: var(--mint); }

.cliente--pink { border-color: rgba(232, 120, 158, 0.4); }
.cliente--pink .cliente__media { background-image: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(232, 120, 158, 0.16), rgba(232, 120, 158, 0.02)); }
.cliente--pink .cliente__logo { background: linear-gradient(135deg, #e8789e 0%, #804257 71%); box-shadow: 0 4px 18px -2px rgba(232, 120, 158, 0.5); }
.cliente--pink .cliente__tile { box-shadow: 0 4px 18px -2px rgba(232, 120, 158, 0.5); }
.cliente--pink .cliente__badge { background: rgba(232, 120, 158, 0.14); color: var(--pink); }

/* ============================================================
   MEMBRESÍA
   ============================================================ */
.memb {
  background:
    radial-gradient(650px 450px at calc(50% + 70px) 250px, rgba(201, 169, 97, 0.10), transparent 100%);
  padding-block: 80px;
}
.memb .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.memb__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.memb__pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(201, 169, 97, 0.12);
  border: 1px solid rgba(201, 169, 97, 0.45);
  border-radius: 20px;
  padding: 6px 13px 6px 12px;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.42px;
  color: var(--gold);
}
.memb__title { font-size: 28px; line-height: 1.25; }
.memb__sub { font-size: 15px; line-height: 26px; color: var(--text-3); max-width: 880px; }
@media (min-width: 1024px) {
  .memb__title { font-size: 40px; line-height: 48px; }
  .memb__sub { font-size: 16.5px; }
}
.memb .callout { border-radius: 12px; padding: 18px 24px 18px 22px; }
.memb .callout__bar { height: 42px; }

.memb__grid { display: grid; gap: 14px; width: 100%; }
@media (min-width: 700px) { .memb__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .memb__grid { grid-template-columns: repeat(3, 1fr); } }

.beneficio {
  display: flex; gap: 14px; align-items: center;
  background: rgba(23, 19, 31, 0.5);
  border: 1px solid rgba(42, 33, 64, 0.7);
  border-radius: 14px;
  padding: 16px 18px;
}
.beneficio__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.2), rgba(201, 169, 97, 0.05));
  border: 1px solid rgba(201, 169, 97, 0.45);
  box-shadow: 0 3px 14px -3px rgba(201, 169, 97, 0.3);
}
.beneficio__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.beneficio__txt strong { font-size: 15px; font-weight: 600; color: var(--text); }
.beneficio__txt span { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   NOSOTROS · LA FIRMA
   ============================================================ */
.firma { padding-block: 80px; }
.firma .container { display: flex; flex-direction: column; gap: 34px; align-items: flex-start; }
.firma .kicker { letter-spacing: 1.56px; }
.firma__title { font-size: 28px; line-height: 1.25; }
.firma__sub { font-size: 14.5px; line-height: 24px; max-width: 940px; }
@media (min-width: 1024px) {
  .firma__title { font-size: 38px; }
  .firma__sub { font-size: 15.5px; }
}

.firma__cols { display: flex; flex-direction: column; gap: 34px; width: 100%; }
@media (min-width: 1024px) {
  .firma__cols { flex-direction: row; gap: 64px; align-items: flex-start; }
  .firma__left { width: 520px; flex-shrink: 0; }
  .ficha { flex: 1; max-width: 696px; }
}
.firma__left { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.firma__list { display: flex; flex-direction: column; gap: 11px; width: 100%; }
.firma__list li {
  display: flex; gap: 11px; align-items: center;
  font-size: 15px; font-weight: 500; color: var(--text-3);
}
.firma__list li::before {
  content: '';
  width: 6px; height: 6px; border-radius: 3px;
  background: var(--gold); flex-shrink: 0;
}
.firma__presencia-kicker { padding-top: 6px; }
.firma__mercados { display: flex; flex-direction: column; gap: 11px; width: 100%; }
.firma__mercados li { display: flex; gap: 11px; align-items: flex-start; }
.firma__mercado-dot {
  width: 7px; height: 7px; border-radius: 4px; flex-shrink: 0;
  background: var(--gold);
  margin-top: 5px;
}
.firma__mercado-dot--soft { background: rgba(201, 169, 97, 0.5); }
.firma__mercados strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.firma__mercados small { display: block; font-size: 12.5px; color: var(--muted); }

.ficha {
  background: var(--card);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 16px;
  padding: 26px 30px;
  width: 100%;
}
.ficha__kicker {
  font-family: var(--mono); font-size: 12px; letter-spacing: 1.2px;
  color: var(--gold);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.ficha__rows { display: flex; flex-direction: column; }
.ficha__row {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.ficha__row:last-child { border-bottom: 0; padding-bottom: 0; }
.ficha__row dt {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  flex-shrink: 0;
}
.ficha__row dd { font-size: 15px; line-height: 22px; font-weight: 500; color: var(--text); }
@media (min-width: 700px) {
  .ficha__row { flex-direction: row; gap: 20px; }
  .ficha__row dt { width: 150px; }
}

/* --- Equipo --- */
.equipo {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 30px 18px; width: 100%;
  justify-items: center;
}
@media (min-width: 1024px) {
  .equipo { grid-template-columns: repeat(4, 1fr); }
}
.persona {
  display: flex; flex-direction: column; gap: 11px; align-items: center;
  max-width: 300px; width: 100%;
  text-align: center;
}
.persona__foto {
  position: relative;
  display: block;
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
}
.persona__foto img { position: absolute; max-width: none; }
.persona__foto .persona__foto--cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.persona figcaption { display: flex; flex-direction: column; gap: 6px; }
.persona figcaption strong { font-size: 14.5px; line-height: 19px; font-weight: 600; color: var(--text); }
.persona figcaption span { font-size: 12px; color: var(--muted); }
.persona--blue .persona__foto { box-shadow: 0 4px 16px -2px rgba(106, 140, 255, 0.45); }
.persona--teal .persona__foto { box-shadow: 0 4px 16px -2px rgba(63, 167, 184, 0.45); }
.persona--purple .persona__foto { box-shadow: 0 4px 16px -2px rgba(155, 106, 214, 0.45); }
.persona--gold .persona__foto { box-shadow: 0 4px 16px -2px rgba(201, 169, 97, 0.45); }

/* ============================================================
   RECURSOS · FAQ
   ============================================================ */
.recursos {
  background:
    radial-gradient(650px 625px at calc(50% - 490px) 570px, rgba(90, 42, 134, 0.18), transparent 100%);
  padding-block: 80px;
}
.recursos .container { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.recursos > .container > .kicker { letter-spacing: 1.04px; }

.lead-magnet {
  display: flex; flex-direction: column; gap: 28px; align-items: center;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.05), rgba(201, 169, 97, 0.05)), var(--card);
  border: 1.5px solid rgba(201, 169, 97, 0.5);
  border-radius: 16px;
  padding: 26px 24px;
  width: 100%;
}
@media (min-width: 900px) {
  .lead-magnet { flex-direction: row; padding: 26px 32px 26px 28px; }
}
.pdf-mock {
  display: flex; flex-direction: column; align-items: flex-start;
  width: 172px; height: 236px; flex-shrink: 0;
  background: var(--bg-deep);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 10px;
  padding: 16px;
}
.pdf-mock__brand { font-size: 9px; font-weight: 600; letter-spacing: 0.18px; color: var(--text); }
.pdf-mock__brand span { color: var(--gold); }
.pdf-mock__rule { border: 0; height: 1px; width: 100%; background: rgba(201, 169, 97, 0.3); margin: 6px 0 14px; }
.pdf-mock__tag { font-family: var(--mono); font-size: 7px; letter-spacing: 0.56px; color: var(--gold); margin-bottom: 6px; }
.pdf-mock__title { font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 20px; color: var(--text); margin-bottom: 10px; }
.pdf-mock__bar { display: block; width: 36px; height: 3px; border-radius: 2px; background: var(--gold); }
.pdf-mock__foot { font-family: var(--mono); font-size: 7px; letter-spacing: 0.42px; color: var(--muted); margin-top: auto; }

.lead-magnet__content { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex: 1; min-width: 0; }
.lead-magnet__title { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--text); }
@media (min-width: 1024px) { .lead-magnet__title { font-size: 27px; } }
.lead-magnet__sub { font-size: 15px; line-height: 23px; color: var(--muted); }
.lead-magnet__form {
  display: flex; flex-direction: column; gap: 10px; width: 100%; padding-top: 4px;
}
@media (min-width: 700px) { .lead-magnet__form { flex-direction: row; align-items: center; } }
.lead-magnet__input {
  flex: 1; min-width: 0;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--sans); font-size: 14.5px; color: var(--text);
}
.lead-magnet__input::placeholder { color: var(--faint); }
.lead-magnet__input:focus { outline: none; border-color: rgba(201, 169, 97, 0.5); }
.lead-magnet__note { font-size: 12px; color: var(--faint); }

.faq-block {
  display: grid; gap: 36px; width: 100%;
  padding-top: 26px;
}
@media (min-width: 900px) {
  .faq-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; padding-top: 40px; }
}
.faq-block__head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) {
  .faq-block__head { position: sticky; top: 96px; }
}
.faq-block__title { font-size: 34px; line-height: 1.12; }
@media (min-width: 1024px) { .faq-block__title { font-size: 46px; } }
.faq-block__sub { font-size: 14.5px; line-height: 22px; color: var(--muted); max-width: 36ch; }

.faq { display: flex; flex-direction: column; width: 100%; border-top: 1px solid var(--border); }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 4px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--gold); }
.faq__icon {
  position: relative;
  width: 16px; height: 16px; flex-shrink: 0;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute; inset: 0; margin: auto;
  background: var(--gold);
  border-radius: 1px;
  transition: transform 0.28s ease;
}
.faq__icon::before { width: 16px; height: 2px; }
.faq__icon::after { width: 2px; height: 16px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::before { transform: rotate(180deg); }
.faq__a {
  font-size: 14.5px; line-height: 22px; color: var(--muted);
  padding: 0 4px 22px 36px;
  max-width: 62ch;
}
.faq__item[open] .faq__a { animation: faq-open 0.32s ease both; }
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq__item[open] .faq__a { animation: none; }
  .faq__icon::before, .faq__icon::after { transition: none; }
}

/* ============================================================
   BLOG · PREVIEW (noticias en la home)
   ============================================================ */
.bprev { padding-block: 90px; }
.bprev .container { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.bprev .kicker { font-weight: 500; letter-spacing: 0; }

.bprev__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  width: 100%;
}
.bprev__head > div { display: flex; flex-direction: column; gap: 10px; }
.bprev__title { font-size: 26px; line-height: 1.25; }
.bprev__title em { font-style: italic; color: var(--gold); }
.bprev__ver { padding-bottom: 4px; font-size: 14px; font-weight: 600; color: var(--gold); }
.bprev__ver:hover { filter: brightness(1.15); }

.bprev__grid { display: grid; gap: 22px; width: 100%; padding-top: 20px; }
.bprev__card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.bprev__card:hover { border-color: var(--border-soft); transform: translateY(-3px); }
.bprev__media { height: 210px; padding: 10px 10px 0; }
.bprev__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.bprev__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 18px 20px 20px; }
.bprev__tag {
  align-self: flex-start;
  background: rgba(42, 33, 64, 0.55);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 12px;
  font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.5px;
  color: var(--muted);
}
.bprev__cardtitle { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; color: var(--text); }
.bprev__cardtitle a { color: inherit; }
/* toda la tarjeta es clicable a través del enlace del título */
.bprev__cardtitle a::after { content: ''; position: absolute; inset: 0; }
.bprev__sub {
  font-size: 14.5px; line-height: 22px; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bprev__meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid rgba(42, 33, 64, 0.5);
  font-family: var(--mono); font-weight: 500; font-size: 11.5px;
  color: var(--muted);
}
.bprev__autor {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 13px; font-weight: 500;
  color: var(--text-3);
}
.bprev__avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.bprev__more {
  padding-top: 26px;
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 2px;
  color: var(--muted);
}
.bprev__minis { display: grid; grid-template-columns: 1fr; gap: 16px; width: 100%; padding-top: 4px; }
.bprev__card--mini { border-radius: 14px; }
.bprev__card--mini .bprev__media { height: 130px; padding: 8px 8px 0; }
.bprev__card--mini .bprev__media img { border-radius: 9px; }
.bprev__card--mini .bprev__body { gap: 9px; padding: 13px 15px 15px; }
.bprev__card--mini .bprev__tag { padding: 4px 10px; font-size: 9.5px; }
.bprev__card--mini .bprev__cardtitle { font-size: 16.5px; line-height: 1.3; }
.bprev__card--mini .bprev__meta { padding-top: 10px; font-size: 10.5px; }
.bprev__card--mini .bprev__autor { gap: 6px; font-size: 12px; }
.bprev__card--mini .bprev__avatar { width: 20px; height: 20px; }
.bprev__card--mini .bprev__avatar img { width: 12px; height: 10px; }

@media (min-width: 700px) {
  .bprev__minis { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .bprev__title { font-size: 34px; line-height: 42px; }
  .bprev__grid { grid-template-columns: repeat(3, 1fr); }
  .bprev__media { height: 230px; }
  .bprev__minis { grid-template-columns: repeat(4, 1fr); }
  .bprev__card--mini .bprev__media { height: 145px; }
}

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  background:
    radial-gradient(650px 296px at calc(50% + 490px) 207px, rgba(58, 33, 112, 0.22), transparent 100%);
  padding-block: 110px;
}
.cta-final .container {
  display: flex; flex-direction: column; gap: 20px; align-items: center;
  text-align: center;
}
.cta-final__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 34px; line-height: 1.2;
  color: var(--text);
}
.cta-final__sub { font-size: 16px; color: var(--muted); }
.cta-final .btn { margin-top: 12px; }
@media (min-width: 1024px) {
  .cta-final__title { font-size: 56px; line-height: 64px; }
  .cta-final__sub { font-size: 18px; }
}

/* ============================================================
   PIE DE PÁGINA
   ============================================================ */
.pie {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(650px 380px at calc(50% - 320px) 110%, rgba(58, 33, 112, 0.22), transparent 100%),
    radial-gradient(520px 320px at calc(50% + 430px) -20%, rgba(90, 42, 134, 0.14), transparent 100%);
  border-top: 1px solid var(--border);
  padding-top: 64px;
  padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
}
.pie__inner {
  display: flex;
  flex-direction: column;
}
.pie__top {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.pie__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.pie__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #f4f1f8;
  flex-shrink: 0;
}
.pie__logo img { width: 32px; height: 28px; }
.pie__brand-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.pie__copy {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--faint);
}
.pie__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 28px;
}
.pie__heading {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}
.pie__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pie__col a {
  font-size: 14px;
  color: var(--muted-2);
  touch-action: manipulation;
  transition: color .15s ease;
}
.pie__col a:hover { color: var(--text); }
@media (min-width: 1024px) {
  .pie { padding-top: 88px; }
  .pie__top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
  }
  .pie__brand-block { flex-shrink: 0; min-width: 280px; }
  .pie__copy { white-space: nowrap; }
  .pie__nav {
    display: flex;
    gap: 64px;
  }
  .pie__col { min-width: 118px; }
  .pie__heading { font-size: 15px; margin-bottom: 22px; }
  .pie__col ul { gap: 14px; }
  .pie { padding-bottom: 72px; }
}

/* ---------- Portal de cuenta ---------- */
.portal {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(650px 360px at 50% -40px, rgba(58, 33, 112, 0.28), transparent 70%),
    var(--bg);
}
.portal > .container { width: 100%; }
.portal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}
.portal__back {
  font-size: 13px;
  color: var(--text-nav);
  transition: color .15s ease;
}
.portal__back:hover { color: var(--text); }
.portal__main {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-block: 32px 80px;
}
.portal__card {
  width: min(100%, 420px);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 28px;
}
.portal__kicker { margin-bottom: 10px; }
.portal__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  color: var(--text);
  text-wrap: balance;
}
.portal__lead {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.portal__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}
.portal__field { display: flex; flex-direction: column; gap: 6px; }
.portal__field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-3);
}
.portal__field input {
  background: var(--bg-deep);
  border: 1px solid var(--border-soft);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
  font-size: 15px;
}
.portal__field input::placeholder { color: var(--faint); }
.portal__field input:focus {
  outline: none;
  border-color: rgba(201, 169, 97, 0.5);
}
.portal__field input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.portal__form .btn { width: 100%; margin-top: 4px; }
.portal__status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.35);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.5;
}
.portal__status a { color: var(--gold); text-decoration: underline; }
.portal__alt {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.portal__alt a { color: var(--gold); }
.portal__alt a:hover { text-decoration: underline; }

/* ============================================================
   PÁGINA · BLOG & RECURSOS
   ============================================================ */
/* Resplandor superior del diseño (elipse #5A2A86 al 16%) sobre el fondo base */
body.bpage {
  background:
    radial-gradient(750px 450px at calc(50% + 230px) 190px, rgba(90, 42, 134, 0.16), transparent 100%),
    var(--bg);
  background-repeat: no-repeat;
}

.bhero__intro {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
  padding-top: 34px;
}
.bhero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 32px; line-height: 1.2;
  color: var(--text);
}
.bhero__title em { font-style: italic; color: var(--gold); }
.bhero__sub { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 760px; }
@media (min-width: 1024px) {
  .bhero__intro { padding-top: 44px; }
  .bhero__title { font-size: 44px; }
  .bhero__sub { font-size: 16.5px; }
}

/* Enlace activo en la navegación */
.nav__links a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.menu-movil a[aria-current="page"] { color: var(--gold); }

/* --- Conmutador Blog | Recursos --- */
.vistas {
  display: inline-flex; gap: 4px;
  background: rgba(23, 19, 31, 0.7);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  margin-top: 30px;
}
.vistas__btn {
  padding: 9px 22px;
  border-radius: 9px;
  font-size: 14px; font-weight: 500;
  color: var(--muted);
  transition: color .15s ease, background .15s ease;
}
.vistas__btn:hover { color: var(--text-3); }
.vistas__btn.is-activa {
  background: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

/* --- Paneles y filtros --- */
.panel { padding-top: 16px; padding-bottom: 70px; }
.panel .container { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.chip {
  padding: 8px 15px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(23, 19, 31, 0.5);
  font-size: 12.5px;
  color: var(--muted);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.chip:hover { color: var(--text-3); border-color: var(--border-soft); }
.chip.is-activo {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
  font-weight: 600;
}

/* --- Tarjeta destacada --- */
.destacada {
  position: relative;
  display: flex; flex-direction: column;
  width: 100%;
  background: rgba(23, 19, 31, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .18s ease;
}
.destacada:hover { border-color: rgba(201, 169, 97, 0.55); }
.destacada__media {
  display: flex; align-items: center; justify-content: center;
  min-height: 190px;
  background:
    radial-gradient(62% 62% at 50% 63%, rgba(201, 169, 97, 0.22), rgba(110, 105, 92, 0.11) 50%, rgba(19, 41, 86, 0) 100%),
    rgba(19, 41, 86, 0.9);
}
.destacada__media p { font-family: var(--mono); font-weight: 500; font-size: 13px; color: var(--text-3); }
.destacada__media--img { display: block; }
.destacada__media--img img {
  display: block;
  width: 100%; height: 100%;
  min-height: 240px; max-height: 360px;
  object-fit: cover; object-position: 50% 22%;
}
@media (min-width: 900px) {
  .destacada__media--img img { max-height: none; }
}
.destacada__body {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center;
  padding: 26px 22px;
  flex: 1; min-width: 0;
}
.destacada__tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.destacada__badge {
  display: inline-flex;
  background: rgba(201, 169, 97, 0.18);
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 6px;
  padding: 5px 11px;
  font-family: var(--mono); font-weight: 500; font-size: 10px;
  color: var(--gold);
}
.destacada__cat { font-family: var(--mono); font-weight: 500; font-size: 10px; color: var(--muted); }
.destacada__title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--text); }
.destacada__sub { font-size: 15px; line-height: 23px; color: var(--muted); }
.destacada__meta { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--muted); }
.destacada__link { font-size: 14px; font-weight: 600; color: var(--gold); }
/* toda la tarjeta es clicable a través del enlace */
.destacada__link::after { content: ''; position: absolute; inset: 0; }
@media (min-width: 900px) {
  .destacada { flex-direction: row; }
  .destacada__media { width: 37.5%; min-height: 0; align-self: stretch; flex-shrink: 0; }
  .destacada__body { padding: 34px; }
  .destacada__title { font-size: 30px; line-height: 38px; }
}

/* --- Grid de artículos --- */
.bgrid { display: grid; gap: 24px; width: 100%; }
@media (min-width: 700px) { .bgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .bgrid { grid-template-columns: repeat(3, 1fr); } }

.post {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.post:hover { border-color: var(--border-soft); transform: translateY(-2px); }
.post__thumb { height: 180px; width: 100%; }
.post__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.post__thumb--gold   { background: radial-gradient(50% 50% at 50% 50%, rgba(201, 169, 97, 0.35), rgba(201, 169, 97, 0.03)), var(--card-globe); }
.post__thumb--purple { background: radial-gradient(50% 50% at 50% 50%, rgba(155, 106, 214, 0.35), rgba(155, 106, 214, 0.03)), var(--card-globe); }
.post__thumb--blue   { background: radial-gradient(50% 50% at 50% 50%, rgba(106, 140, 255, 0.35), rgba(106, 140, 255, 0.03)), var(--card-globe); }
.post__thumb--teal   { background: radial-gradient(50% 50% at 50% 50%, rgba(63, 167, 184, 0.35), rgba(63, 167, 184, 0.03)), var(--card-globe); }
.post__body {
  display: flex; flex-direction: column; gap: 9px; align-items: flex-start;
  padding: 18px 22px 20px;
  flex: 1;
}
.post__tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.63px; }
.post__tag--gold { color: var(--gold); }
.post__tag--purple { color: var(--purple); }
.post__tag--blue { color: var(--blue); }
.post__tag--teal { color: var(--teal); }
.post__title { font-family: var(--sans); font-size: 17px; line-height: 23px; font-weight: 600; color: var(--text); }
.post__title a { color: inherit; }
/* toda la tarjeta es clicable a través del enlace del título */
.post__title a::after { content: ''; position: absolute; inset: 0; }
.post__sub { font-size: 13.5px; line-height: 20px; color: var(--muted); }
.post__meta { font-size: 12px; color: var(--muted-4); margin-top: auto; padding-top: 2px; }

/* --- Tarjeta de suscripción --- */
.suscribe {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-content: center;
  border: 1.5px solid rgba(155, 106, 214, 0.5);
  border-radius: 16px;
  padding: 28px 26px;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(155, 106, 214, 0.4), rgba(155, 106, 214, 0.08)),
    #241640;
}
.suscribe__title { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--text); }
.suscribe__sub { font-size: 14px; line-height: 21px; color: var(--text-3); }
.suscribe__form { display: flex; flex-direction: column; gap: 14px; width: 100%; }
.suscribe__input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-family: var(--sans); font-size: 14px; color: var(--text);
}
.suscribe__input::placeholder { color: var(--faint); }
.suscribe__input:focus { outline: none; border-color: rgba(201, 169, 97, 0.5); }
.suscribe__btn {
  width: 100%;
  background: var(--gold); color: var(--gold-ink);
  border-radius: 10px;
  padding: 13px;
  font-size: 14.5px; font-weight: 600;
  transition: filter .18s ease;
}
.suscribe__btn:hover { filter: brightness(1.08); }

/* --- Grid de recursos --- */
.rgrid { display: grid; gap: 18px; width: 100%; }
@media (min-width: 700px) { .rgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .rgrid { grid-template-columns: repeat(3, 1fr); } }

.recurso__cover {
  display: flex; align-items: center; justify-content: center;
  padding: 16px 0 2px;
}
.recurso__cover img {
  width: 150px; height: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.recurso {
  display: flex; flex-direction: column;
  background: rgba(23, 19, 31, 0.6);
  border: 1px solid rgba(42, 33, 64, 0.7);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .18s ease, transform .18s ease;
}
.recurso:hover { border-color: var(--border-soft); transform: translateY(-2px); }
.recurso__strip {
  display: flex; align-items: center; justify-content: center;
  padding: 6px 10px;
  font-family: var(--mono); font-weight: 500; font-size: 11px;
  color: var(--text-3);
}
.recurso__strip--gold   { background: radial-gradient(72% 150% at 50% 100%, rgba(201, 169, 97, 0.4), rgba(201, 169, 97, 0)), var(--card); }
.recurso__strip--purple { background: radial-gradient(72% 150% at 50% 100%, rgba(155, 106, 214, 0.4), rgba(155, 106, 214, 0)), var(--card); }
.recurso__strip--blue   { background: radial-gradient(72% 150% at 50% 100%, rgba(106, 140, 255, 0.4), rgba(106, 140, 255, 0)), var(--card); }
.recurso__strip--teal   { background: radial-gradient(72% 150% at 50% 100%, rgba(63, 167, 184, 0.4), rgba(63, 167, 184, 0)), var(--card); }
.recurso__body {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding: 18px 20px;
  flex: 1;
}
.recurso__tag { font-family: var(--mono); font-weight: 500; font-size: 10px; }
.recurso__tag--gold { color: var(--gold); }
.recurso__tag--purple { color: var(--purple); }
.recurso__tag--blue { color: var(--blue); }
.recurso__tag--teal { color: var(--teal); }
.recurso__title { font-family: var(--sans); font-size: 18px; line-height: 24px; font-weight: 600; color: var(--text); }
.recurso__sub { font-size: 13.5px; line-height: 20px; color: var(--muted); }
.recurso__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%;
  padding-top: 6px;
  margin-top: auto;
}
.recurso__precio { font-size: 18px; font-weight: 600; color: var(--gold); }
.recurso__precio--gratis { color: var(--teal); }
.recurso__btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px; font-weight: 600;
  background: var(--gold); color: var(--bg);
  white-space: nowrap;
  transition: filter .18s ease, background .18s ease;
}
.recurso__btn:hover { filter: brightness(1.08); }
.recurso__btn--outline {
  background: transparent;
  border: 1px solid rgba(201, 169, 97, 0.6);
  color: var(--gold);
}
.recurso__btn--outline:hover { background: rgba(201, 169, 97, 0.08); filter: none; }

/* ============================================================
   PÁGINA · ARTÍCULO (caso)
   ============================================================ */
.articulo { padding-top: 34px; padding-bottom: 90px; }
.articulo__cuerpo {
  max-width: 760px;
  margin-inline: auto;
  display: flex; flex-direction: column; gap: 26px; align-items: flex-start;
}
.articulo__volver {
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  color: var(--gold);
}
.articulo__volver:hover { filter: brightness(1.15); }
.articulo__pill {
  display: inline-flex;
  background: rgba(201, 169, 97, 0.15);
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 20px;
  padding: 7px 13px;
  font-family: var(--mono); font-weight: 500; font-size: 10.5px;
  color: var(--gold);
}
.articulo__title {
  font-family: var(--serif); font-weight: 500;
  font-size: 32px; line-height: 1.22;
  color: var(--text);
}
.articulo__title em { font-style: italic; color: var(--gold); }
.articulo__lead { font-size: 17px; line-height: 26px; color: var(--text-3); }
.articulo__byline {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted);
}
.articulo__byline strong { font-weight: 500; color: var(--text); }
.articulo__byline-mono { font-family: var(--mono); font-weight: 500; font-size: 12px; }
.articulo__media {
  display: flex; align-items: center; justify-content: center;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 8px 12px;
  font-family: var(--mono); font-weight: 500; font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.articulo__media--dark { background: radial-gradient(72% 160% at 50% 100%, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.03)), var(--card); }
.articulo__media--blue { background: radial-gradient(72% 160% at 50% 100%, rgba(106, 140, 255, 0.5), rgba(106, 140, 255, 0.03)), var(--card); }
.articulo__media--gold { background: radial-gradient(72% 160% at 50% 100%, rgba(201, 169, 97, 0.5), rgba(201, 169, 97, 0.03)), var(--card); }
.articulo__intro { font-size: 18px; line-height: 29px; color: var(--text); }
.articulo__h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: 26px; line-height: 34px;
  color: var(--text);
  padding-top: 6px;
}
.articulo__p { font-size: 16.5px; line-height: 27px; color: var(--text-3); }
.articulo__lista { display: flex; flex-direction: column; gap: 14px; width: 100%; padding-top: 4px; }
.articulo__lista li {
  position: relative;
  padding-left: 20px;
  font-size: 16px; line-height: 25px; color: var(--text-3);
}
.articulo__lista li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 4px;
  background: var(--gold);
}
.articulo__lista strong { font-weight: 600; color: var(--text); }
.articulo__cita {
  border-left: 3px solid rgba(201, 169, 97, 0.6);
  padding: 6px 0 6px 22px;
  width: 100%;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 22px; line-height: 31px;
  color: var(--gold);
}

/* --- Flujo paso a paso --- */
.flujo { display: flex; flex-direction: column; gap: 16px; width: 100%; padding-top: 4px; }
.flujo__paso { display: flex; gap: 16px; align-items: flex-start; }
.flujo__num {
  width: 46px; flex-shrink: 0;
  font-family: var(--serif); font-weight: 500; font-size: 30px; line-height: 1.15;
  color: var(--gold);
}
.flujo__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.flujo__txt strong { font-size: 17px; line-height: 23px; font-weight: 600; color: var(--text); }
.flujo__txt span { font-size: 15px; line-height: 22px; color: var(--muted); }

/* --- KPIs del resultado --- */
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; padding-top: 6px; }
.kpi {
  display: flex; flex-direction: column; gap: 4px;
  background: rgba(23, 19, 31, 0.5);
  border: 1px solid rgba(42, 33, 64, 0.7);
  border-radius: 12px;
  padding: 16px;
}
.kpi__valor { font-family: var(--serif); font-weight: 500; font-size: 20px; color: var(--gold); }
.kpi__label { font-size: 11.5px; line-height: 15px; color: var(--muted); }

/* --- Números del proyecto --- */
.numeros {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.08), rgba(201, 169, 97, 0.02));
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 14px;
  padding: 22px 24px;
}
.numeros__kicker { font-family: var(--mono); font-weight: 500; font-size: 10.5px; color: var(--gold); }
.numeros__grid { display: flex; flex-wrap: wrap; gap: 16px; }
.numeros__grid > div { flex: 1; min-width: 130px; display: flex; flex-direction: column; gap: 4px; }
.numeros__dato { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--text); }
.numeros__label { font-size: 12px; line-height: 16px; color: var(--muted); }

/* --- Testimonio --- */
.testimonio {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  width: 100%;
  background: rgba(23, 19, 31, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.28);
  border-radius: 18px;
  padding: 28px 24px;
}
.testimonio__comilla {
  font-family: var(--serif); font-weight: 500;
  font-size: 44px; line-height: 0.7;
  color: var(--gold);
}
.testimonio__cita {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 21px; line-height: 30px;
  color: var(--text);
}
.testimonio figcaption { display: flex; flex-direction: column; gap: 2px; }
.testimonio figcaption strong { font-size: 15px; font-weight: 600; color: var(--text); }
.testimonio figcaption span { font-size: 13px; color: var(--muted); }

/* --- CTA del caso --- */
.cta-caso {
  display: flex; flex-direction: column; gap: 18px; align-items: center;
  width: 100%;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.12), rgba(201, 169, 97, 0.03));
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 20px;
  padding: 40px 24px;
  text-align: center;
}
.cta-caso__title { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 34px; color: var(--text); }
.cta-caso__sub { font-size: 15px; line-height: 23px; color: var(--text-3); }
.cta-caso__kicker { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 2px; color: var(--gold); }
.cta-caso__contacto { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--muted); }

/* --- Imágenes reales del artículo --- */
.articulo__img { width: 100%; margin: 0; }
.articulo__img img {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: 14px;
}
.articulo__img--alta img { aspect-ratio: 4 / 3; }
.articulo__img--ancha img { aspect-ratio: 2 / 1; }
.articulo__img--retrato { display: flex; justify-content: center; }
.articulo__img--retrato img {
  width: auto; max-width: 100%; max-height: 620px;
  aspect-ratio: auto;
  object-fit: contain;
}

/* --- Lista con palomitas --- */
.lista-check { display: flex; flex-direction: column; gap: 13px; width: 100%; padding-top: 4px; }
.lista-check li {
  position: relative;
  padding-left: 26px;
  font-size: 16px; line-height: 24px; color: var(--text-3);
}
.lista-check li::before {
  content: '\2713';
  position: absolute; left: 0; top: 0;
  font-weight: 600;
  color: var(--gold);
}

/* --- Dato de impacto --- */
.impacto {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.10), rgba(201, 169, 97, 0.03));
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 14px;
  padding: 25px 29px;
}
.impacto__dato { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.2; color: var(--gold); }
.impacto__label { font-size: 14px; line-height: 20px; color: var(--muted); }

/* --- Firma editorial --- */
.articulo__firma {
  width: 100%;
  padding: 12px 0 2px;
  text-align: center;
  font-family: var(--serif); font-weight: 500;
  font-size: 30px; line-height: 1.3;
  color: var(--gold);
}

/* --- Caja de fuentes --- */
.fuente {
  display: flex; flex-direction: column; gap: 12px;
  width: 100%;
  background: rgba(23, 19, 31, 0.5);
  border: 1px solid rgba(42, 33, 64, 0.8);
  border-radius: 12px;
  padding: 18px 20px;
}
.fuente__kicker { font-family: var(--mono); font-weight: 500; font-size: 10.5px; letter-spacing: 0.5px; color: var(--muted); }
.fuente__p { font-size: 13.5px; line-height: 20px; color: #c8c1d6; }
.fuente__p--nota { color: var(--muted); }
.fuente__link { font-size: 15px; font-weight: 600; color: var(--gold); }
.fuente__link:hover { filter: brightness(1.12); }
.fuente__div { width: 100%; height: 1px; margin: 2px 0; border: 0; background: var(--border); }

@media (min-width: 900px) {
  .articulo { padding-top: 44px; padding-bottom: 100px; }
  .articulo__title { font-size: 44px; line-height: 52px; }
  .articulo__lead { font-size: 20px; line-height: 30px; }
  .articulo__intro { font-size: 19px; line-height: 30px; }
  .articulo__h2 { font-size: 30px; line-height: 38px; }
  .articulo__p { font-size: 17px; line-height: 28px; }
  .articulo__cita { font-size: 26px; line-height: 36px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .testimonio { padding: 34px; }
  .cta-caso { padding: 48px 36px; }
  .cta-caso__title { font-size: 32px; line-height: 40px; }
  .impacto__dato { font-size: 44px; }
  .articulo__firma { font-size: 36px; }
}

/* ============================================================
   Animaciones de entrada
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .reveal.in-view {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   Chatbot flotante · Neura AI
   ============================================================ */
.neura { font-family: var(--sans); }

/* --- Botón lanzador --- */
.neura__launcher {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 950;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dcc07c, var(--gold));
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(201, 169, 97, 0.35), 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}
.neura__launcher:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 34px rgba(201, 169, 97, 0.45), 0 6px 16px rgba(0, 0, 0, 0.5);
}
.neura__launcher svg { width: 26px; height: 26px; }
.neura__icon-close { display: none; }
.neura--open .neura__icon-close { display: block; }
.neura--open .neura__icon-chat { display: none; }

.neura__status {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--green);
  border: 2.5px solid var(--bg);
}
@media (prefers-reduced-motion: no-preference) {
  .neura__status::after {
    content: '';
    position: absolute;
    inset: -2.5px;
    border-radius: 50%;
    border: 2px solid var(--green);
    animation: neura-ping 2.2s ease-out infinite;
  }
  @keyframes neura-ping {
    0%   { transform: scale(1); opacity: .8; }
    70%, 100% { transform: scale(2); opacity: 0; }
  }
}

/* --- Panel --- */
.neura__panel {
  position: fixed;
  right: 20px;
  bottom: 92px;
  z-index: 949;
  width: min(380px, calc(100vw - 24px));
  height: min(600px, calc(100dvh - 116px));
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  .neura__panel {
    animation: neura-pop .22s ease;
    transform-origin: bottom right;
  }
  @keyframes neura-pop {
    from { opacity: 0; transform: translateY(10px) scale(.96); }
    to   { opacity: 1; transform: none; }
  }
}
@media (max-width: 480px) {
  .neura__panel { right: 12px; bottom: 88px; }
  .neura__launcher { right: 14px; bottom: 16px; }
}

/* --- Encabezado --- */
.neura__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--card-2);
  border-bottom: 1px solid var(--border);
}
.neura__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: radial-gradient(circle at 50% 40%, #2a2248, var(--bg-deep));
  border: 1px solid var(--border-soft);
}
.neura__avatar img { width: 100%; height: 100%; object-fit: cover; }
.neura__id { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.neura__id strong { font-size: 15px; color: var(--text); letter-spacing: .2px; }
.neura__id span { font-size: 12px; color: var(--muted); }
.neura__head .dot--green { margin-right: 2px; }
.neura__wa-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #25d366;
  transition: background .18s ease;
}
.neura__wa-link:hover { background: rgba(37, 211, 102, 0.12); }
.neura__wa-link svg { width: 20px; height: 20px; }
.neura__cerrar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-3);
  font-size: 20px;
  line-height: 1;
  transition: background .18s ease;
}
.neura__cerrar:hover { background: rgba(255, 255, 255, 0.08); }

/* --- Cuerpo / mensajes --- */
.neura__body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-soft) transparent;
}
.neura__msg {
  display: flex;
  flex-direction: column;
  max-width: 85%;
}
.neura__msg--bot { align-self: flex-start; }
.neura__msg--user { align-self: flex-end; align-items: flex-end; }
.neura__burbuja {
  padding: 11px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}
.neura__msg--bot .neura__burbuja {
  background: var(--card-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 5px;
}
.neura__msg--user .neura__burbuja {
  background: rgba(201, 169, 97, 0.16);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-bottom-right-radius: 5px;
}
.neura__burbuja strong { color: var(--gold); font-weight: 600; }
.neura__hora {
  font-size: 11px;
  color: var(--faint);
  margin-top: 4px;
  padding-inline: 4px;
}

/* Acciones dentro de una respuesta del bot */
.neura__acciones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.neura__accion {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--gold);
  color: var(--gold-ink);
  transition: filter .18s ease;
}
.neura__accion:hover { filter: brightness(1.08); }
.neura__accion--wa { background: #25d366; color: #06371a; }
.neura__accion svg { width: 15px; height: 15px; }

/* Indicador de escritura */
.neura__typing {
  display: inline-flex;
  gap: 5px;
  padding: 13px 15px;
}
.neura__typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-3);
}
@media (prefers-reduced-motion: no-preference) {
  .neura__typing i { animation: neura-typing 1.1s ease-in-out infinite; }
  .neura__typing i:nth-child(2) { animation-delay: .18s; }
  .neura__typing i:nth-child(3) { animation-delay: .36s; }
  @keyframes neura-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .5; }
    30% { transform: translateY(-4px); opacity: 1; }
  }
}

/* --- Respuestas rápidas --- */
.neura__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 14px 12px;
}
.neura__chip {
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2);
  background: var(--card-2);
  border: 1px solid var(--border-soft);
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.neura__chip:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 97, 0.08);
}
.neura__chip--wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #25d366;
  border-color: #25d366;
  color: #06371a;
  font-weight: 600;
}
.neura__chip--wa:hover {
  background: #2ee273;
  border-color: #2ee273;
  color: #06371a;
}
.neura__chip--wa svg { width: 16px; height: 16px; }

/* --- Entrada --- */
.neura__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
.neura__input {
  flex: 1;
  min-width: 0;
  background: var(--card-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 16px;
  font: inherit;
  font-size: 14px;
  color: var(--text);
}
.neura__input::placeholder { color: var(--muted-3); }
.neura__input:focus { outline: none; border-color: var(--gold); }
.neura__enviar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--gold-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter .18s ease;
}
.neura__enviar:hover { filter: brightness(1.08); }
.neura__enviar svg { width: 17px; height: 17px; margin-left: 2px; }

/* ============================================================
   Glowing Effect · port vanilla del componente de Aceternity UI
   (@aceternity/glowing-effect) — borde brillante que sigue al
   cursor con activación por proximidad · sección Membresía
   ============================================================ */
.glow-card { position: relative; }
.glow-wrap {
  position: absolute;
  inset: calc(-1 * var(--gfx-bw, 3px));
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--gfx-active, 0);
  transition: opacity .3s ease;
  -webkit-mask-image: conic-gradient(from calc((var(--gfx-start, 0) - var(--gfx-spread, 40)) * 1deg), transparent 0deg, #fff calc(var(--gfx-spread, 40) * 1deg), transparent calc(var(--gfx-spread, 40) * 2deg));
  mask-image: conic-gradient(from calc((var(--gfx-start, 0) - var(--gfx-spread, 40)) * 1deg), transparent 0deg, #fff calc(var(--gfx-spread, 40) * 1deg), transparent calc(var(--gfx-spread, 40) * 2deg));
}
.glow-fx {
  position: absolute;
  inset: 0;
  border: var(--gfx-bw, 3px) solid transparent;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, #c9a961 8%, rgba(201, 169, 97, 0) 20%),
    radial-gradient(circle at 40% 40%, #6a8cff 5%, rgba(106, 140, 255, 0) 15%),
    radial-gradient(circle at 60% 60%, #9b6ad6 5%, rgba(155, 106, 214, 0) 15%),
    radial-gradient(circle at 40% 60%, #3fa7b8 5%, rgba(63, 167, 184, 0) 15%),
    repeating-conic-gradient(from 236.84deg at 50% 50%, #c9a961 0%, #6a8cff 5%, #9b6ad6 10%, #3fa7b8 15%, #c9a961 20%);
  background-attachment: fixed;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0) border-box;
  mask-composite: exclude;
}
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
  .glow-wrap { display: none; }
}
