/* ==========================================================================
   Cyttek Group · sitio web (diseño 2026)
   HTML5 + CSS + JavaScript sin dependencias externas. Funciona en localhost y
   abriendo los archivos directamente (file://). Fuentes, iconos, imágenes y
   videos están en la carpeta assets/.
   Tipografía: Instrument Sans (SIL Open Font License 1.1).
   Iconos: Font Awesome Free 6 (CC BY 4.0), incrustados como SVG en cada página.
   ========================================================================== */

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    font-stretch: 75% 100%;
    src: url('../fonts/instrument-sans-latin-wdth-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Instrument Sans';
    font-style: normal;
    font-display: swap;
    font-weight: 400 700;
    font-stretch: 75% 100%;
    src: url('../fonts/instrument-sans-latin-ext-wdth-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ------------------------------------------------------------------ Tokens
   night / night-2 / night-3: fondos oscuros (azul Cyttek llevado casi a negro)
   electric: acción principal sobre fondo oscuro (texto blanco 5.6:1)
   signal: color de acento sobre oscuro; cada producto define el suyo
   ------------------------------------------------------------------------ */
:root {
    --night: #060918;
    --night-2: #0a0f2c;
    --night-3: #111843;
    --navy: #000080;
    --electric: #3d5afe;
    --ice: #eef1ff;
    --haze: #a8b1db;
    --edge: rgba(142, 162, 255, 0.2);
    --grid: rgba(142, 162, 255, 0.07);

    --paper: #f4f6fc;
    --white: #ffffff;
    --ink: #0b0f2e;
    --slate: #4a5174;
    --line: #dde2f2;

    /* Producto (Cyttek por defecto) */
    --p: #8ea2ff;
    --p-strong: #2f45d6;
    --p-glow: rgba(61, 90, 254, 0.38);
    --p-tint: #eceffe;

    --font: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --wrap: 1240px;
    --gut: 28px;
    --r-s: 6px;
    --r-m: 14px;
    --header-h: 76px;
    --sec: 112px;
}

body.p-atx     { --p: #ff4057; --p-strong: #c00a20; --p-glow: rgba(255, 64, 87, 0.34); --p-tint: #fdecee; }
body.p-xfsa    { --p: #45b4f0; --p-strong: #1b6a9c; --p-glow: rgba(69, 180, 240, 0.34); --p-tint: #e9f4fb; }
body.p-gen3    { --p: #22d08a; --p-strong: #00784a; --p-glow: rgba(34, 208, 138, 0.3); --p-tint: #e5f6ee; }
body.p-ebrax   { --p: #4c95ff; --p-strong: #0753b8; --p-glow: rgba(76, 149, 255, 0.36); --p-tint: #e8f0fd; }
body.p-entrust { --p: #f05dbf; --p-strong: #9b1170; --p-glow: rgba(240, 93, 191, 0.32); --p-tint: #fae8f4; }
body.p-dcc     { --p: #3ddc97; --p-strong: #0f7a55; --p-glow: rgba(61, 220, 151, 0.3); --p-tint: #e5f8ef; }

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
    background: var(--night);
}
html:has(body.has-subnav) { scroll-padding-top: calc(var(--header-h) + 76px); }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.5rem + 4.2vw, 4.9rem); line-height: 0.98; font-stretch: 78%; }
h2 { font-size: clamp(2rem, 1.4rem + 2.3vw, 3.1rem); line-height: 1.04; font-stretch: 80%; }
h3 { font-size: 1.375rem; line-height: 1.2; font-stretch: 88%; }
p { text-wrap: pretty; }

a { color: var(--p-strong); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--p); outline-offset: 3px; border-radius: 2px; }

.icon { width: 1em; height: 1em; fill: currentColor; flex: none; vertical-align: -0.125em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -120px; z-index: 300; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r-s); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem); line-height: 1.5; max-width: 58ch; }

/* Esquinas de visor: detalle técnico para paneles destacados */
.ticks { position: relative; }
.ticks::before, .ticks::after {
    content: ""; position: absolute; width: 18px; height: 18px; pointer-events: none;
    border-color: var(--p); border-style: solid; opacity: 0.9;
}
.ticks::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 4px; }
.ticks::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 4px; }

/* ------------------------------------------------------------------ Botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    min-height: 50px; padding: 0 26px; border-radius: var(--r-s); border: 1.5px solid transparent;
    font: 600 1rem/1.2 var(--font); text-decoration: none; text-align: center; cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn .icon { font-size: 0.95em; }
.btn-primary { background: var(--electric); color: var(--white); box-shadow: 0 0 0 0 var(--p-glow); }
.btn-primary:hover { background: #2a47f0; box-shadow: 0 8px 28px -6px rgba(61, 90, 254, 0.65); }
.btn-ghost { border-color: rgba(238, 241, 255, 0.45); color: var(--ice); background: transparent; }
.btn-ghost:hover { border-color: var(--ice); background: rgba(238, 241, 255, 0.08); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--p-strong); }
.btn-outline { border-color: var(--p-strong); color: var(--p-strong); background: transparent; }
.btn-outline:hover { background: var(--p-tint); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------------------ Encabezado (oscuro) */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(6, 9, 24, 0.86); color: var(--ice);
    border-bottom: 1px solid var(--edge);
    backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3);
}
.header-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 34px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.main-nav > a, .drop > summary {
    display: flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: var(--r-s);
    color: var(--ice); font-weight: 500; font-size: 0.98rem; text-decoration: none; cursor: pointer;
    list-style: none; white-space: nowrap;
}
.drop > summary::-webkit-details-marker { display: none; }
.main-nav > a:hover, .drop > summary:hover, .drop[open] > summary { background: rgba(142, 162, 255, 0.12); }
.main-nav > a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--electric); border-radius: 0; }
.drop > summary .icon { font-size: 0.7em; opacity: 0.8; transition: transform 0.2s; }
.drop[open] > summary .icon { transform: rotate(180deg); }
.drop { position: relative; }
.drop-panel {
    position: absolute; top: calc(100% + 12px); left: 0; z-index: 10; min-width: 340px; padding: 10px;
    background: var(--night-2); border: 1px solid var(--edge); border-radius: var(--r-m);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); list-style: none;
}
.drop-panel a {
    display: grid; grid-template-columns: 10px 1fr; column-gap: 14px; align-items: baseline;
    padding: 11px 12px; border-radius: var(--r-s); color: var(--ice); text-decoration: none;
}
.drop-panel a:hover { background: rgba(142, 162, 255, 0.1); }
.drop-panel .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--c, var(--electric)); box-shadow: 0 0 10px var(--c, var(--electric)); }
.drop-panel strong { font-weight: 600; }
.drop-panel small { grid-column: 2; color: var(--haze); font-size: 0.875rem; line-height: 1.4; }
.header-actions { display: flex; align-items: center; gap: 16px; flex: none; }
.lang-link { color: var(--ice); font-weight: 500; font-size: 0.95rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.lang-link:hover { color: var(--white); text-decoration: underline; }
.menu-btn {
    display: none; width: 46px; height: 46px; align-items: center; justify-content: center;
    border: 1px solid var(--edge); border-radius: var(--r-s); background: transparent; color: var(--ice); font-size: 20px; cursor: pointer;
}

/* ------------------------------------------------------------------ Subnavegación de producto */
.subnav { position: sticky; top: var(--header-h); z-index: 90; background: var(--night-2); color: var(--ice); border-bottom: 2px solid var(--p); }
.subnav-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.chip { display: inline-flex; align-items: center; background: var(--white); border-radius: 8px; padding: 7px 12px; flex: none; }
.chip img { height: 30px; width: auto; }
.subnav nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.subnav nav::-webkit-scrollbar { display: none; }
.subnav nav a { padding: 8px 13px; border-radius: var(--r-s); white-space: nowrap; color: var(--haze); font-weight: 500; font-size: 0.95rem; text-decoration: none; }
.subnav nav a:hover { color: var(--white); background: rgba(142, 162, 255, 0.1); }
.subnav nav a.active { color: var(--night); background: var(--p); }

/* ------------------------------------------------------------------ Secciones */
.sec { padding: var(--sec) 0; }
.sec-paper { background: var(--paper); }
.sec-dark {
    background-color: var(--night); color: var(--ice);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 64px 64px; background-position: center top;
}
.sec-dark a { color: var(--white); }
.sec-head { max-width: 780px; margin-bottom: 56px; }
.sec-head p { margin-top: 20px; color: var(--slate); font-size: 1.15rem; }
.sec-dark .sec-head p { color: var(--haze); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ------------------------------------------------------------------ Portada del inicio */
.h-hero { position: relative; overflow: hidden; background: var(--night); color: var(--ice); isolation: isolate; }
.h-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; z-index: -2; }
.h-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(55% 60% at 78% 38%, rgba(61, 90, 254, 0.32), transparent 70%),
        linear-gradient(90deg, rgba(6, 9, 24, 0.96) 0%, rgba(6, 9, 24, 0.78) 45%, rgba(6, 9, 24, 0.45) 100%),
        linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
}
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: 88px; padding-bottom: 40px; }
.h-hero h1 { max-width: 16ch; color: var(--white); }
.h-hero .lead { margin-top: 28px; color: var(--haze); }
.h-hero .actions { margin-top: 38px; }

/* Esquema del cajero (SVG) */
.atm { width: 100%; height: auto; overflow: visible; }
.atm .body { fill: rgba(17, 24, 67, 0.55); stroke: #6e86ff; stroke-width: 1.6; }
.atm .ln { fill: none; stroke: #6e86ff; stroke-width: 1.4; }
.atm .soft { fill: none; stroke: rgba(142, 162, 255, 0.45); stroke-width: 1.2; stroke-dasharray: 4 5; }
.atm .screen { fill: rgba(61, 90, 254, 0.16); stroke: #8ea2ff; stroke-width: 1.4; }
.atm .key { fill: rgba(142, 162, 255, 0.1); stroke: rgba(142, 162, 255, 0.55); stroke-width: 1; }
.atm .lbl { fill: var(--ice); font: 600 18px/1 var(--font); font-stretch: 85%; }
.atm .prd { font: 500 15px/1 var(--font); }
.atm .lead-ln { fill: none; stroke-width: 1.2; stroke-dasharray: 3 4; }
.atm .dot { transform-box: fill-box; transform-origin: center; }
.atm .halo { transform-box: fill-box; transform-origin: center; opacity: 0; }
.atm .scan { fill: url(#scan-grad); }
@keyframes atm-halo { 0%, 100% { opacity: 0; transform: scale(0.6); } 8% { opacity: 0.9; } 20% { opacity: 0; transform: scale(2.6); } }
@keyframes atm-lbl { 0%, 100% { opacity: 0.55; } 6%, 18% { opacity: 1; } 24% { opacity: 0.55; } }
@keyframes atm-scan { 0% { transform: translateY(0); } 100% { transform: translateY(470px); } }
.atm .co .halo { animation: atm-halo 10s infinite; animation-delay: var(--d); }
.atm .co .txt { animation: atm-lbl 10s infinite; animation-delay: var(--d); }
.atm .scan-g { animation: atm-scan 5s cubic-bezier(0.45, 0, 0.55, 1) infinite alternate; }

.proof {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--edge); margin-top: 32px; padding: 30px 0 48px;
}
.proof div { padding-right: 24px; }
.proof div + div { padding-left: 24px; border-left: 1px solid var(--edge); }
.proof dt { font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1; font-weight: 600; font-stretch: 75%; color: var(--white); font-variant-numeric: tabular-nums; }
.proof dt span { color: var(--p); }
.proof dd { margin-top: 10px; color: var(--haze); font-size: 0.98rem; line-height: 1.4; max-width: 24ch; }

/* ------------------------------------------------------------------ El cajero, capa por capa */
.lx { list-style: none; }
.lx-item { border-top: 1px solid var(--edge); padding: 22px 0; }
.lx-tab { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; width: 100%; background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; }
.lx-name { font-weight: 600; font-stretch: 85%; font-size: 1.4rem; color: var(--white); }
.lx-prod { color: var(--haze); font-size: 0.95rem; }
.lx-panel { margin-top: 12px; max-width: 62ch; }
.lx-threat { color: var(--haze); }
.lx-threat strong { color: var(--white); font-weight: 600; }
.lx-panel h3, .lx-panel .chip { display: none; }
.lx-panel p + p { margin-top: 12px; }
.lx-panel p { color: var(--haze); }
.lx-panel .lx-link { margin-top: 18px; }

.js .lx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 64px; row-gap: 10px; align-items: start; }
.js .lx-item { display: contents; }
.js .lx-tab {
    grid-column: 1; position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
    min-height: 78px; padding: 14px 22px 14px 28px; cursor: pointer;
    background: rgba(17, 24, 67, 0.55); border: 1px solid var(--edge); border-radius: var(--r-s);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), background-color 0.2s, border-color 0.2s, box-shadow 0.3s;
}
.js .lx-tab::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 4px; border-radius: 0 3px 3px 0; background: var(--c); box-shadow: 0 0 14px var(--c); }
.js .lx-tab:hover { border-color: rgba(142, 162, 255, 0.45); }
.js .lx-tab[aria-selected="true"] { background: var(--night-3); border-color: var(--c); transform: translateX(26px); box-shadow: 0 0 0 1px var(--c), 0 20px 40px -20px var(--c); }
.js .lx-tab[aria-selected="true"] .lx-prod { color: var(--white); }
.js .lx-panel { grid-column: 2; grid-row: 1 / span 5; margin: 0; max-width: none; min-height: 100%; padding: 44px; background: var(--night-2); border: 1px solid var(--edge); border-radius: var(--r-m); --p: var(--c); }
.js .lx-panel[hidden] { display: none; }
.js .lx-panel .chip { display: inline-flex; margin-bottom: 22px; }
.js .lx-panel h3 { display: block; font-size: 2rem; margin: 4px 0 16px; color: var(--white); }
.lx-caption { margin-top: 28px; color: var(--haze); font-size: 0.98rem; }

/* ------------------------------------------------------------------ Soluciones (mosaico) */
.bento { list-style: none; display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile {
    position: relative; display: flex; flex-direction: column; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--r-m); overflow: hidden;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.tile::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); z-index: 1; }
.tile:hover { border-color: var(--c); box-shadow: 0 24px 48px -28px var(--c); transform: translateY(-2px); }
.tile-img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--night); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.tile:hover .tile-img img { transform: scale(1.03); }
.tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tile-need { color: var(--c); font-weight: 600; font-size: 0.95rem; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.tile h3 a:focus-visible { outline: none; }
.tile:has(h3 a:focus-visible) { outline: 3px solid var(--c); outline-offset: 3px; }
.tile p { color: var(--slate); }
.tile-more { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--c); display: inline-flex; align-items: center; gap: 8px; }
.tile-partner { font-size: 0.875rem; color: var(--slate); }
.tile-xl { grid-column: span 2; grid-row: span 2; }
.tile-xl .tile-img { aspect-ratio: auto; flex: 1; min-height: 320px; }
.tile-xl h3 { font-size: 2rem; }
.tile-xl .tile-body { flex: none; padding: 28px 32px 32px; }

/* ------------------------------------------------------------------ Servicios (inicio) */
.svc-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.svc img { width: 156px; height: 156px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--p-tint); }
.svc h3 { margin-top: 26px; }
.svc p { margin-top: 10px; color: var(--slate); }
.svc a.more { display: inline-flex; gap: 8px; align-items: center; margin-top: 14px; font-weight: 600; }

/* ------------------------------------------------------------------ Por qué Cyttek */
.why { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.why-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }
.why-fig { padding: 10px; border: 1px solid var(--edge); border-radius: calc(var(--r-m) + 8px); }
.why dl { display: grid; gap: 26px; margin-top: 36px; }
.why dl div { padding-left: 20px; border-left: 2px solid var(--electric); }
.why dt { font-weight: 600; font-stretch: 88%; font-size: 1.3rem; color: var(--white); }
.why dd { margin-top: 6px; color: var(--haze); }

/* ------------------------------------------------------------------ Contacto (banda común) */
.contact { position: relative; overflow: hidden; color: var(--ice); padding: 104px 0; background: var(--night-2); isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, var(--p-glow), transparent 70%), radial-gradient(50% 80% at 0% 100%, rgba(0, 0, 128, 0.55), transparent 70%); }
.contact a { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact h2 { color: var(--white); }
.contact p.lead { margin-top: 20px; color: var(--haze); }
.contact .actions { margin-top: 34px; }
.contact-note { margin-top: 16px; font-size: 0.95rem; color: var(--haze); }
.offices { list-style: none; display: grid; gap: 22px; padding: 28px; border: 1px solid var(--edge); border-radius: var(--r-m); background: rgba(6, 9, 24, 0.45); }
.offices li { display: grid; grid-template-columns: 22px 1fr; gap: 2px 12px; }
.offices .icon { color: var(--p); margin-top: 5px; }
.offices strong { display: block; font-weight: 600; color: var(--white); }
.offices span { color: var(--haze); font-size: 0.98rem; }

/* ------------------------------------------------------------------ Pie */
.site-footer { background: var(--night); color: var(--haze); padding: 72px 0 32px; font-size: 0.98rem; border-top: 1px solid var(--edge); }
.site-footer a { color: var(--ice); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { height: 34px; width: auto; }
.footer-brand p { margin-top: 18px; max-width: 30ch; }
.site-footer h2 { font-size: 1rem; font-stretch: 100%; font-weight: 600; color: var(--white); letter-spacing: 0; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--edge); font-size: 0.9rem; }

/* ------------------------------------------------------------------ Portada de producto y servicio */
.p-hero { position: relative; overflow: hidden; color: var(--ice); background: var(--night); isolation: isolate; }
.p-hero-media { position: absolute; inset: 0; z-index: -2; }
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); opacity: 0.22; }
.p-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(50% 75% at 82% 30%, var(--p-glow), transparent 72%),
        linear-gradient(90deg, rgba(6, 9, 24, 0.97) 0%, rgba(6, 9, 24, 0.82) 50%, rgba(6, 9, 24, 0.55) 100%),
        linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: auto, auto, 64px 64px, 64px 64px;
}
.p-hero-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-top: 76px; padding-bottom: 88px; }
.crumbs { font-size: 0.93rem; color: var(--haze); margin-bottom: 30px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.55; }
.crumbs a { color: var(--ice); }
.p-partner { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--edge); background: rgba(142, 162, 255, 0.08); font-size: 0.9rem; font-weight: 500; color: var(--ice); }
.p-partner::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--p); box-shadow: 0 0 10px var(--p); }
.p-hero h1 { color: var(--white); font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.3rem); }
.p-hero .lead { margin-top: 26px; color: var(--haze); }
.p-hero .actions { margin-top: 36px; }
.p-facts { list-style: none; padding: 10px 28px; background: rgba(10, 15, 44, 0.72); border: 1px solid var(--edge); border-radius: var(--r-m); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.p-facts li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; padding: 18px 0; font-size: 1.02rem; line-height: 1.45; color: var(--ice); }
.p-facts li + li { border-top: 1px solid var(--edge); }
.p-facts .icon { font-size: 1.25rem; color: var(--p); margin-top: 2px; }
.svc-hero-img { width: 100%; max-width: 340px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; justify-self: end; box-shadow: 0 0 0 1px var(--edge), 0 0 0 12px rgba(142, 162, 255, 0.06), 0 0 80px -10px var(--p-glow); }

/* ------------------------------------------------------------------ Visión general */
.ov { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.ov-copy p { margin-top: 20px; color: var(--slate); }
.ov-copy p.ov-note { padding-left: 16px; border-left: 3px solid var(--p-strong); color: var(--ink); }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--night); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 15, 46, 0.55); }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; display: block; color: var(--white); }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 9, 24, 0.1) 40%, rgba(6, 9, 24, 0.8)); }
.yt-play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--electric); font-size: 28px; box-shadow: 0 0 0 10px rgba(61, 90, 254, 0.25), 0 12px 30px rgba(0, 0, 0, 0.4); transition: transform 0.2s; }
.yt-play .icon { margin-left: 5px; }
.yt:hover .yt-play, .yt:focus-visible .yt-play { transform: translate(-50%, -50%) scale(1.07); }
.yt-label { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; font-weight: 600; font-size: 1.05rem; }
.player-note { margin-top: 12px; font-size: 0.9rem; color: var(--slate); }
.plist { list-style: none; margin-top: 16px; display: grid; gap: 6px; }
.plist a { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; padding: 8px; border-radius: var(--r-s); color: var(--ink); text-decoration: none; border: 1px solid transparent; }
.plist a:hover { background: var(--paper); }
.plist a[aria-current="true"] { background: var(--p-tint); border-color: color-mix(in srgb, var(--p-strong) 35%, transparent); }
.plist img { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; }
.plist span { font-weight: 600; font-size: 0.98rem; line-height: 1.3; }
.plist small { display: block; font-weight: 400; color: var(--slate); font-size: 0.85rem; margin-top: 2px; }

/* Pantalla ilustrativa de DCC */
.screen-mock { background: var(--night); border-radius: var(--r-m); padding: 22px; color: var(--ice); box-shadow: 0 30px 60px -30px rgba(11, 15, 46, 0.6); }
.screen-mock .scr { border: 1px solid var(--edge); border-radius: 10px; padding: 26px; background: linear-gradient(180deg, var(--night-3), var(--night-2)); }
.screen-mock .scr-top { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--haze); }
.screen-mock h3 { margin-top: 18px; color: var(--white); font-size: 1.5rem; }
.screen-mock .opts { display: grid; gap: 12px; margin-top: 20px; list-style: none; }
.screen-mock .opt { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 8px; border: 1px solid var(--edge); }
.screen-mock .opt.sel { border-color: var(--p); box-shadow: 0 0 0 1px var(--p), 0 0 30px -8px var(--p); }
.screen-mock .opt strong { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--white); }
.screen-mock .opt span { color: var(--haze); font-size: 0.92rem; }
.screen-mock .rate { margin-top: 16px; font-size: 0.88rem; color: var(--haze); }
.screen-mock figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--haze); }

/* ------------------------------------------------------------------ Capacidades */
.caps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.caps li { padding: 30px 26px; border: 1px solid var(--edge); border-radius: var(--r-m); background: rgba(10, 15, 44, 0.65); transition: border-color 0.25s, box-shadow 0.25s; }
.caps li:hover { border-color: var(--p); box-shadow: 0 0 0 1px var(--p), 0 24px 40px -28px var(--p); }
.caps.n3, .caps.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.caps.n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.caps.n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.caps .icon { font-size: 1.6rem; color: var(--p); }
.caps h3 { margin-top: 18px; color: var(--white); }
.caps p { margin-top: 10px; color: var(--haze); font-size: 1rem; }

/* ------------------------------------------------------------------ Módulos */
.mod { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 80px; align-items: center; }
.mod.flip .mod-copy { order: 2; }
.mod-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--p-tint); color: var(--p-strong); font-size: 1.4rem; }
.mod h2 { margin-top: 22px; }
.mod-sub { margin-top: 12px; font-weight: 600; color: var(--p-strong); font-size: 1.1rem; }
.mod-desc { margin-top: 18px; color: var(--slate); }
.checks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
    content: ""; position: absolute; left: 0; top: 0.22em; width: 20px; height: 20px; border-radius: 50%;
    background: var(--p-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23fff' d='M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.mod-more { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; font-weight: 600; }
.mod-fig { position: relative; background: var(--p-tint); border-radius: var(--r-m); padding: 44px; display: grid; place-items: center; min-height: 340px; }
.sec-paper .mod-fig { background: var(--white); }
.mod-fig img { max-height: 380px; width: auto; }
.mod-fig.is-small img { max-height: 240px; }

/* ------------------------------------------------------------------ Arquitectura */
.arch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.arch.single { grid-template-columns: minmax(0, 780px); }
.stack { list-style: none; display: grid; gap: 10px; }
.stack li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-radius: var(--r-s); border: 1px solid var(--edge); background: rgba(10, 15, 44, 0.7); }
.stack strong { font-weight: 600; color: var(--white); }
.stack span { color: var(--haze); font-size: 0.95rem; text-align: right; }
.stack li.is-brand { border-color: var(--p); box-shadow: 0 0 0 1px var(--p), 0 0 40px -12px var(--p); background: var(--night-3); }
.stack li.is-brand span { color: var(--ice); }
.spec-title { font-size: 1.3rem; margin-bottom: 12px; color: var(--white); }
.spec { border-top: 1px solid var(--edge); }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--edge); }
.spec dt { font-weight: 600; color: var(--white); }
.spec dd { color: var(--haze); }
.arch-fig { background: var(--white); border-radius: var(--r-m); padding: 28px; }
.arch-fig img { margin: 0 auto; max-height: 320px; width: auto; }

/* ------------------------------------------------------------------ Beneficios */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefits li { padding: 4px 28px 4px 0; }
.benefits li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.benefits .icon { font-size: 1.7rem; color: var(--p-strong); }
.benefits h3 { margin-top: 18px; font-size: 1.3rem; }
.benefits p { margin-top: 10px; color: var(--slate); font-size: 1rem; }

/* Rejilla de segmentos y canales (Open DCC) */
.seg { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.seg li { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--white); }
.seg .icon { font-size: 1.4rem; color: var(--p-strong); }
.seg h3 { margin-top: 14px; font-size: 1.2rem; }
.seg p { margin-top: 8px; color: var(--slate); font-size: 0.98rem; }
.channels { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.channels li { padding: 32px 28px; border-radius: var(--r-m); background: var(--paper); border-top: 3px solid var(--p-strong); }
.channels .icon { font-size: 1.8rem; color: var(--p-strong); }
.channels h3 { margin-top: 18px; }
.channels p { margin-top: 10px; color: var(--slate); }

/* Preguntas frecuentes */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-weight: 600; font-size: 1.1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--p-strong); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--slate); max-width: 72ch; }

/* ------------------------------------------------------------------ Relacionados */
.related { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.related .tile-body h3 { font-size: 1.25rem; }

/* ------------------------------------------------------------------ Servicios (página) */
.incl { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.incl li { display: grid; grid-template-columns: 44px 1fr; gap: 4px 16px; padding: 26px 0; border-top: 1px solid var(--line); }
.incl .ic { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--p-tint); color: var(--p-strong); font-size: 1.15rem; }
.incl h3 { font-size: 1.2rem; }
.incl p { color: var(--slate); font-size: 1rem; }
.reasons { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.reasons h3 { font-size: 1.35rem; padding-top: 20px; border-top: 2px solid var(--electric); color: var(--white); }
.reasons p { margin-top: 10px; color: var(--haze); }

/* ------------------------------------------------------------------ Documento legal y error */
.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); font-size: 0.95rem; }
.legal-toc h2 { font-size: 1rem; font-stretch: 100%; margin-bottom: 12px; letter-spacing: 0; }
.legal-toc ol { padding-left: 1.2em; display: grid; gap: 6px; }
.legal-toc a { color: var(--slate); text-decoration: none; }
.legal-toc a:hover { color: var(--p-strong); text-decoration: underline; }
.legal-body { max-width: 72ch; }
.legal-body h2 { font-size: 1.8rem; margin: 48px 0 14px; }
.legal-body h3 { font-size: 1.2rem; margin: 24px 0 8px; }
.legal-body p, .legal-body ul { margin-top: 12px; }
.legal-body ul { padding-left: 1.3em; display: grid; gap: 6px; }
.legal-note { padding: 14px 18px; background: var(--paper); border-radius: var(--r-s); }
.legal-updated { color: var(--slate); font-size: 0.95rem; }
.notfound { min-height: 70vh; display: flex; align-items: center; }
.notfound p { margin-top: 18px; max-width: 56ch; color: var(--haze); }
.notfound h1 { color: var(--white); }
.notfound .actions { margin-top: 30px; }
.notfound .other { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--edge); }
.notfound .other h2 { font-size: 1.8rem; color: var(--white); }

/* ------------------------------------------------------------------ Adaptación a pantallas */
@media (max-width: 1140px) {
    .menu-btn { display: inline-flex; }
    .header-actions .btn { display: none; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 12px var(--gut) 24px; background: var(--night-2); border-bottom: 1px solid var(--edge);
        box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.7); max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .js .main-nav:not(.open) { display: none; }
    .no-js .main-nav, .no-js .menu-btn { display: none; }
    .main-nav > a, .drop > summary { padding: 14px 12px; font-size: 1.05rem; }
    .drop-panel { position: static; box-shadow: none; border: 0; padding: 0 0 8px 8px; min-width: 0; background: transparent; }
    .header-actions { margin-left: auto; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile-xl { grid-column: span 2; grid-row: auto; }
    .tile-xl .tile-img { aspect-ratio: 16 / 8; flex: none; min-height: 0; }
    .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
    .benefits li:nth-child(3) { padding-left: 0; border-left: 0; }
    .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .caps.n4, .caps.n5, .caps.n6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    :root { --sec: 76px; --header-h: 66px; }
    .h-hero-grid, .p-hero-grid, .ov, .mod, .why, .contact-grid, .arch, .legal { grid-template-columns: minmax(0, 1fr); gap: 44px; }
    .h-hero-grid { padding-top: 56px; }
    .js .lx { display: block; }
    .js .lx-item { display: block; margin-bottom: 10px; border-top: 0; padding: 0; }
    .atm-wrap { max-width: 440px; margin: 0 auto; }
    .js .lx-tab[aria-selected="true"] { transform: none; }
    .js .lx-panel { padding: 26px; margin-top: 8px; min-height: 0; }
    .mod.flip .mod-copy { order: 0; }
    .mod-fig { min-height: 0; padding: 28px; }
    .svc-grid, .reasons, .related, .channels { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .incl { grid-template-columns: minmax(0, 1fr); }
    .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
    .proof div:nth-child(3) { padding-left: 0; border-left: 0; }
    .svc-hero-img { justify-self: start; max-width: 220px; }
    .legal-toc { position: static; }
    .subnav { position: static; }
    .subnav-in { flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; padding-bottom: 8px; }
    .subnav nav { margin-left: 0; width: 100%; }
    html:has(body.has-subnav) { scroll-padding-top: calc(var(--header-h) + 16px); }
}

@media (max-width: 580px) {
    :root { --gut: 20px; }
    .brand img { height: 28px; }
    .bento, .seg, .caps.n3, .caps.n4, .caps.n5, .caps.n6 { grid-template-columns: minmax(0, 1fr); }
    .tile-xl { grid-column: auto; }
    .tile-xl .tile-img { aspect-ratio: 3 / 2; }
    .tile-xl h3 { font-size: 1.5rem; }
    .benefits { grid-template-columns: minmax(0, 1fr); }
    .benefits li, .benefits li + li { padding: 0; border-left: 0; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .actions .btn { width: 100%; }
    .stack li { flex-direction: column; align-items: flex-start; gap: 4px; }
    .stack span { text-align: left; }
    .spec div { grid-template-columns: 1fr; gap: 4px; }
    .plist a { grid-template-columns: 96px 1fr; }
    .plist img { width: 96px; }
    .p-facts { padding: 6px 20px; }
    .lang-link span.long { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
    .atm .co .txt { opacity: 1; }
    .atm .scan-g { display: none; }
}

@media print {
    .site-header, .subnav, .h-hero-video, .p-hero-media, .menu-btn, .atm-wrap { display: none !important; }
    .h-hero, .p-hero, .sec-dark, .contact, .site-footer { background: none !important; color: #000 !important; }
    .h-hero *, .p-hero *, .sec-dark *, .contact * { color: #000 !important; }
}

/* Aviso que solo aparece al abrir el sitio como archivo (file://) */
.file-note { display: none; }
.is-file .file-note { display: inline; }

/* ==========================================================================
   Reinstalación remota con ATX v7 (paso a paso, caso real y comparación)
   ========================================================================== */
.rr-sub { font-size: 1.05rem; font-stretch: 100%; font-weight: 600; letter-spacing: 0; color: var(--slate); margin-bottom: 20px; }
.rr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.rr-steps { list-style: none; counter-reset: rr; }
.rr-steps li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 26px; counter-increment: rr; }
.rr-steps li::before {
    content: counter(rr); grid-row: span 2; position: relative; z-index: 1;
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    background: var(--p-strong); color: var(--white); font-weight: 600; font-size: 1.1rem;
}
.rr-steps li::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: color-mix(in srgb, var(--p-strong) 28%, transparent); }
.rr-steps li:last-child { padding-bottom: 0; }
.rr-steps li:last-child::after { display: none; }
.rr-steps .rr-ic { display: none; }
.rr-steps h3 { font-size: 1.25rem; padding-top: 11px; }
.rr-steps p { margin-top: 6px; color: var(--slate); }
.rr-example-text { margin-top: 14px; color: var(--slate); }
.rr-compare { margin-top: 80px; padding: 36px 40px; border-radius: var(--r-m); background: var(--paper); }
.rr-track { display: grid; grid-template-columns: 130px minmax(0, 1fr); column-gap: 24px; row-gap: 10px; align-items: center; padding: 20px 0; }
.rr-track + .rr-track { border-top: 1px solid var(--line); }
.rr-track-label { grid-row: span 2; font-weight: 600; font-size: 1.15rem; }
.rr-stages { list-style: none; display: flex; }
.rr-stages li {
    flex: 1; position: relative; margin-right: 16px; padding: 10px 10px; border-radius: 6px;
    background: var(--white); border: 1px solid var(--line); font-size: 0.92rem; font-weight: 500; text-align: center; line-height: 1.3;
}
.rr-stages li::after { content: ""; position: absolute; right: -17px; top: 50%; width: 16px; height: 2px; background: #c3c9de; }
.rr-stages li:last-child { margin-right: 0; }
.rr-stages li:last-child::after { display: none; }
.is-slow .rr-stages li:nth-child(3), .is-slow .rr-stages li:nth-child(4) { background: #fff4e5; border-color: #efc285; color: #6b4105; }
.is-fast .rr-stages { width: 72%; }
.is-fast .rr-stages li { background: var(--p-strong); border-color: var(--p-strong); color: var(--white); }
.is-fast .rr-stages li::after { background: var(--p-strong); }
.rr-track-note { grid-column: 2; color: var(--slate); font-size: 0.98rem; }
.is-fast .rr-track-note { color: var(--p-strong); font-weight: 600; }
.rr-foot { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.rr-benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; flex: 1; max-width: 840px; }
.rr-benefits li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.rr-benefits .icon { font-size: 1.6rem; color: var(--p-strong); margin-top: 3px; }
.rr-benefits h3 { font-size: 1.25rem; }
.rr-benefits p { margin-top: 4px; color: var(--slate); }

@media (max-width: 900px) {
    .rr-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .rr-compare { padding: 28px 22px; margin-top: 56px; }
    .rr-track { grid-template-columns: minmax(0, 1fr); }
    .rr-track-label { grid-row: auto; }
    .rr-track-note { grid-column: 1; }
    .rr-stages { flex-wrap: wrap; gap: 8px; }
    .rr-stages li { flex: 0 1 auto; margin-right: 0; }
    .rr-stages li::after { display: none; }
    .is-fast .rr-stages { width: auto; }
    .rr-benefits { grid-template-columns: minmax(0, 1fr); }
    .rr-foot { flex-direction: column; align-items: stretch; }
    .rr-foot .btn { align-self: flex-start; }
}

/* ==========================================================================
   ATM como servicio (ATMaaS)
   ========================================================================== */
/* Tarjeta destacada en la sección de servicios del inicio */
.svc-feature {
    display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); margin-bottom: 64px; overflow: hidden;
    border-radius: var(--r-m); color: var(--ice); background-color: var(--night-2);
    background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
    background-size: 48px 48px; box-shadow: 0 30px 60px -36px rgba(11, 15, 46, 0.7);
}
.svc-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.svc-feature-body { padding: 44px 48px; }
.svc-feature-label { color: var(--p); font-weight: 600; }
.svc-feature h3 { margin-top: 8px; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.4rem); font-stretch: 80%; color: var(--white); }
.svc-feature p:not(.svc-feature-label) { margin-top: 14px; color: var(--haze); }
.aas-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.aas-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--edge); border-radius: 999px; font-size: 0.92rem; color: var(--ice); background: rgba(142, 162, 255, 0.07); }
.aas-chips .icon { color: var(--p); }

/* Enlaces a productos dentro de una capa */
.pchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 12px; font-size: 0.88rem; }
.pchips span { color: inherit; opacity: 0.8; margin-right: 2px; }
.pchip { padding: 3px 10px; border-radius: 999px; border: 1px solid var(--c); color: var(--white) !important; text-decoration: none; font-weight: 500; background: color-mix(in srgb, var(--c) 18%, transparent); }
.pchip:hover { background: color-mix(in srgb, var(--c) 35%, transparent); }

/* Las seis capas con la llave "Todo a cargo de Cyttek" */
.aas { display: grid; grid-template-columns: minmax(0, 1fr) 64px; gap: 20px; align-items: stretch; }
.aas-stack { list-style: none; display: grid; gap: 10px; }
.aas-stack li {
    display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start;
    padding: 22px 24px; border: 1px solid var(--edge); border-radius: var(--r-s); background: rgba(10, 15, 44, 0.75);
}
.aas-ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: rgba(61, 90, 254, 0.16); color: var(--p); font-size: 1.35rem; }
.aas-stack h3 { color: var(--white); font-size: 1.3rem; }
.aas-stack p { margin-top: 4px; color: var(--haze); }
.aas-bracket { position: relative; border: 2px solid var(--electric); border-left: 0; border-radius: 0 14px 14px 0; box-shadow: 8px 0 30px -18px var(--electric); }
.aas-bracket span {
    position: absolute; left: 100%; top: 50%; transform: translate(-50%, -50%) rotate(180deg); writing-mode: vertical-rl;
    padding: 14px 8px; background: var(--night); color: var(--white); font-weight: 600; white-space: nowrap; margin-left: -1px;
}

/* Fases de implementación (secuencia) */
.phases { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: fase; }
.phases li { position: relative; padding-right: 24px; counter-increment: fase; }
.phases li::before {
    content: counter(fase); position: relative; z-index: 1; display: grid; place-items: center;
    width: 46px; height: 46px; border-radius: 50%; background: var(--electric); color: var(--white); font-weight: 600;
}
.phases li::after { content: ""; position: absolute; top: 23px; left: 46px; right: 0; height: 2px; background: color-mix(in srgb, var(--electric) 35%, transparent); }
.phases li:last-child::after { display: none; }
.phases h3 { margin-top: 20px; }
.phases p { margin-top: 8px; color: var(--slate); font-size: 1rem; }
.sec-paper .channels li { background: var(--white); border-top-color: var(--electric); }
.sec-paper .channels .icon { color: var(--electric); }

@media (max-width: 1140px) {
    .phases { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
    .phases li:nth-child(3)::after { display: none; }
}

@media (max-width: 900px) {
    .svc-feature { grid-template-columns: minmax(0, 1fr); }
    .svc-feature-img img { aspect-ratio: 16 / 9; height: auto; }
    .svc-feature-body { padding: 30px 26px; }
    .aas { grid-template-columns: minmax(0, 1fr); }
    .aas-bracket { order: -1; border: 2px solid var(--electric); border-bottom: 0; border-radius: 14px 14px 0 0; height: 22px; }
    .aas-bracket span { writing-mode: horizontal-tb; transform: translate(-50%, -50%); left: 50%; top: 0; padding: 4px 12px; }
    .phases { grid-template-columns: minmax(0, 1fr); }
    .phases li { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding: 0 0 28px; }
    .phases li::before { grid-row: span 2; }
    .phases li::after, .phases li:nth-child(3)::after { display: block; top: 46px; bottom: 0; left: 22px; right: auto; width: 2px; height: auto; }
    .phases li:last-child::after { display: none; }
    .phases h3 { margin-top: 10px; }
}
