/* Landings de Budi (/, /entrenadores/, /en/, /en/coaches/). Las genera
   tools/landing.mjs: no editar el HTML a mano, editar el generador.
   Bandas alternas: lima (cabecera, Y además, preguntas) y oscuras (cómo funciona,
   carta o precio) para que el lima no canse y los botones destaquen. */
:root {
  --lime: #aae216; --ink: #000;
  --card: #222; --text: #e6e6e6; --muted: #949494; --dark: #121212;
  --max: 1080px; --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--lime); color: var(--ink); font: 500 16px/1.55 Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.disp { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 800; line-height: .95; text-transform: uppercase; }
em { font-style: normal; }
:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.band :focus-visible { outline-color: var(--lime); }
[hidden] { display: none !important; }

/* Barra de arriba: logo, idioma y el enlace a la otra landing */
.top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 0 14px; }
.logo { display: inline-flex; font-size: clamp(22px, 6vw, 28px); color: #000; text-decoration: none; }
.logo svg { height: 1em; width: calc(1em * 380 / 185); fill: #000; }
.tools { display: flex; align-items: center; gap: 6px; }
.lang { display: flex; padding: 4px; border-radius: 999px; background: #000; font: 900 12px/1 Inter; letter-spacing: .08em; }
.lang a { padding: 9px 10px; border-radius: 999px; color: #8a8a8a; text-decoration: none; }
.lang a[aria-current] { color: #fff; background: #333; }
.aud { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; background: #000; color: var(--lime); font: 800 13px/1 Inter; text-decoration: none; white-space: nowrap; }
@media (max-width: 420px) { .aud { padding: 0 10px; font-size: 12px; } .lang a { padding: 8px 8px; font-size: 11px; } }

/* ── Cabecera: texto, descarga y la app en un móvil que asoma por abajo ── */
.hero { position: relative; background: var(--card); color: var(--text); border-radius: 32px; padding: 26px 22px 0; display: grid; gap: 22px; overflow: hidden; }
.hero h1 { margin: 0; }
.hero h1 .disp { display: block; font-size: clamp(38px, 10vw, 58px); color: #e6e6e6; }
.hero h1 em { color: var(--lime); }
.hero h1 .kw { display: block; margin-top: 16px; font: 800 clamp(15px, 4vw, 19px)/1.35 Inter; letter-spacing: .06em; text-transform: uppercase; color: var(--text); }
.lead { margin: 10px 0 0; color: #cfcfcf; font-size: 15px; max-width: 46ch; }
.hl { color: var(--lime); font-weight: 800; }

/* Insignias de las tiendas */
.badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-block; line-height: 0; border-radius: 8px; }
.badge img { display: block; height: 48px; width: auto; }

/* Descarga en el móvil: botón a la tienda de ese sistema; sin saberlo, las dos insignias */
.dl { background: var(--lime); color: #000; border-radius: 22px; padding: 16px; display: grid; gap: 10px; }
.go { display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 14px; background: #000; color: var(--lime); text-decoration: none; font: italic 800 22px/1 "Barlow Condensed"; text-transform: uppercase; letter-spacing: .02em; }
.go svg { width: 22px; height: 22px; }
.note { margin: 0; text-align: center; font: 700 13px/1.3 Inter; }
.other { margin: 0; text-align: center; font: 700 13px/1.3 Inter; }
.other a { font-weight: 800; }
body:not([data-os]) .go, body:not([data-os]) .other { display: none; }
body[data-os] .both { display: none; }
.both { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.both .badge img { height: 44px; }
.hero .badges, .qr { display: none; }

.hero-shot { display: flex; justify-content: center; height: 300px; overflow: hidden; }
.phone { width: 230px; border-radius: 32px; padding: 6px; background: #0b0b0b; box-shadow: 0 0 0 1.5px #3a3a3a, 0 -10px 40px rgba(0,0,0,.25); align-self: flex-start; }
.scr { position: relative; aspect-ratio: 600 / 1300; border-radius: 26px; overflow: hidden; background: var(--dark); color: #fff; }
.scr > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr 300px; gap: 40px; padding: 52px 56px 0; border-radius: 40px; }
  .hero > .txt { padding-bottom: 52px; align-self: center; }
  .dl { display: none; }
  .hero .badges { display: flex; margin-top: 26px; }
  .hero-shot { height: auto; max-height: 520px; align-self: end; }
  .phone { width: 280px; }
  /* QR pequeño junto a las insignias: el visitante de escritorio descarga con el móvil */
  .qr { display: flex; align-items: center; gap: 12px; margin-top: 18px; color: #bdbdbd; font: 700 13px/1.35 Inter; }
  .qr .code { position: relative; background: var(--lime); padding: 6px; border-radius: 10px; line-height: 0; flex: none; }
  .qr .code > img, .qr .code > canvas { width: 92px !important; height: 92px !important; }
  .qr .center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 24px; height: 24px; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 3px var(--lime); }
  .qr .center img { width: 100%; display: block; }
}

/* ── Bandas oscuras ── */
.band { background: var(--dark); color: var(--text); border-radius: 40px; margin: 56px 8px 0; padding: 64px 0; }
.band h2 { color: #fff; }
.band h2 em { color: var(--lime); }
.sec-h { font-size: clamp(32px, 8vw, 50px); margin: 0; }
.sec-p { margin: 10px 0 0; font: 600 17px/1.5 Inter; max-width: 52ch; }
.band .sec-p { color: #bdbdbd; }

/* Cómo funciona: pestañas (en / dos caminos) y pasos en vertical */
.picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pick { border: 0; border-radius: 999px; padding: 12px 18px; cursor: pointer; background: #262626; color: #cfcfcf; font: italic 800 20px/1 "Barlow Condensed"; text-transform: uppercase; }
.pick[aria-selected="true"] { background: var(--lime); color: #000; }
/* Pasos en vertical: un número lima a la izquierda que se queda pegado arriba mientras
   lees su paso, y una línea que lo une con el siguiente */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.mark { position: relative; display: flex; justify-content: center; }
.mark::after { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: rgba(170,226,22,.35); }
.step:last-child .mark::after { bottom: auto; height: 40px; }
.mark b { position: sticky; top: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #000; font: italic 800 26px/1 "Barlow Condensed"; box-shadow: 0 0 0 6px var(--dark); }
.step .card { background: var(--card); border-radius: 30px; overflow: hidden; display: grid; margin-bottom: 36px; }
.step:last-child .card { margin-bottom: 0; }
.step .copy { position: relative; padding: 24px 24px 0; }
.of { margin: 0 0 10px; font: 800 12px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.step h3 { font-size: clamp(26px, 6.5vw, 36px); margin: 0; color: #fff; position: relative; }
.step p { margin: 12px 0 0; color: #d2d2d2; max-width: 44ch; font-size: 15.5px; line-height: 1.5; }
.step ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: #bdbdbd; font-size: 14.5px; }
.step li { display: grid; grid-template-columns: 18px 1fr; line-height: 1.4; }
.step li::before { content: "›"; color: var(--lime); font: 900 19px/1.05 Inter; }
.step .shot { display: flex; justify-content: center; height: 300px; overflow: hidden; padding-top: 24px; }
.step .phone { width: 220px; }
@media (min-width: 860px) {
  .step { grid-template-columns: 64px 1fr; gap: 20px; }
  .mark b { width: 64px; height: 64px; font-size: 40px; top: 24px; }
  .step:last-child .mark::after { height: 64px; }
  .step .card { grid-template-columns: 1.1fr .9fr; height: 400px; }
  .step .copy { padding: 48px 20px 48px 48px; align-self: center; }
  .step p { font-size: 17px; }
  .step .shot { height: 100%; padding-top: 44px; }
  .step .phone { width: 260px; }
  .step:nth-child(even) .copy { order: 2; padding: 48px 48px 48px 20px; }
}
@media (max-width: 420px) { .step { gap: 10px; grid-template-columns: 34px 1fr; } .mark b { width: 34px; height: 34px; font-size: 22px; } .step .copy { padding: 22px 18px 0; } }

/* Pantallas dibujadas (sin captura todavía) */
.mock { padding: 44px 14px 14px; display: grid; gap: 12px; align-content: start; font: 600 12.5px/1.4 Inter; height: 100%; }
.mock h4 { margin: 0; font: italic 800 24px/1 "Barlow Condensed"; text-transform: uppercase; }
.mock small { color: var(--muted); }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 13px Inter; background: #333; color: #fff; }
.av.t { background: var(--lime); color: #000; }
.pair { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; }
.pair .line { width: 40px; border-top: 2px dashed var(--lime); }
.codebox { justify-self: center; font: 800 22px/1 Inter; letter-spacing: .1em; color: var(--lime); background: #1e1e1e; padding: 12px 14px; border-radius: 10px; }
.okpill { justify-self: center; background: var(--lime); color: #000; font: 800 12px/1 Inter; border-radius: 999px; padding: 8px 12px; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #1e1e1e; border-radius: 12px; padding: 9px; font: 800 12px/1.2 Inter; }
.row p { margin: 0; color: #fff; font-size: 12px; }
.row small { display: block; font-weight: 600; font-size: 11px; }
.row span { font: 900 10px/1 Inter; letter-spacing: .06em; background: var(--lime); color: #000; padding: 7px 8px; border-radius: 7px; }
.chat { display: grid; gap: 8px; }
.chat div { max-width: 90%; padding: 8px 10px; border-radius: 14px; font-size: 11.5px; }
.chat .out { justify-self: end; background: #1f5135; color: #e8f5ec; border-bottom-right-radius: 4px; }
.chat .in { background: #333; border-bottom-left-radius: 4px; }
.chat .ok { justify-self: center; background: var(--lime); color: #000; font-weight: 800; border-radius: 999px; }
.live { display: grid; gap: 8px; }
.live div { display: flex; gap: 8px; align-items: center; background: #1e1e1e; border-radius: 12px; padding: 9px 10px; font: 700 11.5px/1.3 Inter; }
.live .av { width: 28px; height: 28px; font-size: 10px; flex: none; }
.newex { display: grid; gap: 8px; font: 600 12px/1.3 Inter; }
.newex small { color: var(--muted); }
.newex .field { background: #1e1e1e; border-radius: 10px; padding: 11px 12px; font: 700 13px/1.25 Inter; color: #fff; }
.newex .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.newex .chips span { background: #1e1e1e; border-radius: 999px; padding: 6px 10px; font-weight: 800; color: #ddd; }
.newex .okpill { justify-self: start; margin-top: 4px; }

/* ── Bandas lima: Y además / Por qué Budi / Preguntas ── */
.lime { padding: 72px 0 0; }
.feats { display: grid; gap: 16px; margin-top: 28px; }
.feat { background: var(--card); color: var(--text); border-radius: 28px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.feat .ftxt { padding: 24px 24px 0; }
.feat h3 { font: italic 800 clamp(30px, 8vw, 40px)/.95 "Barlow Condensed"; text-transform: uppercase; margin: 0 0 8px; color: #fff; }
.feat p { margin: 0; font: 500 15.5px/1.5 Inter; color: #cfcfcf; }
.fvis { height: 250px; display: flex; justify-content: center; padding-top: 22px; overflow: hidden; }
.fvis .phone { width: 220px; height: calc(100% + 40px); }
.fvis .scr { height: 100%; aspect-ratio: auto; }
.fvis .scr > img { height: auto; transform: translateY(var(--y, 0%)); }
.fvis .scr > .mock { padding-top: 36px; }
.fvis.solo { align-items: center; padding: 0 0 24px; }
.big { font: italic 800 140px/.85 "Barlow Condensed"; color: var(--lime); text-align: center; }
.big small { display: block; font: 700 14px/1.3 Inter; color: var(--muted); font-style: normal; margin-top: 10px; }
@media (min-width: 760px) { .feats { grid-template-columns: 1fr 1fr; gap: 20px; } .fvis { height: 280px; } }

/* «budi» en un título: en minúsculas, como el logo */
.lc { text-transform: none; }
/* Entrenadores: crea · reutiliza · periodiza, y la progresión por reglas a todo lo ancho */
@media (min-width: 960px) { .feats.three { grid-template-columns: repeat(3, 1fr); } }
.rule, .all { background: var(--card); color: var(--text); border-radius: 28px; overflow: hidden; display: grid; margin-top: 16px; }
.rule .ftxt, .all .ftxt { padding: 28px 24px 0; }
.rule h3 { font: italic 800 clamp(28px, 7vw, 40px)/.95 "Barlow Condensed"; text-transform: uppercase; margin: 0 0 10px; color: var(--lime); }
.rule p, .all p { margin: 0; font: 500 16px/1.5 Inter; color: #cfcfcf; max-width: 46ch; }
.rule ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 15px; color: #bdbdbd; }
.rule li { position: relative; padding-left: 18px; line-height: 1.45; }
.rule li::before { content: "›"; position: absolute; left: 0; top: -1px; color: var(--lime); font: 900 19px/1.1 Inter; }
.rule li b { color: #fff; }
.rvis { display: flex; justify-content: center; height: 380px; overflow: hidden; padding-top: 28px; }
.rvis .phone { width: 250px; }
.all { background: #1c1c1c; margin-top: 40px; }
.all h3 { font-size: clamp(26px, 6.5vw, 38px); margin: 0 0 12px; color: #fff; }
.all h3 em { color: var(--lime); }
@media (min-width: 860px) {
  .rule, .all { grid-template-columns: 1.15fr .85fr; }
  .rule .ftxt, .all .ftxt { padding: 52px 20px 52px 52px; align-self: center; }
  .rvis { height: 100%; min-height: 520px; padding-top: 52px; }
  .rvis .phone { width: 290px; }
}
.whys { display: grid; gap: 12px; margin-top: 28px; }
.why { background: #000; color: #fff; border-radius: 24px; padding: 24px; }
.why h3 { font: italic 800 30px/1 "Barlow Condensed"; text-transform: uppercase; margin: 0 0 8px; color: var(--lime); }
.why p { margin: 0; color: #cfcfcf; font-size: 15.5px; }
@media (min-width: 760px) { .whys { grid-template-columns: repeat(3, 1fr); } }

/* Precio (entrenadores) */
.plans { display: grid; gap: 16px; margin-top: 32px; }
.plan { background: var(--card); border-radius: 28px; padding: 28px 24px; display: grid; align-content: start; gap: 6px; }
.plan.pro { background: var(--lime); color: #000; }
.plan h3 { font: italic 800 30px/1 "Barlow Condensed"; text-transform: uppercase; margin: 0; color: inherit; }
.plan .price { font: italic 800 52px/1 "Barlow Condensed"; margin: 10px 0 0; }
.plan .price small { font: 700 18px/1 Inter; font-style: normal; }
.plan .bill { margin: 0; font: 700 14px/1.4 Inter; opacity: .75; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 15px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; }
.plan li::before { content: "✓"; font-weight: 900; color: var(--lime); }
.plan.pro li::before { color: #000; }
.plan .alt { margin: 16px 0 0; padding-top: 14px; border-top: 1.5px solid rgba(0,0,0,.2); font: 700 14px/1.4 Inter; }
.launch { display: inline-block; justify-self: start; font: 900 11px/1 Inter; letter-spacing: .08em; text-transform: uppercase; background: #000; color: var(--lime); padding: 7px 9px; border-radius: 6px; margin-bottom: 6px; }
.fine { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }

/* Carta */
.letter { max-width: 640px; margin: 0 auto; }
.caps { font: 800 12px/1.4 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.letter h2 { font-size: 46px; margin: 0 0 20px; }
.letter p { font-size: 18px; line-height: 1.7; color: #d4d4d4; margin: 0 0 16px; }
.sign { font: 600 46px/1 Caveat, cursive; color: var(--lime); display: inline-block; transform: rotate(-4deg); }

/* Preguntas: <details> nativo */
.faq { margin-top: 24px; display: grid; gap: 10px; max-width: 760px; }
.faq details { background: rgba(0,0,0,.08); border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; position: relative; font: 800 17px/1.35 Inter; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 900 24px/1 Inter; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; font-size: 16px; }

/* Final y pie */
.final { background: #000; color: #fff; margin-top: 72px; border-radius: 40px 40px 0 0; padding: 72px 0 110px; text-align: center; }
.final h2 { font-size: clamp(44px, 11vw, 72px); margin: 0 0 12px; color: var(--lime); }
.final p { font: 700 17px/1.5 Inter; margin: 0 auto 24px; max-width: 42ch; }
.final .badges { justify-content: center; }
footer { background: #000; color: var(--muted); font-size: 14px; padding: 0 0 30px; }
footer .wrap { display: flex; gap: 8px 20px; flex-wrap: wrap; border-top: 1px solid #222; padding-top: 20px; }
footer a { color: var(--muted); }

/* Barra fija (móvil) cuando no se ve otro botón de descarga */
.sticky { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 18px; background: #000; color: #fff; box-shadow: 0 0 0 1px #333; transform: translateY(140%); transition: transform .3s; }
.sticky.on { transform: none; }
.icon { width: 44px; height: 44px; border-radius: 11px; overflow: hidden; flex: none; }
.icon img { width: 100%; display: block; }
.sticky b { flex: 1; min-width: 0; font: 800 14px/1.2 Inter; }
.sticky b span { display: block; font-weight: 600; font-size: 12px; color: #9a9a9a; }
.sticky .cta { flex: none; display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 14px; background: var(--lime); color: #000; text-decoration: none; font: italic 800 18px/1 "Barlow Condensed"; text-transform: uppercase; }
@media (min-width: 860px) { .sticky { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition-duration: 0s !important; } }
