/* =========================================================
   ZAQORI · Rediseño "En vivo" (2026)
   Hoja única de la portada. Sin librerías externas.
   Tema claro por defecto; html.dark activa el oscuro.
   ========================================================= */

:root {
  --bg: #f6f8fd; --bg2: #ffffff; --panel: #ffffff; --panel2: #eef3fc; --line: #dbe3f2;
  --fg: #0c1633; --strong: #060d24; --mute: #4b5878; --dim: #66729a;
  --acc: #0a86a8; --acc-soft: #e3f6fb; --acc-ink: #ffffff; --ok: #0d8752;
  --dots: rgba(12, 22, 51, .08); --glow: rgba(10, 134, 168, .16);
  --shadow: 0 24px 50px -28px rgba(12, 22, 51, .3);
  --tix: #3a5bff; --pv: #16a34a; --lec: #0b63d6; --ag: #93262c; --sch: #c2410c; --bm: #b0860a;
  --f-display: "Exo 2", "Segoe UI", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
html.dark {
  --bg: #0e1733; --bg2: #121d3f; --panel: #17244c; --panel2: #111c3d; --line: #2a3b6d;
  --fg: #e4ebff; --strong: #ffffff; --mute: #adbbe0; --dim: #8e9dc8;
  --acc: #4fdcf3; --acc-soft: #173a55; --acc-ink: #06142a; --ok: #5fe6a8;
  --dots: rgba(255, 255, 255, .07); --glow: rgba(79, 220, 243, .2);
  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .55);
  --tix: #8a9cff; --pv: #45dc88; --lec: #6cc0ff; --ag: #ef7a80; --sch: #ff9a5e; --bm: #f5c542;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--acc); text-decoration: none; }
button { font: inherit; cursor: pointer; }
:where(a, button, summary, input, textarea):focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { text-wrap: balance; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }
.sec { padding-block: 88px; }
.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.eyebrow { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
.h2 { margin: 0; font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 42px); line-height: 1.1; color: var(--strong); }
.head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.lead { margin: 0; color: var(--mute); max-width: 44em; font-size: 17px; }
.tag { font-family: var(--f-mono); font-size: 12px; letter-spacing: .05em; }
/* Datos que faltan por confirmar: se ven resaltados para no olvidarlos */
.pend { background: rgba(255, 196, 0, .22); border-radius: 4px; padding: 0 3px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; padding: 13px 22px; border-radius: 12px; min-height: 48px; font-size: 15px; border: 0; transition: transform .2s, filter .2s; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-main { background: var(--acc); color: var(--acc-ink); }
.btn-line { border: 1px solid var(--line); background: var(--panel); color: var(--fg); }
.btn-wa { background: #1fae56; color: #fff; }
.icon-btn { background: var(--panel); border: 1px solid var(--line); color: var(--fg); min-width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; }

/* ---------- Encabezado ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg2) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 12px 26px; padding-block: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--strong); font-family: var(--f-display); font-weight: 800; font-size: 20px; letter-spacing: .1em; }
.brand svg path { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw 1.6s .2s ease forwards; }
.links { display: flex; gap: 6px 22px; flex: 1 1 auto; font-size: 15px; }
.links a { color: var(--mute); }
.links a:hover { color: var(--strong); }
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.burger { display: none; }
.theme-ico-sun { display: none; }
html.dark .theme-ico-sun { display: block; }
html.dark .theme-ico-moon { display: none; }
@media (max-width: 1060px) {
  .burger { display: inline-flex; }
  .links { display: none; order: 9; flex-basis: 100%; flex-direction: column; gap: 14px; padding: 14px 0 8px; border-top: 1px solid var(--line); font-size: 17px; }
  .links.open { display: flex; }
}

/* ---------- Héroe "en vivo" ---------- */
.hero { position: relative; overflow: hidden; background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px; }
.hero::before { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 0deg at 70% 45%, transparent, var(--glow), transparent 30%, var(--glow), transparent 60%); animation: spin 22s linear infinite; pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; }
.hgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero h1 { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -.015em; color: var(--strong); }
.word { display: inline-block; }
.word.swap { animation: word .6s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .3s; } .hero-copy > :nth-child(5) { animation-delay: .42s; }
.stats { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--mute); }
.stats b { color: var(--strong); }

.stage { position: relative; height: 440px; border-radius: 28px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: border-color .4s; animation: rise .8s .3s both; }
.scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 28px; }
.scene[hidden] { display: none; }
.stabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.stab { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: none; border: 0; padding: 4px 0; color: var(--mute); font-size: 13px; text-align: left; min-height: 36px; }
.stab .bar { height: 4px; width: 100%; border-radius: 9px; background: var(--line); overflow: hidden; }
.stab .bar i { display: block; height: 100%; width: 0; border-radius: 9px; background: var(--c); }
.stab.done .bar i { width: 100%; }
.stab[aria-pressed="true"] { color: var(--strong); font-weight: 600; }
.stab[aria-pressed="true"] .bar i { animation: prog 4.4s linear forwards; }
.stage.paused + .stabs .stab[aria-pressed="true"] .bar i { animation: none; width: 100%; }

/* Escena: ticket del Punto de Venta */
.sc-pv { background: linear-gradient(160deg, #eef8ef, #f7f3e8); }
.ticket { width: 300px; max-width: 100%; background: #fffdf8; color: #1b1b1b; font-family: var(--f-mono); font-size: 13px; padding: 22px 20px 26px; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .45); animation: print .9s ease both;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 95% 97%, 90% 100%, 85% 97%, 80% 100%, 75% 97%, 70% 100%, 65% 97%, 60% 100%, 55% 97%, 50% 100%, 45% 97%, 40% 100%, 35% 97%, 30% 100%, 25% 97%, 20% 100%, 15% 97%, 10% 100%, 5% 97%, 0 100%); }
.ticket .t-head { text-align: center; font-weight: 700; letter-spacing: .12em; font-size: 14px; }
.ticket .t-sub { text-align: center; color: #6a6a6a; font-size: 12px; margin-bottom: 10px; }
.ticket hr { border: 0; border-top: 1px dashed #bbb; margin: 6px 0 10px; }
.ticket hr.solid { border-top: 2px solid #1b1b1b; margin: 12px 0 8px; }
.ticket .row { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; animation: line .35s ease both; }
.ticket .r1 { animation-delay: .6s; } .ticket .r2 { animation-delay: .95s; }
.ticket .r3 { animation-delay: 1.3s; } .ticket .r4 { animation-delay: 1.65s; }
.ticket .total { font-weight: 700; font-size: 17px; animation-delay: 2.1s; }
.ticket .ok { justify-content: center; margin-top: 10px; color: #15803d; font-weight: 600; animation-delay: 2.5s; }

/* Escena: TIXORA */
.sc-tx { background: linear-gradient(160deg, #1a2257, #0b0f2a); }
.tx { width: 340px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.notif { background: #fff; color: #0b1330; border-radius: 16px; padding: 14px 16px; box-shadow: 0 20px 40px -18px rgba(20, 40, 120, .45); display: flex; gap: 12px; align-items: flex-start; animation: drop .6s cubic-bezier(.2, .9, .3, 1.3) both; }
.notif img { width: 40px; height: 40px; border-radius: 10px; }
.sla-card { background: #fff; color: #0b1330; border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; animation: rise .5s .3s ease both; }
.sla { height: 8px; border-radius: 9px; background: #e3e8ff; overflow: hidden; }
.sla i { display: block; height: 100%; background: #3a5bff; animation: sla 2.6s .6s ease both; }
.swap-chip { position: relative; display: inline-block; height: 26px; min-width: 130px; }
.swap-chip span { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.swap-chip .a { background: #fff3d6; color: #8a5a00; animation: out .3s 2.9s ease forwards; }
.swap-chip .b { background: #dcf7e8; color: #0d7a46; opacity: 0; animation: in .4s 3.1s ease forwards; }
.tx-quote { color: #c7d0ff; font-family: var(--f-display); font-weight: 700; font-size: 22px; animation: rise .5s .6s ease both; }

/* Escena: Agent */
.sc-ag { background: linear-gradient(160deg, #fbf3e8, #f3e2dc); }
.ag { width: 270px; max-width: 100%; background: #1d1012; color: #f6e9e9; border-radius: 30px; padding: 22px; border: 6px solid #2b1a1c; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 12px; animation: rise .6s ease both; text-align: center; }
.ag .bell { margin: 6px auto; transform-origin: 50% 10%; animation: ring 1s .5s ease-in-out 3; }
.ag-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; font-size: 14px; }
.ag-btns span { border: 1px solid #5a3a3c; border-radius: 99px; padding: 9px; }
.ag-btns span + span { background: #93262c; border-color: #93262c; font-weight: 600; }

/* Escena: Lectur */
.sc-lec { background: linear-gradient(160deg, #e7f3ff, #fff6e6); }
.lec { width: 340px; max-width: 100%; background: #0c1626; color: #e8f1ff; border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .5); animation: rise .6s ease both; }
.lec p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.55; }
.lec p span { border-radius: 4px; padding: 0 2px; animation: hl .5s ease both; }
.wave { display: flex; align-items: center; gap: 5px; height: 34px; }
.wave i { width: 5px; border-radius: 9px; background: #f5a623; animation: wave 1s ease-in-out infinite; }

/* ---------- Clientes ---------- */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; padding-block: 22px; }
.trust img { filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.trust img:hover { filter: none; opacity: 1; }
.cname { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: var(--dim); }

/* ---------- Productos ---------- */
.sites { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 18px; }
.site { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; color: var(--fg); transition: transform .35s, box-shadow .35s, border-color .35s; }
.site::after { content: ""; position: absolute; right: -30%; bottom: -60%; width: 220px; height: 220px; border-radius: 50%; background: var(--c); opacity: .12; transition: transform .5s, opacity .5s; }
.site:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--c); }
.site:hover::after { transform: scale(1.6); opacity: .2; }
.site .s-ic { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; }
.site b { font-family: var(--f-display); font-size: 23px; color: var(--strong); }
.site q { quotes: none; font-style: italic; font-size: 15px; }
.site p { margin: 0; color: var(--mute); font-size: 15px; }
.site .tag { color: var(--c); margin-top: auto; }

/* ---------- Servicios ---------- */
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.svc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .3s, box-shadow .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc h3 { margin: 0; font-family: var(--f-display); font-size: 20px; color: var(--strong); }
.svc p { margin: 0; color: var(--mute); font-size: 15px; }
.svc-ic { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }

/* ---------- Diagnóstico ---------- */
.dgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.dcard { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); }
.qlbl { font-size: 13px; color: var(--mute); font-weight: 600; margin-top: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border-radius: 999px; padding: 8px 14px; font-size: 14px; min-height: 40px; border: 1px solid var(--line); background: var(--panel2); color: var(--mute); transition: all .2s; }
.chip[aria-pressed="true"] { border-color: var(--acc); background: var(--acc-soft); color: var(--strong); font-weight: 500; }
.result { background: var(--acc-soft); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.result.swap { animation: rise .45s ease both; }
.result b.rec { font-family: var(--f-display); font-size: 24px; color: var(--strong); line-height: 1.15; }
.kv { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.kv div { display: flex; flex-direction: column; } .kv span { font-size: 12px; color: var(--dim); } .kv b { font-size: 15px; color: var(--strong); }

/* ---------- Casos ---------- */
.case { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; }
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.case-top { position: relative; aspect-ratio: 16/9; background: var(--panel2); }
.case-top > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.seal { position: absolute; left: 18px; bottom: -28px; width: 66px; height: 66px; border-radius: 50%; border: 4px solid var(--panel); box-shadow: var(--shadow); object-fit: contain; background: #fff; }
.case-body { padding: 40px 22px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-body h3 { margin: 0; font-family: var(--f-display); font-size: 21px; color: var(--strong); }
.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ba div { background: var(--panel2); border-radius: 12px; padding: 12px 14px; font-size: 15px; display: flex; flex-direction: column; gap: 2px; }
.quote { margin: 22px 0 0; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 26px 30px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: 21px; color: var(--strong); max-width: 36em; }
.quote figcaption { color: var(--mute); font-size: 14px; }

/* ---------- Proceso ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.steps h3 { margin: 0; font-family: var(--f-display); font-size: 19px; color: var(--strong); }
.steps p { margin: 0; color: var(--mute); font-size: 15px; }
.steps em { font-style: normal; font-family: var(--f-mono); font-size: 12px; color: var(--acc); margin-top: auto; }
.sn { width: 40px; height: 40px; border-radius: 12px; background: var(--acc); color: var(--acc-ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-weight: 800; font-size: 18px; }

/* ---------- Tecnologías ---------- */
.techs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; }
.tech { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; transition: border-color .3s; }
.tech:hover { border-color: var(--acc); }
.tech b { font-family: var(--f-mono); font-size: 16px; color: var(--strong); }
.tech span { color: var(--mute); font-size: 14px; }

/* ---------- Precios ---------- */
.price { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.price.hot { border: 2px solid var(--acc); box-shadow: var(--shadow); }
.price h3 { margin: 0; font-family: var(--f-display); font-size: 22px; color: var(--strong); }
.price .pd { color: var(--mute); font-size: 15px; }
.price .pp { font-family: var(--f-display); font-size: 38px; color: var(--strong); line-height: 1.1; font-weight: 700; }
.price .pp small { font-size: 15px; color: var(--dim); }
.price ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.price li::before { content: "✓"; color: var(--acc); font-weight: 700; margin-right: 8px; }
.badge { font-size: 12px; color: var(--acc-ink); background: var(--acc); border-radius: 6px; padding: 2px 8px; font-weight: 600; }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 26px 22px; }
.member { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.member img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: center 30%; margin-bottom: 8px; border: 3px solid var(--panel); box-shadow: var(--shadow); transition: transform .3s; }
.member:hover img { transform: scale(1.06) rotate(-3deg); }
.member b { color: var(--strong); font-size: 16px; }
.member span { color: var(--mute); font-size: 14px; }

/* ---------- Comunidad ---------- */
.cc { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--fg); transition: transform .3s; }
.cc:hover { transform: translateY(-4px); }
.cc b { font-family: var(--f-display); font-size: 21px; color: var(--strong); }
.cc p { margin: 0; color: var(--mute); font-size: 15px; }
.cc.hot { border-color: var(--acc); }
.goal { height: 8px; background: var(--panel2); border-radius: 99px; overflow: hidden; }
.goal i { display: block; height: 100%; width: 35%; background: var(--acc); border-radius: 99px; animation: fill 1.8s .4s cubic-bezier(.2, .7, .2, 1) both; }

/* ---------- BM Network (siempre oscuro) ---------- */
.lab { background: #08080b; color: #ece6d3; }
.lab .h2 { color: #fff; }
.lab-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-block: 72px 24px; }
.lab-head .l { display: flex; align-items: center; gap: 20px; }
.lab-head img { width: 96px; height: 96px; object-fit: contain; animation: float 6s ease-in-out infinite; }
.ranks { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 14px; }
.rk-intro { display: flex; flex-direction: column; gap: 10px; justify-content: center; padding-right: 10px; }
.rk-intro b { font-family: var(--f-display); font-size: 26px; color: #fff; line-height: 1.15; }
.rk-intro p { margin: 0; color: #c9bfa0; font-size: 15px; }
.rk { background: #14120c; border: 1px solid #3a3113; border-radius: 18px; padding: 22px 18px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; transition: transform .3s, border-color .3s, box-shadow .3s; }
.rk:hover { transform: translateY(-6px); border-color: var(--rk); box-shadow: 0 20px 40px -20px var(--rk); }
.rk.hot { border-color: #f5c542; }
.rk b { font-family: var(--f-display); font-size: 20px; letter-spacing: .08em; color: var(--rk); }
.rk span { font-size: 13px; color: #c9bfa0; }
.rk em { font-style: normal; font-family: var(--f-mono); font-size: 14px; color: #fff; margin-top: auto; }
.gem { width: 46px; height: 46px; transform: rotate(45deg); border-radius: 8px; background: linear-gradient(135deg, #fff, var(--rk) 55%, #000 160%); box-shadow: 0 0 24px -4px var(--rk); animation: gem 3s ease-in-out infinite; margin: 6px 0 10px; }
.marquee { overflow: hidden; padding-block: 32px 72px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.track { display: flex; gap: 16px; width: max-content; animation: scroll 38s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.mlogo { flex: 0 0 auto; width: 160px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mlogo img { width: 120px; height: 120px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6)); transition: transform .3s; }
.mlogo:hover img { transform: translateY(-6px) scale(1.06); }
.mlogo span { font-size: 13px; color: #d8cba2; font-weight: 600; }

/* ---------- Preguntas ---------- */
.faqgrid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: start; }
.faqs { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.faq { border: 1px solid var(--line); border-radius: 16px; background: var(--panel); transition: border-color .25s; }
.faq[open] { border-color: var(--acc); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; color: var(--strong); font-weight: 600; cursor: pointer; min-height: 56px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; color: var(--acc); background: var(--acc-soft); transition: transform .3s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 20px 18px; color: var(--mute); font-size: 15px; }

/* ---------- Contacto ---------- */
.cgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 14px; }
.cinfo > a:not(.btn), .cinfo > span:not(.eyebrow) { color: var(--fg); font-size: 16px; }
.cform { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: var(--shadow); }
.cform .full { grid-column: 1 / -1; }
.cform label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--mute); }
.cform input, .cform textarea { font: inherit; font-size: 15px; color: var(--fg); background: var(--panel2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cform textarea { min-height: 120px; resize: vertical; }
.form-status { margin: 0; font-size: 14px; min-height: 1.4em; }
.form-status.ok { color: var(--ok); } .form-status.err { color: #d14343; }

/* ---------- Pie ---------- */
.foot { border-top: 1px solid var(--line); }
.foot .wrap { padding-block: 40px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px; font-size: 14px; color: var(--dim); }
.foot b { color: var(--strong); display: block; margin-bottom: 6px; }
.foot a { color: var(--mute); display: block; padding: 3px 0; }
.foot a:hover { color: var(--acc); }

/* ---------- Animaciones ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes word { from { opacity: 0; transform: translateY(60%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes prog { from { width: 0; } to { width: 100%; } }
@keyframes print { from { clip-path: inset(0 0 100% 0); transform: translateY(-12px); } }
@keyframes line { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-30px) scale(.95); } to { opacity: 1; transform: none; } }
@keyframes sla { from { width: 100%; } to { width: 28%; } }
@keyframes out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-16deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } }
@keyframes hl { 0% { background: transparent; } 30% { background: rgba(85, 180, 255, .55); } 100% { background: rgba(85, 180, 255, .16); } }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: 32px; } }
@keyframes scroll { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes gem { 0%, 100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(-5px); } }
@keyframes fill { from { width: 0; } }
@supports (animation-timeline: view()) {
  .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes reveal { from { opacity: .15; transform: translateY(40px) scale(.98); } to { opacity: 1; transform: none; } }
}

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 980px) {
  .hgrid, .dgrid, .faqgrid, .cgrid { grid-template-columns: 1fr; gap: 32px; }
  .ranks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rk-intro { grid-column: 1 / -1; padding: 0 0 6px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 18px; }
  .sec { padding-block: 56px; }
  .hgrid { padding-block: 44px 56px; }
  .stage { height: 380px; }
  .stabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cform { grid-template-columns: 1fr; }
  .rk { padding: 16px 8px; } .rk b { font-size: 15px; }
  .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .brand svg path { stroke-dashoffset: 0; }
  .swap-chip .b { opacity: 1; } .swap-chip .a { opacity: 0; }
  html { scroll-behavior: auto; }
}

/* Reseña de Google y rangos (oct 2026) */
.gstars { display: inline-block; margin-top: 6px; color: var(--acc); font-weight: 600; }
.gstars span { color: #f5b301; letter-spacing: 1px; margin-right: 4px; }
.rk-intro .perk { font-family: var(--f-mono); font-size: 14px; color: #f5c542; letter-spacing: 0; }
a.rk { color: inherit; text-decoration: none; }
