/* ============================================================
   FOND · fond-consulting.com
   Sistema de diseño — hecho a mano, sin frameworks.
   Concepto: «lo invisible, hecho visible» — de la tinta al papel.
   ============================================================ */

/* ---------- Fuentes (autoalojadas) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrument-sans.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/fonts/instrument-sans-italic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Fragment Mono';
  src: url('../assets/fonts/fragment-mono.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Tinta (oscuros) */
  --ink-950: #041613;
  --ink-900: #06201C;
  --ink-850: #082622;
  --ink-800: #0C2E29;
  --ink-700: #123D3A;
  --ink-600: #1B4B46;

  /* Papel (claros) */
  --paper: #F5F4ED;
  --paper-2: #EDECE2;
  --surface: #FFFFFF;

  /* Texto */
  --text: #131714;
  --body: #3F4844;
  --muted: #6A736E;
  --text-inv: #F3F6F1;
  --body-inv: #B9C8C0;
  --muted-inv: #879C92;

  /* Acentos */
  --gold: #B7952F;
  --gold-2: #D9BC5B;
  --gold-3: #EFDD9A;
  --maroon: #7A2E3A;
  --maroon-2: #93414E;
  --life: #70B37D;      /* el verde de la «O» del logo */
  --blue: #222C45;
  --orange: #F6AD23;
  --purple: #8A5DB7;

  /* Líneas */
  --line: #E2E0D3;
  --line-2: #D2D0C1;
  --line-inv: rgba(233, 240, 233, 0.14);

  /* Tipografía */
  --serif: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Fragment Mono', 'SF Mono', 'Menlo', monospace;

  /* Métricas */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 36px);
  --r-card: 18px;
  --r-panel: clamp(20px, 3.5vw, 40px);
  --nav-h: 64px;

  /* Movimiento */
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.7s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.letter-open { overflow: hidden; }

::selection { background: var(--gold-2); color: var(--ink-900); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 780px; }

/* Tipografía de detalle */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.on-dark .eyebrow { color: var(--gold-2); }

h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; }
h1 em, h2 em, h3 em, .quote em {
  font-style: italic;
  font-weight: 480;
  color: var(--gold);
}
.on-dark h1 em, .on-dark h2 em { color: var(--gold-2); }

.h-display {
  font-size: clamp(2.7rem, 6.2vw + 0.6rem, 5.6rem);
  font-weight: 470;
  line-height: 1.04;
  letter-spacing: -0.022em;
}
.h-sec {
  font-size: clamp(1.9rem, 3vw + 0.6rem, 3.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--ink-700);
  text-wrap: balance;
}
.on-dark .h-sec { color: var(--text-inv); }

.lead {
  font-size: clamp(1.08rem, 0.6vw + 0.9rem, 1.3rem);
  line-height: 1.6;
  color: var(--body);
  text-wrap: pretty;
}
.on-dark .lead { color: var(--body-inv); }

.sec-head { max-width: 820px; margin-bottom: clamp(40px, 6vw, 72px); }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head .h-sec { margin-bottom: 18px; }

section { padding: clamp(72px, 9vw, 132px) 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: 999px;
  transition: transform 0.35s var(--ease-out), background 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.97); }

.btn-gold {
  background: linear-gradient(140deg, var(--gold-2), var(--gold));
  color: var(--ink-900);
  box-shadow: 0 10px 30px -12px rgba(183, 149, 47, 0.55);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -12px rgba(183, 149, 47, 0.7);
}

.btn-ink {
  background: var(--ink-700);
  color: var(--text-inv);
}
.btn-ink:hover { background: var(--ink-800); transform: translateY(-2px); }

.btn-ghost {
  border: 1px solid var(--line-2);
  color: var(--ink-700);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--ink-700); transform: translateY(-2px); }
.on-dark .btn-ghost { border-color: var(--line-inv); color: var(--text-inv); }
.on-dark .btn-ghost:hover { border-color: var(--gold-2); color: var(--gold-3); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink-700);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 3px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.link-arrow .arr { transition: transform 0.3s var(--ease-out); }
.link-arrow:hover { border-color: var(--gold); color: var(--gold); }
.link-arrow:hover .arr { transform: translateX(4px); }
.on-dark .link-arrow { color: var(--body-inv); border-color: var(--line-inv); }
.on-dark .link-arrow:hover { color: var(--gold-2); border-color: var(--gold-2); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 200;
  pointer-events: none;
  transition: transform 0.45s var(--ease-soft);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }

.nav-pill {
  pointer-events: auto;
  max-width: calc(var(--max) - 2 * var(--gutter));
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 12px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 999px;
  background: rgba(6, 30, 26, 0.82);
  border: 1px solid rgba(240, 245, 238, 0.1);
  box-shadow: 0 18px 50px -22px rgba(4, 22, 19, 0.6);
  transition: background 0.4s ease, border-color 0.4s ease;
}
@media (max-width: 1240px) {
  .nav-pill { margin: 0 var(--gutter); }
}

.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo svg { height: 26px; width: auto; display: block; }
.nav-logo .logo-letters { fill: var(--text-inv); transition: fill 0.4s ease; }
.nav-logo .logo-ring { fill: var(--life); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--body-inv);
  transition: color 0.25s ease;
  padding: 6px 2px;
}
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--gold-2); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-client {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted-inv);
  padding: 8px 10px;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.nav-client:hover { color: var(--text-inv); }
/* Selector de idioma como pastilla con globo: se distinga de los enlaces */
.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 6px 11px;
}
.nav-cta {
  font-size: 0.88rem;
  padding: 11px 20px;
  white-space: nowrap;
}

/* Nav sobre papel */
.nav.on-paper .nav-pill {
  background: rgba(245, 244, 237, 0.92);
  border-color: var(--line);
  box-shadow: 0 14px 44px -24px rgba(18, 61, 58, 0.35);
}
.nav.on-paper .nav-logo .logo-letters { fill: var(--blue); }
.nav.on-paper .nav-links a { color: var(--body); }
.nav.on-paper .nav-links a:hover, .nav.on-paper .nav-links a[aria-current="true"] { color: var(--gold); }
.nav.on-paper .nav-client { color: var(--muted); }
.nav.on-paper .nav-client:hover { color: var(--ink-700); }

/* Menú móvil */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 1.6px;
  background: var(--text-inv);
  transition: transform 0.35s var(--ease-soft), opacity 0.25s ease, background 0.35s ease;
}
.nav.on-paper .nav-burger span { background: var(--ink-700); }
.nav-burger span:nth-child(1) { top: 17px; }
.nav-burger span:nth-child(2) { top: 26px; }
body.menu-open .nav-burger span { background: var(--text-inv); }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--ink-900);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s 0.4s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transition: opacity 0.4s ease; }
.mobile-menu ul { list-style: none; display: grid; gap: 6px; }
.mobile-menu a.mm-link {
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 470;
  color: var(--text-inv);
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  padding: 8px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease-soft), transform 0.5s var(--ease-soft), color 0.25s ease;
}
.mobile-menu a.mm-link:hover { color: var(--gold-2); }
.mobile-menu a.mm-link .mm-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold-2);
  letter-spacing: 0.1em;
}
body.menu-open .mm-link { opacity: 1; transform: translateY(0); }
body.menu-open .mm-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-menu li:nth-child(2) .mm-link { transition-delay: 0.1s; }
.mobile-menu li:nth-child(3) .mm-link { transition-delay: 0.14s; }
.mobile-menu li:nth-child(4) .mm-link { transition-delay: 0.18s; }
.mobile-menu li:nth-child(5) .mm-link { transition-delay: 0.22s; }
.mobile-menu li:nth-child(6) .mm-link { transition-delay: 0.26s; }
.mobile-menu .mm-foot {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}
.mobile-menu .btn-ghost { border-color: var(--line-inv); color: var(--text-inv); }
body.menu-open .mm-foot { opacity: 1; }

@media (max-width: 960px) {
  .nav-links, .nav-client { display: none; }
  .nav-burger { display: block; }
  .nav-pill { padding: 0 8px 0 20px; }
}

/* ---------- Panel oscuro (hero + manifiesto / cta) ---------- */
.panel-dark {
  position: relative;
  background:
    radial-gradient(120% 90% at 70% 0%, rgba(27, 75, 70, 0.5), transparent 60%),
    linear-gradient(175deg, var(--ink-900) 0%, var(--ink-950) 100%);
  color: var(--text-inv);
  border-radius: 0 0 var(--r-panel) var(--r-panel);
  overflow: clip;
}
.panel-dark.panel-top { border-radius: var(--r-panel); margin: 0 clamp(0px, 1vw, 14px); }

/* Grano fino sobre tinta */
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 70px) 0 90px;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.6s ease 0.25s;
}
.gl-on #hero-canvas { opacity: 1; }
/* Respaldo sin WebGL: aurora + barrido css */
.panel-dark.no-gl::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 72% 38%, rgba(112, 179, 125, 0.16), transparent 65%),
    radial-gradient(45% 40% at 30% 70%, rgba(217, 188, 91, 0.1), transparent 60%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 { max-width: 15ch; margin-bottom: 28px; text-wrap: balance; }
.hero .lead { max-width: 56ch; margin-bottom: 40px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  font-size: 0.9rem;
  color: var(--muted-inv);
}
.hero-note strong { color: var(--body-inv); font-weight: 500; }
.method-ceo-message {
  width: min(100%, 500px);
  margin: 40px 0 0 auto;
  padding: 20px 22px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(217, 188, 91, 0.06);
}
.method-ceo-message > p {
  margin-bottom: 10px;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.method-ceo-message button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  color: var(--ink-700);
  font-family: var(--serif);
  font-size: 1.16rem;
  font-weight: 470;
  line-height: 1.35;
  text-align: left;
  transition: color 0.25s ease;
}
.letter-envelope {
  width: 40px;
  flex: 0 0 40px;
  color: var(--gold);
}
.letter-envelope svg { display: block; width: 100%; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.method-ceo-message .message-title { flex: 0 1 auto; }
.method-ceo-message .message-arrow {
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.method-ceo-message button:hover { color: var(--gold); }
.method-ceo-message button:hover .message-arrow { transform: translateX(4px); }

.scroll-hint {
  position: absolute;
  bottom: -46px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-hint svg { display: block; overflow: visible; }
.scroll-hint path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Un haz de luz que se posa: nace en degradado, nunca al 100 %,
   respira despacio y se despide apenas deslizándose. */
.scroll-hint svg { animation: sh-exit 4.8s var(--ease-soft) infinite; }
@keyframes sh-exit {
  0%, 76% { transform: translateY(0); opacity: 0.78; }
  92%, 100% { transform: translateY(6px); opacity: 0; }
}
.scroll-hint path { stroke-width: 1.25; }
.sh-stem {
  stroke: url(#sh-luz);
  stroke-dasharray: 51;
  stroke-dashoffset: 51;
  animation: sh-draw 4.8s var(--ease-soft) infinite;
}
@keyframes sh-draw {
  0% { stroke-dashoffset: 51; }
  30% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}
.sh-wing {
  stroke: rgba(217, 188, 91, 0.8);
  stroke-dasharray: 10;
  stroke-dashoffset: 10;
  animation: sh-wing 4.8s var(--ease-soft) infinite;
}
@keyframes sh-wing {
  0%, 28% { stroke-dashoffset: 10; }
  42% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 0; }
}

/* ---------- Manifiesto (texto que se ilumina al hacer scroll) ---------- */
.manifesto {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(100px, 12vw, 170px);
}
.manifesto .container { max-width: 1000px; }
.scrub {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw + 0.5rem, 3.3rem);
  font-weight: 450;
  line-height: 1.28;
  letter-spacing: -0.014em;
}
.scrub .w {
  color: rgba(243, 246, 241, 0.16);
  transition: color 0.35s ease;
}
.scrub .w.lit { color: var(--text-inv); }
.scrub .w.gold.lit { color: var(--gold-2); font-style: italic; }
.manifesto-tail {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease-soft), transform 0.7s var(--ease-soft);
}
.manifesto-tail.is-in { opacity: 1; transform: none; }
.manifesto-tail .eyebrow { font-size: 0.8rem; }
@keyframes pulse-dot {
  0%, 100% { transform: scale(0.75); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
}

/* ---------- Marquesina de clientes ---------- */
.clients { padding: clamp(52px, 6vw, 76px) 0 0; }
.clients .eyebrow { justify-content: center; width: 100%; margin-bottom: 30px; }
.clients .eyebrow::after {
  content: '';
  width: 22px; height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .set { display: contents; }
.marquee-track .set > span {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 470;
  color: var(--muted);
  white-space: nowrap;
  padding: 0 clamp(20px, 3vw, 38px);
  display: inline-flex;
  align-items: center;
  gap: clamp(40px, 6vw, 76px);
}
.marquee-track .set > span::after {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  flex-shrink: 0;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Método ---------- */
.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.metodo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(26px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s ease;
}
.metodo-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-2);
  box-shadow: 0 30px 60px -34px rgba(18, 61, 58, 0.4);
}
.metodo-card .m-num {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 30px;
}
.metodo-card .m-icon { height: 84px; margin-bottom: 26px; color: var(--ink-700); }
.metodo-card .m-icon svg { height: 100%; width: auto; overflow: visible; }
.metodo-card h3 {
  font-size: 1.45rem;
  font-weight: 520;
  color: var(--ink-700);
  margin-bottom: 12px;
}
.metodo-card p { font-size: 0.98rem; color: var(--body); }

/* Iconos animados del método */
.m-icon .draw { stroke-dasharray: 300; stroke-dashoffset: 300; }
.is-in .m-icon .draw { animation: draw-in 1.4s var(--ease-soft) 0.3s forwards; }
@keyframes draw-in { to { stroke-dashoffset: 0; } }
.m-icon .bar { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.is-in .m-icon .bar { animation: bar-up 0.9s var(--ease-out) forwards; }
.is-in .m-icon .bar:nth-child(2) { animation-delay: 0.15s; }
.is-in .m-icon .bar:nth-child(3) { animation-delay: 0.3s; }
.is-in .m-icon .bar:nth-child(4) { animation-delay: 0.45s; }
.is-in .m-icon .bar:nth-child(5) { animation-delay: 0.6s; }
@keyframes bar-up { to { transform: scaleY(1); } }
.m-icon .vertex { opacity: 0; }
.is-in .m-icon .vertex { animation: vertex-pop 0.5s var(--ease-out) forwards; }
.is-in .m-icon .vertex:nth-of-type(2) { animation-delay: 0.9s; }
.is-in .m-icon .vertex:nth-of-type(3) { animation-delay: 1.05s; }
.is-in .m-icon .vertex:nth-of-type(4) { animation-delay: 1.2s; }
.is-in .m-icon .vertex:nth-of-type(5) { animation-delay: 1.35s; }
.is-in .m-icon .vertex:nth-of-type(6) { animation-delay: 1.5s; }
@keyframes vertex-pop {
  from { opacity: 0; transform: scale(0.4); transform-box: fill-box; transform-origin: center; }
  to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; }
}
.m-icon .needle {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: rotate(-120deg);
}
.is-in .m-icon .needle { animation: needle-settle 1.6s var(--ease-out) 0.3s forwards; }
@keyframes needle-settle {
  0% { transform: rotate(-120deg); }
  60% { transform: rotate(28deg); }
  80% { transform: rotate(8deg); }
  100% { transform: rotate(16deg); }
}

/* ---------- Datos que avalan ---------- */
.stats {
  background: var(--surface);
  border-block: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
.stat-col { position: relative; padding-left: 22px; }
.stat-col::before {
  content: '';
  position: absolute;
  left: 0; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}
.stat-col .s-n {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 3.4vw, 3.6rem);
  font-weight: 460;
  line-height: 1;
  color: var(--ink-700);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  font-variant-numeric: tabular-nums;
}
.stat-col .s-n .s-x { font-size: 0.6em; }
.stat-col .s-l { font-size: 0.95rem; color: var(--body); margin-bottom: 14px; max-width: 34ch; }
.stat-col .s-src {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.stat-col .s-src a {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: color 0.25s ease;
}
.stat-col .s-src a:hover { color: var(--maroon); }

/* ---------- Plataforma (panel oscuro) ---------- */
.panel-plat {
  position: relative;
  background:
    radial-gradient(90% 70% at 20% 10%, rgba(27, 75, 70, 0.55), transparent 60%),
    linear-gradient(160deg, var(--ink-850) 0%, var(--ink-950) 90%);
  color: var(--text-inv);
  border-radius: var(--r-panel);
  margin: 0 clamp(0px, 1vw, 14px);
  overflow: clip;
}
.plat-grid {
  display: grid;
  grid-template-columns: minmax(340px, 5fr) 7fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.plat-tabs { display: flex; flex-direction: column; gap: 6px; }
.plat-tab {
  text-align: left;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
  position: relative;
}
.plat-tab:hover { background: rgba(240, 246, 240, 0.045); }
.plat-tab[aria-selected="true"] {
  background: rgba(240, 246, 240, 0.06);
  border-color: var(--line-inv);
}
.plat-tab .pt-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.plat-tab .pt-n {
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--gold-2);
  letter-spacing: 0.1em;
}
.plat-tab h3 {
  font-size: 1.16rem;
  font-weight: 520;
  color: var(--text-inv);
}
.plat-tab p {
  font-size: 0.92rem;
  color: var(--body-inv);
  margin-top: 8px;
  line-height: 1.55;
  display: none;
}
.plat-tab[aria-selected="true"] p { display: block; }
.plat-tab .pt-bar {
  position: absolute;
  left: -1px; top: 16px; bottom: 16px;
  width: 2px;
  border-radius: 2px;
  background: var(--gold-2);
  transform: scaleY(0);
  transition: transform 0.4s var(--ease-out);
}
.plat-tab[aria-selected="true"] .pt-bar { transform: scaleY(1); }

.plat-visual { position: relative; }

/* Viñetas de producto: evocan Smartest sin fotocopiarlo */
.vig-stage {
  position: relative;
  min-width: 0;
  max-width: 100%;
  aspect-ratio: 6 / 5;
  background: linear-gradient(165deg, var(--ink-800), var(--ink-850));
  border: 1px solid var(--line-inv);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 50px 110px -40px rgba(2, 12, 10, 0.85);
}
.vig {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(18px, 2.6vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s 0.5s;
}
.vig.active { opacity: 1; visibility: visible; transition: opacity 0.5s ease; }
.vig-tag {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--muted-inv);
}

/* Ventana de la app: miniatura fiel de Smartest dentro del marco de la web */
.app-win {
  flex: 1;
  min-height: 0;
  min-width: 0;
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FBFCFB;
  border: 1px solid #E4E7E2;
  border-radius: 14px;
  padding: 16px 20px 18px;
  box-shadow: 0 34px 80px -32px rgba(2, 12, 10, 0.85);
}
.aw-tabs {
  display: flex;
  justify-content: center;
  font-size: 0.84rem;
  color: #8A938E;
}
.aw-tabs span { padding: 5px 18px; border-left: 1px solid #D8DCD5; }
.aw-tabs span:last-child { border-right: 1px solid #D8DCD5; }
.aw-tabs span.active { color: #1E2A26; font-weight: 600; }

/* V1 · radar de equipo (como en Smartest) */
.vig-radar svg { width: 100%; height: auto; flex: 1; min-height: 0; }
.l-grid { fill: none; stroke: #DFE3DC; }
.l-axis { stroke: #E7EAE4; }
.l-team {
  fill: rgba(112, 179, 125, 0.16);
  stroke: #70B37D;
  stroke-width: 2.5;
  stroke-linejoin: round;
}
.vig.active .l-team {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: vig-draw 1.5s var(--ease-soft) 0.2s forwards;
}
@keyframes vig-draw { to { stroke-dashoffset: 0; } }
.l-vertex { fill: #222C45; stroke: #79B17E; stroke-width: 2; opacity: 0; }
.vig.active .l-vertex { animation: vertex-pop 0.45s var(--ease-out) forwards; }
.vig.active .l-vertex:nth-of-type(1) { animation-delay: 0.9s; }
.vig.active .l-vertex:nth-of-type(2) { animation-delay: 1.05s; }
.vig.active .l-vertex:nth-of-type(3) { animation-delay: 1.2s; }
.vig.active .l-vertex:nth-of-type(4) { animation-delay: 1.35s; }
.vig.active .l-vertex:nth-of-type(5) { animation-delay: 1.5s; }
.l-label { font-family: var(--sans); font-size: 12.5px; fill: #3F4844; }
.mini-rows { display: grid; gap: 9px; margin-top: 4px; }
.app-win .mr-av { background: #F1F3EE; border-color: #DCE0DA; color: #6A736E; }
.app-win .mr-track { background: #ECEFE9; }
.app-win .mr-val { color: #6A736E; }
.mini-row {
  display: grid;
  grid-template-columns: 28px 1fr 42px;
  align-items: center;
  gap: 12px;
}
.mini-row .mr-av {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(243, 246, 241, 0.07);
  border: 1px solid var(--line-inv);
  color: var(--body-inv);
  font-family: var(--mono);
  font-size: 0.52rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mini-row .mr-track {
  height: 6px;
  border-radius: 3px;
  background: rgba(243, 246, 241, 0.08);
  overflow: hidden;
}
.mini-row .mr-fill {
  height: 100%;
  border-radius: 3px;
  width: 0;
  transition: width 1.1s var(--ease-soft) 0.9s;
}
.vig.active .mr-fill { width: var(--w); }
.mr-fill.f-g { background: var(--life); }
.mr-fill.f-o { background: var(--orange); }
.mr-fill.f-p { background: var(--purple); }
.mini-row .mr-val {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--muted-inv);
  text-align: right;
}

/* V2 · patrón de riesgo */
.vig-pattern { gap: 0; }
.p-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.p-chip {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-inv);
  color: var(--body-inv);
  opacity: 0.5;
}
.p-chip.hi-g { border-color: var(--gold-2); color: var(--gold-3); opacity: 1; }
.p-chip.hi-m { border-color: var(--maroon-2); color: #E8AFB8; opacity: 1; }
.vig.active .p-chip { animation: chip-in 0.5s ease backwards; }
.vig.active .p-chip:nth-child(1) { animation-delay: 0.15s; }
.vig.active .p-chip:nth-child(2) { animation-delay: 0.3s; }
.vig.active .p-chip:nth-child(3) { animation-delay: 0.45s; }
.vig.active .p-chip:nth-child(4) { animation-delay: 0.6s; }
.vig.active .p-chip:nth-child(5) { animation-delay: 0.75s; }
@keyframes chip-in {
  from { opacity: 0; transform: translateY(8px); }
}
.p-link {
  width: 1px;
  height: 52px;
  margin: 6px auto;
  background: linear-gradient(var(--gold-2), rgba(217, 188, 91, 0.15));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-soft) 1s;
}
.vig.active .p-link { transform: scaleY(1); }
.p-card {
  background: rgba(4, 22, 19, 0.72);
  border: 1px solid rgba(217, 188, 91, 0.42);
  border-radius: 14px;
  padding: 20px 24px;
  max-width: 360px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease 1.45s, transform 0.6s var(--ease-soft) 1.45s;
}
.vig.active .p-card { opacity: 1; transform: none; }
.p-card .pc-k {
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.16em;
  color: var(--gold-2);
  display: block;
  margin-bottom: 8px;
}
.p-card h4 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-inv);
  margin-bottom: 6px;
}
.p-card p { font-size: 0.82rem; color: var(--body-inv); line-height: 1.55; }
.p-card .pc-tag {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  color: var(--muted-inv);
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  padding: 5px 10px;
}

/* V3 · Tigo (como en Smartest) */
.tg-band {
  background: #DFEDE0;
  color: #4A5550;
  font-size: 0.78rem;
  text-align: center;
  padding: 9px 12px;
  border-radius: 8px;
  min-width: 0;
  overflow-wrap: break-word;
}
.tg-msg {
  flex: 1;
  min-height: 0;
  padding: 10px 6px;
  color: #3F4844;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: pre-line;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #D5DCD6 transparent;
}
.tg-msg::-webkit-scrollbar { width: 6px; }
.tg-msg::-webkit-scrollbar-thumb { background: #D5DCD6; border-radius: 3px; }
.tg-msg::-webkit-scrollbar-track { background: transparent; }
.tg-msg strong { font-weight: 600; color: #2A3530; }
.tg-msg em { font-style: italic; color: #5A645E; }
.tg-caret {
  display: inline-block;
  width: 1.5px;
  height: 1em;
  background: #70B37D;
  vertical-align: -2px;
  margin-left: 1px;
  animation: tg-caret 1s steps(2) infinite;
}
@keyframes tg-caret { 50% { opacity: 0; } }
.tg-inputbar {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #CFE0D2;
  background: #F2F7F2;
  border-radius: 999px;
  padding: 11px 18px;
  color: #98A29B;
  font-size: 0.9rem;
}
.tg-inputbar .send { margin-left: auto; color: #79B17E; font-size: 1.05rem; }
.plat-cta {
  margin-top: clamp(40px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.plat-cta .micro {
  font-size: 0.85rem;
  color: var(--muted-inv);
  max-width: 30ch;
}

/* ---------- Servicios ---------- */
.serv-intro { max-width: 700px; }
.serv-list { border-top: 1px solid var(--line-2); margin-top: clamp(36px, 5vw, 60px); }
.serv-item { border-bottom: 1px solid var(--line-2); }
.serv-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(22px, 3vw, 34px) 4px;
  text-align: left;
  transition: padding 0.3s ease;
}
.serv-head .sv-n {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.serv-head h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-weight: 490;
  color: var(--ink-700);
  transition: color 0.3s ease, transform 0.45s var(--ease-out);
  transform-origin: left center;
}
.serv-head:hover h3 { color: var(--gold); transform: translateX(6px); }
.serv-head .sv-title {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 0;
  transform-origin: left center;
  transition: transform 0.45s var(--ease-out);
}
.serv-head:hover .sv-title { transform: translateX(6px); }
.serv-head:hover .sv-title h3 { transform: none; }
.serv-head .sv-tag {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-3);
  background: rgba(183, 149, 47, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.serv-head .sv-count {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.serv-head .sv-plus {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  position: relative;
  flex-shrink: 0;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.serv-head .sv-plus::before, .serv-head .sv-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 12px; height: 1.4px;
  background: var(--ink-700);
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--ease-out), background 0.3s ease;
}
.serv-head .sv-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.serv-item.open .sv-plus { background: var(--ink-700); border-color: var(--ink-700); }
.serv-item.open .sv-plus::before, .serv-item.open .sv-plus::after { background: var(--paper); }
.serv-item.open .sv-plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.serv-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.55s var(--ease-soft);
}
.serv-item.open .serv-body { grid-template-rows: 1fr; }
.serv-body > div { overflow: hidden; }
.serv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 40px;
  padding: 6px 4px 36px;
}
.serv-cell {
  padding: 16px 0;
  border-top: 1px dashed var(--line);
}
.serv-cell:nth-child(-n+2) { border-top: none; }
.serv-cell h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.serv-cell p { font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.serv-grid.has-more { padding-bottom: 16px; }
.serv-more { padding: 0 4px 34px; }
.serv-more a {
  display: inline;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-700);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--gold-3);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.serv-more a em { font-style: italic; }
.serv-more a:hover { color: var(--gold); text-decoration-color: var(--gold); }
@keyframes tag-ping {
  0% { box-shadow: 0 0 0 0 rgba(183, 149, 47, 0.35); }
  55% { box-shadow: 0 0 0 9px rgba(183, 149, 47, 0); }
  100% { box-shadow: 0 0 0 0 rgba(183, 149, 47, 0); }
}
.sv-tag { animation: tag-ping 3.6s ease-out infinite; }
.serv-item.open .sv-tag { animation: none; }
@media (prefers-reduced-motion: reduce) { .sv-tag { animation: none; } }

/* ---------- Contextos ---------- */
.ctx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.ctx-card {
  position: relative;
  background: var(--ink-700);
  color: var(--text-inv);
  border-radius: var(--r-card);
  padding: clamp(28px, 3vw, 40px);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  overflow: clip;
  transition: transform 0.5s var(--ease-out);
}
.ctx-card:hover { transform: translateY(-6px); }
.ctx-card::before {
  content: '';
  position: absolute;
  top: -70px; right: -70px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 246, 241, 0.07), transparent 68%);
  pointer-events: none;
}
.ctx-card:nth-child(2) { background: var(--maroon); }
.ctx-card:nth-child(3) { background: var(--blue); }
.ctx-card .cx-k {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: auto;
}
.ctx-card h3 {
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  font-weight: 500;
  line-height: 1.18;
  margin: 18px 0 12px;
}
.ctx-card p { font-size: 0.94rem; color: rgba(243, 246, 241, 0.78); line-height: 1.6; }

/* ---------- Testimonio ---------- */
.testi { background: var(--surface); border-block: 1px solid var(--line); }
.testi .container { max-width: 1000px; }
.quote-mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--gold-2);
  display: block;
  margin-bottom: 26px;
}
.quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw + 0.4rem, 2.5rem);
  font-weight: 450;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink-700);
  text-wrap: pretty;
  margin-bottom: 40px;
}
.quote-who {
  display: flex;
  align-items: center;
  gap: 18px;
}
.quote-who .qw-img {
  width: 60px; height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ink-700);
  flex-shrink: 0;
}
.quote-who .qw-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: luminosity;
  opacity: 0.94;
}
.quote-who .qw-name { font-weight: 600; font-size: 1rem; color: var(--text); }
.quote-who .qw-role { font-size: 0.86rem; color: var(--muted); }
.quote-who .qw-role a { color: var(--gold); border-bottom: 1px solid transparent; }
.quote-who .qw-role a:hover { border-color: currentColor; }
.quote-more { margin-top: 34px; }
.quote-more summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-700);
}
.quote-more summary::-webkit-details-marker { display: none; }
.quote-more summary::after {
  content: '+';
  font-family: var(--mono);
  color: var(--gold);
  transition: transform 0.3s ease;
}
.quote-more[open] summary::after { transform: rotate(45deg); }
.quote-more summary:hover { color: var(--gold); }
.quote-more .qm-body { max-width: 72ch; }
.quote-more .qm-body p {
  font-size: 0.97rem;
  color: var(--body);
  margin-top: 16px;
  line-height: 1.7;
}

/* ---------- Equipo ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(24px, 3vw, 34px);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px -34px rgba(18, 61, 58, 0.35);
}
.t-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 16px;
}
.t-ring {
  width: 92px; height: 92px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-600), var(--ink-800));
  border: 2px solid var(--gold-2);
}
.t-ring img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02) brightness(1.04);
  mix-blend-mode: luminosity;
  opacity: 0.96;
}
.team-card h3 { font-size: 1.2rem; font-weight: 530; color: var(--text); line-height: 1.2; }
.team-card .t-role {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 6px;
}
.team-card .t-bio { font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.team-card .t-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 450;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--ink-700);
  margin-top: 12px;
  padding-left: 14px;
  border-left: 2px solid var(--gold-2);
}

/* ---------- Mensaje del CEO ---------- */
.ceo-letter-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text);
  overflow: hidden;
  box-shadow: 0 34px 100px -34px rgba(4, 22, 19, 0.72);
}
.ceo-letter-dialog::backdrop {
  background: rgba(4, 22, 19, 0.72);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}
.letter-paper {
  position: relative;
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  padding: clamp(44px, 7vw, 84px) clamp(28px, 8vw, 92px) clamp(38px, 6vw, 72px);
  background:
    radial-gradient(circle at 15% 8%, rgba(217, 188, 91, 0.12), transparent 24%),
    linear-gradient(155deg, #FFFEF9 0%, #FAF7EC 100%);
  border-top: 4px solid var(--gold-2);
  scrollbar-color: var(--line-2) transparent;
}
.letter-close {
  position: sticky;
  z-index: 2;
  top: calc(12px - clamp(44px, 7vw, 84px));
  margin: calc(16px - clamp(44px, 7vw, 84px)) calc(16px - clamp(28px, 8vw, 92px)) 6px auto;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 254, 249, 0.94);
  color: var(--ink-700);
  box-shadow: 0 10px 26px -18px rgba(4, 22, 19, 0.65);
  font-size: 1.65rem;
  line-height: 1;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.letter-close:hover { transform: rotate(5deg); border-color: var(--gold); }
.letter-head, .letter-body, .letter-signature, .letter-linkedin { max-width: 66ch; margin-left: auto; margin-right: auto; }
.letter-head { padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.letter-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink-700);
  text-wrap: balance;
}
.letter-date { margin-top: 18px; color: var(--muted); font-size: 0.88rem; }
.letter-body { padding-top: 30px; }
.letter-body p {
  color: var(--body);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 0.35vw + 0.98rem, 1.2rem);
  line-height: 1.78;
  margin-bottom: 20px;
}
.letter-body p:first-child { color: var(--text); font-size: clamp(1.14rem, 0.55vw + 1rem, 1.34rem); }
.letter-signature {
  padding: 8px 0 30px;
}
.letter-signature-space { display: flex; align-items: flex-end; min-height: 76px; margin-bottom: 4px; }
.letter-sign-img {
  display: block;
  height: clamp(64px, 8vw, 88px);
  width: auto;
  margin-left: clamp(24px, 5vw, 48px);
  opacity: 0.92;
  user-select: none;
  pointer-events: none;
}
.letter-signer { display: flex; align-items: center; gap: 14px; }
.letter-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  overflow: hidden;
  border: 2px solid var(--gold-2);
  border-radius: 50%;
  background: var(--ink-700);
}
.letter-avatar img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.letter-signer strong { display: block; font-family: var(--serif); font-size: 1.02rem; color: var(--ink-700); }
.letter-signer small { display: block; margin-top: 2px; color: var(--muted); font-size: 0.8rem; }
.letter-linkedin {
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}
.letter-linkedin p { color: var(--body); font-family: var(--serif); font-size: 1rem; line-height: 1.7; }
.letter-linkedin .letter-postscript-label { margin-bottom: 8px; color: var(--gold); font-size: 1.08rem; font-style: italic; }
.letter-linkedin a {
  display: inline-block;
  margin-top: 12px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(183, 149, 47, 0.45);
  color: var(--ink-700);
  font-size: 0.92rem;
  font-weight: 600;
}
.letter-linkedin a:hover { color: var(--gold); border-color: currentColor; }

/* ---------- CTA final ---------- */
.panel-cta {
  position: relative;
  background:
    radial-gradient(100% 80% at 80% 100%, rgba(27, 75, 70, 0.55), transparent 55%),
    linear-gradient(200deg, var(--ink-900) 0%, var(--ink-950) 100%);
  color: var(--text-inv);
  border-radius: var(--r-panel);
  margin: 0 clamp(0px, 1vw, 14px) 14px;
  overflow: clip;
}
.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.cta-copy .h-sec { margin: 22px 0 18px; }
.cta-copy .lead { margin-bottom: 18px; }
.cta-explain {
  font-size: 0.95rem;
  color: var(--muted-inv);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 54ch;
}
.cta-explain strong { color: var(--body-inv); font-weight: 600; }
.cta-steps { list-style: none; display: grid; gap: 18px; }
.cta-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--body-inv);
  line-height: 1.6;
}
.cta-steps .cs-n {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--gold-2);
  padding-top: 5px;
}
.cta-direct {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-inv);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  font-size: 0.9rem;
  color: var(--muted-inv);
}
.cta-direct a { color: var(--body-inv); transition: color 0.25s ease; }
.cta-direct a:hover { color: var(--gold-2); }

/* Formulario */
.form-card {
  background: var(--paper);
  color: var(--text);
  border-radius: 22px;
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 50px 110px -40px rgba(2, 12, 10, 0.9);
}
.form-card .lbl {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.form-card h3 {
  font-size: 1.5rem;
  font-weight: 520;
  color: var(--ink-700);
  margin-bottom: 26px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--body);
  margin-bottom: 7px;
}
.field input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input::placeholder { color: #A6ACA4; }
.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(183, 149, 47, 0.16);
}
.form-card .btn { width: 100%; margin-top: 8px; }
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
}
.consent input[type="checkbox"] {
  accent-color: var(--gold);
  width: 17px;
  height: 17px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.consent label {
  font-size: 0.8rem;
  color: var(--body);
  line-height: 1.5;
  cursor: pointer;
}
.consent label a { color: var(--gold); font-weight: 600; }
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
  line-height: 1.5;
}
.form-note a { color: var(--gold); font-weight: 600; }
.form-error {
  display: none;
  font-size: 0.85rem;
  color: var(--maroon);
  background: rgba(122, 46, 58, 0.08);
  border: 1px solid rgba(122, 46, 58, 0.2);
  border-radius: 10px;
  padding: 10px 14px;
  margin-top: 14px;
  text-align: center;
}
#form-body { transition: opacity 0.25s ease, transform 0.25s ease; }
.btn .spin {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(6, 32, 28, 0.3);
  border-top-color: var(--ink-900);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: none; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { font-size: 0.95rem; color: var(--body); line-height: 1.6; }

/* Radar de confirmación (barre → detecta → check) */
.s-radar { position: relative; width: 66px; height: 66px; margin-bottom: 18px; }
.s-scope {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(18, 61, 58, 0.4);
  overflow: hidden;
  background: var(--surface);
  transition: opacity 0.7s ease;
}
.s-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(18, 61, 58, 0.1), rgba(18, 61, 58, 0.1)) center / 100% 1px no-repeat,
    linear-gradient(rgba(18, 61, 58, 0.1), rgba(18, 61, 58, 0.1)) center / 1px 100% no-repeat;
}
.s-grid::before, .s-grid::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(18, 61, 58, 0.15);
  border-radius: 50%;
}
.s-grid::before { inset: 11px; }
.s-grid::after { inset: 22px; }
.s-sweep {
  position: absolute; inset: 0;
  border-radius: 50%;
  opacity: 0;
  background: conic-gradient(from 0deg, rgba(112, 179, 125, 0) 0deg, rgba(112, 179, 125, 0) 280deg, rgba(112, 179, 125, 0.5) 360deg);
}
.s-sweep::after {
  content: '';
  position: absolute;
  left: 50%; top: 0;
  width: 1.5px; height: 50%;
  background: rgba(112, 179, 125, 0.9);
  transform: translateX(-50%);
  transform-origin: bottom;
}
.s-blip {
  position: absolute;
  top: 64%; left: 65%;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--life);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.s-tick {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  opacity: 0;
}
.s-tick path {
  fill: none;
  stroke: var(--ink-700);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
}
.s-radar.play .s-sweep { opacity: 1; animation: s-sweep 1.9s linear; }
.s-radar.play .s-blip { animation: s-blip 1.9s ease; }
@keyframes s-sweep { from { transform: rotate(0); } to { transform: rotate(450deg); } }
@keyframes s-blip {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); box-shadow: 0 0 0 0 rgba(112, 179, 125, 0); }
  27% { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
  33% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); box-shadow: 0 0 9px 3px rgba(112, 179, 125, 0.8); }
  48% { opacity: 1; transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(112, 179, 125, 0); }
  100% { opacity: 1; }
}
.s-radar.done .s-scope { opacity: 0; }
.s-radar.done .s-tick { opacity: 1; transition: opacity 0.01s 0.45s; }
.s-radar.done .s-tick path { animation: s-draw 0.65s 0.5s ease forwards; }
@keyframes s-draw { to { stroke-dashoffset: 0; } }
@keyframes sweep-rot { to { transform: rotate(360deg); } }

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 300;
  background: var(--ink-900);
  color: var(--gold-3);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 10px;
  transition: top 0.25s ease;
}
.skip-link:focus-visible { top: 16px; }

/* Saltar al contenido: oculto salvo con foco de teclado */
.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 300;
  background: var(--ink-900);
  color: var(--gold-3);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 20px;
  border-radius: 10px;
  transition: top 0.2s ease;
}
.skip-link:focus-visible { top: 16px; }

/* ---------- Footer ---------- */
.site-foot {
  background: var(--ink-950);
  color: var(--body-inv);
  padding: clamp(60px, 7vw, 90px) 0 36px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 60px);
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-inv);
}
.foot-brand svg { height: 30px; width: auto; margin-bottom: 20px; }
.foot-brand .logo-letters { fill: var(--text-inv); }
.foot-brand .logo-ring { fill: var(--life); }
.foot-brand p { font-size: 0.9rem; color: var(--muted-inv); max-width: 34ch; line-height: 1.6; }
.foot-col h4 {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; }
.foot-col a, .foot-col li {
  font-size: 0.9rem;
  color: var(--body-inv);
  transition: color 0.25s ease;
}
.foot-col a:hover { color: var(--gold-2); }
/* Newsletter del pie */
.nl-form { display: grid; gap: 8px; margin-top: 8px; }
.nl-lbl {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.nl-row {
  display: flex;
  border: 1px solid var(--line-inv);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(243, 246, 241, 0.05);
  max-width: 240px;
}
.nl-row input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.85rem;
  color: var(--text-inv);
}
.nl-row input::placeholder { color: var(--muted-inv); }
.nl-row input:focus { outline: none; }
.nl-row:focus-within { border-color: var(--gold-2); }
.nl-row button {
  padding: 0 14px;
  color: var(--gold-2);
  font-size: 1rem;
  transition: background 0.25s ease;
}
.nl-row button:hover { background: rgba(217, 188, 91, 0.14); }
.nl-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.68rem;
  color: var(--muted-inv);
  line-height: 1.5;
  max-width: 240px;
  cursor: pointer;
}
.nl-consent input[type="checkbox"] {
  accent-color: var(--gold-2);
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}
.nl-consent a { color: var(--gold-2); }
.nl-msg { display: none; font-size: 0.78rem; color: var(--gold-3); }
.nl-msg.show { display: block; }

.foot-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 28px;
  font-size: 0.78rem;
  color: var(--muted-inv);
}
.foot-legal .credit a {
  color: var(--gold-2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.foot-legal .credit a:hover { border-color: currentColor; }

/* ---------- Revelado al hacer scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(7px);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 0.9s var(--ease-soft),
    filter 0.9s var(--ease-soft);
  transition-delay: calc(var(--i, 0) * 90ms);
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- Página /guide ---------- */
.guide-hero {
  padding: calc(var(--nav-h) + 90px) 0 70px;
}
.guide-hero .eyebrow { margin-bottom: 24px; }
.guide-hero h1 {
  font-size: clamp(2.4rem, 4.6vw + 0.5rem, 4.2rem);
  font-weight: 480;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 20ch;
  margin-bottom: 24px;
}
.guide-hero .lead { max-width: 62ch; }
.guide-body { padding: 20px 0 110px; }
.guide-body .container { max-width: 860px; }
.g-sec { margin-bottom: 74px; }
.g-sec > h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 510;
  color: var(--ink-700);
  margin-bottom: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-2);
}
.g-sec > h2 .g-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.14em;
}
.g-sec h3 {
  font-size: 1.18rem;
  font-weight: 560;
  color: var(--text);
  margin: 30px 0 10px;
}
.g-sec p, .g-sec li {
  font-size: 1.02rem;
  color: var(--body);
  line-height: 1.75;
  margin-bottom: 14px;
}
.g-sec ul, .g-sec ol { padding-left: 22px; }
.g-sec li { margin-bottom: 8px; }
.g-sec strong { color: var(--text); font-weight: 600; }
.g-sec a { color: var(--gold); border-bottom: 1px solid rgba(183, 149, 47, 0.35); }
.g-sec a:hover { border-color: currentColor; }
.g-sec code {
  font-family: var(--mono);
  font-size: 0.84em;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  color: var(--ink-700);
}
.g-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: 0 14px 14px 0;
  padding: 22px 26px;
  margin: 24px 0;
}
.g-callout p { margin-bottom: 0; font-size: 0.97rem; }

/* Muestrario de color */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.sw {
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
}
.sw i { display: block; height: 74px; }
.sw figcaption {
  padding: 10px 12px;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  line-height: 1.5;
}
.sw figcaption b {
  display: block;
  color: var(--text);
  font-weight: 400;
}

/* Espécimen tipográfico */
.type-spec {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px;
  margin: 24px 0;
  display: grid;
  gap: 22px;
}
.type-spec .ts-row { display: grid; gap: 6px; }
.type-spec .ts-label {
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.type-spec .ts-serif { font-family: var(--serif); font-size: 2rem; font-weight: 480; color: var(--ink-700); line-height: 1.15; }
.type-spec .ts-serif em { color: var(--gold); }
.type-spec .ts-sans { font-size: 1.05rem; color: var(--body); }
.type-spec .ts-mono { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); letter-spacing: 0.08em; }

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--ink-950);
  color: var(--text-inv);
  padding: 40px var(--gutter);
}
.page-404 .p4-inner { max-width: 520px; }
.page-404 .s-radar { margin: 0 auto 30px; }
.page-404 .s-scope { background: transparent; border-color: rgba(217, 188, 91, 0.4); }
.page-404 .s-sweep { opacity: 1; animation: s-sweep 3.4s linear infinite; }
.page-404 h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 480; margin-bottom: 14px; }
.page-404 p { color: var(--body-inv); margin-bottom: 34px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 18px; }
  .plat-grid { grid-template-columns: 1fr; }
  .plat-visual { order: -1; }
  .plat-chip.c2 { left: -6px; }
}
@media (max-width: 880px) {
  .metodo-grid, .ctx-grid, .stats-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 34px; }
  .cta-grid { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .serv-cell:nth-child(2) { border-top: 1px dashed var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .serv-head { grid-template-columns: auto 1fr auto; }
  .serv-head .sv-count { display: none; }
  .ctx-card { min-height: 220px; }
}
@media (max-width: 720px) {
  /* Las viñetas crecen con su contenido en pantallas pequeñas */
  .vig-stage { aspect-ratio: auto; }
  .vig {
    position: relative;
    inset: auto;
    display: none;
  }
  .vig.active { display: flex; }
  /* La etiqueta entra en el flujo para no montarse sobre el contenido */
  .vig-tag {
    position: static;
    display: block;
    margin-bottom: 16px;
  }
  .app-win { margin-top: 0; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .scroll-hint { display: none; }
  .quote-mark { font-size: 4.4rem; }
  .cta-rings { display: none; }
  .method-ceo-message { margin-top: 32px; padding: 18px; }
  .method-ceo-message button { font-size: 1.08rem; }
  .letter-envelope { width: 34px; flex-basis: 34px; }
  .ceo-letter-dialog { width: calc(100% - 16px); max-height: calc(100svh - 16px); }
  .letter-paper { max-height: calc(100svh - 16px); padding: 42px 22px 34px; }
  .letter-close { top: -36px; margin: -32px -12px 8px auto; width: 38px; height: 38px; }
  .letter-head h2 { padding-right: 18px; }
  .letter-body p { line-height: 1.7; }
  .letter-signature-space { min-height: 56px; }
  .letter-linkedin { padding-top: 22px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .marquee-track .dup { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .scrub .w { color: var(--text-inv); }
  .scrub .w.gold { color: var(--gold-2); }
  .s-scope { display: none !important; }
  .s-tick { opacity: 1 !important; }
  .s-tick path { animation: none !important; stroke-dashoffset: 0 !important; }
  .page-404 .s-scope { display: block !important; }
}


/* ---------- Dos ejemplos de informe (plataforma) ---------- */
.plat-dual { display: block; }
.plat-dual .ej-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plat-dual .ej {
  border: 1px solid var(--line-inv);
  border-radius: 16px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}
.plat-dual .ej .micro { max-width: none; font-size: 0.9rem; }
.plat-dual .ej .micro em { color: var(--gold-2); }
.plat-dual .ej .btn-ghost { margin-top: auto; }
/* ---------- Enlaces de navegación (el dorado queda solo para la demo) ---------- */
.hero-link, .link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: var(--gold-2); color: var(--text-inv); transition: color .2s;
}
.hero-link:hover, .link-arrow:hover { color: var(--gold-2); }
.plat-dual .ej .link-arrow { margin-top: auto; font-size: 0.95rem; }

.plat-dual > .micro { margin-top: 16px; }
@media (max-width: 840px) { .plat-dual .ej-row { grid-template-columns: 1fr; } }
