/* Página pública «Módulos» (eikove.app/modulos): diseño propio, claro y fijo en la marca violeta. */
:root { --v: #5F4BBC; --v2: #6B53D1; --prof: #1E1548; --tinta: #191532; --suave: #565069; --linea: #E4E0F2; --lila: #F5F2FD; --curva: cubic-bezier(.22,.7,.2,1); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; overflow-x: clip; background: #fff; }
body { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; color: var(--tinta); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.env { width: min(1280px, 100%); margin-inline: auto; padding-inline: clamp(16px, 4vw, 48px); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 2.8vw, 2.5rem); font-weight: 800; }
.lead { margin: 0; color: var(--suave); font-size: clamp(1rem, 1.25vw, 1.14rem); max-width: 58ch; text-wrap: pretty; }
.saltar { position: absolute; left: -999px; } .saltar:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 10px 14px; }
:focus-visible { outline: 3px solid #A493EE; outline-offset: 3px; border-radius: 8px; }

.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 12px; background: var(--v); color: #fff; font-weight: 700; text-decoration: none; border: 1px solid transparent; transition: background .25s, transform .25s var(--curva), box-shadow .25s; white-space: nowrap; }
.boton svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--curva); }
.boton:hover { background: #4C3AA0; box-shadow: 0 12px 28px -12px rgba(76,58,160,.65); } .boton:hover svg { transform: translateX(4px); } .boton:active { transform: scale(.98); }
.boton.sec { background: #fff; color: var(--v); border-color: #CFC6F0; } .boton.sec:hover { background: var(--lila); box-shadow: none; }
.boton.chico { min-height: 44px; padding: 0 18px; font-size: .92rem; }
.boton.claro { background: #fff; color: #4C3AA0; } .boton.claro:hover { background: #EDE8FC; }

.cab { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.cab.baja { border-color: var(--linea); }
.cab-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.marca { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 800; font-size: 1.16rem; letter-spacing: -.02em; text-decoration: none; }
.marca i { font-style: normal; color: var(--v); } .iso { width: 30px; fill: var(--v2); }
.cab nav { display: flex; gap: 4px; margin-left: auto; }
.cab nav a { display: grid; place-items: center; min-height: 44px; padding: 0 14px; font-weight: 600; font-size: .93rem; color: var(--suave); text-decoration: none; border-radius: 10px; transition: color .2s, background .2s; }
.cab nav a:hover, .cab nav a.act { color: var(--v); background: var(--lila); }
.avance { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--v2); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }

.hero { min-height: calc(100svh - 64px); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: 32px 48px; }
.hero-t { display: grid; gap: 22px; } .hero-b { display: flex; flex-wrap: wrap; gap: 12px; }
.abanico { display: flex; gap: 16px; height: min(620px, calc(100svh - 150px)); min-height: 380px; }
/* Identificadores de módulo (2026-11-25): un tono por módulo, la MISMA luz y el MISMO croma en los cinco.
   --velo tiñe la foto (mezcla «color», no cambia la luminancia: los blancos de las capturas quedan blancos).
   --mod es el acento legible como texto sobre blanco (≥ 5,4:1) para la etiqueta, la barra de avance e iconos. */
.h-pos, .mod-pos { --velo: #817acb; --mod: #5f589f; }
.h-ecommerce, .mod-ecommerce { --velo: #408cca; --mod: #21689e; }
.h-asistencia, .mod-asistencia { --velo: #009c99; --mod: #007673; }
.h-salarios, .mod-salarios { --velo: #af784d; --mod: #905113; }
.h-social, .mod-social { --velo: #bb6692; --mod: #90466d; }

.hoja { position: relative; isolation: isolate; display: flex; align-items: flex-end; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: 18px; padding-bottom: 16px; text-decoration: none; color: #fff; transition: flex-grow .8s var(--curva); background: var(--prof); }
.hoja.act { flex-grow: 6.5; }
.hoja img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--curva), filter .8s; filter: saturate(.7) brightness(.6) contrast(1.02) blur(1.6px); transform: scale(1.06); }
.h-pos img { object-position: 62% 50%; } .h-ecommerce img { object-position: 32% 50%; } .h-asistencia img { object-position: 82% 50%; } .h-salarios img { object-position: 38% 50%; }
.hoja.act img { filter: none; transform: scale(1.03); }
/* Velo de color del módulo: suave y parejo en las cinco; no oscurece ni lava la foto. */
.hoja::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: var(--velo, transparent); mix-blend-mode: color; opacity: .46; transition: opacity .8s var(--curva); }
.hoja.act::before { opacity: .26; }
@supports not (mix-blend-mode: color) { .hoja::before { mix-blend-mode: normal; opacity: .1; } }
.hoja::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(24,14,70,.9), rgba(24,14,70,.42) 30%, rgba(24,14,70,0) 56%); }
.hoja.h-salarios::after { background: linear-gradient(to top, rgba(24,14,70,.95), rgba(24,14,70,.5) 32%, rgba(24,14,70,0) 58%); }
/* Bloque de texto en flujo (2026-11-25): título, beneficio y datos separados por el mismo gap, sin huecos raros. */
.hoja-txt { position: relative; z-index: 3; display: grid; justify-items: center; gap: 9px; width: 100%; min-width: 0; padding-inline: 24px; }
/* Etiqueta VERTICAL: vive solo en la tarjeta cerrada (fundido de entrada al cerrar, de salida al abrir). */
.hoja-v { position: absolute; z-index: 3; left: 50%; bottom: 20px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); font-weight: 700; font-size: 1rem; white-space: nowrap; color: #fff; opacity: 1; transition: opacity .3s var(--curva) .26s; }
.hoja.act .hoja-v { opacity: 0; transition-delay: 0s; }
/* Título horizontal: solo en la tarjeta abierta. */
.hoja-n { font-size: 1.52rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; color: #fff; text-shadow: 0 2px 16px rgba(20,11,62,.7); opacity: 0; transform: translateY(8px); transition: opacity .45s var(--curva), transform .45s var(--curva); }
.hoja.act .hoja-txt { justify-items: start; }
.hoja.act .hoja-n { opacity: 1; transform: none; transition-delay: .1s; }
/* Aparición en fundido escalonado: primero el título, después el beneficio y al final los datos. */
.hoja-b, .hoja-d { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--curva), transform .45s var(--curva); pointer-events: none; }
.hoja-b { margin: 0; color: #fff; font-size: 1.06rem; font-weight: 600; line-height: 1.28; text-wrap: pretty; text-shadow: 0 1px 10px rgba(20,11,62,.6); }
.hoja-d { display: flex; flex-wrap: wrap; gap: 7px; }
.hoja-d b { font-size: .81rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; padding: 5px 11px; border-radius: 999px; color: #fff; background: rgba(20,11,62,.55); border: 1px solid rgba(255,255,255,.36); }
.hoja.act .hoja-b { opacity: 1; transform: none; transition-delay: .22s; }
.hoja.act .hoja-d { opacity: 1; transform: none; transition-delay: .38s; }
@media (prefers-reduced-motion: reduce) { .hoja-b, .hoja-d, .hoja-n, .hoja-v { transition: none; } .hoja-v { transition-delay: 0s !important; } }
@media (max-width: 860px) { .hoja-b, .hoja-d { display: none; } .hoja-n { font-size: 1.3rem; } }
@keyframes sube { from { opacity: 0; translate: 0 14px; } }

.mod { border-top: 1px solid var(--linea); }
.mod-ecommerce, .mod-salarios { background: var(--lila); }
.mod-a { min-height: calc(100svh - 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; padding-block: clamp(32px, 5vh, 72px); }
.mod-a.inv { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .mod-a.inv .foto { order: 2; }
.texto { display: grid; gap: 14px; }
.etq { margin: 0; color: var(--mod, var(--v)); font-weight: 700; }
.foto-marco { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 16 / 11; background: var(--prof); box-shadow: 0 34px 70px -38px rgba(40,24,110,.55); touch-action: pan-y; }
.foto-marco img { width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; transition: transform 1.5s var(--curva); }
.mod-asistencia .foto-marco img { object-position: 60% 50%; }
.foto-pie { position: absolute; inset: auto 0 0; display: flex; align-items: flex-end; gap: 14px; padding: 70px 22px 18px; pointer-events: none; z-index: 2; color: #fff; background: linear-gradient(to top, rgba(20,11,62,.86), rgba(20,11,62,0)); }
.foto-tit { font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.4rem); align-self: center; } .foto-tit.cambia { animation: sube .55s var(--curva); }
.foto-pausa { pointer-events: auto; flex: none; width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(20,11,62,.4); cursor: pointer; }
.foto-pausa svg { width: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; } .foto-pausa .p2, .foto-pausa[aria-pressed="true"] .p1 { display: none; } .foto-pausa[aria-pressed="true"] .p2 { display: inline; }
/* Pantallas del sistema: diapositivas que entran sobre la foto; la otra imagen queda chica al costado. */
.foto { position: relative; }
.pant { position: absolute; inset: 0; padding: 4% 4% 15%; background: linear-gradient(150deg, #CFC6F3, #8F7FDB); opacity: 0; visibility: hidden; transition: opacity .7s, visibility 0s .7s; }
.pant.ve { opacity: 1; visibility: visible; transition: opacity .7s, visibility 0s; }
.foto-marco .pant img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 26px rgba(30,18,90,.38)); transform: translateY(36px) scale(.95); transform-origin: 50% 50%; transition: transform .9s var(--curva); }
.foto-marco .pant.ve img { transform: none; }
.mini { position: absolute; z-index: 3; right: -20px; bottom: -34px; width: 30%; aspect-ratio: 16 / 10; padding: 0; overflow: hidden; border: 4px solid #fff; border-radius: 16px; background: #E9E3FB; box-shadow: 0 22px 44px -18px rgba(40,24,110,.55); cursor: pointer; transition: transform .4s var(--curva); }
.mini:hover { transform: translateY(-5px); }
.mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; opacity: 0; transition: opacity .7s; } .mini img:first-child { object-position: 50% 50%; } .mini img.ve { opacity: 1; }
.js .mini { opacity: 0; transition: opacity .7s .7s, transform .4s var(--curva); } .js .foto.ve .mini { opacity: 1; }
.pasos { display: grid; border-top: 1px solid var(--linea); margin-top: 6px; }
.paso { position: relative; display: block; width: 100%; text-align: left; font: inherit; color: var(--suave); background: none; border: 0; border-bottom: 1px solid var(--linea); padding: 11px 0; min-height: 46px; cursor: pointer; transition: color .25s; }
.paso:hover, .paso.act { color: var(--tinta); } .paso-t { font-weight: 700; display: block; }
.paso-d { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--curva); } .paso-d > span { overflow: hidden; min-height: 0; color: var(--suave); font-size: .96rem; }
.paso.act .paso-d { grid-template-rows: 1fr; }
.paso-b { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--mod, var(--v2)); transform: scaleX(0); transform-origin: 0 50%; }
.paso.act .paso-b { transform: scaleX(1); } .anda .paso.act .paso-b { animation: llena var(--dur, 6s) linear both; } .pausado .paso.act .paso-b { animation-play-state: paused; }
@keyframes llena { from { transform: scaleX(0); } }
.compra { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 8px; } .precio { margin: 0; flex: 1 1 200px; font-size: .88rem; color: var(--suave); } .precio b { color: var(--tinta); }

.mod-b { padding-block: 0 clamp(56px, 9vh, 104px); } .mod-b h3 { font-size: clamp(1.25rem, 1.9vw, 1.6rem); font-weight: 800; margin-bottom: 26px; }
.func { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--linea); border: 1px solid var(--linea); border-radius: 20px; overflow: hidden; }
.func li { display: grid; grid-template-columns: 34px 1fr; gap: 2px 14px; align-content: start; padding: 22px; background: #fff; }
.func svg { grid-row: 1 / 3; width: 28px; fill: none; stroke: var(--mod, var(--v2)); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--curva); } .func li:hover svg { transform: translateY(-3px); }
.func b { font-size: 1.01rem; } .func span { color: var(--suave); font-size: .93rem; }
.cierre { margin-top: 28px; }

.fin { background: var(--prof); color: #fff; padding-block: clamp(64px, 12vh, 130px); } .fin h2 { max-width: 20ch; }
.etapas { list-style: none; counter-reset: e; margin: 44px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.etapas li { counter-increment: e; border-top: 1px solid rgba(255,255,255,.28); padding-top: 18px; display: grid; gap: 6px; align-content: start; } .etapas b { font-size: 1.15rem; } .etapas b::before { content: counter(e) '. '; color: #B7A8F5; } .etapas span { color: #D3CBF2; max-width: 38ch; }
.pie { background: var(--prof); color: #C3B9EA; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; padding-block: 14px calc(14px + env(safe-area-inset-bottom)); } .pie .env { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; } .pie a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 18px; text-decoration: none; } .pie a:hover { color: #fff; }

.puntos { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 20; display: grid; }
.puntos a { width: 24px; height: 28px; display: grid; place-items: center; } .puntos a::before { content: ''; width: 7px; height: 7px; border-radius: 9px; background: #9D90CF; transition: height .35s var(--curva), background .3s; } .puntos a.act::before { height: 24px; background: #8E7BE6; }

.js .rev { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--curva), transform .7s var(--curva); transition-delay: var(--d, 0s); } .js .rev.ve { opacity: 1; transform: none; }
.js .foto-marco { clip-path: inset(0 0 100% 0 round 24px); transition: clip-path 1.1s var(--curva); } .js .foto.ve .foto-marco { clip-path: inset(0 0 0 0 round 24px); }

@media (min-width: 961px) { .mod-pos .paso { padding-block: 8px; min-height: 42px; } .mod-pos .texto .pasos { min-height: calc(var(--n) * 42px + 78px); } .mod-pos .texto { gap: 11px; } .mod-pos h2 { font-size: clamp(1.6rem, 2.5vw, 2.25rem); } }
@media (max-width: 1340px) { .puntos { display: none; } }
@media (max-width: 960px) {
  .hero, .mod-a, .mod-a.inv { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 24px; } .mod-a.inv .foto { order: 0; }
  .hero { padding-block: 26px 40px; } .hero-t { gap: 16px; } .abanico { height: clamp(300px, 48svh, 460px); min-height: 0; gap: 7px; } .hoja { border-radius: 14px; }
  .mod-a { padding-block: 28px 40px; } .func { grid-template-columns: repeat(2, minmax(0, 1fr)); } .etapas { grid-template-columns: 1fr; gap: 22px; margin: 32px 0; }
}
@media (max-width: 560px) {
  .foto { margin-inline: -16px; } .foto-marco { border-radius: 0; aspect-ratio: 4 / 3; box-shadow: none; } .js .foto-marco { clip-path: inset(0 0 100% 0); } .js .foto.ve .foto-marco { clip-path: inset(0); }
  .mini { right: 14px; bottom: -26px; width: 34%; border-width: 3px; border-radius: 12px; }
  .mod-a { padding-top: 0; gap: 34px; } .mod:not(.mod-asistencia) .foto-tit { max-width: 150px; line-height: 1.2; } .foto-pie { padding: 54px 16px 12px; }
  /* La descripción no cambia la altura: siempre se reserva la misma, así la página no salta sola. */
  .pasos { min-height: calc(var(--n, 4) * 48px + 84px); align-content: start; }
  .compra .boton, .cierre .boton, .fin-b .boton { width: 100%; } .hero-b .boton { flex: 1 1 100%; } .precio { flex-basis: 100%; text-align: center; }
  .func li { grid-template-columns: minmax(0, 1fr); padding: 16px 14px; } .func svg { grid-row: auto; width: 26px; margin-bottom: 4px; } .func span { font-size: .86rem; line-height: 1.45; } .func b { font-size: .95rem; line-height: 1.25; }
}
@media (min-width: 561px) { .pasos { min-height: calc(var(--n, 4) * 47px + 80px); align-content: start; } }
@media (max-width: 860px) { html { scrollbar-width: none; } html::-webkit-scrollbar { display: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ---- Barra superior: módulos a la izquierda, plataforma y planes a la derecha ---- */
/* Accesos de la derecha: texto limpio como los módulos, separados por una línea fina. */
.cab nav { margin-left: auto; }
.cab-acc { display: flex; gap: 4px; padding-left: 14px; border-left: 1px solid var(--linea); }
.cab-acc .ac { display: grid; place-items: center; min-height: 44px; padding: 0 12px; font-weight: 600; font-size: .93rem; color: var(--suave); text-decoration: none; white-space: nowrap; border-radius: 10px; transition: color .2s, background .2s; }
.cab-acc .ac:hover { color: var(--v); background: var(--lila); }
.cab-acc .ac.fuerte { color: var(--v); font-weight: 800; }
@media (max-width: 1160px) { .cab-in { gap: 12px; } .cab nav a, .cab-acc .ac { padding: 0 8px; font-size: .86rem; } .cab-acc { padding-left: 10px; } }
@media (max-width: 1020px) { .cab nav { display: none; } .cab-acc { margin-left: auto; border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .cab-in { gap: 6px; } .cab-acc { gap: 0; } .cab-acc .ac { padding: 0 7px; font-size: .8rem; } }
@media (max-width: 359px) { .cab-acc .ac { padding: 0 4px; font-size: .72rem; } .marca .iso { width: 24px; } }
/* ---- Panel de planes ---- */
.planes { width: min(1180px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--tinta); overflow: hidden; box-shadow: 0 40px 90px -30px rgba(20,11,62,.6); }
.planes[open] { display: flex; flex-direction: column; animation: sube .4s var(--curva); } .planes::backdrop { background: rgba(20,11,62,.55); backdrop-filter: blur(6px); }
.planes-cab { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 6px 24px; } .planes-cab h2 { font-size: 1.4rem; }
.planes-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; cursor: pointer; } .planes-x:hover { background: var(--lila); } .planes-x svg { width: 20px; fill: none; stroke: var(--tinta); stroke-width: 2.2; stroke-linecap: round; }
.planes-cuerpo { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 6px 24px 14px; } .planes-cuerpo > p { color: var(--suave); }
.planes-pie { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); } .planes-pie p { margin: 0; font-size: .86rem; color: var(--suave); } .planes-pie p.mal { color: #B91C1C; font-weight: 600; } .planes-pie .boton { min-width: 200px; } .planes-pie .boton:disabled { opacity: .55; }
html.sin-scroll { overflow: hidden; }
.planes .pl-info { display: none; }
@media (max-width: 640px) {
  .planes { width: 100%; max-height: 100dvh; margin: auto 0 0; border-radius: 22px 22px 0 0; }
  .planes-cab { padding: 6px 8px 0 16px; } .planes-cab h2 { font-size: 1.15rem; } .planes-cuerpo { padding: 4px 14px 8px; } .planes-pie { flex-direction: column; align-items: stretch; gap: 6px; padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); } .planes-pie p { font-size: .74rem; line-height: 1.3; }
}
@media (max-width: 640px) and (max-height: 720px) { .planes-pie p:not(.mal) { display: none; } }

/* ---- Atrás / Siguiente ---- */
.boton { font-family: inherit; font-size: 1rem; cursor: pointer; } .boton.chico { font-size: .92rem; }
.ir-at { width: 50px; padding: 0; flex: none; } .ir-at:hover svg { transform: translateX(-4px); } .ir-sg { padding: 0 18px; }
.compra { gap: 10px; } .compra .precio { flex-basis: 100%; margin-top: 2px; }
.cierre, .fin-b { display: flex; flex-wrap: wrap; gap: 10px; } .cierre .boton:last-child { background: var(--v); color: #fff; border-color: transparent; } .cierre .boton:last-child:hover { background: #4C3AA0; }
.boton.vidrio { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.35); } .boton.vidrio:hover { background: rgba(255,255,255,.2); }
.mod-b { min-height: calc(100svh - 64px); display: flex; flex-direction: column; justify-content: center; padding-block: 32px; }
.fin { min-height: calc(100svh - 64px); display: grid; align-items: center; } .fin > .env { width: 100%; max-width: 1280px; }
@media (min-width: 961px) and (max-height: 800px) { .mod-b { padding-block: 18px; } .mod-b h3 { margin-bottom: 14px; } .func li { padding: 13px 18px; } .func span { font-size: .87rem; line-height: 1.4; } .cierre { margin-top: 16px; } }
.pasobar { display: none; }
@media (max-width: 960px) {
  .mod-b, .fin { min-height: 0; } .mod-b { padding-block: 24px 48px; }
  .compra .ir-at, .compra .ir-sg, .cierre .ir-at, .cierre .ir-sg, .fin-b .ir-at { display: none; }
  body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); background: var(--prof); } main, .cab { background-color: #fff; }
  .pasobar { position: fixed; z-index: 25; inset: auto 0 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; padding: 7px 12px calc(7px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-top: 1px solid var(--linea); }
  .pasobar span { font-size: .78rem; color: var(--suave); text-align: center; } .pasobar button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; font: 700 .95rem 'Plus Jakarta Sans', system-ui, sans-serif; border-radius: 12px; border: 1px solid #CFC6F0; background: #fff; color: var(--v); cursor: pointer; } .pasobar button:last-child { background: var(--v); border-color: var(--v); color: #fff; } .pasobar button:disabled { opacity: .4; }
  .pasobar svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
}
@media (max-width: 560px) { .cab-in { row-gap: 8px; } }

/* ---- Red social y ajuste de cada cuadro a una pantalla ---- */
.mod-social { background: #fff; } .mod-social .foto-marco { background: #E4E1F0; aspect-ratio: 16 / 11; } .foto-nota { margin-left: auto; font-size: .76rem; opacity: .85; align-self: center; }
.segs, .hero-marca { display: none; }
@media (min-width: 961px) { .mod-a { padding-block: 16px; } .mod-b { padding-block: 18px; } }
@media (min-width: 961px) and (max-height: 780px) {
  .texto { gap: 8px !important; } .texto .lead, .mod .etq { display: none; } .mod h2 { font-size: 1.55rem !important; }
  .mod .paso { padding-block: 5px; min-height: 36px; } .mod .texto .pasos { min-height: calc(var(--n) * 36px + 54px); margin-top: 2px; } .paso-d > span { font-size: .88rem; } .compra { margin-top: 2px; } .compra .boton { min-height: 44px; } .compra .precio { font-size: .82rem; }
  .foto-marco { max-height: calc(100svh - 170px); width: 100%; }
  .mod-b h3 { margin-bottom: 10px; } .func li { padding: 9px 16px; } .func span { font-size: .83rem; } .cierre { margin-top: 12px; }
}
@media (max-width: 960px) {
  .hero, .mod-a, .mod-a.inv, .mod-b, .fin { min-height: calc(100svh - 64px - 60px - env(safe-area-inset-bottom)); align-content: center; }
  .solo-pc { display: none; }
  .hero { padding-block: 14px; gap: 18px; } .hero-t { gap: 12px; } .abanico { height: clamp(150px, calc(100svh - 470px), 620px); } .hero-b .boton { flex: 1 1 0; padding: 0 12px; } .hero-marca { display: block; margin: 0; font-weight: 800; color: var(--v); }
  .mod-a, .mod-a.inv { padding-block: 16px; gap: 40px; } .foto-marco, .mod-social .foto-marco { aspect-ratio: auto; height: clamp(130px, calc(100svh - 545px), 560px); } .mod-asistencia .mod-a { gap: 18px; }
  .texto { gap: 8px; } .mod h2 { font-size: clamp(1.32rem, 4vw, 2.1rem); } .mod .texto .lead { display: none; }
  .mod .texto .pasos { display: block; min-height: 0; margin: 0; border: 0; } .mod .paso { display: none; } .mod .paso.act { display: block; min-height: 104px; padding: 8px 0 0; border: 0; animation: sube .45s var(--curva); cursor: default; } .mod .paso-b { display: none; } .paso-t { font-size: 1.05rem; }
  .segs { display: flex; gap: 6px; } .segs button { flex: 1; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; } .segs button::before { content: ''; display: block; height: 4px; border-radius: 4px; background: #D9D2F2; transition: background .3s; } .segs button.act::before { background: var(--mod, var(--v2)); }
  .compra { margin-top: 0; gap: 6px; } .compra .precio { font-size: .82rem; line-height: 1.35; margin: 0; }
  .mod-b { padding-block: 16px; } .mod-b h3 { margin-bottom: 14px; } .cierre { margin-top: 14px; }
  .fin { padding-block: 24px; } .etapas { gap: 14px; margin: 20px 0; } .etapas li { padding-top: 12px; }
}
@media (max-width: 560px) {
  .cab-in { flex-wrap: nowrap; height: 60px; padding-block: 0; } html { scroll-padding-top: 60px; } .marca { flex: 1; } .marca span { display: none; }
  .mod-a, .mod-a.inv { padding-top: 0; align-content: start; } .foto-tit { font-size: 1rem; }
  .func li { grid-template-columns: 24px minmax(0, 1fr); align-items: center; gap: 10px; padding: 0 10px; min-height: clamp(46px, 7.6svh, 66px); } .func li svg { grid-row: auto; width: 23px; margin: 0; } .func li span { display: none; } .func li b { font-size: .87rem; line-height: 1.2; } .func li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .etapas span { font-size: .92rem; line-height: 1.4; }
}
@media (max-width: 960px) and (max-height: 700px) { .mod .etq { display: none; } .texto { gap: 4px; } .segs button { height: 24px; } .compra .boton { min-height: 46px; } .mod .paso.act { min-height: 96px; } .mod-a, .mod-a.inv { gap: 32px; } .foto-marco, .mod-social .foto-marco { height: clamp(120px, calc(100svh - 515px), 300px); } }
/* Celdas de «Qué incluye»: todas del mismo alto y con el contenido centrado. */
.func { grid-auto-rows: 1fr; } .func li { align-content: center; }
@media (max-width: 560px) {
  .func li, .func li:last-child:nth-child(odd) { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 6px 8px; min-height: clamp(56px, 9svh, 84px); }
  .func li svg { margin: 0; width: 24px; height: 24px; flex: none; } .func li b { margin: 0; text-wrap: balance; }
  .mod-b h3 { text-align: center; text-wrap: balance; }
}
@media (max-width: 560px) and (max-height: 700px) { .func li, .func li:last-child:nth-child(odd) { min-height: 54px; gap: 3px; } .func li svg { width: 20px; height: 20px; } .func li b { font-size: .82rem; } .mod-b { padding-block: 8px; } .mod-b h3 { margin-bottom: 8px; font-size: 1.1rem; } .cierre { margin-top: 10px; } }
@media (min-width: 561px) and (max-width: 960px) {
  .func { grid-template-columns: repeat(3, minmax(0, 1fr)); } .func li { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 5px; padding: 18px 14px; } .func svg { margin: 0; flex: none; height: 28px; }
  .mod-b h3 { text-align: center; } .cierre { justify-content: center; }
}
@media (max-width: 560px) { .pasobar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; } .pasobar button { gap: 5px; font-size: .88rem; } .pasobar span { font-size: .72rem; } }
.h-social img { object-position: 0 50%; transform-origin: 0 50%; }
.hoja.h-social::after { background: linear-gradient(to top, rgba(24,14,70,.96) 14%, rgba(24,14,70,.75) 24%, rgba(24,14,70,0) 42%); }
.mod-social .mod-a .texto { padding-top: 0; }

/* ---- Presupuesto ---- */
.presu { border-top: 1px solid var(--linea); background: var(--lila); padding-block: clamp(40px, 8vh, 90px); }
.presu h2 { margin: 0 0 8px; } .presu .lead { margin-bottom: 22px; }
.presu-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 18px; margin-top: 18px; align-items: start; }
.presu-aj { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; align-content: start; }
.presu-grupo, .presu-res { background: #fff; border: 1px solid var(--linea); border-radius: 18px; padding: 16px 18px; }
.presu-grupo h3, .presu-res h3 { margin: 0 0 10px; font-size: 1.02rem; }
.presu-fila { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .94rem; }
.presu-paso { display: flex; align-items: center; gap: 6px; }
.presu-paso button { width: 44px; height: 44px; border: 1px solid #CFC6F0; border-radius: 12px; background: #fff; color: var(--v); font-size: 1.3rem; line-height: 1; cursor: pointer; } .presu-paso button:hover { background: var(--lila); }
.presu-paso input { width: 64px; height: 44px; text-align: center; border: 1px solid var(--linea); border-radius: 12px; font: inherit; font-weight: 700; color: var(--tinta); -moz-appearance: textfield; } .presu-paso input::-webkit-outer-spin-button, .presu-paso input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.presu-nota, .presu-vacio { margin: 0; color: var(--suave); font-size: .88rem; } .presu-nota.mal { color: #B91C1C; font-weight: 600; } .presu-err { color: #B91C1C; font-weight: 600; font-size: .88rem; margin: 8px 0 0; }
.presu-lis { list-style: none; margin: 0 0 10px; padding: 0; } .presu-lis li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--linea); font-size: .9rem; } .presu-lis b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.presu-tot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 10px 0 4px; } .presu-tot b { font-size: 1.5rem; color: var(--v); font-variant-numeric: tabular-nums; } .presu-tot.uno b { font-size: 1.05rem; color: var(--tinta); }
.presu-pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 20px; } .presu-pie .boton { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 860px) { .presu-grid { grid-template-columns: 1fr; } .presu-pie .boton { width: 100%; } }
/* «Ver precios» junto a «Adquirir»: salta al mismo módulo en /precios. */
.compra .boton.vp { padding: 0 18px; }
@media (max-width: 560px) { .compra .boton:not(.ir-at):not(.ir-sg) { width: auto; flex: 1 1 0; padding: 0 8px; font-size: .92rem; gap: 6px; } .compra .boton.vp { flex: 0 1 auto; padding: 0 14px; } }
/* Computadora: una sola fila — flechas chicas y los dos botones principales parejos. */
@media (min-width: 961px) { .compra:has(.vp) { flex-wrap: nowrap; gap: 8px; } .compra:has(.vp) .ir-at, .compra:has(.vp) .ir-sg { flex: 0 0 44px; width: 44px; padding: 0; font-size: 0; gap: 0; } .compra:has(.vp) .ir-sg svg { width: 18px; } .compra:has(.vp) .boton:not(.ir-at):not(.ir-sg) { flex: 1 1 0; min-width: 0; padding: 0 8px; font-size: .9rem; gap: 6px; white-space: normal; text-align: center; line-height: 1.2; } }

/* Contacto por WhatsApp (portada y /precios) */
.wa-boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 10px 22px; border-radius: 12px; background: #12703A; color: #fff; font-weight: 700; text-decoration: none; text-align: center; line-height: 1.25; transition: background .25s; }
.wa-boton:hover { background: #0D5A2E; } .wa-boton svg { flex: none; }
.wa-franja { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 14px 20px; width: fit-content; max-width: 100%; margin-top: 28px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.28); border-radius: 18px; }
.wa-franja p { margin: 0; display: grid; gap: 2px; } .wa-franja b { font-size: 1.15rem; } .wa-franja span { color: #D3CBF2; } .wa-franja .wa-boton span { color: #fff; }
.pie .pie-wa a { gap: 8px; color: #fff; font-weight: 700; }
@media (max-width: 560px) { .wa-franja { margin-top: 18px; padding: 16px; width: auto; text-align: center; justify-content: center; } .wa-franja .wa-boton { width: 100%; } }
@media (min-width: 961px) { .fin-fila { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 32px; } .fin-fila > .fin-b { margin: 0; } .fin-fila > .wa-franja { margin: 0 0 0 auto; padding: 10px 12px 10px 18px; } }
.cab nav a.fuerte { color: var(--v); font-weight: 800; }

.mas-pres{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin:0 0 18px;font-size:.92rem}.mas-pres b{font-weight:700;margin-right:4px}.mas-pres a{color:#fff;text-decoration:none;padding:7px 14px;border-radius:99px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.28);transition:background .2s}.mas-pres a:hover{background:rgba(255,255,255,.26)}

/* Módulos nuevos (2026-12-05) */
.h-claude, .mod-claude { --velo: #c46a4a; --mod: #a2411f; }
.h-claude img { object-position: 50% 50%; }
.h-presupuestos, .mod-presupuestos { --velo: #5b6fd6; --mod: #3b4cb0; }
.h-presupuestos img { object-position: 50% 40%; }
.h-agendamientos, .mod-agendamientos { --velo: #a65bc4; --mod: #7e32a0; }
.h-agendamientos img { object-position: 50% 40%; }
.h-geolocalizacion, .mod-geolocalizacion { --velo: #3f9e6a; --mod: #1f7a47; }
.h-geolocalizacion img { object-position: 50% 50%; }
.h-vehiculos, .mod-vehiculos { --velo: #cc5a5a; --mod: #b32d2d; }
.h-vehiculos img { object-position: 50% 40%; }
.mod-presupuestos, .mod-geolocalizacion { background: var(--lila); }
.cab nav a{white-space:nowrap}@media(min-width:861px) and (max-width:1280px){.cab nav a{font-size:.82rem;padding-inline:8px}}

.cab nav a,.cab nav summary{white-space:nowrap}
.mas{position:relative}.mas summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;min-height:44px;padding:0 14px;font-weight:600;font-size:.93rem;color:var(--suave);border-radius:10px}
.mas summary::-webkit-details-marker{display:none}.mas summary svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.mas[open] summary svg{transform:rotate(180deg)}.mas summary:hover,.mas[open] summary,.mas:has(a.act) summary{color:var(--v);background:var(--lila)}
.mas-lista{position:absolute;right:0;top:calc(100% + 8px);z-index:60;min-width:230px;display:grid;gap:2px;padding:8px;background:#fff;border:1px solid #e4def8;border-radius:14px;box-shadow:0 18px 50px rgba(43,35,80,.18)}
.mas-lista a{justify-content:start!important;display:flex!important;padding:0 14px!important;min-height:42px!important}
@media(min-width:861px) and (max-width:1100px){.cab nav a,.mas summary{padding-inline:9px;font-size:.86rem}}

/* Paginador del abanico (de a 4) */
.hoja[hidden] { display: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.pg-f { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; min-width: 44px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--v, #5b3fd1); background: #fff; border: 1.5px solid rgba(91,63,209,.28); transition: background .2s, transform .15s; }
.pg-f:hover { background: #f1ecff; } .pg-f:active { transform: scale(.96); } .pg-f:focus-visible { outline: 2px solid var(--v, #5b3fd1); outline-offset: 2px; }
.pg-f svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pg-p { display: inline-flex; gap: 6px; }
.pg-d { all: unset; box-sizing: border-box; cursor: pointer; width: 28px; height: 28px; display: grid; place-items: center; }
.pg-d::before { content: ''; width: 9px; height: 9px; border-radius: 999px; background: rgba(91,63,209,.28); transition: width .3s, background .3s; }
.pg-d.on::before { width: 26px; background: var(--v, #5b3fd1); }
@media (max-width: 860px) { .abanico { gap: 10px; } .pg-s span { display: none; } .pg-s { padding: 0; } .pager { margin-top: 16px; gap: 12px; } }

/* Módulos nuevos (2026-12-05) */
.h-costo, .mod-costo { --velo: #2a9bb5; --mod: #0f7088; }
.h-costo img { object-position: 50% 30%; }
