/* ==========================================================================
   CRUZA · Oportunidades, Ideas (mapa), Cómo empezar, Preguntas y Cierre
   ========================================================================== */

/* ---------- Oportunidades ---------- */
.opp-section { padding: 140px 0 120px; background: #fff; transition: background 600ms var(--ease-out-strong); }
.opp-section[data-side="b2c"] { background: #0F172A; }
.opp-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.opp-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.opp-head .section-subtitle { margin-left: auto; margin-right: auto; }
.opp-section .section-title, .opp-section .section-subtitle { transition: color 500ms ease; }
.opp-section[data-side="b2c"] .section-title { color: #fff; }
.opp-section[data-side="b2c"] .section-subtitle { color: #94A3B8; }
.opp-section[data-side="b2c"] .badge-pill { background: rgba(0, 200, 150, .12); border-color: rgba(0, 200, 150, .35); color: #6EE7B7; }

.opp-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 28px; padding: 5px; border-radius: 99px; background: #F1F5F9; border: 1px solid #E2E8F0; transition: background 500ms ease, border-color 500ms ease; }
.opp-section[data-side="b2c"] .opp-switch { background: #1E293B; border-color: #334155; }
.opp-switch button { position: relative; z-index: 1; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; padding: 12px 26px; border-radius: 99px; cursor: pointer; color: #64748B; transition: color 300ms ease, transform 160ms ease-out; }
.opp-switch button:active { transform: scale(.97); }
.opp-switch button[aria-selected="true"] { color: #fff; }
.opp-section[data-side="b2c"] .opp-switch button[aria-selected="true"] { color: #0F172A; }
.opp-switch__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: #0F172A; transition: transform 480ms var(--ease-drawer), background 400ms ease; }
.opp-section[data-side="b2c"] .opp-switch__pill { transform: translateX(100%); background: var(--app-green); }

.opp-stage { position: relative; }
.opp-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; animation: oppIn 560ms var(--ease-out-strong) both; }
.opp-panel[hidden] { display: none; }
@keyframes oppIn { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
.opp-copy h3 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; color: #0F172A; margin: 0 0 16px; }
.opp-copy > p { font-size: 18px; line-height: 1.6; color: #475569; margin: 0 0 24px; max-width: 480px; }
.opp-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.opp-list li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.5; color: #334155; }
.opp-list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--app-green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.opp-list b { color: #0F172A; }
.opp-panel[data-panel="b2c"] .opp-copy h3, .opp-panel[data-panel="b2c"] .opp-list b { color: #fff; }
.opp-panel[data-panel="b2c"] .opp-copy > p, .opp-panel[data-panel="b2c"] .opp-list li { color: #CBD5E1; }
.opp-panel[data-panel="b2c"] .opp-list li::before { background-color: rgba(0, 200, 150, .15); }

.opp-visual { display: grid; place-items: center; perspective: 1000px; min-height: 460px; }
.tilt { transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }

.balance-card { width: 380px; max-width: 100%; background: #fff; border: 1px solid #E2E8F0; border-radius: 28px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(15, 23, 42, .3), 0 0 0 8px #F8FAFC; }
.balance-card__top { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; color: #0F172A; margin-bottom: 18px; }
.balance-card__top .a-pill { margin-left: auto; }
.balance-card small { color: #64748B; font-size: 12.5px; }
.balance-card__num { font-size: 56px; font-weight: 800; letter-spacing: -.04em; color: #0F172A; font-variant-numeric: tabular-nums; margin: 4px 0 18px; }
.balance-card__rows { display: grid; gap: 10px; padding: 16px 0; border-top: 1px solid #E2E8F0; border-bottom: 1px solid #E2E8F0; }
.balance-card__rows div { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #334155; }
.balance-card__rows b { margin-left: auto; color: #047857; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.g { background: #00C896; } .dot.a { background: #F59E0B; } .dot.b { background: #0284C7; }
.balance-card__foot { display: flex; justify-content: space-between; font-size: 12.5px; color: #64748B; padding-top: 14px; }

.pass-card { position: relative; overflow: hidden; width: 340px; max-width: 100%; border-radius: 28px; padding: 24px; color: #fff; background: radial-gradient(120% 90% at 0% 0%, #10B981 0%, #047857 45%, #064E3B 100%); box-shadow: 0 50px 90px -30px rgba(0, 200, 150, .55); }
.pass-card__top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; opacity: .9; }
.pass-card__top span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.pass-card__top img { filter: brightness(0) invert(1); }
.pass-card__label { margin-top: 26px; font-size: 12px; opacity: .75; }
.pass-card__title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.pass-card__pair { display: flex; align-items: center; gap: 8px; margin: 14px 0 20px; font-size: 13px; }
.pass-card__pair i { flex: 1; height: 1px; background: rgba(255, 255, 255, .4); }
.pass-card__qr { background: #fff; border-radius: 18px; padding: 16px; display: grid; place-items: center; }
.mini-qr { display: grid; grid-template-columns: repeat(11, 12px); gap: 2px; }
.mini-qr span { width: 12px; height: 12px; border-radius: 2px; background: #0F172A; }
.mini-qr span.o { background: transparent; }
.pass-card__foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 13px; opacity: .9; }
.pass-card__foot b { font-size: 20px; }
.pass-card__shine { position: absolute; inset: -40%; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .22) 50%, transparent 60%); transform: translateX(var(--shine, -30%)); pointer-events: none; }

/* ---------- Ideas: el mapa invisible ---------- */
.ideas-section { position: relative; height: 520vh; background: #05080F; color: #E2E8F0; }
.ideas-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.ideas-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ideas-grain { position: absolute; inset: -50%; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(1%, 3%); } }
.ideas-sticky::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .75) 100%); }

.ideas-hud { position: absolute; z-index: 3; top: 110px; display: grid; gap: 4px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 11.5px; letter-spacing: .06em; color: rgba(148, 163, 184, .8); text-transform: uppercase; }
.ideas-hud b { color: #6EE7B7; font-weight: 600; font-variant-numeric: tabular-nums; }
.ideas-hud--tl { left: 40px; }
.ideas-hud--tr { right: 40px; text-align: right; }

.ideas-title { position: absolute; z-index: 3; left: 40px; bottom: 64px; max-width: 760px; transition: opacity 600ms var(--ease-out-strong), transform 600ms var(--ease-out-strong); }
.ideas-kicker { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; color: #6EE7B7; margin-bottom: 14px; }
.ideas-title h2 { margin: 0; font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; color: #F8FAFC; }
.ideas-title em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(110, 231, 183, .8); }
.ideas-section.is-touring .ideas-title { opacity: 0; transform: translateY(20px); }
.ideas-section.is-finale .ideas-title { opacity: 0; }

.ideas-cards { position: absolute; z-index: 4; right: 40px; bottom: 64px; width: min(420px, calc(100% - 80px)); height: 330px; }
.idea-card {
  position: absolute; inset: auto 0 0 0; padding: 26px; border-radius: 24px;
  background: rgba(15, 23, 42, .55); border: 1px solid rgba(110, 231, 183, .22);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); pointer-events: none;
  transition: opacity 520ms var(--ease-out-strong), transform 620ms var(--ease-out-strong), filter 520ms var(--ease-out-strong);
}
.idea-card.is-on { opacity: 1; transform: none; filter: blur(0); pointer-events: auto; }
.idea-card__pair { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: #CBD5E1; margin-bottom: 14px; }
.idea-card__pair span { padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.idea-card__pair i { font-style: normal; color: #00C896; }
.idea-card h3 { font-size: 26px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: #fff; margin: 0 0 10px; }
.idea-card p { font-size: 15.5px; line-height: 1.55; color: #CBD5E1; margin: 0 0 16px; }
.idea-card__gain { display: grid; gap: 8px; }
.idea-card__gain span { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: #A7F3D0; }
.idea-card__gain span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #00C896; box-shadow: 0 0 10px #00C896; }
.idea-card--final h3 { font-size: 30px; }
.idea-card--final .btn-demo-header { display: inline-flex; }

.ideas-progress { position: absolute; z-index: 3; left: 40px; right: 40px; bottom: 28px; height: 2px; background: rgba(255, 255, 255, .08); border-radius: 2px; }
.ideas-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #00C896, #6EE7B7); border-radius: 2px; box-shadow: 0 0 12px rgba(0, 200, 150, .7); }
.ideas-note { position: absolute; z-index: 3; right: 40px; bottom: 36px; margin: 0; font-size: 11px; color: rgba(148, 163, 184, .55); }

/* ---------- Cómo empezar: horizontal ---------- */
.start-section { position: relative; height: 300vh; background: #F8FAFC; }
.start-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.start-head { max-width: 1180px; width: 100%; margin: 0 auto 40px; padding: 0 24px; }
.start-head .section-title { text-align: left; margin: 14px 0 0; max-width: 680px; }
.start-track { display: flex; gap: 32px; padding: 0 max(24px, calc((100vw - 1180px) / 2 + 24px)); transform: translateX(var(--tx, 0px)); will-change: transform; }
.start-card { flex: 0 0 min(820px, 78vw); display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; background: #fff; border: 1px solid #E2E8F0; border-radius: 32px; padding: 44px; box-shadow: 0 30px 60px -40px rgba(15, 23, 42, .25); }
.start-num { font-size: 120px; line-height: .8; font-weight: 800; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px #00C896; }
.start-body h3 { font-size: 30px; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; color: #0F172A; margin: 4px 0 12px; }
.start-body p { font-size: 17px; line-height: 1.6; color: #475569; margin: 0 0 24px; max-width: 520px; }
.start-visual { border-radius: 20px; background: #F8FAFC; border: 1px solid #E2E8F0; padding: 22px; min-height: 160px; display: grid; place-items: center; }
.start-dots { display: flex; gap: 8px; justify-content: center; margin-top: 36px; }
.start-dots i { width: 8px; height: 8px; border-radius: 99px; background: #CBD5E1; transition: width 400ms var(--ease-out-strong), background 300ms ease; }
.start-dots i.on { width: 28px; background: #00C896; }

.mini-cal { width: 280px; font-size: 12px; }
.mini-cal__h { font-weight: 800; color: #0F172A; margin-bottom: 10px; }
.mini-cal__g { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; color: #94A3B8; }
.mini-cal__g i { font-style: normal; padding: 8px 0; border-radius: 10px; background: #fff; border: 1px solid #E2E8F0; color: #0F172A; font-weight: 700; }
.mini-cal__g i.on { background: #00C896; border-color: #00C896; color: #fff; }
.mini-cal__slots { display: flex; gap: 6px; margin-top: 10px; }
.mini-cal__slots span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; border: 1px solid #A7F3D0; color: #047857; font-weight: 700; background: #fff; }
.mini-cal__slots span.on { background: #0F172A; border-color: #0F172A; color: #fff; }
.verify { width: 300px; display: grid; gap: 12px; }
.verify__row { display: flex; gap: 10px; align-items: center; }
.verify__ic { width: 38px; height: 38px; border-radius: 50%; background: #E6FAF4; color: #047857; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.verify__row b { display: block; font-size: 14px; color: #0F172A; } .verify__row small { font-size: 12px; color: #64748B; }
.verify__state { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #047857; background: #E6FAF4; border-radius: 12px; padding: 10px 12px; }
.verify__check { width: 20px; height: 20px; border-radius: 50%; background: #00C896; color: #fff; display: grid; place-items: center; font-size: 12px; }
.verify__team { display: flex; gap: 6px; } .verify__team span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: #fff; border: 1px solid #E2E8F0; color: #334155; }
.launch { width: 300px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.launch__a, .launch__b { width: 56px; height: 56px; border-radius: 18px; background: #fff; border: 1px solid #E2E8F0; display: grid; place-items: center; font-size: 26px; }
.launch__line { height: 2px; background: repeating-linear-gradient(90deg, #00C896 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 28px 0; } }
.launch__tag { grid-column: 1 / -1; justify-self: center; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: #fff; background: #0F172A; border-radius: 99px; padding: 7px 14px; }

/* ---------- Preguntas ---------- */
.qa-section { padding: 140px 0; background: #fff; }
.qa-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.qa-aside { position: sticky; top: 140px; }
.qa-aside h2 { font-size: clamp(34px, 3.8vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; color: #0F172A; margin: 16px 0 16px; }
.qa-aside p { font-size: 17px; line-height: 1.6; color: #475569; margin: 0 0 24px; }
.qa-aside a:not(.btn-demo-header) { color: #047857; font-weight: 700; text-decoration: none; }
.qa-item { border-bottom: 1px solid #E2E8F0; }
.qa-q { width: 100%; display: grid; grid-template-columns: 40px 1fr 28px; align-items: center; gap: 12px; text-align: left; border: 0; background: none; padding: 26px 0; font: inherit; font-size: 19px; font-weight: 700; color: #0F172A; letter-spacing: -.01em; cursor: pointer; }
.qa-n { font-size: 13px; color: #94A3B8; font-variant-numeric: tabular-nums; transition: color 250ms ease; }
.qa-item.is-open .qa-n { color: #00C896; }
.qa-plus { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #F1F5F9; transition: background 250ms ease, transform 400ms var(--ease-out-strong); }
.qa-plus::before, .qa-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: #0F172A; border-radius: 2px; transition: transform 400ms var(--ease-out-strong), background 250ms ease; }
.qa-plus::after { transform: rotate(90deg); }
.qa-item.is-open .qa-plus { background: #00C896; transform: rotate(180deg); }
.qa-item.is-open .qa-plus::before, .qa-item.is-open .qa-plus::after { background: #fff; }
.qa-item.is-open .qa-plus::after { transform: rotate(0deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 420ms var(--ease-out-strong); }
.qa-a > div { overflow: hidden; }
.qa-a p { margin: 0; padding: 0 40px 26px 52px; font-size: 16.5px; line-height: 1.65; color: #475569; opacity: 0; transform: translateY(-6px); transition: opacity 300ms ease, transform 420ms var(--ease-out-strong); }
.qa-item.is-open .qa-a { grid-template-rows: 1fr; }
.qa-item.is-open .qa-a p { opacity: 1; transform: none; transition-delay: 80ms; }
.qa-a strong { color: #0F172A; }
@media (hover: hover) and (pointer: fine) { .qa-q:hover .qa-plus { background: #E2E8F0; } .qa-item.is-open .qa-q:hover .qa-plus { background: #00B386; } }

/* ---------- Cierre ---------- */
.finale-section { position: relative; height: 200vh; background: #05080F; color: #fff; }
.finale-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 24px; overflow: hidden; }
.finale-sticky::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 200, 150, .22), transparent 60%); filter: blur(20px); opacity: var(--glow, 0); transform: scale(calc(.6 + var(--glow, 0) * .5)); pointer-events: none; }
.finale-mark { position: relative; width: 120px; height: 120px; margin-bottom: 26px; }
.finale-mark path { fill: none; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; }
.finale-title { position: relative; margin: 0; font-size: clamp(56px, 11vw, 168px); line-height: .92; letter-spacing: -.055em; font-weight: 800; transform: scale(var(--fs, .86)); opacity: var(--fo, .2); }
.finale-title span { color: #00C896; }
.finale-sub { position: relative; max-width: 620px; margin: 28px auto 32px; font-size: 18px; line-height: 1.6; color: #94A3B8; }
.finale-actions { position: relative; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.finale-ghost { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 99px; border: 1px solid #334155; color: #E2E8F0; font-weight: 700; text-decoration: none; transition: border-color 200ms ease, transform 160ms ease-out; }
.finale-ghost:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .finale-ghost:hover { border-color: #00C896; } }
.finale-proof { position: relative; display: grid; grid-template-columns: repeat(4, auto); gap: 48px; margin-top: 56px; }
.finale-proof strong { display: block; font-size: 26px; letter-spacing: -.02em; }
.finale-proof span { font-size: 13px; color: #94A3B8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .opp-section { padding: 96px 0 80px; }
  .opp-head { margin-bottom: 40px; }
  .opp-switch button { padding: 11px 18px; font-size: 14px; }
  .opp-panel { grid-template-columns: 1fr; gap: 40px; }
  .opp-visual { min-height: 0; }
  .balance-card__num { font-size: 44px; }

  .ideas-section { height: 460vh; }
  .ideas-hud { top: 92px; font-size: 10px; }
  .ideas-hud--tl { left: 20px; } .ideas-hud--tr { right: 20px; }
  .ideas-title { left: 20px; right: 20px; bottom: auto; top: 150px; }
  .ideas-cards { left: 16px; right: 16px; width: auto; bottom: 44px; height: 300px; }
  .idea-card { padding: 20px; }
  .idea-card h3 { font-size: 21px; } .idea-card p { font-size: 14.5px; }
  .ideas-progress { left: 20px; right: 20px; bottom: 22px; }
  .ideas-note { display: none; }

  .start-section { height: auto; }
  .start-sticky { position: static; height: auto; padding: 96px 0; }
  .start-track { flex-direction: column; padding: 0 20px; transform: none !important; gap: 20px; }
  .start-card { flex: none; grid-template-columns: 1fr; gap: 12px; padding: 28px 24px; }
  .start-num { font-size: 72px; }
  .start-body h3 { font-size: 24px; }
  .start-dots { display: none; }

  .qa-section { padding: 96px 0; }
  .qa-inner { grid-template-columns: 1fr; gap: 32px; }
  .qa-aside { position: static; }
  .qa-q { font-size: 16.5px; grid-template-columns: 30px 1fr 26px; padding: 20px 0; }
  .qa-a p { padding: 0 0 20px 42px; }

  .finale-section { height: 160vh; }
  .finale-proof { grid-template-columns: 1fr 1fr; gap: 24px 36px; margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .opp-panel { animation: none; }
  .tilt { transform: none !important; }
  .ideas-grain, .launch__line { animation: none; }
  .idea-card, .ideas-title, .qa-a, .qa-a p, .start-dots i { transition-duration: 150ms !important; transform: none !important; filter: none !important; }
  .start-track { transform: none !important; }
  .finale-title { transform: none !important; opacity: 1 !important; }
}
.start-track::after { content: ""; flex: 0 0 max(1px, calc((100vw - 1180px) / 2)); }
@media (max-width: 900px) { .start-track::after { display: none; } }

/* ---------- Accesibilidad (solo visible al navegar con teclado) ---------- */
a:focus-visible, button:focus-visible, [role="tab"]:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid #00C896; outline-offset: 3px; border-radius: 12px;
}
.balance-card__rows b { color: #047857; }
@media (max-width: 900px) {
  .modal-close-btn { width: 44px !important; height: 44px !important; }
  #acceptPrivacyBtn, #acceptTermsBtn { min-height: 44px; }
  .logo-wrapper { min-height: 44px; display: inline-flex; align-items: center; }
}
.badge-pill { color: #166534; }

/* ===== Contraste accesible (WCAG AA) =====
   El verde vivo #00C896 se mantiene para decoración (líneas, puntos, gráficos).
   Donde hay texto blanco encima, o texto verde sobre blanco, se usa un verde más profundo. */
:root { --ink-green: #008562; --ink-green-hover: #006F52; --text-green: #047857; }
.btn-demo-header, .btn-demo-header:not(:disabled) { background-color: var(--ink-green); }
@media (hover: hover) { .btn-demo-header:hover { background-color: var(--ink-green-hover); } }
#demoModal .bk-time[aria-pressed="true"] { background: var(--ink-green); border-color: var(--ink-green); }
.a-chip.on, .a-propose, .bub--me, .mini-cal__g i.on, .verify__check { background: var(--ink-green); border-color: var(--ink-green); }
.qa-item.is-open .qa-n, .app-tab.is-on { color: var(--text-green); }
.statement-text .w.g.on { color: #059669; }
@media (max-width: 899px) { .story-caption .num, .m-chips__row i { color: var(--text-green); } }
.chat-head small { color: var(--text-green); }
.av { background: #B45309; }
.m-chips a i, .m-chips__row a i { color: var(--text-green); }
.qa-n { color: #64748B; }
.qa-item.is-open .qa-n { color: var(--text-green); }
.opp-section:not([data-side="b2c"]) .opp-switch button:not([aria-selected="true"]) { color: #475569; }
.opp-section[data-side="b2c"] .opp-switch button:not([aria-selected="true"]) { color: #CBD5E1; }
