/* Base común de las tres páginas: marca Softopiax (fondo claro, azul del logo) con el
   formato de venta de la variante B — titulares condensados en mayúsculas, cejas "//",
   tarjetas de evento, franja de cifras y marquesina. Cada página añade lo suyo en su CSS. */
:root {
  --blue: #1E5BFF;
  --blue-50: #f4f7ff;
  --blue-100: #e9efff;
  --blue-200: #d2deff;
  --blue-deep: #0B1F6B;
  --grad: linear-gradient(160deg, #0080FF 0%, #0A44CA 55%, #0F1FA0 100%);
  --ink: #0A0A0A;
  --navy: #0B2340;
  --text: #2a2a2a;
  --muted: #5c5c5c;
  --bg: #FFFFFF;
  --bg-2: #F6F8FD;
  --line: #E3E8F2;
  --ok: #12B76A;
  --ok-bg: #e7f8ef;
  --ok-ink: #067647;
  --r: 16px;
  --r-lg: 22px;
  --cond: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Tipografía */
.cond { font-family: var(--cond); font-stretch: 72%; font-weight: 800; text-transform: uppercase; letter-spacing: -.005em; line-height: .92; color: var(--ink); }
.eyebrow { display: block; font: 500 13px/1.3 var(--mono); color: var(--blue); margin-bottom: 18px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sec-title { font-size: clamp(42px, 6vw, 76px); margin-bottom: 18px; }
.sec-sub { max-width: 40em; color: var(--muted); margin-bottom: 48px; font-size: 17px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; text-decoration: none; font-family: var(--cond); font-stretch: 85%; font-weight: 700; font-size: 16px; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; border: 1.5px solid transparent; transition: transform .15s, box-shadow .15s; white-space: nowrap; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 12px 28px -12px rgba(30, 91, 255, .7); }
.btn-out { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-white { background: #fff; color: var(--blue-deep); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn[aria-disabled="true"] { background: var(--line); color: var(--muted); box-shadow: none; cursor: default; transform: none; }
.btn .tag { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 3px 9px; font-size: 14px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Barra de anuncio y header */
.announce { background: var(--grad); color: #fff; font: 500 13px/1.4 var(--body); text-align: center; padding: 9px 16px; }
.announce a { color: #fff; font-weight: 600; }
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 24px; }
.top .logo img { height: 32px; width: auto; }
.nav { display: flex; gap: 30px; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current] { color: var(--blue); }

/* Hero con cuadrícula */
.hero { position: relative; overflow: hidden; padding: 80px 0 72px; background:
  radial-gradient(60% 60% at 90% 10%, var(--blue-100), transparent 70%),
  linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 48px 48px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 140px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7.6vw, 104px); }
.hero .lead { font-size: 18px; max-width: 32em; margin: 26px 0 32px; }
.checks { display: flex; gap: 10px 22px; flex-wrap: wrap; list-style: none; padding: 0; margin: 28px 0 0; font: 500 12px var(--mono); color: var(--muted); }
.checks li::before { content: "✓ "; color: var(--blue); }
.small-print { font-size: 13px; color: var(--muted); margin-top: 14px; max-width: 34em; }

/* Datos del taller con iconos */
.when { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: 14px; list-style: none; padding: 0; margin: 0; }
.when li { display: flex; gap: 8px; align-items: center; }
.when svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* Píldoras */
.live { white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; font: 600 11px var(--mono); color: var(--ok-ink); background: var(--ok-bg); padding: 4px 9px; border-radius: 999px; }
.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }

/* Franja de cifras */
.figures { border-block: 1.5px solid var(--ink); }
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.fig { padding: 26px 20px; border-left: 1.5px solid var(--line); }
.fig:first-child { border-left: 0; padding-left: 0; }
.fig b { display: block; font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 54px; line-height: 1; color: var(--blue); }
.fig span { font: 500 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

/* Secciones */
.block { padding: 104px 0; }
.block.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.block.flush { padding-top: 0; }

/* Lienzo azul para las ilustraciones (y la foto de Nano Banana encima cuando existe) */
.canvas { position: relative; overflow: hidden; background: var(--grad); }
.canvas::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px) 0 0 / 32px 32px; }
.canvas.night { background: linear-gradient(160deg, #0B1F6B, #0d1530 70%); }
.canvas .photo { position: absolute; inset: 0; margin: 0; z-index: 3; }
.canvas .photo img { width: 100%; height: 100%; object-fit: cover; }

/* Ilustraciones reutilizables */
.shot { aspect-ratio: 4 / 5; border-radius: 8px; position: relative; overflow: hidden; background: radial-gradient(120% 90% at 20% 10%, #fff6d6, #ffd66b 70%); }
.shot::before { content: ""; position: absolute; left: 50%; bottom: 16%; width: 58%; height: 36%; transform: translateX(-50%); border-radius: 10px 10px 6px 6px; background: linear-gradient(180deg, #4a2414 0 18%, #f5e6d3 18% 26%, #5b2d18 26% 60%, #f5e6d3 60% 68%, #4a2414 68%); box-shadow: 0 12px 0 -5px #fff, 0 14px 16px -6px rgba(90, 60, 0, .35); }
.shot::after { content: ""; position: absolute; left: 50%; bottom: calc(16% + 36% - 6px); width: 52%; height: 11%; transform: translateX(-50%); background: radial-gradient(circle at 12% 60%, #e0384b 0 9%, transparent 10%), radial-gradient(circle at 32% 40%, #e0384b 0 9%, transparent 10%), radial-gradient(circle at 52% 60%, #e0384b 0 9%, transparent 10%), radial-gradient(circle at 72% 40%, #e0384b 0 9%, transparent 10%), radial-gradient(circle at 90% 60%, #e0384b 0 9%, transparent 10%); }
.shot.before { background: linear-gradient(180deg, #9a948a, #6f6a62); filter: saturate(.6) brightness(.9); }
.shot.before::before { transform: translateX(-50%) rotate(-4deg); box-shadow: none; }
.polaroid { margin: 0; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
.polaroid figcaption, .polaroid .cap { display: block; font: 600 10px var(--mono); color: var(--blue); padding: 8px 4px 2px; text-transform: uppercase; }
.editor { background: #111a38; border: 1px solid #2a3a72; border-radius: 12px; padding: 14px 16px; font: 400 12px/1.75 var(--mono); color: #c9d4f5; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6); white-space: pre; overflow: hidden; }
.k { color: #7aa2ff; } .s { color: #8ee6b0; } .c { color: #6a7aa8; } .n { color: #ffcf7a; }
.browser { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 40px -16px rgba(0, 0, 0, .6); }
.browser .bar { background: #eef1f8; padding: 7px 10px; font: 500 10px var(--mono); color: #556; display: flex; gap: 6px; align-items: center; }
.browser .bar i { width: 7px; height: 7px; border-radius: 50%; background: #c8cfdf; }
.browser .app { padding: 12px; display: grid; gap: 8px; font-size: 11px; }
.bubble { background: var(--blue-50); border: 1px solid var(--blue-200); border-radius: 10px; padding: 8px 10px; color: var(--blue-deep); }
.bubble.me { background: var(--blue); color: #fff; border-color: var(--blue); justify-self: end; }
.term { background: #fff; border-radius: 10px; padding: 10px 12px; font: 400 11px/1.6 var(--mono); color: #222; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .6); }
.term b { color: var(--ok); }
.note { background: #fff; border-radius: 12px; padding: 10px 12px; font-size: 11px; line-height: 1.45; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .5); }
.note b { display: block; font: 700 11px var(--body); color: var(--ink); }
.note span { color: var(--muted); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal i { aspect-ratio: 1; border-radius: 4px; background: var(--blue-100); }
.cal i:nth-child(3n) { background: var(--blue); }
.cal i:nth-child(5n) { background: #ffd66b; }
.ph-note { position: absolute; left: 16px; bottom: 14px; font: 500 10px var(--mono); color: rgba(255, 255, 255, .7); z-index: 2; }

/* Tarjetas de resultado ("Sales con") */
.outcomes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.outcomes li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.outcomes li b { display: block; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 26px; line-height: 1.05; color: var(--blue); }

/* Línea de tiempo de 4 pasos */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; list-style: none; padding: 0; margin: 0; }
.timeline::before { content: ""; position: absolute; top: 27px; left: 28px; right: calc((100% - 60px) / 4 - 28px); height: 2px; background: repeating-linear-gradient(90deg, var(--blue) 0 8px, transparent 8px 14px); }
.timeline li { position: relative; }
.timeline .n { width: 56px; height: 56px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); display: grid; place-items: center; font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 26px; color: var(--blue); }
.timeline li:last-child .n { background: var(--blue); color: #fff; }
.timeline h3 { font-size: 28px; margin: 20px 0 8px; }
.timeline p { color: var(--muted); font-size: 15px; }

/* Tabla comparativa */
.compare-wrap { overflow-x: auto; }
.compare { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; border: 1.5px solid var(--ink); border-radius: var(--r-lg); overflow: hidden; font-size: 15px; }
.compare th, .compare td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: 0; }
.compare thead th { font: 600 12px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .05em; background: #fbfcfe; }
.compare td:first-child { color: var(--muted); width: 22%; }
.compare .us { background: var(--blue-50); color: var(--blue-deep); font-weight: 600; }
.compare thead .us { color: var(--blue); }

/* Instructor y garantía */
.duo { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.card { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: 40px; background: #fff; }
.card h3 { font-size: 42px; margin: 4px 0 14px; }
.card p + p { margin-top: 12px; }
.inst { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: start; }
.portrait { aspect-ratio: 1; border-radius: 18px; background: var(--grad); display: grid; place-items: center; color: #fff; font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 56px; position: relative; overflow: hidden; }
.portrait img { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; background: #fff; border-radius: 8px; padding: 4px; }
.guar { background: var(--blue-deep); color: #fff; border-color: var(--blue-deep); position: relative; overflow: hidden; }
.guar .eyebrow { color: #9fb7ff; }
.guar h3 { color: #fff; }
.guar p { color: rgba(255, 255, 255, .85); }
.seal { position: absolute; right: -30px; top: -30px; width: 170px; height: 170px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); display: grid; place-content: center; text-align: center; transform: rotate(12deg); }
.seal b { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 48px; line-height: .9; }
.seal span { font: 600 10px var(--mono); letter-spacing: .1em; }

/* Preguntas */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
details { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; background: #fff; transition: border-color .2s; }
details[open] { border-color: var(--blue); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font: 600 16px var(--body); color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 600 20px/1 var(--mono); color: var(--blue); }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--muted); }

/* Marquesina y cierre */
.marquee { background: var(--grad); color: #fff; overflow: hidden; padding: 18px 0; }
.marquee .track { display: flex; gap: 40px; width: max-content; animation: slide 30s linear infinite; font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 34px; text-transform: uppercase; white-space: nowrap; }
.marquee .track span:nth-child(even) { color: #9fc3ff; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } html { scroll-behavior: auto; } }
.final { padding: 110px 0; text-align: center; }
.final h2 { font-size: clamp(48px, 7.5vw, 104px); }
.final p { color: var(--muted); margin: 22px auto 32px; max-width: 34em; font-size: 17px; }
.final .ctas { justify-content: center; }

/* Footer */
footer { background: var(--navy); color: #b9c3d6; padding: 44px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap; }
footer img { height: 30px; width: auto; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer .legal { width: 100%; font-size: 12px; color: #8592ab; }

/* Barra fija de reserva en el móvil (landings) */
.mobile-bar { display: none; }

@media (max-width: 960px) {
  .hero > .wrap, .duo, .faq { grid-template-columns: 1fr; }
  .figures .wrap { grid-template-columns: 1fr 1fr; }
  .fig:nth-child(3) { border-left: 0; padding-left: 0; }
  .fig:nth-child(n+3) { border-top: 1.5px solid var(--line); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .nav { display: none; }
  .faq { gap: 8px; }
}
@media (max-width: 560px) {
  .hero { padding: 48px 0 56px; }
  .block { padding: 72px 0; }
  .card { padding: 24px; }
  .outcomes, .timeline { grid-template-columns: 1fr; }
  .inst { grid-template-columns: 1fr; }
  .portrait { width: 120px; }
  .top .btn { display: none; }
  .fig b { font-size: 42px; }
  .seal { position: static; transform: none; width: auto; height: auto; border: 0; display: block; text-align: left; margin-bottom: 14px; }
  .seal b { font-size: 40px; }
  .ctas .btn { flex: 1 1 auto; }
  .mobile-bar { display: flex; position: fixed; inset: auto 0 0; z-index: 45; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .mobile-bar strong { display: block; font-family: var(--cond); font-stretch: 75%; font-weight: 800; font-size: 22px; line-height: 1; color: var(--ink); }
  .mobile-bar span { font: 500 11px var(--mono); color: var(--muted); }
  body.has-bar { padding-bottom: 72px; }
}

/* Piezas de venta compartidas: etiqueta, precio y fila de compra */
.kind { font: 600 12px var(--mono); color: var(--blue); text-transform: uppercase; letter-spacing: .06em; }
.outcome-label { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink); }
.price { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 60px; line-height: .9; color: var(--ink); }
.price small { display: block; font: 500 11px var(--mono); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-top: 4px; }
.buy { display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-top: 22px; border-top: 1.5px dashed var(--line); }
.buy .ctas { margin-left: auto; }
@media (max-width: 560px) { .buy .ctas { margin-left: 0; width: 100%; } }

/* Precio con descuento: precio normal tachado y etiqueta con el porcentaje real */
/* Precio normal: en Inter (el 9 no se confunde con un 0) y tachado con una línea diagonal fina
   que cruza el número sin tapar los huecos de los dígitos, como pasaba con line-through. */
.was { position: relative; display: inline-block; font-family: var(--body); font-stretch: normal; font-weight: 600; font-size: .5em; letter-spacing: 0; line-height: 1; color: var(--muted); text-decoration: none; margin-right: .4em; vertical-align: .2em; }
.was::after { content: ""; position: absolute; left: -6%; right: -6%; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: #d92d20; transform: rotate(-14deg); }
.off { display: inline-flex; align-items: center; background: #d92d20; color: #fff; font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.deal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: -10px 0 22px; }
.deal-price { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 40px; line-height: 1; color: var(--ink); }
.deal-price small { font: 500 12px var(--mono); color: var(--muted); margin-left: 6px; }
