/* APOLO · landing. Negro profundo + verde del casco. Sin fuentes externas. */
:root {
  --bg: #050708; --bg2: #0a0d10; --card: #0d1114; --card2: #11161a;
  --line: rgba(255,255,255,.08); --line2: rgba(255,255,255,.14);
  --txt: #eef3f1; --txt2: #a9b4bd; --txt3: #77828c;
  --acc: #2bff88; --acc2: #1fd873; --acc-ink: #02140a;
  --amber: #f5b13d; --red: #ff5a52;
  --r: 14px; --r2: 20px;
  --sans: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, "SF Pro Display", Inter, Roboto, system-ui, sans-serif;
  --mono: "Cascadia Code", "JetBrains Mono", "SF Mono", ui-monospace, Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--txt); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--acc); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font-family: var(--mono); font-size: .88em; background: rgba(255,255,255,.06); border: 1px solid var(--line); padding: .05em .4em; border-radius: 6px; color: #d9f7e6; }
::selection { background: rgba(43,255,136,.3); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--acc); color: var(--acc-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 48px); }
.center { text-align: center; }
.nw { white-space: nowrap; }
.muted { color: var(--txt3); }
svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(5,7,8,.72); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--txt); font-weight: 700; letter-spacing: .14em; font-size: 15px; }
.brand:hover { text-decoration: none; }
.brand img { filter: drop-shadow(0 0 8px rgba(43,255,136,.45)); }
.nav-links { display: flex; gap: 22px; margin-right: auto; }
.nav-links a { color: var(--txt2); font-size: 14px; }
.nav-links a:hover { color: var(--txt); text-decoration: none; }
.nav-act { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; border: 1px solid var(--line2); border-radius: 9px; padding: 2px; }
.lang button { background: none; border: 0; color: var(--txt3); font: 600 12px var(--sans); padding: 5px 9px; border-radius: 7px; cursor: pointer; letter-spacing: .04em; }
.lang button[aria-pressed="true"] { background: rgba(255,255,255,.09); color: var(--txt); }
.gh svg { fill: currentColor; stroke: none; }

/* ---------- botones ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-pri { background: var(--acc); color: var(--acc-ink); box-shadow: 0 0 0 1px rgba(43,255,136,.5), 0 10px 40px -8px rgba(43,255,136,.55); }
.btn-pri:hover { box-shadow: 0 0 0 1px rgba(43,255,136,.7), 0 14px 50px -6px rgba(43,255,136,.7); }
.btn-ghost { color: var(--txt); border-color: var(--line2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.06); }
.btn-sm { height: 36px; padding: 0 12px; font-size: 13px; border-radius: 9px; gap: 8px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(600px 460px at 74% 40%, rgba(43,255,136,.16), transparent 70%), radial-gradient(500px 400px at 10% 0%, rgba(40,140,255,.07), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(43,255,136,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(43,255,136,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse 60% 55% at 70% 38%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 60% 55% at 70% 38%, #000 10%, transparent 70%); pointer-events: none; }
.hero-in > *, .split > * { min-width: 0; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 6px 13px; border: 1px solid rgba(43,255,136,.3); border-radius: 99px; color: #bdf7d6; font-size: 13px; letter-spacing: .02em; background: rgba(43,255,136,.06); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 10px var(--acc); }
h1 { font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 700; }
h1 em { font-style: normal; display: block; background: linear-gradient(180deg, #e9fff3 0%, var(--acc) 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--txt2); max-width: 560px; margin: 0 0 30px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.cta.center { justify-content: center; }
.install { margin-top: 26px; max-width: 560px; }
.install-lbl { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--txt3); margin-bottom: 8px; }
.cmd { display: flex; align-items: center; gap: 8px; background: #080b0d; border: 1px solid var(--line2); border-radius: 12px; padding: 6px 6px 6px 14px; }
.cmd code { flex: 1; min-width: 0; background: none; border: 0; padding: 0; font-size: 13px; color: #cfe9db; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code::before { content: "PS> "; color: var(--acc); }
.copy { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.06); border: 1px solid var(--line); color: var(--txt); border-radius: 8px; height: 34px; padding: 0 11px; font: 600 12px var(--sans); cursor: pointer; flex: none; }
.copy:hover { background: rgba(255,255,255,.1); }
.copy svg { width: 15px; height: 15px; }
.copy.done { color: var(--acc); border-color: rgba(43,255,136,.4); }
.fine { font-size: 12.5px; color: var(--txt3); margin: 12px 0 0; max-width: 560px; }

.hero-bot { position: relative; min-height: 520px; display: grid; place-items: center; }
.bot-slot { width: min(520px, 100%); aspect-ratio: 1; }
.bot { position: relative; width: 100%; height: 100%; cursor: pointer; }
.bot canvas, .bot .poster { position: absolute; inset: 5%; width: 90%; height: 90%; }
.bot.dock canvas, .bot.dock .poster { inset: 0; width: 100%; height: 100%; }
.bot canvas { filter: drop-shadow(0 0 34px var(--glow, rgba(43,255,136,.45))); opacity: 0; transition: opacity .6s; }
.bot.ready canvas { opacity: 1; }
.bot .poster { object-fit: contain; filter: drop-shadow(0 0 34px rgba(43,255,136,.4)); transition: opacity .6s; }
.bot.ready .poster { opacity: 0; }
.bot.dock { position: fixed; right: 18px; bottom: 18px; width: 128px; height: 128px; z-index: 45; animation: dockin .45s cubic-bezier(.2,.9,.3,1.2); }
.bot.dock::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(5,7,8,.75), transparent 70%); }
@keyframes dockin { from { transform: scale(.4) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* tarjeta de permiso (recreación de la isla) */
.perm { position: absolute; left: -6%; bottom: 6%; width: 300px; background: rgba(13,17,20,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(245,177,61,.45); border-radius: 14px; padding: 12px; box-shadow: 0 20px 60px -10px rgba(0,0,0,.7), 0 0 30px -10px rgba(245,177,61,.4); transition: opacity .4s, transform .4s, border-color .3s; }
.perm.hide { opacity: 0; transform: translateY(10px); pointer-events: none; }
.perm.ok { border-color: rgba(43,255,136,.6); }
.perm.no { border-color: rgba(255,90,82,.6); }
.perm-h { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 8px; }
.perm-ic { width: 18px; height: 18px; border-radius: 50%; background: var(--amber); color: #1c1200; font: 800 12px/18px var(--sans); text-align: center; }
.perm-src { margin-left: auto; font-size: 11px; color: var(--txt3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.perm code { display: block; background: #050708; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; margin-bottom: 9px; }
.perm-b { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.pb { height: 32px; border-radius: 8px; border: 1px solid transparent; font: 600 12.5px var(--sans); cursor: pointer; color: var(--txt); }
.pb.ok { background: var(--acc2); color: var(--acc-ink); }
.pb.al { background: rgba(43,255,136,.12); border-color: rgba(43,255,136,.35); color: #b6f7d2; }
.pb.no { background: rgba(255,255,255,.06); border-color: var(--line2); }
.pb:hover { filter: brightness(1.12); }
.perm-note { margin: 8px 2px 0; font-size: 11.5px; color: var(--txt3); }

.works { margin: 56px 0 14px; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--txt3); }
.logos-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.logos-row img { width: 28px; height: 28px; opacity: .78; filter: grayscale(.25); transition: opacity .2s, filter .2s; }
.logos-row img:hover { opacity: 1; filter: none; }
.logos-row.small { gap: 12px 26px; margin-top: 34px; }
.logos-row.small img { width: 24px; height: 24px; }
img.mono { filter: invert(1) !important; }

/* ---------- secciones ---------- */
.sec { padding: 110px 0; position: relative; }
.sec + .sec { border-top: 1px solid rgba(255,255,255,.04); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1.1fr .9fr; }
.split.rev .txt { order: 2; }
h1, h2, .lead { text-wrap: balance; }
.kick { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); }
h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; letter-spacing: -.028em; margin: 0 0 18px; font-weight: 700; }
.txt p { color: var(--txt2); font-size: 17px; margin: 0 0 16px; }
.txt p b { color: var(--txt); font-weight: 600; }
.txt.center { max-width: 760px; margin: 0 auto 48px; }
.txt .sub { font-size: 15px; color: var(--txt3); }
.beta { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 7px; border-radius: 99px; color: var(--amber); border: 1px solid rgba(245,177,61,.4); background: rgba(245,177,61,.08); font-weight: 700; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--txt2); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: rgba(43,255,136,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232bff88' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

.media { margin: 0; position: relative; }
.frame { border-radius: var(--r2); padding: 8px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--line); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 80px -40px rgba(43,255,136,.35); }
.frame img { border-radius: 13px; width: 100%; }
.frame.tall { max-width: 460px; justify-self: center; }
.frame.wide { max-width: 1080px; margin: 0 auto; }
.frame.clip { max-height: 640px; overflow: hidden; }
.frame.clip::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 8px; height: 140px; border-radius: 0 0 13px 13px; background: linear-gradient(transparent, var(--bg)); }
figcaption, .recre { font-size: 12.5px; color: var(--txt3); margin: 12px 4px 2px; text-align: center; }
.frame.clip figcaption { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 1; margin: 0; }

.verdicts { display: flex; gap: 8px; flex-wrap: wrap; margin: 4px 0 18px; }
.v { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 99px; border: 1px solid; }
.v::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.v-ok { color: var(--acc); border-color: rgba(43,255,136,.35); background: rgba(43,255,136,.07); }
.v-warn { color: var(--amber); border-color: rgba(245,177,61,.35); background: rgba(245,177,61,.07); }
.v-bad { color: var(--red); border-color: rgba(255,90,82,.4); background: rgba(255,90,82,.08); }

.night { background: radial-gradient(900px 400px at 50% 0%, rgba(60,90,255,.08), transparent 70%); }

/* wrapped: abanico */
.cards { display: flex; justify-content: center; align-items: center; min-height: 500px; padding-inline: 48px; }
.cards img { width: 188px; min-width: 0; border-radius: 16px; box-shadow: 0 30px 70px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); margin: 0 -34px; transition: transform .35s cubic-bezier(.2,.8,.3,1); }
.cards img:nth-child(1) { transform: rotate(-9deg) translateY(26px); }
.cards img:nth-child(2) { transform: rotate(-3deg) translateY(4px); z-index: 1; }
.cards img:nth-child(3) { transform: rotate(3deg) translateY(4px); z-index: 2; }
.cards img:nth-child(4) { transform: rotate(9deg) translateY(26px); z-index: 3; }
.cards:hover img:nth-child(1) { transform: rotate(-12deg) translate(-30px, 20px); }
.cards:hover img:nth-child(4) { transform: rotate(12deg) translate(30px, 20px); }
.cards img:hover { transform: translateY(-14px) scale(1.04) !important; z-index: 5; }

/* manos: recreación */
.hands { aspect-ratio: 4 / 3; display: grid; place-items: center; }
.win { position: relative; width: 92%; height: 82%; background: #1b1f23; border-radius: 10px; box-shadow: 0 0 0 3px #ff3b30, 0 0 50px -6px rgba(255,59,48,.65), 0 40px 80px -20px #000; overflow: hidden; transition: box-shadow .3s; }
.win.free { box-shadow: 0 0 0 1px var(--line2), 0 40px 80px -20px #000; }
.win-bar { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 12px; background: #23282d; font-size: 12.5px; color: #cdd5dc; }
.win-dots { display: flex; gap: 14px; }
.win-dots i { width: 10px; height: 2px; background: #8a939b; }
.win-menu { display: flex; gap: 16px; padding: 5px 12px; font-size: 12px; color: #9aa4ad; border-bottom: 1px solid rgba(255,255,255,.06); }
.win-body { margin: 0; padding: 16px 18px; font: 15px/1.6 var(--mono); color: #e7ecef; white-space: pre-wrap; min-height: 60%; }
.win-body::after { content: "▍"; color: var(--acc); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.ctl-badge { position: absolute; top: 44px; right: 12px; display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: #ffd6d4; background: rgba(255,59,48,.16); border: 1px solid rgba(255,59,48,.5); border-radius: 99px; padding: 4px 10px; transition: opacity .3s; }
.win.free .ctl-badge { opacity: 0; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: #ff3b30; animation: blink 1s steps(1) infinite; }
.cursor { position: absolute; width: 22px; height: 22px; fill: #fff; stroke: #000; stroke-width: 1.2; left: 60%; top: 60%; transition: left .5s ease, top .5s ease; filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)); }
.panic { position: absolute; left: 50%; bottom: 3%; transform: translate(-50%, 16px); opacity: 0; display: grid; gap: 2px; text-align: center; background: rgba(13,17,20,.95); border: 1px solid rgba(43,255,136,.45); border-radius: 12px; padding: 10px 18px; font-size: 13px; color: var(--txt2); transition: .35s; white-space: nowrap; box-shadow: 0 20px 50px -10px #000; }
.panic b { color: var(--acc); font-size: 14px; }
.panic.on { opacity: 1; transform: translate(-50%, 0); }
.hands .recre { position: absolute; bottom: -30px; left: 0; right: 0; }
.keys { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 15px !important; }
kbd { font: 600 12.5px var(--mono); color: var(--txt); background: linear-gradient(#1a2026, #12171b); border: 1px solid var(--line2); border-bottom-width: 3px; border-radius: 7px; padding: 3px 8px; }
.keys span { margin-left: 6px; }

/* móvil */
.phones { display: flex; justify-content: center; align-items: flex-start; gap: 28px; }
.phone { margin: 0; width: 250px; text-align: center; }
.phone img { border-radius: 30px; border: 7px solid #15191d; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 40px 80px -24px #000; }
.phone.mid { margin-top: 44px; }

/* ojo */
.eye-wrap { display: grid; justify-items: center; }
.eye { width: min(360px, 78vw); aspect-ratio: 1; border-radius: 50%; background: #020304 url("img/ojo-sprite.webp") 0 0 / 1800% 100% no-repeat; box-shadow: 0 0 0 14px #101418, 0 0 0 15px rgba(255,255,255,.08), 0 30px 80px -10px #000, 0 0 90px -20px rgba(43,255,136,.5); }
.eye-name { margin: 30px 0 8px; font: 600 14px var(--mono); color: var(--txt); }
.eye-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 300px; }
.eye-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.14); transition: background .3s; }
.eye-dots i.on { background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.spec { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.spec li { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 14px; display: grid; }
.spec b { font-size: 22px; letter-spacing: -.02em; color: var(--acc); }
.spec span { font-size: 13px; color: var(--txt3); }

.honest { border-left: 2px solid var(--acc); padding-left: 14px; color: var(--txt) !important; font-weight: 500; margin-top: 22px !important; }

/* seguridad */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 17px; letter-spacing: -.01em; }
.card h3::before { content: ""; display: block; width: 30px; height: 3px; border-radius: 3px; background: var(--acc); margin-bottom: 16px; box-shadow: 0 0 12px rgba(43,255,136,.6); }
.card p { margin: 0; color: var(--txt2); font-size: 15px; }
.audit { margin: 28px auto 0; max-width: 900px; border: 1px solid var(--line); border-radius: var(--r); background: #07090b; overflow: hidden; }
.audit-h { display: flex; justify-content: space-between; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font: 12.5px var(--mono); color: var(--txt3); }
.ok-pill { color: var(--acc); }
.audit pre { margin: 0; padding: 14px 16px; font: 12.5px/1.9 var(--mono); color: #c8d2d9; overflow-x: auto; }
.audit .g { color: var(--acc); } .audit .r { color: var(--red); } .audit .m { color: var(--txt3); }
.audit .recre { margin: 0 0 12px; }

/* tabla */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.tbl th, .tbl td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl thead th { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--txt3); background: rgba(255,255,255,.02); }
.tbl thead th:nth-child(2) { color: var(--acc); }
.tbl thead small { display: block; text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 12px; }
.tbl tbody th { color: var(--txt); font-weight: 600; width: 24%; }
.tbl td { color: var(--txt2); }
.tbl td:nth-child(2) { color: var(--txt); background: rgba(43,255,136,.03); }
.tbl .na { color: var(--txt3); }
.yes { color: var(--acc); font-weight: 600; }
.note { text-align: center; color: var(--txt3); font-size: 13px; margin-top: 16px; }

/* modelos */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.model { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.model img { width: 32px; height: 32px; }
.model b { display: block; font-size: 15.5px; }
.model span { font-size: 13.5px; color: var(--txt3); }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.faq summary { cursor: pointer; padding: 18px 50px 18px 20px; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--acc); font-size: 22px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--txt2); }

.final { padding: 130px 0; background: radial-gradient(700px 360px at 50% 100%, rgba(43,255,136,.13), transparent 70%); }
.final h2 { max-width: 760px; margin: 0 auto 30px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 50px; }
.foot-in { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; align-items: center; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--txt3); }
.foot-brand b { color: var(--txt); letter-spacing: .14em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: flex-end; }
.foot-links a { color: var(--txt2); font-size: 14px; }
.foot-fine { grid-column: 1 / -1; margin: 6px 0 0; font-size: 12.5px; color: var(--txt3); }

/* revelado al hacer scroll */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.3,1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { padding-top: 40px; }
  .hero-in, .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .txt { order: 0; }
  .hero-bot { min-height: 0; order: -1; }
  .bot-slot { width: min(380px, 86vw); }
  .perm { left: auto; right: 0; bottom: -4%; width: 270px; }
  .grid3, .models { grid-template-columns: 1fr 1fr; }
  .sec { padding: 80px 0; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav-in { gap: 10px; }
  .gh span { display: none; }
  .hero-bot { gap: 0; }
  .bot-slot { width: 60vw; }
  .perm { position: relative; left: auto; right: auto; bottom: auto; margin-top: -18px; width: min(320px, 100%); }
  h1 { font-size: 40px; }
  .btn { width: 100%; justify-content: center; }
  .cmd code { font-size: 12px; }
  .grid3, .models { grid-template-columns: 1fr; }
  .cards { min-height: 300px; padding-inline: 30px; }
  .cards img { width: 128px; margin: 0 -26px; border-radius: 11px; }
  .phones { gap: 10px; }
  .phone { width: 31%; }
  .phone img { border-width: 4px; border-radius: 16px; }
  .phone figcaption { font-size: 11px; }
  .phone.mid { margin-top: 24px; }
  .spec { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .spec li { padding: 10px; }
  .spec b { font-size: 17px; }
  .spec span { font-size: 11.5px; }
  .win-body { font-size: 12.5px; padding: 12px; }
  .panic { font-size: 12px; white-space: normal; width: 86%; }
  .bot.dock { width: 92px; height: 92px; right: 10px; bottom: 10px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .sec { padding: 64px 0; }
  .tbl { min-width: 0; font-size: 13px; }
  .tbl th, .tbl td { padding: 11px 9px; }
  .tbl tbody th { width: 30%; }
  .tbl thead th { font-size: 11px; }
  .txt.center { margin-bottom: 32px; }
  .frame.clip { max-height: 460px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
