@font-face { font-family: 'Jost'; src: url(../fonts/jost-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Inter'; src: url(../fonts/inter-latin-wght-normal.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

/*
  Identidad Zoonim (derivada de sus logos, no de pullmyapp):
  · berenjena del logotipo como color de marca y de acción
  · naranja de Armadillo como acento (la «O» de los botones, subrayados, numeración)
  · menta/petróleo del vídeo de Armadillo para las líneas discontinuas de conexión
  · fondo lila frío; formas: círculos (las OO), diagonales (Z, N, M), versalitas espaciadas («SYSTEMS»)
*/
:root {
  --night: #2b1838;
  --night-soft: #36214a;
  --night-elev: #412b57;
  --night-line: #503a68;
  --on-night: #f6f2fa;
  --on-night-muted: #c4b8d3;

  --paper: #f5f3f8;
  --surface: #ffffff;
  --sunken: #ece8f1;
  --line: #e1dae8;
  --line-strong: #c9bfd4;
  --ink: #22142e;
  --ink-muted: #5b5068;
  --ink-subtle: #6e6479;

  --orange: #f07a1f;
  --orange-text: #b4500a;   /* 5,1:1 sobre blanco */
  --mint: #4fc3c0;
  --petrol: #1f5f70;

  --pma-blue: #1554e5;
  --pma-tint: #e8eefc;

  --font-display: 'Jost', 'Futura', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cut: clamp(2rem, 6vw, 5.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); -webkit-font-smoothing: antialiased; scroll-padding-top: 5rem; }
body { margin: 0; font-family: var(--font-sans); font-feature-settings: 'cv05','cv11','ss01'; line-height: 1.55; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
::selection { background: #ffd9bb; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 76rem; margin-inline: auto; padding-inline: 1.5rem; }
.rel { position: relative; }
.on-night { background: var(--night); color: var(--on-night); }

/* ── Botones: cápsula + «O» naranja con la flecha (las OO del logo) ── */
.btn { display: inline-flex; align-items: center; gap: .9rem; min-height: 3.2rem; padding: .35rem .35rem .35rem 1.4rem; border-radius: 999px; border: 0; background: var(--night); color: #fff; font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .25s, color .25s; }
.btn-o { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--orange); color: var(--night); flex: none; transition: transform .45s var(--ease); }
.btn-o svg { width: 1rem; height: 1rem; }
.btn:hover .btn-o { transform: rotate(-45deg) scale(1.06); }
.btn:hover { background: #3c2350; }
.btn-sm { min-height: 2.6rem; font-size: .88rem; padding-left: 1.1rem; gap: .7rem; }
.btn-sm .btn-o { width: 2rem; height: 2rem; }
.on-night .btn, .site-header.is-dark .btn { background: var(--orange); color: var(--night); }
.on-night .btn .btn-o, .site-header.is-dark .btn .btn-o { background: var(--night); color: var(--orange); }
.on-night .btn:hover { background: #ff8f3a; }
.btn-pma { background: var(--pma-blue); }
.btn-pma .btn-o { background: #fff; color: var(--pma-blue); }
.btn-pma:hover { background: #1043b8; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost .btn-o { background: var(--night); color: var(--orange); }
.btn-ghost:hover .btn-o { transform: scale(1.08); }
.link-quiet { display: inline-flex; align-items: center; min-height: 3rem; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .35em; text-decoration-color: var(--orange); }
.link-quiet:hover { text-decoration-thickness: 3px; }
.ctas { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; margin-top: 1.8rem; }

/* ── Etiquetas en versalitas espaciadas, numeradas dentro de una «O» ── */
.label { display: inline-flex; align-items: center; gap: .75rem; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); }
.label .n { display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; border: 1.5px solid var(--orange); color: var(--orange-text); font-family: var(--font-display); font-size: .8rem; letter-spacing: 0; }
.on-night .label { color: var(--on-night-muted); }
.on-night .label .n { color: var(--orange); }

.section { padding-block: 7rem; }
.section-head { max-width: 46rem; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.7rem); margin-top: 1.2rem; }
.section-head p:not(.label) { margin-top: 1.1rem; font-size: 1.125rem; color: var(--ink-muted); }
.on-night .section-head p:not(.label) { color: var(--on-night-muted); }
.lead { font-size: 1.12rem; color: var(--ink-muted); }
.on-night .lead { color: var(--on-night-muted); }

/* Diagonales (las de la Z, la N y la M): la sección se monta sobre la anterior con un corte */
.cut-top { position: relative; z-index: 1; margin-top: calc(-1 * var(--cut)); padding-top: calc(7rem + var(--cut)); clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%); }

/* ── Cabecera ── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .3s, color .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.is-scrolled { background: color-mix(in oklab, var(--paper) 84%, transparent); backdrop-filter: blur(14px) saturate(1.4); border-color: var(--line); }
.site-header.is-dark { color: var(--on-night); }
.site-header.is-dark.is-scrolled { background: color-mix(in oklab, var(--night) 82%, transparent); border-color: var(--night-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 4.6rem; }
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--night); line-height: 1; }
.site-header.is-dark .brand, .site-footer .brand { color: var(--on-night); }
.brand svg { width: 7.2rem; height: auto; }
.brand small { font-family: var(--font-display); font-weight: 500; font-size: .6rem; letter-spacing: .44em; margin-top: .3rem; padding-left: .44em; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) { font-size: .9rem; font-weight: 500; text-decoration: none; opacity: .8; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 50%; bottom: -.5rem; width: .35rem; height: .35rem; border-radius: 50%; background: var(--orange); translate: -50% 0; scale: 0; transition: scale .3s var(--ease); }
.nav a:not(.btn):hover { opacity: 1; }
.nav a:not(.btn):hover::after { scale: 1; }
@media (max-width: 860px) { .nav a:not(.btn) { display: none; } }

/* ── Hero ── */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding-top: 7rem; }
.hero-rings { position: absolute; width: 70vmax; aspect-ratio: 1; right: -24vmax; top: -30vmax; border-radius: 50%; border: 1.5px dashed var(--line-strong); pointer-events: none; }
.hero-rings::before, .hero-rings::after { content: ''; position: absolute; border-radius: 50%; border: 1.5px dashed var(--line); inset: 14%; }
.hero-rings::after { inset: 30%; border-style: solid; border-color: color-mix(in oklab, var(--orange) 30%, transparent); }
.hero-copy { position: relative; display: grid; gap: 2rem; padding-bottom: clamp(2rem, 5vh, 4rem); }
@media (min-width: 1000px) { .hero-copy { grid-template-columns: 1.35fr 1fr; align-items: end; gap: 4rem; } }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5.3rem); line-height: .98; margin-top: 1.4rem; }
.hl { position: relative; display: inline-block; z-index: 0; }
.hl i { position: absolute; left: -.04em; right: -.04em; bottom: .04em; height: .2em; background: var(--orange); border-radius: 99px; z-index: -1; transform-origin: 0 50%; }
.hero-side .lead { max-width: 33rem; }
.hero-wm { position: relative; padding-inline: 1.5rem; max-width: 92rem; margin-inline: auto; width: 100%; }
.hero-wm svg { width: 100%; height: auto; display: block; color: var(--night); overflow: hidden; }
.hero-wm-foot { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-display); font-weight: 500; font-size: .8rem; letter-spacing: .44em; text-transform: uppercase; color: var(--ink-subtle); padding: 1rem 0 1.4rem; margin-top: clamp(.8rem, 2vw, 1.6rem); border-top: 1.5px dashed var(--line-strong); }
.o-zoom { position: absolute; border-radius: 50%; background: var(--night); visibility: hidden; will-change: transform; pointer-events: none; z-index: 2; }

/* ── Desde 2016 ── */
.since { position: relative; padding-block: 2rem 7rem; overflow: hidden; }
.since-grid { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1000px) { .since-grid { grid-template-columns: auto 1fr; gap: 5rem; } }
.since-year { display: flex; flex-direction: column; }
.since-kicker { font-family: var(--font-display); font-weight: 500; font-size: .9rem; letter-spacing: .5em; text-transform: uppercase; color: var(--orange); padding-left: .3rem; }
.odo { font-family: var(--font-display); font-weight: 600; font-size: clamp(7rem, 19vw, 17rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; display: inline-flex; }
.odo-d { display: inline-block; height: 1em; overflow: hidden; }
.odo-col { display: flex; flex-direction: column; }
.odo-col span { height: 1em; line-height: 1; }
.odo-d:nth-child(n+3) { color: var(--orange); }
.since h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
.since h2 span { color: var(--orange); }
.since .lead { margin-top: 1.2rem; max-width: 38rem; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 4.5rem; background: var(--night-line); border: 1px solid var(--night-line); border-radius: 1.25rem; overflow: hidden; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--night); padding: 1.6rem 1.5rem; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: 2.5rem; line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .92rem; color: var(--on-night-muted); }


/* Icono de trazo genérico (los <symbol> del sprite) */
.ic { width: 1.2rem; height: 1.2rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ── Qué hacemos: tarjetas con ilustraciones propias, conectadas por la línea discontinua ── */
.pillars { position: relative; display: grid; gap: 1.25rem; margin-top: 3.5rem; perspective: 1000px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.pillars-line { display: none; position: absolute; left: 8%; right: 8%; top: calc(2rem + 3.6rem); width: 84%; height: 10px; overflow: visible; z-index: 0; translate: 0 -5px; }
.pillars-line path { fill: none; stroke: var(--mint); stroke-width: 2; stroke-dasharray: 7 7; vector-effect: non-scaling-stroke; }
@media (min-width: 900px) { .pillars-line { display: block; } }
.card { position: relative; z-index: 1; background: var(--surface); border: 1px solid var(--line); border-radius: 1.4rem; padding: 2rem; overflow: hidden; isolation: isolate; transform-style: preserve-3d; }
.card::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in oklab, var(--orange) 10%, transparent), transparent 60%); }
.card:hover::before { opacity: 1; }
.card .art { display: grid; place-items: center; width: 7.2rem; height: 7.2rem; border-radius: 50%; background: var(--sunken); box-shadow: 0 0 0 6px var(--surface), 0 0 0 7.5px var(--line); }
.card .art img { width: 76%; height: auto; }
.card h3 { font-size: 1.55rem; margin-top: 1.7rem; }
.card p { margin-top: .7rem; color: var(--ink-muted); }

/* ── pullmyapp ── */
.pma-section { background: var(--surface); }
.pma-head { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 1000px) { .pma-head { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.pma-logo { height: 2.7rem; width: auto; margin-top: 1.6rem; }
.pma-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-top: 1.2rem; }
.modular { margin-top: 3.5rem; padding: clamp(1.2rem, 3vw, 2.2rem); border-radius: 1.6rem; background: var(--paper); border: 1px solid var(--line); }
.sector-tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.sector-tabs button { border: 1.5px solid var(--line-strong); background: var(--surface); padding: .55rem 1.05rem; border-radius: 999px; font-size: .88rem; font-weight: 600; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.sector-tabs button:hover { border-color: var(--pma-blue); }
.sector-tabs button[aria-selected="true"] { background: var(--pma-blue); border-color: var(--pma-blue); color: #fff; }
.mod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .mod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .mod-grid { grid-template-columns: repeat(6, 1fr); } }
.mod { display: flex; align-items: center; gap: .6rem; padding: .85rem .9rem; border-radius: .9rem; background: var(--surface); border: 1.5px solid var(--line); font-size: .84rem; font-weight: 600; color: var(--ink-subtle); opacity: .55; transition: opacity .35s, background-color .35s, border-color .35s, color .35s; }
.mod .ic { width: 1.25rem; height: 1.25rem; }
.mod.on { opacity: 1; background: var(--pma-tint); border-color: var(--pma-blue); color: var(--pma-blue); }
.mod-foot { margin-top: 1.3rem; font-size: .95rem; color: var(--ink-muted); }
.mod-foot strong { color: var(--pma-blue); font-size: 1.1rem; }

/* ════════ Simulaciones (pullmyapp y Armadillo): pasos + escenario con panel y móvil ════════ */
.sim { --acc: var(--pma-blue); --acc-tint: var(--pma-tint); margin-top: 5rem; display: grid; gap: 2.5rem; align-items: center; }
.sim-arm { --acc: #4386ff; --acc-tint: #e7efff; }
@media (min-width: 1100px) { .sim { grid-template-columns: 19rem minmax(0, 1fr); gap: 3rem; } }
.sim-title { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 1rem; }
.sim-steps { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .25rem; }
.sim-step { position: relative; display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); column-gap: .7rem; width: 100%; padding: .85rem .9rem 1rem; border: 0; border-radius: .9rem; background: transparent; text-align: left; cursor: pointer; color: var(--ink-muted); transition: background-color .25s, color .25s; }
.sim-step:hover { background: color-mix(in oklab, var(--ink) 4%, transparent); }
.sim-step[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 0 var(--line), 0 12px 24px -18px rgba(43,24,56,.35); }
.pma-section .sim-step[aria-current="true"] { background: var(--paper); }
.sn { grid-row: span 2; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 1.5px solid var(--line-strong); font-family: var(--font-display); font-weight: 600; font-size: .85rem; }
.sim-step[aria-current="true"] .sn { border-color: var(--orange); background: var(--orange); color: var(--night); }
.st { font-weight: 600; font-size: .98rem; line-height: 1.3; align-self: center; }
.sd { display: none; font-size: .88rem; color: var(--ink-muted); margin-top: .3rem; }
.sim-step[aria-current="true"] .sd { display: block; }
.sbar { position: absolute; left: 3.5rem; right: .9rem; bottom: .45rem; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; display: none; }
.sim-step[aria-current="true"] .sbar { display: block; }
.sbar i { position: absolute; inset: 0; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }
.sim.is-playing .sim-step[aria-current="true"] .sbar i { animation: sfill var(--dur, 4.6s) linear forwards; }
.sim.is-paused .sim-step[aria-current="true"] .sbar i { animation-play-state: paused; }
.sim.is-manual .sim-step[aria-current="true"] .sbar i { transform: scaleX(1); animation: none; }
@keyframes sfill { to { transform: scaleX(1); } }
.sim-note { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1.5px dashed var(--line-strong); font-size: .88rem; color: var(--ink-muted); }
.sim-note img { width: 1.4rem; height: 1.4rem; margin-top: .1rem; flex: none; }
.sim-note b { color: var(--ink); }

/* Escenario: panel y móvil lado a lado, sin solaparse */
.sim-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 12.2rem; gap: 1.1rem; align-items: center; padding: clamp(1rem, 2.4vw, 1.75rem); border-radius: 1.6rem; background: var(--paper); border: 1px solid var(--line); isolation: isolate; }
.sim-stage::before { content: ''; position: absolute; z-index: -1; width: 22rem; aspect-ratio: 1; right: -6rem; bottom: -8rem; border-radius: 50%; border: 1.5px dashed var(--line-strong); }
.arm-section .sim-stage { background: var(--sunken); }
@media (max-width: 759px) {
  .sim-stage { grid-template-columns: 1fr; justify-items: center; padding: 1.5rem 1rem; }
  .sim-stage .win { display: none; }
  .sim-stage .phone { width: min(15.5rem, 78vw); }
  .sim-stage { order: -1; }
}

/* Destello al cambiar un dato (solo opacidad de un anillo) */
[data-hot] { position: relative; }
[data-hot]::after { content: ''; position: absolute; inset: -3px; border-radius: inherit; box-shadow: 0 0 0 2px var(--acc), 0 0 0 6px color-mix(in oklab, var(--acc) 22%, transparent); opacity: 0; pointer-events: none; }
[data-hot].is-hot::after { animation: hot 1.8s var(--ease); }
@keyframes hot { 15%, 55% { opacity: 1; } 100% { opacity: 0; } }

/* Ventana de escritorio común */
.win { position: relative; min-width: 0; background: #fff; border-radius: .9rem; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(43,24,56,.45), 0 0 0 1px rgba(43,24,56,.08); font-size: .72rem; line-height: 1.35; color: #1c1917; }
.bdg { display: inline-flex; align-items: center; gap: .25rem; padding: .16rem .5rem; border-radius: 99px; font-size: .62rem; font-weight: 600; white-space: nowrap; background: #f1f1f4; color: #57534e; }
.bdg.ok { background: #e7f6ec; color: #166534; }
.bdg.dark { background: #292524; color: #fafaf9; }
.bdg.brand { background: var(--acc-tint); color: var(--acc); }
.bdg.vf { background: #e7f6ec; color: #166534; }
.bdg .ic { width: .7rem; height: .7rem; stroke-width: 2.4; }

/* Panel de pullmyapp */
.pw-head { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border-bottom: 1px solid #ecebf0; }
.pw-logo { display: grid; place-items: center; width: 1.55rem; height: 1.55rem; border-radius: .45rem; background: var(--pma-blue); color: #fff; font-weight: 700; font-size: .72rem; flex: none; }
.pw-biz { display: grid; line-height: 1.15; }
.pw-biz small { color: #8a8494; font-size: .6rem; }
.pw-bell { margin-left: auto; color: #6b6475; }
.pw-bell .ic { width: 1rem; height: 1rem; }
.pw-user { display: inline-flex; align-items: center; gap: .4rem; padding: .18rem .55rem .18rem .2rem; border-radius: 99px; background: #f4f3f7; font-weight: 600; }
.pw-av { display: grid; place-items: center; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: #dfe6fb; color: var(--pma-blue); font-size: .56rem; font-weight: 700; flex: none; }
.pw-av.sm { width: 1.5rem; height: 1.5rem; background: #ece9f1; color: #3f3a47; }
.pw-body { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); }
.pw-rail { display: flex; flex-direction: column; align-items: center; gap: .35rem; padding: .7rem 0; border-right: 1px solid #ecebf0; background: #fbfbfd; }
.pw-rail span { display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: .5rem; color: #8a8494; }
.pw-rail span.on { background: var(--pma-tint); color: var(--pma-blue); }
.pw-rail .ic { width: 1rem; height: 1rem; }
.pw-main { position: relative; padding: .8rem; display: grid; gap: .6rem; background: #fbfbfd; min-width: 0; }
.pw-top { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem; }
.pw-title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.1; }
.pw-desc { color: #8a8494; font-size: .64rem; }
.pw-chip { display: inline-flex; align-items: center; gap: .35rem; font-size: .6rem; font-weight: 600; color: #166534; background: #e7f6ec; padding: .2rem .55rem; border-radius: 99px; }
.pw-chip i { width: .4rem; height: .4rem; border-radius: 50%; background: #16a34a; }
.pw-card { background: #fff; border: 1px solid #ecebf0; border-radius: .7rem; padding: .55rem .6rem; min-width: 0; }
.pw-ct { display: flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .66rem; color: #57534e; margin-bottom: .3rem; }
.pw-ct .ic { width: .85rem; height: .85rem; color: var(--pma-blue); }
.pw-row { display: grid; grid-template-columns: 2.3rem minmax(0, 1fr) 5.2rem 4.4rem; align-items: center; gap: .4rem; padding: .32rem .35rem; border-radius: .45rem; }
.pw-row + .pw-row { border-top: 1px solid #f3f2f6; }
.pw-row > :last-child { justify-self: end; }
.pw-t { color: #8a8494; font-variant-numeric: tabular-nums; }
.pw-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.pw-n small { display: block; color: #8a8494; font-size: .6rem; font-weight: 400; }
.pw-cap { display: flex; align-items: center; gap: .35rem; font-variant-numeric: tabular-nums; }
.pw-cap b { font-weight: 500; }
.pw-meter { position: relative; flex: 1; height: .28rem; border-radius: 99px; background: #eceaf1; overflow: hidden; }
.pw-meter i { position: absolute; inset: 0; background: var(--pma-blue); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform .6s var(--ease); }
.pw-cols { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pw-member { grid-template-columns: 1.5rem minmax(0, 1fr) auto; }
.pw-inv { grid-template-columns: minmax(0, 1fr) auto; }
.pw-inv.is-hidden { display: none; }
.pw-toast { position: absolute; left: .8rem; right: .8rem; bottom: .7rem; display: flex; align-items: center; gap: .45rem; padding: .5rem .7rem; border-radius: .6rem; background: #1c1917; color: #fafaf9; font-weight: 500; opacity: 0; transform: translateY(.6rem); transition: opacity .4s, transform .5s var(--ease); pointer-events: none; }
.pw-toast .ic { width: .9rem; height: .9rem; color: #8fb0ff; }
.pw-toast.show { opacity: 1; transform: none; }

/* Móvil común */
.phone { position: relative; width: 100%; aspect-ratio: 9 / 18.6; border-radius: 1.9rem; background: #16101c; padding: .42rem; box-shadow: 0 30px 50px -24px rgba(43,24,56,.55); }
.ph-notch { position: absolute; top: .78rem; left: 50%; translate: -50% 0; width: 32%; height: .9rem; border-radius: 99px; background: #16101c; z-index: 3; }
.ph-screen { position: relative; height: 100%; border-radius: 1.5rem; overflow: hidden; background: #fff; display: flex; flex-direction: column; font-size: .62rem; line-height: 1.3; color: #1c1917; }
.ph-status { display: flex; justify-content: space-between; align-items: center; padding: .55rem 1rem .3rem; font-weight: 600; font-size: .6rem; }
.ph-batt { width: 1.1rem; height: .5rem; border-radius: .15rem; border: 1.5px solid currentColor; position: relative; }
.ph-batt::after { content: ''; position: absolute; inset: 1px 30% 1px 1px; background: currentColor; border-radius: 1px; }
.ph-push { position: absolute; z-index: 4; top: 1.9rem; left: .45rem; right: .45rem; display: flex; gap: .45rem; align-items: flex-start; padding: .5rem .55rem; border-radius: .8rem; background: rgba(250,250,252,.96); box-shadow: 0 10px 24px -10px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.05); opacity: 0; transform: translateY(-140%); transition: opacity .35s, transform .55s var(--ease); }
.ph-push.show { opacity: 1; transform: none; }
.ph-push > span:last-child { display: grid; gap: .1rem; min-width: 0; }
.ph-push b { display: flex; justify-content: space-between; gap: .3rem; font-size: .6rem; }
.ph-push em { font-style: normal; font-weight: 400; color: #8a8494; }
.ph-push .pw-logo { width: 1.3rem; height: 1.3rem; font-size: .6rem; border-radius: .35rem; }
.ph-push img { width: 1.3rem; height: 1.3rem; flex: none; }

/* App del cliente de pullmyapp */
.pp-head { display: flex; align-items: center; gap: .45rem; padding: .35rem .8rem .55rem; font-weight: 700; font-size: .7rem; border-bottom: 1px solid #f0eff3; }
.pp-head .pw-logo { width: 1.3rem; height: 1.3rem; font-size: .62rem; border-radius: .35rem; }
.pp-content { flex: 1; padding: .6rem .7rem; display: grid; align-content: start; gap: .35rem; background: #fafafc; overflow: hidden; }
.pp-hi { font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.pp-label { margin-top: .35rem; font-size: .56rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8a8494; }
.pp-card { background: #fff; border: 1px solid #eceaf1; border-radius: .7rem; padding: .5rem .55rem; display: grid; gap: .3rem; }
.pp-card-h { display: flex; justify-content: space-between; align-items: center; gap: .3rem; }
.pp-line { display: flex; justify-content: space-between; color: #57534e; }
.pp-line b { color: #1c1917; font-variant-numeric: tabular-nums; }
.pp-prog { height: .3rem; border-radius: 99px; background: #eceaf1; overflow: hidden; position: relative; }
.pp-prog i { position: absolute; inset: 0; background: var(--pma-blue); transform-origin: 0 50%; transform: scaleX(var(--v, 0)); transition: transform .6s var(--ease); }
.pp-pay { margin-top: .15rem; border: 0; border-radius: .5rem; padding: .38rem; font-size: .6rem; font-weight: 700; background: var(--pma-blue); color: #fff; cursor: pointer; }
.pp-pay.done { background: #e7f6ec; color: #166534; cursor: default; }
.pp-badge { display: inline-block; border: 0; padding: .2rem .5rem; border-radius: 99px; font-size: .56rem; font-weight: 700; background: #eef1fd; color: var(--pma-blue); white-space: nowrap; }
.pp-badge.on { background: #e7f6ec; color: #166534; }
.pp-badge.book { background: var(--pma-blue); color: #fff; cursor: pointer; }
.pp-badge.booked { background: #e7f6ec; color: #166534; cursor: default; }
.pp-slot { display: flex; justify-content: space-between; align-items: center; gap: .4rem; background: #fff; border: 1px solid #eceaf1; border-left: 3px solid var(--c); border-radius: .55rem; padding: .38rem .5rem; }
.pp-slot small { display: block; color: #8a8494; font-size: .55rem; }
.pp-nav { display: grid; grid-template-columns: repeat(4, 1fr); padding: .4rem .3rem .7rem; border-top: 1px solid #f0eff3; background: #fff; }
.pp-nav span { display: grid; justify-items: center; gap: .12rem; font-size: .5rem; color: #8a8494; }
.pp-nav span.on { color: var(--pma-blue); font-weight: 600; }
.pp-nav .ic { width: .95rem; height: .95rem; }

/* Tiendas de apps (huecos para los enlaces cuando estén publicadas) */
.stores { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1.5px dashed var(--line-strong); }
.stores p { font-size: .85rem; color: var(--ink-muted); }
.stores-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .7rem; }
.store { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem .95rem .45rem .7rem; border-radius: .7rem; background: var(--night); color: #fff; font-weight: 600; font-size: .92rem; line-height: 1.1; text-decoration: none; }
.store small { display: block; font-size: .62rem; font-weight: 500; color: var(--on-night-muted); }
.store svg { width: 1.35rem; height: 1.35rem; }
.store[aria-disabled="true"] { opacity: .78; cursor: default; }

/* ── Armadillo ── */
.arm-section { background: var(--paper); }
.arm { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .arm { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.arm-logo { height: 4.8rem; width: auto; margin-top: 1.6rem; }
.arm h2 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 1.3rem; }
.arm .lead { margin-top: 1rem; margin-bottom: 1.8rem; }
.arm-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.arm-points li { display: grid; grid-template-columns: 4.2rem 1fr; column-gap: 1.1rem; align-items: center; padding: .9rem 1.1rem .9rem .9rem; border-radius: 1.2rem; background: var(--surface); border: 1px solid var(--line); }
.arm-points img { grid-row: span 2; width: 4.2rem; height: 4.2rem; }
.arm-points b { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; align-self: end; }
.arm-points span { color: var(--ink-muted); font-size: .92rem; align-self: start; }

/* Panel de Armadillo (colores de su interfaz real) */
.aw { color: #191919; }
.aw-bar { display: flex; align-items: center; gap: .55rem; padding: .55rem .8rem; background: #191919; color: #fff; }
.aw-bar img { width: 1.1rem; height: 1.1rem; }
.aw-bar b { font-weight: 600; white-space: nowrap; }
.aw-tabs { display: flex; gap: .2rem; margin-left: .5rem; }
.aw-tabs button { border: 0; background: transparent; color: #aaa; font-size: .66rem; padding: .2rem .55rem; border-radius: 99px; cursor: pointer; }
.aw-tabs button[aria-selected="true"] { background: #3a3a3a; color: #fff; }
.aw-live { margin-left: auto; display: inline-flex; align-items: center; gap: .35rem; font-size: .64rem; color: #ccc; }
.aw-live i { width: .45rem; height: .45rem; border-radius: 50%; background: #18a300; box-shadow: 0 0 0 0 rgba(24,163,0,.6); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(24,163,0,0); } 100% { box-shadow: 0 0 0 0 rgba(24,163,0,0); } }
.aw-body { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) 11.2rem; }
.aw-rail { display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem 0; background: #242424; }
.aw-rail span { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: .45rem; color: #8d8d8d; }
.aw-rail span.on { background: #fe9a2e; color: #191919; }
.aw-rail .ic { width: .95rem; height: .95rem; }
.aw-main { padding: .7rem; min-width: 0; display: grid; align-content: start; gap: .5rem; }
.aw-map { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .28rem; padding: .45rem; border-radius: .55rem; background: #f1f1f1; align-items: start; }
.aw-map .bx { position: relative; aspect-ratio: 1.1; min-width: 0; border: 0; border-radius: .32rem; display: grid; place-items: center; font: 600 .6rem/1 var(--font-sans); cursor: pointer; transition: background-color .45s, color .45s; }
.aw-map .bx.sel { outline: 2px solid #191919; outline-offset: 1px; }
.aw-map .corr { grid-column: 1 / -1; height: .7rem; border-radius: .2rem; background: repeating-linear-gradient(90deg, #dcdcdc 0 6px, transparent 6px 12px); opacity: .7; }
.s0 { background: #e2e2e6; color: #6f6f6f; }
.s1 { background: #18a300; color: #fff; }
.s2 { background: #4386ff; color: #fff; }
.s3 { background: #e0203e; color: #fff; animation: alarm .7s steps(2) infinite; }
@keyframes alarm { 50% { background: #ff7b8c; } }
.aw-legend { display: flex; flex-wrap: wrap; gap: .3rem .8rem; color: #666; font-size: .62rem; }
.aw-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.aw-legend i { width: .6rem; height: .6rem; border-radius: .18rem; animation: none; }
.aw-side { border-left: 1px solid #ececec; padding: .7rem; display: grid; align-content: start; gap: .7rem; background: #fafafa; min-width: 0; }
.aw-detail { background: #fff; border: 1px solid #ececec; border-radius: .6rem; padding: .55rem .6rem; }
.aw-dh { display: flex; justify-content: space-between; align-items: center; gap: .3rem; }
.aw-dh b { font-size: .9rem; }
.aw-st { font-size: .58rem; font-weight: 700; padding: .14rem .45rem; border-radius: 99px; }
.aw-dsub { color: #888; font-size: .62rem; }
.aw-detail dl { margin: .45rem 0 .5rem; display: grid; gap: .22rem; }
.aw-detail dl div { display: flex; justify-content: space-between; gap: .4rem; }
.aw-detail dt { color: #888; }
.aw-detail dd { margin: 0; font-weight: 600; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aw-open { width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: .35rem; border: 0; border-radius: .45rem; padding: .38rem; background: #191919; color: #fff; font-size: .62rem; font-weight: 600; cursor: pointer; }
.aw-open .ic { width: .85rem; height: .85rem; }
.aw-open:hover { background: #333; }
.aw-open[disabled] { background: #e9e9e9; color: #999; cursor: default; }
.aw-h { font-size: .58rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #888; margin-bottom: .35rem; }
.aw-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.aw-log li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .25rem; padding: .32rem .4rem; border-radius: .4rem; background: #fff; border-left: 3px solid #4386ff; font-size: .62rem; }
.aw-log li.alarm { border-left-color: #e0203e; background: #fff1f3; }
.aw-log li.ok { border-left-color: #18a300; }
.aw-log time { color: #888; font-variant-numeric: tabular-nums; }

/* Appmadillo (como la app real: cabecera azul en diagonal, botón rosa de puertas, barra oscura) */
.ap .ph-screen { background: #fff; }
.ap-top { display: flex; justify-content: space-between; padding: .2rem .8rem .45rem; color: #222; }
.ap-top .ic { width: .95rem; height: .95rem; }
.ap-hero { position: relative; display: flex; align-items: center; gap: .55rem; padding: .8rem .8rem 1.6rem; background: #4386ff; color: #fff; clip-path: polygon(0 0, 100% 0, 100% 72%, 0 100%); }
.ap-av { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 50%; background: #fff; flex: none; }
.ap-av img { width: 1.6rem; height: 1.6rem; }
.ap-hero-t { display: grid; line-height: 1.15; }
.ap-hero-t b { font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.ap-hero-t small { font-size: .55rem; opacity: .85; text-transform: uppercase; letter-spacing: .04em; }
.ap-door { position: absolute; right: .7rem; bottom: 1.25rem; z-index: 2; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 0; background: #f2335f; color: #fff; cursor: pointer; box-shadow: 0 6px 14px -6px rgba(242,51,95,.8); }
.ap-door .ic { width: .95rem; height: .95rem; }
.ap-doors { position: absolute; right: 2.9rem; bottom: 1.3rem; z-index: 2; display: flex; gap: .3rem; }
.ap-doors button { width: 1.7rem; height: 1.7rem; border-radius: 50%; border: 0; background: #fff; color: #f2335f; font-size: .58rem; font-weight: 700; cursor: pointer; opacity: 0; transform: translateX(.8rem) scale(.6); transition: opacity .25s, transform .35s var(--ease); pointer-events: none; }
.ap-doors.open button { opacity: 1; transform: none; pointer-events: auto; }
.ap-doors.open button:nth-child(2) { transition-delay: .05s; }
.ap-list { flex: 1; padding: .1rem .8rem; overflow: hidden; }
.ap-h { display: grid; margin-bottom: .35rem; }
.ap-h b { font-size: .72rem; text-transform: uppercase; font-weight: 500; letter-spacing: .02em; }
.ap-h small { font-size: .5rem; text-transform: uppercase; letter-spacing: .08em; color: #999; }
.ap-list ul { list-style: none; margin: 0; padding: 0; }
.ap-list li { display: grid; grid-template-columns: .5rem minmax(0, 1fr) auto; column-gap: .45rem; align-items: center; padding: .38rem 0; border-bottom: 1px solid #f2f2f2; }
.ap-list li i { grid-row: span 2; width: .42rem; height: .42rem; border-radius: 50%; background: #4fc3c0; }
.ap-list li.bad i { background: #f2335f; }
.ap-list li.off i { background: #bbb; }
.ap-list li b { font-weight: 500; font-size: .58rem; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ap-list li small { grid-column: 2; font-size: .52rem; color: #888; }
.ap-list li time { grid-row: 1 / span 2; grid-column: 3; font-size: .5rem; color: #999; font-variant-numeric: tabular-nums; }
.ap-list li.fresh { animation: fresh 1.4s var(--ease); }
@keyframes fresh { from { opacity: 0; } to { opacity: 1; } }
.ap-nav { display: grid; grid-template-columns: repeat(3, 1fr); background: #1b1d29; padding: .45rem .2rem .75rem; }
.ap-nav button { display: grid; justify-items: center; gap: .15rem; border: 0; background: transparent; color: #c9cbd6; font-size: .46rem; cursor: pointer; padding: .1rem; }
.ap-nav button span { display: none; }
.ap-nav button .ic { width: 1rem; height: 1rem; }
.ap-nav button[aria-selected="true"] { color: #fff; }
.ap-nav button[aria-selected="true"] .ic { width: 1.6rem; height: 1.6rem; padding: .3rem; margin-top: -.9rem; border-radius: 50%; background: #e9efff; color: #4386ff; }
.ap-nav button[aria-selected="true"] span { display: block; }
.ph-push.alarm b { color: #c8102e; }
.ap-act { margin-left: .2rem; border: 0; border-radius: 99px; padding: .1rem .45rem; background: #f2335f; color: #fff; font-size: .5rem; font-weight: 700; cursor: pointer; vertical-align: middle; }

/* Hardware que integra Armadillo */
.hw { margin-top: 3.5rem; }
.hw-h { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--ink-muted); }
.hw-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 900px) { .hw-list { grid-template-columns: repeat(4, 1fr); } }
.hw-list li { display: grid; gap: .7rem; font-size: .92rem; font-weight: 600; }
.hw-list img { width: 100%; height: auto; border-radius: 1rem; }

.video-dialog { width: min(60rem, 92vw); padding: 0; border: 0; border-radius: 1rem; background: #000; overflow: visible; }
.video-dialog::backdrop { background: rgba(28,14,38,.82); backdrop-filter: blur(4px); }
.video-frame { aspect-ratio: 16/9; }
.video-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 1rem; display: block; }
.video-close { position: absolute; top: -3rem; right: 0; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; background: var(--orange); color: var(--night); font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* ── Clientes: recorrido horizontal fijado (escritorio) / rejilla (móvil) ── */
.clients { overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.cl-head { padding-top: 5.5rem; width: 100%; }
.cl-viewport { padding-block: 3.2rem 5rem; }
.cl-track { list-style: none; margin: 0; display: flex; gap: 1.25rem; padding: 0 max(1.5rem, calc((100vw - 76rem) / 2 + 1.5rem)); width: max-content; }
.cl { width: 17rem; flex: none; display: flex; flex-direction: column; align-items: flex-start; padding: 1.8rem; border-radius: 1.4rem; background: var(--night-soft); border: 1px solid var(--night-line); }
.cl-mark { display: grid; place-items: center; width: 6.6rem; height: 6.6rem; border-radius: 50%; background: var(--night-elev); overflow: hidden; color: var(--orange); margin-bottom: 1.4rem; box-shadow: 0 0 0 6px var(--night-soft), 0 0 0 7.5px var(--night-line); }
.cl-mark img { width: 100%; height: 100%; object-fit: cover; }
.cl-mark img.pad { width: 74%; height: auto; object-fit: contain; }
.cl-mark.cream { background: #f8f3ef; }
.cl-mark.cream img { width: 96%; height: 96%; }
.cl-mark .ic { width: 2.5rem; height: 2.5rem; stroke-width: 1.5; }
.cl-mark.dashed { background: transparent; border: 2px dashed var(--mint); box-shadow: none; }
.cl-name { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; line-height: 1.1; }
.cl-desc { margin-top: .4rem; font-size: .9rem; color: var(--on-night-muted); }
.cl em { margin-top: auto; padding-top: 0; font-style: normal; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 99px; translate: 0 1rem; }
.cl .link-quiet { margin-top: auto; color: var(--on-night); min-height: 2rem; translate: 0 .8rem; }
.tag-pma { background: color-mix(in oklab, var(--pma-blue) 35%, var(--night)); color: #c9d8ff; }
.tag-arm { background: color-mix(in oklab, var(--orange) 30%, var(--night)); color: #ffd2ad; }
.tag-soon { box-shadow: inset 0 0 0 1.5px var(--night-line); color: var(--on-night-muted); }
.cl-next { background: transparent; border-style: dashed; }
.cl-rail { position: relative; height: 0; margin: 0 1.5rem 2.4rem; border-top: 2px dashed var(--night-line); }
@media (min-width: 79rem) { .cl-rail { max-width: 73rem; margin-inline: auto; } }
.cl-rail i { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: linear-gradient(90deg, var(--mint), var(--orange)); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 899px) {
  .clients { min-height: 0; padding-bottom: 1rem; }
  .cl-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); width: auto; padding-inline: 1.5rem; }
  .cl { width: auto; }
  .cl-rail { display: none; }
}

/* ── Partners ── */
.partners { padding-top: 7rem; }
.pt-grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 900px) { .pt-grid { grid-template-columns: repeat(3, 1fr); } }
.pt { display: flex; flex-direction: column; gap: 1rem; padding: 1.8rem; border-radius: 1.4rem; background: var(--night); color: var(--on-night); text-decoration: none; box-shadow: inset 0 0 0 1.5px transparent; transition: translate .4s var(--ease), box-shadow .3s; }
.pt:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1.5px var(--orange); }
.pt-mark { height: 6rem; display: flex; align-items: center; }
.pt-mark img { max-height: 4.4rem; max-width: 13rem; width: auto; }
.pt-text { color: var(--on-night-muted); }
.pt-url { margin-top: auto; padding-top: 1rem; border-top: 1.5px dashed var(--night-line); display: inline-flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: .92rem; }
.pt-url svg { width: 1.1rem; height: 1.1rem; color: var(--orange); transition: transform .3s var(--ease); }
.pt:hover .pt-url svg { transform: translate(3px, -3px); }

/* ── Cierre ── */
.closing { padding-bottom: 7rem; }
.closing-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .closing-grid { grid-template-columns: 1.4fr 1fr; } }
.closing h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.closing .sub { margin-top: 1.2rem; font-size: 1.15rem; color: var(--on-night-muted); max-width: 34rem; }
.oo { width: clamp(9rem, 24vw, 13rem); height: auto; overflow: visible; }
.oo .a { fill: none; stroke: var(--mint); stroke-width: 3; stroke-dasharray: 9 7; }
.oo .b { fill: var(--on-night); }
.oo .x { fill: var(--orange); }
.closing .link-quiet { color: var(--on-night); }
.closing .mail { margin-top: 1.5rem; font-size: .95rem; color: var(--on-night-muted); }
.closing .mail a { color: var(--on-night); font-weight: 600; }

/* ── Pie ── */
.site-footer { padding-block: 4rem 2.5rem; border-top: 1px solid var(--night-line); }
.foot-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot-claim { margin-top: 1.2rem; color: var(--on-night-muted); font-size: .93rem; max-width: 22rem; }
.site-footer h4 { margin: 0 0 1rem; font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--on-night-muted); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.site-footer ul a { text-decoration: none; opacity: .85; }
.site-footer ul a:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .3em; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1.5px dashed var(--night-line); font-size: .82rem; color: var(--on-night-muted); }

/* ── Lenis / reduced motion / estados iniciales ── */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
  .s3, .aw-live i, [data-hot].is-hot::after, .ap-list li.fresh { animation: none; }
  .ph-push, .pw-toast, .ap-doors button, .pw-meter i, .pp-prog i { transition: none; }
}
html.motion:not(.motion-off):not(.motion-ready) .hero-anim { visibility: hidden; }

/* ── Notas de la muestra (no van en la web final) ── */
.fx-note { display: none; position: absolute; z-index: 40; font: 600 .7rem/1.3 var(--font-sans); color: #fff; background: #e0245e; padding: .35rem .6rem; border-radius: .4rem; max-width: 17rem; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); pointer-events: none; }
html.show-notes .fx-note { display: block; }
.notes-toggle { position: fixed; left: 1rem; bottom: 1rem; z-index: 60; font: 600 .8rem var(--font-sans); padding: .6rem .9rem; border-radius: 99px; border: 0; background: #e0245e; color: #fff; cursor: pointer; box-shadow: 0 10px 25px -8px rgba(224,36,94,.6); }

/* Ajustes v2.1 */
.sim-stage { overflow: hidden; }
.aw-side { grid-template-columns: minmax(0, 1fr); }
.aw-side > *, .aw-detail dd { min-width: 0; }
.aw-log li { grid-template-columns: 2.2rem minmax(0, 1fr); }
.ap-hero { padding-right: 3rem; }
.ap-hero-t { min-width: 0; }
.ap-hero-t b, .ap-hero-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store[aria-disabled="true"] { opacity: 1; }
.hw { display: grid; gap: 1.2rem 3rem; align-items: center; padding: 1.6rem; border-radius: 1.6rem; border: 1.5px dashed var(--line-strong); }
@media (min-width: 1000px) { .hw { grid-template-columns: 14rem 1fr; } }
.hw-h { line-height: 1.8; }
.hw-list { margin: 0; }
.hw-list li { font-size: .85rem; }
.hw-list img { max-width: 12rem; border-radius: .8rem; }
.ap-hero { padding-right: 2.5rem; }
.ap-hero-t b { font-size: .62rem; letter-spacing: .02em; }
.ap-hero-t small { font-size: .5rem; }
.cl-mark img.wide { width: 88%; }

/* v2.2 · Cabecera de pullmyapp con la estructura de la de Armadillo */
.pma-head { gap: 3rem; align-items: center; }
@media (min-width: 1000px) { .pma-head { grid-template-columns: 1.15fr 1fr; gap: 4rem; } }
.pma-copy .lead { margin-top: 1rem; }
.pma-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.arm-points svg { grid-row: span 2; width: 4.2rem; height: 4.2rem; }
.pma-section .arm-points li { background: var(--paper); }

/* v2.3 · Botón externo: la flecha ya apunta en diagonal, al pasar se desplaza en vez de girar */
.btn-ext:hover .btn-o { transform: translate(2px, -2px) scale(1.06); }

/* v2.3 · Configurador de pullmyapp: núcleo + módulos conectados (fondo marino de pullmyapp) */
.modular { --navy: #0c1a34; --teal: #16bba7; display: grid; gap: 1.5rem 2.5rem; margin-top: 4rem; padding: clamp(1.25rem, 3vw, 2.25rem); border: 0; border-radius: 1.8rem; background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.modular::before { content: ''; position: absolute; z-index: -1; inset: auto -10% -60% auto; width: 38rem; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(21,84,229,.35), transparent 65%); }
@media (min-width: 1000px) { .modular { grid-template-columns: 17.5rem minmax(0, 1fr); } }
.mx-q { font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #9fb0d0; margin-bottom: .9rem; }
.modular .sector-tabs { display: grid; gap: .3rem; }
.modular .sector-tabs button { display: grid; gap: .1rem; text-align: left; width: 100%; padding: .7rem .95rem; border: 1px solid transparent; border-radius: .9rem; background: transparent; color: #c9d4ea; cursor: pointer; transition: background-color .25s, border-color .25s, color .25s; }
.modular .sector-tabs button b { font-size: .95rem; font-weight: 600; }
.modular .sector-tabs button small { font-size: .78rem; color: #8193b5; }
.modular .sector-tabs button:hover { background: rgba(255,255,255,.05); }
.modular .sector-tabs button[aria-selected="true"] { background: var(--pma-blue); border-color: rgba(255,255,255,.12); color: #fff; }
.modular .sector-tabs button[aria-selected="true"] small { color: #d6e2ff; }
.modular .sector-tabs button:focus-visible { outline-color: var(--teal); }

.mx-hub { position: relative; min-height: 25rem; min-width: 0; }
.mx-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mx-lines line { stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 5 6; opacity: .7; animation: mxline .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 45ms + .15s); }
@keyframes mxline { from { opacity: 0; } }
.mx-core { position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: grid; justify-items: center; align-content: center; gap: .15rem; width: 8.6rem; aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--navy); text-align: center; box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 0 22px rgba(255,255,255,.03), 0 20px 40px -10px rgba(0,0,0,.5); }
.mx-core img { width: 2.6rem; height: 2.6rem; margin-bottom: .2rem; }
.mx-core b { font-family: var(--font-display); font-size: 1.05rem; line-height: 1.1; }
.mx-core small { font-size: .7rem; color: #5b6b8a; }
.mx-core.pulse { animation: mxpulse .7s var(--ease); }
@keyframes mxpulse { 40% { transform: scale(1.06); } }

.mx-mods .mod { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem .5rem .55rem; border-radius: 99px; border: 1px solid rgba(255,255,255,.14); background: #13264a; color: #fff; font-size: .82rem; font-weight: 600; white-space: nowrap; opacity: 1; }
.mx-mods .mod .ic { width: 1.6rem; height: 1.6rem; padding: .3rem; border-radius: 50%; background: rgba(22,187,167,.16); color: var(--teal); }
.js .mx-mods .mod { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)) scale(.4); opacity: 0; visibility: hidden; transition: transform .6s var(--ease), opacity .3s, visibility 0s .6s; }
.js .mx-mods .mod.on { transform: translate(-50%, -50%) translate(var(--dx, 0px), var(--dy, 0px)); opacity: 1; visibility: visible; transition: transform .75s var(--ease), opacity .4s; transition-delay: calc(var(--i, 0) * 45ms); }
html:not(.js) .mx-mods { display: flex; flex-wrap: wrap; gap: .5rem; }
html:not(.js) .mx-hub { min-height: 0; }
html:not(.js) .mx-core, html:not(.js) .mx-lines { display: none; }

.mx-foot { display: grid; gap: .5rem; padding-top: 1.3rem; border-top: 1.5px dashed rgba(255,255,255,.14); }
@media (min-width: 1000px) { .mx-foot { grid-column: 1 / -1; } }
.modular .mod-foot { margin: 0; color: #c9d4ea; }
.modular .mod-foot strong { color: var(--teal); font-size: 1.05rem; }
.mx-more { font-size: .85rem; color: #8193b5; }
.mx-more span:first-child { color: #c9d4ea; font-weight: 600; }

@media (max-width: 759px) {
  .mx-hub { min-height: 0; display: grid; gap: 1rem; justify-items: center; }
  .mx-lines { display: none; }
  .mx-core { position: relative; left: auto; top: auto; translate: none; width: 7rem; }
  .mx-mods { display: flex; flex-wrap: wrap; justify-content: center; gap: .45rem; }
  .js .mx-mods .mod { position: static; transform: none; transition: opacity .3s; }
  .js .mx-mods .mod:not(.on) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .mx-mods .mod, .js .mx-mods .mod.on { transition: none; }
  .mx-lines line, .mx-core.pulse { animation: none; }
}
@media (max-width: 759px) {
  .js .mx-mods .mod.on { transform: none; }
  .modular .sector-tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; margin-inline: -.25rem; padding: .1rem .25rem .3rem; scroll-snap-type: x proximity; }
  .modular .sector-tabs::-webkit-scrollbar { display: none; }
  .modular .sector-tabs button { width: auto; flex: none; padding: .5rem .9rem; border-color: rgba(255,255,255,.14); border-radius: 99px; scroll-snap-align: start; }
  .modular .sector-tabs button small { display: none; }
  .modular .sector-tabs button b { font-size: .86rem; white-space: nowrap; }
}

/* ═════════ Producción · ajustes finales ═════════ */

/* Hero: el logotipo se ajusta a la altura de la ventana para que nunca quede cortado */
.hero h1 { font-size: clamp(2.5rem, min(6.2vw, 8.6svh), 5.3rem); }
.hero-wm { max-width: min(92rem, max(22rem, calc((100svh - 33rem) * 5.15))); }
@media (max-width: 640px) { .hero-wm-foot { font-size: .64rem; letter-spacing: .3em; } }

/* «2016»: sin interletrado negativo dentro del marcador (cortaba los dígitos) */
.odo { letter-spacing: 0; }
.odo-d { height: 1.1em; margin-right: -.05em; }
.odo-col span { display: block; height: 1.1em; line-height: 1.1; }
.since-year { overflow: visible; }

/* Demos sin saltos: alturas fijas en lo que cambia de paso a paso */
.sim-step[aria-current="true"] .sd { min-height: 4.7em; }
.aw-log li { height: 2.45rem; overflow: hidden; align-items: start; }
.mx-more { min-height: 2.8em; }
@media (min-width: 1000px) and (max-width: 1199px) { .mx-more { min-height: 4.2em; } }
.sim, .modular { overflow-anchor: none; }

/* Cierre: las dos «O» del logotipo */
.oo { width: clamp(15rem, 32vw, 26rem); height: auto; overflow: visible; }
.oo-ring { fill: none; stroke: var(--mint); stroke-width: 3; stroke-dasharray: 10 9; }
.oo-a { transform-box: fill-box; transform-origin: center; }
.oo-ring { transform-box: fill-box; transform-origin: center; animation: oospin 40s linear infinite; }
@keyframes oospin { to { transform: rotate(360deg); } }
.oo-b { fill: var(--on-night); }
.oo-x { fill: var(--orange); }
.oo-t { font-family: var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: .32em; text-transform: uppercase; fill: var(--mint); }
.oo-t.b { fill: var(--on-night); }
@media (prefers-reduced-motion: reduce) { .oo-ring { animation: none; } }

/* Pie */
.foot-mail { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--orange); padding-bottom: .1rem; }
.foot-mail:hover { color: #fff; }
.foot-btn { padding: 0; border: 0; background: none; font: inherit; font-size: .93rem; color: inherit; opacity: .85; cursor: pointer; text-align: left; }
.foot-btn:hover { opacity: 1; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: .3em; }

/* Aviso de cookies */
.cookie-bar { position: fixed; z-index: 80; left: 1rem; right: 1rem; bottom: 1rem; max-width: 40rem; margin-left: auto; padding: 1.25rem 1.3rem; border-radius: 1.2rem; background: var(--night); color: var(--on-night); box-shadow: 0 24px 60px -20px rgba(20,8,30,.6), 0 0 0 1px var(--night-line); opacity: 0; transform: translateY(1.5rem); transition: opacity .3s, transform .45s var(--ease); }
.cookie-bar.show { opacity: 1; transform: none; }
.cookie-t { font-size: .9rem; color: var(--on-night-muted); }
.cookie-t b { display: block; margin-bottom: .25rem; font-family: var(--font-display); font-size: 1.1rem; color: var(--on-night); }
.cookie-t a { color: var(--on-night); text-underline-offset: .2em; text-decoration-color: var(--orange); }
.cookie-cfg { display: grid; gap: .6rem; margin-top: 1rem; }
.cookie-cfg[hidden], .cookie-btn[hidden] { display: none; }
.cookie-opt { display: grid; grid-template-columns: 1.2rem 1fr; gap: .7rem; align-items: start; padding: .7rem .8rem; border-radius: .8rem; background: var(--night-soft); font-size: .85rem; color: var(--on-night-muted); cursor: pointer; }
.cookie-opt input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--orange); }
.cookie-opt b { display: block; color: var(--on-night); }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.cookie-btn { min-height: 2.6rem; padding: .5rem 1.2rem; border: 0; border-radius: 99px; background: var(--orange); color: var(--night); font-weight: 600; font-size: .9rem; cursor: pointer; }
.cookie-btn.ghost { background: transparent; color: var(--on-night); box-shadow: inset 0 0 0 1.5px var(--night-line); }
.cookie-btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--on-night-muted); }
@media (max-width: 520px) { .cookie-actions .cookie-btn { flex: 1 1 auto; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transition: none; } }

/* Páginas legales y 404 */
.page-legal .site-header { background: color-mix(in oklab, var(--paper) 90%, transparent); backdrop-filter: blur(14px); border-color: var(--line); }
.legal { padding: 9rem 0 6rem; }
.legal .wrap { max-width: 50rem; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-top: 1.2rem; }
.legal .updated { margin-top: 1rem; color: var(--ink-subtle); font-size: .92rem; }
.legal h2 { font-size: 1.5rem; margin: 2.8rem 0 .8rem; letter-spacing: -.015em; }
.legal h3 { font-size: 1.12rem; margin: 1.6rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-muted); }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; margin: .6rem 0; display: grid; gap: .4rem; }
.legal a { color: var(--ink); text-decoration-color: var(--orange); text-underline-offset: .2em; }
.legal strong { color: var(--ink); }
.legal .data { margin-top: 1rem; padding: 1.3rem 1.4rem; border-radius: 1.1rem; background: var(--surface); border: 1px solid var(--line); display: grid; gap: .35rem; }
.legal .data p { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-muted); }
.legal th { color: var(--ink); font-weight: 600; background: var(--sunken); }
.legal .lead { margin-top: 1.2rem; }
.page-404 .legal { min-height: 80svh; display: grid; align-content: center; }
.mx-more { min-height: 3.1em; }
@media (min-width: 1000px) and (max-width: 1199px) { .mx-more { min-height: 4.65em; } }
@media (min-width: 1100px) { .st { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
@media (max-width: 640px) {
  .hero { padding-top: 6rem; }
  .hero-copy { gap: 1.2rem; }
  .hero h1 { margin-top: 1rem; }
  .hero-side .lead { font-size: 1rem; }
  .hero .ctas { margin-top: 1.2rem; gap: .4rem 1.4rem; }
  .hero .label { letter-spacing: .2em; }
}

/* Pie: «Desarrollando software con ♥ desde 2016» (corazón = las dos «O» + la diagonal) */
.foot-love { display: inline-flex; align-items: center; gap: .4rem; }
.heart { width: 1.05rem; height: auto; fill: var(--orange); overflow: visible; transform-origin: 50% 60%; animation: beat 2.6s var(--ease) infinite; }
.heart { width: 1.1rem; }
.foot-love:hover .heart { animation-duration: .9s; }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 10% { transform: scale(1.18); } 22% { transform: scale(.96); } 32% { transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .heart { animation: none; } }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }


/* Configurador en móvil: rejilla de 2 columnas iguales y alineada a la izquierda
   (sin píldoras centradas de anchos distintos) */
@media (max-width: 759px) {
  .modular .sector-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; overflow: visible; margin: 0; padding: 0; }
  .modular .sector-tabs button { display: flex; align-items: center; width: 100%; min-height: 3rem; padding: .5rem .8rem; border-radius: .85rem; text-align: left; }
  .modular .sector-tabs button b { font-size: .84rem; line-height: 1.2; white-space: normal; }

  .mx-hub { justify-items: stretch; gap: .8rem; }
  .mx-core { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; justify-items: start; column-gap: .8rem; row-gap: 0; width: auto; aspect-ratio: auto; padding: .7rem 1rem .7rem .75rem; border-radius: 1rem; text-align: left; box-shadow: 0 12px 28px -14px rgba(0,0,0,.6); }
  .mx-core img { grid-row: span 2; width: 2.3rem; height: 2.3rem; margin: 0; }
  .mx-core b { align-self: end; font-size: 1.05rem; }
  .mx-core small { align-self: start; font-size: .74rem; }
  .mx-core.pulse { animation: none; }

  .mx-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }
  .mx-mods .mod { display: flex; min-height: 3rem; padding: .45rem .7rem .45rem .45rem; border-radius: .85rem; font-size: .8rem; line-height: 1.2; white-space: normal; }
  .mx-mods .mod .ic { flex: none; }
  .js .mx-mods .mod.on { animation: modin .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
}
@media (max-width: 759px) and (prefers-reduced-motion: reduce) { .js .mx-mods .mod.on { animation: none; } }
@keyframes modin { from { opacity: 0; } }
@media (max-width: 389px) {
  .mx-mods .mod { gap: .4rem; padding-right: .5rem; font-size: .76rem; }
  .mx-mods .mod .ic { width: 1.45rem; height: 1.45rem; padding: .25rem; }
}

/* Esferas del cierre · acople: el anillo pasa de discontinuo a sólido, onda, chispas y check */
.oo-ring { transition: stroke-dasharray .5s var(--ease); }
.oo.is-one .oo-ring { stroke-dasharray: 704 0; animation-play-state: paused; }
.oo-wave { fill: none; stroke: var(--orange); stroke-width: 3; opacity: 0; }
.oo-wave.b { stroke: var(--mint); stroke-width: 2; }
.oo-spark { fill: var(--orange); opacity: 0; }
.oo-spark.m { fill: var(--mint); }
.oo-spark.w { fill: var(--on-night); }
.oo-check { fill: none; stroke: var(--night); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }

/* Configurador en móvil: con módulos impares, «Clientes» a 2 columnas */
@media (max-width: 759px) { .mx-mods.odd .mod[data-m="clientes"] { grid-column: 1 / -1; } }

/* Clientes en móvil: carrusel deslizable con la siguiente tarjeta asomando */
@media (max-width: 899px) {
  .cl-viewport { padding-block: 2.2rem 3.2rem; }
  .cl-track { display: flex; width: auto; gap: .9rem; padding: .3rem 1.5rem .4rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 1.5rem; scrollbar-width: none; }
  .cl-track::-webkit-scrollbar { display: none; }
  .cl { width: min(74vw, 17rem); min-height: 100%; padding: 1.4rem; scroll-snap-align: start; }
  .cl-mark { width: 5.2rem; height: 5.2rem; margin-bottom: 1.1rem; }
  .cl-name { font-size: 1.22rem; }
  .cl-rail { display: block; margin: 0 1.5rem 1.6rem; }
  .cl-rail i { transition: transform .15s linear; }
}

/* Unión hero → «Desde 2016»: sin franja clara al soltarse el hero */
.hero.is-covered { background: var(--night); }
.since { box-shadow: 0 -3px 0 var(--night); }
