/* =========================================================
   IKONNIKK · Sistema de diseño y estilos (verde lima + negro del logo)
   Índice:
   1. Tokens (paleta 50–950, tipografía, espacios, radios)
   2. Temas oscuro / claro
   3. Base y tipografía
   4. Utilidades y botones
   5. Cabecera y mega-menú
   6. Hero, marquee
   7. Secciones de la home
   8. Mockups y demos
   9. Páginas internas
   10. Formularios
   11. Pie, flotantes, cookies, cursor
   12. Animaciones, responsive y movimiento reducido
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Verde lima del logo (acento). #4fd1c5 = 400 */
  --lime-50: #f6ffe5;
  --lime-100: #eaffc7;
  --lime-200: #d6ff94;
  --lime-300: #8fe6dd;
  --lime-400: #4fd1c5;
  --lime-500: #38b8b0;
  --lime-600: #5baf00;
  --lime-700: #458500;
  --lime-800: #386907;
  --lime-900: #30580c;
  --lime-950: #163100;

  /* Negro del logo (principal). #050605 = 950 · #F4F6F3 = 50 */
  --ink-50: #f4f6f3;
  --ink-100: #e4e8e3;
  --ink-200: #c9d0c8;
  --ink-300: #a3ada2;
  --ink-400: #7c877b;
  --ink-500: #5f695e;
  --ink-600: #4a5249;
  --ink-700: #353b34;
  --ink-800: #1f241f;
  --ink-900: #0f120f;
  --ink-950: #050605;

  --grad: linear-gradient(135deg, var(--lime-500) 0%, var(--lime-300) 100%);
  --grad-soft: linear-gradient(135deg, var(--lime-400) 0%, var(--lime-300) 100%);
  --grad-text: linear-gradient(100deg, var(--lime-200) 0%, var(--lime-400) 45%, var(--lime-500) 100%);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala tipográfica fluida */
  --fs-display: clamp(2.5rem, 1.55rem + 4.2vw, 4.75rem);
  --fs-h1: clamp(2.1rem, 1.5rem + 2.8vw, 3.6rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2vw, 2.75rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --fs-h4: 1.125rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);
  --fs-body: 1rem;
  --fs-sm: 0.875rem;
  --fs-xs: 0.78rem;

  /* Espaciado (base 4px) */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --section: clamp(72px, 6vw + 40px, 128px);

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --r-full: 999px;

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- 2. Temas ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: var(--ink-950);
  --bg-2: #090b09;
  --surface: rgba(244, 246, 243, 0.03);
  --surface-solid: #0e110e;
  --surface-2: #161a16;
  --border: rgba(244, 246, 243, 0.09);
  --border-strong: rgba(244, 246, 243, 0.17);
  --text: var(--ink-50);
  --muted: var(--ink-300);
  --subtle: var(--ink-400);
  --accent: var(--lime-400);
  --accent-hover: #7fdfd6;
  --accent-text: var(--lime-400);
  --on-accent: var(--ink-950);
  --accent-soft: rgba(79, 209, 197, 0.1);
  --glow: rgba(79, 209, 197, 0.3);
  --grid-line: rgba(244, 246, 243, 0.035);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.8);
  --header-bg: rgba(5, 6, 5, 0.72);
}

[data-theme="light"] {
  color-scheme: light;
  --bg: var(--ink-50);
  --bg-2: #e9ede8;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-solid: #ffffff;
  --surface-2: #eef1ed;
  --border: rgba(5, 6, 5, 0.1);
  --border-strong: rgba(5, 6, 5, 0.2);
  --text: var(--ink-950);
  --muted: #4a5249;
  --subtle: #5f695e;
  --accent: var(--lime-400);
  --accent-hover: #7fdfd6;
  --accent-text: #1d6361;
  --on-accent: var(--ink-950);
  --accent-soft: rgba(91, 175, 0, 0.1);
  --glow: rgba(118, 219, 0, 0.3);
  --grid-line: rgba(5, 6, 5, 0.05);
  --shadow: 0 24px 60px -28px rgba(5, 6, 5, 0.25);
  --header-bg: rgba(244, 246, 243, 0.8);
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
code { font-size: 0.9em; padding: 1px 6px; border-radius: 6px; background: var(--surface-2); }
::selection { background: var(--lime-400); color: var(--ink-950); }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.display, .h1, .h2, .h3, .h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
.h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.25; }
.h4 { font-size: var(--fs-h4); line-height: 1.35; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="light"] .grad-text { background: linear-gradient(100deg, var(--lime-700), var(--lime-800)); -webkit-background-clip: text; background-clip: text; }

/* Fondo: grid + grano */
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 80%);
}
.bg-grid::after {
  content: ""; position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- 4. Utilidades ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 32px); }
.container--narrow { max-width: 860px; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(40px, 4vw, 64px); }
.section--alt { background: linear-gradient(180deg, transparent, var(--bg-2) 12%, var(--bg-2) 88%, transparent); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--on-accent); border-radius: var(--r-sm); font-weight: 600; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; }
.icon--xl { width: 40px; height: 40px; color: var(--accent-text); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent-text); margin-bottom: var(--s-4); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; margin-bottom: var(--s-5);
  border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 500; color: var(--text);
  background: var(--accent-soft); border: 1px solid rgba(79, 209, 197, 0.3);
}
.badge .icon { width: 16px; height: 16px; color: var(--accent-text); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime-400); box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.6); animation: pulse 2.2s infinite; flex: none; }
.ph { background: rgba(79, 209, 197, 0.14); color: var(--accent-text); border: 1px dashed rgba(79, 209, 197, 0.55); border-radius: 6px; padding: 0 5px; font-weight: 600; font-size: 0.92em; }
.note-ph { margin-top: var(--s-5); padding: 12px 16px; border: 1px dashed rgba(79, 209, 197, 0.45); border-radius: var(--r-sm); color: var(--muted); font-size: var(--fs-sm); text-align: center; }
.photo-ph { display: grid; place-items: center; aspect-ratio: 7 / 8; width: 100%; border-radius: var(--r-lg); border: 1px dashed var(--border-strong); background: repeating-linear-gradient(135deg, var(--surface), var(--surface) 12px, transparent 12px, transparent 24px); }
.tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 500; border: 1px solid var(--border); color: var(--muted); background: var(--surface); white-space: nowrap; }
.tag--accent { color: var(--accent-text); border-color: rgba(79, 209, 197, 0.3); background: var(--accent-soft); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-box { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--accent-text); background: var(--accent-soft); border: 1px solid rgba(79, 209, 197, 0.22); flex: none; }
.icon-box .icon { width: 24px; height: 24px; }
.icon-box--sm { width: 36px; height: 36px; border-radius: 10px; }
.icon-box--sm .icon { width: 18px; height: 18px; }
.icon-box--muted { color: var(--muted); background: var(--surface-2); border-color: var(--border); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--accent-text); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover .icon, .card:hover .link-arrow .icon { transform: translateX(4px); }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.center-cta { text-align: center; margin-top: var(--s-7); color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: var(--s-7) 0; }

.checks { display: grid; gap: 10px; margin-block: var(--s-5); }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.checks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-text); }
.checks--lg li { font-size: 1.02rem; }
.micro { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--muted); }
.micro li { display: inline-flex; align-items: center; gap: 6px; }
.micro .icon { width: 16px; height: 16px; color: var(--accent-text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--s-6); }
.actions--center { justify-content: center; }

/* Botones */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--r-full); border: 1px solid transparent;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; line-height: 1.2; white-space: nowrap;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.3s var(--ease), color 0.2s var(--ease), transform 0.3s var(--ease-out);
  will-change: transform;
}
.btn__icon { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 30px -10px var(--glow), 0 0 0 1px rgba(79, 209, 197, 0.45); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 14px 40px -10px rgba(79, 209, 197, 0.55), 0 0 0 1px rgba(79, 209, 197, 0.7); }
.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--accent-text); color: var(--text); background: var(--accent-soft); }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); transition: border-color 0.2s, background 0.2s; }
.icon-btn:hover { border-color: var(--accent-text); background: var(--accent-soft); }

/* Tarjetas */
.card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.4s var(--ease-out); }
.card--border { border-color: transparent; }
.card--border::before, .plan--rec::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(135deg, rgba(79, 209, 197, 0.75), rgba(79, 209, 197, 0.08) 35%, rgba(244, 246, 243, 0.06) 65%, rgba(79, 209, 197, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card--glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(79, 209, 197, 0.12), transparent 60%);
}
.card--glow:hover::after { opacity: 1; }
.card--glow:hover, .tilt:hover { border-color: rgba(79, 209, 197, 0.35); }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head .lead { margin-top: var(--s-4); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); flex-wrap: wrap; }

/* ---------- 5. Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), backdrop-filter 0.3s; border-bottom: 1px solid transparent; }
.header.is-scrolled, .header.is-open { background: var(--header-bg); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; gap: var(--s-5); }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; position: relative; z-index: 2; }
.logo-chip { display: inline-block; line-height: 0; }
.logo-chip img { width: 100%; height: auto; }
/* El logo tiene fondo negro: se muestra completo, sin recortes.
   En la cabecera (contexto aislado) va sobre una placa negra; en el pie oscuro se funde con "screen". */
.logo--nav { background: #000; padding: 2px; border-radius: 12px; box-shadow: 0 0 0 1px var(--border); }
[data-theme="dark"] .logo--footer img { mix-blend-mode: screen; }
[data-theme="light"] .logo--footer { background: #000; padding: 4px; border-radius: 16px; }
.logo--nav { width: 52px; }
.logo--footer { width: 150px; }
.logo__word { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; letter-spacing: 0.02em; }
.header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: var(--r-full); font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.2s, background 0.2s; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__trigger[aria-expanded="true"] { color: var(--text); background: var(--surface); }
.nav__chev { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.nav__mobile-cta { display: none; }

.mega {
  position: absolute; top: calc(var(--header-h) - 6px); left: 50%; width: min(1040px, calc(100vw - 40px));
  transform: translate(-50%, 8px); opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--surface-solid); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 12px;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease-out), visibility 0.25s;
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega__inner { display: grid; grid-template-columns: 1fr 260px; gap: 12px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega__item { display: flex; gap: 12px; padding: 12px; border-radius: var(--r); transition: background 0.2s; }
.mega__item:hover { background: var(--surface-2); }
.mega__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); flex: none; }
.mega__icon .icon { width: 18px; height: 18px; }
.mega__name { display: block; font-weight: 600; font-size: 0.9rem; line-height: 1.3; }
.mega__desc { display: block; font-size: var(--fs-xs); color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega__promo { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--r); background: radial-gradient(120% 120% at 100% 0%, rgba(79, 209, 197, 0.22), transparent 60%), var(--surface-2); border: 1px solid rgba(79, 209, 197, 0.25); }
.mega__promo .eyebrow { margin: 0; }
.mega__promo-title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.mega__promo .link-arrow { margin-top: auto; padding-top: 10px; }
.mega__all { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; margin-top: 8px; border-top: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; color: var(--accent-text); }
.mega__all .icon { width: 16px; height: 16px; }

.theme-toggle { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.theme-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.theme-toggle .icon { width: 18px; height: 18px; grid-area: 1 / 1; transition: transform 0.4s var(--ease-out), opacity 0.3s; }
[data-theme="dark"] .theme-toggle__moon, [data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(-90deg) scale(0.5); }
.nav-toggle { display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); }
.nav-toggle .icon { grid-area: 1 / 1; }
.nav-toggle__close, .header.is-open .nav-toggle__open { display: none; }
.header.is-open .nav-toggle__close { display: block; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 80px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; top: 0; right: -6%; width: 62%; height: 100%; z-index: -1; }
.hero__glow { position: absolute; z-index: -2; top: 8%; right: 4%; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 197, 0.24), rgba(91, 175, 0, 0.08) 45%, transparent 70%); filter: blur(10px); pointer-events: none; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: var(--s-7); }
.hero__content { max-width: 680px; }
.hero__content .lead { margin-top: var(--s-5); max-width: 560px; }
.hero__in { opacity: 0; transform: translateY(18px); animation: rise 0.9s var(--ease-out) forwards; animation-delay: calc(var(--d) * 0.1s + 0.1s); }
.hero__chips { position: relative; height: 460px; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r); background: color-mix(in srgb, var(--surface-solid) 78%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow); min-width: 230px; animation: float 7s ease-in-out infinite; }
.chip b { display: block; font-size: 0.88rem; font-weight: 600; }
.chip small { display: block; font-size: var(--fs-xs); color: var(--muted); }
.chip--1 { top: 6%; left: 0; }
.chip--2 { top: 42%; right: 0; animation-delay: -2.4s; }
.chip--3 { bottom: 4%; left: 12%; animation-delay: -4.6s; }

.wave { display: flex; align-items: center; gap: 3px; height: 48px; }
.wave i { flex: 1; min-width: 2px; height: 30%; border-radius: 4px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; animation-delay: calc(var(--i) * -0.09s); }
.wave--mini { height: 18px; width: 120px; margin-top: 4px; gap: 2px; }

.marquee { padding: 28px 0 8px; }
.marquee__label { text-align: center; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.14em; color: var(--subtle); margin-bottom: 18px; }
.marquee__viewport { 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; gap: 56px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--subtle); white-space: nowrap; letter-spacing: -0.01em; transition: color 0.2s; }
.marquee__track li:hover { color: var(--text); }

/* ---------- 7. Secciones home ---------- */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pain { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.pain .h4 { margin-top: 8px; }
.pain__cost { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); font-size: var(--fs-sm); font-weight: 600; color: var(--accent-text); }
.pain__cost .icon { width: 16px; height: 16px; transform: scaleY(-1); }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.bento__item { padding: 28px; display: flex; flex-direction: column; gap: 24px; overflow: hidden; min-height: 240px; }
.bento__item--main { grid-column: span 4; }
.bento__item--0 { grid-column: span 7; }
.bento__item--1 { grid-column: span 5; }
.bento__item--small { grid-column: span 3; }
.bento__text { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.bento__text .h3 { margin-top: 8px; }
.bento__claim { font-weight: 500; }
.bento__text .link-arrow { margin-top: 6px; }
.bento__visual { margin-top: auto; position: relative; z-index: 0; }
.bento__item--main:hover .mk { transform: translateY(-4px); }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { padding: 28px; text-align: center; }
.metric__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 3rem); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.metric__value .ph { font-size: 0.45em; vertical-align: middle; }
.metric__suffix { color: var(--accent-text); }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project { overflow: hidden; display: flex; flex-direction: column; }
.project__media { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 24px; background: radial-gradient(100% 100% at 50% 0%, rgba(79, 209, 197, 0.14), transparent 70%), var(--surface-2); border-bottom: 1px solid var(--border); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__media .mk { width: 100%; max-width: 320px; }
.project__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.psr { display: grid; gap: 8px; font-size: var(--fs-sm); }
.psr div { display: grid; grid-template-columns: 82px 1fr; gap: 8px; }
.psr dt { color: var(--subtle); font-weight: 500; }
.project .link-arrow { margin-top: auto; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.timeline__line { position: absolute; top: 22px; left: 22px; right: 22px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; }
.timeline__line span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.15s linear; }
.timeline__step { position: relative; display: flex; flex-direction: column; gap: 10px; }
.timeline__num { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--accent-text); background: var(--bg); border: 1px solid rgba(79, 209, 197, 0.4); box-shadow: 0 0 0 6px var(--bg), 0 0 24px -4px var(--glow); margin-bottom: 8px; position: relative; z-index: 1; }
.section--alt .timeline__num { box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px -4px var(--glow); background: var(--bg-2); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 32px; }
.why__item { display: flex; flex-direction: column; gap: 12px; }
.why__item .h4 { margin-top: 6px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plans:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.plans:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
.plan { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.plan--rec { border-color: transparent; background: radial-gradient(120% 80% at 50% 0%, rgba(79, 209, 197, 0.14), transparent 60%), var(--surface); box-shadow: 0 30px 80px -30px var(--glow); }
.plan--rec::before { inset: -1px; padding: 1.5px; background: var(--grad); }
.plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 4px 14px; border-radius: var(--r-full); background: var(--grad-soft); color: #050605; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.plan__name { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; }
.plan__for { font-size: var(--fs-sm); color: var(--muted); min-height: 3em; }
.plan__price { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; letter-spacing: -0.02em; margin: 8px 0; }
.plan__price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); color: var(--subtle); letter-spacing: 0; margin-top: 4px; }
.plan .checks { margin-block: 8px 20px; }
.plan .checks li { font-size: var(--fs-sm); }
.plan .btn { margin-top: auto; }
.plans__note { text-align: center; margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--muted); }

.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.carousel__track::-webkit-scrollbar { display: none; }
.testimonial { scroll-snap-align: start; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.testimonial blockquote { margin: 0; font-size: 1.05rem; line-height: 1.6; }
.testimonial blockquote::before { content: "“"; display: block; font-family: var(--font-head); font-size: 3rem; line-height: 0.6; color: var(--accent-text); margin-bottom: 10px; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial b { display: block; font-size: 0.95rem; }
.testimonial small { color: var(--muted); font-size: var(--fs-sm); }
.avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.6rem; flex: none; }
.avatar .ph { font-size: 0.6rem; padding: 0 2px; border: 0; }
.carousel__nav { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }

.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about--texto { grid-template-columns: 1fr; max-width: 760px; }
.about__photo img { border-radius: var(--r-lg); width: 100%; object-fit: cover; aspect-ratio: 7 / 8; }
.about__text .lead { margin-top: var(--s-5); }
.about__mission { margin: var(--s-5) 0; padding-left: 16px; border-left: 2px solid var(--lime-500); font-weight: 500; }

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); transition: border-color 0.3s; }
.faq__item[open] { border-color: rgba(79, 209, 197, 0.35); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { color: var(--accent-text); transition: transform 0.3s var(--ease); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 22px 20px; color: var(--muted); }

.final { position: relative; padding-block: var(--section); overflow: hidden; isolation: isolate; min-height: 90svh; display: flex; align-items: center; border-top: 1px solid var(--border); }
.final__glow { position: absolute; inset: auto -10% -40% -10%; height: 90%; z-index: -1; background: radial-gradient(60% 60% at 50% 100%, rgba(79, 209, 197, 0.32), rgba(91, 175, 0, 0.1) 50%, transparent 75%); }
.final__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.final__text .lead { margin-top: var(--s-5); }

/* ---------- 8. Mockups ---------- */
.mk { position: relative; border-radius: var(--r); background: var(--surface-solid); border: 1px solid var(--border); padding: 16px; font-size: var(--fs-xs); box-shadow: var(--shadow); transition: transform 0.5s var(--ease-out); overflow: hidden; }
.sk { display: block; height: 8px; border-radius: 6px; background: var(--surface-2); }
.sk--title { height: 14px; width: 70%; margin-bottom: 10px; background: linear-gradient(90deg, var(--surface-2), var(--border-strong)); }
.sk--line { width: 90%; margin-bottom: 6px; }
.sk--short { width: 55%; }
.pill { padding: 2px 8px; border-radius: var(--r-full); background: var(--accent-soft); color: var(--accent-text); font-weight: 600; font-size: 0.65rem; }

.mk-web { padding: 0; }
.mk-web__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--border); }
.mk-web__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); }
.mk-web__bar span { margin-left: 8px; padding: 2px 10px; border-radius: 6px; background: var(--surface-2); color: var(--subtle); font-size: 0.65rem; }
.mk-web__body { position: relative; padding: 16px; }
.mk-web__btn { display: inline-block; margin: 8px 0 14px; padding: 5px 12px; border-radius: var(--r-full); background: var(--accent); color: var(--on-accent); font-weight: 600; font-size: 0.65rem; }
.mk-web__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-web__cards span { height: 40px; border-radius: 8px; background: var(--surface-2); }
.mk-web__bubble { position: absolute; right: 12px; bottom: 12px; padding: 7px 11px; border-radius: 12px 12px 2px 12px; background: var(--grad-soft); color: #050605; font-weight: 600; font-size: 0.68rem; box-shadow: 0 8px 20px -6px var(--glow); animation: bob 3s ease-in-out infinite; }

.phone { width: 180px; margin-inline: auto; padding: 14px 12px; border-radius: 26px; border: 1px solid var(--border-strong); background: var(--bg); display: flex; flex-direction: column; gap: 8px; }
.phone__notch { width: 56px; height: 6px; border-radius: 6px; background: var(--border-strong); margin: 0 auto 6px; }
.mk-app { background: transparent; border: 0; box-shadow: none; padding: 0; }
.mk-app__hi { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; }
.mk-app__card { padding: 10px; border-radius: 12px; background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
.mk-app__card--accent { background: var(--grad-soft); color: #050605; }
.mk-app__card b { font-size: 0.85rem; }
.mk-app__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 8px 10px; border-radius: 10px; background: var(--surface-2); }
.mk-app__row .sk { margin: 0; background: var(--border-strong); }
.mk-app__chart { display: flex; align-items: flex-end; gap: 6px; height: 56px; padding: 6px 4px 0; }
.mk-app__chart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--lime-400), var(--lime-700)); transform-origin: bottom; animation: grow 2.4s var(--ease-out) infinite alternate; }

.mk-crm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mk-crm__col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: var(--surface-2); min-height: 110px; }
.mk-crm__col p { font-weight: 600; color: var(--muted); margin-bottom: 2px; }
.deal { height: 26px; border-radius: 7px; background: var(--surface-solid); border: 1px solid var(--border); }
.deal--move { animation: dealmove 5s var(--ease-out) infinite; border-color: rgba(79, 209, 197, 0.6); box-shadow: 0 6px 16px -6px var(--glow); }
.deal--won { background: var(--accent-soft); border-color: rgba(79, 209, 197, 0.4); }

.msg { max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 0.85rem; line-height: 1.45; }
.msg--user { margin-left: auto; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.msg--bot { background: var(--surface-2); border-bottom-left-radius: 4px; }
.msg--sys { margin-inline: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--accent-text); background: var(--accent-soft); border: 1px solid rgba(79, 209, 197, 0.3); }
.msg--sys .icon { width: 14px; height: 14px; }
.mk-chat { display: flex; flex-direction: column; gap: 8px; }
.mk-chat .msg { font-size: 0.72rem; padding: 7px 11px; opacity: 0; animation: msgin 6s var(--ease-out) infinite; }
.mk-chat .msg:nth-child(2) { animation-delay: 0.8s; }
.mk-chat .msg:nth-child(3) { animation-delay: 1.6s; }
.mk-chat .msg:nth-child(4) { animation-delay: 2.4s; }

.mk-voice { display: flex; flex-direction: column; gap: 12px; }
.mk-voice__head { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.mk-voice__head b { color: var(--text); font-variant-numeric: tabular-nums; }
.mk-voice__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad-soft); color: #050605; flex: none; animation: ring 2s ease-out infinite; }
.mk-voice__ico .icon { width: 16px; height: 16px; }
.mk-voice__tx { color: var(--muted); font-style: italic; font-size: 0.75rem; }

.mk-auto { display: flex; align-items: center; justify-content: space-between; gap: 4px; padding: 22px 14px; }
.mk-auto .node { padding: 7px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; white-space: nowrap; }
.mk-auto .node--ai { background: var(--grad-soft); color: #050605; border: 0; box-shadow: 0 0 20px -4px var(--glow); }
.mk-auto .link { flex: 1; height: 2px; min-width: 10px; background: linear-gradient(90deg, var(--border-strong) 0 40%, var(--lime-400) 50%, var(--border-strong) 60% 100%); background-size: 300% 100%; animation: flow 2s linear infinite; }

.mk-social { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px; }
.mk-social span { aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, var(--surface-2), var(--border-strong)); display: grid; place-items: center; }
.mk-social .is-video { background: var(--grad-soft); color: #050605; }
.mk-ads { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
.mk-ads i { flex: 1; height: var(--h); border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, var(--lime-400), var(--lime-700)); transform-origin: bottom; animation: grow 2.6s var(--ease-out) infinite alternate; }
.mk-ads i:nth-child(odd) { opacity: 0.6; }
.mk-consult { display: grid; gap: 8px; }
.mk-consult p { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--surface-2); font-weight: 500; }
.mk-consult .icon { width: 14px; height: 14px; color: var(--accent-text); }
.mk-consult .is-next { background: var(--accent-soft); color: var(--accent-text); }

/* Demos */
.tabs__list { display: flex; gap: 6px; padding: 6px; margin: 0 auto 24px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--surface); }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--r-full); font-weight: 500; font-size: 0.92rem; color: var(--muted); white-space: nowrap; transition: color 0.2s, background 0.25s; }
.tabs__tab .icon { width: 18px; height: 18px; }
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 20px -8px var(--glow); }
.tabs--sectors .tabs__list { margin-left: 0; }
[role="tabpanel"] { animation: fadein 0.45s var(--ease-out); }

.demo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 48px); align-items: center; }
.demo__copy .h3 { margin-bottom: 12px; }

.chat-demo { border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); overflow: hidden; box-shadow: var(--shadow); }
.chat-demo__head, .chatw__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.chat-demo__head .tag { margin-left: auto; }
.chatw__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-soft); color: #050605; flex: none; }
.chatw__avatar .icon { width: 20px; height: 20px; }
.chatw__name { font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.chatw__status { display: flex; align-items: center; gap: 6px; font-size: var(--fs-xs); color: var(--muted); }
.chatw__status .dot { width: 7px; height: 7px; background: #4ade80; animation: none; }
.chat-demo__log { height: 380px; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; scroll-behavior: smooth; }
.chat-demo__log .msg { animation: msgpop 0.4s var(--ease-out); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 4px; background: var(--surface-2); width: fit-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
.chat-demo__input { display: flex; align-items: center; justify-content: space-between; margin: 0 12px 12px; padding: 12px 16px; border-radius: var(--r-full); border: 1px solid var(--border); color: var(--subtle); font-size: var(--fs-sm); }
.chat-demo__input .icon { width: 18px; height: 18px; color: var(--accent-text); }

.voice-demo { display: flex; flex-direction: column; gap: 20px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); }
.voice-demo__head { display: flex; align-items: center; gap: 12px; }
.voice-demo__time { margin-left: auto; font-variant-numeric: tabular-nums; color: var(--muted); font-size: var(--fs-sm); }
.voice-demo__wave { display: flex; align-items: center; gap: 3px; height: 120px; padding: 0 4px; }
.voice-demo__wave i { flex: 1; height: var(--h, 6%); min-height: 4px; border-radius: 4px; background: var(--grad); opacity: 0.85; transition: height 0.08s linear; }
.voice-demo__btn { align-self: center; }
.voice-demo__pause { display: none; }
.voice-demo__btn[aria-pressed="true"] .voice-demo__pause { display: inline-flex; }
.voice-demo__btn[aria-pressed="true"] .voice-demo__play { display: none; }
.voice-demo__btn .icon { width: 18px; height: 18px; }
.voice-demo .note-ph { margin: 0; }

.crm-demo { padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--bg); box-shadow: var(--shadow); display: grid; gap: 14px; }
.crm-demo__top { display: flex; align-items: center; justify-content: space-between; }
.crm-demo__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.crm-demo__kpis > div { padding: 12px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 2px; }
.crm-demo__kpis small { color: var(--muted); font-size: var(--fs-xs); }
.crm-demo__kpis b { font-family: var(--font-head); font-size: 1.4rem; }
.crm-demo__kpis .up { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font-size: var(--fs-xs); font-weight: 600; }
.crm-demo__kpis .up .icon { width: 14px; height: 14px; }
.crm-demo__board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.crm-demo__col { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--r-sm); background: var(--surface); min-height: 150px; }
.crm-demo__col p { display: flex; justify-content: space-between; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); }
.crm-demo__col p span { color: var(--subtle); }
.crm-card { padding: 8px; border-radius: 8px; background: var(--surface-solid); border: 1px solid var(--border); font-size: 0.72rem; }
.crm-card--move { border-color: rgba(79, 209, 197, 0.6); box-shadow: 0 0 0 3px var(--accent-soft); animation: bob 3s ease-in-out infinite; }

.app-demo { position: relative; display: grid; place-items: center; padding: 20px 0; }
.app-demo .phone { width: 230px; box-shadow: var(--shadow); }
.app-demo__float { position: absolute; right: 0; bottom: 18%; display: flex; gap: 10px; align-items: flex-start; max-width: 250px; padding: 12px 14px; border-radius: var(--r); background: color-mix(in srgb, var(--surface-solid) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); animation: float 6s ease-in-out infinite; }
.app-demo__float b { display: block; font-size: 0.85rem; }
.app-demo__float small { color: var(--muted); font-size: var(--fs-xs); line-height: 1.4; display: block; }

.sector { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); }
.sector__svc { display: flex; flex-direction: column; gap: 10px; }
.sector__svc .eyebrow { margin-bottom: 4px; }
.sector__link { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r); border: 1px solid var(--border); font-weight: 500; font-size: 0.92rem; transition: border-color 0.2s, background 0.2s; }
.sector__link > .icon { width: 16px; height: 16px; margin-left: auto; color: var(--subtle); }
.sector__link:hover { border-color: rgba(79, 209, 197, 0.4); background: var(--accent-soft); }
.sector__svc .btn { margin-top: 10px; }

/* ---------- 9. Páginas internas ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(40px, 5vw, 72px); overflow: hidden; isolation: isolate; }
.page-hero__glow { position: absolute; z-index: -1; top: -30%; left: 50%; width: 900px; height: 600px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(79, 209, 197, 0.18), transparent); pointer-events: none; }
.page-hero__text { max-width: 820px; }
.page-hero .lead { margin-top: var(--s-5); }
.page-hero__split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-visual { padding: clamp(20px, 3vw, 36px); background: radial-gradient(100% 100% at 50% 0%, rgba(79, 209, 197, 0.12), transparent 70%), var(--surface); }
.svc-visual .mk { box-shadow: none; }
.crumbs { margin-bottom: var(--s-5); font-size: var(--fs-sm); color: var(--subtle); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: 0.5; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs [aria-current] { color: var(--muted); }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.benefit { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.benefit__n { font-family: var(--font-head); font-weight: 700; font-size: 0.85rem; color: var(--accent-text); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.xlist { display: grid; gap: 14px; margin-top: var(--s-6); }
.xlist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.xlist .icon { width: 20px; height: 20px; color: #e5735a; margin-top: 2px; padding: 3px; border-radius: 50%; background: rgba(229, 115, 90, 0.12); }
.solution { padding: clamp(24px, 3vw, 40px); }
.solution .lead { color: var(--text); margin-bottom: var(--s-6); }
.solution .h4 { margin-bottom: var(--s-4); }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.features li { display: flex; gap: 8px; align-items: flex-start; font-size: var(--fs-sm); }
.features .icon { width: 16px; height: 16px; color: var(--accent-text); margin-top: 3px; }
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usecase { padding: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.mini-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: var(--s-5); }
.mini-svc { display: flex; align-items: center; gap: 14px; padding: 18px; }
.mini-svc > .icon:first-child { color: var(--accent-text); width: 24px; height: 24px; }
.mini-svc > .icon:last-child { margin-left: auto; color: var(--subtle); width: 16px; height: 16px; }
.mini-svc b { display: block; font-size: 0.95rem; }
.mini-svc small { display: block; color: var(--muted); font-size: var(--fs-xs); }
.mini-svc:hover { border-color: rgba(79, 209, 197, 0.4); }

.filters { display: flex; flex-direction: column; gap: 12px; margin-bottom: var(--s-6); }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.filters__label { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--subtle); min-width: 72px; }
.chip-btn { padding: 8px 16px; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-sm); font-weight: 500; color: var(--muted); transition: all 0.2s; }
.chip-btn:hover { color: var(--text); border-color: var(--border-strong); }
.chip-btn[aria-pressed="true"] { color: var(--on-accent); background: var(--accent); border-color: var(--accent); }
.is-filtered-out { display: none !important; }

.case { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case__meta { padding: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.case__meta dl { display: grid; gap: 16px; }
.case__meta dt { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.1em; color: var(--subtle); margin-bottom: 4px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .photo-ph { aspect-ratio: 4 / 3; }

.prose { max-width: 720px; font-size: 1.05rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.7rem); letter-spacing: -0.02em; line-height: 1.25; margin-top: 2em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose ul li + li { margin-top: 0.4em; }
.prose a:not(.btn) { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: var(--fs-sm); color: var(--subtle); }

.article__layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; padding-bottom: var(--section); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-sm); }
.toc__title { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.toc__title .icon { width: 16px; height: 16px; color: var(--accent-text); }
.toc ol { display: grid; gap: 4px; border-left: 1px solid var(--border); }
.toc a { display: block; padding: 4px 0 4px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--text); border-left-color: var(--lime-500); }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; margin-block: 2em; }
.inline-cta .h4 { color: var(--text); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts--2 { grid-template-columns: repeat(2, 1fr); margin-top: var(--s-5); }
.post-card { overflow: hidden; display: flex; flex-direction: column; }
.post-card__media { aspect-ratio: 16 / 8; display: grid; place-items: center; background: radial-gradient(80% 100% at 30% 0%, rgba(79, 209, 197, 0.25), transparent 60%), var(--surface-2); border-bottom: 1px solid var(--border); }
.post-card__media .icon { width: 44px; height: 44px; color: var(--accent-text); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body time { margin-top: auto; }

.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: var(--fs-sm); }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--border); }
.compare th[scope="row"], .compare thead th:first-child { text-align: left; font-weight: 500; }
.compare thead th { font-family: var(--font-head); font-weight: 600; font-size: 1rem; vertical-align: bottom; }
.compare thead th small { display: block; font-family: var(--font-body); font-size: var(--fs-xs); color: var(--muted); font-weight: 400; margin-top: 2px; }
.compare .is-rec { background: var(--accent-soft); }
.compare__group th { text-align: left !important; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent-text); background: var(--surface-2); }
.compare .yes .icon { color: var(--accent-text); margin: auto; }
.compare .no .icon { color: var(--subtle); opacity: 0.6; margin: auto; }
.compare tbody tr:last-child td, .compare tbody tr:last-child th { border-bottom-color: var(--border); }
.compare--plain { min-width: 640px; }
.compare--plain td, .compare--plain th { text-align: left; }
.extras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.extra { padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.extra__price { font-weight: 600; color: var(--accent-text); }

.contact { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 24px; align-items: start; }
.contact__side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.contact__card { padding: 24px; }
.contact__card .h4 { margin-bottom: 14px; }
.contact__list { display: grid; gap: 12px; font-size: var(--fs-sm); }
.contact__list li, .contact__list a, .contact__list span { display: flex; align-items: center; gap: 10px; }
.contact__list .icon { width: 18px; height: 18px; color: var(--accent-text); }
.contact__list a:hover { color: var(--accent-text); }
.mini-steps { list-style: decimal; padding-left: 1.2em; display: grid; gap: 8px; font-size: var(--fs-sm); color: var(--muted); }
.calendly { border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; min-height: 420px; display: grid; }
.calendly iframe { width: 100%; height: 700px; border: 0; }
.calendly__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 48px 24px; }

.quiz { padding: clamp(24px, 4vw, 48px); min-height: 440px; }
.quiz__progress { height: 6px; border-radius: 6px; background: var(--surface-2); overflow: hidden; margin-bottom: 8px; }
.quiz__progress span { display: block; height: 100%; background: var(--grad); border-radius: inherit; transition: width 0.4s var(--ease-out); }
.quiz__step { font-size: var(--fs-sm); color: var(--subtle); margin-bottom: var(--s-6); }
.quiz__q { margin-bottom: var(--s-5); }
.quiz__options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz__opt { text-align: left; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); font-weight: 500; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.quiz__opt:hover { border-color: rgba(79, 209, 197, 0.5); background: var(--accent-soft); transform: translateY(-1px); }
.quiz__opt[aria-pressed="true"] { border-color: var(--lime-500); background: var(--accent-soft); }
.quiz__nav { display: flex; justify-content: space-between; margin-top: var(--s-6); }
.quiz__results { display: grid; gap: 12px; margin-block: var(--s-5) var(--s-6); }
.quiz__result { display: flex; gap: 16px; align-items: center; padding: 18px; }
.quiz__result .icon-box { width: 44px; height: 44px; }
.quiz__result b { display: block; }
.quiz__result small { color: var(--muted); }
.quiz__result .link-arrow { margin-left: auto; position: relative; z-index: 2; }
.quiz__rank { font-family: var(--font-head); font-weight: 700; color: var(--accent-text); width: 24px; }

.status-page { min-height: 80svh; display: flex; align-items: center; text-align: center; padding: calc(var(--header-h) + 48px) 0 80px; }
.status-page .lead { margin: var(--s-5) auto 0; max-width: 560px; }
.status-page__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-soft); color: #050605; margin-bottom: var(--s-5); box-shadow: 0 0 60px -10px var(--glow); }
.status-page__icon .icon { width: 34px; height: 34px; }
.status-page__code { font-family: var(--font-head); font-weight: 700; font-size: clamp(6rem, 4rem + 10vw, 11rem); line-height: 1; letter-spacing: -0.06em; }
.status-page .mini-svcs { margin-top: var(--s-8); text-align: left; }

/* ---------- 10. Formularios ---------- */
.form { padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; }
.form__title, .form .h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: var(--fs-sm); font-weight: 500; padding: 0; margin-bottom: 4px; }
.req { color: var(--accent-text); }
.opt { color: var(--subtle); font-weight: 400; }
.field input, .field select, .field textarea, .newsletter__form input, .chatw__form input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--border-strong);
  background: var(--bg); color: var(--text); font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus, .newsletter__form input:focus, .chatw__form input:focus { outline: none; border-color: var(--lime-500); box-shadow: 0 0 0 3px var(--accent-soft); }
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #e5735a; }
.field.is-valid input, .field.is-valid textarea { border-color: rgba(74, 222, 128, 0.55); }
.field__error { min-height: 0; font-size: var(--fs-xs); color: #f08b74; }
[data-theme="light"] .field__error { color: #b4401f; }
.field--check { gap: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin-top: 1px; accent-color: var(--lime-500); flex: none; }
.check a { color: var(--accent-text); text-decoration: underline; }
.checkgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.check-pill { position: relative; cursor: pointer; }
.check-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.check-pill span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 10px 12px; border-radius: var(--r-sm); border: 1px solid var(--border); background: var(--surface); font-size: var(--fs-xs); font-weight: 500; transition: all 0.2s; }
.check-pill .icon { width: 16px; height: 16px; color: var(--subtle); }
.check-pill input:checked + span { border-color: var(--lime-500); background: var(--accent-soft); color: var(--text); }
.check-pill input:checked + span .icon { color: var(--accent-text); }
.check-pill input:focus-visible + span { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.form__status { font-size: var(--fs-sm); min-height: 1.2em; }
.form__status.is-ok { color: #4ade80; }
.form__status.is-error { color: #f08b74; }
.form--short { background: color-mix(in srgb, var(--surface-solid) 70%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* ---------- 11. Pie ---------- */
.footer { border-top: 1px solid var(--border); padding: var(--s-9) 0 var(--s-6); background: var(--bg-2); }
.footer__top { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 80px); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__desc { color: var(--muted); font-size: var(--fs-sm); max-width: 340px; }
.footer__mail { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.footer__mail .icon { width: 18px; height: 18px; color: var(--accent-text); }
.footer__mail:hover { color: var(--accent-text); }
.footer__social { display: flex; gap: 8px; }
.social { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); transition: all 0.2s; }
.social .icon { width: 18px; height: 18px; }
a.social:hover { color: var(--accent-text); border-color: rgba(79, 209, 197, 0.4); }
.social--ph { opacity: 0.45; border-style: dashed; }
.footer__cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.footer__title { font-weight: 600; font-size: var(--fs-sm); margin-bottom: 14px; }
.footer__cols ul { display: grid; gap: 9px; margin-bottom: 24px; }
.footer__cols a, .footer__linkbtn { font-size: var(--fs-sm); color: var(--muted); transition: color 0.2s; text-align: left; }
.footer__cols a:hover, .footer__linkbtn:hover { color: var(--accent-text); }
.newsletter { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: center; margin-top: var(--s-8); padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--surface); }
.newsletter__title { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.newsletter__text { color: var(--muted); font-size: var(--fs-sm); }
.newsletter__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter__legal, .newsletter__form .form__status { grid-column: 1 / -1; font-size: var(--fs-xs); color: var(--subtle); }
.newsletter__legal a { text-decoration: underline; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--border); font-size: var(--fs-xs); color: var(--subtle); }

/* Flotantes */
.fab-wa { position: fixed; left: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.55); transition: transform 0.3s var(--ease-out); }
.fab-wa:hover { transform: scale(1.07); }
.fab-wa .icon { width: 26px; height: 26px; }
.mobile-cta { display: none; }

.chatw { position: fixed; right: 20px; bottom: 20px; z-index: 95; }
.chatw__toggle { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-soft); color: #050605; box-shadow: 0 12px 34px -8px var(--glow), 0 0 0 1px rgba(79, 209, 197, 0.5); transition: transform 0.3s var(--ease-out); }
.chatw__toggle:hover { transform: scale(1.06); }
.chatw__toggle .icon { width: 26px; height: 26px; grid-area: 1 / 1; }
.chatw__ico-close, .chatw.is-open .chatw__ico-open { display: none; }
.chatw.is-open .chatw__ico-close { display: block; }
.chatw__panel { position: absolute; right: 0; bottom: 72px; width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100svh - 140px)); display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: var(--shadow); overflow: hidden; animation: panelin 0.35s var(--ease-out); }
.chatw__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chatw__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chatw__quick button { padding: 6px 12px; border-radius: var(--r-full); border: 1px solid rgba(79, 209, 197, 0.4); color: var(--accent-text); font-size: var(--fs-xs); font-weight: 500; }
.chatw__quick button:hover { background: var(--accent-soft); }
.chatw__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); }
.chatw__form input { min-height: 44px; border-radius: var(--r-full); padding-inline: 16px; }
.chatw__form button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent); flex: none; }
.chatw__form .icon { width: 18px; height: 18px; }
.chatw__legal { padding: 0 12px 10px; font-size: 0.7rem; color: var(--subtle); }
.chatw__legal a { text-decoration: underline; }
.msg a { text-decoration: underline; }

.cookie { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 120; width: min(760px, calc(100vw - 24px)); display: flex; gap: 20px; align-items: flex-end; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--border-strong); background: var(--surface-solid); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5); animation: panelin 0.4s var(--ease-out); }
.cookie__main { flex: 1; }
.cookie__title { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 6px; }
.cookie__title .icon { color: var(--accent-text); }
.cookie__text { font-size: var(--fs-sm); color: var(--muted); }
.cookie__text a { color: var(--accent-text); text-decoration: underline; }
.cookie__prefs { display: grid; gap: 10px; margin-top: 14px; }
.switch { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); cursor: pointer; }
.switch input { width: 18px; height: 18px; accent-color: var(--lime-500); }
.switch small { color: var(--subtle); margin-left: 6px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--lime-400); }
.cursor__ring { width: 34px; height: 34px; border: 1px solid rgba(79, 209, 197, 0.55); transform: translate3d(var(--rx2, -100px), var(--ry2, -100px), 0) translate(-50%, -50%) scale(var(--s, 1)); transition: width 0.25s, height 0.25s, background 0.25s; }
.cursor.is-hover .cursor__ring { width: 54px; height: 54px; background: rgba(79, 209, 197, 0.08); }

/* ---------- 12. Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); transition-delay: var(--delay, 0s); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal.tilt.is-visible { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadein { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.55); } 70% { box-shadow: 0 0 0 8px rgba(79, 209, 197, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(79, 209, 197, 0.5); } 100% { box-shadow: 0 0 0 12px rgba(79, 209, 197, 0); } }
@keyframes wave { 0%, 100% { height: 20%; } 50% { height: 95%; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes grow { from { transform: scaleY(0.55); } to { transform: scaleY(1); } }
@keyframes flow { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes msgin { 0% { opacity: 0; transform: translateY(6px); } 8%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
@keyframes msgpop { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes dealmove { 0%, 15% { transform: translateX(0); } 45%, 60% { transform: translateX(calc(100% + 24px)); } 90%, 100% { transform: translateX(calc(200% + 48px)); opacity: 0; } }
@keyframes panelin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cookie { animation-name: cookiein; }
@keyframes cookiein { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { position: fixed; inset: var(--header-h) 0 0; z-index: 99; margin: 0; padding: 20px clamp(20px, 4vw, 32px) 120px; background: var(--bg); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform 0.4s var(--ease-out), visibility 0.4s; }
  .header.is-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 4px; font-size: 1.1rem; border-radius: 0; border-bottom: 1px solid var(--border); background: none !important; color: var(--text); }
  .mega { position: static; width: auto; transform: none; opacity: 1; visibility: visible; pointer-events: auto; display: none; box-shadow: none; border: 0; padding: 8px 0; background: transparent; }
  .nav__item--mega.is-open .mega { display: block; transform: none; }
  .mega__inner { grid-template-columns: 1fr; }
  .mega__grid { grid-template-columns: 1fr; }
  .mega__promo { display: none; }
  .nav__mobile-cta { display: flex; margin-top: 24px; width: 100%; }
  .nav-toggle { display: grid; }
  .header__cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__canvas { width: 100%; right: 0; opacity: 0.55; }
  .hero__chips { display: none; }
  .hero__glow { right: -30%; top: 20%; }
}

@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__item, .bento__item--1, .bento__item--main, .bento__item--small { grid-column: span 1; }
  .bento__item--0 { grid-column: span 2; }
  .pains, .projects, .posts, .extras { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plans:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, 1fr); }
  .metrics, .usecases { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 28px; padding-left: 0; }
  .timeline__line { top: 22px; bottom: 22px; left: 22px; right: auto; width: 2px; height: auto; }
  .timeline__line span { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .timeline__step { display: grid; grid-template-columns: 46px 1fr; column-gap: 20px; }
  .timeline__num { grid-row: span 2; margin: 0; }
  .demo, .sector, .final__inner, .split, .about, .page-hero__split, .contact, .case, .article__layout, .footer__top, .newsletter { grid-template-columns: 1fr; }
  .toc, .case__meta, .contact__side { position: static; }
  .toc { padding: 20px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface); }
  .about__photo { max-width: 420px; }
  .carousel__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .mini-svcs { grid-template-columns: 1fr; }
  .checkgrid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  :root { --header-h: 64px; }
  .logo--nav { width: 44px; }
  .bento, .pains, .projects, .posts, .posts--2, .extras, .plans, .plans:has(> :nth-child(2):last-child), .plans:has(> :nth-child(3):last-child), .benefits, .usecases, .why, .gallery { grid-template-columns: 1fr; }
  .bento__item--0 { grid-column: span 1; }
  .chat-demo__head .tag { display: none; }
  .metrics { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric { padding: 20px 12px; }
  .carousel__track { grid-auto-columns: 88%; }
  .form__grid, .features, .quiz__options, .checkgrid { grid-template-columns: 1fr; }
  .crm-demo__kpis { grid-template-columns: 1fr 1fr; }
  .crm-demo__kpis > div:last-child { grid-column: span 2; }
  .crm-demo__board { grid-template-columns: repeat(2, 1fr); }
  .tabs__list { width: 100%; border-radius: var(--r); }
  .actions .btn { flex: 1 1 100%; }
  .inline-cta { flex-direction: column; align-items: flex-start; }
  .cookie { flex-direction: column; align-items: stretch; bottom: 12px; }
  .cookie__actions .btn { flex: 1; }
  .newsletter__form { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .section-head--row .btn { width: 100%; }
  /* CTA fijo en móvil: los flotantes suben por encima */
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--header-bg); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--border); transform: translateY(110%); transition: transform 0.35s var(--ease-out); }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta .btn { min-height: 46px; }
  body { padding-bottom: 72px; }
  .fab-wa { bottom: 84px; left: 14px; width: 50px; height: 50px; }
  .chatw { right: 14px; bottom: 84px; }
  .chatw__toggle { width: 54px; height: 54px; }
  .chatw__panel { position: fixed; right: 12px; left: 12px; width: auto; bottom: 150px; height: min(520px, calc(100svh - 230px)); }
  .page-contacto .mobile-cta, .page-gracias .mobile-cta { display: none; }
}

@media (min-width: 1920px) {
  :root { --container: 1360px; }
}

/* Movimiento reducido: sin animaciones ni transiciones de entrada */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  .js .reveal, .hero__in { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 16px 40px; }
  .marquee__track li[aria-hidden="true"] { display: none; }
  .mk-chat .msg { opacity: 1; }
  .tilt { transform: none !important; }
}

/* Impresión */
@media print {
  .header, .footer, .fab-wa, .chatw, .cookie, .mobile-cta, .bg-grid, .cursor, .hero__canvas { display: none !important; }
  body { background: #fff; color: #000; }
}

/* =========================================================
   13. Estilo "armada en vivo"
   Titulares condensados en mayúsculas, punto final verde,
   secciones numeradas y el enjambre de cursores (js/swarm.js)
   ========================================================= */
:root { --font-display: "Anton", "Impact", "Arial Narrow", sans-serif; }
.display, .h1, .h2 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: -0.005em; line-height: 0.95; }
.display { font-size: clamp(3rem, 1.6rem + 6vw, 6.6rem); letter-spacing: -0.01em; }
.h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); }
.h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.5rem); }
.accent-dot { color: var(--accent-text); }
.display .grad-text, .h1 .grad-text { padding-right: 0.04em; }

/* Secciones numeradas "01 / ..." en la home */
.page-home main { counter-reset: sec; }
.page-home .section-head .eyebrow::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) " / "; color: var(--subtle); }

/* Palabra gigante detrás del hero */
.hero__bigword {
  position: absolute; z-index: -3; left: 50%; top: 50%; transform: translate(-50%, -46%);
  font-family: var(--font-display); text-transform: uppercase; white-space: nowrap; line-height: 0.8;
  font-size: clamp(7rem, 22vw, 26rem); letter-spacing: -0.01em; pointer-events: none; user-select: none;
  background: linear-gradient(180deg, rgba(79, 209, 197, 0.16), rgba(79, 209, 197, 0.02) 75%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="light"] .hero__bigword { background: linear-gradient(180deg, rgba(58, 110, 0, 0.14), rgba(58, 110, 0, 0.02) 75%); -webkit-background-clip: text; background-clip: text; }

/* Antes de que arranque el enjambre, el contenido no parpadea */
.swarm-pre main, .swarm-pre .footer { opacity: 0; }

/* Estados de construcción */
.sw-wait { opacity: 0 !important; transition: none !important; animation: none !important; }
.sw-shell { background: transparent !important; border-color: transparent !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.sw-shell::before, .sw-shell::after { opacity: 0 !important; }
.sw-in { animation: swIn 0.45s var(--ease-out) both; }
.sw-typing { border-right: 0; }
@keyframes swIn { from { opacity: 0; filter: brightness(1.8); } to { opacity: 1; filter: none; } }
html.js:not(.swarm-pre) .reveal { opacity: 1; transform: none; }
.hero__in { animation: none; opacity: 1; transform: none; }

/* Capa del enjambre */
.sw-layer { position: absolute; inset: 0 0 auto 0; height: 0; z-index: 70; pointer-events: none; }
.sw-box { position: absolute; width: 0; height: 0; border: 1px solid #4d7cfe; background: rgba(77, 124, 254, 0.06); transition: opacity 0.5s var(--ease); }
.sw-box.is-done { opacity: 0; }
.sw-box i { position: absolute; width: 6px; height: 6px; background: #fff; border: 1px solid #4d7cfe; opacity: 0; transition: opacity 0.2s; }
.sw-box.is-drawn i { opacity: 1; }
.sw-box .tl { left: -4px; top: -4px; } .sw-box .tr { right: -4px; top: -4px; }
.sw-box .bl { left: -4px; bottom: -4px; } .sw-box .br { right: -4px; bottom: -4px; }
.sw-size { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: #4d7cfe; color: #fff; font: 600 10px/1.5 var(--font-body); white-space: nowrap; opacity: 0; transition: opacity 0.2s; }
.sw-box.is-drawn .sw-size { opacity: 1; }
.sw-guide { position: absolute; left: 0; right: 0; height: 1px; background: rgba(77, 124, 254, 0.55); animation: swGuide 0.9s var(--ease) both; }
@keyframes swGuide { 0% { opacity: 0; transform: scaleX(0.2); } 20% { opacity: 1; transform: none; } 100% { opacity: 0; } }

.sw-cur { position: absolute; left: 0; top: 0; width: 16px; height: 20px; will-change: transform; transition: opacity 0.6s var(--ease); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55)); }
.sw-cur svg { position: absolute; left: 0; top: 0; }
.sw-cur__arrow { width: 16px; height: 20px; }
.sw-cur__arrow path { fill: var(--c); stroke: #050605; stroke-width: 1.2; stroke-linejoin: round; }
.sw-cur__ibeam { width: 10px; height: 20px; opacity: 0; transform: translate(-5px, -10px); }
.sw-cur__ibeam path { fill: none; stroke: var(--c); stroke-width: 1.8; stroke-linecap: round; }
.sw-cur.is-type .sw-cur__arrow { opacity: 0; }
.sw-cur.is-type .sw-cur__ibeam { opacity: 1; }
.sw-cur.is-leaving { opacity: 0; }

/* Barra inferior (HUD) */
.sw-hud {
  position: fixed; left: 50%; bottom: 18px; z-index: 96; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; padding: 7px 8px 7px 14px; max-width: calc(100vw - 160px);
  border-radius: var(--r-full); border: 1px solid var(--border-strong);
  background: color-mix(in srgb, var(--surface-solid) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: var(--shadow); font-size: var(--fs-xs); color: var(--muted); white-space: nowrap;
  animation: cookiein 0.5s var(--ease-out) both;
}
.sw-hud b { color: var(--text); font-weight: 600; }
.sw-hud__dots { display: inline-flex; }
.sw-hud__dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); border: 2px solid var(--surface-solid); margin-left: -4px; }
.sw-hud__dots i:first-child { margin-left: 0; }
.sw-hud__bar { width: 70px; height: 3px; border-radius: 3px; background: var(--surface-2); overflow: hidden; }
.sw-hud__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.3s var(--ease); }
.sw-hud__btn { padding: 4px 12px; border-radius: var(--r-full); font-weight: 600; color: var(--text); background: var(--surface-2); transition: background 0.2s, color 0.2s; }
.sw-hud__btn:hover { background: var(--border-strong); }
.sw-hud__btn[aria-pressed="true"] { background: #4d7cfe; color: #fff; }
.sw-hud__icon { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: var(--muted); }
.sw-hud__icon:hover { color: var(--text); background: var(--surface-2); }
.sw-hud__icon svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sw-hud.is-off { cursor: pointer; padding: 7px 16px; }
.sw-hud.is-off > :not(.sw-hud__text):not(.sw-hud__dots) { display: none; }
.sw-hud.is-off .sw-hud__text { color: var(--text); font-weight: 600; }
.sw-hud.is-done .sw-hud__bar span { background: var(--accent); }

@media (max-width: 680px) {
  .sw-hud { bottom: 80px; max-width: calc(100vw - 140px); gap: 8px; padding: 6px 6px 6px 10px; }
  .sw-hud__dots, .sw-hud__bar, [data-sw-speed] { display: none; }
  .sw-hud__text { overflow: hidden; text-overflow: ellipsis; }
}
@media (prefers-reduced-motion: reduce) { .sw-hud, .sw-layer { display: none; } }
@media print { .sw-hud, .sw-layer { display: none !important; } }

/* =========================================================
   14. Película de la portada (scroll-world, js/scrub-engine.js)
   ========================================================= */
.film { position: relative; }
.film.sw-root {
  --sw-bg: #050605; --sw-ink: #f4f6f3; --sw-ink-soft: #a3ada2; --sw-accent: #4fd1c5;
  --sw-font-display: var(--font-display); --sw-font-body: var(--font-body);
}
.film .sw-topbar { display: none; }
.film .sw-sky, .film .sw-stage, .film .sw-copylayer, .film .sw-route, .film .sw-scrollbar, .film .sw-hint { opacity: var(--sw-out, 1); }
.film.sw-done .sw-sky, .film.sw-done .sw-stage, .film.sw-done .sw-copylayer, .film.sw-done .sw-route, .film.sw-done .sw-scrollbar, .film.sw-done .sw-hint { visibility: hidden; }
.film .sw-copy__title { text-transform: uppercase; font-weight: 400; letter-spacing: 0; line-height: 0.95; }
.film .sw-copy__eyebrow { color: var(--sw-accent); }
.film .sw-btn--primary { color: #050605 !important; }
.film .sw-hint { bottom: 84px; }
.film .sw-scrollbar { top: var(--header-h); }
.film .sw-sky, .film .sw-stage, .film .sw-hint, .film .sw-copylayer, .film .sw-route, .film .sw-scrollbar { translate: 0 var(--sw-lift, 0px); }
[data-theme="light"] .film.sw-root { --sw-bg: #050605; --sw-ink: #f4f6f3; }
.film .sw-copy__eyebrow, .film .sw-copy__num { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.film .sw-copy__title { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); }
.film .sw-hint { left: auto; right: clamp(70px, 8vw, 120px); bottom: 32px; transform: none; }
.film .sw-route__label { background: rgba(5, 6, 5, 0.85); color: #f4f6f3; border-color: rgba(79, 209, 197, 0.3); }
.sw-hud.is-waiting { opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity 0.4s, transform 0.4s; }
@media (max-width: 680px) { .film .sw-hint { display: none; } }
.sw-hud.is-waiting { animation: none; visibility: hidden; }
.film.sw-root .sw-copy { width: min(48vw, 640px); top: calc(50% + var(--header-h) / 2); }
.film.sw-root .sw-copy__title { font-size: min(clamp(2.4rem, 1.4rem + 3.4vw, 4.6rem), 7vh); margin-top: 8px; }
.film.sw-root .sw-copy__body { font-size: min(clamp(1rem, 1.25vw, 1.14rem), 2.5vh); margin-top: 12px; }
.film.sw-root .sw-copy__cta { margin-top: 18px; }
@media (max-width: 860px) {
  .film.sw-root .sw-copy { width: auto; top: auto; }
  .film.sw-root .sw-copy__title { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
  .film.sw-root .sw-copy__body { font-size: 0.98rem; }
  .film.sw-root .sw-copy__eyebrow { font-size: 0.68rem; }
}
.film.sw-root .sw-btn--primary { background: var(--lime-400) !important; color: #050605 !important; border-color: var(--lime-400) !important; box-shadow: 0 10px 30px -10px rgba(79, 209, 197, 0.45); }
.film.sw-root .sw-btn--primary:hover { background: #7fdfd6 !important; }
@media (max-width: 680px) { .film.sw-root .sw-copy { bottom: calc(150px + env(safe-area-inset-bottom)); } }

/* Mientras se ve la película: nada que se repinte encima del vídeo */
.film-on .header, .film-on .header.is-scrolled { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; background: linear-gradient(180deg, rgba(5, 6, 5, 0.9), rgba(5, 6, 5, 0.55)) !important; border-bottom-color: transparent !important; }
.film-on .bg-grid { display: none; }
.film .sw-scene { will-change: opacity; contain: strict; }
.film .sw-scene__video { transform: translateZ(0); }
.film .sw-copy { will-change: opacity, transform; }

/* =========================================================
   15. Estilo «espacio + marco» (referencia: landing con objeto 3D)
   Titulares en Manrope sin mayúsculas forzadas, fondo de espacio
   con estrellas, secciones destacadas en marcos redondeados,
   tarjetas de cristal y botones píldora. Colores de marca.
   ========================================================= */
:root {
  --font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-frame: clamp(22px, 2.4vw, 36px);
  --frame-gap: clamp(8px, 1.2vw, 16px);
}
.display, .h1, .h2 { font-family: var(--font-display); font-weight: 500; text-transform: none; letter-spacing: -0.035em; line-height: 1.04; }
.display { font-size: clamp(2.3rem, 1.35rem + 3.2vw, 4.3rem); letter-spacing: -0.04em; }
.h1 { font-size: clamp(2.2rem, 1.45rem + 3vw, 4rem); }
.h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3.2rem); }
.h3, .h4 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; }
.accent-dot { display: none; }

/* Fondo de espacio: nebulosa verde muy tenue + campo de estrellas */
[data-theme="dark"] body { background: #040504; }
[data-theme="dark"] .bg-grid {
  -webkit-mask-image: none; mask-image: none;
  background:
    radial-gradient(1px 1px at 23px 41px, rgba(244, 246, 243, 0.55), transparent 60%),
    radial-gradient(1px 1px at 141px 97px, rgba(244, 246, 243, 0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 77px 163px, rgba(214, 255, 148, 0.5), transparent 60%),
    radial-gradient(1px 1px at 201px 13px, rgba(244, 246, 243, 0.4), transparent 60%),
    radial-gradient(1px 1px at 251px 211px, rgba(244, 246, 243, 0.3), transparent 60%),
    radial-gradient(1px 1px at 311px 131px, rgba(244, 246, 243, 0.45), transparent 60%),
    radial-gradient(60% 50% at 15% 0%, rgba(118, 219, 0, 0.09), transparent 70%),
    radial-gradient(50% 45% at 90% 35%, rgba(40, 120, 90, 0.08), transparent 70%),
    radial-gradient(70% 50% at 50% 110%, rgba(118, 219, 0, 0.06), transparent 70%);
  background-size: 340px 240px, 340px 240px, 340px 240px, 340px 240px, 340px 240px, 340px 240px, 100% 100%, 100% 100%, 100% 100%;
}
[data-theme="dark"] .bg-grid::after { opacity: 0.05; }

/* ---- Hero con marco y objeto 3D ---- */
.hero.hero--orb { display: block; min-height: 0; padding: calc(var(--header-h) + 4px) var(--frame-gap) var(--frame-gap); overflow: visible; }
.hero__frame {
  --text: #f4f6f3; --muted: #a3ada2; --subtle: #7c877b; --accent-text: var(--lime-400);
  position: relative; isolation: isolate; overflow: hidden; color: var(--text);
  min-height: calc(100svh - var(--header-h) - 4px - var(--frame-gap)); display: flex; flex-direction: column; align-items: center;
  border-radius: var(--r-frame); border: 1px solid rgba(244, 246, 243, 0.08);
  background:
    radial-gradient(70% 55% at 0% 0%, rgba(79, 209, 197, 0.10), transparent 60%),
    radial-gradient(50% 45% at 100% 10%, rgba(60, 140, 110, 0.10), transparent 65%),
    linear-gradient(180deg, #0b0e0b 0%, #070807 60%, #050605 100%);
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(244, 246, 243, 0.06);
}
.hero__frame .grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.hero__orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__orb.is-ready { opacity: 1; }
.hero__orb.is-fallback { opacity: 1; background: radial-gradient(34% 46% at 50% 108%, rgba(185, 254, 86, 0.55), rgba(118, 219, 0, 0.18) 55%, transparent 72%); }
.hero__floor { position: absolute; left: 50%; bottom: -30%; width: min(900px, 90%); height: 60%; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(79, 209, 197, 0.16), transparent); filter: blur(20px); pointer-events: none; }
.hero__center { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: clamp(40px, 7vh, 96px); padding-bottom: clamp(220px, 38vh, 420px); }
.hero__center .display { max-width: 20ch; margin-inline: auto; }
.hero__center .lead { margin-top: var(--s-5); max-width: 560px; font-size: clamp(0.98rem, 0.9rem + 0.3vw, 1.12rem); }
.hero__center .badge { background: rgba(244, 246, 243, 0.04); border-color: rgba(244, 246, 243, 0.12); }
.micro--center { justify-content: center; }

.hero__stat {
  position: absolute; z-index: 3; width: 210px; padding: 14px 16px 16px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 246, 243, 0.07), rgba(244, 246, 243, 0.02));
  border: 1px solid rgba(244, 246, 243, 0.1); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8); animation: float 8s ease-in-out infinite;
}
.hero__stat-top { display: flex; align-items: center; justify-content: space-between; font-size: 0.72rem; color: var(--muted); }
.hero__stat-top i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #f4f6f3; color: #050605; }
.hero__stat-top .icon { width: 12px; height: 12px; }
.hero__stat b { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1; }
.hero__stat small { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }
.hero__stat-bar { display: block; margin-top: 12px; height: 3px; border-radius: 3px; background: rgba(244, 246, 243, 0.1); overflow: hidden; }
.hero__stat-bar span { display: block; width: 62%; height: 100%; border-radius: inherit; background: var(--grad); }
.hero__stat--l { left: clamp(20px, 13%, 220px); bottom: clamp(90px, 22%, 220px); }
.hero__stat--r { right: clamp(20px, 13%, 220px); bottom: clamp(50px, 12%, 140px); animation-delay: -3.5s; }

/* ---- Botones píldora como la referencia ---- */
.btn { letter-spacing: -0.005em; }
.btn--ghost { background: #f4f6f3; color: #050605; border-color: #f4f6f3; }
.btn--ghost:hover { background: #ffffff; color: #050605; border-color: #ffffff; }
[data-theme="light"] .btn--ghost { background: #050605; color: #f4f6f3; border-color: #050605; }
[data-theme="light"] .btn--ghost:hover { background: #1f241f; color: #f4f6f3; border-color: #1f241f; }
[data-theme="light"] .hero__frame .btn--ghost { background: #f4f6f3; color: #050605; border-color: #f4f6f3; }

/* ---- Secciones destacadas dentro de marcos redondeados ---- */
.section--alt, .final {
  margin-inline: var(--frame-gap); border-radius: var(--r-frame); border: 1px solid var(--border);
  background: radial-gradient(60% 50% at 0% 0%, rgba(79, 209, 197, 0.06), transparent 60%), linear-gradient(180deg, var(--surface-solid), var(--bg-2));
  box-shadow: inset 0 1px 0 rgba(244, 246, 243, 0.04);
}
.section--alt .timeline__num { box-shadow: 0 0 0 6px var(--surface-solid), 0 0 24px -4px var(--glow); background: var(--surface-solid); }
.final { margin-bottom: var(--frame-gap); }
.footer { margin: 0 var(--frame-gap) var(--frame-gap); border: 1px solid var(--border); border-radius: var(--r-frame); }

/* ---- Tarjetas de cristal ---- */
.card { border-radius: 20px; background: linear-gradient(180deg, color-mix(in srgb, var(--text) 5%, transparent), color-mix(in srgb, var(--text) 1.5%, transparent)); }
.card--glow:hover, .tilt:hover { border-color: rgba(79, 209, 197, 0.28); }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.page-home .section-head .eyebrow::before { color: var(--accent-text); }

@media (max-width: 860px) {
  .hero__stat { width: 170px; padding: 12px 13px 13px; }
  .hero__stat b { font-size: 1.35rem; }
  .hero__stat--l { left: 14px; bottom: 120px; }
  .hero__stat--r { right: 14px; bottom: 36px; }
  .hero__center { padding-bottom: clamp(240px, 44vh, 360px); }
}
@media (max-width: 520px) {
  .hero__stat small { display: none; }
  .hero__stat { width: 148px; }
}
@media (prefers-reduced-motion: reduce) { .hero__stat { animation: none; } }
.hero__center .micro { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9); }
