/* ==========================================================================
   SAME STUDIO — Sistema de diseño
   Concepto: estudio oscuro y silencioso, superficies de cristal, metal
   plateado como protagonista y lima/violeta solo como chispa de acento.
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Color */
  --bg: #07080A;
  --bg-2: #0B0C0F;
  --bg-3: #111317;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --surface-3: rgba(255, 255, 255, .09);
  --glass: rgba(18, 20, 24, .55);
  --glass-strong: rgba(14, 15, 19, .82);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --line-3: rgba(255, 255, 255, .22);

  --text: #F1F3F6;
  --text-2: #A8AFB9;
  --text-3: #7F8792;

  /* Gris metálico plateado (propuesta de marca) */
  --silver: #C4CAD3;
  --silver-hi: #E8EBEF;
  --silver-lo: #8C94A0;
  --ink: #0A0B0D;

  --lime: #C2FA3A;
  --violet: #773FF2;
  --violet-soft: #9C78F7;

  --progress-from: #4B45FF;
  --progress-to: #B4A3FF;

  /* Tipografía */
  --f-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-hero: clamp(2.55rem, 1.4rem + 4.9vw, 5.4rem);
  --fs-h1: clamp(2.35rem, 1.45rem + 3.7vw, 4.4rem);
  --fs-h2: clamp(1.95rem, 1.3rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .7vw, 1.65rem);
  --fs-lead: clamp(1.05rem, 1rem + .3vw, 1.2rem);
  --fs-body: 1.0625rem;
  --fs-sm: .9375rem;
  --fs-xs: .8125rem;

  /* Forma y ritmo */
  --r-sm: 14px;
  --r: 22px;
  --r-lg: 30px;
  --r-xl: 38px;
  --pill: 999px;
  --container: 1240px;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px), 4vw);
  --gutter-r: max(16px, env(safe-area-inset-right, 0px), 4vw);
  --section: clamp(84px, 11vw, 150px);
  --header-h: 72px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
}
@media (min-width: 1400px) { :root { --gutter-l: max(32px, env(safe-area-inset-left, 0px)); --gutter-r: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--f-display); font-weight: 600; margin: 0; line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

/* Grano de película sobre todo el sitio */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .055;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Franja de zona segura superior en móviles con notch */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 1001; background: var(--bg); }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: var(--pill); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 64px); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.container--narrow { max-width: calc(860px + 64px); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.section + .section { padding-top: 0; }
.section--flush-top { padding-top: 0; }
.stack { display: flex; flex-direction: column; }

/* ---------- Barra de progreso de scroll ---------- */
.scroll-progress {
  position: fixed; inset: 0 0 auto; z-index: 1002;
  height: calc(3px + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  pointer-events: none;
}
.scroll-progress span {
  display: block; height: 3px; width: 100%;
  background: linear-gradient(90deg, var(--progress-from), var(--progress-to));
  transform: scaleX(0); transform-origin: 0 50%;
  box-shadow: 0 0 12px rgba(120, 110, 255, .55);
  will-change: transform;
}

/* ---------- Tipografía utilitaria ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--pill);
  background: var(--surface);
  font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 500;
  color: var(--text-2); letter-spacing: .01em;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
.eyebrow .dot, .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(194, 250, 58, .14); flex: none; }
.eyebrow--violet .dot { background: var(--violet-soft); box-shadow: 0 0 0 4px rgba(119, 63, 242, .22); }
.dot--pulse { animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(194, 250, 58, .45); } 60% { box-shadow: 0 0 0 7px rgba(194, 250, 58, 0); } }

.lead { font-size: var(--fs-lead); color: var(--text-2); line-height: 1.6; max-width: 60ch; }
.muted { color: var(--text-2); }
.hl { color: var(--silver); font-weight: 300; }
.hl-lime { color: var(--lime); }
.kicker { font-family: var(--f-display); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -.025em; }

.section-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px 64px; align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head__title { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.section-head .lead { justify-self: end; }
.section-head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head--center .section-head__title { align-items: center; }
.section-head--center .lead { justify-self: center; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } .section-head .lead { justify-self: start; } }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--text); --btn-bd: var(--line-2);
  --orb-bg: var(--surface-3); --orb-fg: var(--text);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: 54px; padding: 0 8px 0 24px;
  border-radius: var(--pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--f-display); font-weight: 600; font-size: .9375rem; letter-spacing: -.01em;
  white-space: nowrap;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease);
  isolation: isolate;
}
.btn--no-orb { padding: 0 26px; }
.btn__label { display: inline-block; overflow: hidden; height: 1.3em; line-height: 1.3; }
.btn__label > span { display: block; text-shadow: 0 1.3em 0 currentColor; transition: transform .45s var(--ease); }
.btn:hover .btn__label > span { transform: translateY(-1.3em); }
.btn__orb {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--orb-bg); color: var(--orb-fg);
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .45s var(--ease);
  flex: none;
}
.btn__orb svg { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.btn:hover .btn__orb svg { transform: rotate(45deg); }
.btn:active { transform: scale(.98); }

.btn--light { --btn-bg: var(--silver-hi); --btn-fg: var(--ink); --btn-bd: var(--silver-hi); --orb-bg: var(--ink); --orb-fg: var(--silver-hi); }
.btn--light:hover { --btn-bg: #fff; --orb-fg: var(--lime); }
.btn--ghost { --btn-bg: rgba(255,255,255,.02); }
.btn--ghost:hover { --btn-bg: var(--surface-2); --btn-bd: var(--line-3); --orb-bg: var(--silver-hi); --orb-fg: var(--ink); }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); --btn-bd: var(--lime); --orb-bg: var(--ink); --orb-fg: var(--lime); }
.btn--lime:hover { --btn-bg: #d2ff5f; }
.btn--sm { height: 46px; font-size: .875rem; padding-left: 20px; gap: 12px; }
.btn--sm .btn__orb { width: 32px; height: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 600; font-size: .9375rem; color: var(--text); }
.link-arrow .orb { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); transition: background-color .35s var(--ease), color .35s var(--ease); }
.link-arrow .orb svg { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.link-arrow:hover .orb { background: var(--lime); color: var(--ink); }
.link-arrow:hover .orb svg { transform: rotate(45deg); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-xs); color: var(--text-2); white-space: nowrap; }
.chip svg { width: 14px; height: 14px; color: var(--lime); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--pill); font-family: var(--f-display); font-size: .6875rem; font-weight: 700; letter-spacing: .02em; color: var(--lime); border: 1px solid rgba(194, 250, 58, .4); background: rgba(194, 250, 58, .08); }
.tag--violet { color: #B9A0FF; border-color: rgba(119, 63, 242, .55); background: rgba(119, 63, 242, .14); }
.tag--muted { color: var(--text-2); border-color: var(--line-2); background: var(--surface); }

/* ---------- Header pastilla ---------- */
.site-header {
  position: fixed; z-index: 1000;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 0; right: 0;
  padding-left: max(12px, env(safe-area-inset-left, 0px));
  padding-right: max(12px, env(safe-area-inset-right, 0px));
  pointer-events: none;
  transition: transform .5s var(--ease);
}
.site-header__pill {
  pointer-events: auto;
  max-width: 1200px; margin-inline: auto;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 10px 0 22px;
  border-radius: var(--pill);
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 10px 40px -12px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  transition: height .45s var(--ease), background-color .45s var(--ease), border-color .45s var(--ease);
}
.site-header.is-scrolled .site-header__pill { height: 62px; background: rgba(14, 15, 19, .62); border-color: var(--line-2); }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.125rem; letter-spacing: -.04em; justify-self: start; white-space: nowrap; }
.logo b { font-weight: 700; color: #fff; }
.logo span { font-weight: 700; color: #fff; }

.nav { position: relative; justify-self: center; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: var(--pill); position: relative; }
.nav__indicator {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0;
  border-radius: var(--pill);
  background: var(--surface-3);
  border: 1px solid var(--line);
  opacity: 0;
  transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s var(--ease);
  pointer-events: none;
}
.nav__link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 16px;
  border-radius: var(--pill);
  font-family: var(--f-display); font-size: .9063rem; font-weight: 500;
  color: var(--text-2);
  transition: color .3s var(--ease);
  white-space: nowrap;
}
.nav__link:hover, .nav__link.is-hover, .nav__link[aria-current="page"], .nav__link.is-active { color: var(--text); }
.nav__link svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.nav__item--drop[data-open="true"] .nav__link svg { transform: rotate(180deg); }

.header-cta { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header-cta .btn { height: 48px; padding-left: 20px; }
.header-cta .btn .btn__orb { width: 34px; height: 34px; }
/* Botón con bucle de flecha: sale arriba-derecha, entra otra por abajo-izquierda */
.btn--loop .btn__label { height: auto; overflow: visible; }
.btn--loop .btn__orb { position: relative; overflow: hidden; }
.btn--loop .btn__orb svg { position: absolute; inset: 0; margin: auto; transition: transform .5s var(--ease); }
.btn--loop .btn__orb svg:last-child { transform: translate(-160%, 160%); }
.btn--loop:hover .btn__orb svg:first-child { transform: translate(160%, -160%); }
.btn--loop:hover .btn__orb svg:last-child { transform: none; }
.btn--loop:hover { --orb-bg: var(--lime); --orb-fg: var(--bg); }
.btn--lime.btn--loop:hover { --btn-bg: var(--lime); --orb-bg: var(--ink); --orb-fg: var(--lime); }

/* Desplegable servicios */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  width: min(760px, calc(100vw - 48px));
  translate: -50% 0;
  padding: 10px;
  border-radius: var(--r-lg);
  background: #0D0E11;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr 230px; gap: 6px;
  opacity: 0; visibility: hidden;
  transform: translateY(-8px) scale(.98);
  transform-origin: top center;
  transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item--drop[data-open="true"] .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dropdown__item { display: flex; gap: 14px; padding: 16px; border-radius: var(--r); transition: background-color .3s var(--ease); }
.dropdown__item:hover, .dropdown__item:focus-visible { background: var(--surface-2); }
.dropdown__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); flex: none; transition: background-color .3s var(--ease), color .3s var(--ease); }
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown__item:hover .dropdown__icon { background: var(--silver-hi); color: var(--ink); }
.dropdown__title { font-family: var(--f-display); font-weight: 600; font-size: .9688rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 8px; }
.dropdown__desc { display: block; font-size: .8438rem; line-height: 1.45; color: var(--text-3); margin-top: 3px; }
.dropdown__feature { grid-row: 1 / 3; grid-column: 3; border-radius: var(--r); padding: 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.dropdown__help { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; padding: 16px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); font-size: .875rem; color: var(--text-3); transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s; }
.dropdown__help b { color: var(--text); font-family: var(--f-display); font-weight: 600; }
.dropdown__help svg { width: 18px; height: 18px; flex: none; color: var(--text-2); transition: transform .4s var(--ease), color .3s; }
.dropdown__help:hover { border-color: var(--lime); background: var(--surface); color: var(--text-2); }
.dropdown__help:hover svg { transform: translateX(4px); color: var(--lime); }
.mobile-sub .tag { margin-left: -4px; }
.dropdown__feature .rings { position: absolute; right: -60px; top: -60px; width: 200px; opacity: .55; }
.dropdown__feature p { font-size: .8438rem; color: var(--text-2); line-height: 1.5; position: relative; }
.dropdown__feature h4 { font-size: 1.125rem; position: relative; }

/* Hamburguesa + menú móvil */
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); place-items: center; }
.burger { position: relative; }
.burger__inner { position: relative; width: 18px; height: 14px; display: block; }
.burger__inner > span { position: absolute; left: 0; width: 18px; height: 1.6px; background: var(--text); border-radius: 2px; transition: transform .45s var(--ease), top .45s var(--ease), opacity .25s var(--ease); }
.burger__inner > span:nth-child(1) { top: 1px; }
.burger__inner > span:nth-child(2) { top: 6.2px; }
.burger__inner > span:nth-child(3) { top: 11.4px; }
.is-menu-open .burger__inner > span:nth-child(1) { top: 6.2px; transform: rotate(45deg); }
.is-menu-open .burger__inner > span:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.is-menu-open .burger__inner > span:nth-child(3) { top: 6.2px; transform: rotate(-45deg); }

/* Menú móvil: tarjeta que se despliega de arriba abajo sobre un fondo glass */
.mobile-menu {
  position: fixed; inset: 0; z-index: 999;
  padding: calc(14px + var(--header-h) + 10px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(7, 8, 10, .22);
  backdrop-filter: blur(8px) saturate(130%); -webkit-backdrop-filter: blur(8px) saturate(130%);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility 0s linear .55s;
}
.is-menu-open .mobile-menu { opacity: 1; visibility: visible; transition-delay: 0s; }
.mobile-menu__panel {
  max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  padding: 10px 22px 22px;
  border-radius: var(--r-lg);
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  clip-path: inset(0 0 100% 0 round var(--r-lg));
  transform: translateY(-10px);
  transition: clip-path .6s var(--ease), transform .6s var(--ease);
}
.is-menu-open .mobile-menu__panel { clip-path: inset(0 0 0 0 round var(--r-lg)); transform: none; }
.mobile-menu__list { list-style: none; display: flex; flex-direction: column; }
.mobile-menu__list > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(-8px); transition: opacity .45s var(--ease), transform .45s var(--ease); transition-delay: calc(var(--i, 0) * 40ms + 120ms); }
.is-menu-open .mobile-menu__list > li { opacity: 1; transform: none; }
.mobile-menu__link { display: flex; align-items: center; width: 100%; padding: 15px 2px; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.mobile-menu__link--label { padding-bottom: 6px; }
.mobile-menu__link[aria-current="page"] { color: var(--lime); }
.mobile-sub { list-style: none; display: grid; gap: 2px; padding: 0 0 12px; }
.mobile-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 12px; color: var(--text-2); font-family: var(--f-display); font-weight: 500; font-size: .9688rem; transition: color .3s, background-color .3s; }
.mobile-sub a:hover { color: var(--text); background: var(--surface); }
.mobile-sub .dropdown__icon { width: 32px; height: 32px; border-radius: 10px; }
.mobile-sub .dropdown__icon svg { width: 16px; height: 16px; }
.mobile-sub .tag { margin-left: -4px; }
.mobile-menu__foot { padding-top: 18px; opacity: 0; transition: opacity .45s var(--ease) .32s; }
.is-menu-open .mobile-menu__foot { opacity: 1; }
.mobile-menu__foot .btn { width: 100%; justify-content: space-between; font-weight: 700; }

@media (max-width: 1120px) {
  .nav__link { padding: 0 12px; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .site-header__pill { grid-template-columns: 1fr auto; padding: 0 8px 0 18px; }
  .site-header__pill { background: rgba(18, 20, 24, .38); }
  .site-header.is-scrolled .site-header__pill { height: 60px; background: rgba(14, 15, 19, .58); }
  .nav { display: none; }
  .burger { display: grid; }
  .header-cta .btn { display: none; }
}
@media (min-width: 961px) { .mobile-menu { display: none; } }

/* ---------- Revelado al hacer scroll ----------
   Sin JS (o si algo falla) todo se ve. Solo con .js se prepara la animación. */
.js [data-reveal] { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease), translate .6s var(--ease), rotate .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), border-color .4s var(--ease), box-shadow .6s var(--ease); transition-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms), 0s, 0s, 0s, 0s, 0s, 0s; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(.94); }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .02em .22em; margin: -.12em -.02em -.22em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + var(--d, 0) * 1ms); }
.js [data-split].is-in .w > span { transform: none; }

/* ---------- Fondos abstractos ---------- */
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); opacity: .16; background: var(--silver); }
.blob--violet { background: var(--violet); opacity: .16; }
.blob--lime { background: var(--lime); opacity: .07; }
.gridlines { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%);
}
.dots-bg { position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 75%);
}
.rings { color: var(--line-3); }
.spin-slow { animation: spin 60s linear infinite; }
.spin-rev { animation: spin 90s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.float { animation: float 9s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* Forma 3D CSS: cubo de alambre */
.cube-wrap { perspective: 900px; width: var(--size, 160px); height: var(--size, 160px); }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: cube 24s linear infinite; }
.cube i { position: absolute; inset: 0; border: 1px solid rgba(196, 202, 211, .35); background: rgba(255,255,255,.015); border-radius: 18%; }
.cube i:nth-child(1) { transform: translateZ(calc(var(--size, 160px) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--size, 160px) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--size, 160px) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--size, 160px) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--size, 160px) / 2)); border-color: rgba(194, 250, 58, .45); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--size, 160px) / 2)); }
@keyframes cube { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--header-h) + 34px + env(safe-area-inset-top, 0px)); }
.hero__frame {
  position: relative; overflow: hidden;
  margin-inline: max(10px, env(safe-area-inset-left, 0px)) max(10px, env(safe-area-inset-right, 0px));
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--bg-2);
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 24px; padding-block: clamp(56px, 8vw, 110px) clamp(36px, 5vw, 64px); }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.hero__title { font-size: var(--fs-hero); font-weight: 600; letter-spacing: -.05em; line-height: .98; }
.hero__title .hl { font-weight: 300; letter-spacing: -.055em; }
.hero__visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 560px; justify-self: end; }
.hero__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 28px; flex-wrap: wrap; }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-xs); color: var(--text-3); }
.scroll-cue__orb { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--silver-hi); color: var(--ink); }
.scroll-cue__orb svg { width: 16px; height: 16px; animation: nudge 2.2s var(--ease) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* Hero de páginas interiores */
.page-hero .hero__inner { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.page-hero--center .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.page-hero--center .hero__content { align-items: center; }
.page-hero .hero__title { font-size: var(--fs-h1); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-xs); color: var(--text-3); list-style: none; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-3); }

/* Escena 3D */
.scene { position: absolute; inset: 0; }
.scene canvas { width: 100% !important; height: 100% !important; opacity: 0; transition: opacity 1.4s var(--ease); }
.scene.is-ready canvas { opacity: 1; }
.scene__fallback { position: absolute; inset: 14%; border-radius: 50%; background: var(--silver); filter: blur(60px); opacity: .18; transition: opacity 1s; }
.scene.is-ready .scene__fallback { opacity: .1; }
.scene__ring { position: absolute; inset: 2%; color: var(--line-2); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 340px; justify-self: center; margin-bottom: -40px; }
  .page-hero .hero__visual { max-width: 260px; margin-bottom: -20px; }
}
@media (max-width: 560px) {
  .hero__frame { border-radius: 28px; }
  .hero__visual { max-width: 270px; margin-bottom: -30px; }
  .hero__foot .chip-row { display: none; }
}

/* ---------- Hero de la home: composición central ---------- */
.hero__inner--center { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: clamp(64px, 9vw, 120px) clamp(56px, 7vw, 96px); }
.hero__inner--center .hero__content { align-items: center; gap: 26px; max-width: 980px; }
.hero__inner--center .hero__title { max-width: 15ch; }
.hero__inner--center .lead { max-width: 46ch; }
.hero__inner--center .btn-row { justify-content: center; }
.eyebrow--h1 { font-size: .875rem; line-height: 1.3; white-space: normal; text-wrap: balance; letter-spacing: .01em; }
.u-mark { position: relative; color: var(--lime); white-space: nowrap; }
.u-mark::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: .02em; height: .07em; border-radius: .05em; background: var(--violet); transform: scaleX(0); transform-origin: left center; transition: transform 1.1s var(--ease) 1s; }
.is-in .u-mark::after, html:not(.js) .u-mark::after { transform: scaleX(1); }

/* Halo que cambia de color según el servicio del dock */
.hero-halo { --halo: var(--silver); --halo-o: .1; position: absolute; left: 50%; top: 62%; width: min(820px, 110vw); height: 560px; translate: -50% -50%; border-radius: 50%; background: var(--halo); opacity: var(--halo-o); filter: blur(120px); transition: background-color .8s var(--ease), opacity .8s var(--ease); pointer-events: none; }
.hero__frame[data-halo="seo"] .hero-halo { --halo: var(--lime); --halo-o: .2; }
.hero__frame[data-halo="google-ads"] .hero-halo { --halo: var(--progress-from); --halo-o: .34; }
.hero__frame[data-halo="meta-ads"] .hero-halo { --halo: var(--violet); --halo-o: .36; }
.hero__frame[data-halo="diseno-web"] .hero-halo { --halo: var(--progress-to); --halo-o: .26; }

/* Dock estilo macOS */
.dock-wrap { margin-top: 40px; height: 78px; display: flex; align-items: flex-end; justify-content: center; }
.dock { display: inline-flex; align-items: flex-end; gap: 14px; padding: 10px 12px 12px; border-radius: 24px; background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 20px 50px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.06); }
.dock__item { --s: 1; position: relative; display: block; width: 54px; height: 54px; }
.dock__item::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--text-3); opacity: .7; }
.dock__icon { width: 100%; height: 100%; transform: scale(var(--s)); transform-origin: 50% 100%; transition: transform .2s ease-out, background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); border-radius: 28%; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--line-2); color: var(--silver-hi); }
.dock__icon svg { width: 42%; height: 42%; }
.dock__tip { position: absolute; left: 50%; bottom: calc(54px * var(--s) + 12px); translate: -50% 6px; padding: 5px 11px; border-radius: 9px; background: var(--bg-3); border: 1px solid var(--line-2); font-family: var(--f-display); font-size: .75rem; font-weight: 600; color: var(--text); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s var(--ease), translate .25s var(--ease), bottom .2s ease-out; }
.dock__item:hover .dock__tip, .dock__item:focus-visible .dock__tip { opacity: 1; translate: -50% 0; }
.dock__item:focus-visible { outline: none; --s: 1.3; }
.dock__item:focus-visible .dock__icon { outline: 2px solid var(--lime); outline-offset: 3px; }
.dock__item[data-halo="seo"]:hover .dock__icon, .dock__item[data-halo="seo"]:focus-visible .dock__icon { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.dock__item[data-halo="google-ads"]:hover .dock__icon, .dock__item[data-halo="google-ads"]:focus-visible .dock__icon { background: var(--progress-from); border-color: var(--progress-from); color: #fff; }
.dock__item[data-halo="meta-ads"]:hover .dock__icon, .dock__item[data-halo="meta-ads"]:focus-visible .dock__icon { background: var(--violet); border-color: var(--violet); color: #fff; }
.dock__item[data-halo="diseno-web"]:hover .dock__icon, .dock__item[data-halo="diseno-web"]:focus-visible .dock__icon { background: var(--progress-to); border-color: var(--progress-to); color: var(--ink); }
.dock__item:hover::after { background: var(--text); opacity: 1; }

.rating { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); margin-top: 6px; }
.rating b { color: var(--text); font-family: var(--f-display); font-weight: 700; }
.rating__stars { display: inline-flex; gap: 2px; color: var(--lime); }
.rating__stars svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
@media (max-width: 560px) {
  .dock { gap: 8px; padding: 8px 10px 10px; border-radius: 20px; }
  .dock__item { width: 50px; height: 50px; }
  .dock-wrap { height: 70px; margin-top: 24px; }
  .eyebrow--h1 { white-space: nowrap; font-size: clamp(.6875rem, 3.1vw, .8125rem); padding-inline: 10px 12px; gap: 8px; }
  .hero__inner--center .btn-row { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .hero__inner--center .btn-row .btn { height: 46px; padding-left: 18px; gap: 10px; font-size: .875rem; }
  .hero__inner--center .btn-row .btn .btn__orb { width: 32px; height: 32px; }
}

/* ---------- Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding-block: 34px; -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; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { display: inline-flex; align-items: center; gap: 44px; font-family: var(--f-display); font-size: clamp(1.4rem, 1rem + 1.6vw, 2.3rem); font-weight: 500; letter-spacing: -.04em; color: var(--silver-lo); white-space: nowrap; transition: color .3s; }
.marquee__item:hover { color: var(--text); }
.marquee__item svg { width: 22px; height: 22px; color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Manifiesto (resaltado palabra a palabra) ---------- */
.manifesto { font-family: var(--f-display); font-size: clamp(1.6rem, 1.05rem + 2.3vw, 3rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.22; max-width: 26ch; text-wrap: initial; }
.manifesto--wide { max-width: 30ch; }
.js .manifesto .mw { opacity: .18; transition: opacity .25s linear; }
.js .manifesto .mw.on { opacity: 1; }
.manifesto em { font-style: normal; color: var(--silver); font-weight: 300; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.pillar { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--silver); }
.pillar__icon svg { width: 20px; height: 20px; }
.pillar h3 { font-size: 1.25rem; letter-spacing: -.025em; }
.pillar p { color: var(--text-2); font-size: var(--fs-sm); }
@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
}

/* ---------- Tarjetas de servicio (giro a plata en hover) ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  --card-bg: var(--bg-3);
  position: relative;
  display: flex; flex-direction: column;
  min-height: 400px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--card-bg);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: translate .6s var(--ease), rotate .6s var(--ease), background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.service-card .tag { transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease); }
.service-card__top { display: flex; justify-content: space-between; align-items: center; }
.service-card__icon { width: 26px; height: 26px; color: var(--text); transition: color .5s var(--ease); }
.service-card h3 { white-space: nowrap; font-size: clamp(1.6rem, 1.2rem + .9vw, 2rem); letter-spacing: -.045em; line-height: 1.02; margin-top: 34px; }
.service-card p { margin-top: auto; padding-top: 40px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.55; transition: color .5s var(--ease); }
.service-card .link-arrow { margin-top: 26px; }
.service-card__num { position: absolute; right: 24px; bottom: 22px; font-family: var(--f-display); font-size: var(--fs-xs); color: var(--text-3); font-variant-numeric: tabular-nums; transition: color .5s; }.service-card:hover, .service-card:focus-visible, .service-card.is-active {
  --card-bg: var(--silver-hi);
  color: var(--ink);
  border-color: var(--silver-hi);
  translate: 0 -12px; rotate: 3deg;
  box-shadow: 0 40px 80px -28px rgba(119, 63, 242, .6);
}/* Tarjetas contiguas giran hacia lados opuestos */
.service-card:nth-child(odd):hover, .service-card:nth-child(odd):focus-visible, /* Tarjetas contiguas giran hacia lados opuestos */
.service-card:nth-child(odd).is-active { rotate: -3deg; }.service-card:nth-child(even):hover, .service-card:nth-child(even):focus-visible, .service-card:nth-child(even).is-active { rotate: 3deg; }.service-card:hover p, .service-card:focus-visible p, .service-card.is-active p { color: #3B4048; }.service-card:hover .service-card__icon, .service-card.is-active .service-card__icon { color: var(--ink); }.service-card:hover .link-arrow, .service-card.is-active .link-arrow { color: var(--ink); }.service-card:hover .link-arrow .orb, .service-card.is-active .link-arrow .orb { background: var(--ink); color: var(--lime); }.service-card:hover .link-arrow .orb svg, .service-card.is-active .link-arrow .orb svg { transform: rotate(45deg); }.service-card:hover .tag, .service-card:focus-visible .tag, .service-card.is-active .tag { color: #fff; border-color: var(--violet); background: var(--violet); }.service-card:hover .service-card__num, .service-card.is-active .service-card__num { color: #6B7280; }
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .service-card { min-height: 340px; } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } .service-card p { padding-top: 28px; }.service-card:hover, .service-card.is-active { translate: 0 -6px; }.service-card:nth-child(odd):hover, .service-card:nth-child(odd).is-active { rotate: -1.5deg; }.service-card:nth-child(even):hover, .service-card:nth-child(even).is-active { rotate: 1.5deg; } }

/* Servicios en móvil (home): contenido centrado y tarjetas con scroll lateral */
@media (max-width: 600px) {
  #servicios .section-head { text-align: center; justify-items: center; }
  #servicios .section-head__title { align-items: center; }
  #servicios .section-head .lead { justify-self: center; }
  .services-grid--scroll {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));
    padding: 22px var(--gutter-r) 34px var(--gutter-l);
    scroll-padding-inline: var(--gutter-l);
    scrollbar-width: none;
  }
  .services-grid--scroll::-webkit-scrollbar { display: none; }
  .services-grid--scroll .service-card { flex: 0 0 82%; scroll-snap-align: start; min-height: 340px; }
  .services-grid--scroll .service-card.is-active, .services-grid--scroll .service-card:hover { box-shadow: 0 16px 30px -18px rgba(119, 63, 242, .55); }
  #servicios .svc-dots { display: flex; }
}

.svc-dots { display: none; justify-content: center; align-items: center; gap: 8px; margin-top: 2px; }
.svc-dots__dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line-3); transition: width .45s var(--ease), background-color .45s var(--ease); }
.svc-dots__dot[aria-current="true"] { width: 26px; background: var(--lime); }
.svc-dots__dot:focus-visible { outline-offset: 4px; }

/* ---------- Tarjeta genérica con foco de luz ---------- */
.card {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: clamp(24px, 2.6vw, 32px);
  overflow: hidden;
  transition: border-color .4s var(--ease), translate .5s var(--ease), background-color .4s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, -20%), rgba(255,255,255,.07), transparent 45%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: var(--line-2); }
.card--lift:hover { translate: 0 -6px; }
.card--glass { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--silver-hi); transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease); }
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--silver-hi); color: var(--ink); transform: rotate(-6deg); }
.card h3 { font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.2; }
.card p { color: var(--text-2); font-size: var(--fs-sm); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.feature { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Banda GEO (home) ---------- */
.geo-band { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; }
.geo-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(28px, 5vw, 72px); }
.geo-band__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.check-list { list-style: none; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.55; }
.check-list li svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--lime); }
.check-list strong { color: var(--text); font-weight: 600; }
.check-list--x li svg { color: var(--text-3); }
@media (max-width: 900px) { .geo-band__inner { grid-template-columns: 1fr; } }

/* Simulación de asistente IA */
.ai-mock { position: relative; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--line-2); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 18px; box-shadow: var(--shadow); min-width: 0; }
.ai-mock__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line); }
.ai-mock__bar span { font-size: var(--fs-xs); color: var(--text-3); }
.ai-mock__lights { display: flex; gap: 6px; }
.ai-mock__lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.ai-mock__lights i:nth-child(1) { background: var(--violet); }
.ai-mock__lights i:nth-child(2) { background: var(--progress-to); }
.ai-mock__lights i:nth-child(3) { background: var(--lime); }
.ai-mock__body { display: flex; flex-direction: column; gap: 16px; padding: 18px 6px 6px; }
.bubble-user { align-self: flex-end; max-width: 85%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: var(--surface-3); font-size: var(--fs-sm); line-height: 1.5; }
.bubble-ai { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.6; color: var(--text-2); }
.bubble-ai__avatar { width: 30px; height: 30px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 1px solid rgba(119, 63, 242, .6); background: rgba(119, 63, 242, .16); color: var(--violet-soft); }
.bubble-ai__avatar svg { width: 15px; height: 15px; }
.bubble-ai mark { background: rgba(194, 250, 58, .16); color: var(--lime); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
.ai-sources { display: flex; flex-wrap: wrap; gap: 8px; padding-left: 42px; }
.ai-sources span { font-size: .75rem; padding: 4px 10px; border-radius: var(--pill); border: 1px solid var(--line); color: var(--text-3); }
.ai-sources span.is-you { border-color: rgba(194,250,58,.5); color: var(--lime); background: rgba(194,250,58,.06); }
.ai-mock__note { position: absolute; bottom: -12px; right: 18px; font-size: .6875rem; color: var(--text-3); background: var(--bg); padding: 2px 10px; border-radius: var(--pill); border: 1px solid var(--line); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* ---------- Sectores ---------- */
.sector-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector-card { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; transition: transform .6s var(--ease), border-color .4s var(--ease); }
.sector-card__art { position: absolute; right: -40px; top: -40px; width: 230px; height: 230px; z-index: -1; color: var(--line-2); transition: transform 1.2s var(--ease), color .5s var(--ease); }
.sector-card__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease); }
.sector-card__icon svg { width: 24px; height: 24px; }
.sector-card h3 { font-size: 1.375rem; margin-top: auto; padding-top: 40px; letter-spacing: -.03em; }
.sector-card p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 8px; line-height: 1.55; }
.sector-card .link-arrow { margin-top: 20px; font-size: .875rem; }.sector-card:hover, .sector-card.is-active { translate: 0 -8px; border-color: var(--line-2); }.sector-card:hover .sector-card__icon, .sector-card.is-active .sector-card__icon { background: var(--lime); color: var(--ink); transform: rotate(-8deg) scale(1.05); }.sector-card:hover .sector-card__art, .sector-card.is-active .sector-card__art { transform: rotate(40deg) scale(1.08); color: var(--line-3); }
.sector-card .chip-row { margin-top: 16px; }
.other-sector { margin-top: 16px; display: flex; align-items: center; gap: 20px; padding: 18px 18px 18px 22px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); flex-wrap: wrap; }
.other-sector__q { width: 46px; height: 46px; border-radius: 50%; background: var(--surface-3); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--lime); flex: none; }
.other-sector p { color: var(--text-2); font-size: var(--fs-sm); flex: 1 1 260px; }
.other-sector strong { color: var(--text); font-family: var(--f-display); font-weight: 600; margin-right: 8px; }
@media (max-width: 1100px) { .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .sector-grid { grid-template-columns: 1fr; } .sector-card { min-height: 260px; } }

@media (max-width: 600px) {
  #sectores .section-head { text-align: center; justify-items: center; }
  #sectores .section-head__title { align-items: center; }
  #sectores .section-head .lead { justify-self: center; }
  .sector-grid--scroll {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));
    padding: 22px var(--gutter-r) 26px var(--gutter-l);
    scroll-padding-inline: var(--gutter-l);
    scrollbar-width: none;
  }
  .sector-grid--scroll::-webkit-scrollbar { display: none; }
  .sector-grid--scroll .sector-card { flex: 0 0 82%; scroll-snap-align: start; min-height: 300px; }
  #sectores .svc-dots { display: flex; }
  #sectores .other-sector--home { display: none; }
  .sector-grid--scroll .sector-card--other { display: flex; }
}

.sector-card--other { display: none; border-style: dashed; border-color: var(--line-2); background: var(--surface); }
.sector-card__icon--q { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--lime); }

/* ---------- Proceso ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s var(--ease), transform .5s var(--ease); }
.step:hover { border-color: var(--line-2); translate: 0 -6px; }
.step__num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-size: .8125rem; font-weight: 700; border: 1px solid var(--line-2); color: var(--silver-hi); font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s, border-color .4s; }
.step:hover .step__num { background: var(--violet); border-color: var(--violet); color: #fff; }
.step h3 { font-size: 1.375rem; letter-spacing: -.03em; margin-top: 6px; }
.step p { color: var(--text-2); font-size: var(--fs-sm); }
.step__you { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); }
.step__you b { color: var(--text-2); font-weight: 600; }
.steps__line { position: absolute; }
.promises { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 32px; }
.promises .chip { font-size: var(--fs-sm); padding: 9px 16px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

/* Timeline vertical (páginas de servicio) */
.timeline { list-style: none; display: grid; gap: 0; position: relative; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--line); align-items: start; transition: background-color .4s; }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline__n { font-family: var(--f-display); font-size: .875rem; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; padding-top: 4px; transition: color .4s; }
.timeline h3 { font-size: 1.5rem; letter-spacing: -.035em; }
.timeline p { color: var(--text-2); font-size: var(--fs-sm); }
.timeline li:hover .timeline__n { color: var(--lime); }
@media (max-width: 760px) { .timeline li { grid-template-columns: 44px minmax(0, 1fr); } .timeline li p { grid-column: 2; } }

/* ---------- Proyectos ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.projects-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project { display: flex; flex-direction: column; gap: 18px; }
.project__media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); isolation: isolate; }
.project__media svg { width: 100%; height: 100%; transition: transform 1s var(--ease); }
.project:hover .project__media svg { transform: scale(1.045); }
.project__cta { position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--silver-hi); color: var(--ink); transform: scale(.6); opacity: 0; transition: transform .5s var(--ease), opacity .4s var(--ease); }
.project__cta svg { width: 20px; height: 20px; }
.project:hover .project__cta { transform: scale(1); opacity: 1; }
.project__meta { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.project__meta h3 { font-size: 1.375rem; letter-spacing: -.03em; }
.project__meta p { color: var(--text-2); font-size: var(--fs-sm); margin-top: 6px; }
.project__results { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.project__results div { display: flex; flex-direction: column; }
.project__results b { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: -.04em; font-weight: 600; font-variant-numeric: tabular-nums; }
.project__results span { font-size: var(--fs-xs); color: var(--text-3); }
.project.is-hidden, .post-card.is-hidden { display: none; }
.sample-note svg { width: 16px; height: 16px; flex: none; }
.sample-note { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: var(--text-3); padding: 6px 12px; border: 1px dashed var(--line-2); border-radius: var(--pill); }
@media (max-width: 1000px) { .projects-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .projects-grid, .projects-grid--3 { grid-template-columns: 1fr; } }

/* Showcase de proyectos (home): destacado + dos tarjetas + valores */
@media (max-width: 600px) {
  #proyectos .section-head { text-align: center; justify-items: center; }
  #proyectos .section-head__title { align-items: center; }
  #proyectos .section-head .lead { justify-self: center; }
}
.proj-showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.proj-card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); transition: border-color .4s var(--ease), translate .6s var(--ease); }
.proj-card:hover { border-color: var(--line-3); translate: 0 -4px; }
.proj-card:hover .link-arrow .orb { background: var(--lime); color: var(--ink); }
.proj-card:hover .link-arrow .orb svg { transform: rotate(45deg); }
.proj-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 12px; border-color: rgba(194, 250, 58, .32); }
.proj-card--featured:hover { border-color: rgba(194, 250, 58, .6); }
.proj-card--new { border-color: rgba(119, 63, 242, .45); }
.proj-card--new:hover { border-color: rgba(119, 63, 242, .8); }
.proj-card__media { position: relative; aspect-ratio: 4 / 3; max-width: 100%; border-radius: 24px; overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.proj-card--featured .proj-card__media { aspect-ratio: 16 / 11; }
.proj-card:not(.proj-card--featured) .proj-card__media { aspect-ratio: 16 / 10; }
.proj-card__media svg { width: 100%; height: 100%; transition: transform 1s var(--ease); }
.proj-card:hover .proj-card__media svg { transform: scale(1.04); }
.proj-card__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 22px 20px 14px; min-width: 0; }
.proj-card--featured .proj-card__body { padding: 24px clamp(16px, 3vw, 40px); }
.proj-card__where { font-size: var(--fs-xs); color: var(--text-3); }
.proj-card h3 { font-size: clamp(1.4rem, 1.15rem + .8vw, 1.85rem); letter-spacing: -.035em; margin-top: -4px; }
.proj-card__summary { color: var(--text-2); font-size: var(--fs-sm); }
.proj-card .project__results { width: 100%; }
.proj-card__foot { width: 100%; margin-top: auto; padding-top: 6px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.proj-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--pill); font-family: var(--f-display); font-size: .75rem; font-weight: 700; color: var(--lime); background: rgba(194, 250, 58, .08); border: 1px solid rgba(194, 250, 58, .4); }
.proj-badge svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.proj-badge--violet { color: #C4AEFF; background: rgba(119, 63, 242, .14); border-color: rgba(119, 63, 242, .55); }
.proj-badge--violet svg { fill: none; stroke: currentColor; stroke-width: 2.4; }

.proj-values { margin-top: 16px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 24px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.proj-values__head { display: flex; flex-direction: column; gap: 12px; }
.proj-values__head .kicker { color: var(--lime); }
.proj-values__head h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -.035em; }
.proj-values__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.proj-values__item { padding: 18px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.proj-values__item h4 { font-size: 1.125rem; letter-spacing: -.025em; color: var(--silver-hi); }
.proj-values__item:nth-child(1) h4 { color: var(--lime); }
.proj-values__item:nth-child(2) h4 { color: var(--violet-soft); }
.proj-values__item:nth-child(3) h4 { color: var(--progress-to); }
.proj-values__item:nth-child(4) h4 { color: var(--silver-hi); }
.proj-values__item p { font-size: .875rem; color: var(--text-2); line-height: 1.5; }
@media (max-width: 1000px) {
  .proj-values { grid-template-columns: 1fr; }
  .proj-values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .proj-showcase { grid-template-columns: 1fr; }
  .proj-card--featured { grid-template-columns: 1fr; }
  .proj-card--featured .proj-card__media { aspect-ratio: 4 / 3; }
  .proj-card--featured .proj-card__body { padding: 22px 20px 14px; }
}
@media (max-width: 600px) {
  .proj-values__grid { gap: 8px; }
  .proj-values__item { padding: 14px; border-radius: 16px; gap: 6px; }
  .proj-values__item h4 { font-size: 1rem; }
  .proj-values__item p { font-size: .8125rem; }
  .proj-values__head .kicker { font-size: .6875rem; letter-spacing: .1em; }
}

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; padding: 5px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface); width: fit-content; max-width: 100%; position: relative; }
.filter-btn { position: relative; z-index: 1; height: 40px; padding: 0 18px; border-radius: var(--pill); font-family: var(--f-display); font-size: .875rem; font-weight: 500; color: var(--text-2); transition: color .3s, background-color .3s; }
.filter-btn:hover { color: var(--text); }
.filter-btn[aria-pressed="true"] { background: var(--silver-hi); color: var(--ink); }
@media (max-width: 600px) { .filters { border-radius: 22px; } }

/* ---------- Equipo (Nosotros) ---------- */
.team-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.team-head .lead { max-width: 58ch; }
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.team-card { display: flex; flex-direction: column; padding: 10px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); }
.team-card:hover, .team-card.is-active { translate: 0 -6px; border-color: var(--line-3); }
.team-card__photo { aspect-ratio: 1; max-width: 100%; border-radius: 24px; overflow: hidden; background: var(--bg-3); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-card__photo img, .team-card.is-active .team-card__photo img { transform: scale(1.04); }
.team-card__body { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 20px 16px 16px; }
.team-card h3 { font-size: 1.375rem; letter-spacing: -.03em; }
.team-card__role { font-family: var(--f-display); font-size: .8125rem; font-weight: 600; color: var(--lime); }
.team-card:nth-child(2) .team-card__role { color: var(--violet-soft); }
.team-card:nth-child(3) .team-card__role { color: var(--progress-to); }
.team-card__quote { margin-top: 8px; font-size: var(--fs-sm); color: var(--text-2); line-height: 1.55; max-width: 32ch; }
@media (max-width: 900px) { .team-grid { gap: 12px; } .team-card__body { padding: 16px 10px 12px; } .team-card h3 { font-size: 1.2rem; } }
@media (max-width: 600px) {
  .team-grid--scroll {
    display: flex; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r));
    padding: 16px var(--gutter-r) 22px var(--gutter-l);
    scroll-padding-inline: var(--gutter-l);
    scrollbar-width: none;
  }
  .team-grid--scroll::-webkit-scrollbar { display: none; }
  .team-grid--scroll .team-card { flex: 0 0 80%; scroll-snap-align: start; }
  #nosotros .svc-dots { display: flex; }
}

/* ---------- Bento ---------- */
.nosotros-bento { margin-top: clamp(56px, 7vw, 96px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento .card { display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.bento__a { grid-column: span 3; grid-row: span 2; }
.bento__b { grid-column: span 3; }
.bento__c { grid-column: span 3; }
.bento__d, .bento__e, .bento__f { grid-column: span 2; }
.bento .card h3 { margin-top: auto; }
.bento-visual { position: relative; flex: 1; min-height: 160px; display: grid; place-items: center; }
.team-orbit { position: relative; width: min(320px, 100%); aspect-ratio: 1; }
.team-orbit__ring { position: absolute; inset: 0; border: 1px dashed var(--line-2); border-radius: 50%; }
.team-orbit__ring--2 { inset: 18%; }
.team-orbit__core { position: absolute; inset: 36%; border-radius: 50%; background: var(--silver-hi); color: var(--ink); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; letter-spacing: -.03em; font-size: .9rem; text-align: center; line-height: 1.1; box-shadow: 0 0 60px rgba(196,202,211,.25); }
.team-orbit__spin { position: absolute; inset: 0; animation: spin 40s linear infinite; }
.team-orbit__node { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-3); border: 1px solid var(--line-2); transform: rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1)); }
.team-orbit__node > span { display: grid; place-items: center; animation: spin 40s linear infinite reverse; }
.team-orbit__node svg { width: 20px; height: 20px; }
.toggle-demo { display: inline-flex; align-items: center; gap: 12px; font-size: var(--fs-sm); color: var(--text-2); }
.toggle-demo__sw { width: 54px; height: 30px; border-radius: var(--pill); background: var(--surface-3); border: 1px solid var(--line-2); position: relative; }
.toggle-demo__sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--text-3); transition: transform .5s var(--ease), background-color .5s; }
.card:hover .toggle-demo__sw::after, .toggle-demo.is-on .toggle-demo__sw::after { transform: translateX(24px); background: var(--lime); }
.mini-report { width: 100%; display: flex; align-items: flex-end; gap: 8px; height: 110px; padding: 0 4px; }
.mini-report i { flex: 1; border-radius: 6px 6px 2px 2px; background: var(--surface-3); height: var(--h); transition: background-color .4s, height .8s var(--ease); }
.mini-report i:last-child { background: var(--silver-hi); }
.card:hover .mini-report i:last-child { background: var(--lime); }
.keys { display: flex; gap: 8px; flex-wrap: wrap; }
.keys span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface-2); font-size: var(--fs-xs); color: var(--text-2); font-family: var(--f-display); font-weight: 600; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__a { grid-column: span 2; grid-row: auto; } .bento__b, .bento__c, .bento__d, .bento__e, .bento__f { grid-column: span 1; } .bento__f { grid-column: span 2; } }
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .bento > * { grid-column: auto !important; } }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-layout__head { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 0 22px; transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.faq details:hover { border-color: var(--line-2); }
.faq details[open] { border-color: var(--line-3); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.025em; line-height: 1.3; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--silver-hi); }
.faq__icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; flex: none; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.faq__icon svg { width: 16px; height: 16px; }
.faq details[open] .faq__icon { transform: rotate(45deg); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.faq__body { overflow: hidden; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.7; }
.faq__inner { padding: 0 52px 22px 0; }
.faq-layout__cta--mobile { display: none; }
@media (max-width: 900px) { .faq-layout__lead, .faq-layout__head .faq-layout__cta { display: none; } .faq-layout__cta--mobile { display: flex; justify-content: center; margin-top: 28px; } }
@media (max-width: 560px) { .faq details { padding: 0 18px; } .faq summary { font-size: 1.0625rem; padding: 18px 0; } }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-layout__head { position: static; align-items: center; text-align: center; } .faq__inner { padding-right: 8px; } }

/* ---------- CTA final ---------- */
.cta-panel { position: relative; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; isolation: isolate; text-align: center; }
.cta-panel__inner { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: clamp(64px, 9vw, 130px) clamp(20px, 5vw, 64px); }
.cta-panel h2 { font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.4rem); letter-spacing: -.05em; line-height: 1; max-width: 18ch; }
.cta-panel .lead { text-align: center; max-width: 52ch; }
.cta-panel small { color: var(--text-3); font-size: var(--fs-xs); }

/* Estados de envío del formulario */
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { grid-column: 1 / -1; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(255, 107, 107, .45); background: rgba(255, 107, 107, .08); color: #FFB1B1; font-size: var(--fs-xs); line-height: 1.5; }
.btn.is-sending { opacity: .6; pointer-events: none; }

/* ---------- CTA final con formulario (home) ---------- */
.cta-form {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--r-xl);
  border: 1px solid rgba(119, 63, 242, .35);
  background: #0D0B14;
  transition: border-color .5s var(--ease), box-shadow .6s var(--ease);
}
.cta-form:hover {
  border-color: rgba(194, 250, 58, .7);
  box-shadow: 0 0 0 1px rgba(194, 250, 58, .25), 0 0 60px -10px rgba(194, 250, 58, .35), 0 30px 90px -30px rgba(119, 63, 242, .7);
}
.cta-form__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-form__bg .blob { transition: opacity .8s var(--ease); }
.cta-form:hover .cta-form__bg .blob--violet { opacity: .46 !important; }
.cta-form__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "copy card" "perks card"; column-gap: clamp(28px, 5vw, 72px); row-gap: 26px; align-items: stretch; grid-template-rows: auto 1fr; padding: clamp(24px, 5vw, 64px); }
.cta-form__copy { grid-area: copy; align-self: start; padding-top: clamp(20px, 3vw, 32px); }
.cta-form__perks { grid-area: perks; align-self: start; }
.cta-form__card { grid-area: card; }
.cta-form__card-title { font-size: 1.375rem; letter-spacing: -.03em; margin-bottom: 18px; }
.cta-form__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-form__copy h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.8rem); letter-spacing: -.05em; line-height: 1; }
.cta-form__copy .lead { max-width: 40ch; }
.cta-form__perks { list-style: none; display: grid; gap: 10px; }
.cta-form__perks li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); color: var(--text-2); }
.cta-form__perks svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.cta-form__card { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(12, 12, 18, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); padding: clamp(20px, 3vw, 32px); min-width: 0; }
.cta-form__card .form { gap: 14px; }
.cta-form__card .input { height: 48px; }
.cta-form__card textarea.input { min-height: 110px; height: auto; }
.cta-form__card .form__foot { justify-content: flex-start; margin-top: 2px; }
.btn--flat { height: 46px; padding: 0 24px; font-size: .875rem; }
.cta-form__card .form__foot .btn--flat { width: auto; justify-content: center; }
@media (max-width: 600px) {
  .cta-form__card .form__foot .btn--flat { width: 100%; }
  /* Formulario compacto: sin tarjeta y sin títulos visibles (siguen disponibles para lectores de pantalla) */
  .cta-form__card { border: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding: 0; }
  .cta-form__card .form { gap: 10px; }
  .cta-form__card .field > label:not(.consent) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
}
@media (max-width: 900px) {
  .cta-form__inner { grid-template-columns: 1fr; grid-template-rows: none; grid-template-areas: "copy" "card" "perks"; }
  .cta-form__copy, .cta-form__perks { padding-block: 0; }
  .cta-form__copy { align-items: center; text-align: center; }
  .cta-form__perks { display: flex; flex-wrap: wrap; justify-content: center; justify-self: center; gap: 10px 22px; }
  .cta-form__perks li:nth-child(n+3) { display: none; }
  .cta-form__card-title { display: none; }
}

/* ---------- Banner de cookies ---------- */
.cc { position: fixed; z-index: 1500; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(14px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); pointer-events: none; }
.cc__card { pointer-events: auto; width: 100%; max-width: 980px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "main actions" "prefs prefs"; gap: 14px 28px; align-items: center; padding: 20px 22px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(14, 15, 19, .9); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); opacity: 0; translate: 0 24px; transition: opacity .35s var(--ease), translate .45s var(--ease); }
.cc.is-open .cc__card { opacity: 1; translate: 0 0; }
.cc.is-expanded .cc__card { grid-template-areas: "main main" "prefs prefs" "actions actions"; }
.cc__main { grid-area: main; min-width: 0; }
.cc__title { font-family: var(--f-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: -.02em; color: var(--text); margin-bottom: 4px; }
.cc__text { font-size: var(--fs-xs); line-height: 1.55; color: var(--text-2); max-width: 68ch; }
.cc__text a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--lime); }
.cc__actions { grid-area: actions; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.cc__btn { height: 42px; padding: 0 18px; border-radius: var(--pill); font-family: var(--f-display); font-weight: 600; font-size: .875rem; background: var(--silver-hi); color: var(--ink); border: 1px solid var(--silver-hi); transition: background-color .25s, color .25s, border-color .25s; white-space: nowrap; }
.cc__btn:hover { background: #fff; }
.cc__btn--ghost { background: transparent; color: var(--text); border-color: var(--line-3); }
.cc__btn--ghost:hover { background: var(--surface-2); }
.cc__prefs { grid-area: prefs; display: grid; gap: 8px; }
.cc__opt { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.cc__opt:first-child { cursor: default; }
.cc__opt-title { font-family: var(--f-display); font-weight: 600; font-size: .9375rem; color: var(--text); }
.cc__opt-text { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.45; }
.cc__always { font-size: var(--fs-xs); color: var(--lime); white-space: nowrap; }
.cc__switch { position: relative; flex: none; width: 46px; height: 26px; }
.cc__switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc__switch span { position: absolute; inset: 0; border-radius: var(--pill); background: var(--surface-3); border: 1px solid var(--line-2); transition: background-color .25s; pointer-events: none; }
.cc__switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text-3); transition: transform .3s var(--ease), background-color .25s; }
.cc__switch input:checked + span { background: rgba(194, 250, 58, .22); border-color: rgba(194, 250, 58, .5); }
.cc__switch input:checked + span::after { transform: translateX(20px); background: var(--lime); }
.cc__switch input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
@media (max-width: 760px) {
  .cc__card { grid-template-columns: 1fr; grid-template-areas: "main" "prefs" "actions"; padding: 18px; gap: 14px; }
  .cc.is-expanded .cc__card { grid-template-areas: "main" "prefs" "actions"; max-height: calc(100vh - 40px); overflow-y: auto; }
  .cc__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cc__actions [data-cc="settings"], .cc__actions [data-cc="save"] { grid-column: 1 / -1; order: 3; }
  .cc__btn { width: 100%; }
}

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-top: clamp(72px, 9vw, 120px); padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; margin-top: clamp(32px, 5vw, 64px); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 340px; }
.footer-brand p { color: var(--text-2); font-size: var(--fs-sm); }
.footer-col h4 { font-family: var(--f-body); font-size: var(--fs-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li { color: var(--text-2); font-size: var(--fs-sm); transition: color .3s; }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--text); }
.footer-col a.u-link { display: inline-flex; gap: 6px; align-items: center; }
.footer-wordmark { margin-top: clamp(48px, 7vw, 88px); font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 14.4vw, 13.6rem); letter-spacing: -.055em; line-height: .76; padding-inline: .02em; color: #2A2E34; white-space: nowrap; text-align: center; user-select: none; overflow: visible; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.3) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,.7) 55%, rgba(0,0,0,.3) 100%); }
/* Con JS: el wordmark se dibuja en canvas ajustado al ancho exacto y apoyado en la línea */
.footer-wordmark.is-canvas { font-size: 0; line-height: 0; -webkit-mask-image: none; mask-image: none; padding: 0; }
.footer-wordmark canvas { display: block; width: 100%; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; padding-top: 24px; margin-top: 0; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); }
.footer-bottom nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover, .footer-bottom a:focus-visible { color: var(--text); }
/* Subrayado deslizante lima en los enlaces del footer */
.footer-col a, .footer-bottom nav a { position: relative; display: inline-block; }
.footer-col a::after, .footer-bottom nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; border-radius: 1px; background: var(--lime); transform: scaleX(0); transform-origin: right center; transition: transform .28s var(--ease); }
.footer-col a:hover::after, .footer-col a:focus-visible::after, .footer-bottom nav a:hover::after, .footer-bottom nav a:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: span 2; } }
@media (max-width: 480px) { .footer-grid { gap: 32px 20px; } .footer-grid > .footer-col:last-child { grid-column: span 2; } }

/* ---------- Bloques de páginas de servicio ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.fit-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fit-cols .card { display: flex; flex-direction: column; gap: 18px; }
.fit-cols .card--yes { border-color: rgba(194,250,58,.22); }
@media (max-width: 760px) { .fit-cols { grid-template-columns: 1fr; } }

.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs-sm); min-width: 620px; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--f-display); font-weight: 600; font-size: .9375rem; color: var(--text); background: var(--surface); }
.compare thead th:last-child { color: var(--lime); }
.compare td:first-child { color: var(--text-3); font-weight: 500; width: 22%; }
.compare td { color: var(--text-2); }

.new-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--pill); background: rgba(194,250,58,.08); border: 1px solid rgba(194,250,58,.35); font-size: var(--fs-xs); color: var(--lime); font-weight: 500; }
.new-badge b { background: var(--lime); color: var(--ink); border-radius: var(--pill); padding: 3px 9px; font-family: var(--f-display); font-weight: 700; font-size: .6875rem; letter-spacing: .04em; text-transform: uppercase; }

.geo-section { position: relative; border-radius: var(--r-xl); border: 1px solid rgba(194,250,58,.18); background: var(--bg-2); overflow: hidden; isolation: isolate; padding: clamp(28px, 5vw, 72px); }

.honest { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); font-size: var(--fs-sm); color: var(--text-2); }
.honest svg { width: 22px; height: 22px; flex: none; color: var(--violet-soft); margin-top: 2px; }
.honest strong { color: var(--text); }

.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-strip > div { padding: 28px 24px; display: flex; flex-direction: column; gap: 6px; }
.stat-strip > div + div { border-left: 1px solid var(--line); }
.stat-strip b { font-family: var(--f-display); font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.stat-strip span { font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-strip > div:nth-child(3) { border-left: 0; } .stat-strip > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .stat-strip { grid-template-columns: 1fr; } .stat-strip > div + div { border-left: 0; border-top: 1px solid var(--line); } }

.format-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.format { border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); padding: 22px; display: flex; flex-direction: column; gap: 16px; transition: transform .5s var(--ease), border-color .4s; }
.format:hover { translate: 0 -6px; border-color: var(--line-2); }
.format__screen { aspect-ratio: 9 / 12; max-width: 100%; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line); position: relative; overflow: hidden; }
.format__screen { aspect-ratio: 4 / 3; background: #16181D; display: grid; place-items: center; padding: 14px; }
.format__screen svg { height: 100%; width: auto; max-width: 100%; border-radius: 10px; }
.format h3 { font-size: 1.125rem; letter-spacing: -.02em; }
.format p { font-size: var(--fs-sm); color: var(--text-2); }
@media (max-width: 900px) { .format-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .format-list { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.post-featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: 14px; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--surface); transition: border-color .4s; }
.post-featured:hover { border-color: var(--line-2); }
.post-featured .post-card__media { aspect-ratio: 16 / 11; }
.post-featured__body { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 10px clamp(8px, 2vw, 24px) 10px 0; }
.post-featured h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); letter-spacing: -.04em; }
@media (max-width: 860px) { .post-featured { grid-template-columns: 1fr; } .post-featured__body { padding: 6px 10px 14px; } }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1000px) { .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .posts-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; gap: 18px; }
.post-card__media { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.post-card__media svg { width: 100%; height: 100%; transition: transform 1s var(--ease); }
.post-card:hover .post-card__media svg, .post-featured:hover .post-card__media svg { transform: scale(1.05); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: var(--fs-xs); color: var(--text-3); }
.post-meta .tag { font-size: .6875rem; }
.post-card h3 { font-size: 1.3125rem; letter-spacing: -.03em; line-height: 1.22; transition: color .3s; }
.post-card:hover h3 { color: var(--silver-hi); }
.post-card p { color: var(--text-2); font-size: var(--fs-sm); }

/* Artículo */
.article-hero { padding-top: calc(var(--header-h) + 64px + env(safe-area-inset-top, 0px)); }
.article-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 900px; }
.article-hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); letter-spacing: -.045em; line-height: 1.03; }
.article-hero .lead { max-width: 64ch; }
.article-cover { margin-top: clamp(36px, 5vw, 56px); aspect-ratio: 21 / 9; max-width: 100%; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.article-cover svg { width: 100%; height: 100%; }
@media (max-width: 640px) { .article-cover { aspect-ratio: 16 / 11; } }
.article-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(48px, 6vw, 80px); align-items: start; }
.toc { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 14px; }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: .8438rem; line-height: 1.4; color: var(--text-3); transition: color .3s, border-color .3s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--text); border-left-color: var(--lime); }
@media (max-width: 960px) { .article-layout { grid-template-columns: 1fr; } .toc { position: static; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); } }

.prose { max-width: 70ch; font-size: 1.09rem; line-height: 1.78; color: #C9CED6; min-width: 0; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.05rem); color: var(--text); letter-spacing: -.035em; margin-top: 2.2em; scroll-margin-top: 110px; }
.prose h3 { font-size: 1.3rem; color: var(--text); letter-spacing: -.025em; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .8em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.prose a:hover { color: var(--lime); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .5em; }
.prose li::marker { color: var(--lime); }
.prose ol li::marker { font-family: var(--f-display); font-weight: 700; color: var(--silver); }
.prose code { font-size: .9em; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--silver-hi); }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--violet); font-family: var(--f-display); font-size: 1.3rem; line-height: 1.45; letter-spacing: -.02em; color: var(--text); }
.callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); font-size: 1rem; line-height: 1.65; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 3px; color: var(--lime); }
.callout--violet svg { color: var(--violet-soft); }
.callout p + p { margin-top: .6em; }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
.prose th, .prose td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-display); color: var(--text); font-weight: 600; background: var(--surface); }
.prose tr:last-child td { border-bottom: 0; }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 56px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.author-box p { font-size: var(--fs-sm); color: var(--text-2); }
.author-box b { color: var(--text); font-family: var(--f-display); }
.share-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 28px; font-size: var(--fs-xs); color: var(--text-3); }
.share-row button { height: 38px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: var(--fs-xs); color: var(--text-2); transition: background-color .3s, color .3s; }
.share-row button:hover { background: var(--surface-2); color: var(--text); }

/* ---------- Contacto ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 120px; }
.contact-cards { display: grid; gap: 10px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
a.contact-card:hover { border-color: var(--line-2); background: var(--surface-2); translate: 4px 0; }
.contact-card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--silver-hi); flex: none; }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card small { display: block; font-size: var(--fs-xs); color: var(--text-3); }
.contact-card span { font-family: var(--f-display); font-weight: 600; letter-spacing: -.01em; word-break: break-word; }
@media (max-width: 960px) { .contact-layout { grid-template-columns: 1fr; } .contact-info { position: static; } }

.form-card { border-radius: var(--r-xl); border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: var(--fs-xs); font-weight: 500; color: var(--text-2); letter-spacing: .01em; }
.field label span { color: var(--text-3); font-weight: 400; }
.input { width: 100%; height: 52px; padding: 0 18px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font-size: 1rem; transition: border-color .3s, background-color .3s, box-shadow .3s; }
textarea.input { height: auto; min-height: 140px; padding: 14px 18px; resize: vertical; line-height: 1.55; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A8AFB9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
select.input option { background: var(--bg-3); color: var(--text); }
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: var(--silver); background: rgba(255,255,255,.05); box-shadow: 0 0 0 4px rgba(196,202,211,.1); }
.field.has-error .input { border-color: #FF6B6B; }
.field__error { font-size: var(--fs-xs); color: #FF8A8A; display: none; }
.field.has-error .field__error { display: block; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pick label { cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: var(--fs-sm); color: var(--text-2); transition: background-color .3s, color .3s, border-color .3s; user-select: none; }
.pick span:hover { border-color: var(--line-3); color: var(--text); }
.pick input:checked + span { background: var(--silver-hi); color: var(--ink); border-color: var(--silver-hi); }
.pick input:focus-visible + span { outline: 2px solid var(--lime); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--lime); flex: none; margin-top: 1px; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__foot small { color: var(--text-3); font-size: var(--fs-xs); }
.form-success { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 12px 0; }
.form-success__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); }
.form-success__icon svg { width: 28px; height: 28px; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } .form__foot .btn { width: 100%; justify-content: space-between; } }

/* ---------- Legal / 404 ---------- */
.legal-hero { padding-top: calc(var(--header-h) + 34px + env(safe-area-inset-top, 0px)); }
.legal-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; padding-block: clamp(72px, 10vw, 128px) clamp(64px, 9vw, 112px); }
.legal-hero__title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); letter-spacing: -.05em; line-height: .98; }
.legal-hero__date { font-size: var(--fs-sm); color: var(--text-3); }
.legal-hero .breadcrumb { justify-content: center; }
.article-layout > * { min-width: 0; }
.legal-more { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.legal-more__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.prose.legal h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
.prose.legal h2:first-child { margin-top: 0; }
.legal h2 { scroll-margin-top: 120px; }
.placeholder { background: rgba(119,63,242,.18); color: #CDB9FF; padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--f-display); font-size: clamp(7rem, 30vw, 16rem); font-weight: 700; letter-spacing: -.08em; line-height: .85; color: transparent; -webkit-text-stroke: 1px var(--line-3); }

/* ---------- Utilidades ---------- */
.mt-0 { margin-top: 0 !important; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: 56px; }
.center { text-align: center; }
.center-x { display: flex; justify-content: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js [data-split] .w > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .manifesto .mw { opacity: 1; }
  .marquee__track { animation: none; }
}
