/* ==========================================================================
   Intec-AV · Sistema visual v2
   Tema único oscuro en azules de marca (base #0d1f3c). Un acento: azul señal.
   Radios: tarjetas 16px, tarjetas internas 12px, inputs 10px,
   botones / chips / navegación en pill.
   Capas: header 40 · subnav 35 · fab 30 · mega 45 · spotlight 20 · diálogos en top-layer.
   ========================================================================== */

:root {
  /* Escala de marca */
  --navy-950: #050e1d;
  --navy-900: #081630;
  --navy-850: #0b1a36;
  --navy-800: #0d1f3c;
  --navy-750: #10264a;
  --navy-700: #142e57;
  --navy-600: #1c3a6b;
  --navy-500: #28508c;
  --blue-600: #1f56e0;
  --blue-500: #2f6bff;
  --blue-400: #5a8dff;
  --blue-300: #8fb2ff;
  --blue-200: #c3d6ff;
  --ice-100: #e6eefb;
  --glow-rgb: 90, 141, 255;

  /* Tokens semánticos */
  --bg: var(--navy-900);
  --bg-2: var(--navy-800);
  --surface: var(--navy-750);
  --surface-2: var(--navy-700);
  --line: #173157;
  --line-2: #22426f;
  --line-3: #31588f;
  --text: #edf3fc;
  --text-2: #adc0dc;
  --text-3: #8aa1c4;
  --accent: var(--blue-600);
  --accent-press: #1a49c2;
  --accent-hi: var(--blue-300);
  --accent-soft: rgb(47 107 255 / 0.16);
  --accent-line: rgb(143 178 255 / 0.36);
  --on-accent: #f7faff;
  --danger: #ff9a8a;

  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --r-lg: 16px;
  --r-md: 12px;
  --r-sm: 10px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 88px;

  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--on-accent); }

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(80px, 10vw, 136px); position: relative; }
.section.tint { background: var(--bg-2); }
.section.flush-top { padding-top: 0; }

.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Type ---------- */
.display {
  font-weight: 700;
  font-stretch: 82%;
  font-size: clamp(42px, 4.3vw, 60px);
  line-height: 1;
  letter-spacing: -0.022em;
}
.h2 {
  font-weight: 650;
  font-stretch: 86%;
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.018em;
}
.h3 { font-weight: 600; font-stretch: 94%; font-size: clamp(20px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -0.008em; }
.h4 { font-weight: 600; font-size: 17px; line-height: 1.35; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.55; color: var(--text-2); max-width: 54ch; }
.body { color: var(--text-2); max-width: 62ch; }
.small { font-size: 14px; line-height: 1.5; color: var(--text-2); }
.eyebrow { font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-hi); }
.mono { font-family: var(--f-mono); }
.meta { font: 500 12px/1.3 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.pending { text-decoration: underline dotted var(--text-3); text-underline-offset: 5px; text-decoration-thickness: 1px; cursor: help; }
.tbd { color: var(--accent-hi); font-family: var(--f-mono); font-size: 0.9em; border-bottom: 1px dashed var(--accent-line); white-space: nowrap; cursor: help; }

.section-head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.row { flex-direction: row; justify-content: space-between; align-items: flex-end; max-width: none; flex-wrap: wrap; gap: 24px 48px; }
.section-head.row > div { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 48px;
  --pad: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 var(--pad);
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn .i { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgb(255 255 255 / 0.02); }
.btn-sm { --h: 40px; --pad: 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* StarBorder (React Bits, portado a CSS + JS): superficie oscura para que el brillo del borde resalte */
.btn-primary.star-border { position: relative; overflow: hidden; isolation: isolate; padding: var(--sb-thickness, 2px) 0; background: rgb(143 178 255 / 0.14); border: 0; }
.sb-glow {
  position: absolute; width: 300%; height: 50%; opacity: 1; border-radius: 50%; z-index: 0; pointer-events: none;
  background: radial-gradient(circle, var(--sb-color, #e3edff), rgb(143 178 255 / 0.55) 5%, transparent 12%);
  animation: sb-bottom var(--sb-speed, 5s) linear infinite alternate;
}
.sb-glow--bottom { bottom: -12px; right: -250%; }
.sb-glow--top { top: -12px; left: -250%; animation-name: sb-top; }
.sb-inner {
  position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; height: 100%; padding: 0 var(--pad); border-radius: inherit;
  background: linear-gradient(180deg, var(--navy-850), var(--navy-950)); border: 1px solid rgb(143 178 255 / 0.18); color: #ffffff;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.sb-inner .i { color: var(--blue-300); }
@keyframes sb-bottom { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(-100%, 0); opacity: 0; } }
@keyframes sb-top { 0% { transform: translate(0, 0); opacity: 1; } 100% { transform: translate(100%, 0); opacity: 0; } }
@media (hover: hover) and (pointer: fine) { .star-border:hover .sb-inner { border-color: rgb(143 178 255 / 0.45); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 0 24px -6px rgb(90 141 255 / 0.55); } }

.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r-pill); color: var(--text);
  transition: transform 160ms var(--ease-out), border-color 200ms ease, background-color 200ms ease;
}
.icon-btn:active { transform: scale(0.95); }
.icon-btn.sm { width: 40px; height: 40px; }
.link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--text);
  transition: color 200ms ease;
}
.link .i { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:not(.star-border):hover { background: var(--accent-press); }
  .btn-ghost:hover, .icon-btn:hover { border-color: var(--line-3); background: rgb(255 255 255 / 0.04); }
  .btn:hover .i-arrow, .link:hover .i { transform: translateX(3px); }
  .link:hover { color: var(--accent-hi); }
}

.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--text-2);
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line-2); color: var(--accent-hi);
}
.ico .i { width: 22px; height: 22px; }

/* ---------- Media slots (fotos/video pendientes del cliente) ---------- */
.media {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background:
    radial-gradient(120% 90% at 20% 10%, rgb(47 99 240 / 0.20), transparent 55%),
    radial-gradient(90% 80% at 90% 100%, rgb(134 167 255 / 0.10), transparent 60%),
    linear-gradient(160deg, #162235, #0a1019 70%);
  border: 1px solid var(--line);
  isolation: isolate;
}
.media::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5;
  background-image: linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.media .slot {
  position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px;
  font: 11.5px/1.3 var(--f-mono); color: var(--text-3); max-width: calc(100% - 28px);
}
.media .slot .i { width: 14px; height: 14px; }
.r-169 { aspect-ratio: 16 / 9; } .r-43 { aspect-ratio: 4 / 3; } .r-54 { aspect-ratio: 5 / 4; } .r-45 { aspect-ratio: 4 / 5; } .r-32 { aspect-ratio: 3 / 2; }

/* ---------- Imágenes ---------- */
.media.has-img::before { display: none; }
.media > img, .media-inner > img, .tile > img, .ag-img > img, .card-bg > img, .cta-bg > img, .scroll-expand__media > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.media > img { z-index: 0; }
.media .slot-note { z-index: 1; padding: 6px 10px; border-radius: var(--r-pill); background: rgb(5 14 29 / 0.75); color: var(--text-2); }
.media.has-img .play { z-index: 2; }
.r-219 { aspect-ratio: 21 / 9; }
.tile > img { z-index: 0; filter: saturate(0.9); }
.tile .slot { padding: 3px 8px; border-radius: var(--r-pill); background: rgb(5 14 29 / 0.7); color: var(--text-2); }
.card-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.card-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgb(16 38 74 / 0.97) 30%, rgb(16 38 74 / 0.78) 58%, rgb(16 38 74 / 0.45)); }
.card-bg > img { filter: saturate(0.85); transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-bg > img { transform: scale(1.04); } }
.cta-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.16; mask-image: linear-gradient(90deg, transparent 20%, #000 75%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.cta-bg > img { filter: saturate(0.6); }
.room-visual { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.support-banner { margin-bottom: 16px; }
.thumb { position: relative; padding: 0; cursor: pointer; opacity: 0.6; transition: opacity 200ms ease, border-color 200ms ease; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--accent-hi); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { opacity: 1; } }


/* ---------- Secciones claras (mismo sistema de azules sobre blanco) ---------- */
.light {
  --bg: #ffffff;
  --bg-2: #eef3fb;
  --surface: #ffffff;
  --surface-2: #f2f6fd;
  --line: #dde6f5;
  --line-2: #c3d3ea;
  --line-3: #94acd6;
  --text: var(--navy-800);
  --text-2: #42608d;
  --text-3: #5f769d;
  --accent: #1f56e0;
  --accent-press: #17439f;
  --accent-hi: #1b4ac4;
  --accent-soft: rgb(31 86 224 / 0.10);
  --accent-line: rgb(31 86 224 / 0.32);
  --glow-rgb: 31, 86, 224;
  background: var(--bg);
  color: var(--text);
}
.light.tint { background: var(--bg-2); }
.light .eyebrow { color: var(--accent); }
.light .btn-ghost { border-color: var(--line-2); background: #fff; }
.light .sb-inner .i { color: var(--blue-300); }
.light .media { border-color: var(--line-2); }
.light .card, .light .compare-col, .light .plan-card, .light .other, .light .spec, .light .form-card, .light .ref { box-shadow: 0 10px 30px -22px rgb(13 31 60 / 0.45); }
.light .chip[aria-pressed="true"] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.light .node { box-shadow: 0 0 0 4px var(--bg); }
.light .marquee { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.light .client-mark { border-color: var(--line-2); }
.light .faq summary .i { color: var(--text-3); }
.light .ag-panel__text small { color: #d8e4fb; }

/* ---------- Miniatura sobre el número del proceso ---------- */
.step-head { position: relative; z-index: 1; width: max-content; }
.step-media { display: block; width: 88px; height: 88px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2); }
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps .step-head .node { position: absolute; right: -12px; bottom: -12px; width: 38px; height: 38px; font-size: 12px; box-shadow: 0 0 0 4px var(--bg); }
.steps-line { top: 44px; left: 44px; right: 44px; z-index: 0; }

/* ---------- Header · PillNav (React Bits, portado) ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 40; padding-top: 14px; pointer-events: none; }
.header-in { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-in > * { pointer-events: auto; }

.pill-nav {
  --nav-h: 46px;
  --pill-pad-x: 18px;
  --pill-gap: 3px;
  --base: var(--ice-100);
  --pill-bg: var(--navy-800);
  --pill-text: var(--ice-100);
  --hover-text: var(--navy-800);
  display: flex; align-items: center; gap: 8px; width: max-content;
}
.pill-logo {
  width: var(--nav-h); height: var(--nav-h); border-radius: 50%; flex: none;
  background: var(--base); padding: 6px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  box-shadow: 0 10px 30px -12px rgb(3 10 25 / 0.7);
}
.pill-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pill-nav-items { position: relative; display: flex; align-items: center; height: var(--nav-h); background: var(--base); border-radius: var(--r-pill); box-shadow: 0 10px 30px -12px rgb(3 10 25 / 0.7); }
.pill-list { list-style: none; display: flex; align-items: stretch; gap: var(--pill-gap); margin: 0; padding: 3px; height: 100%; }
.pill-list > li { display: flex; height: 100%; }
.pill {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center;
  height: 100%; padding: 0 var(--pill-pad-x); border-radius: var(--r-pill);
  background: var(--pill-bg); color: var(--pill-text);
  font-weight: 600; font-size: 13.5px; line-height: 0; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.pill .hover-circle { position: absolute; left: 50%; bottom: 0; border-radius: 50%; background: var(--base); z-index: 1; display: block; pointer-events: none; will-change: transform; transform: translateX(-50%) scale(0); }
.pill .label-stack { position: relative; display: inline-block; line-height: 1; z-index: 2; }
.pill .pill-label { position: relative; z-index: 2; display: inline-block; line-height: 1; will-change: transform; }
.pill .pill-label-hover { position: absolute; left: 0; top: 0; color: var(--hover-text); z-index: 3; display: inline-block; will-change: transform, opacity; opacity: 0; }
.pill.is-active::after { content: ""; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: var(--base); border-radius: 50px; z-index: 4; }
.pill[aria-expanded="true"] .pill-label { color: var(--blue-300); }

.header-actions { display: flex; align-items: center; gap: 6px; padding: 3px; border-radius: var(--r-pill); background: rgb(13 31 60 / 0.82); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 10px 30px -12px rgb(3 10 25 / 0.7); }
.header-actions .icon-btn { border-color: transparent; }
.support-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: var(--r-pill); font-size: 14px; color: var(--text-2); transition: color 200ms ease, background-color 200ms ease; }
.support-link:hover { color: var(--text); background: rgb(255 255 255 / 0.05); }

.mobile-menu-button {
  width: 46px; height: 46px; border-radius: 50%; background: var(--ice-100); border: 0; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0; box-shadow: 0 10px 30px -12px rgb(3 10 25 / 0.7);
}
.hamburger-line { width: 16px; height: 2px; background: var(--navy-800); border-radius: 1px; transform-origin: center; }
.mobile-menu-popover {
  position: absolute; top: calc(100% + 4px); left: var(--gutter); right: var(--gutter); z-index: 45; pointer-events: auto;
  background: var(--ice-100); border-radius: 28px; box-shadow: 0 24px 60px -20px rgb(3 10 25 / 0.8);
  opacity: 0; visibility: hidden; transform-origin: top center; padding: 4px;
}
.mobile-menu-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
.mobile-menu-link { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; color: var(--ice-100); background: var(--navy-800); font-size: 16px; font-weight: 500; border-radius: 50px; transition: background-color 200ms ease, color 200ms ease; }
.mobile-menu-link:hover, .mobile-menu-link.is-active { background: var(--ice-100); color: var(--navy-800); box-shadow: inset 0 0 0 1px var(--navy-800); }
.mobile-menu-cta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 6px; padding: 6px 2px 2px; }
.mobile-menu-cta .btn-ghost { color: var(--navy-800); border-color: rgb(13 31 60 / 0.25); }

.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 45; pointer-events: auto;
  width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  background: rgb(11 26 54 / 0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid var(--line-2); border-radius: 24px; box-shadow: 0 40px 80px -30px rgb(3 10 25 / 0.9);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s linear 180ms;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr) minmax(0, 1fr); gap: 40px; padding: 28px; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-col > .meta { padding: 0 12px 10px; }
.mega-item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px 12px; border-radius: var(--r-md); transition: background-color 200ms ease; }
.mega-item .ico { width: 40px; height: 40px; }
.mega-item b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mega-item small { display: block; font-size: 13.5px; color: var(--text-2); line-height: 1.4; }
.mega-item:hover, .mega-space a:hover { background: var(--surface); }
.mega-space a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-md); font-size: 15px; color: var(--text-2); transition: background-color 200ms ease, color 200ms ease; }
.mega-space a:hover { color: var(--text); }
.mega-feature { display: flex; flex-direction: column; gap: 14px; }
.mega-feature .media { aspect-ratio: 16 / 10; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100dvh, 900px); padding: calc(var(--header-h) + 40px) 0 72px; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 78% 45%, rgb(47 99 240 / 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 100%, rgb(134 167 255 / 0.05), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero-copy .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise 900ms var(--ease-out) both; }
  .hero-copy > :nth-child(2) { animation-delay: 70ms; }
  .hero-copy > :nth-child(3) { animation-delay: 140ms; }
  .hero-copy > :nth-child(4) { animation-delay: 210ms; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* Videowall */
.wall {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 5px; padding: 5px; aspect-ratio: 1 / 0.86;
  background: #04070b; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  box-shadow: 0 50px 100px -50px rgb(47 99 240 / 0.45), inset 0 1px 0 rgb(255 255 255 / 0.04);
}
.tile { position: relative; overflow: hidden; border-radius: 4px; background: var(--tile, linear-gradient(160deg, #18263b, #0a111b)); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(255 255 255 / 0.05), transparent 30%, rgb(0 0 0 / 0.25)); pointer-events: none; }
.tile .slot { position: absolute; left: 10px; bottom: 8px; font: 10.5px/1.2 var(--f-mono); color: var(--text-3); z-index: 1; }
.tile-big { grid-column: 1 / 3; grid-row: 1 / 3; }
.tile:nth-child(2) { --tile: linear-gradient(200deg, #1c2d49, #0b1220); }
.tile:nth-child(3) { --tile: linear-gradient(140deg, #13202f, #0d1a2c 60%, #1b3160); }
.tile:nth-child(4) { --tile: linear-gradient(180deg, #172233, #0a0f17); }
.tile:nth-child(5) { --tile: linear-gradient(120deg, #0d1624, #1a2b45); }
.tile:nth-child(6) { --tile: linear-gradient(220deg, #19294a, #0a0f17 70%); }
.tile-big { --tile: radial-gradient(80% 90% at 30% 20%, rgb(47 99 240 / 0.35), transparent 60%), linear-gradient(160deg, #182843, #070b11 75%); }
.play {
  position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; z-index: 2;
  display: grid; place-items: center; background: rgb(247 249 252 / 0.1); color: var(--text);
  border: 1px solid rgb(247 249 252 / 0.28);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: transform 200ms var(--ease-out), background-color 200ms ease;
}
.play .i { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; stroke: none; }
.play:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .play:hover { background: rgb(247 249 252 / 0.18); transform: scale(1.04); } }
.play-label { position: absolute; left: 50%; top: calc(50% + 52px); transform: translateX(-50%); font: 12px var(--f-mono); color: var(--text-2); white-space: nowrap; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
  .tile { animation: tileOn 1100ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 110ms + 250ms); }
}
@keyframes tileOn {
  0% { opacity: 0.2; filter: brightness(0.4); }
  35% { opacity: 1; filter: brightness(1.8); }
  100% { opacity: 1; filter: brightness(1); }
}

/* ---------- Clients marquee ---------- */
.clients { border-block: 1px solid var(--line); padding-block: 28px; }
.clients-in { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: center; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; }
.client { display: inline-flex; align-items: center; gap: 12px; color: var(--text-2); font-weight: 600; font-stretch: 90%; font-size: 17px; white-space: nowrap; }
.client-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; border: 1px solid var(--line-2); font: 600 11px var(--f-mono); color: var(--text); letter-spacing: 0.02em; }
@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 38s linear infinite; }
  .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Solutions bento ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden; isolation: isolate;
  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 240ms ease;
}
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line-2); } }
.card .actions { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card p { color: var(--text-2); max-width: 46ch; }
.b-uc { grid-column: 1 / 8; grid-row: 1 / 3; padding: 0; }
.b-uc .media { border-radius: 0; border: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 8.2; }
.b-uc .card-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.b-consult { grid-column: 8 / 13; }
.b-audit { grid-column: 8 / 13; }
.b-sign { grid-column: 1 / 6; }
.b-sla { grid-column: 6 / 13; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pattern { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.p-grid { background-image: linear-gradient(var(--accent-soft) 1px, transparent 1px), linear-gradient(90deg, var(--accent-soft) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(225deg, #000, transparent 55%); }
.p-wave { mask-image: linear-gradient(225deg, #000 10%, transparent 60%); background: repeating-linear-gradient(90deg, transparent 0 9px, rgb(134 167 255 / 0.18) 9px 11px); clip-path: polygon(0 60%, 10% 45%, 20% 55%, 30% 30%, 40% 50%, 50% 20%, 60% 45%, 70% 35%, 80% 55%, 90% 40%, 100% 50%, 100% 100%, 0 100%); }
.p-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 16px; opacity: 0.55; mask-image: linear-gradient(225deg, #000, transparent 60%); }
.p-wall i { background: linear-gradient(160deg, #1b2c4a, #0f1826); border-radius: 2px; aspect-ratio: 16 / 10; }
.p-wall i:nth-child(3n) { background: linear-gradient(160deg, #24407a, #111c30); }
.b-sla { background: linear-gradient(135deg, rgb(47 99 240 / 0.18), rgb(47 99 240 / 0.04) 60%), var(--surface); border-color: var(--accent-line); }
.sla-promise { display: flex; align-items: baseline; gap: 10px; }
.sla-promise b { font-stretch: 82%; font-weight: 700; font-size: 44px; line-height: 1; letter-spacing: -0.02em; }

/* ---------- Tabs ---------- */
.tabs-list { position: relative; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs-list::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 14px 16px; font-size: 15px; font-weight: 500; color: var(--text-3); white-space: nowrap; transition: color 200ms ease; }
.tab .i { width: 18px; height: 18px; }
.tab[aria-selected="true"] { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .tab:hover { color: var(--text); } }
.tab-ind { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w, 0); transform: translateX(var(--x, 0)); background: var(--accent-hi); border-radius: 2px; pointer-events: none; }
.tab-ind.is-ready { transition: transform 280ms var(--ease-out), width 280ms var(--ease-out); }
.panel:not([hidden]) { animation: panelIn 320ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }

/* segmented */
.tabs-list.seg { border: 1px solid var(--line-2); border-radius: 12px; padding: 4px; width: max-content; max-width: 100%; gap: 0; }
.tabs-list.seg .tab { flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 18px; border-radius: 9px; z-index: 1; line-height: 1.3; }
.tabs-list.seg .tab small { font: 12px var(--f-mono); color: var(--text-3); transition: color 200ms ease; }
.tabs-list.seg .tab[aria-selected="true"] small { color: var(--text-2); }
.tabs-list.seg .tab-ind { top: 4px; bottom: 4px; height: auto; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 9px; z-index: 0; }

/* vertical */
.tabs-v { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tabs-list.vertical { flex-direction: column; border-bottom: 0; border-left: 1px solid var(--line); gap: 0; }
.tabs-list.vertical .tab { padding: 16px 20px; font-size: 16px; justify-content: space-between; }
.tabs-list.vertical .tab-ind { top: 0; left: -1px; bottom: auto; width: 2px; height: var(--h, 0); transform: translateY(var(--y, 0)); }
.tabs-list.vertical .tab-ind.is-ready { transition: transform 280ms var(--ease-out), height 280ms var(--ease-out); }

/* space panels */
.space { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 40px; }
.space-copy { display: flex; flex-direction: column; gap: 22px; }
.kv { display: flex; flex-direction: column; gap: 10px; }
.kv > .meta { color: var(--text-3); }
.ref { display: inline-flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); text-align: left; transition: border-color 200ms ease; }
.ref:hover { border-color: var(--line-3); }
.ref b { font-weight: 600; font-size: 15px; display: block; }
.ref small { color: var(--text-3); font-size: 13px; display: block; }
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* ---------- ScrollExpand (React Bits, portado) ---------- */
.scroll-expand { position: relative; width: 100%; background: var(--bg); }
.scroll-expand__track { position: relative; width: 100%; }
.scroll-expand__stage { position: relative; width: 100%; min-height: 100dvh; overflow: hidden; --se-title-size: 4rem; }
.scroll-expand__frame { position: absolute; inset: 0; will-change: clip-path; background: var(--navy-950); }
.scroll-expand__media { position: absolute; inset: 0; width: 100%; height: 100%; will-change: transform; transform-origin: center; user-select: none; }

.scroll-expand__scrim { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; background: linear-gradient(to top, rgb(4 11 24 / 0.95), rgb(4 11 24 / 0.6) 45%, rgb(4 11 24 / 0.8)); }
.scroll-expand__overlay {
  position: relative; z-index: 2; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 22px; padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
}
.scroll-expand__overlay::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(68% 62% at 50% 52%, rgb(4 11 24 / 0.82), rgb(4 11 24 / 0.45) 72%, transparent); }
.scroll-expand__overlay > * { position: relative; z-index: 1; }
.scroll-expand__overlay .lead { margin-inline: auto; color: #d7e3f7; }
.scroll-expand__title {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center; margin: 0; padding: 0 8%;
  text-align: center; font-size: var(--se-title-size); font-weight: 700; font-stretch: 82%; letter-spacing: -0.03em; line-height: 0.98;
  color: #fff; text-shadow: 0 4px 30px rgb(0 0 0 / 0.75), 0 1px 4px rgb(0 0 0 / 0.5); pointer-events: none; will-change: opacity, transform; z-index: 3; text-wrap: balance;
}
.scroll-expand.is-enhanced .scroll-expand__stage { position: sticky; top: 0; min-height: 0; }
.scroll-expand.is-enhanced .scroll-expand__title { display: flex; }
.scroll-expand.is-enhanced .scroll-expand__overlay { position: absolute; inset: 0; min-height: 0; opacity: 0; will-change: opacity, transform; }
.scroll-expand.is-enhanced .scroll-expand__overlay:not(.is-live) { pointer-events: none; }
.se-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(100%, 980px); margin-top: 6px; }
.se-point { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 18px; border-radius: var(--r-lg); background: rgb(7 19 42 / 0.88); border: 1px solid rgb(143 178 255 / 0.3); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 50px -30px rgb(0 0 0 / 0.9); }
.se-point .i { color: var(--blue-300); width: 24px; height: 24px; }
.se-point b { font-stretch: 86%; font-weight: 650; font-size: 22px; line-height: 1.15; }
.se-point span { color: #c5d5ef; font-size: 14.5px; line-height: 1.45; }
.se-platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.se-platforms .platform { height: 48px; padding: 0 20px; border-radius: var(--r-pill); background: rgb(7 19 42 / 0.86); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text); }
.led { animation: led 2.6s steps(2, jump-none) infinite; }
.led.d2 { animation-delay: 0.7s; } .led.d3 { animation-delay: 1.3s; } .led.d4 { animation-delay: 1.9s; }
@keyframes led { 50% { opacity: 0.35; } }
.speaking { animation: speak 1.8s ease-in-out infinite; }
@keyframes speak { 50% { stroke-opacity: 0.35; } }
@media (max-height: 720px) { .scroll-expand__overlay .lead { display: none; } .se-point { padding: 14px; } .se-point span { display: none; } }

/* ---------- Process / signal line ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; view-timeline: --steps block; }
.steps-line { position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--line); border-radius: 2px; }
.steps-line::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); border-radius: 2px; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 8px; }
.node { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--f-mono); background: var(--accent-soft); border: 1px solid var(--accent-hi); color: var(--text); box-shadow: 0 0 0 6px var(--bg); }
.step p { color: var(--text-2); font-size: 15px; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .steps-line::after { animation: drawX linear both; animation-timeline: --steps; animation-range: cover 22% cover 52%; }
    .step .node { animation: nodeOn linear both; animation-timeline: --steps; }
    .step:nth-child(2) .node { animation-range: cover 20% cover 25%; }
    .step:nth-child(3) .node { animation-range: cover 26% cover 31%; }
    .step:nth-child(4) .node { animation-range: cover 32% cover 37%; }
    .step:nth-child(5) .node { animation-range: cover 38% cover 43%; }
    .step:nth-child(6) .node { animation-range: cover 44% cover 49%; }
  }
}
@keyframes drawX { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes nodeOn { from { background: var(--surface-2); border-color: var(--line-2); color: var(--text-3); } to { background: var(--accent-2); border-color: transparent; color: var(--accent-2-ink); } }

/* ---------- Scroll reveal (progressive) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal var(--ease-out) both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } }

/* ---------- AccordionGallery (React Bits, portado) ---------- */
.accordion-gallery {
  --ag-accent: var(--blue-300);
  --ag-overlay: var(--navy-950);
  --ag-text: #ffffff;
  --ag-gap: 10px;
  --ag-radius: 16px;
  --ag-media-size: 640px;
  display: flex; flex-direction: row; gap: var(--ag-gap); width: 100%; height: 560px; perspective: 1400px; perspective-origin: 50% 50%;
}
.ag-panel {
  position: relative; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; border-radius: var(--ag-radius);
  cursor: pointer; display: block; outline: none; transform-style: preserve-3d; transform-origin: center center;
  background: var(--navy-950); box-shadow: 0 10px 30px -18px rgb(0 0 0 / 0.8); will-change: flex-grow, transform; -webkit-tap-highlight-color: transparent;
}
.ag-panel.is-active { flex-grow: 3.2; }
.ag-panel:focus-visible { box-shadow: 0 0 0 2px var(--ag-accent), 0 10px 30px -18px rgb(0 0 0 / 0.8); }
.ag-panel__frame { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.ag-panel__media {
  --ag-gray: 1; --ag-dim: 0.35;
  position: absolute; top: 50%; left: 50%; width: var(--ag-media-size); height: 100%; transform: translate(-50%, -50%);
  filter: grayscale(var(--ag-gray)); will-change: transform, filter;
}
.ag-img { position: absolute; inset: 0; background: var(--ag-bg); }
.ag-img::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0.18; background-image: linear-gradient(rgb(255 255 255 / 0.04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.04) 1px, transparent 1px); background-size: 36px 36px; }
.ag-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ag-panel__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--ag-overlay) 88%, transparent) 100%), color-mix(in srgb, var(--ag-overlay) calc(var(--ag-dim, 0.35) * 100%), transparent);
}
.ag-panel__label { position: absolute; left: 28px; bottom: 28px; right: 28px; display: flex; align-items: stretch; gap: 16px; pointer-events: none; z-index: 2; }
.ag-panel__bar { flex: 0 0 auto; width: 3px; border-radius: 3px; background: var(--ag-accent); opacity: 0; box-shadow: 0 0 12px color-mix(in srgb, var(--ag-accent) 60%, transparent); }
.ag-panel__text { display: flex; flex-direction: column; gap: 8px; color: var(--ag-text); opacity: 0; min-width: 260px; }
.ag-panel__text b { font-weight: 650; font-stretch: 88%; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.08; letter-spacing: -0.01em; text-shadow: 0 2px 14px rgb(0 0 0 / 0.55); }
.ag-panel__text small { font-size: 15px; color: var(--text-2); }
.ag-panel__text .ag-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 14.5px; color: var(--blue-200); }
.ag-panel__peek { position: absolute; left: 20px; bottom: 22px; z-index: 2; font: 500 12px/1.2 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); transition: opacity 240ms var(--ease-out); pointer-events: none; }
.ag-panel.is-active .ag-panel__peek { opacity: 0; }
.ag-slot { position: absolute; right: 16px; top: 14px; z-index: 2; font: 11.5px var(--f-mono); color: var(--text-3); display: flex; align-items: center; gap: 8px; }
.ag-slot .i { width: 14px; height: 14px; }
.ag-panel:not(.is-active) .ag-slot { opacity: 0; }
.ag-slot { transition: opacity 240ms var(--ease-out); }
.ag-motif { position: absolute; left: 50%; top: 40%; width: 220px; height: 220px; transform: translate(-50%, -50%); stroke: var(--blue-300); stroke-width: 0.5; fill: none; opacity: 0.4; }
.vc-name { font: 500 17px var(--f-sans); fill: #edf3fc; }
.no-gsap .pill:hover { background: var(--base); color: var(--hover-text); }
.no-gsap .ag-panel { transition: flex-grow 600ms var(--ease-out); }
.no-gsap .ag-panel.is-active .ag-panel__text, .no-gsap .ag-panel.is-active .ag-panel__bar { opacity: 1; }
.no-gsap .ag-panel.is-active .ag-panel__media { --ag-gray: 0; --ag-dim: 0; }
@media (max-width: 760px) {
  .accordion-gallery { flex-direction: column; perspective: none; height: auto !important; }
  .ag-panel { min-height: 96px; transform: none !important; }
  .ag-panel.is-active { min-height: 380px; }
  .accordion-gallery .ag-panel__media { width: 100%; height: 100%; }
  .ag-panel__text { min-width: 0; }
}

/* Tarjetas de proyecto (ficha de servicio) */
.project { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.project .media { transition: border-color 240ms ease; }
.project .media-inner { position: absolute; inset: 0; background: inherit; transition: transform 700ms var(--ease-out); }
.project .h3 { transition: color 200ms ease; }
.project .row-meta { display: flex; justify-content: space-between; gap: 16px; }
@media (hover: hover) and (pointer: fine) { .project:hover .media { border-color: var(--line-3); } .project:hover .media-inner { transform: scale(1.03); } .project:hover .h3 { color: var(--accent-hi); } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 26px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 32px; margin-top: 8px; }
.value { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 6px 14px; }
.value .i { color: var(--accent-hi); margin-top: 2px; grid-row: span 2; }
.value p { color: var(--text-2); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stat { padding: 28px 24px 0 0; display: flex; flex-direction: column; gap: 8px; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { font-weight: 700; font-stretch: 80%; font-size: clamp(44px, 5vw, 72px); line-height: 0.95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat span { color: var(--text-2); font-size: 15px; }
.brands { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--text-3); font: 500 13px var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Resources ---------- */
.resources { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; }
.article-feature { display: flex; flex-direction: column; gap: 16px; }
.article-list { display: flex; flex-direction: column; }
.article-row { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.article-row:first-child { padding-top: 0; }
.download { margin-top: 24px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--accent-line); background: linear-gradient(135deg, rgb(47 99 240 / 0.14), transparent 70%); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }

/* ---------- Final CTA ---------- */
.cta-panel {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line-2); border-radius: 20px; padding: clamp(32px, 6vw, 72px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  background: radial-gradient(70% 90% at 100% 0%, rgb(47 99 240 / 0.24), transparent 60%), var(--surface);
}
.cta-copy { display: flex; flex-direction: column; gap: 20px; }
.paths { display: flex; flex-direction: column; gap: 12px; }
.path { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line-3); background: rgb(7 19 42 / 0.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.path b { display: block; font-size: 16px; }
.path span { color: #c5d5ef; font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.2fr); gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; color: var(--text-2); font-size: 15px; }
.footer-col ul a:hover { color: var(--text); }
.footer-col li { display: flex; gap: 10px; align-items: flex-start; }
.footer-col li .i { margin-top: 3px; color: var(--text-3); }
.footer-logo { width: 132px; height: auto; }
.social { display: flex; gap: 8px; }
.legal { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; color: var(--text-3); font-size: 13.5px; }
.legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.legal a:hover { color: var(--text); }
.reclamos { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-2); }

/* ---------- FAB + mobile bar ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--text); border: 1px solid var(--line-3);
  box-shadow: 0 18px 40px -16px rgb(0 0 0 / 0.8);
  opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out), background-color 200ms ease;
}
.fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fab .i { width: 26px; height: 26px; }
.fab:active { transform: scale(0.95); }
@media (hover: hover) and (pointer: fine) { .fab:hover { background: var(--line-2); } }
.mbar { display: none; }

/* ---------- Service page ---------- */
.s-hero { position: relative; padding: calc(var(--header-h) + 36px) 0 64px; overflow: hidden; isolation: isolate; }
.s-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(45% 60% at 80% 30%, rgb(47 99 240 / 0.16), transparent 70%); }
.crumbs { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); margin-bottom: clamp(32px, 5vw, 56px); }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text-2); }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.s-hero .media { aspect-ratio: 5 / 4; }
.platforms { border-block: 1px solid var(--line); }
.platforms-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; padding-block: 24px; }
.platform-logos { display: flex; flex-wrap: wrap; gap: 12px 36px; align-items: center; justify-content: flex-end; }
.platform { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-stretch: 92%; font-size: 17px; color: var(--text-2); }
.platform .i { color: var(--text); }

.subnav { position: sticky; top: 86px; z-index: 35; pointer-events: none; padding-top: 8px; }
.subnav-in { pointer-events: auto; display: flex; align-items: center; gap: 16px; padding: 4px 4px 4px 12px; border-radius: var(--r-pill); background: rgb(13 31 60 / 0.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line-2); box-shadow: 0 16px 40px -20px rgb(3 10 25 / 0.8); }
.subnav-links { position: relative; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-right: auto; }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a { padding: 10px 14px; border-radius: var(--r-pill); font-size: 14.5px; color: var(--text-3); white-space: nowrap; transition: color 200ms ease, background-color 200ms ease; }
.subnav-links a.is-active { background: var(--ice-100); color: var(--navy-800); }
.subnav-links a:not(.is-active):hover { color: var(--text); }

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.compare-col { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 22px; }
.compare-col.good { border-color: var(--accent-line); background: linear-gradient(160deg, rgb(47 99 240 / 0.14), transparent 60%), var(--surface); }
.compare-col ul { display: flex; flex-direction: column; gap: 20px; }
.compare-col li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 14px; }
.compare-col li .i { grid-row: span 2; margin-top: 2px; }
.compare-col.bad li .i { color: var(--text-3); }
.compare-col.good li .i { color: var(--accent-hi); }
.compare-col li span { color: var(--text-2); font-size: 15px; }

.room { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: 36px; }
.planbox { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; background-color: var(--bg-2); background-image: linear-gradient(rgb(255 255 255 / 0.025) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.025) 1px, transparent 1px); background-size: 20px 20px; }
.plan { width: 100%; height: auto; }
.pl-room { fill: none; stroke: var(--line-3); stroke-width: 2; }
.pl-table { fill: var(--surface-2); stroke: var(--line-3); stroke-width: 1.2; }
.pl-chair { fill: var(--bg-2); stroke: var(--text-3); stroke-width: 1.2; }
.pl-cone { fill: var(--accent); fill-opacity: 0.12; stroke: var(--accent-hi); stroke-opacity: 0.5; stroke-dasharray: 4 4; transform-box: fill-box; transform-origin: 50% 0; }
.pl-cone.up { transform-origin: 50% 100%; }
.pl-mic { fill: rgb(134 167 255 / 0.05); stroke: var(--accent-hi); stroke-width: 1.2; stroke-dasharray: 3 3; transform-box: fill-box; transform-origin: center; }
.pl-screen { stroke: var(--text); stroke-width: 5; stroke-linecap: round; }
.pl-cam { fill: var(--accent-hi); }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .pl-cone { animation: coneIn 520ms 120ms var(--ease-out) both; }
  .panel:not([hidden]) .pl-mic { animation: micIn 600ms 300ms var(--ease-out) both; }
}
@keyframes coneIn { from { transform: scaleY(0.15); opacity: 0; } }
@keyframes micIn { from { transform: scale(0.6); opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font: 12px var(--f-mono); color: var(--text-3); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { display: inline-block; }
.room-copy { display: flex; flex-direction: column; gap: 24px; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.spec { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; line-height: 1.4; }
.spec .i { color: var(--accent-hi); }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.room-meta div { display: flex; flex-direction: column; gap: 4px; }
.room-meta b { font-weight: 600; font-size: 16px; }

.anatomy { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 32px; }
.illus { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: #0b111a; }
.illus svg { width: 100%; height: auto; }
.hs {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; font: 600 12px var(--f-mono);
  background: var(--bg); color: var(--text); border: 1px solid var(--accent-hi);
  transition: background-color 200ms ease, transform 200ms var(--ease-out), color 200ms ease;
}
.hs::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--accent-hi); opacity: 0; pointer-events: none; }
.hs.is-active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hs:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .hs:hover { transform: scale(1.08); } }
@media (prefers-reduced-motion: no-preference) { .hs.is-hint::after { animation: ping 1400ms var(--ease-out) 2; } }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.9); } }
.anat-list { display: flex; flex-direction: column; }
.anat-item { border-bottom: 1px solid var(--line); }
.anat-item button { width: 100%; display: grid; grid-template-columns: 30px 22px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; text-align: left; font-size: 15.5px; font-weight: 500; color: var(--text-2); transition: color 200ms ease; }
.anat-item .n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--f-mono); border: 1px solid var(--line-3); transition: background-color 200ms ease, border-color 200ms ease; }
.anat-item .i { color: var(--text-3); }
.anat-item .desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 260ms var(--ease-out); }
.anat-item .desc > p { overflow: hidden; color: var(--text-2); font-size: 14.5px; padding-left: 64px; }
.anat-item.is-active button { color: var(--text); }
.anat-item.is-active .n { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.anat-item.is-active .desc { grid-template-rows: 1fr; }
.anat-item.is-active .desc > p { padding-bottom: 16px; }

.flow { border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: clamp(16px, 3vw, 32px); background: var(--bg-2); overflow-x: auto; margin-top: 32px; }
.flow svg { min-width: 760px; width: 100%; height: auto; }
.sf-box { fill: var(--surface); stroke: var(--line-3); stroke-width: 1.2; }
.sf-box.hl { stroke: var(--accent-hi); fill: rgb(47 99 240 / 0.12); }
.sf-box.cloud { stroke-dasharray: 5 4; }
.sf-t { font: 600 13px var(--f-sans); fill: var(--text); }
.sf-s { font: 11px var(--f-mono); fill: var(--text-3); }
.sf-l { fill: none; stroke: var(--accent-hi); stroke-width: 1.4; stroke-opacity: 0.8; }
.sf-arrow { fill: var(--accent-hi); }
@media (prefers-reduced-motion: no-preference) {
  .panel:not([hidden]) .sf-l { stroke-dasharray: 600; animation: dash 1400ms var(--ease-out) both; }
  .panel:not([hidden]) .sf-l:nth-of-type(2) { animation-delay: 120ms; }
  .panel:not([hidden]) .sf-l:nth-of-type(3) { animation-delay: 240ms; }
  .panel:not([hidden]) .sf-l:nth-of-type(4) { animation-delay: 360ms; }
  .panel:not([hidden]) .sf-l:nth-of-type(5) { animation-delay: 480ms; }
  .panel:not([hidden]) .sf-l:nth-of-type(6) { animation-delay: 600ms; }
  .panel:not([hidden]) .sf-l:nth-of-type(7) { animation-delay: 720ms; }
}
@keyframes dash { from { stroke-dashoffset: 600; } to { stroke-dashoffset: 0; } }

.platform-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; }
.checks { display: flex; flex-direction: column; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.checks .i { color: var(--accent-hi); margin-top: 2px; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan-card { display: flex; flex-direction: column; gap: 22px; padding: 28px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.plan-card.rec { border-color: var(--accent-hi); background: linear-gradient(180deg, rgb(47 99 240 / 0.16), transparent 50%), var(--surface); }
.plan-card .rec-label { font: 500 12px var(--f-mono); color: var(--accent-hi); letter-spacing: 0.06em; text-transform: uppercase; min-height: 16px; }
.plan-card ul { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan-card li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 15px; color: var(--text-2); }
.plan-card li .i { width: 18px; height: 18px; margin-top: 2px; color: var(--accent-hi); }
.plan-card li.off { color: var(--text-3); }
.plan-card li.off .i { color: var(--line-3); }
.plan-card li b { color: var(--text); font-weight: 600; }

.related { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.7fr); gap: 20px; align-items: stretch; }
.all-tile { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; border-radius: var(--r-lg); border: 1px dashed var(--line-3); color: var(--text-2); transition: border-color 200ms ease, color 200ms ease; }
.all-tile:hover { border-color: var(--accent-hi); color: var(--text); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 16.5px; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 240ms var(--ease-out); color: var(--text-3); }
.faq details[open] summary .i { transform: rotate(45deg); color: var(--accent-hi); }
.faq details p { color: var(--text-2); padding: 0 40px 22px 0; }
@media (prefers-reduced-motion: no-preference) { .faq details[open] p { animation: panelIn 280ms var(--ease-out); } }

.quote-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.quote-copy { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--header-h) + 88px); }
.promise { display: flex; flex-direction: column; gap: 14px; }
.promise li { display: flex; gap: 12px; color: var(--text-2); }
.promise .i { color: var(--accent-hi); margin-top: 2px; }

.others { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.other { display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; gap: 14px; align-items: center; padding: 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 15px; line-height: 1.3; transition: border-color 200ms ease; }
.other > .i { color: var(--text-3); transition: transform 200ms var(--ease-out), color 200ms ease; }
@media (hover: hover) and (pointer: fine) { .other:hover { border-color: var(--line-3); } .other:hover > .i { transform: translateX(3px); color: var(--accent-hi); } }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-3); }
.input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm);
  background: var(--bg); border: 1px solid var(--line-2); color: var(--text); font: inherit; font-size: 15px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.input::placeholder { color: var(--text-3); }
.input:hover { border-color: var(--line-3); }
.input:focus { outline: none; border-color: var(--accent-hi); box-shadow: 0 0 0 3px rgb(134 167 255 / 0.18); }
textarea.input { height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23a3afbf' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field .hint { font-size: 13px; color: var(--text-3); }
.field .error { display: none; align-items: center; gap: 6px; font-size: 13.5px; color: var(--danger); }
.field.has-error .input { border-color: var(--danger); }
.field.has-error .error { display: flex; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.drop { display: flex; align-items: center; gap: 14px; padding: 18px; border: 1px dashed var(--line-3); border-radius: var(--r-md); color: var(--text-2); font-size: 14px; }
.drop .i { color: var(--accent-hi); }
.drop u { color: var(--text); text-underline-offset: 3px; }
.form-success { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.form-success .ico { width: 56px; height: 56px; border-radius: 50%; }

/* ---------- Dialogs ---------- */
dialog.modal {
  width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0;
  border: 1px solid var(--line-2); border-radius: 16px; background: var(--bg-2); color: var(--text);
  box-shadow: 0 40px 120px -20px rgb(0 0 0 / 0.8);
}
dialog.modal[open] { display: flex; flex-direction: column; }
dialog::backdrop { background: rgb(3 6 10 / 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] { animation: dlgIn 260ms var(--ease-out); }
  dialog.modal.is-closing { animation: dlgOut 160ms var(--ease-out) forwards; }
  dialog[open]::backdrop { animation: fadeIn 260ms var(--ease-out); }
  dialog.is-closing::backdrop { animation: fadeOut 160ms var(--ease-out) forwards; }
  dialog.drawer[open] { animation: drawerIn 420ms var(--ease-drawer); }
  dialog.drawer.is-closing { animation: drawerOut 240ms var(--ease-out) forwards; }
}
@keyframes dlgIn { from { opacity: 0; transform: translateY(10px) scale(0.97); } }
@keyframes dlgOut { to { opacity: 0; transform: scale(0.98); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes drawerIn { from { transform: translateX(100%); } }
@keyframes drawerOut { to { transform: translateX(100%); } }
dialog.drawer { inset: 0 0 0 auto; margin: 0; width: min(560px, 100vw); height: 100dvh; max-height: 100dvh; border-radius: 0; border-width: 0 0 0 1px; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line); }
.dlg-head .t { display: flex; flex-direction: column; gap: 2px; }
.dlg-head .t b { font-size: 17px; font-weight: 600; }
.dlg-body { padding: 24px; overflow: auto; display: flex; flex-direction: column; gap: 20px; }
.dlg-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 16px 24px 0; }
.progress i { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; position: relative; }
.progress i::after { content: ""; position: absolute; inset: 0; background: var(--accent-hi); transform: scaleX(0); transform-origin: left; transition: transform 360ms var(--ease-out); }
.progress i.on::after { transform: scaleX(1); }
.options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.option { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) 20px; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color 200ms ease, background-color 200ms ease; }
.option:hover { border-color: var(--line-3); }
.option .ico { width: 40px; height: 40px; }
.option b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.option small { display: block; color: var(--text-3); font-size: 13px; }
.option input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.option:has(input:checked) { border-color: var(--accent-hi); background: linear-gradient(0deg, var(--accent-soft), var(--accent-soft)), var(--surface); }
.radios { display: flex; flex-direction: column; gap: 8px; }
.radios label { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line-2); cursor: pointer; font-size: 15px; transition: border-color 200ms ease; }
.radios label .i { color: var(--text-3); }
.radios input { accent-color: var(--accent); margin: 0; }
.radios label:has(input:checked) { border-color: var(--accent-hi); background: var(--accent-soft); }
.chat { display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line-2); overflow: hidden; background: var(--bg); background-image: radial-gradient(rgb(255 255 255 / 0.03) 1px, transparent 1px); background-size: 16px 16px; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat-head .logo-badge { width: 36px; height: 36px; border-radius: 10px; }
.bubble { margin: 20px 14px 10px auto; width: 88%; padding: 10px 12px 6px; border-radius: 14px 14px 4px 14px; background: #173a2c; border: 1px solid #22513e; }
.bubble textarea { width: 100%; height: 132px; resize: none; border: 0; background: transparent; color: #e7f5ee; font: 15px/1.5 var(--f-sans); padding: 0; }
.bubble textarea:focus { outline: none; }
.chat .hint { padding: 0 14px 14px; text-align: right; font: 12px var(--f-mono); color: var(--text-3); }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gallery .media { aspect-ratio: 4 / 3; border-radius: var(--r-sm); }
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; padding: 18px 0; border-block: 1px solid var(--line); }
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 16px); opacity: 0;
  display: flex; align-items: center; gap: 12px; max-width: min(520px, calc(100vw - 32px));
  padding: 14px 18px; border-radius: 12px; background: var(--text); color: var(--bg); font-size: 14.5px; font-weight: 500;
  box-shadow: 0 20px 50px -20px rgb(0 0 0 / 0.8); pointer-events: none;
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- MagicBento: borde luminoso, spotlight y partículas (React Bits, portado) ---------- */
.magic-card { --glow-x: 50%; --glow-y: 50%; --glow-intensity: 0; --glow-radius: 280px; position: relative; overflow: hidden; transition: border-color 240ms ease, box-shadow 300ms ease, transform 300ms var(--ease-out); }
.magic-card::after {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none; z-index: 3;
  background: radial-gradient(var(--glow-radius) circle at var(--glow-x) var(--glow-y), rgb(var(--glow-rgb) / calc(var(--glow-intensity) * 0.95)) 0%, rgb(var(--glow-rgb) / calc(var(--glow-intensity) * 0.45)) 30%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask-composite: exclude;
}
@media (hover: hover) and (pointer: fine) {
  .magic-card:hover { transform: translateY(-2px); box-shadow: 0 8px 30px -10px rgb(3 10 25 / 0.6), 0 0 36px rgb(var(--glow-rgb) / 0.16); }
}
.magic-particle { position: absolute; width: 4px; height: 4px; border-radius: 50%; pointer-events: none; z-index: 4; background: rgb(var(--glow-rgb)); box-shadow: 0 0 6px rgb(var(--glow-rgb) / 0.7); }
.magic-ripple { position: absolute; border-radius: 50%; pointer-events: none; z-index: 5; background: radial-gradient(circle, rgb(var(--glow-rgb) / 0.35) 0%, rgb(var(--glow-rgb) / 0.16) 30%, transparent 70%); }
.global-spotlight {
  position: fixed; left: 0; top: 0; width: 800px; height: 800px; border-radius: 50%; pointer-events: none; z-index: 20; opacity: 0;
  transform: translate(-50%, -50%); mix-blend-mode: screen; will-change: left, top, opacity;
  background: radial-gradient(circle, rgb(var(--glow-rgb) / 0.14) 0%, rgb(var(--glow-rgb) / 0.07) 15%, rgb(var(--glow-rgb) / 0.035) 25%, rgb(var(--glow-rgb) / 0.015) 40%, transparent 70%);
}

/* ---------- LineSidebar (React Bits, portado) como pestañas verticales ---------- */
.line-sidebar {
  --accent-color: var(--blue-300);
  --text-color: var(--text-2);
  --marker-color: var(--line-3);
  --marker-length: 56px;
  --marker-gap: 14px;
  --tick-scale: 0.5;
  --max-shift: 26px;
  --item-gap: 26px;
  --font-size: 1.3rem;
  position: relative; display: flex; justify-content: flex-start; min-width: 0;
}
.line-sidebar--markers { padding-left: calc(var(--marker-length) + var(--marker-gap)); }
.line-sidebar__list { list-style: none; margin: 0; padding: 1rem 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--item-gap); }
.line-sidebar__item { position: relative; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; text-align: left; color: inherit; }
.line-sidebar__item::before { content: ""; position: absolute; inset: -8px -48px; }
.line-sidebar__item:focus-visible { outline: none; }
.line-sidebar__item:focus-visible .line-sidebar__text { outline: 2px solid var(--accent-hi); outline-offset: 6px; border-radius: 4px; }
.line-sidebar__label {
  position: relative; display: inline-flex; align-items: baseline;
  font-size: var(--font-size); font-weight: 600; font-stretch: 90%; line-height: 1.2; letter-spacing: -0.005em; white-space: nowrap;
  color: color-mix(in srgb, var(--accent-color) calc(var(--effect, 0) * 100%), var(--text-color));
  transform: translateX(calc(var(--effect, 0) * var(--max-shift)));
}
.line-sidebar__item[aria-selected="true"] .line-sidebar__label { color: color-mix(in srgb, #ffffff calc(var(--effect, 0) * 100%), var(--text-color)); }
.line-sidebar__index { font-family: var(--f-mono); font-weight: 500; margin-right: 0.7rem; font-size: 0.62em; color: var(--accent-color); opacity: calc(0.55 + var(--effect, 0) * 0.45); }
.line-sidebar__marker {
  position: absolute; top: 50%; left: calc(-1 * var(--marker-length) - var(--marker-gap)); height: 1px; width: var(--marker-length);
  background-color: color-mix(in srgb, var(--accent-color) calc(var(--effect, 0) * 100%), var(--marker-color));
  transform-origin: left center; transform: translateY(-50%) scaleX(calc(0.7 + var(--effect, 0) * 0.5));
}
.line-sidebar__item[aria-selected="true"] .line-sidebar__marker { height: 2px; }
.line-sidebar--markers .line-sidebar__item:not(:last-child)::after {
  content: ""; position: absolute; top: calc(100% + var(--item-gap) / 2); left: calc(-1 * var(--marker-length) - var(--marker-gap));
  height: 1px; width: calc(var(--marker-length) * var(--tick-scale)); background-color: var(--marker-color); opacity: 0.5; transform: translateY(-50%);
}
.line-sidebar--scale-tick .line-sidebar__item:not(:last-child)::after { transform-origin: left center; transform: translateY(-50%) scaleX(calc(0.7 + var(--effect, 0) * 0.6)); }

/* ---------- MaskedHeading (React Bits, portado) ---------- */
.projects-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.projects-sub { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 40px; flex-wrap: wrap; }
.masked-heading {
  position: relative; width: 100%; margin: 0; padding: 0 0 0.08em;
  font-size: clamp(48px, 9vw, 140px); font-weight: 800; font-stretch: 100%; letter-spacing: -0.035em; line-height: 0.98;
  text-wrap: balance; -webkit-font-smoothing: antialiased; color: var(--text);
}
.masked-heading.is-ready .masked-heading__measure { color: rgb(237 243 252 / 0.07); }
.masked-heading__word { display: inline-block; white-space: pre; }
.masked-heading__word:not(:last-child)::after { content: " "; }
.masked-heading__baseline { display: inline-block; width: 0; height: 0; }
.masked-heading__defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.masked-heading__reveal { position: absolute; inset: 0; display: block; pointer-events: none; }
.masked-heading__clip { position: absolute; inset: 0; display: block; }
.masked-heading__media { position: absolute; inset: 0; display: block; will-change: transform, filter; }
.masked-heading__source { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; -webkit-user-drag: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pill-nav-items { display: none; }
  .mobile-menu-button { display: flex; }
  .support-link { display: none; }
  .mega { display: none; }
  .b-uc { grid-column: 1 / -1; grid-row: auto; }
  .b-consult, .b-audit, .b-sign, .b-sla { grid-column: span 6; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps-line { display: none; }
  .others { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .related .all-tile { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-grid, .s-hero-grid, .space, .support-grid, .about, .resources, .cta-panel, .room, .anatomy, .tabs-v, .platform-panel, .quote-grid, .compare, .clients-in, .platforms-in { grid-template-columns: minmax(0, 1fr); }
  .quote-copy { position: static; }
  .subnav { top: 80px; }
  .platform-logos { justify-content: flex-start; }
  .plans, .faq { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .line-sidebar { --font-size: 1.1rem; --item-gap: 18px; --marker-length: 36px; --max-shift: 14px; }
  .subnav .btn { display: none; }
}
@media (max-width: 640px) {
  .header-actions { display: none; }
  .b-consult, .b-audit, .b-sign, .b-sla { grid-column: 1 / -1; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .options, .form, .specs, .values, .facts-grid, .gallery, .se-points { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .others, .footer-grid, .related { grid-template-columns: minmax(0, 1fr); }
  .path { grid-template-columns: 44px minmax(0, 1fr); }
  .path .btn { grid-column: 1 / -1; }
  .hero-copy .btns .btn { flex: 1 1 auto; }
  .fab { display: none; }
  .mbar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(8 12 18 / 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    transform: translateY(100%); transition: transform 240ms var(--ease-out);
  }
  .mbar.is-visible { transform: none; }
  .footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .sb-glow { display: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* =========================================================================
   v7 · Armonía cromática, WhatsApp oficial, panel de espacios, timeline
   ========================================================================= */

/* ---------- Color secundario: ámbar técnico (contrapeso cálido del azul) ---------- */
:root {
  --amber-600: #e07b0c;
  --amber-500: #f59324;
  --amber-400: #ffab4a;
  --amber-200: #ffd9a8;
  --accent-2: var(--amber-400);
  --accent-2-text: #ffc482;
  --accent-2-ink: #2a1703;
  --accent-2-soft: rgb(255 171 74 / 0.14);
  --accent-2-line: rgb(255 171 74 / 0.42);
  /* Verde oficial de WhatsApp */
  --wa: #25d366;
  --wa-hi: #2fe076;
  --wa-deep: #128c7e;
  --wa-ink: #052e18;
}
.light {
  --accent-2: var(--amber-600);
  --accent-2-text: #8f5205;
  --accent-2-soft: rgb(224 123 12 / 0.12);
  --accent-2-line: rgb(224 123 12 / 0.38);
}
.eyebrow, .light .eyebrow { color: var(--accent-2-text); }
.values .value > .i { color: var(--accent-2-text); }
.stat b::after { background: var(--accent-2); }

/* ---------- WhatsApp: siempre su verde ---------- */
[data-open="m-wa"] { --glow-rgb: 37, 211, 102; }
.icon-btn[data-open="m-wa"] { background: var(--wa); border-color: rgb(5 46 24 / 0.2); color: var(--wa-ink); }
.icon-btn[data-open="m-wa"] .i { color: var(--wa-ink); }
.btn-ghost[data-open="m-wa"] { border-color: rgb(37 211 102 / 0.5); background: rgb(37 211 102 / 0.1); color: #bdf5d4; }
.btn-ghost[data-open="m-wa"] .i { color: var(--wa); }
.light .btn-ghost[data-open="m-wa"] { border-color: rgb(18 140 126 / 0.45); color: #0b6b36; }
.light .btn-ghost[data-open="m-wa"] .i { color: var(--wa-deep); }
.fab[data-open="m-wa"] { background: var(--wa); color: var(--wa-ink); border-color: rgb(5 46 24 / 0.25); box-shadow: 0 18px 40px -14px rgb(18 140 126 / 0.65); }
.ico.wa { background: rgb(37 211 102 / 0.14); border-color: rgb(37 211 102 / 0.45); color: var(--wa); }
.i.wa { color: var(--wa); }
@media (hover: hover) and (pointer: fine) {
  .icon-btn[data-open="m-wa"]:hover { background: var(--wa-hi); border-color: rgb(5 46 24 / 0.3); }
  .btn-ghost[data-open="m-wa"]:hover { background: rgb(37 211 102 / 0.18); border-color: var(--wa); }
  .fab[data-open="m-wa"]:hover { background: var(--wa-hi); }
}
#m-wa { --glow-rgb: 37, 211, 102; }
#m-wa .dlg-head .meta { color: var(--wa); }
#m-wa .radios label:has(input:checked) { border-color: rgb(37 211 102 / 0.55); background: rgb(37 211 102 / 0.1); }
#m-wa .radios label:has(input:checked) .i { color: var(--wa); }
#m-wa .bubble { border-color: rgb(37 211 102 / 0.32); }
#m-wa .btn-primary { background: var(--wa); border-color: transparent; color: var(--wa-ink); }
#m-wa .btn-primary .i { color: var(--wa-ink); }
@media (hover: hover) and (pointer: fine) { #m-wa .btn-primary:hover { background: var(--wa-hi); } }

/* ---------- Logo completo (lockup) en la barra ---------- */
.pill-logo.is-lockup {
  width: auto; height: var(--nav-h); border-radius: var(--r-pill);
  padding: 9px 20px 9px 14px; gap: 0;
}
.pill-logo.is-lockup img { width: auto; height: 100%; max-height: 32px; }
@media (max-width: 420px) { .pill-logo.is-lockup { padding: 9px 14px 9px 10px; } .pill-logo.is-lockup img { max-height: 26px; } }

/* ---------- Clientes: logos reales y titular con peso ---------- */
.clients { padding-block: clamp(30px, 4vw, 48px); }
.clients-in { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); }
.clients-copy { display: flex; flex-direction: column; gap: 8px; }
.clients-title {
  font-family: var(--f-sans); font-weight: 600; font-stretch: 88%;
  font-size: clamp(21px, 2.2vw, 28px); line-height: 1.16; letter-spacing: -0.015em; color: var(--text);
}
.clients-title em { font-style: normal; color: var(--accent-2-text); }
.marquee-track { gap: clamp(36px, 4vw, 60px); align-items: center; }
.client { gap: 0; }
.client img {
  display: block; height: clamp(28px, 3vw, 38px); width: auto; max-width: 128px; object-fit: contain;
  filter: grayscale(1); opacity: 0.72; transition: filter 300ms ease, opacity 300ms ease;
}
.marquee:hover .client img, .marquee:focus-within .client img { filter: none; opacity: 1; }
@media (max-width: 900px) { .clients-in { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* ---------- Marcas que integramos: logos en lugar de texto ---------- */
.brands {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px;
  font: inherit; letter-spacing: normal; text-transform: none;
}
.brands .brand { display: inline-flex; align-items: center; }
.brands img {
  display: block; height: 23px; width: auto; max-width: 98px; object-fit: contain;
  filter: grayscale(1); opacity: 0.78; transition: filter 260ms ease, opacity 260ms ease;
}
.brands:hover img { filter: none; opacity: 1; }

/* ---------- Panel de control de espacios ---------- */
.panelboard {
  display: grid; grid-template-columns: minmax(270px, 340px) minmax(0, 1fr);
  gap: clamp(18px, 2.4vw, 32px); margin-top: clamp(28px, 3vw, 40px); align-items: start;
}
.pb-rail {
  position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px;
  border: 1px solid var(--line); border-radius: 20px; background: var(--surface);
  box-shadow: 0 30px 70px -48px rgb(5 14 29 / 0.6);
}
.pb-rail-label {
  padding: 10px 14px 8px; font: 500 11.5px var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.tabs-list.board { flex-direction: column; gap: 2px; border: 0; overflow: visible; }
.tabs-list.board .tab {
  width: 100%; justify-content: flex-start; gap: 14px; padding: 13px 14px;
  border-radius: 14px; font-size: 16px; font-weight: 500; text-align: left;
  transition: background-color 220ms ease, color 200ms ease;
}
.tabs-list.board .pb-ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--accent-hi);
  transition: background-color 240ms ease, border-color 240ms ease, color 240ms ease;
}
.tabs-list.board .pb-ico .i { width: 22px; height: 22px; }
.tabs-list.board .pb-t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tabs-list.board .pb-t b { font-weight: 600; font-stretch: 95%; line-height: 1.25; }
.tabs-list.board .pb-t small { font: 12.5px var(--f-mono); color: var(--text-3); }
.tabs-list.board .pb-arrow {
  width: 18px; height: 18px; margin-left: auto; flex: none; opacity: 0;
  transform: translateX(-6px); transition: opacity 220ms ease, transform 260ms var(--ease-out);
}
.tabs-list.board .tab[aria-selected="true"] { background: var(--accent-soft); color: var(--text); }
.tabs-list.board .tab[aria-selected="true"] .pb-ico { background: var(--accent); border-color: transparent; color: var(--on-accent); }
.tabs-list.board .tab[aria-selected="true"] .pb-t small { color: var(--text-2); }
.tabs-list.board .tab[aria-selected="true"] .pb-arrow { opacity: 1; transform: none; color: var(--accent-2); }
.tabs-list.board .tab-ind {
  left: 0; top: 0; bottom: auto; width: 3px; height: var(--h, 0);
  transform: translateY(var(--y, 0)); background: var(--accent-2); border-radius: 3px;
}
.tabs-list.board .tab-ind.is-ready { transition: transform 300ms var(--ease-out), height 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .tabs-list.board .tab:hover { background: var(--surface-2); color: var(--text); }
  .tabs-list.board .tab:hover .pb-ico { border-color: var(--line-3); }
}
.pb-panel {
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: clamp(20px, 2.4vw, 36px); align-items: stretch;
  padding: clamp(14px, 1.4vw, 20px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface);
  box-shadow: 0 30px 70px -48px rgb(5 14 29 / 0.6);
}
.pb-media {
  position: relative; overflow: hidden; border-radius: 16px; height: 100%;
  min-height: clamp(320px, 32vw, 460px);
  background: var(--surface-2); border: 1px solid var(--line);
}
.pb-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(to top, rgb(4 11 24 / 0.6), rgb(4 11 24 / 0.08) 46%, transparent 70%);
}
.rot-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  opacity: 0; transform: scale(1.05); transition: opacity 900ms var(--ease-out);
}
.rot-img.is-on { opacity: 1; transform: scale(1); transition: opacity 900ms var(--ease-out), transform 6500ms linear; }
.pb-badge {
  position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 13px; border-radius: var(--r-pill); font: 500 12.5px var(--f-mono); color: #eef4ff;
  background: rgb(7 19 42 / 0.74); border: 1px solid rgb(255 255 255 / 0.14); backdrop-filter: blur(8px);
}
.pb-badge .i { width: 16px; height: 16px; color: var(--accent-2); }
.rot-dots { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: flex; align-items: center; gap: 7px; }
.rot-dot {
  width: 24px; height: 5px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.4);
  transition: background-color 240ms ease, width 300ms var(--ease-out);
}
.rot-dot.is-on { width: 40px; background: var(--accent-2); }
@media (hover: hover) and (pointer: fine) { .rot-dot:hover { background: rgb(255 255 255 / 0.75); } }
.pb-copy { display: flex; flex-direction: column; gap: 20px; padding: clamp(4px, 1vw, 14px) clamp(4px, 1vw, 12px); }
.pb-copy-head { display: flex; flex-direction: column; gap: 10px; }
.pb-copy .ref { margin-top: -4px; }
@media (max-width: 1040px) {
  .panelboard { grid-template-columns: minmax(0, 1fr); }
  .pb-rail { flex-direction: row; align-items: center; gap: 10px; padding: 8px; overflow-x: auto; scrollbar-width: none; border-radius: 16px; }
  .pb-rail::-webkit-scrollbar { display: none; }
  .pb-rail-label { display: none; }
  .tabs-list.board { flex-direction: row; width: max-content; }
  .tabs-list.board .tab { width: auto; }
  .tabs-list.board .pb-arrow, .tabs-list.board .tab-ind { display: none; }
  .pb-panel { grid-template-columns: minmax(0, 1fr); }
  .pb-media { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 720px) {
  .tabs-list.board .pb-t small { display: none; }
  .tabs-list.board .pb-ico { width: 38px; height: 38px; border-radius: 10px; }
  .pb-media { min-height: 0; aspect-ratio: 16 / 11; }
  .pb-copy { padding: 4px 6px 8px; }
}

/* ---------- Timeline del proceso: números legibles, fotos grandes, aparición al scroll ---------- */
.step-media {
  width: clamp(96px, 10vw, 132px); height: clamp(96px, 10vw, 132px);
  border-radius: 22px; border-color: var(--line-2);
  box-shadow: 0 20px 44px -26px rgb(5 14 29 / 0.7);
}
.steps-line { top: clamp(48px, 5vw, 66px); left: clamp(48px, 5vw, 66px); right: clamp(48px, 5vw, 66px); }
.steps .step-head .node {
  right: -10px; bottom: -10px; width: 44px; height: 44px; font-size: 13px; font-weight: 600;
  background: var(--accent-2); border-color: transparent; color: var(--accent-2-ink);
  box-shadow: 0 0 0 4px var(--bg), 0 10px 22px -10px rgb(224 123 12 / 0.55);
}
.steps-line::after { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
@keyframes stepIn { from { opacity: 0; transform: translateY(28px) scale(0.97); } }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .steps .step { animation: stepIn linear both; animation-timeline: --steps; }
    .steps .step:nth-child(2) { animation-range: cover 8% cover 22%; }
    .steps .step:nth-child(3) { animation-range: cover 14% cover 28%; }
    .steps .step:nth-child(4) { animation-range: cover 20% cover 34%; }
    .steps .step:nth-child(5) { animation-range: cover 26% cover 40%; }
    .steps .step:nth-child(6) { animation-range: cover 32% cover 46%; }
  }
  @supports not (animation-timeline: view()) {
    html.steps-js .steps .step { opacity: 0; transform: translateY(28px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
    html.steps-js .steps .step.is-in { opacity: 1; transform: none; }
  }
}
@media (max-width: 980px) {
  .step-media { width: 104px; height: 104px; }
  .steps-line { display: none; }
}
#m-wa .btn-primary.star-border { background: rgb(37 211 102 / 0.22); }
#m-wa .star-border .sb-inner { background: linear-gradient(180deg, #2ec765, #16a34a); border-color: rgb(5 46 24 / 0.35); color: var(--wa-ink); }
#m-wa .star-border .sb-inner .i { color: var(--wa-ink); }
#m-wa .star-border .sb-glow { background: radial-gradient(circle, #e4fff0, rgb(37 211 102 / 0.6) 5%, transparent 12%); }
@media (hover: hover) and (pointer: fine) {
  #m-wa .star-border:hover .sb-inner { border-color: rgb(5 46 24 / 0.5); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 0 24px -6px rgb(37 211 102 / 0.7); }
}

/* ---------- Hero a pantalla completa con foto de fondo ---------- */
.hero-full { min-height: 100svh; padding: 0; display: flex; align-items: stretch; }
.hero-full::before { content: none; }
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--navy-950); }
.hero-bg .rot-img { filter: saturate(0.96) contrast(1.05) brightness(1.08); }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgb(4 10 22 / 0.92), rgb(4 10 22 / 0.74) 34%, rgb(4 10 22 / 0.24) 66%, rgb(4 10 22 / 0.4)),
    linear-gradient(180deg, rgb(4 10 22 / 0.86), rgb(4 10 22 / 0.12) 22%, rgb(4 10 22 / 0.16) 48%, rgb(4 10 22 / 0.9));
}
.hero-in {
  position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(32px, 5vh, 56px); padding-block: calc(var(--header-h) + 44px) 28px;
}
.hero-full .hero-copy { max-width: 880px; }
.hero-full .display { font-size: clamp(38px, 5.4vw, 74px); max-width: 100%; text-shadow: 0 2px 28px rgb(2 7 16 / 0.5); }
@media (min-width: 901px) { .hero-full .display .l1, .hero-full .display .l2 { display: block; } }
.hero-full .lead { max-width: 52ch; color: #d4e0f4; }
.hero-full .eyebrow { color: var(--amber-400); }
.hero-bar {
  margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px 24px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.14);
}
.hero-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-cat {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: var(--r-pill);
  border: 1px solid rgb(255 255 255 / 0.16); background: rgb(6 15 31 / 0.52); backdrop-filter: blur(8px);
  font-size: 13.5px; font-weight: 500; color: #dbe6f8; white-space: nowrap;
  transition: background-color 220ms ease, border-color 220ms ease, color 200ms ease, transform 220ms var(--ease-out);
}
.hero-cat .i { width: 16px; height: 16px; color: var(--accent-hi); }
.hero .rot-dots { position: static; flex: none; }
.hero .rot-dot { background: rgb(255 255 255 / 0.32); }
.hero .rot-dot.is-on { background: var(--amber-400); }
@media (hover: hover) and (pointer: fine) {
  .hero-cat:hover { background: rgb(31 86 224 / 0.34); border-color: var(--accent-line); color: #ffffff; transform: translateY(-1px); }
  .hero-cat:hover .i { color: var(--amber-400); }
}
@media (max-width: 900px) {
  .hero-full { min-height: 100svh; }
  .hero-in { padding-block: calc(var(--header-h) + 28px) 22px; gap: 28px; }
  .hero-scrim { background: linear-gradient(180deg, rgb(4 10 22 / 0.92), rgb(4 10 22 / 0.58) 30%, rgb(4 10 22 / 0.72) 62%, rgb(4 10 22 / 0.96)); }
  .hero-full .display { font-size: clamp(34px, 8.6vw, 52px); max-width: 100%; }
  .hero-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
  .hero-cats { flex-wrap: nowrap; width: 100%; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .hero-cats::-webkit-scrollbar { display: none; }
}

/* =========================================================================
   v8 · Footer, FAB con texto circular, pilares y subnav
   ========================================================================= */

/* ---------- Footer ---------- */
.footer { position: relative; }
.footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line), var(--accent-2-line) 60%, transparent);
}
.footer-col .meta { position: relative; padding-bottom: 12px; }
.footer-col .meta::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; border-radius: 2px; background: var(--accent-2); }
.footer-col ul { gap: 4px; }
.footer-col ul li > a {
  display: inline-flex; align-items: center; gap: 10px; padding: 4px 0;
  transition: color 200ms ease, transform 260ms var(--ease-out);
}
.footer-col ul li > a::before {
  content: ""; width: 6px; height: 6px; flex: none; border-radius: 2px; background: var(--line-3);
  transition: background-color 220ms ease, transform 300ms var(--ease-out);
}
.footer-col li .fi {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--surface);
  transition: border-color 220ms ease, background-color 220ms ease, transform 260ms var(--ease-out);
}
.footer-col li .fi .i { margin-top: 0; color: var(--text-2); }
.footer-col li .fi.is-wa { border-color: rgb(37 211 102 / 0.4); background: rgb(37 211 102 / 0.08); }
.footer-col li:has(.fi) { align-items: center; gap: 12px; }
.footer-col li a[href^="mailto"] { position: relative; }
.footer-col li a[href^="mailto"]::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0; background: var(--accent-hi);
  transition: width 260ms var(--ease-out);
}
.social .icon-btn { transition: transform 240ms var(--ease-out), background-color 220ms ease, border-color 220ms ease, color 200ms ease; }
.legal nav a { position: relative; }
.legal nav a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 0; background: var(--accent-2);
  transition: width 260ms var(--ease-out);
}
.to-top {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); color: var(--text-2); font-size: 13.5px;
  transition: border-color 220ms ease, color 200ms ease, background-color 220ms ease, transform 260ms var(--ease-out);
}
.to-top .i { transform: rotate(-90deg); transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .footer-col ul li > a:hover { color: var(--text); transform: translateX(4px); }
  .footer-col ul li > a:hover::before { background: var(--accent-2); transform: rotate(45deg) scale(1.15); }
  .footer-col li:has(.fi):hover .fi { border-color: var(--line-3); transform: translateY(-1px); }
  .footer-col li a[href^="mailto"]:hover { color: var(--text); }
  .footer-col li a[href^="mailto"]:hover::after { width: 100%; }
  .social .icon-btn:hover { background: var(--accent-soft); border-color: var(--accent-line); color: var(--text); transform: translateY(-2px); }
  .legal nav a:hover::after { width: 100%; }
  .to-top:hover { border-color: var(--accent-line); color: var(--text); background: var(--accent-soft); transform: translateY(-2px); }
  .to-top:hover .i { transform: rotate(-90deg) translateX(3px); }
}

/* ---------- Marcas que integramos en marquee ---------- */
.brands-marquee { margin-top: 2px; }
.brands-marquee .marquee-track { gap: 34px; align-items: center; animation-duration: 34s; }
.brands-marquee .brands-dup { display: inline-flex; align-items: center; gap: 34px; }
.brands-marquee .brand { display: inline-flex; align-items: center; }
.brands-marquee img {
  display: block; height: 24px; width: auto; max-width: 104px; object-fit: contain;
  filter: grayscale(1); opacity: 0.68; transition: filter 260ms ease, opacity 260ms ease;
}
.brands-marquee:hover img, .brands-marquee:focus-within img { filter: none; opacity: 1; }

/* ---------- FAB de WhatsApp con texto circular ---------- */
.fab {
  width: 108px; height: 108px; right: 16px; bottom: 16px; border: 0; border-radius: 50%;
  background: transparent; box-shadow: none; place-items: center;
}
.fab[data-open="m-wa"] { background: transparent; border-color: transparent; box-shadow: none; }
.fab-core {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--wa-ink); box-shadow: 0 16px 36px -12px rgb(18 140 126 / 0.75), 0 0 0 1px rgb(5 46 24 / 0.18);
  transition: background-color 220ms ease, transform 300ms var(--ease-out);
}
.fab-core .i { width: 30px; height: 30px; color: var(--wa-ink); }
.fab-ring { position: absolute; inset: 0; display: block; pointer-events: none; }
.fab-ring svg { width: 100%; height: 100%; overflow: visible; animation: fabSpin 18s linear infinite; }
.fab-ring text { font: 600 7.5px var(--f-mono); letter-spacing: 0.1em; fill: #bff3d3; text-transform: uppercase; }
.fab-ring path { fill: none; }
@keyframes fabSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .fab-ring svg { animation: none; } }
@media (hover: hover) and (pointer: fine) {
  .fab[data-open="m-wa"]:hover { background: transparent; }
  .fab:hover .fab-core { background: var(--wa-hi); transform: scale(1.06); }
  .fab:hover .fab-ring text { fill: #eafff2; }
}
@media (max-width: 720px) {
  .fab { width: 84px; height: 84px; right: 10px; bottom: 10px; }
  .fab-core { width: 54px; height: 54px; }
  .fab-core .i { width: 26px; height: 26px; }
  .fab-ring text { font-size: 6.4px; }
}

/* ---------- Tres pilares de las fichas ---------- */
.platforms-in { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr); gap: clamp(24px, 3vw, 56px); padding-block: clamp(22px, 2.6vw, 34px); }
.platforms-lead { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; font-weight: 500; color: var(--text-2); max-width: 36ch; }
.platforms-lead b { color: var(--text); font-weight: 600; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pillar {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px;
  border: 1px solid var(--line); background: var(--surface);
  transition: border-color 220ms ease, transform 260ms var(--ease-out), box-shadow 260ms ease;
}
.pillar .ico {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
  transition: background-color 240ms ease, color 240ms ease, border-color 240ms ease;
}
.pillar .ico .i { width: 23px; height: 23px; }
.pillar .pt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pillar b { font-size: 15.5px; font-weight: 600; font-stretch: 94%; line-height: 1.2; color: var(--text); }
.pillar small { font: 12px var(--f-mono); color: var(--accent-2-text); }
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { border-color: var(--line-3); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgb(5 14 29 / 0.6); }
  .pillar:hover .ico { background: var(--accent); border-color: transparent; color: var(--on-accent); }
}
@media (max-width: 1040px) {
  .platforms-in { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .pillars { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
}

/* ---------- Subnav compacto y centrado ---------- */
.subnav-in {
  width: max-content; max-width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto;
  gap: 0; padding: 4px; box-shadow: 0 14px 34px -20px rgb(3 10 25 / 0.85);
}
.subnav-links { margin-right: 0; max-width: 100%; }
.subnav-links a { padding: 8px 13px; font-size: 13.5px; }

/* ---------- Titular de proyectos en texto plano ---------- */
.projects-title {
  margin: 0; color: #ffffff; font-weight: 700; font-stretch: 100%;
  font-size: clamp(36px, 4.8vw, 66px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance;
}
