/* Formulario «Marselius Protocol» (estilos traídos de la app anterior, limitados a .oform). Generado por _oformsrc/port_css.py */
.oform {--bg: #060c19; --bg-2: #0a1326; --card: #0d1830; --card-2: #11203e; --card-3: #172a4f; --line: rgba(190, 205, 230, .12); --line-2: rgba(190, 205, 230, .24); --text: #f2f5fa; --muted: #9ca8bf; --dim: #6a7791; --silver: #cdd4df; --accent: #5b8dd6; --accent-hi: #86aee8; --accent-ink: #06101f; --accent-soft: rgba(91, 141, 214, .16); --gold: #d9a54c; --gold-hi: #e8b762; --gold-dark: #9c7d3e; --gold-soft: rgba(217, 165, 76, .14); --ok: #3be37f; --ok-soft: rgba(59, 227, 127, .14); --bad: #ff7676; --bad-soft: rgba(255, 118, 118, .14); --fig: #e4e9f0; --fig-far: #6f7f98; --ill-bg: #11203e; --ill-floor: #22304a; --steel: #5d6e88; --pad: #445a7b; --cable: #8696ad; --band: #d0ad66; --ball: #7d93b3; --brand: "Cinzel", "Trajan Pro", Georgia, serif; --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; --cond: "Barlow Condensed", Impact, sans-serif; --r: 18px; --r-sm: 12px; --shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 2px 6px rgba(0, 0, 0, .3); --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px); position: relative; font: 16px/1.5 var(--sans); color: var(--text); padding: calc(14px + env(safe-area-inset-top,0px)) 18px calc(28px + env(safe-area-inset-bottom,0px)); min-height: 100svh; text-align: left; }
.oform::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(900px 500px at 50% -10%, rgba(91,141,214,.18), transparent 60%), radial-gradient(600px 400px at 100% 100%, rgba(217,165,76,.07), transparent 60%); }
.oform > * { position: relative; z-index: 1; }
.oform button { cursor: pointer; border: 0; background: none; padding: 0; font: inherit; color: inherit; } .oform input, .oform textarea { font: inherit; color: inherit; }
.oform * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.oform .topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; min-height: 44px; }
.oform .topbar .brandmini { display: flex; align-items: center; gap: 10px; }
.oform .topbar .brandmini img { width: 26px; height: 36px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.oform .topbar .brandmini span { display: flex; flex-direction: column; line-height: 1.15; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.oform .topbar .brandmini span::before { content: "Marselius"; font-family: var(--brand); font-size: 13px; letter-spacing: .3em; color: var(--silver); text-transform: none; font-weight: 600; }
.oform .eyebrow { font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.oform .small { font-size: 13px; } .oform .muted { color: var(--muted); } .oform .dim { color: var(--dim); } .oform .num { font-family: var(--cond); font-weight: 600; letter-spacing: .02em; }
.oform .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 58px; padding: 0 22px; border-radius: 999px; font-weight: 700; font-size: 17px; letter-spacing: .01em; color: #06101f; background: linear-gradient(180deg, #ffffff 0%, #d9dfe8 60%, #c3ccd9 100%); box-shadow: 0 14px 36px rgba(205, 212, 223, .2), inset 0 1px 0 #fff; transition: transform .18s ease, box-shadow .18s ease, filter .18s; position: relative; overflow: hidden; }
.oform .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(217, 165, 76, .35) 50%, transparent 70%); transform: translateX(-120%); }
.oform .btn.shine::after { animation: of-shine 2.8s ease-in-out infinite; }
@keyframes of-shine { 0% { transform: translateX(-120%); } 45%, 100% { transform: translateX(120%); } }
.oform .btn:active { transform: translateY(1px) scale(.985); }
.oform .btn:disabled { opacity: .4; filter: grayscale(.5); pointer-events: none; }
.oform .btn.ghost { background: var(--card); color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.oform .btn.ghost::after { display: none; }
.oform .btn.gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%, #c08f3a); color: #1a1203; box-shadow: 0 14px 34px rgba(217, 165, 76, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.oform .btn.gold::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); }
.oform .btn.blue { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--accent-ink); box-shadow: 0 10px 30px var(--accent-soft); }
.oform .btn.ok { background: linear-gradient(180deg, #4ff08f, #25d366); color: #03200e; box-shadow: 0 10px 30px rgba(37, 211, 102, .3); }
.oform .btn.sm { min-height: 44px; font-size: 15px; width: auto; padding: 0 18px; }
.oform .btn.link { background: none; box-shadow: none; color: var(--muted); font-weight: 600; min-height: 44px; }
.oform .btn.link::after { display: none; }
.oform .btn.link:hover { color: var(--text); }
.oform .btn svg { width: 22px; height: 22px; flex: none; }
.oform .btn-row { display: flex; gap: 10px; }
.oform .btn-row .btn { flex: 1; }
.oform .row { display: flex; align-items: center; gap: 12px; }
.oform .row.between { justify-content: space-between; }
.oform .field { display: grid; gap: 7px; margin-bottom: 14px; }
.oform .field label { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }
.oform .in { width: 100%; min-height: 58px; padding: 14px 16px; border-radius: 16px; background: rgba(6, 12, 25, .55); border: 1.5px solid var(--line-2); color: var(--text); outline: none; transition: border-color .2s, box-shadow .2s; font-size: 17px; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25); }
.oform .in::placeholder { color: var(--dim); }
.oform .in:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft), inset 0 2px 6px rgba(0, 0, 0, .25); }
.oform textarea.in { min-height: 130px; resize: vertical; line-height: 1.45; }
.oform .in.big { font-size: 24px; text-align: center; font-family: var(--cond); font-weight: 600; letter-spacing: .02em; }
.oform .err { color: var(--bad); font-size: 14px; margin-top: 4px; min-height: 20px; }
.oform .opts { display: grid; gap: 10px; }
.oform .opt { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 16px; border-radius: 16px; background: rgba(6, 12, 25, .5); border: 1.5px solid var(--line-2); text-align: left; font-size: 16.5px; font-weight: 500; color: var(--text); transition: transform .15s, border-color .2s, background .2s, box-shadow .2s; width: 100%; }
.oform .opt .mark { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line-2); display: grid; place-items: center; flex: none; transition: .2s; }
.oform .opt.multi .mark { border-radius: 8px; }
.oform .opt .mark svg { width: 15px; height: 15px; opacity: 0; transform: scale(.4); transition: .2s; color: #1a1203; }
.oform .opt.on { border-color: var(--gold); background: var(--gold-soft); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.oform .opt.on .mark { background: var(--gold); border-color: var(--gold); }
.oform .opt.on .mark svg { opacity: 1; transform: scale(1); }
.oform .opt:active { transform: scale(.985); }
.oform .opt .sub { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.oform .bar { height: 6px; border-radius: 999px; background: var(--card-3); overflow: hidden; }
.oform .bar > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent-hi)); transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.oform .bar.gold > span { background: linear-gradient(90deg, var(--gold), var(--gold-hi)); }
.oform .q-stage { position: relative; min-height: calc(100svh - 150px); }
.oform .q-card { position: relative; }
.oform .q-card.leaving { position: absolute; inset: 0 0 auto 0; pointer-events: none; }
.oform .q-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; font-size: 11.5px; color: var(--gold); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.oform .q-head .num { color: var(--muted); font-size: 15px; letter-spacing: .04em; }
.oform .q-title { font-size: clamp(22px, 6vw, 27px); font-weight: 600; line-height: 1.22; margin: 0 0 8px; letter-spacing: -.015em; }
.oform .q-help { color: var(--muted); font-size: 15px; margin-bottom: 18px; white-space: pre-line; line-height: 1.5; }
.oform .q-sec { display: inline-flex; align-items: center; gap: 8px; }
.oform .q-sec i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); display: block; }
.oform .q-nav { display: flex; gap: 10px; margin-top: 22px; }
.oform .q-nav .btn.ghost { width: 60px; flex: none; padding: 0; border-radius: 50%; }
.oform .sec-intro { text-align: center; padding: 40px 0 26px; }
.oform .sec-ring { width: 118px; height: 118px; margin: 0 auto 18px; border-radius: 50%; border: 1px solid rgba(217, 165, 76, .55); display: grid; place-items: center; position: relative; box-shadow: 0 0 60px rgba(91, 141, 214, .18), inset 0 0 40px rgba(217, 165, 76, .06); }
.oform .sec-ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 1px solid rgba(205, 212, 223, .14); }
.oform .sec-ring span { font-family: var(--cond); font-size: 56px; font-weight: 700; color: var(--gold-hi); line-height: 1; }
.oform .sec-ring small { position: absolute; bottom: 16px; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.oform .sec-intro p { font-size: 16.5px; color: var(--text); }
.oform .spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line-2); border-top-color: var(--accent); animation: of-spin .9s linear infinite; }
@keyframes of-spin { to { transform: rotate(360deg); } }
/* ---------- Formulario: escalera, respuesta rápida y efectos ---------- */
.oform .f-glow { position: absolute; left: 50%; top: 24%; width: 520px; height: 520px; margin-left: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 141, 214, .16), rgba(217, 165, 76, .05) 45%, transparent 68%); pointer-events: none; z-index: 0; }
.oform .q-stage { z-index: 1; }
.oform .q-title .w { display: inline-block; }
.oform .stairs { user-select: none; -webkit-user-select: none; touch-action: pan-y; margin-top: 4px; }
.oform .stairs-val { display: flex; align-items: baseline; justify-content: center; gap: 6px; min-height: 60px; margin-bottom: 4px; flex-wrap: wrap; }
.oform .stairs-val b { font-family: var(--cond); font-size: 58px; line-height: 1; color: var(--gold-hi); display: inline-block; min-width: 50px; text-align: center; }
.oform .stairs-val > span { color: var(--muted); font-size: 16px; font-family: var(--cond); }
.oform .stairs-val em { flex-basis: 100%; text-align: center; font-style: normal; font-size: 14px; color: var(--muted); margin-top: 2px; min-height: 20px; }
.oform .stairs-bars { display: flex; align-items: flex-end; gap: 5px; height: 150px; padding: 0 2px; cursor: pointer; outline: none; }
.oform .st { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; padding: 0; min-width: 0; }
.oform .st i { display: block; width: 100%; height: var(--h); border-radius: 7px 7px 3px 3px; background: linear-gradient(180deg, var(--card-3), var(--card-2)); border: 1px solid var(--line-2); transition: background .25s, box-shadow .25s, border-color .25s; transform-origin: bottom; }
.oform .st span { font-family: var(--cond); font-size: 13.5px; color: var(--dim); line-height: 1; transition: color .2s; }
.oform .st.lit i { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 70%, #b8893a); border-color: var(--gold); box-shadow: 0 8px 20px rgba(217, 165, 76, .3); }
.oform .st.lit span { color: var(--silver); }
.oform .st.sel i { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .8), 0 12px 26px rgba(217, 165, 76, .5); }
.oform .st.sel span { color: var(--gold-hi); font-weight: 700; font-size: 15px; }
.oform .stairs-labels { display: flex; justify-content: space-between; margin-top: 12px; font-size: 13.5px; color: var(--text); font-weight: 600; }
.oform .stairs-labels span { display: inline-flex; align-items: center; gap: 4px; }
.oform .stairs-labels svg { width: 16px; height: 16px; color: var(--gold); }
.oform .opt.quick { border-style: solid; background: linear-gradient(180deg, rgba(23, 42, 79, .7), rgba(13, 24, 48, .8)); min-height: 66px; }
.oform .opt.quick b { display: block; font-size: 17px; }
.oform .or { display: flex; align-items: center; gap: 12px; margin: 14px 0 10px; color: var(--dim); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.oform .or i { flex: 1; height: 1px; background: var(--line-2); display: block; }
.oform .opt.pulse { animation: of-optPulse .6s ease-out; }
@keyframes of-optPulse { 0% { box-shadow: 0 0 0 0 rgba(217, 165, 76, .55); } 100% { box-shadow: 0 0 0 18px rgba(217, 165, 76, 0); } }
.oform .sec-ring svg { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.oform .sec-ring svg circle { fill: none; stroke-width: 1.5; }
.oform .sec-ring svg .track { stroke: rgba(205, 212, 223, .12); }
.oform .sec-ring svg .prog { stroke: var(--gold); stroke-dasharray: 364; stroke-dashoffset: 0; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(217, 165, 76, .6)); }
.oform .sec-ring { border-color: transparent; }
.oform .bar.gold > span { position: relative; overflow: visible; }
.oform .bar.gold > span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--gold-hi); box-shadow: 0 0 12px 3px rgba(217, 165, 76, .55); }

/* ---------- Dibujos de pregunta, candado y tarjeta de WhatsApp ---------- */
.oform .q-sub { display: flex; flex-direction: column; margin: 0 0 14px; }
.oform .q-sub .q-help, .oform .q-sub .info-text { margin-bottom: 0; }
.oform .q-sub .q-help { margin-top: 2px; }
.oform .ill { width: min(250px, 78%); aspect-ratio: 200 / 140; margin: -4px -4px 6px auto; transform: rotate(-6deg); transform-origin: 55% 50%; color: var(--silver); opacity: .94; display: flex; justify-content: center; position: relative; }
.oform .ill::before { content: ""; position: absolute; inset: 0 -4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(91, 141, 214, .16), transparent); z-index: -1; }
.oform .ill svg { width: 100%; height: 100%; overflow: visible; }
.oform .ill .g { stroke: var(--gold); }
@media (min-width: 600px) { .oform .ill { width: 300px; } }
.oform .info-text p { font-size: 18.5px; font-weight: 600; line-height: 1.5; color: var(--text); margin: 0 0 12px; }
.oform .info-text b { color: var(--gold-hi); font-weight: 700; }
/* la app tiene sus propios .field/.bar/.btn: aquí se neutralizan para que el formulario se vea como el original */
.oform .field { width: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: inherit; }
.oform .bar { width: auto; }
.oform .btn { min-height: 58px; }
