/* ─────────────────────────────────────────────────────────────
   Beclectic · sitio público (inicio, proyectos, acceso)
   Primero teléfono, luego escritorio. Todo vive bajo body.is-site
   para no tocar el panel ni los portales de clientes.
   ───────────────────────────────────────────────────────────── */
body.is-site {
  --bg: #050605; --s1: #0c0e0b; --s2: #121510; --s3: #1a1e17;
  --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .18);
  --tx: #eef0e8; --mu: #a6ac9f; --lime: #d2ff3c; --lime-2: #e3ff7a; --lime-ink: #0a0b06;
  --live: #6ee7a0; --dev: #d2ff3c; --plan: #a6ac9f;
  --r: 20px; --gut: 16px; --max: 1480px; --head: 68px;
  --display: Archivo, 'Arial Narrow', sans-serif;
  background: var(--bg); color: var(--tx); font-size: 16px; line-height: 1.55;
  overflow-x: hidden;
}
body.is-site ::selection { background: var(--lime); color: var(--lime-ink); }
body.is-site a { color: inherit; }
body.is-site #app { min-height: 100vh; }
.is-site .mono { font-family: var(--mono); letter-spacing: .08em; }
.is-site .ic { flex: none; display: block; }
.is-site :focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.is-site img { display: block; max-width: 100%; }
.s-wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.s-main { display: block; }
.s-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--lime-ink) !important; padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.s-skip:focus { top: 12px; }

/* ── tipografía ───────────────────────────────── */
.s-display { font-family: var(--display); font-weight: 820; font-stretch: 68%; text-transform: uppercase; letter-spacing: -.005em; line-height: .9; margin: 0; }
.s-display em, .s-h2 em, .s-h3 em { font-style: normal; color: var(--lime); }
.s-h2 { font-size: clamp(40px, 10.5vw, 80px); }
.s-h3 { font-family: var(--display); font-weight: 760; font-stretch: 78%; font-size: clamp(28px, 5vw, 40px); line-height: 1; letter-spacing: -.01em; margin: 0; }
.s-label { font-size: 11px; color: var(--lime); margin: 0 0 14px; font-weight: 600; letter-spacing: .22em; }
.s-sub { color: var(--mu); font-size: clamp(15px, 2vw, 18px); max-width: 48ch; margin: 14px 0 0; }
.s-lead { color: #d7dbd0; font-size: clamp(16px, 2.2vw, 19px); max-width: 38ch; line-height: 1.45; margin: 0; }
.s-mark { font-size: 12px; color: var(--lime); margin: 26px 0 10px; }
.s-feat-kick { font-size: 10.5px; color: var(--mu); letter-spacing: .2em; margin: 0; line-height: 1.6; }

/* ── botones ──────────────────────────────────── */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15.5px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.s-btn .ic { transition: transform .25s ease; }
.s-btn:hover .ic:last-child { transform: translateX(3px); }
.s-btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.s-btn-lime { background: var(--lime); color: var(--lime-ink) !important; }
.s-btn-lime:hover { background: var(--lime-2); box-shadow: 0 10px 40px -12px rgba(210, 255, 60, .6); }
.s-btn-line { background: rgba(5, 6, 5, .5); color: var(--tx) !important; box-shadow: inset 0 0 0 1.5px var(--line2); backdrop-filter: blur(6px); }
.s-btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime) !important; }
.s-btn-ink { background: var(--lime-ink); color: var(--lime) !important; }
.s-btn-ink:hover { background: #000; }
.s-btn-block { width: 100%; }
.s-btn:disabled { opacity: .6; cursor: progress; }
.s-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.s-round { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; box-shadow: inset 0 0 0 1.5px var(--line2); color: var(--tx); flex: none; transition: all .25s ease; background: transparent; border: 0; }
.s-link { display: inline-flex; align-items: center; gap: 8px; color: var(--lime) !important; font-weight: 700; text-decoration: none; }

/* ── encabezado ───────────────────────────────── */
.s-head { position: sticky; top: 0; z-index: 40; background: rgba(5, 6, 5, .78); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--line); }
.s-head-in { display: flex; align-items: center; gap: 16px; min-height: var(--head); }
.s-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.s-logo-b { width: 34px; height: 34px; border-radius: 9px; background: var(--lime); color: var(--lime-ink); display: grid; place-items: center; font-family: var(--display); font-weight: 900; font-style: italic; font-size: 20px; }
.s-logo-w { font-family: var(--display); font-weight: 800; font-stretch: 72%; font-size: 23px; letter-spacing: .01em; }
.s-tagline { display: none; font-size: 9.5px; line-height: 1.6; color: var(--mu); letter-spacing: .22em; padding-left: 16px; border-left: 1px solid var(--line2); }
.s-nav, .s-head-cta { display: none; }
.s-burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 0; color: var(--tx); border-radius: 12px; }
.s-burger:hover { background: rgba(255, 255, 255, .06); }

/* menú móvil */
.s-drawer { position: fixed; inset: 0; z-index: 60; }
.s-drawer-scrim { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .3s ease; }
.s-drawer-panel { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--s1); border-left: 1px solid var(--line); display: flex; flex-direction: column; padding: 0 20px 28px; transform: translateX(100%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); overflow-y: auto; }
.s-drawer.open .s-drawer-scrim { opacity: 1; }
.s-drawer.open .s-drawer-panel { transform: none; }
.s-drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: var(--head); }
.s-drawer-nav { display: flex; flex-direction: column; margin: 16px 0 28px; }
.s-drawer-nav a { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--display); font-weight: 760; font-stretch: 75%; font-size: 30px; text-transform: uppercase; }
.s-drawer-nav a .mono { font-size: 11px; color: var(--lime); font-family: var(--mono); }
.s-drawer-nav a .ic { margin-left: auto; color: var(--mu); }
.s-drawer-nav a:hover { color: var(--lime); }

/* aparición */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .7s ease var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

/* ═════════ piezas compartidas ═════════ */
.s-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.s-tags li { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: #d7dbd0; }
.s-status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(5, 6, 5, .8); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--line2); color: var(--tx); white-space: nowrap; }
.s-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-status.s-live i { background: var(--live); box-shadow: 0 0 10px var(--live); }
.s-status.s-dev i { background: var(--dev); box-shadow: 0 0 10px var(--dev); }
.s-status.s-plan i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--plan); }
.s-cap-ic, .s-acc-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: var(--lime); background: rgba(210, 255, 60, .07); box-shadow: inset 0 0 0 1px rgba(210, 255, 60, .25); flex: none; transition: transform .5s cubic-bezier(.2, .8, .2, 1), background .3s ease, color .3s ease; }
.s-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px; text-align: center; color: var(--mu); border-radius: 28px; border: 1px dashed var(--line2); }
.s-empty .ic { color: var(--lime); }
.s-empty-left { align-items: flex-start; text-align: left; }
.s-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.s-cta-note { font-weight: 600; margin: 0; }
.s-btn-dark { background: var(--lime-ink); color: var(--lime) !important; }
.s-btn-dark:hover { background: #000; box-shadow: 0 14px 40px -16px rgba(0, 0, 0, .6); }
.s-btn-outline { background: transparent; color: var(--lime-ink) !important; box-shadow: inset 0 0 0 1.5px rgba(10, 11, 6, .35); }
.s-btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--lime-ink); background: rgba(255, 255, 255, .5); }
.s-round-btn { cursor: pointer; }
.s-round-btn:hover:not(:disabled) { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.s-round-btn:disabled { opacity: .3; cursor: default; }

/* aparición con zoom */
.rv-zoom { opacity: 0; transform: scale(.9); transition: opacity .8s ease var(--d, 0ms), transform 1s cubic-bezier(.2, .8, .2, 1) var(--d, 0ms); }
.rv-zoom.in { opacity: 1; transform: none; }

/* ── encabezado sobre la bienvenida clara ── */
.s-head { transition: background .35s ease, color .35s ease, border-color .35s ease; }
.s-head.light { background: rgba(244, 245, 239, .72); border-bottom-color: rgba(10, 11, 6, .08); color: var(--lime-ink); }
.s-head.light .s-logo-w, .s-head.light .s-burger { color: var(--lime-ink); }
.s-head.light .s-logo-b { background: var(--lime-ink); color: var(--lime); }
.s-head.light .s-tagline { color: #5b6055; border-left-color: rgba(10, 11, 6, .2); }
.s-head.light .s-nav a { color: #2a2d24; }
.s-head.light .s-nav a:hover { color: var(--lime-ink); }
.s-head.light .s-nav a::after { background: var(--lime-ink); }
.s-head.light .s-head-cta { background: var(--lime-ink); color: var(--lime) !important; }

/* ═════════ INICIO ═════════ */
.s-home { --paper: #f4f5ef; --paper2: #e9ebe2; --ink-mu: #5b6055; }
.s-band { position: relative; isolation: isolate; overflow: hidden; padding: 80px 0; scroll-margin-top: var(--head); }
.s-band-light { background: var(--paper); color: var(--lime-ink); }
.s-band-light .s-label { color: #4c5f00; }
.s-band-light .s-display em, .s-band-light .s-h2 em { color: var(--lime-ink); background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%); padding: 0 .06em; }
.s-band-light .s-sub { color: var(--ink-mu); }
.s-band-dark { background: var(--bg); }
.s-band-head { margin-bottom: 40px; }

/* bienvenida (clara) */
.s-welcome { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); color: var(--lime-ink); margin-top: calc(var(--head) * -1); padding-top: var(--head); border-radius: 0 0 40px 40px; scroll-margin-top: 0; }
.s-welcome-bg { position: absolute; inset: -6% 0 0 0; z-index: -1; }
.s-welcome-bg .viz { width: 100%; height: 100%; }
.s-welcome-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(244, 245, 239, .85) 38%, rgba(244, 245, 239, .2) 75%, rgba(244, 245, 239, .5) 100%), linear-gradient(0deg, var(--paper) 0%, transparent 30%); }
.s-welcome-in { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 36px; }
.s-hello { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .22em; color: #3d4236; margin: 0 0 22px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px rgba(10, 11, 6, .1); }
.s-hello-dot { width: 8px; height: 8px; border-radius: 50%; background: #6f8a00; box-shadow: 0 0 0 0 rgba(111, 138, 0, .6); animation: s-ping 2s ease-out infinite; }
@keyframes s-ping { 70% { box-shadow: 0 0 0 10px rgba(111, 138, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 138, 0, 0); } }
.s-welcome-t { font-size: clamp(50px, 14vw, 168px); line-height: .86; color: var(--lime-ink); }
.s-welcome-t .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.s-welcome-t .w > span { display: inline-block; transform: translateY(105%); animation: s-word .9s cubic-bezier(.2, .8, .2, 1) calc(.15s + var(--i) * .09s) forwards; }
.s-welcome-t em { font-style: normal; position: relative; z-index: 0; color: var(--lime-ink); }
.s-welcome-t em::before { content: ''; position: absolute; left: -.04em; right: -.04em; top: .5em; bottom: .04em; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: 0 50%; animation: s-mark .8s cubic-bezier(.2, .8, .2, 1) 1s forwards; }
@keyframes s-word { to { transform: none; } }
@keyframes s-mark { to { transform: none; } }
.s-welcome-lead { font-size: clamp(16px, 2.2vw, 20px); color: #3d4236; max-width: 46ch; margin: 24px 0 0; line-height: 1.5; opacity: 0; animation: s-fadeup .8s ease .8s forwards; }
.s-welcome .s-actions { opacity: 0; animation: s-fadeup .8s ease 1s forwards; }
@keyframes s-fadeup { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.s-welcome-stage { position: relative; height: 360px; }
.s-orb { position: absolute; right: 6%; top: 4%; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--lime) 0%, rgba(210, 255, 60, .55) 35%, rgba(210, 255, 60, 0) 70%); filter: blur(6px); animation: s-breathe 7s ease-in-out infinite; }
@keyframes s-breathe { 50% { transform: scale(1.12); } }
.s-stage-panel { position: absolute; right: 0; top: 18px; width: min(380px, 82%); border-radius: 22px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(10, 11, 6, .55); animation: s-pop .9s cubic-bezier(.2, .8, .2, 1) .5s both; }
.s-stage-panel .viz { width: 100%; height: auto; }
.s-stage-tip { position: absolute; left: 0; top: 190px; padding: 14px 16px; border-radius: 18px; background: #fff; color: var(--lime-ink); box-shadow: 0 24px 50px -24px rgba(10, 11, 6, .45), inset 0 0 0 1.5px var(--lime-ink); display: flex; flex-direction: column; gap: 3px; animation: s-pop .9s cubic-bezier(.2, .8, .2, 1) .8s both; }
.s-stage-tip .mono { font-size: 10px; color: #4c5f00; }
.s-stage-tip strong { font-size: 20px; }
.s-stage-tip span:last-child { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-mu); }
.s-nowcard { position: absolute; right: 8%; bottom: 0; width: 230px; border-radius: 22px; overflow: hidden; background: var(--lime-ink); color: var(--tx); box-shadow: 0 30px 60px -24px rgba(10, 11, 6, .6); transition: transform .38s ease, opacity .38s ease; animation: s-pop .9s cubic-bezier(.2, .8, .2, 1) 1.1s both; }
.s-nowcard.swap { transform: scale(.86) rotate(-2deg); opacity: 0; }
.s-nowcard-in { display: block; text-decoration: none; }
.s-nowcard-media { aspect-ratio: 16 / 10; overflow: hidden; }
.s-nowcard-media .viz, .s-nowcard-media img { width: 100%; height: 100%; object-fit: cover; animation: s-kenburns 4s ease-out both; }
@keyframes s-kenburns { from { transform: scale(1.18); } to { transform: none; } }
.s-nowcard-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.s-nowcard-body .mono { font-size: 9.5px; color: var(--lime); }
.s-nowcard-body strong { font-size: 16px; }
.s-nowcard-body span:last-child { font-size: 12px; color: var(--mu); }
@keyframes s-pop { from { opacity: 0; transform: scale(.8) translateY(20px); } to { opacity: 1; transform: none; } }

.s-pin-ring { transform-box: fill-box; transform-origin: center; animation: s-pulse 2.6s ease-out infinite; }
.s-pin:nth-of-type(2n) .s-pin-ring { animation-delay: -1.3s; }
@keyframes s-pulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.s-arc { stroke-dasharray: 6 8; animation: s-flowline 6s linear infinite; }
@keyframes s-flowline { to { stroke-dashoffset: -140; } }

.s-belt { border-top: 1px solid rgba(10, 11, 6, .1); padding: 16px 0 18px; overflow: hidden; }
.s-belt-track { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.s-belt-run { display: flex; gap: 12px; width: max-content; animation: s-belt 34s linear infinite; }
.s-belt:hover .s-belt-run { animation-play-state: paused; }
.s-belt a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--lime-ink); text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: inset 0 0 0 1px rgba(10, 11, 6, .1); white-space: nowrap; transition: background .25s ease, transform .25s ease; }
.s-belt a .ic { color: #6f8a00; }
.s-belt a:hover { background: var(--lime); transform: translateY(-2px); }
@keyframes s-belt { to { transform: translateX(-50%); } }

/* portafolio (oscuro, encimado sobre la bienvenida) */
.s-portfolio { position: relative; z-index: 1; background: radial-gradient(90% 50% at 50% 0%, rgba(210, 255, 60, .09), transparent 70%), var(--bg); border-radius: 40px 40px 0 0; margin-top: -40px; padding: 72px 0 64px; scroll-margin-top: var(--head); }
.s-portfolio-head { display: grid; gap: 22px; align-items: end; margin-bottom: 30px; }
.s-select { position: relative; display: flex; flex-direction: column; gap: 6px; max-width: 340px; }
.s-select > .mono { font-size: 10.5px; color: var(--mu); letter-spacing: .2em; }
.s-select select { appearance: none; -webkit-appearance: none; width: 100%; min-height: 54px; padding: 0 48px 0 20px; border-radius: 999px; border: 0; background: var(--s2); color: var(--tx); font: inherit; font-weight: 700; font-size: 15px; box-shadow: inset 0 0 0 1.5px var(--line2); cursor: pointer; transition: box-shadow .2s ease; }
.s-select select:hover, .s-select select:focus { box-shadow: inset 0 0 0 1.5px var(--lime); outline: none; }
.s-select select option { background: #121510; color: var(--tx); }
.s-select-ic { position: absolute; right: 18px; bottom: 17px; color: var(--lime); pointer-events: none; }

.s-track { --cw: 84vw; display: grid; grid-auto-flow: column; grid-auto-columns: var(--cw); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px calc((100vw - var(--cw)) / 2) 26px; scrollbar-width: none; overscroll-behavior-x: contain; }
.s-track::-webkit-scrollbar { display: none; }

.s-car-foot { display: flex; align-items: center; gap: 16px; }
.s-car-count { font-size: 12px; color: var(--mu); min-width: 64px; }
.s-car-bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.s-car-bar i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(.08); transition: transform .2s ease-out; }
.s-car-btns { display: flex; gap: 8px; }
.s-carousel.static .s-car-foot { display: none; }
#s-proj-out > .s-empty { margin: 0 var(--gut); }


/* qué hacemos (claro, acordeón) */
.s-caps { border-radius: 40px 40px 0 0; margin-top: -40px; z-index: 2; }
.s-band-light .s-acc-ic { color: var(--lime-ink); background: var(--lime); box-shadow: none; }

/* acceso (oscuro) */
.s-accb { border-radius: 40px 40px 0 0; margin-top: -40px; z-index: 3; }
.s-accb-in { display: grid; gap: 48px; align-items: center; }
.s-accb-device { border-radius: 28px; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line), 0 0 120px -40px rgba(210, 255, 60, .35); }
.s-accb-device .viz { width: 100%; height: auto; display: block; }

/* impacto (oscuro, sigue al anterior) */
.s-impact { padding-top: 40px; }
.s-impact-bg { position: absolute; inset: 30% -40% -10% -10%; z-index: -1; opacity: .9; }
.s-impact-bg .viz { width: 100%; height: 100%; }
.s-impact-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(5, 6, 5, .2) 45%, rgba(5, 6, 5, .55) 100%); }
.s-impact-in { display: grid; gap: 36px; }
.s-impact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.s-impact-list li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 28px; background: rgba(12, 14, 11, .72); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .3s ease; }
.s-impact-list li:hover { transform: translateY(-6px) scale(1.02); box-shadow: inset 0 0 0 1.5px rgba(210, 255, 60, .5); }
.s-impact-list strong { font-size: 22px; margin-top: 6px; }
.s-impact-list span:last-child { color: var(--mu); }

/* proceso (claro) */
.s-process { border-radius: 40px 40px 0 0; margin-top: -40px; z-index: 4; }
.s-partners { margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(10, 11, 6, .1); }
.s-partners .s-label { color: #4c5f00; }
.s-partners ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.s-partners li { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 11, 6, .07); transition: transform .3s ease, background .3s ease; }
.s-partners li:hover { transform: translateY(-3px); background: var(--lime); }
.s-partners li .mono { font-size: 11px; font-weight: 700; }

/* cierre (lima) */
.s-finale { position: relative; z-index: 5; background: var(--lime); color: var(--lime-ink); border-radius: 40px 40px 0 0; margin-top: -40px; padding: 80px 0 72px; scroll-margin-top: var(--head); }
.s-finale-in { display: flex; flex-direction: column; gap: 28px; }
.s-finale h2 { font-size: clamp(46px, 11.5vw, 170px); color: var(--lime-ink); line-height: .86; }
.s-finale h2 .w { display: inline-block; overflow: hidden; vertical-align: top; }
.s-finale h2 .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .1s); }
.s-finale.in h2 .w > span, .s-finale h2.in .w > span { transform: none; }
.s-foot { margin-top: 0; }

/* ── pie ──────────────────────────────────────── */
.s-foot { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg); }
.s-foot-in { display: grid; gap: 24px; }
.s-foot-brand p { font-size: 10.5px; color: var(--mu); margin-top: 14px; }
.s-foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.s-foot-nav a { color: var(--mu) !important; text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.s-foot-nav a:hover { color: var(--lime) !important; }
.s-foot-copy { font-size: 11px; color: var(--mu); margin: 0; }
.s-cover-value { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin: 10px 0 0; padding: 12px 16px; border-radius: 18px; background: rgba(5, 6, 5, .7); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(210, 255, 60, .35); font-weight: 700; align-self: flex-start; }
.s-cover-value .mono { font-size: 10.5px; color: var(--lime); }
.s-cover-value strong { color: var(--lime); }
.s-cover-value em { font-style: normal; font-weight: 500; color: var(--mu); font-size: 13px; }

/* ═════════ DETALLE: narración ═════════ */
.s-progress { position: fixed; left: 0; right: 0; top: var(--head); height: 2px; z-index: 39; background: transparent; }
.s-progress i { display: block; height: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); box-shadow: 0 0 10px var(--lime); }
.s-cover { position: relative; min-height: 78vh; display: flex; isolation: isolate; overflow: hidden; }
.s-cover-media, .s-next-media { position: absolute; inset: 0; z-index: -2; }
.s-cover-media .viz, .s-cover-media img, .s-next-media .viz, .s-next-media img { width: 100%; height: 100%; object-fit: cover; }
.s-cover-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 6, 5, .35) 0%, rgba(5, 6, 5, .15) 35%, rgba(5, 6, 5, .85) 75%, var(--bg) 100%); pointer-events: none; }
.s-cover-in { display: flex; flex-direction: column; justify-content: space-between; padding-top: 14px; padding-bottom: 40px; }
.s-back { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; color: var(--tx) !important; text-decoration: none; font-weight: 600; padding: 10px 16px 10px 12px; border-radius: 999px; background: rgba(5, 6, 5, .6); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px var(--line2); }
.s-back:hover { color: var(--lime) !important; }
.s-cover-copy { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.s-cover-t { font-size: clamp(44px, 13vw, 150px); text-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.s-dmeta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.s-zoom-in { animation: s-zoom 1s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes s-zoom { from { transform: scale(1.12); opacity: .4; } to { transform: none; opacity: 1; } }

.s-story { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 8px; padding-bottom: 40px; }
.s-chapnav { min-width: 0; position: sticky; top: var(--head); z-index: 20; margin: 0 calc(var(--gut) * -1); padding: 10px var(--gut); background: rgba(5, 6, 5, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.s-chapnav > .s-label, .s-chapnav-actions { display: none; }
.s-chapnav ol { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.s-chapnav ol::-webkit-scrollbar { display: none; }
.s-chapnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-size: 13.5px; font-weight: 600; color: var(--mu) !important; box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: all .2s ease; }
.s-chapnav a .mono { font-size: 10px; }
.s-chapnav a[aria-current] { color: var(--lime-ink) !important; background: var(--lime); box-shadow: none; }
.s-chapters { min-width: 0; }
.s-chap { padding: 56px 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--head) + 70px); }
.s-chap-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; }
.s-chap-n { font-size: 12px; color: var(--lime); }
.s-chap-t { margin: 0; font-family: var(--display); font-weight: 760; font-stretch: 78%; font-size: clamp(30px, 6vw, 46px); line-height: 1; text-transform: uppercase; }
.s-statement { margin: 0; font-size: clamp(22px, 4.2vw, 38px); line-height: 1.25; letter-spacing: -.015em; font-weight: 500; max-width: 30ch; }
.s-chap-problem .s-statement { color: #d9dcd3; }
.s-statement-lime { color: var(--tx); }
.s-statement-lime::first-line { color: var(--lime); }
.s-chap-fig { margin: 32px 0 0; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); background: var(--s1); }
.s-chap-fig .viz, .s-chap-fig img { width: 100%; aspect-ratio: 16 / 9.6; height: auto; object-fit: cover; }
.s-chap-fig figcaption { font-size: 10.5px; color: var(--mu); padding: 10px 16px; }
.s-chap-fig figcaption:empty { display: none; }
.s-impact-cards { display: grid; gap: 12px; }
.s-icard { padding: 22px; border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.s-icard h3 { margin: 8px 0 0; font-size: 20px; }
.s-icard p { margin: 0; color: var(--mu); }
.s-feat-grid { display: grid; gap: 12px; }
.s-fcard { padding: 22px; border-radius: var(--r); background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.s-fcard h3 { margin: 6px 0 0; font-size: 19px; }
.s-fcard p { margin: 0; color: var(--mu); }
.s-spec { margin: 0; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.s-spec-row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; border-top: 1px solid var(--line); }
.s-spec-row:first-child { border-top: 0; }
.s-spec dt { font-size: 10.5px; color: var(--lime); }
.s-spec dd { margin: 0; color: #e2e5dc; }
.s-checks { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 14px; }
.s-checks li { display: flex; align-items: flex-start; gap: 12px; color: #d7dbd0; }
.s-checks li .ic { color: var(--lime); margin-top: 2px; }
.s-results { margin: 0; }
.s-results li { font-size: 18px; }
.s-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; scrollbar-width: thin; scrollbar-color: var(--line2) transparent; }
.s-gal-item { margin: 0; scroll-snap-align: start; border-radius: var(--r); overflow: hidden; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.s-gal-item .viz, .s-gal-item img { width: 100%; aspect-ratio: 16 / 10.4; height: auto; object-fit: cover; }
.s-gal-item figcaption { font-size: 10.5px; color: var(--mu); padding: 12px 16px; }

.s-next { position: relative; }
.s-next-link { position: relative; display: flex; min-height: 56vh; isolation: isolate; overflow: hidden; text-decoration: none; }
.s-next-media .viz, .s-next-media img { transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.s-next-link:hover .s-next-media .viz, .s-next-link:hover .s-next-media img { transform: scale(1.06); }
.s-next-in { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 14px; padding-bottom: 48px; }
.s-next-t { font-size: clamp(44px, 12.5vw, 140px); }
.s-cta { background: var(--lime); color: var(--lime-ink); padding: 60px 0; }
.s-cta-in { display: flex; flex-direction: column; gap: 26px; }
.s-cta h2 { font-size: clamp(40px, 12.5vw, 120px); color: var(--lime-ink); }

/* ── acceso ───────────────────────────────────── */
.s-form { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; max-width: 460px; }
.s-field-l { font-size: 11px; color: var(--mu); font-weight: 600; letter-spacing: .18em; }
.s-field { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px 0 18px; border-radius: 16px; background: rgba(12, 14, 11, .92); box-shadow: inset 0 0 0 1.5px var(--line2); transition: box-shadow .2s ease; color: var(--mu); }
.s-field:focus-within { box-shadow: inset 0 0 0 1.5px var(--lime), 0 0 0 4px rgba(210, 255, 60, .12); color: var(--lime); }
.s-field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--tx); font-size: 18px; min-height: 56px; letter-spacing: .06em; }
.s-field input:focus { outline: none; }
.s-field input::placeholder { color: rgba(255, 255, 255, .25); }
.s-eye { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 0; background: transparent; color: var(--mu); cursor: pointer; }
.s-eye:hover { color: var(--tx); background: rgba(255, 255, 255, .06); }
.s-form .s-btn { margin-top: 6px; }
.s-form-msg { min-height: 22px; margin: 0; font-weight: 600; font-size: 14px; }
.s-form[data-state="error"] .s-field { box-shadow: inset 0 0 0 1.5px #ff6b6b; }
.s-form[data-state="error"] .s-form-msg { color: #ff8a8a; }
.s-form[data-state="ok"] .s-form-msg { color: var(--live); }
.s-help { color: var(--mu); font-size: 15px; margin-top: 14px; }
.s-help a { color: var(--lime) !important; font-weight: 700; }
.s-device { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); background: var(--s1); }
.s-device .viz { width: 100%; height: auto; display: block; }
.s-404 { padding: 96px 0 120px; }

/* ═════════ transición: la imagen del proyecto crece hasta la portada ═════════ */
.vt-hero { view-transition-name: proj-media; }
::view-transition-group(proj-media) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); z-index: 50; }
::view-transition-old(proj-media), ::view-transition-new(proj-media) { width: 100%; height: 100%; object-fit: cover; overflow: clip; }
::view-transition-old(root) { animation: .3s ease both s-out; }
::view-transition-new(root) { animation: .5s ease .15s both s-in; }
@keyframes s-out { to { opacity: 0; } }
@keyframes s-in { from { opacity: 0; } }

/* ═════════ tableta ═════════ */
@media (min-width: 720px) {
  body.is-site { --gut: 28px; }
  .s-actions { flex-direction: row; flex-wrap: wrap; }
  .s-portfolio-head { grid-template-columns: 1fr auto; }
  .s-select { min-width: 300px; }
  .s-track { --cw: 68vw; gap: 18px; padding-bottom: 30px; }
  .s-impact-list { grid-template-columns: repeat(3, 1fr); }
  .s-partners ul { grid-template-columns: repeat(4, 1fr); }
  .s-impact-cards { grid-template-columns: repeat(3, 1fr); }
  .s-feat-grid { grid-template-columns: 1fr 1fr; }
  .s-spec-row { grid-template-columns: 200px 1fr auto; align-items: center; gap: 20px; }
  .s-gallery { grid-auto-columns: calc((100% - 12px) / 1.6); }
  .s-foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .s-cta-in { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .s-finale-in { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* ═════════ escritorio ═════════ */
@media (min-width: 1100px) {
  body.is-site { --gut: 40px; --head: 80px; }
  .s-tagline { display: block; }
  .s-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 600; }
  .s-nav a { text-decoration: none; color: #d7dbd0; padding: 8px 0; position: relative; }
  .s-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--lime); transition: right .3s ease; }
  .s-nav a:hover { color: var(--tx); }
  .s-nav a:hover::after { right: 0; }
  .s-head-cta { display: inline-flex; min-height: 44px; padding: 0 20px; font-size: 14px; }
  .s-burger { display: none; }

  .s-band { padding: 104px 0 112px; }
  .s-welcome { border-radius: 0 0 56px 56px; }
  .s-welcome-in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; min-height: calc(100vh - var(--head) - 80px); padding-top: 40px; padding-bottom: 40px; }
  .s-welcome-t { font-size: clamp(96px, 8.4vw, 168px); }
  .s-welcome-stage { height: 520px; }
  .s-orb { width: 420px; height: 420px; }
  .s-stage-panel { width: min(440px, 100%); top: 30px; }
  .s-stage-tip { top: 280px; left: -12%; }
  .s-nowcard { width: 260px; right: 4%; bottom: 10px; }

  .s-portfolio { border-radius: 56px 56px 0 0; margin-top: -56px; padding: 110px 0 100px; }
  .s-portfolio-head { margin-bottom: 40px; }
  .s-track { --cw: min(1040px, 64vw); gap: 24px; padding-top: 24px; padding-bottom: 36px; }

  .s-caps, .s-accb, .s-process { border-radius: 56px 56px 0 0; margin-top: -56px; }
  .s-finale { border-radius: 56px 56px 0 0; margin-top: -56px; padding: 120px 0 110px; }
  /* acordeón horizontal: la capacidad señalada se despliega */

  .s-accb-in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 80px; }
  .s-impact { padding-top: 40px; }
  .s-impact-bg { inset: -20% -15% -20% 35%; }
  .s-impact-bg::after { background: linear-gradient(90deg, var(--bg) 0%, rgba(5, 6, 5, .4) 45%, rgba(5, 6, 5, .1) 100%); }
  .s-impact-in { grid-template-columns: 1fr; }
  .s-impact-in > .rv { max-width: 760px; }
  .s-impact-list { max-width: 980px; }


  .s-cover { min-height: calc(86vh - var(--head)); }
  .s-cover-in { padding-top: 24px; padding-bottom: 60px; }
  .s-story { grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 24px; }
  .s-chapnav { top: calc(var(--head) + 24px); align-self: start; margin: 0; padding: 32px 0 0; background: none; backdrop-filter: none; border: 0; }
  .s-chapnav > .s-label, .s-chapnav-actions { display: flex; }
  .s-chapnav-actions { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 28px; }
  .s-chapnav ol { flex-direction: column; gap: 2px; overflow: visible; }
  .s-chapnav a { box-shadow: none; border-radius: 10px; padding: 10px 12px; font-size: 15px; width: 100%; }
  .s-chapnav a:hover { color: var(--tx) !important; background: rgba(255, 255, 255, .04); }
  .s-chapnav a[aria-current] { background: rgba(210, 255, 60, .1); color: var(--lime) !important; box-shadow: inset 2px 0 0 var(--lime); }
  .s-chap { padding: 80px 0; }
  .s-chap:first-child { padding-top: 40px; }
  .s-feat-grid { grid-template-columns: repeat(3, 1fr); }
  .s-gallery { grid-auto-columns: calc((100% - 12px) / 2); }
  .s-next-link { min-height: 64vh; }
  .s-cta { padding: 88px 0; }
}

/* ═════════ movimiento reducido ═════════ */
@media (prefers-reduced-motion: reduce) {
  .is-site *, .is-site *::before, .is-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv, .rv-zoom, .s-welcome-lead, .s-welcome .s-actions, .s-flow li, .s-journey li { opacity: 1 !important; transform: none !important; }
  .s-welcome-t .w > span, .s-finale h2 .w > span { transform: none !important; }
  .s-welcome-t em::before { transform: none !important; }
  .s-slide { transform: none; opacity: 1; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}
html:has(body.is-site) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(body.is-site) { scroll-behavior: auto; } }
/* con View Transitions la portada ya llega "creciendo"; sin ellas, se anima sola */
html:active-view-transition .s-zoom-in { animation: none; }

/* ═════════ LIMPIEZA: lo esencial a la vista, el detalle se despliega ═════════ */
/* tarjetas del portafolio */
.s-slide { scroll-snap-align: center; display: flex; flex-direction: column; border-radius: 30px; overflow: hidden; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line2); transform: scale(calc(.88 + .12 * var(--k))); opacity: calc(.4 + .6 * var(--k)); transition: transform .25s ease-out, opacity .25s ease-out, box-shadow .4s ease; }
.s-slide.is-active { box-shadow: inset 0 0 0 1.5px rgba(210, 255, 60, .6), 0 30px 80px -30px rgba(210, 255, 60, .35); }
.s-slide-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.s-slide-img, .s-slide-img .viz, .s-slide-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-slide-img { transform: scale(calc(1.12 - .12 * var(--k))); transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.s-slide-media:hover .s-slide-img { transform: scale(1.07); }
.s-slide-top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; align-items: center; }
.s-slide-num { font-size: 12px; color: var(--tx); background: rgba(5, 6, 5, .7); backdrop-filter: blur(6px); padding: 6px 10px; border-radius: 999px; }
.s-slide-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.s-slide-cat { font-size: 10.5px; color: var(--lime); }
.s-slide-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-decoration: none; }
.s-slide-head h3 { margin: 0; font-family: var(--display); font-weight: 820; font-stretch: 70%; text-transform: uppercase; font-size: clamp(30px, 7vw, 44px); line-height: .92; }
.s-slide-head:hover .s-round, .s-slide.is-active .s-round { background: var(--lime); color: var(--lime-ink); box-shadow: 0 0 24px rgba(210, 255, 60, .45); }
.s-slide-short { margin: 0; color: var(--mu); font-size: 15px; }
.s-slide.is-opening { transform: scale(1.03); }
.s-more { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; min-height: 40px; padding: 0 16px 0 6px; border: 0; border-radius: 999px; background: rgba(210, 255, 60, .1); color: var(--lime); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .25s ease; }
.s-more:hover { background: rgba(210, 255, 60, .18); }
.s-more-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--lime-ink); transition: transform .35s ease; }
.s-slide.is-open .s-more-ic { transform: rotate(45deg); }
.s-glance { animation: s-unfold .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes s-unfold { from { opacity: 0; transform: translateY(-8px); } }
.s-glance-steps { list-style: none; margin: 6px 0 14px; padding: 0; display: grid; gap: 0; position: relative; }
.s-glance-steps::before { content: ''; position: absolute; left: 19px; top: 20px; bottom: 20px; width: 2px; background: linear-gradient(var(--line2), var(--lime)); }
.s-glance-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 8px 0; }
.s-glance-ic { grid-row: span 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--s3); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line2); position: relative; z-index: 1; }
.s-glance-steps .mono { font-size: 10px; color: var(--mu); letter-spacing: .16em; align-self: end; }
.s-glance-steps p { margin: 0; font-size: 14.5px; color: #e2e5dc; line-height: 1.4; }
.s-glance-value .s-glance-ic { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.s-glance-value .mono { color: var(--lime); }
.s-glance-value p { font-weight: 700; color: var(--tx); }
.s-glance-value strong { font-family: var(--display); font-stretch: 70%; font-size: 30px; color: var(--lime); line-height: 1; }
.s-glance-value em { font-style: normal; font-size: 11.5px; color: var(--mu); font-family: var(--mono); letter-spacing: .06em; }
.s-glance .s-link { font-size: 14px; }

/* íconos simples (acceso) */
.s-icons { list-style: none; margin: 28px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.s-icons li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; }
.s-icons .s-glance-ic { grid-row: auto; color: var(--lime); }

/* capacidades: solo ícono y título; lo demás al abrir */
.s-accordion { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.s-acc { border-radius: 26px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 11, 6, .07); overflow: hidden; transition: background .45s ease, box-shadow .45s ease, flex 1s cubic-bezier(.2, .8, .2, 1); }
.s-acc-head { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: none; color: var(--lime-ink); font: inherit; text-align: left; cursor: pointer; }
.s-acc-num { font-size: 10.5px; color: var(--ink-mu); width: 22px; }
.s-band-light .s-acc-ic { width: 48px; height: 48px; color: var(--lime-ink); background: var(--lime); box-shadow: none; }
.s-acc-head strong { flex: 1; font-size: 18px; line-height: 1.15; letter-spacing: -.01em; }
.s-acc-chev { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1.5px rgba(10, 11, 6, .15); transition: transform .4s ease, background .3s ease; flex: none; }
.s-acc-panel { display: none; padding: 0 18px 20px 52px; }
.s-acc.is-open .s-acc-panel { display: grid; gap: 14px; animation: s-unfold .45s cubic-bezier(.2, .8, .2, 1); }
.s-acc.is-open { background: var(--lime-ink); }
.s-acc.is-open .s-acc-head { color: var(--tx); }
.s-acc.is-open .s-acc-num { color: var(--mu); }
.s-acc.is-open .s-acc-chev { transform: rotate(45deg); background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.s-acc-panel p { margin: 0; color: var(--mu); }
.s-acc-more { display: flex; flex-wrap: wrap; gap: 6px; }
.s-acc-more span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--tx); }
.s-acc-more .ic { color: var(--lime); }
.s-acc-go { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--lime); color: var(--lime-ink) !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.s-acc-head:hover .s-acc-ic { transform: rotate(-12deg) scale(1.08); }

/* proceso: pasos + un solo texto */
.s-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; }
.s-flow li { opacity: 0; transform: translateY(12px); transition: opacity .6s ease var(--d), transform .6s ease var(--d); }
.s-flow.in li { opacity: 1; transform: none; }
.s-flow-btn { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border: 0; border-radius: 22px; background: transparent; color: var(--lime-ink); font: inherit; cursor: pointer; transition: background .3s ease; }
.s-flow-btn:hover { background: rgba(255, 255, 255, .7); }
.s-flow-dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--lime-ink); box-shadow: inset 0 0 0 1.5px rgba(10, 11, 6, .15); transition: background .35s ease, transform .35s ease, box-shadow .35s ease; }
.s-flow-btn .mono { font-size: 10px; color: var(--ink-mu); }
.s-flow-btn strong { font-size: 14.5px; }
.s-flow-btn[aria-selected="true"] .s-flow-dot { background: var(--lime-ink); color: var(--lime); box-shadow: 0 14px 30px -14px rgba(10, 11, 6, .6); transform: scale(1.12); }
.s-step-caption { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 20px 24px; border-radius: 24px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10, 11, 6, .07); min-height: 72px; }
.s-step-caption.swap { animation: s-unfold .4s ease; }
.s-step-n { font-size: 12px; color: #4c5f00; }
.s-step-caption strong { font-size: 22px; }
.s-step-caption > span:last-child { color: var(--ink-mu); font-size: 17px; }

/* ficha técnica en pestañas */
.s-tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-bottom: 20px; border-radius: 999px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); width: max-content; max-width: 100%; }
.s-tablist::-webkit-scrollbar { display: none; }
.s-tablist [role="tab"] { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--mu); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; transition: background .25s ease, color .25s ease; }
.s-tablist [role="tab"]:hover { color: var(--tx); }
.s-tablist [role="tab"][aria-selected="true"] { background: var(--lime); color: var(--lime-ink); }
.s-tabpanel { animation: s-unfold .4s ease; }
.s-dmeta .s-cover-value { margin: 0; padding: 7px 14px; border-radius: 999px; font-size: 13px; }

@media (min-width: 720px) {
  .s-accordion { grid-template-columns: 1fr 1fr; align-items: start; }
  .s-flow { grid-template-columns: repeat(6, 1fr); }
  .s-icons { grid-template-columns: repeat(4, auto); justify-content: start; }
}
@media (min-width: 1100px) {
  .s-slide { flex-direction: row; min-height: 420px; }
  .s-slide-media { aspect-ratio: auto; flex: 1.2; }
  .s-slide-body { flex: 1; padding: 32px 30px; justify-content: center; }
  .s-slide-head h3 { font-size: 46px; }
  /* acordeón horizontal: el que señalas se abre, los demás quedan como íconos */
  .s-accordion { display: flex; gap: 12px; height: 340px; align-items: stretch; }
  .s-acc { flex: 1; min-width: 0; border-radius: 32px; display: flex; flex-direction: column; }
  .s-acc.is-open { flex: 3; }
  .s-acc-head { flex-direction: column; align-items: flex-start; gap: 18px; padding: 26px; height: auto; }
  .s-acc-num { width: auto; }
  .s-acc-head strong { font-size: 20px; flex: none; }
  .s-acc-chev { position: absolute; display: none; }
  .s-acc-panel { display: grid; gap: 14px; padding: 0 26px 26px; margin-top: auto; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .35s ease, transform .45s ease, visibility 0s .35s; }
  .s-acc.is-open .s-acc-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease .3s, transform .5s ease .3s, visibility 0s; animation: none; }
  .s-acc:not(.is-open) .s-acc-panel { position: absolute; pointer-events: none; }
  .s-acc { position: relative; }
  .s-flow { gap: 14px; }
  .s-flow::before { content: ''; position: absolute; left: 8%; right: 8%; top: 41px; height: 2px; background: rgba(10, 11, 6, .12); }
  .s-flow::after { content: ''; position: absolute; left: 8%; top: 41px; height: 2px; width: calc(84% * var(--p, 0)); background: var(--lime-ink); transition: width .6s ease; }
  .s-stepper { --p: calc(var(--step, 0) / 5); }
  .s-stepper .s-flow { --p: inherit; }
  .s-flow li { position: relative; z-index: 1; }
  .s-step-caption { padding: 24px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .s-slide { transform: none !important; opacity: 1 !important; }
  .s-flow li { opacity: 1 !important; transform: none !important; }
}
@media (min-width: 1100px) { .s-icons { grid-template-columns: repeat(2, minmax(0, 220px)); } }

/* ═════════ PORTADA 360 · la ciudad BeClectic ═════════ */
.s-x3 { position: relative; isolation: isolate; overflow: hidden; background: #070807; margin-top: calc(var(--head) * -1); height: max(640px, 100svh); max-height: 1080px; scroll-margin-top: 0; display: flex; flex-direction: column; border-radius: 0 0 32px 32px; }
.x3-stage { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; }
.x3-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: none; opacity: 0; transition: opacity 1.2s ease; }
.x3-canvas:active { cursor: grabbing; }
.x3-ready .x3-canvas { opacity: 1; }
.x3-fallback { position: absolute; inset: 0; opacity: .5; transition: opacity 1s ease; }
.x3-fallback .viz { width: 100%; height: 100%; }
.x3-ready .x3-fallback { opacity: 0; }
.x3-loading { position: absolute; left: 50%; bottom: 120px; translate: -50% 0; font-size: 11px; color: var(--mu); letter-spacing: .2em; animation: x3-pulse 1.4s ease-in-out infinite; }
.x3-ready .x3-loading, .x3-nogl .x3-loading { display: none; }
@keyframes x3-pulse { 50% { opacity: .35; } }
.x3-shade { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(7, 8, 7, .92) 0%, rgba(7, 8, 7, .55) 26%, rgba(7, 8, 7, 0) 46%),
  linear-gradient(0deg, rgba(7, 8, 7, .9) 0%, rgba(7, 8, 7, 0) 22%); }

/* puntos sobre las estaciones */
.x3-hots { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.x3-hot { position: absolute; left: 0; top: 0; padding: 0; border: 0; background: none; color: var(--tx); pointer-events: auto; cursor: pointer; will-change: transform; }
.x3-hot-in { display: inline-flex; align-items: center; gap: 0; translate: -50% -100%; padding: 4px; border-radius: 14px; background: rgba(10, 12, 9, .82); box-shadow: inset 0 0 0 1px rgba(210, 255, 60, .35), 0 10px 30px -10px rgba(0, 0, 0, .8); backdrop-filter: blur(8px); transition: transform .3s ease, opacity .3s ease, box-shadow .3s ease, background .3s ease; transform-origin: 50% 100%; }
.x3-hot-in::after { content: ''; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 18px; background: linear-gradient(var(--lime), transparent); translate: -50% 0; }
.x3-hot-n { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 10px; background: var(--lime); color: var(--lime-ink); font-family: var(--display); font-weight: 820; font-stretch: 72%; font-size: 18px; }
.x3-hot-n i { font-style: italic; font-weight: 900; }
.x3-hot-t { max-width: 0; overflow: hidden; white-space: nowrap; font-family: var(--display); font-weight: 760; font-stretch: 78%; text-transform: uppercase; font-size: 15px; letter-spacing: .01em; transition: max-width .35s ease, padding .35s ease; }
.x3-hot:hover .x3-hot-t, .x3-hot:focus-visible .x3-hot-t, .x3-hot.is-on .x3-hot-t { max-width: 240px; padding: 0 10px 0 9px; }
.x3-hot.is-on .x3-hot-in { background: var(--lime); box-shadow: 0 0 0 6px rgba(210, 255, 60, .18), 0 12px 40px -8px rgba(210, 255, 60, .5); transform: scale(1.06); }
.x3-hot.is-on .x3-hot-n { background: var(--lime-ink); color: var(--lime); }
.x3-hot.is-on .x3-hot-t { color: var(--lime-ink); }
.x3-hot.is-back .x3-hot-in { opacity: .45; transform: scale(.82); }
.x3-hot.is-off { visibility: hidden; }
.x3-nogl .x3-hots { display: none; }
@media (min-width: 900px) { .x3-hot:not(.is-back) .x3-hot-t { max-width: 240px; padding: 0 10px 0 9px; } }

/* texto de bienvenida */
.x3-copy { position: relative; z-index: 3; padding-top: calc(var(--head) + 22px); pointer-events: none; transition: opacity .35s ease, translate .35s ease; }
.x3-copy > * { pointer-events: auto; }
.s-x3 .s-hello { color: #c9cec0; background: rgba(12, 14, 11, .7); box-shadow: inset 0 0 0 1px var(--line2); backdrop-filter: blur(8px); margin-bottom: 18px; }
.s-x3 .s-hello-dot { background: var(--lime); }
/* el portafolio sube sobre la portada: que no tape la barra de pasos */
.s-x3 + .s-portfolio { margin-top: 0; border-radius: 0; padding-top: 64px; }
.x3-title { font-size: clamp(44px, 12.5vw, 66px); line-height: .88; max-width: 14ch; text-shadow: 0 8px 40px rgba(0, 0, 0, .6); }
.x3-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
.x3-title .w > span { display: inline-block; transform: translateY(105%); animation: s-word .9s cubic-bezier(.2, .8, .2, 1) calc(.15s + var(--i) * .09s) forwards; }
.x3-lead { margin: 16px 0 0; font-size: clamp(16px, 2vw, 20px); color: #d7dbd0; max-width: 34ch; opacity: 0; animation: s-fadeup .8s ease .8s forwards; }
.x3-lead strong { color: var(--lime); }
.x3-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; opacity: 0; animation: s-fadeup .8s ease 1s forwards; }
.x3-actions .s-btn { min-height: 46px; padding: 0 18px; font-size: 14.5px; }
.x3-touring [data-x3-tour] { background: var(--lime-ink); color: var(--lime) !important; box-shadow: inset 0 0 0 1.5px var(--lime); }
.x3-hint { margin: 16px 0 0; font-size: 10.5px; letter-spacing: .18em; color: var(--mu); opacity: 0; animation: s-fadeup .8s ease 1.3s forwards; }
.x3-hint-ic { color: var(--lime); font-family: var(--body, sans-serif); letter-spacing: 0; }
.x3-nogl .x3-hint { display: none; }

/* barra de pasos */
.x3-steps { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 0 0 max(14px, env(safe-area-inset-bottom)); }
.x3-steps-in { position: relative; display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gut); max-width: var(--max); margin: 0 auto; scroll-snap-type: x proximity; }
.x3-steps-in::-webkit-scrollbar { display: none; }
.x3-step { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 14px 0 6px; border: 0; border-radius: 999px; background: rgba(12, 14, 11, .78); color: var(--tx); box-shadow: inset 0 0 0 1px var(--line2); backdrop-filter: blur(10px); cursor: pointer; font-weight: 700; font-size: 14px; scroll-snap-align: center; transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.x3-step-n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(210, 255, 60, .12); color: var(--lime); font-size: 11.5px; letter-spacing: .04em; }
.x3-step:hover { box-shadow: inset 0 0 0 1.5px var(--lime); }
.x3-step.is-on { background: var(--lime); color: var(--lime-ink); box-shadow: none; }
.x3-step.is-on .x3-step-n { background: var(--lime-ink); color: var(--lime); }
.x3-step-hub .x3-step-n { background: var(--lime); color: var(--lime-ink); }
.x3-step-sep { flex: none; width: 14px; height: 1.5px; background: linear-gradient(90deg, var(--lime), transparent); opacity: .6; }

/* panel del paso */
.x3-panel { position: absolute; z-index: 5; left: 8px; right: 8px; bottom: calc(68px + env(safe-area-inset-bottom)); max-height: 58%; overflow: auto; border-radius: 22px; background: rgba(10, 12, 9, .9); box-shadow: inset 0 0 0 1px rgba(210, 255, 60, .28), 0 30px 80px -20px rgba(0, 0, 0, .9); backdrop-filter: blur(16px) saturate(1.2); animation: x3-in .45s cubic-bezier(.2, .8, .2, 1); overscroll-behavior: contain; }
@keyframes x3-in { from { opacity: 0; transform: translateY(16px); } }
.x3-panel-in { padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 10px; }
.x3-panel-top { display: flex; align-items: center; gap: 10px; }
.x3-badge { display: grid; place-items: center; min-width: 40px; height: 40px; border-radius: 12px; background: var(--lime); color: var(--lime-ink); font-family: var(--display); font-weight: 820; font-stretch: 72%; font-size: 21px; }
.x3-badge i { font-style: italic; font-weight: 900; }
.x3-kick { flex: 1; min-width: 0; font-size: 10.5px; letter-spacing: .18em; color: var(--lime); }
.x3-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--tx); display: grid; place-items: center; cursor: pointer; flex: none; }
.x3-x:hover { background: rgba(255, 255, 255, .12); }
.x3-panel-t { margin: 2px 0 0; font-family: var(--display); font-weight: 820; font-stretch: 70%; text-transform: uppercase; font-size: clamp(30px, 7vw, 42px); line-height: .92; outline: none; }
.x3-panel-d { margin: 0; color: #cfd3c8; font-size: 15px; line-height: 1.5; }
.x3-list { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.x3-list li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; }
.x3-list .ic { color: var(--lime); margin-top: 3px; }
.x3-sub { margin: 6px 0 0; font-size: 10px; letter-spacing: .2em; color: var(--mu); }
.x3-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.x3-chips li { font-size: 12.5px; padding: 5px 11px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line2); color: #dfe2d8; }
.x3-proj { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 14px; background: rgba(210, 255, 60, .08); box-shadow: inset 0 0 0 1px rgba(210, 255, 60, .25); text-decoration: none; font-size: 14px; color: #e5e8de !important; }
.x3-proj b { color: var(--lime); }
.x3-proj > span { flex: 1; }
.x3-proj .ic { color: var(--lime); }
.x3-panel-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.x3-panel-nav { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.x3-nav { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--tx); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.x3-nav:hover { color: var(--lime); }
.x3-count { font-size: 11px; color: var(--mu); }
.x3-open .x3-copy { opacity: 0; translate: -12px 0; pointer-events: none; }
.x3-open .x3-copy > * { pointer-events: none; }

/* sin WebGL: la ciudad dibujada queda de fondo */
.x3-nogl .x3-fallback { opacity: .55; }

@media (min-width: 700px) {
  .x3-panel { left: auto; right: 20px; width: 400px; top: calc(var(--head) + 20px); bottom: 84px; max-height: none; }
}
@media (min-width: 900px) {
  .s-x3 { border-radius: 0 0 48px 48px; }
  .x3-shade { background:
    linear-gradient(90deg, rgba(7, 8, 7, .9) 0%, rgba(7, 8, 7, .55) 28%, rgba(7, 8, 7, 0) 50%),
    linear-gradient(180deg, rgba(7, 8, 7, .7) 0%, rgba(7, 8, 7, 0) 22%),
    linear-gradient(0deg, rgba(7, 8, 7, .85) 0%, rgba(7, 8, 7, 0) 20%); }
  .x3-copy { padding-top: calc(var(--head) + 7vh); }
  .x3-title { font-size: clamp(60px, 5.4vw, 100px); }
  .x3-steps { padding-bottom: 22px; }
  .x3-steps-in { justify-content: center; }
  .x3-panel { width: 420px; right: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .x3-title .w > span, .x3-lead, .x3-actions, .x3-hint { animation: none; transform: none; opacity: 1; }
  .x3-panel { animation: none; }
  .x3-canvas, .x3-hot-in, .x3-hot-t { transition: none; }
}

/* RESOLVER: fase en las etiquetas, el lema en dos líneas y la marca del método */
.x3-hot-t small { font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; color: var(--lime); margin-right: 7px; font-weight: 600; }
.x3-hot.is-on .x3-hot-t small { color: #3f4d00; }
.x3-title { max-width: 12ch; }
.x3-l1, .x3-l2 { display: block; }
.x3-l2 { color: var(--lime); }
.x3-method { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: 10.5px; letter-spacing: .16em; color: var(--mu); opacity: 0; animation: s-fadeup .8s ease 1.15s forwards; }
.x3-method b { color: var(--tx); font-weight: 700; }
.x3-phase { flex: none; font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--lime); padding: 0 4px 0 8px; }
.x3-step-n i { font-style: italic; font-weight: 900; font-family: var(--display); font-size: 15px; }
@media (prefers-reduced-motion: reduce) { .x3-method { animation: none; opacity: 1; } }
@media (max-width: 699px) {
  .x3-lead-more, .x3-hint { display: none; }
  .x3-actions { flex-wrap: nowrap; gap: 8px; }
  .x3-actions .s-btn { min-height: 44px; padding: 0 14px; font-size: 13.5px; flex: 1 1 auto; }
  .x3-actions .s-btn .ic { width: 16px; height: 16px; }
  .x3-method span { display: none; }
  .x3-long { display: none; }
}
@media (min-width: 700px) { .x3-short { display: none; } }
/* botón de contorno sólido sobre la escena: que no se transparente lo de atrás */
.x3-actions .s-btn-line { background: rgba(10, 12, 9, .92); }
.x3-hot.is-off { visibility: hidden; pointer-events: none; }

/* «Cómo trabajamos»: textos de la lámina */
.x3-title em { font-style: normal; color: var(--lime); }
.x3-title { max-width: 13ch; }
.x3-tagline { margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 4px 8px; font-weight: 700; font-size: clamp(14px, 1.6vw, 17px); color: var(--lime); opacity: 0; animation: s-fadeup .8s ease .9s forwards; }
.x3-tagline .x3-tag-last { color: var(--tx); }
.x3-bar-t { flex: none; margin: 0 14px 0 4px; font-family: var(--display); font-weight: 820; font-stretch: 70%; text-transform: uppercase; font-size: 22px; line-height: 1; white-space: nowrap; text-shadow: 0 4px 20px rgba(0, 0, 0, .8); }
.x3-bar-t em { font-style: normal; color: var(--lime); }
.x3-step { padding-right: 16px; }
.x3-step-tx { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; text-align: left; }
.x3-step-tx b { font-size: 12.5px; letter-spacing: .04em; }
.x3-step-tx small { font-size: 11.5px; font-weight: 500; color: var(--mu); }
.x3-step.is-on .x3-step-tx small { color: #3f4d00; }
.x3-step-sep { width: auto; height: auto; background: none; color: var(--lime); opacity: .8; display: grid; place-items: center; }
.x3-grow { flex: 1; }
.x3-panel-hub { color: var(--lime); }
.x3-list li { font-size: 15.5px; }
.x3-nav-b { font-style: italic; font-weight: 900; font-family: var(--display); }
@media (min-width: 900px) { .x3-steps-in { justify-content: center; } .x3-bar-t { font-size: 26px; margin-right: 22px; } }
@media (prefers-reduced-motion: reduce) { .x3-tagline { animation: none; opacity: 1; } }
@media (min-width: 700px) { .x3-panel { bottom: auto; max-height: calc(100% - var(--head) - 120px); } }
.x3-bar-t { scroll-snap-align: start; }
.x3-steps-in { scroll-padding-inline: var(--gut); }

/* ── HERRAMIENTAS ─────────────────────────────────────────── */
.s-tools { padding: clamp(110px, 14vw, 160px) 0 70px; }
.s-tools-hero { margin-bottom: clamp(28px, 4vw, 44px); }
.s-tools-hero .s-h2 { font-size: clamp(44px, 8vw, 104px); }
.s-plan { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: linear-gradient(135deg, rgba(210, 255, 60, .09), rgba(12, 14, 11, .9) 55%); box-shadow: inset 0 0 0 1.5px var(--line2); margin-bottom: 34px; }
.s-plan-t { font-family: var(--display); font-weight: 820; font-stretch: 68%; text-transform: uppercase; font-size: clamp(34px, 4.6vw, 56px); line-height: .92; margin: 0; color: var(--tx); }
.s-tool-price { font-family: var(--display); font-weight: 820; font-stretch: 68%; font-size: 34px; line-height: 1; margin: 0 0 16px; color: var(--tx); }
.s-tool-price small { font-size: .45em; color: var(--mu); font-stretch: 100%; margin-left: 3px; }
.s-tool-code { margin: 16px 0 0; padding: 12px 14px; border-radius: 14px; background: rgba(5, 6, 5, .6); box-shadow: inset 0 0 0 1px var(--line2); font-size: 13px; color: var(--mu); }
.s-tool-code .mono { display: block; font-size: 10.5px; letter-spacing: .18em; color: var(--lime); margin-bottom: 6px; }
.s-tool-code code { display: block; background: none; padding: 0; color: var(--tx); word-break: break-all; user-select: all; margin-bottom: 6px; }
.s-link-btn { background: none; border: 0; padding: 0; color: var(--lime); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.s-plan-price { font-family: var(--display); font-weight: 820; font-stretch: 68%; font-size: clamp(44px, 6vw, 72px); line-height: .9; margin: 0; color: var(--tx); }
.s-plan-price small { font-size: .38em; color: var(--mu); font-stretch: 100%; margin-left: 4px; }
.s-plan-d { color: var(--mu); margin: 12px 0 0; max-width: 52ch; }
.s-plan-act { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.s-tools .s-form-msg { min-height: 1.4em; margin: 12px 0 0; color: var(--lime); font-size: 14.5px; }
.s-tools .s-form-msg.is-error { color: #ff8a7a; }
.s-plan-code { margin-top: 16px; padding: 16px; border-radius: 16px; background: rgba(5, 6, 5, .6); box-shadow: inset 0 0 0 1px var(--line2); }
.s-plan-code p { margin: 0 0 8px; color: var(--mu); font-size: 13px; }
.s-plan-code p.mono { color: var(--lime); letter-spacing: .18em; font-size: 11px; }
.s-plan-code code { display: block; font-size: 15px; color: var(--tx); word-break: break-all; margin-bottom: 8px; user-select: all; }
.s-restore summary { cursor: pointer; color: var(--mu); font-size: 14.5px; padding: 6px 0; }
.s-restore summary:hover { color: var(--lime); }
.s-restore form { display: grid; gap: 10px; margin-top: 10px; }
.s-tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.s-tool { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s ease, transform .25s ease; overflow: hidden; }
.s-tool::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--tc); }
.s-tool:hover { box-shadow: inset 0 0 0 1.5px var(--line2); transform: translateY(-2px); }
.s-tool.is-focus { box-shadow: inset 0 0 0 2px var(--lime), 0 0 0 6px rgba(210, 255, 60, .1); }
.s-tool-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.s-tool-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--tc); color: #fbf9f4; font-family: var(--display); font-weight: 820; font-size: 28px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.s-tool-badge { font-size: 10.5px; letter-spacing: .2em; padding: 6px 10px; border-radius: 999px; color: var(--mu); box-shadow: inset 0 0 0 1px var(--line2); }
.s-tool[data-paid="0"] .s-tool-badge, .s-tool.is-active .s-tool-badge { color: var(--lime-ink); background: var(--lime); box-shadow: none; }
.s-tool h3 { margin: 0; font-size: 22px; color: var(--tx); }
.s-tool .s-label { margin-bottom: 8px; }
.s-tool-d { color: var(--mu); font-size: 15px; line-height: 1.5; margin: 10px 0 20px; flex: 1; }
.s-tool-act { display: flex; flex-wrap: wrap; gap: 10px; }
.s-tool-shots { display: flex; gap: 10px; overflow-x: auto; margin: -6px -22px 20px; padding: 2px 22px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.s-tool-shots a { flex: 0 0 104px; scroll-snap-align: start; border-radius: 12px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.s-tool-shots img { display: block; width: 100%; height: auto; aspect-ratio: 720 / 1430; object-fit: cover; object-position: top; }
.s-tool-shots a:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.s-tools-note { color: var(--mu); font-size: 13px; margin-top: 30px; }
@media (max-width: 820px) { .s-plan { grid-template-columns: 1fr; } }
