/* ============================================================
   AVANCE SOFTWARE — sitio público
   Paleta: azul noche corporativo + azul eléctrico, cian y violeta de acento.
   ============================================================ */

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fuentes/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations");
    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: "Plus Jakarta Sans";
    font-style: normal;
    font-display: swap;
    font-weight: 200 800;
    src: url("../fuentes/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2-variations");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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;
}

:root {
    --noche: #050d1f;
    --noche-2: #081633;
    --noche-3: #0b1f3a;
    --azul: #2563eb;
    --azul-2: #1d4ed8;
    --azul-claro: #60a5fa;
    --cian: #22d3ee;
    --violeta: #8b5cf6;
    --verde: #10b981;
    --whatsapp: #1fa855;
    --tinta: #0b1324;
    --tinta-2: #334155;
    --tinta-3: #5b6b82;
    --borde: #e3e9f2;
    --fondo: #ffffff;
    --fondo-2: #f4f7fc;
    --tarjeta: #ffffff;
    --sombra-1: 0 1px 2px rgba(15, 23, 42, .05), 0 4px 14px rgba(15, 23, 42, .05);
    --sombra-2: 0 2px 6px rgba(15, 23, 42, .06), 0 18px 48px -12px rgba(15, 23, 42, .18);
    --radio: 20px;
    --nav-alto: 72px;
    --fuente: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
    --curva: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-alto) + 8px); }
html.sin-scroll { overflow: hidden; }
body {
    margin: 0;
    font-family: var(--fuente);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tinta);
    background: var(--fondo);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1:focus { outline: none; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--azul) 55%, transparent); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.18em; }
.ico.girado { transform: rotate(180deg); }
.ico.girando { animation: girar 0.9s linear infinite; }
.ico.grande { width: 40px; height: 40px; }
@keyframes girar { to { transform: rotate(360deg); } }

.contenedor { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }
.pagina { overflow-x: clip; }

/* ── Botones ─────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .78rem 1.25rem; border-radius: 12px; border: 1px solid transparent;
    font-weight: 700; font-size: .95rem; line-height: 1.2; white-space: nowrap;
    transition: transform .2s var(--curva), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-sm { padding: .55rem .9rem; font-size: .86rem; border-radius: 10px; }
.btn-lg { padding: .95rem 1.4rem; font-size: 1rem; }
.btn-xl { padding: 1.05rem 1.6rem; font-size: 1.04rem; border-radius: 14px; }
.btn-bloque { width: 100%; }
.btn-primario {
    color: #fff; background: linear-gradient(135deg, #3b82f6 0%, var(--azul) 45%, var(--azul-2) 100%);
    box-shadow: 0 8px 24px -8px rgba(37, 99, 235, .65), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.btn-primario:hover { box-shadow: 0 14px 34px -10px rgba(37, 99, 235, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-vidrio { color: #fff; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); }
.btn-vidrio:hover { background: rgba(255, 255, 255, .13); }
.btn-claro { color: var(--tinta); background: #fff; border-color: var(--borde); box-shadow: var(--sombra-1); }
.btn-claro:hover { border-color: #c9d4e5; }
.btn-whatsapp { color: #fff; background: var(--whatsapp); box-shadow: 0 8px 20px -8px rgba(31, 168, 85, .6); }
.btn-whatsapp:hover { background: #17924a; }
.btn-peligro { color: #fff; background: #dc2626; }
.btn-texto { background: none; border: 0; padding: .5rem .6rem; color: var(--tinta-3); font-weight: 600; }
.btn-texto:hover { color: var(--azul); transform: none; }

/* ── Anuncio ─────────────────────────────────────────────── */
.anuncio { position: relative; z-index: 60; color: #e8efff; background: linear-gradient(90deg, #1e3a8a, #2563eb 40%, #7c3aed); font-size: .88rem; }
.anuncio-in { display: flex; align-items: center; gap: .65rem; min-height: 42px; padding-block: .4rem; }
.anuncio-chispa { display: grid; place-items: center; color: #fde68a; }
.anuncio-texto { flex: 1; font-weight: 500; }
.anuncio-enlace { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: #fff; white-space: nowrap; }
.anuncio-enlace:hover { text-decoration: underline; }
.anuncio-cerrar { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .12); color: #fff; }

/* ── Navegación ──────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-alto); color: #fff; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
html.con-scroll .nav, .nav.abierto { background: rgba(5, 13, 31, .82); backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 1px 0 rgba(255, 255, 255, .06), 0 10px 30px -12px rgba(0, 0, 0, .5); }
/* Con el menú abierto la barra no lleva backdrop-filter: si no, el menú (position: fixed) quedaría atado a la barra. */
html.con-scroll .nav.abierto, .nav.abierto { background: #050d1f; backdrop-filter: none; -webkit-backdrop-filter: none; }
.nav-in { display: flex; align-items: center; gap: 1.25rem; height: 100%; }
.marca { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; }
.marca img { width: 36px; height: 36px; filter: drop-shadow(0 4px 12px rgba(37, 99, 235, .45)); }
.marca b { font-weight: 800; background: linear-gradient(90deg, #93c5fd, var(--cian)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-enlaces { display: flex; gap: .2rem; margin-left: auto; }
.nav-enlace { padding: .5rem .7rem; border-radius: 10px; white-space: nowrap; font-size: .93rem; font-weight: 600; color: rgba(226, 232, 240, .82); transition: color .2s, background-color .2s; }
.nav-enlace:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.nav-acciones { display: flex; align-items: center; gap: .6rem; }
.nav-portal { display: inline-flex; align-items: center; white-space: nowrap; gap: .4rem; font-size: .88rem; font-weight: 600; color: rgba(226, 232, 240, .8); padding: .45rem .6rem; border-radius: 10px; }
.nav-portal:hover { color: #fff; }
.nav-menu { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); place-items: center; color: #fff; }
.nav-menu .ico { width: 22px; height: 22px; }

/* ── Portada ─────────────────────────────────────────────── */
.hero {
    position: relative; isolation: isolate; color: #fff; background: var(--noche);
    margin-top: calc(-1 * var(--nav-alto)); padding: calc(var(--nav-alto) + clamp(40px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
    overflow: hidden;
}
.hero-fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.aurora.a1 { width: 52vw; height: 52vw; left: -14vw; top: -22vw; background: radial-gradient(circle, #2563eb 0%, transparent 65%); animation: flotar1 18s ease-in-out infinite alternate; }
.aurora.a2 { width: 44vw; height: 44vw; right: -12vw; top: -8vw; background: radial-gradient(circle, #7c3aed 0%, transparent 65%); opacity: .45; animation: flotar2 22s ease-in-out infinite alternate; }
.aurora.a3 { width: 40vw; height: 40vw; left: 30vw; bottom: -26vw; background: radial-gradient(circle, #06b6d4 0%, transparent 65%); opacity: .35; animation: flotar1 26s ease-in-out infinite alternate-reverse; }
@keyframes flotar1 { to { transform: translate3d(6vw, 4vw, 0) scale(1.08); } }
@keyframes flotar2 { to { transform: translate3d(-5vw, 6vw, 0) scale(.94); } }
.rejilla {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(148, 163, 184, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 184, .09) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.pildora {
    display: inline-flex; align-items: center; gap: .6rem; padding: .42rem .95rem .42rem .75rem; margin-bottom: 1.4rem;
    border-radius: 999px; font-size: .84rem; font-weight: 600; color: #dbeafe;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(8px);
}
.punto { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: latir 2.2s infinite; }
@keyframes latir { 70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.hero-titulo { font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.022em; word-spacing: .04em; font-weight: 800; text-wrap: balance; }
.degradado {
    display: block; padding-bottom: .08em;
    background: linear-gradient(92deg, #93c5fd 0%, var(--cian) 45%, #c4b5fd 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 1.4rem; max-width: 37rem; font-size: clamp(1.03rem, 1.4vw, 1.2rem); color: rgba(219, 228, 242, .8); text-wrap: pretty; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }
.hero-cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 2.8rem 0 0; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.cifra dt { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cifra dd { margin: .15rem 0 0; font-size: .82rem; line-height: 1.35; color: rgba(203, 213, 225, .72); }

.hero-visual { position: relative; perspective: 2000px; }
.hero-escritorio {
    transform: rotateY(-11deg) rotateX(5deg) rotateZ(.5deg); transform-origin: 60% 50%;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08), 0 0 80px -10px rgba(37, 99, 235, .45);
    transition: transform .8s var(--curva);
}
.hero-visual:hover .hero-escritorio { transform: rotateY(-6deg) rotateX(3deg); }
.hero-movil { position: absolute; width: 27%; left: -7%; bottom: -10%; transform: rotate(-4deg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.hero-chip {
    position: absolute; display: flex; align-items: center; gap: .55rem; max-width: 250px;
    padding: .65rem .9rem; border-radius: 14px; font-size: .84rem; font-weight: 600; line-height: 1.3; color: #fff;
    background: rgba(15, 23, 42, .62); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6); animation: levitar 6s ease-in-out infinite;
}
.hero-chip .ico { width: 1.35em; height: 1.35em; padding: 4px; border-radius: 8px; color: #fff; }
.hero-chip.chip1 { right: -3%; top: 8%; }
.hero-chip.chip1 .ico { background: var(--verde); }
.hero-chip.chip2 { right: 4%; bottom: 4%; animation-delay: -2s; }
.hero-chip.chip2 .ico { background: var(--azul); }
.hero-chip.chip3 { left: 20%; top: -6%; animation-delay: -4s; }
.hero-chip.chip3 .ico { background: var(--violeta); }
@keyframes levitar { 50% { transform: translateY(-8px); } }

/* Entrada de la portada (no se repite si ya estaba prerenderizada) */
html:not(.sin-entrada) .entrada { animation: entrar .9s var(--curva) both; }
.e1 { animation-delay: .05s !important; } .e2 { animation-delay: .12s !important; } .e3 { animation-delay: .22s !important; }
.e4 { animation-delay: .32s !important; } .e5 { animation-delay: .42s !important; }
@keyframes entrar { from { opacity: 0; transform: translateY(22px); } }

/* ── Marcos de dispositivo ──────────────────────────────── */
.marco { margin: 0; position: relative; overflow: hidden; background: #0b1220; }
.marco img { width: 100%; height: auto; }
.marco-escritorio { border-radius: 14px; border: 1px solid rgba(148, 163, 184, .25); background: #fff; box-shadow: var(--sombra-2); }
.marco-barra { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: linear-gradient(#f8fafc, #eef2f7); border-bottom: 1px solid #e2e8f0; }
.marco-barra i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.marco-barra i:nth-child(2) { background: #fbbf24; }
.marco-barra i:nth-child(3) { background: #34d399; }
.marco-barra span { margin-left: 14px; flex: 1; max-width: 360px; height: 20px; padding: 0 10px; border-radius: 6px; background: #fff; border: 1px solid #e2e8f0; font-size: 11px; line-height: 19px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marco-movil { border-radius: 38px; padding: 9px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), var(--sombra-2); }
.marco-movil img { border-radius: 30px; }
.marco-isla { position: absolute; top: 17px; left: 50%; width: 30%; height: 14px; margin-left: -15%; border-radius: 10px; background: #000; z-index: 2; }
.marco-tableta { border-radius: 26px; padding: 12px; background: linear-gradient(145deg, #1f2937, #0b1220); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .12), var(--sombra-2); }
.marco-tableta img { border-radius: 14px; }
.marco-vacio { display: grid; place-items: center; aspect-ratio: 16/10; border-radius: 14px; color: #94a3b8; background: repeating-linear-gradient(45deg, #f1f5f9, #f1f5f9 12px, #e9eef5 12px, #e9eef5 24px); }
.marco-vacio .ico { width: 48px; height: 48px; }

/* ── Cinta de logos ─────────────────────────────────────── */
.cinta { padding: 2.4rem 0 2.6rem; background: #fff; border-bottom: 1px solid var(--borde); }
.cinta-titulo { text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tinta-3); margin-bottom: 1.6rem; }
.cinta-pista { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.cinta-lista { display: flex; align-items: center; gap: clamp(36px, 6vw, 72px); padding-right: clamp(36px, 6vw, 72px); flex-shrink: 0; animation: desfilar 40s linear infinite; }
.cinta-pista:hover .cinta-lista { animation-play-state: paused; }
.cinta-lista li { flex-shrink: 0; }
.cinta-lista img { height: 46px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.cinta-lista img:hover { filter: none; opacity: 1; }
@keyframes desfilar { to { transform: translateX(-100%); } }

/* ── Secciones ──────────────────────────────────────────── */
.seccion { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.cabecera-seccion { max-width: 780px; margin: 0 auto clamp(40px, 5vw, 64px); text-align: center; }
.cabecera-seccion.izquierda { margin: 0; text-align: left; }
.cabecera-seccion.con-controles { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; max-width: none; text-align: left; }
.cabecera-seccion.con-controles > div:first-child { max-width: 720px; }
.etiqueta-seccion {
    display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; padding: .35rem .8rem;
    border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
    color: var(--azul-2); background: #eaf1ff; border: 1px solid #d6e3ff;
}
.etiqueta-seccion.clara { color: #bfdbfe; background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); }
.titulo-seccion { font-size: clamp(1.85rem, 3.2vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; word-spacing: .03em; font-weight: 800; text-wrap: balance; }
.texto-seccion { margin-top: 1rem; font-size: clamp(1rem, 1.25vw, 1.13rem); color: var(--tinta-3); text-wrap: pretty; }
.texto-seccion:empty { display: none; }

.revelar { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--curva), transform .8s var(--curva); transition-delay: var(--retraso, 0ms); }
.revelar.visible { opacity: 1; transform: none; }

/* ── Quiénes somos ──────────────────────────────────────── */
.quienes { background: var(--fondo); }
.quienes-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.quienes-texto .texto-seccion + .texto-seccion { margin-top: .9rem; }
.pilares { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pilar { padding: 1.5rem; border-radius: var(--radio); background: var(--fondo-2); border: 1px solid var(--borde); transition: transform .3s var(--curva), box-shadow .3s, background-color .3s; }
.pilar:hover { transform: translateY(-4px); background: #fff; box-shadow: var(--sombra-2); }
.pilar-ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 1rem; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--azul), var(--violeta)); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .7); }
.pilar-ico .ico { width: 22px; height: 22px; }
.pilar h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: -.01em; }
.pilar p { margin-top: .35rem; font-size: .93rem; color: var(--tinta-3); }
.rubros { margin-top: clamp(48px, 6vw, 80px); text-align: center; }
.rubros-titulo { font-size: 1.05rem; font-weight: 700; color: var(--tinta-2); margin-bottom: 1.2rem; }
.rubros-lista { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.rubros-lista li { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px; background: #fff; border: 1px solid var(--borde); font-weight: 600; font-size: .93rem; box-shadow: var(--sombra-1); transition: transform .2s, border-color .2s; }
.rubros-lista li:hover { transform: translateY(-2px); border-color: #bfd3f6; }
.rubros-lista li span { font-size: 1.15rem; }

/* ── Novedades (vitrina) ────────────────────────────────── */
.novedades { background: radial-gradient(1200px 500px at 50% 0%, #eaf1ff 0%, transparent 70%), var(--fondo-2); }
.vitrina { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 28px; align-items: start; }
.vitrina-pestanas { display: flex; flex-direction: column; gap: 8px; position: sticky; top: calc(var(--nav-alto) + 20px); }
.pestana {
    position: relative; display: flex; align-items: center; gap: .85rem; width: 100%; padding: .85rem 1rem; overflow: hidden;
    text-align: left; border-radius: 16px; border: 1px solid transparent; background: transparent; transition: background-color .25s, border-color .25s, box-shadow .25s;
}
.pestana:hover { background: rgba(255, 255, 255, .7); }
.pestana.activa { background: #fff; border-color: var(--borde); box-shadow: var(--sombra-2); }
.pestana-ico { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; color: var(--acento); background: color-mix(in srgb, var(--acento) 12%, #fff); transition: background-color .25s, color .25s; }
.pestana.activa .pestana-ico { color: #fff; background: var(--acento); box-shadow: 0 8px 20px -8px var(--acento); }
.pestana-texto { display: flex; flex-direction: column; min-width: 0; }
.pestana-texto strong { font-size: .97rem; font-weight: 800; letter-spacing: -.01em; }
.pestana-texto small { font-size: .8rem; line-height: 1.35; color: var(--tinta-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pestana-progreso { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--acento); transform-origin: left; animation: progreso linear forwards; }
@keyframes progreso { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vitrina-panel { display: flex; flex-direction: column; gap: 28px; padding: clamp(20px, 3vw, 36px); border-radius: 28px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-2); animation: aparecer .55s var(--curva) both; }
@keyframes aparecer { from { opacity: 0; transform: translateY(12px) scale(.99); } }
.vitrina-imagen { order: -1; display: flex; justify-content: center; padding: clamp(14px, 2.5vw, 28px); border-radius: 20px; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--acento) 22%, #fff), transparent 60%), linear-gradient(135deg, color-mix(in srgb, var(--acento) 10%, #f8fbff), #eef3fb); }
.vitrina-imagen .marco-escritorio { width: 100%; }
.vitrina-imagen .marco-movil { width: min(300px, 70%); }
.vitrina-imagen .marco-tableta { width: min(640px, 100%); }
.vitrina-info h3 { font-size: clamp(1.45rem, 2.3vw, 1.9rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
.vitrina-info > p { margin-top: .75rem; color: var(--tinta-2); font-size: 1.02rem; }
.cinta-nuevo { display: inline-block; margin-bottom: .75rem; padding: .25rem .65rem; border-radius: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--acento, var(--azul)), color-mix(in srgb, var(--acento, var(--azul)) 60%, #a78bfa)); }
.lista-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; margin-top: 1.4rem; }
.lista-check li { display: flex; gap: .6rem; font-size: .95rem; line-height: 1.45; color: var(--tinta-2); }
.lista-check .ico { margin-top: .12em; color: var(--acento); }
.lista-check li.es-nuevo span { font-weight: 600; color: var(--tinta); }

/* ── Módulos ────────────────────────────────────────────── */
.modulos { background: var(--fondo); }
.grilla-modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.tarjeta-modulo { display: flex; flex-direction: column; padding: 1.75rem; border-radius: 22px; background: #fff; border: 1px solid var(--borde); transition: transform .35s var(--curva), box-shadow .35s, border-color .35s; }
.tarjeta-modulo:hover { transform: translateY(-5px); box-shadow: var(--sombra-2); border-color: color-mix(in srgb, var(--acento) 35%, var(--borde)); }
.tarjeta-modulo.es-nuevo { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--acento), #22d3ee 55%, #a78bfa) border-box; }
.tarjeta-modulo header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.tarjeta-modulo .cinta-nuevo { margin: 0; }
.modulo-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: var(--acento); background: color-mix(in srgb, var(--acento) 11%, #fff); border: 1px solid color-mix(in srgb, var(--acento) 18%, #fff); }
.modulo-ico .ico { width: 24px; height: 24px; }
.tarjeta-modulo h3 { font-size: 1.22rem; font-weight: 800; letter-spacing: -.02em; }
.modulo-sub { margin-top: .3rem; font-size: .92rem; color: var(--tinta-3); }
.lista-puntos { display: flex; flex-direction: column; gap: .55rem; margin-top: 1.1rem; }
.lista-puntos li { display: flex; align-items: flex-start; gap: .55rem; font-size: .92rem; line-height: 1.45; color: var(--tinta-2); }
.lista-puntos .ico { margin-top: .15em; color: var(--acento); }
.lista-puntos li.es-nuevo span { color: var(--tinta); font-weight: 600; }
.marca-nuevo { flex-shrink: 0; margin-left: auto; padding: .1rem .45rem; border-radius: 6px; font-size: .66rem; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #047857; background: #d1fae5; }
.ver-mas { display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; margin-top: 1rem; padding: .3rem 0; border: 0; background: none; font-size: .88rem; font-weight: 700; color: var(--acento); }

/* ── Cumplimiento fiscal ────────────────────────────────── */
.franja-fiscal { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding-block: clamp(72px, 8vw, 112px); background: linear-gradient(135deg, #061229 0%, #0b1f3a 50%, #13235a 100%); }
.franja-fondo { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 85% 10%, rgba(34, 211, 238, .18), transparent 70%), radial-gradient(500px 300px at 10% 100%, rgba(124, 58, 237, .22), transparent 70%); }
.franja-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.franja-fiscal .texto-seccion { color: rgba(203, 213, 225, .82); }
.sellos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sello { display: flex; gap: .85rem; padding: 1.15rem 1.2rem; border-radius: 18px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); transition: background-color .3s, transform .3s var(--curva); }
.sello:hover { background: rgba(255, 255, 255, .09); transform: translateY(-3px); }
.sello > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: #34d399; background: rgba(52, 211, 153, .12); }
.sello strong { display: block; font-size: .98rem; font-weight: 800; }
.sello span { display: block; margin-top: .15rem; font-size: .86rem; line-height: 1.45; color: rgba(203, 213, 225, .78); }

/* ── Galería ────────────────────────────────────────────── */
.galeria { background: var(--fondo-2); }
.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2rem; }
.filtro, .chip { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--borde); background: #fff; font-size: .88rem; font-weight: 600; color: var(--tinta-2); transition: all .2s; }
.filtro:hover, .chip:hover { border-color: #b9cdf0; color: var(--azul-2); }
.filtro.activo, .chip.activo { color: #fff; background: var(--azul); border-color: var(--azul); box-shadow: 0 6px 16px -6px rgba(37, 99, 235, .6); }
.grilla-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 18px; }
.pieza-boton { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--borde); border-radius: 18px; background: #fff; box-shadow: var(--sombra-1); aspect-ratio: 16 / 10.5; }
.pieza-boton img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s var(--curva); }
.pieza.vertical .pieza-boton img { object-fit: contain; padding: 14px; background: linear-gradient(135deg, #e8efff, #f5f0ff); }
.pieza-boton:hover img { transform: scale(1.045); }
.pieza-pie { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 2.4rem 1rem .9rem; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(2, 6, 23, .85)); }
.pieza-pie small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; }
.pieza-pie strong { font-size: .98rem; font-weight: 700; }
.pieza-lupa { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: #fff; background: rgba(15, 23, 42, .55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.pieza-boton:hover .pieza-lupa, .pieza-boton:focus-visible .pieza-lupa { opacity: 1; }

.visor { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 64px 72px; background: rgba(2, 6, 23, .92); backdrop-filter: blur(10px); animation: aparecer .3s both; outline: none; }
.visor-figura { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; gap: .9rem; }
.visor-figura img { max-height: calc(100vh - 200px); width: auto; max-width: 100%; margin: 0 auto; border-radius: 12px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); background: #fff; }
.visor-figura figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; color: #e2e8f0; font-size: .95rem; }
.visor-figura figcaption strong { color: #fff; }
.visor-figura figcaption small { margin-left: auto; color: #94a3b8; }
.visor-cerrar, .visor-flecha { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08); color: #fff; }
.visor-cerrar { top: 16px; right: 16px; }
.visor-flecha { top: 50%; margin-top: -24px; }
.visor-flecha.izq { left: 14px; } .visor-flecha.der { right: 14px; }
.visor-cerrar:hover, .visor-flecha:hover { background: rgba(255, 255, 255, .18); }

/* ── Clientes ───────────────────────────────────────────── */
.clientes { background: var(--fondo); }
.controles { display: flex; gap: .5rem; flex-shrink: 0; }
.control { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--borde); background: #fff; box-shadow: var(--sombra-1); transition: all .2s; }
.control:hover { color: #fff; background: var(--azul); border-color: var(--azul); }
.carrusel { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 370px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carrusel::-webkit-scrollbar { display: none; }
.tarjeta-cliente { scroll-snap-align: start; display: flex; flex-direction: column; padding: 1.6rem; border-radius: 22px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); transition: transform .3s var(--curva), box-shadow .3s; }
.tarjeta-cliente:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.cliente-logo { display: grid; place-items: center; height: 96px; margin-bottom: 1.2rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); }
.cliente-logo img { max-height: 64px; max-width: 78%; object-fit: contain; }
.cliente-iniciales { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 16px; font-size: 1.3rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--azul), var(--violeta)); }
.tarjeta-cliente h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.015em; }
.cliente-rubro { margin-top: .2rem; font-size: .82rem; font-weight: 700; color: var(--azul-2); }
.cliente-desc { margin-top: .7rem; font-size: .93rem; color: var(--tinta-3); }
.cliente-cita { position: relative; margin: 1.1rem 0 0; padding: 1rem 1rem 1rem 1.1rem; border-radius: 14px; background: #f5f8ff; border-left: 3px solid var(--azul); }
.cliente-cita .ico { position: absolute; top: -10px; right: 12px; width: 28px; height: 28px; padding: 5px; border-radius: 8px; color: #fff; background: var(--azul); }
.cliente-cita p { font-size: .92rem; font-style: italic; color: var(--tinta-2); }
.cliente-cita footer { margin-top: .5rem; font-size: .8rem; font-weight: 700; color: var(--tinta); }
.cliente-web { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; padding-top: 1rem; font-size: .86rem; font-weight: 700; color: var(--azul-2); }

/* ── Asesores ───────────────────────────────────────────── */
.asesores { background: radial-gradient(900px 420px at 0% 100%, #eef4ff, transparent 70%), var(--fondo-2); }
.asesores-in { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.mapa-caja { padding: clamp(18px, 2.5vw, 28px); border-radius: 26px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-2); }
.mapa { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(58px, 1fr)); gap: 6px; }
.estado {
    position: relative; display: grid; place-items: center; padding: 2px; border-radius: 10px; border: 1px solid #dfe7f3;
    background: #f1f5fb; font-size: clamp(.62rem, .85vw, .8rem); font-weight: 700; line-height: 1.15; color: #475569; text-align: center;
    transition: transform .2s var(--curva), background-color .2s, color .2s, box-shadow .2s;
}
.estado span { max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.estado:hover { transform: translateY(-2px); background: #e4ecf8; color: var(--tinta); z-index: 1; }
.estado.con-asesor { color: #fff; border-color: transparent; background: linear-gradient(135deg, #3b82f6, #1d4ed8); box-shadow: 0 6px 14px -8px rgba(29, 78, 216, .8); }
.estado.con-asesor:hover { background: linear-gradient(135deg, #2563eb, #1e40af); }
.estado.activo { outline: 3px solid var(--cian); outline-offset: 1px; transform: scale(1.04); z-index: 2; }
.estado:not(.con-asesor).activo { background: #0f172a; color: #fff; }
.estado-punto { position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; font-size: .64rem; font-style: normal; font-weight: 800; line-height: 18px; color: #064e3b; background: #6ee7b7; border: 2px solid #fff; }
.mapa-leyenda { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .8rem; color: var(--tinta-3); }
.mapa-leyenda .estado-punto { position: static; display: inline-block; min-width: 12px; height: 12px; padding: 0; border: 0; border-radius: 4px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.selector-estado { display: none; }
.selector-estado span { display: block; margin-bottom: .35rem; font-size: .85rem; font-weight: 700; }
.selector-estado select { width: 100%; padding: .8rem 1rem; border-radius: 12px; border: 1px solid var(--borde); background: #fff; font-weight: 600; }
.asesores-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 14px; }
.asesores-filtro { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; font-size: .92rem; font-weight: 700; color: var(--tinta-2); }
.asesores-filtro span { display: inline-flex; align-items: center; gap: .4rem; }
.quitar-filtro { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--borde); background: #fff; font-size: .82rem; font-weight: 700; }
.asesor-vacio { grid-column: 1 / -1; }
.tarjeta-asesor, .asesor-vacio { display: flex; gap: 1.1rem; padding: 1.3rem; border-radius: 20px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); animation: aparecer .4s var(--curva) both; }
.asesor-foto { display: grid; place-items: center; width: 76px; height: 76px; flex-shrink: 0; overflow: hidden; border-radius: 50%; font-size: 1.4rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--azul), var(--violeta)); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--borde); }
.asesor-foto img { width: 100%; height: 100%; object-fit: cover; }
.asesor-foto.pequena { width: 54px; height: 54px; font-size: 1.05rem; }
.asesor-datos { min-width: 0; flex: 1; }
.asesor-datos h3 { font-size: 1.08rem; font-weight: 800; }
.asesor-cargo { font-size: .85rem; font-weight: 600; color: var(--azul-2); }
.asesor-desc { margin-top: .4rem; font-size: .9rem; color: var(--tinta-3); }
.asesor-estados { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .7rem; }
.asesor-estados li { padding: .18rem .55rem; border-radius: 7px; font-size: .74rem; font-weight: 700; color: var(--tinta-2); background: var(--fondo-2); border: 1px solid var(--borde); }
.asesor-estados li.activo { color: #fff; background: var(--azul); border-color: var(--azul); }
.asesor-botones { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.asesor-vacio-ico { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 16px; color: var(--azul); background: #eaf1ff; }
.asesor-vacio-ico .ico { width: 26px; height: 26px; }
.asesor-vacio h3 { font-size: 1.05rem; font-weight: 800; }
.asesor-vacio p { margin-top: .25rem; font-size: .92rem; color: var(--tinta-3); }

/* ── Preguntas ──────────────────────────────────────────── */
.preguntas { background: var(--fondo); }
.preguntas-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.preguntas .cabecera-seccion .btn { margin-top: 1.6rem; }
.acordeon { display: flex; flex-direction: column; gap: 10px; }
.pregunta { border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); transition: background-color .25s, box-shadow .25s; }
.pregunta[open] { background: #fff; box-shadow: var(--sombra-2); }
.pregunta summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.25rem; cursor: pointer; list-style: none; font-weight: 700; font-size: 1rem; }
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary .ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; color: var(--azul); background: #eaf1ff; transition: transform .3s var(--curva), background-color .3s, color .3s; }
.pregunta[open] summary .ico { transform: rotate(45deg); color: #fff; background: var(--azul); }
.respuesta { padding: 0 1.25rem 1.2rem; color: var(--tinta-3); font-size: .96rem; }
.respuesta p + p { margin-top: .6rem; }

/* ── Contacto ───────────────────────────────────────────── */
.contacto { isolation: isolate; overflow: hidden; color: #fff; background: var(--noche); }
.contacto-fondo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.contacto-fondo .a1 { left: auto; right: -10vw; top: -20vw; }
.contacto-fondo .a2 { left: -16vw; right: auto; top: auto; bottom: -24vw; }
.contacto-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.contacto .texto-seccion { color: rgba(203, 213, 225, .8); }
.contacto-datos { display: flex; flex-direction: column; gap: .85rem; margin-top: 2rem; }
.contacto-datos li { display: flex; align-items: center; gap: .8rem; font-size: 1rem; color: #e2e8f0; }
.contacto-datos .ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; color: #93c5fd; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.contacto-datos a:hover { color: #fff; text-decoration: underline; }
.tarjeta-form { padding: clamp(22px, 3vw, 36px); border-radius: 26px; color: var(--tinta); background: #fff; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .55); }
.form-titulo { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 1.2rem; }
.campos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.campo { display: flex; flex-direction: column; gap: .35rem; }
.campo > span { font-size: .84rem; font-weight: 700; color: var(--tinta-2); }
.campo input, .campo select, .campo textarea {
    width: 100%; padding: .78rem .9rem; border-radius: 12px; border: 1px solid #d5deea; background: #fbfcfe;
    font-size: .96rem; transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.campo textarea { resize: vertical; min-height: 92px; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .14); }
.tarjeta-form > form > .campo { margin-top: 14px; }
.intereses { margin: 16px 0 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.intereses legend { width: 100%; margin-bottom: .5rem; font-size: .84rem; font-weight: 700; color: var(--tinta-2); }
.intereses legend small { font-weight: 500; color: var(--tinta-3); }
.intereses .chip { padding: .4rem .75rem; font-size: .82rem; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { display: flex; align-items: center; gap: .5rem; margin: 14px 0 0; padding: .7rem .9rem; border-radius: 12px; font-size: .9rem; font-weight: 600; color: #b91c1c; background: #fef2f2; border: 1px solid #fecaca; }
.tarjeta-form .btn-primario { margin-top: 18px; }
.form-nota { display: flex; align-items: center; justify-content: center; gap: .4rem; margin-top: .8rem; font-size: .8rem; color: var(--tinta-3); }
.form-exito { display: flex; flex-direction: column; align-items: center; gap: .8rem; padding: 1rem 0; text-align: center; }
.exito-ico { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #34d399, #059669); box-shadow: 0 16px 34px -12px rgba(5, 150, 105, .7); animation: aparecer .5s var(--curva) both; }
.exito-ico .ico { width: 36px; height: 36px; }
.form-exito h3 { font-size: 1.35rem; font-weight: 800; }
.form-exito p { color: var(--tinta-3); }
.exito-asesor { display: flex; align-items: center; gap: .9rem; padding: .9rem 1.2rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); text-align: left; }
.exito-asesor strong { display: block; }
.exito-asesor small { color: var(--tinta-3); }

/* ── Pie ────────────────────────────────────────────────── */
.pie { color: #cbd5e1; background: #030916; padding-top: clamp(56px, 7vw, 88px); }
.pie-in { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.pie-marca .marca { color: #fff; }
.pie-marca p { margin-top: 1rem; max-width: 26rem; font-size: .92rem; color: #94a3b8; }
.redes { display: flex; gap: .5rem; margin-top: 1.3rem; }
.redes a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #cbd5e1; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08); transition: all .2s; }
.redes a:hover { color: #fff; background: var(--azul); border-color: var(--azul); }
.pie-col { display: flex; flex-direction: column; gap: .6rem; font-size: .92rem; }
.pie-col h3 { margin-bottom: .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.pie-col a, .pie-col span { display: inline-flex; align-items: center; gap: .5rem; color: #94a3b8; transition: color .2s; }
.pie-col a:hover { color: #fff; }
.pie-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 56px; padding-block: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .07); font-size: .84rem; color: #64748b; }
.pie-panel { display: inline-flex; align-items: center; gap: .4rem; color: #64748b; }
.pie-panel:hover { color: #cbd5e1; }

/* ── WhatsApp flotante ──────────────────────────────────── */
.flotante-whatsapp {
    position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: .55rem;
    padding: .8rem 1.15rem .8rem .9rem; border-radius: 999px; color: #fff; background: var(--whatsapp); font-weight: 800; font-size: .95rem;
    box-shadow: 0 14px 34px -10px rgba(31, 168, 85, .75); transition: transform .25s var(--curva), box-shadow .25s;
}
.flotante-whatsapp .ico { width: 26px; height: 26px; }
.flotante-whatsapp:hover { transform: translateY(-3px) scale(1.02); }

/* ── Precios y cotizador ────────────────────────────────── */
.precios { background: radial-gradient(1000px 420px at 50% 0%, #eef4ff, transparent 70%), var(--fondo); }
.ciclos { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 2.2rem; padding: 5px; border-radius: 16px; background: #e8eef7; }
.ciclo { display: inline-flex; align-items: center; gap: .45rem; padding: .65rem 1.2rem; border: 0; border-radius: 12px; background: none; font-weight: 700; color: var(--tinta-2); transition: all .2s; }
.ciclo em { white-space: nowrap; font-style: normal; font-size: .74rem; font-weight: 800; padding: .1rem .45rem; border-radius: 6px; color: #047857; background: #d1fae5; }
.ciclo.activo { color: var(--tinta); background: #fff; box-shadow: var(--sombra-1); }
.planes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.4rem 1.4rem; border-radius: 22px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); transition: transform .3s var(--curva), box-shadow .3s, border-color .3s; }
.plan:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.plan.destacado { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--azul), #22d3ee 55%, #a78bfa) border-box; }
.plan.elegido { box-shadow: 0 0 0 3px rgba(37, 99, 235, .25), var(--sombra-2); }
.plan-cinta { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: .25rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: linear-gradient(90deg, var(--azul), var(--violeta)); white-space: nowrap; }
.plan h3 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.plan-usuarios { display: flex; align-items: center; gap: .4rem; margin-top: .2rem; font-size: .88rem; font-weight: 600; color: var(--azul-2); }
.plan-precio { display: flex; align-items: baseline; gap: .35rem; margin-top: 1rem; }
.plan-precio s { font-size: 1rem; color: var(--tinta-3); }
.plan-precio strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.plan-precio span { font-size: .95rem; font-weight: 600; color: var(--tinta-3); }
.plan-periodo { min-height: 1.3em; margin-top: .3rem; font-size: .82rem; color: var(--tinta-3); }
.plan-desc { margin-top: .9rem; font-size: .92rem; color: var(--tinta-2); }
.plan-incluye { display: flex; flex-direction: column; gap: .45rem; margin: 1.1rem 0; font-size: .9rem; color: var(--tinta-2); }
.plan-incluye li { display: flex; gap: .5rem; align-items: flex-start; }
.plan-incluye .ico { margin-top: .2em; color: var(--verde); }
.plan-datos { display: flex; flex-direction: column; gap: .5rem; margin: auto 0 1.2rem; padding-top: 1rem; border-top: 1px dashed var(--borde); font-size: .84rem; }
.plan-datos div { display: flex; justify-content: space-between; gap: .8rem; }
.plan-datos dt { color: var(--tinta-3); }
.plan-datos dd { margin: 0; font-weight: 700; text-align: right; }
.plan-datos dd small { font-weight: 500; color: var(--tinta-3); }
.incluye-todos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.4rem; margin: 2rem auto 0; padding: 1.1rem 1.4rem; border-radius: 18px; background: #f5f8ff; border: 1px solid #dfe8fb; font-size: .9rem; color: var(--tinta-2); }
.incluye-todos li { display: inline-flex; align-items: center; gap: .4rem; }
.incluye-todos .ico { color: var(--verde); }
.incluye-titulo { width: 100%; justify-content: center; font-weight: 800; color: var(--tinta); }

.cotizador { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: clamp(40px, 5vw, 64px); }
.cotizador-titulo { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font-size: 1.2rem; font-weight: 800; letter-spacing: -.015em; }
.cotizador-titulo span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-size: .9rem; color: #fff; background: var(--azul); }
.cotizador-titulo.centrado { justify-content: center; }
.cotizador-titulo small { font-size: .85rem; font-weight: 500; color: var(--tinta-3); }
.cotizador-opciones > .cotizador-titulo:not(:first-child) { margin-top: 2.2rem; }
.complementos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.complemento { display: flex; flex-direction: column; gap: .7rem; padding: 1rem 1.1rem; border-radius: 16px; background: #fff; border: 1px solid var(--borde); transition: border-color .2s, box-shadow .2s, background-color .2s; }
.complemento.activo { border-color: #93b4f5; background: #f7faff; box-shadow: 0 0 0 3px rgba(37, 99, 235, .09); }
.complemento.grupo { grid-column: 1 / -1; }
.complemento-cab { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; }
.complemento-cab input { width: 18px; height: 18px; margin-top: .65rem; accent-color: var(--azul); flex-shrink: 0; }
.complemento-ico { display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; color: var(--azul); background: #eaf1ff; }
.complemento-texto { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.complemento-texto strong { font-size: .95rem; }
.complemento-texto small { font-size: .8rem; line-height: 1.4; color: var(--tinta-3); }
.complemento-precio { display: flex; flex-direction: column; align-items: flex-end; text-align: right; white-space: nowrap; }
.complemento-precio b { font-size: 1.05rem; }
.complemento-precio small { font-size: .74rem; color: var(--tinta-3); }
.complemento-precio s { font-size: .8rem; color: var(--tinta-3); }
.complemento-cantidad { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; padding-left: 2.1rem; font-size: .85rem; color: var(--tinta-2); }
.complemento-cantidad b { margin-left: auto; }
.complemento-nota { display: flex; gap: .4rem; padding-left: 2.1rem; font-size: .78rem; color: #92400e; }
.opciones-grupo { display: flex; flex-wrap: wrap; gap: .4rem; }
.opcion { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 11px; border: 1px solid var(--borde); background: #fff; font-size: .85rem; font-weight: 600; color: var(--tinta-2); transition: all .2s; }
.opcion b { color: var(--azul-2); }
.opcion.activa { color: #fff; background: var(--azul); border-color: var(--azul); }
.opcion.activa b { color: #fff; }
.servicios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.servicio { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--borde); }
.servicio.activo { border-color: #93b4f5; background: #f7faff; }
.servicio strong { display: block; font-size: .92rem; }
.servicio small { font-size: .78rem; color: var(--tinta-3); }
.contador { display: inline-flex; align-items: center; border: 1px solid #d5deea; border-radius: 11px; background: #fff; overflow: hidden; flex-shrink: 0; }
.contador button { display: grid; place-items: center; width: 34px; height: 34px; border: 0; background: #f4f7fb; color: var(--tinta-2); }
.contador button:hover:not([disabled]) { color: #fff; background: var(--azul); }
.contador button[disabled] { opacity: .35; cursor: default; }
.contador input { width: 46px; height: 34px; border: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.contador input::-webkit-outer-spin-button, .contador input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.resumen { position: sticky; top: calc(var(--nav-alto) + 20px); padding: 1.5rem; border-radius: 24px; color: #e2e8f0; background: linear-gradient(160deg, #0b1f3a, #071330); box-shadow: 0 30px 60px -24px rgba(5, 13, 31, .7); }
.resumen-titulo { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; font-size: 1.1rem; font-weight: 800; color: #fff; }
.resumen-lineas { display: flex; flex-direction: column; gap: .55rem; font-size: .88rem; }
.resumen-lineas li { display: flex; justify-content: space-between; gap: 1rem; }
.resumen-lineas span { display: flex; flex-direction: column; }
.resumen-lineas small { font-size: .74rem; color: #94a3b8; }
.resumen-lineas b { color: #fff; white-space: nowrap; }
.resumen-lineas.unica { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed rgba(255, 255, 255, .14); }
.resumen-total { display: flex; flex-direction: column; gap: .4rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.resumen-total div { display: flex; justify-content: space-between; gap: 1rem; }
.resumen-total .ahorro { color: #6ee7b7; }
.resumen-total .grande { margin-top: .3rem; font-size: 1rem; color: #fff; }
.resumen-total .grande b { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; background: linear-gradient(90deg, #93c5fd, var(--cian)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.equivale { font-size: .78rem; color: #94a3b8; text-align: right; }
.resumen-primero { display: flex; justify-content: space-between; margin-top: 1rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .07); font-weight: 700; color: #fff; }
.resumen-acciones { display: flex; flex-direction: column; gap: .5rem; margin-top: 1.2rem; }
.resumen-nota { margin-top: .9rem; font-size: .76rem; color: #94a3b8; text-align: center; }

.lealtad { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(20px, 3vw, 34px); border-radius: 26px; background: linear-gradient(135deg, #fffbeb, #fef3c7); border: 1px solid #fde68a; }
.lealtad h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; color: #78350f; }
.lealtad h3 .ico { color: #d97706; }
.lealtad-texto > p { margin-top: .6rem; color: #78350f; }
.lealtad .lista-check { grid-template-columns: 1fr; --acento: #d97706; }
.lealtad .lista-check li { color: #78350f; }
.lealtad-tabla { padding: 1.2rem; border-radius: 18px; background: #fff; box-shadow: var(--sombra-1); }
.lealtad-tabla > p { font-size: .9rem; color: var(--tinta-2); margin-bottom: .8rem; }
.lealtad-tabla table, .niveles { width: 100%; border-collapse: collapse; font-size: .9rem; }
.lealtad-tabla th, .niveles th { padding: .55rem .6rem; text-align: left; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-3); border-bottom: 1px solid var(--borde); }
.lealtad-tabla td { padding: .6rem; border-bottom: 1px solid #f1f5f9; }
.lealtad-tabla td:nth-child(2) { color: #047857; font-weight: 700; }
.precios-nota { display: flex; gap: .5rem; justify-content: center; max-width: 860px; margin: 2rem auto 0; font-size: .84rem; color: var(--tinta-3); text-align: center; }

/* Datos del cliente antes de la propuesta (Precios › Descargar o imprimir). */
.modal-datos { position: fixed; inset: 0; z-index: 110; display: flex; padding: 24px 16px; overflow-y: auto; background: rgba(2, 6, 23, .78); backdrop-filter: blur(6px); animation: aparecer .25s both; outline: none; }
.modal-tarjeta { position: relative; width: min(640px, 100%); margin: auto; }
.modal-cerrar { position: absolute; top: 14px; right: 14px; }
.modal-tarjeta .form-titulo { display: flex; align-items: center; gap: .5rem; padding-right: 40px; }
.modal-texto { margin: -.5rem 0 1.1rem; font-size: .9rem; color: var(--tinta-3); }
.campo.ancho { grid-column: 1 / -1; }
.campo > span small { font-weight: 500; color: var(--tinta-3); }
.check-lealtad { display: flex; gap: .6rem; align-items: flex-start; margin-top: 14px; font-size: .88rem; color: var(--tinta-2); cursor: pointer; }
.check-lealtad input { flex-shrink: 0; width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--azul); }

/* Propuesta comercial en pantalla (cotizador y panel › Solicitudes), con la barra de imprimir como en el sistema. */
.vista-hoja { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: #6b7280; outline: none; animation: aparecer .2s both; }
.vista-barra { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 10px 16px; color: #fff; background: #0b1f3a; font-size: .95rem; }
.vista-barra > b { display: flex; align-items: center; gap: .5rem; }
.vista-ayuda { font-size: .78rem; opacity: .8; }
.vista-espacio { flex: 1; }
.vista-hojas { flex: 1; overflow: auto; padding: 16px 12px 40px; -webkit-overflow-scrolling: touch; }

/* La hoja: mismo diseño que la cotización y el contrato de Suscripciones del sistema (carta, Arial, azul noche). */
.hdoc { font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 1.35; color: #111; letter-spacing: 0; text-align: left; }
.hdoc *, .hdoc *::before, .hdoc *::after { box-sizing: border-box; }
.hdoc .h-hoja { width: 216mm; max-width: 100%; min-height: 279mm; margin: 0 auto 16px; padding: 14mm; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.hdoc .h-enc { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 2px solid #0b1f3a; }
.hdoc .h-emp { display: flex; gap: 12px; align-items: flex-start; }
.hdoc .h-logo { width: 64px; height: 64px; object-fit: contain; }
.hdoc .h-emp-nom { font-size: 15px; font-weight: bold; color: #0b1f3a; }
.hdoc .h-doc { align-self: flex-start; min-width: 230px; overflow: hidden; border: 1.5px solid #0b1f3a; border-radius: 6px; }
.hdoc .h-doc-tit { padding: 6px 8px; font-size: 11.5px; font-weight: bold; text-align: center; color: #fff; background: #0b1f3a; }
.hdoc .h-doc table { width: 100%; border-collapse: collapse; }
.hdoc .h-doc th { padding: 3px 8px; font-weight: normal; text-align: left; white-space: nowrap; color: #555; }
.hdoc .h-doc td { padding: 3px 8px; text-align: right; }
.hdoc .h-caja { margin-top: 10px; padding: 6px 10px 8px; border: 1px solid #9ca3af; border-radius: 6px; }
.hdoc .h-caja h3 { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .3px; color: #0b1f3a; }
.hdoc .h-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 14px; }
.hdoc .h-d { display: flex; flex-direction: column; min-width: 0; padding-bottom: 2px; border-bottom: 1px dotted #cbd5e1; }
.hdoc .h-d span { font-size: 9px; text-transform: uppercase; color: #6b7280; }
.hdoc .h-d b { font-weight: 600; overflow-wrap: anywhere; }
.hdoc .h-d.h-ancho { grid-column: 1 / -1; }
.hdoc .h-bloque { margin: 14px 0 6px; padding-bottom: 3px; font-size: 12px; font-weight: bold; color: #0b1f3a; border-bottom: 2px solid #0b1f3a; }
.hdoc table.h-det { width: 100%; border-collapse: collapse; }
.hdoc table.h-det th { padding: 4px 6px; font-size: 10px; text-align: left; background: #e5e7eb; border: 1px solid #9ca3af; }
.hdoc table.h-det td { padding: 4px 6px; vertical-align: top; border: 1px solid #d1d5db; }
.hdoc table.h-det td small { color: #4b5563; }
.hdoc table.h-det tfoot td { font-weight: bold; text-align: right; background: #f8fafc; }
.hdoc .h-n { text-align: right !important; white-space: nowrap; }
.hdoc tr.h-sub td { background: #f8fafc; }
.hdoc tr.h-desc td { font-style: italic; color: #9a3412; }
.hdoc .h-frec { display: inline-block; padding: 1px 7px; border-radius: 10px; font-size: 9.5px; font-weight: bold; }
.hdoc .h-unica { color: #166534; background: #dcfce7; border: 1px solid #bbf7d0; }
.hdoc .h-rec { color: #0369a1; background: #e0f2fe; border: 1px solid #bae6fd; }
.hdoc .h-totales { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; margin-top: 14px; break-inside: avoid; page-break-inside: avoid; }
.hdoc .h-cond { flex: 1; padding: 8px 12px; font-size: 10px; color: #475569; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; }
.hdoc .h-cond b { color: #0b1f3a; }
.hdoc .h-cond ul, .hdoc .h-leal ul { margin: 4px 0 0 16px; padding: 0; list-style: disc; }
.hdoc table.h-tot { min-width: 250px; border-collapse: collapse; }
.hdoc table.h-tot th { padding: 3px 8px; font-weight: normal; text-align: left; background: #f9fafb; border: 1px solid #d1d5db; }
.hdoc table.h-tot td { padding: 3px 8px; text-align: right; white-space: nowrap; border: 1px solid #d1d5db; }
.hdoc table.h-tot tr.h-total th, .hdoc table.h-tot tr.h-total td { font-size: 13px; font-weight: bold; color: #fff; background: #0b1f3a; }
.hdoc table.h-tot tr.h-bs th { font-size: 9.5px; text-align: center; color: #374151; background: #fff; }
.hdoc .h-leal { margin-top: 10px; padding: 8px 12px; font-size: 10px; color: #374151; border: 1px solid #e2e8f0; border-radius: 6px; break-inside: avoid; page-break-inside: avoid; }
.hdoc .h-leal table { margin-top: 4px; border-collapse: collapse; }
.hdoc .h-leal th, .hdoc .h-leal td { padding: 2px 8px; border: 1px solid #d1d5db; }
.hdoc .h-leal th { background: #f3f4f6; }
.hdoc .h-firmas { display: flex; gap: 30px; margin-top: 34px; break-inside: avoid; page-break-inside: avoid; }
.hdoc .h-firmas.h-corta { margin-top: 18px; }
.hdoc .h-firma { flex: 1; line-height: 1.45; text-align: center; }
.hdoc .h-linea { height: 38px; margin: 0 10px 4px; border-bottom: 1px solid #111; }
.hdoc .h-corta .h-linea { height: 30px; }
.hdoc .h-campo { margin-top: 5px; text-align: left; }
.hdoc .h-campo span { display: inline-block; min-width: 70%; border-bottom: 1px solid #9ca3af; }
.hdoc .h-sello { display: flex; align-items: center; justify-content: center; width: 110px; height: 60px; margin: 10px auto 0; font-size: 9px; color: #9ca3af; border: 1px dashed #9ca3af; border-radius: 6px; }
.hdoc .h-clausulado h2 { margin: 0 0 2px; font-size: 13px; text-align: center; color: #0b1f3a; }
.hdoc .h-subt { margin-bottom: 10px; font-size: 10px; text-align: center; color: #555; }
.hdoc .h-clausulado h3 { margin: 12px 0 5px; font-size: 11.5px; letter-spacing: .3px; color: #0b1f3a; }
.hdoc .h-clausulado h4 { margin: 9px 0 2px; font-size: 11px; }
.hdoc .h-clausulado p { margin: 3px 0; line-height: 1.42; text-align: justify; }
@media screen and (max-width: 900px) {
    .hdoc .h-hoja { width: auto; min-height: 0; padding: 14px; }
    .hdoc .h-enc, .hdoc .h-totales, .hdoc .h-firmas { flex-direction: column; }
    .hdoc .h-grid { grid-template-columns: 1fr; }
    .hdoc .h-doc, .hdoc table.h-tot { width: 100%; min-width: 0; }
    .hdoc table.h-det { display: block; overflow-x: auto; }
    .vista-ayuda, .vista-espacio { display: none; }
    .vista-barra { padding: 8px 12px; font-size: .85rem; }
    .vista-barra > b { flex-basis: 100%; }
}
#impresion { display: none; }

/* ── Cómo trabajamos ────────────────────────────────────── */
.trabajo { background: var(--fondo-2); }
.pasos { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: paso; position: relative; }
.pasos::before { content: ""; position: absolute; top: 24px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, var(--azul), var(--cian), var(--violeta)); opacity: .35; }
.paso { position: relative; padding: 0 .4rem; text-align: center; }
.paso-num { position: relative; display: grid; place-items: center; width: 50px; height: 50px; margin: 0 auto 1rem; border-radius: 16px; font-size: 1.2rem; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--azul), var(--violeta)); box-shadow: 0 10px 24px -10px rgba(37, 99, 235, .8); }
.paso h3 { font-size: 1.02rem; font-weight: 800; }
.paso p { margin-top: .35rem; font-size: .88rem; color: var(--tinta-3); }
.politicas-titulo { margin: clamp(48px, 6vw, 72px) 0 1.2rem; text-align: center; font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.politicas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.politica { display: flex; gap: .9rem; padding: 1.1rem 1.2rem; border-radius: 16px; background: #fff; border: 1px solid var(--borde); }
.politica-ico { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 12px; color: var(--azul); background: #eaf1ff; }
.politica strong { font-size: .97rem; }
.politica p { margin-top: .2rem; font-size: .9rem; color: var(--tinta-3); }

/* ── Aliados ────────────────────────────────────────────── */
.aliados { color: #fff; background: linear-gradient(135deg, #0b1f3a 0%, #1e1b4b 100%); overflow: hidden; }
.aliados-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.aliados .texto-seccion { color: rgba(203, 213, 225, .85); }
.aliados-botones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.8rem; }
.modalidades { display: flex; flex-direction: column; gap: 10px; }
.modalidad { padding: 1rem 1.2rem; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.modalidad strong { color: #fff; }
.modalidad p { margin-top: .2rem; font-size: .9rem; color: rgba(203, 213, 225, .82); }
.niveles { margin-top: 14px; border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .05); }
.niveles th { color: #94a3b8; border-color: rgba(255, 255, 255, .1); }
.niveles td { padding: .6rem; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #e2e8f0; }
.niveles td:last-child { color: #6ee7b7; font-weight: 700; }

.cotizacion-adjunta { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; padding: .8rem 1rem; border-radius: 14px; background: #eff6ff; border: 1px solid #bfdbfe; color: var(--azul-2); }
.cotizacion-adjunta > div { flex: 1; display: flex; flex-direction: column; }
.cotizacion-adjunta strong { color: var(--tinta); font-size: .92rem; }
.cotizacion-adjunta small { font-size: .82rem; }
.cotizacion-adjunta .icono-btn { width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--tinta-3); }

/* ── Ficha comercial (/ficha) ───────────────────────────── */
.ficha-pagina { background: var(--fondo-2); min-height: 100vh; }
.ficha-barra { position: sticky; top: 0; z-index: 30; color: #fff; background: rgba(5, 13, 31, .9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.ficha-barra-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 60px; flex-wrap: wrap; padding-block: .5rem; }
.ficha-acciones { display: flex; flex-wrap: wrap; gap: .5rem; }
.ficha-portada { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--noche); padding: clamp(40px, 6vw, 72px) 0; }
.ficha-portada-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.ficha-logo { width: 96px; height: 96px; margin-bottom: 1.2rem; filter: drop-shadow(0 12px 30px rgba(37, 99, 235, .55)); }
.ficha-portada h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; background: linear-gradient(92deg, #fff 30%, #93c5fd 70%, var(--cian)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ficha-sub { margin-top: 1rem; font-size: 1.1rem; color: rgba(219, 228, 242, .82); max-width: 36rem; }
.ficha-portada .hero-cifras { margin-top: 2rem; }
.ficha-captura { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 60px -10px rgba(37, 99, 235, .45); }
.ficha-cuerpo { padding-block: clamp(32px, 5vw, 56px) 40px; }
.ficha-intro { display: flex; gap: .8rem; margin-bottom: 1.6rem; padding: 1.2rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--borde); border-left: 5px solid var(--azul); font-size: 1.05rem; color: var(--tinta-2); box-shadow: var(--sombra-1); }
.ficha-intro .ico { margin-top: .2em; color: var(--azul); }
.ficha-bloque { margin-bottom: 1.6rem; padding: clamp(18px, 3vw, 30px); border-radius: 22px; background: #fff; border: 1px solid var(--borde); box-shadow: var(--sombra-1); break-inside: avoid; }
.ficha-bloque > h2, .ficha-bloque > div > h2 { display: flex; align-items: center; gap: .55rem; margin-bottom: 1.1rem; font-size: 1.3rem; font-weight: 800; letter-spacing: -.015em; }
.ficha-bloque h2 .ico { color: var(--azul); }
.ficha-bloque h2 small { font-size: .8rem; font-weight: 600; color: var(--tinta-3); }
.ficha-rubros { background: linear-gradient(135deg, #f0fdf4, #ecfdf5); border-color: #a7f3d0; }
.ficha-rubros .rubros-lista { justify-content: flex-start; }
.ficha-fiscal { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px; align-items: start; }
.ficha-fiscal p { color: var(--tinta-2); }
.ficha-sellos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ficha-sellos li { display: flex; gap: .6rem; padding: .8rem .9rem; border-radius: 14px; background: var(--fondo-2); border: 1px solid var(--borde); font-size: .88rem; }
.ficha-sellos .ico { color: var(--verde); margin-top: .15em; }
.ficha-sellos strong { display: block; }
.ficha-sellos span { color: var(--tinta-3); }
.ficha-novedades { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.ficha-novedad { display: flex; flex-direction: column; gap: .7rem; padding: .8rem; border-radius: 16px; border: 1px solid var(--borde); background: #fff; break-inside: avoid; }
.ficha-novedad-img { aspect-ratio: 16 / 10; overflow: hidden; border-radius: 10px; background: linear-gradient(135deg, color-mix(in srgb, var(--acento) 14%, #fff), #eef3fb); }
.ficha-novedad-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ficha-novedad-img.vertical img { object-fit: contain; padding: 6px; }
.ficha-novedad .cinta-nuevo { margin-bottom: .35rem; font-size: .64rem; }
.ficha-novedad h3 { font-size: .98rem; font-weight: 800; line-height: 1.25; }
.ficha-novedad p { margin-top: .2rem; font-size: .82rem; color: var(--tinta-3); }
.ficha-modulos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.ficha-modulo { padding: 1rem 1.1rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); break-inside: avoid; }
.ficha-modulo h3 { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; font-size: 1rem; font-weight: 800; }
.ficha-modulo .modulo-ico { width: 34px; height: 34px; border-radius: 10px; }
.ficha-modulo .modulo-ico .ico { width: 18px; height: 18px; }
.ficha-modulo ul { display: flex; flex-direction: column; gap: .35rem; font-size: .84rem; color: var(--tinta-2); }
.ficha-modulo li { display: flex; gap: .4rem; }
.ficha-modulo li .ico { color: var(--acento); margin-top: .15em; }
.ficha-modulo li.es-nuevo span { font-weight: 700; color: var(--tinta); }
.ficha-modulo li.es-nuevo span::after { content: " · NUEVO"; font-size: .66rem; font-weight: 800; color: #047857; }
.ficha-tabla { width: 100%; border-collapse: collapse; font-size: .92rem; }
.ficha-tabla th, .ficha-tabla td { padding: .7rem .9rem; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
.ficha-tabla tbody th { width: 210px; font-weight: 800; color: var(--azul-2); }
.ficha-tabla thead th { font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-3); background: var(--fondo-2); }
.precios-tabla tbody th { width: auto; color: var(--tinta); }
.precios-tabla tr.destacado { background: #f5f8ff; }
.ficha-sub-h { margin: 1.3rem 0 .7rem; font-size: 1rem; font-weight: 800; }
.ficha-complementos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 6px 18px; font-size: .88rem; }
.ficha-complementos li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px dashed var(--borde); }
.ficha-complementos b { white-space: nowrap; }
.ficha-nota { margin-top: 1rem; font-size: .82rem; color: var(--tinta-3); }
.ficha-nota a { color: var(--azul-2); font-weight: 700; }
.ficha-contacto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; color: var(--tinta-2); }
.contacto-lineas { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; }
.contacto-lineas li { display: flex; align-items: center; gap: .6rem; }
.contacto-lineas .ico { color: var(--azul); }
.contacto-lineas a { font-weight: 700; color: var(--tinta); }
.ficha-asesores { display: flex; flex-direction: column; gap: .7rem; }
.ficha-asesores li { display: flex; align-items: center; gap: .8rem; }
.ficha-asesores strong { display: block; color: var(--tinta); }
.ficha-asesores small { display: block; font-size: .8rem; color: var(--tinta-3); }
.ficha-asesores a { font-size: .86rem; font-weight: 700; color: var(--whatsapp); }
.ficha-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin: 2rem 0 1rem; }
.ficha-pie { text-align: center; font-size: .82rem; color: var(--tinta-3); }

/* ── Tutoriales (/tutoriales) ───────────────────────────── */
.tut-cabecera { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--noche); margin-top: calc(-1 * var(--nav-alto)); padding: calc(var(--nav-alto) + clamp(36px, 5vw, 64px)) 0 clamp(40px, 5vw, 64px); }
.tut-cabecera-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.tut-cabecera .texto-seccion { color: rgba(203, 213, 225, .85); }
.tut-clave { display: flex; flex-direction: column; gap: .7rem; padding: 1.4rem; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.tut-clave label { display: flex; align-items: center; gap: .45rem; font-weight: 700; }
.tut-clave-fila { display: flex; gap: .5rem; }
.tut-clave-fila input { flex: 1; min-width: 0; padding: .75rem .9rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .95); color: var(--tinta); }
.tut-clave .form-error { margin: 0; }
.tut-pedir { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: #86efac; }
.tut-clave.abierta { flex-direction: row; align-items: center; justify-content: space-between; }
.tut-clave.abierta p { display: flex; align-items: center; gap: .5rem; color: #bbf7d0; font-weight: 600; }
.tut-lista { padding-top: clamp(32px, 4vw, 48px); }
.tut-barra { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.filtros.izquierda { justify-content: flex-start; margin: 0; }
.filtro small { margin-left: .2rem; font-size: .72rem; opacity: .7; }
.tut-vacio { margin: 0 auto; max-width: 560px; }
.grilla-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.tarjeta-video { display: flex; flex-direction: column; width: 100%; padding: 0; overflow: hidden; text-align: left; border-radius: 18px; border: 1px solid var(--borde); background: #fff; box-shadow: var(--sombra-1); transition: transform .3s var(--curva), box-shadow .3s; }
.tarjeta-video:hover { transform: translateY(-4px); box-shadow: var(--sombra-2); }
.video-mini { position: relative; display: block; aspect-ratio: 16 / 9; background: #0b1220; }
.video-mini img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; color: #fff; background: rgba(220, 38, 38, .92); box-shadow: 0 10px 30px -6px rgba(0, 0, 0, .6); transition: transform .25s var(--curva); }
.video-play .ico { width: 24px; height: 24px; margin-left: 3px; fill: currentColor; }
.tarjeta-video:hover .video-play { transform: scale(1.1); }
.video-duracion { position: absolute; right: 8px; bottom: 8px; padding: .1rem .45rem; border-radius: 6px; font-size: .74rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .75); }
.video-texto { display: flex; flex-direction: column; gap: .2rem; padding: .9rem 1rem 1rem; }
.video-texto small { font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--azul-2); }
.video-texto strong { font-size: .98rem; line-height: 1.35; }
.visor-video { padding: 56px 24px; }
.video-figura { width: min(1100px, 100%); margin: 0; display: flex; flex-direction: column; gap: .9rem; }
.video-marco { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.video-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-figura figcaption { display: flex; flex-direction: column; gap: .3rem; color: #cbd5e1; font-size: .92rem; }
.video-figura figcaption strong { font-size: 1.1rem; color: #fff; }
.video-figura figcaption small { font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #93c5fd; }

@media (max-width: 1080px) {
    .ficha-portada-in, .ficha-fiscal, .ficha-contacto, .tut-cabecera-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ficha-sellos { grid-template-columns: 1fr; }
    .ficha-tabla tbody th { width: auto; display: block; padding-bottom: 0; border: 0; }
    .ficha-tabla tbody td { display: block; padding-top: .2rem; }
    .precios-tabla thead { display: none; }
    .precios-tabla tbody tr { display: block; padding: .6rem 0; border-bottom: 1px solid #eef2f7; }
    .precios-tabla tbody th, .precios-tabla tbody td { display: inline-block; border: 0; padding: .15rem .5rem .15rem 0; }
    .tut-clave-fila { flex-direction: column; }
}

/* ── Mercado Libre (incluido gratis) ────────────────────── */
.ml { background: radial-gradient(900px 420px at 100% 0%, #fff7e0, transparent 70%), #fff; }
.ml-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ml .etiqueta-seccion .ico { color: #d97706; }
.ml-precio { margin-top: 1.6rem; padding: 1.1rem 1.3rem; border-radius: 18px; background: #fffbeb; border: 1px solid #fde68a; }
.ml-precio strong { display: block; font-size: clamp(1.35rem, 2.2vw, 1.7rem); font-weight: 800; letter-spacing: -.02em; color: var(--tinta); }
.ml-precio p { margin-top: .35rem; font-size: .95rem; color: var(--tinta-2); }
.ml-precio small { display: flex; align-items: center; gap: .4rem; margin-top: .6rem; font-size: .84rem; font-weight: 600; color: var(--tinta-3); }
.ml-botones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.4rem; }
.ml-ejemplo { padding: 1.5rem 1.6rem; border-radius: 24px; color: #e2e8f0; background: linear-gradient(160deg, #0b1f3a, #13294b); box-shadow: 0 30px 60px -24px rgba(11, 31, 58, .55); }
.ml-ej-etq { font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #93c5fd; }
.ml-ejemplo h3 { margin-top: .3rem; font-size: 1.15rem; font-weight: 800; color: #fff; }
.ml-ejemplo dl { margin-top: 1rem; }
.ml-ejemplo dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .92rem; }
.ml-ejemplo dt { color: #a5b9d6; }
.ml-ejemplo dd { font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.ml-ejemplo dl div.clave dd { font-size: 1.15rem; color: #fbbf24; }
.ml-ej-evento { display: flex; gap: .6rem; margin-top: 1rem; padding: .8rem .9rem; border-radius: 14px; background: rgba(255, 255, 255, .06); font-size: .9rem; }
.ml-ej-evento .ico { flex-shrink: 0; margin-top: .15em; color: #fbbf24; }
.ml-ejemplo small { display: block; margin-top: .7rem; font-size: .75rem; color: #8ea3c2; }
.ml-funciones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.ml-funcion { padding: 1.3rem 1.4rem; border-radius: var(--radio); background: var(--fondo-2); border: 1px solid var(--borde); transition-delay: var(--retraso, 0ms); }
.ml-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #b45309; background: #fef3c7; }
.ml-funcion h3 { margin-top: .8rem; font-size: 1.02rem; font-weight: 800; }
.ml-funcion p { margin-top: .35rem; font-size: .92rem; color: var(--tinta-3); }
.ml-nota { display: flex; gap: .5rem; max-width: 900px; margin: 1.6rem auto 0; padding: .8rem 1rem; border-radius: 14px; background: #f5f8ff; border: 1px solid #dfe8fb; font-size: .88rem; color: var(--tinta-2); }
.ml-marca { max-width: 900px; margin: .9rem auto 0; font-size: .76rem; text-align: center; color: var(--tinta-3); }

/* «Buscamos vendedores» en la portada (usa el fondo de la sección de aliados). */
.aliados .modalidad { display: flex; gap: .7rem; align-items: flex-start; }
.aliados .modalidad .ico { flex-shrink: 0; margin-top: .2em; color: #34d399; }
.aliados .modalidad p { margin: 0; font-size: .98rem; color: #e2e8f0; }

/* ── Página de vendedores (/vendedores) ─────────────────── */
.vend { background: var(--fondo-2); min-height: 100vh; }
.vend-cabecera { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--noche); margin-top: calc(-1 * var(--nav-alto)); padding: calc(var(--nav-alto) + clamp(36px, 5vw, 64px)) 0 clamp(40px, 5vw, 72px); }
.vend-cabecera-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.vend-cabecera .texto-seccion { color: rgba(203, 213, 225, .88); }
.vend-beneficios { display: flex; flex-direction: column; gap: .7rem; margin-top: 1.6rem; }
.vend-beneficios li { display: flex; gap: .6rem; font-size: 1rem; color: #e2e8f0; }
.vend-beneficios .ico { flex-shrink: 0; margin-top: .2em; color: #34d399; }
.vend-acciones { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.vend-form { color: var(--tinta); }
.vend-pestanas { display: flex; gap: 4px; margin-bottom: 1.1rem; padding: 5px; border-radius: 14px; background: #e8eef7; }
.vend-pestanas button { flex: 1; padding: .6rem .8rem; border: 0; border-radius: 10px; background: none; font-weight: 700; color: var(--tinta-2); }
.vend-pestanas button.activa { color: var(--tinta); background: #fff; box-shadow: var(--sombra-1); }
.vend-form-texto { margin-bottom: 1rem; font-size: .92rem; color: var(--tinta-3); }
.vend-form .btn-primario { margin-top: 18px; }
.vend-espacio { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); padding-block: clamp(32px, 5vw, 56px) clamp(56px, 7vw, 96px); }
.vend-espacio h2 { display: flex; align-items: center; gap: .55rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 800; letter-spacing: -.02em; }
.vend-pasos { padding: clamp(22px, 3vw, 32px); border-radius: 24px; background: #fff; border: 1px solid var(--borde); }
.vend-pasos ol { display: grid; gap: .7rem; margin: 1.2rem 0 1.6rem; padding-left: 1.4rem; list-style: decimal; color: var(--tinta-2); }

/* Propuesta exacta */
.prop { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--borde); }
.prop-cab > p { margin-top: .6rem; color: var(--tinta-2); }
.prop-fuentes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 1rem; }
.prop-fuentes > div { display: flex; gap: .8rem; padding: 1rem 1.1rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); }
.prop-fuentes p { font-size: .94rem; color: var(--tinta-2); }
.prop-num { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; font-weight: 800; color: #fff; background: var(--azul); }
.prop-modalidades { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 1.6rem; align-items: start; }
.prop-mod { position: relative; padding: 1.3rem 1.3rem 1.4rem; border-radius: 20px; background: var(--fondo-2); border: 1px solid var(--borde); }
.prop-mod.destacada { background: #fff; border: 2px solid var(--azul); box-shadow: 0 24px 48px -28px rgba(37, 99, 235, .55); }
.prop-cinta { position: absolute; top: -12px; left: 1.2rem; padding: .2rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 800; color: #fff; background: var(--azul); }
.prop-mod h3 { font-size: 1.12rem; font-weight: 800; }
.prop-mod header p { margin-top: .35rem; font-size: .9rem; color: var(--tinta-3); }
.prop-mod table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .9rem; }
.prop-mod th, .prop-mod td { padding: .55rem .2rem; border-bottom: 1px solid var(--borde); text-align: left; vertical-align: top; }
.prop-mod tbody th { font-weight: 500; color: var(--tinta-2); }
.prop-mod tbody td { font-weight: 800; white-space: nowrap; text-align: right; color: var(--tinta); }
.prop-niveles thead th { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta-3); }
.prop-niveles thead th:last-child, .prop-niveles tbody td:last-child { text-align: right; }
.prop-niveles tbody td { font-weight: 500; text-align: left; white-space: normal; }
.prop-niveles tbody td:last-child { font-weight: 800; }
.prop-mod ul { display: grid; gap: .45rem; margin-top: 1rem; padding-left: 1.1rem; list-style: disc; font-size: .86rem; color: var(--tinta-2); }
.prop-reglas { margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--borde); }
.prop-reglas h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.08rem; font-weight: 800; }
.prop-reglas .lista-check .ico { color: var(--verde); }

/* Calculadora del vendedor */
.sim { padding: clamp(22px, 3vw, 36px); border-radius: 24px; background: #fff; border: 1px solid var(--borde); scroll-margin-top: calc(var(--nav-alto) + 16px); }
.sim-cab p { margin-top: .5rem; color: var(--tinta-3); }
.sim-controles { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 1.3rem; }
.sim-grupo { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px; border-radius: 16px; background: #e8eef7; }
.sim-grupo .ciclo { padding: .55rem 1rem; }
.sim-check { display: flex; align-items: flex-start; gap: .5rem; max-width: 420px; font-size: .86rem; color: var(--tinta-2); cursor: pointer; }
.sim-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: .1rem; accent-color: var(--azul); }
.sim-cuerpo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(18px, 3vw, 32px); margin-top: 1.4rem; align-items: start; }
.sim-paquetes { display: flex; flex-direction: column; gap: 10px; }
.sim-paquete { padding: .95rem 1.05rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); transition: border-color .2s, background-color .2s; }
.sim-paquete.activo { background: #fff; border-color: #bfd3fb; box-shadow: 0 10px 26px -18px rgba(37, 99, 235, .6); }
.sim-paquete-cab strong { display: block; font-size: .98rem; font-weight: 800; }
.sim-paquete-cab small { display: block; margin-top: .15rem; font-size: .78rem; color: var(--tinta-3); }
.sim-paga, .sim-ganas { margin-top: .45rem; font-size: .85rem; color: var(--tinta-2); }
.sim-ganas { padding: .45rem .6rem; border-radius: 10px; background: #ecfdf5; color: #065f46; }
.sim-cantidad { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .65rem; font-size: .85rem; font-weight: 700; color: var(--tinta-2); }
.sim-resultado { position: sticky; top: calc(var(--nav-alto) + 16px); padding: clamp(16px, 2.4vw, 24px); border-radius: 20px; background: var(--fondo-2); border: 1px solid var(--borde); }
.sim-heroe span { font-size: .92rem; font-weight: 700; color: var(--tinta-2); }
.sim-heroe strong { display: block; font-size: clamp(2.6rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; color: var(--tinta); }
.sim-cifras { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 1rem; }
.sim-cifras > div { padding: .7rem .8rem; border-radius: 14px; background: #fff; border: 1px solid var(--borde); }
.sim-cifras span { display: block; font-size: .74rem; font-weight: 600; color: var(--tinta-3); }
.sim-cifras b { display: block; margin-top: .2rem; font-size: 1.02rem; color: var(--tinta); }
.sim-vacio { display: flex; gap: .5rem; margin-top: 1.2rem; font-size: .92rem; color: var(--tinta-3); }
.sim-tabla { margin-top: 1rem; font-size: .88rem; }
.sim-tabla summary { display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font-weight: 700; color: var(--azul); }
.sim-tabla .tabla-desliza { margin-top: .7rem; max-height: 360px; overflow: auto; border-radius: 12px; background: #fff; border: 1px solid var(--borde); }
.sim-tabla table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sim-tabla th, .sim-tabla td { padding: .45rem .6rem; border-bottom: 1px solid #eef2f7; text-align: right; white-space: nowrap; }
.sim-tabla th:first-child, .sim-tabla td:first-child { text-align: left; }
.sim-tabla thead th { position: sticky; top: 0; font-size: .72rem; text-transform: uppercase; color: var(--tinta-3); background: #fff; }
.sim-aviso { display: flex; gap: .5rem; margin-top: 1rem; font-size: .8rem; color: var(--tinta-3); }

/* Gráfica de columnas apiladas (HTML: escala con la pantalla sin achicar el texto) */
.graf-leyenda { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.2rem; font-size: .8rem; color: var(--tinta-2); }
.graf-leyenda span { display: inline-flex; align-items: center; gap: .4rem; }
.graf-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; }
.graf-key.rec { background: #2563eb; }
.graf-key.act { background: #059669; }
.graf { margin-top: .8rem; }
.graf-area { position: relative; height: 240px; margin-left: 52px; }
.graf-linea { position: absolute; left: 0; right: 0; height: 0; border-top: 1px solid #e3e9f2; }
.graf-linea span { position: absolute; right: calc(100% + 8px); top: -.6em; font-size: .72rem; color: var(--tinta-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.graf-cols { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); }
.graf-col { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.graf-col:focus-visible { outline: 2px solid var(--azul); outline-offset: -2px; border-radius: 6px; }
.graf-col.hover { background: rgba(37, 99, 235, .06); border-radius: 6px; }
.graf-barra { display: flex; flex-direction: column; justify-content: flex-end; width: 62%; max-width: 24px; height: 100%; }
.graf-seg { display: block; width: 100%; }
.graf-seg.act { background: #059669; border-radius: 4px 4px 0 0; margin-bottom: 2px; }
.graf-seg.rec { background: #2563eb; }
.graf-seg.rec.tope { border-radius: 4px 4px 0 0; }
.graf-col.hover .graf-seg { filter: brightness(1.12); }
.graf-nivel, .graf-valor { position: absolute; left: 50%; transform: translateX(-50%); font-size: .7rem; font-style: normal; font-weight: 700; white-space: nowrap; color: var(--tinta-2); pointer-events: none; }
.graf-valor { font-size: .76rem; font-weight: 800; color: var(--tinta); }
.graf-col:last-child .graf-valor { left: auto; right: 0; transform: none; }
.graf-tip { position: absolute; top: 0; z-index: 2; min-width: 190px; padding: .6rem .75rem; border-radius: 12px; background: #fff; border: 1px solid var(--borde); box-shadow: 0 16px 34px -16px rgba(15, 23, 42, .45); transform: translateX(-50%); pointer-events: none; font-size: .8rem; color: var(--tinta-2); }
.graf-tip.izq { transform: translateX(14px); }
.graf-tip.der { transform: translateX(calc(-100% - 14px)); }
.graf-tip strong { display: block; font-size: 1.05rem; color: var(--tinta); }
.graf-tip small { display: block; margin-bottom: .35rem; color: var(--tinta-3); }
.graf-tip span { display: flex; align-items: center; gap: .4rem; font-variant-numeric: tabular-nums; }
.graf-tip .graf-key { width: 12px; height: 3px; border-radius: 2px; }
.graf-tip .tip-acum { margin-top: .3rem; font-weight: 700; color: var(--tinta); }
.graf-x { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); margin: .4rem 0 0 52px; font-size: .7rem; text-align: center; color: var(--tinta-3); }
.graf-pie { margin: .3rem 0 0 52px; font-size: .74rem; color: var(--tinta-3); }

/* Acceso y estado del registro del vendedor */
.vend-cabecera.compacta { padding-bottom: clamp(28px, 4vw, 44px); }
.vend-cabecera.compacta .vend-cabecera-in { grid-template-columns: 1fr; }
.vend-form-titulo { display: flex; align-items: center; gap: .5rem; margin-bottom: .4rem; font-size: 1.2rem; font-weight: 800; }
.vend-otras { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-top: 1rem; }
.enlace-boton { display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; font: inherit; font-size: .88rem; font-weight: 700; color: var(--azul); cursor: pointer; }
.enlace-boton:hover { text-decoration: underline; }
.form-ok { display: flex; align-items: flex-start; gap: .5rem; margin: 14px 0 0; padding: .7rem .9rem; border-radius: 12px; font-size: .9rem; font-weight: 600; color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; }
.vend-revision { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; border-radius: 20px; background: #fff; border: 1px solid #bfd3fb; }
.vend-revision > .ico { flex-shrink: 0; width: 28px; height: 28px; color: var(--azul); }
.vend-revision > div { flex: 1 1 320px; }
.vend-revision p { margin-top: .2rem; font-size: .92rem; color: var(--tinta-2); }

/* Espacio del vendedor aprobado */
.ev-cargando, .ev-vacio { display: flex; align-items: center; gap: .6rem; padding: 1.2rem 1.3rem; border-radius: 18px; background: #fff; border: 1px dashed #cbd5e1; color: var(--tinta-3); }
.ev-error { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; }
.ev-pestanas { display: flex; gap: 4px; padding: 5px; overflow-x: auto; border-radius: 16px; background: #e8eef7; scrollbar-width: thin; }
.ev-pestanas button { display: inline-flex; flex-shrink: 0; align-items: center; gap: .4rem; padding: .6rem .9rem; border: 0; border-radius: 11px; background: none; font: inherit; font-size: .9rem; font-weight: 700; color: var(--tinta-2); white-space: nowrap; cursor: pointer; }
.ev-pestanas button.activa { color: var(--tinta); background: #fff; box-shadow: var(--sombra-1); }
.ev-pestanas em { min-width: 1.4em; padding: 0 .4em; border-radius: 999px; font-size: .72rem; font-style: normal; line-height: 1.5; text-align: center; color: #fff; background: var(--azul); }
.ev-seccion { display: flex; flex-direction: column; gap: 1rem; padding: clamp(18px, 2.6vw, 30px); border-radius: 24px; background: #fff; border: 1px solid var(--borde); }
.ev-subtitulo { margin-top: .6rem; font-size: 1.05rem; font-weight: 800; }
.ev-kpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.ev-kpi { padding: .85rem .95rem; border-radius: 16px; background: var(--fondo-2); border: 1px solid var(--borde); }
.ev-kpi span { display: block; font-size: .76rem; font-weight: 700; color: var(--tinta-3); }
.ev-kpi b { display: block; margin-top: .2rem; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; color: var(--tinta); font-variant-numeric: tabular-nums; }
.ev-kpi small { display: block; margin-top: .15rem; font-size: .74rem; line-height: 1.35; color: var(--tinta-3); }
.ev-kpi.destacado { background: #eff6ff; border-color: #bfd3fb; }
.ev-nivel { padding: .9rem 1rem; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; }
.ev-nivel-txt { display: flex; align-items: flex-start; gap: .5rem; font-size: .92rem; color: #78350f; }
.ev-nivel-txt .ico { flex-shrink: 0; margin-top: .15em; color: #b45309; }
.ev-barra { height: 8px; margin-top: .6rem; overflow: hidden; border-radius: 999px; background: #fde68a; }
.ev-barra span { display: block; height: 100%; border-radius: 999px; background: #d97706; }
.ev-alertas { display: grid; gap: 8px; }
.ev-alertas li { display: flex; align-items: flex-start; gap: .55rem; padding: .7rem .9rem; border-radius: 14px; font-size: .9rem; }
.ev-alertas li .ico { flex-shrink: 0; margin-top: .2em; }
.ev-alertas li.aviso { color: #7c2d12; background: #fff7ed; border: 1px solid #fed7aa; }
.ev-alertas li.info { color: #1e3a8a; background: #eff6ff; border: 1px solid #bfdbfe; }
.ev-enlace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem; align-items: center; margin-top: .4rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--fondo-2); border: 1px solid var(--borde); }
.ev-enlace h3 { display: flex; align-items: center; gap: .45rem; font-size: 1rem; font-weight: 800; }
.ev-enlace p { margin-top: .25rem; font-size: .86rem; color: var(--tinta-3); }
.ev-enlace-caja { display: flex; flex-wrap: wrap; gap: .5rem; }
.ev-enlace-caja input { flex: 1 1 220px; min-width: 0; padding: .6rem .8rem; border: 1px solid var(--borde); border-radius: 12px; font: inherit; font-size: .88rem; background: #fff; color: var(--tinta); }
.ev-sinc { display: flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--tinta-3); }
.ev-barra-sup { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; }
.ev-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ev-chips button { padding: .45rem .85rem; border: 1px solid var(--borde); border-radius: 999px; background: #fff; font: inherit; font-size: .84rem; font-weight: 700; color: var(--tinta-2); cursor: pointer; }
.ev-chips button.activa { color: #fff; background: var(--tinta); border-color: var(--tinta); }
.ev-nota { display: flex; align-items: flex-start; gap: .5rem; padding: .7rem .9rem; border-radius: 14px; font-size: .84rem; color: var(--tinta-2); background: var(--fondo-2); border: 1px solid var(--borde); }
.ev-nota .ico { flex-shrink: 0; margin-top: .2em; color: var(--azul); }
.ev-nota.sin-borde { padding: 0; background: none; border: 0; }
.ev-tabla { width: 100%; border-collapse: collapse; font-size: .88rem; font-variant-numeric: tabular-nums; }
.ev-tabla th, .ev-tabla td { padding: .6rem .7rem; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; }
.ev-tabla thead th { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta-3); white-space: nowrap; }
.ev-tabla .num { text-align: right; white-space: nowrap; }
.ev-tabla td small { display: block; margin-top: .1rem; font-size: .76rem; color: var(--tinta-3); }
.ev-tabla .ev-debe { font-weight: 800; color: #b91c1c; }
.ev-tabla tr.ev-descuento td { color: #b91c1c; }
.ev-estado { display: inline-flex; align-items: center; gap: .3rem; padding: .15rem .55rem; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; color: #334155; background: #f1f5f9; }
.ev-estado .ico { width: 13px; height: 13px; }
.ev-estado.eAC, .ev-estado.cP, .ev-estado.sok { color: #065f46; background: #d1fae5; }
.ev-estado.eAV, .ev-estado.cC, .ev-estado.scurso { color: #92400e; background: #fef3c7; }
.ev-estado.eSL { color: #9a3412; background: #ffedd5; }
.ev-estado.eSU, .ev-estado.sno { color: #991b1b; background: #fee2e2; }
.ev-estado.cA, .ev-estado.snuevo { color: #1e40af; background: #dbeafe; }
.ev-mes { border: 1px solid var(--borde); border-radius: 18px; overflow: hidden; }
.ev-mes header { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; padding: .8rem 1rem; background: var(--fondo-2); border-bottom: 1px solid var(--borde); }
.ev-mes h3 { font-size: 1rem; font-weight: 800; }
.ev-mes header b { margin-left: auto; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.ev-chip-etapa { display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .65rem; border-radius: 999px; font-size: .78rem; font-weight: 700; color: #334155; background: #f1f5f9; }
.ev-chip-etapa b { font-weight: 800; }
.ev-chip-etapa.tD { color: #1e40af; background: #dbeafe; }
.ev-chip-etapa.tQ { color: #6d28d9; background: #ede9fe; }
.ev-chip-etapa.tG { color: #065f46; background: #d1fae5; }
.ev-chip-etapa.tP { color: #64748b; background: #f1f5f9; text-decoration: line-through; }
.ev-form { box-shadow: none; border: 1px solid #bfd3fb; }
.ev-form h3 { display: flex; align-items: center; gap: .45rem; margin-bottom: .8rem; font-size: 1.05rem; font-weight: 800; }
.ev-form-botones { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1rem; }
.ev-prospectos { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ev-prospecto { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.05rem; border-radius: 18px; background: var(--fondo-2); border: 1px solid var(--borde); }
.ev-prospecto-cab { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; }
.ev-prospecto h4 { font-size: 1rem; font-weight: 800; line-height: 1.3; }
.ev-prospecto-dato { display: flex; align-items: center; gap: .35rem; font-size: .84rem; color: var(--tinta-2); }
.ev-prospecto-notas { font-size: .84rem; color: var(--tinta-3); white-space: pre-line; }
.ev-prospecto-prot { display: flex; align-items: center; gap: .35rem; font-size: .8rem; font-weight: 700; color: #065f46; }
.ev-prospecto-prot.vencida { color: #b45309; }
.ev-prospecto-botones { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.ev-material { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.ev-material-item { display: flex; gap: .8rem; padding: 1rem 1.05rem; border-radius: 18px; background: var(--fondo-2); border: 1px solid var(--borde); transition: border-color .2s, box-shadow .2s; }
.ev-material-item:hover { border-color: #bfd3fb; box-shadow: var(--sombra-1); }
.ev-material-item b { display: block; font-size: .96rem; }
.ev-material-item small { display: block; margin-top: .2rem; font-size: .82rem; color: var(--tinta-3); }
.ev-material-ico { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--azul); background: #dbeafe; }
.ev-datos { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.2rem; align-items: start; }
.ev-perfil { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.ev-perfil h3 { display: flex; align-items: center; gap: .45rem; font-size: 1.05rem; font-weight: 800; }
.ev-perfil dl { display: grid; gap: .5rem; width: 100%; }
.ev-perfil dl div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .45rem; border-bottom: 1px solid #eef2f7; font-size: .9rem; }
.ev-perfil dt { color: var(--tinta-3); }
.ev-perfil dd { font-weight: 700; text-align: right; }

@media (max-width: 1080px) {
    .ml-funciones, .prop-modalidades { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sim-cuerpo { grid-template-columns: 1fr; }
    .sim-resultado { position: static; }
    .ev-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ev-enlace, .ev-datos { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .ml-in, .vend-cabecera-in, .prop-fuentes { grid-template-columns: 1fr; }
    .ml-funciones, .prop-modalidades, .sim-cifras { grid-template-columns: 1fr; }
    .ev-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ev-kpi b { font-size: 1.2rem; }
    .ev-pestanas button span { display: none; }
    .ev-pestanas button.activa span { display: inline; }
    .graf-area { height: 200px; margin-left: 44px; }
    .graf-x, .graf-pie { margin-left: 44px; }
    .graf-nivel { display: none; }
}

/* Ficha en PDF: hoja A4 sin barra ni botones, conservando los colores. */
@media print {
    .ficha-barra, .ficha-cta, .flotante-whatsapp, #blazor-error-ui { display: none !important; }
    .ficha-pagina, .ficha-portada, .ficha-bloque, .ficha-rubros, .ficha-intro { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .ficha-pagina { background: #fff; }
    .ficha-portada { padding: 24px 0; }
    .ficha-portada .aurora { display: none; }
    .ficha-bloque, .ficha-intro { box-shadow: none; }
    .ficha-pagina .contenedor { max-width: none; padding-inline: 10mm; }
}
@page { size: A4; margin: 10mm 0; }

/* Impresión de la propuesta: sale solo la copia que sitio.js pone en #impresion (fuera de la app), en hojas carta. */
@media print {
    html.imprimir-hoja body > *:not(#impresion) { display: none !important; }
    html.imprimir-hoja, html.imprimir-hoja body { height: auto !important; overflow: visible !important; background: #fff !important; }
    html.imprimir-hoja #impresion { display: block; }
    #impresion .hdoc { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    #impresion .h-hoja { width: auto; max-width: none; min-height: 0; margin: 0; padding: 6mm 6mm 8mm; box-shadow: none; }
    #impresion .h-hoja + .h-hoja { break-before: page; page-break-before: always; }
    #impresion h3, #impresion h4, #impresion .h-bloque { break-after: avoid; page-break-after: avoid; }
    #impresion tr { break-inside: avoid; }
}

/* ── Varios ─────────────────────────────────────────────── */
.carga-inicial { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; color: #cbd5e1; background: var(--noche); font-weight: 700; letter-spacing: .02em; }
.carga-inicial img { animation: latido 1.4s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(37, 99, 235, .6)); }
@keyframes latido { 50% { transform: scale(1.08); opacity: .8; } }
.seo-resumen { color: var(--tinta-2); }
.seo-resumen h2 { font-size: 1.8rem; margin: 2rem 0 .6rem; color: var(--tinta); }
.seo-resumen h3 { font-size: 1.1rem; margin: 1.4rem 0 .3rem; color: var(--tinta); }
.seo-resumen ul { list-style: disc; padding-left: 1.2rem; }
.no-encontrada { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 24px; text-align: center; background: var(--fondo-2); }
.no-encontrada h1 { font-size: 2rem; font-weight: 800; }
.no-encontrada p { color: var(--tinta-3); }
#blazor-error-ui { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; padding: .8rem 1.25rem; color: #fff; background: #b91c1c; box-shadow: 0 -4px 20px rgba(0, 0, 0, .2); }
#blazor-error-ui a { margin-left: .6rem; font-weight: 800; text-decoration: underline; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

/* ── Adaptación ─────────────────────────────────────────── */
/* Con Mercado Libre y Vendedores el menú ya no cabe por debajo de 1240 px: pasa al botón de menú. */
@media (max-width: 1240px) {
    .nav-enlaces { display: none; }
    .nav-menu { display: grid; }
    .nav.abierto .nav-enlaces {
        display: flex; flex-direction: column; gap: .3rem; position: fixed; top: var(--nav-alto); left: 0; right: 0; bottom: 0;
        padding: 20px clamp(16px, 4vw, 32px); background: rgba(5, 13, 31, .97); backdrop-filter: blur(16px); animation: aparecer .25s both;
    }
    .nav.abierto .nav-enlace { padding: 1rem; font-size: 1.15rem; border-bottom: 1px solid rgba(255, 255, 255, .06); border-radius: 0; }
}
@media (max-width: 1080px) {
    .nav-portal { display: none; }
    .hero-in { grid-template-columns: 1fr; }
    .hero-texto { text-align: center; }
    .hero-sub { margin-inline: auto; }
    .hero-ctas { justify-content: center; }
    .hero-visual { max-width: 760px; margin: 12px auto 0; width: 100%; }
    .vitrina { grid-template-columns: 1fr; }
    .vitrina-pestanas { position: static; flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
    .vitrina-pestanas::-webkit-scrollbar { display: none; }
    .pestana { flex: 0 0 auto; width: auto; max-width: 280px; scroll-snap-align: start; background: rgba(255, 255, 255, .6); border-color: var(--borde); }
    .pestana-texto small { display: none; }
    .quienes-in, .franja-in, .preguntas-in, .contacto-in { grid-template-columns: 1fr; }
    .asesores-in { grid-template-columns: 1fr; }
    .mapa-caja { position: static; }
    .planes { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
    .cotizador { grid-template-columns: 1fr; }
    .resumen { position: static; }
    .lealtad, .aliados-in { grid-template-columns: 1fr; }
    .pasos { grid-template-columns: 1fr; gap: 20px; }
    .pasos::before { top: 0; bottom: 0; left: 25px; right: auto; width: 2px; height: auto; background: linear-gradient(var(--azul), var(--violeta)); }
    .paso { display: grid; grid-template-columns: 50px 1fr; column-gap: 1rem; text-align: left; padding: 0; }
    .paso-num { grid-row: span 2; margin: 0; }
    .pie-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pie-marca { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    :root { --nav-alto: 64px; }
    .nav .btn-sm { display: none; }
    .hero-cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
    .hero-chip { display: none; }
    .hero-movil { width: 30%; left: -2%; bottom: -14%; }
    .hero-escritorio { transform: none; }
    .marco-barra span { display: none; }
    .lista-check { grid-template-columns: 1fr; }
    .pilares, .sellos { grid-template-columns: 1fr; }
    .planes, .complementos, .servicios, .politicas { grid-template-columns: 1fr; }
    .ciclos { width: 100%; }
    .ciclo { flex: 1; justify-content: center; padding: .6rem .5rem; font-size: .88rem; }
    .complemento-cab { flex-wrap: wrap; }
    .complemento-texto { flex: 1 1 calc(100% - 5rem); }
    .complemento-precio { order: 3; width: 100%; flex-direction: row; justify-content: flex-start; gap: .3rem; align-items: baseline; padding-left: 3.4rem; }
    .anuncio-in { flex-wrap: wrap; gap: .25rem .6rem; }
    .anuncio-texto { flex: 1 1 calc(100% - 70px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
    .anuncio-enlace { order: 4; margin-left: 1.6rem; }
    .anuncio-cerrar { order: 3; }
    .complemento-cantidad, .complemento-nota { padding-left: 0; }
    .campos { grid-template-columns: 1fr; }
    .mapa, .mapa-leyenda { display: none; }
    .selector-estado { display: block; }
    .tarjeta-asesor { flex-direction: column; }
    .cabecera-seccion.con-controles { flex-direction: column; align-items: flex-start; }
    .carrusel { grid-auto-columns: 84%; }
    .flotante-whatsapp span { display: none; }
    .flotante-whatsapp { padding: .85rem; }
    .visor { padding: 64px 12px; }
    .visor-flecha { top: auto; bottom: 14px; margin: 0; }
    .anuncio-texto { font-size: .82rem; }
    .pie-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .revelar { opacity: 1; transform: none; }
    .cinta-lista { animation: none; }
}
