/* Tu Profe Estadística — landing v4 (propuesta, 1 dic 2026)
   Mundo: la app de tu banco. Campo Azul Σ, hojas blancas que suben, cifras tabulares,
   listas de movimientos con signo. Una familia: Onest. */

@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/onest-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #2062AC;      /* Azul Σ: el campo de la marca */
  --blue-dk: #18508E;
  --deep: #163561;      /* azul tinta del logo */
  --ink: #0B1424;
  --text: #2A3850;
  --muted: #56657B;     /* 5,8:1 sobre blanco */
  --soft: #EEF3FA;      /* fondo de filas y campos */
  --line: #DCE4EF;
  --sky: #BFD6F6;       /* acento sobre azul */
  --on-blue: #DCE8F8;   /* texto secundario sobre azul (4,98:1) */
  --plus: #157A43;      /* movimiento que suma */
  --minus: #B42318;     /* movimiento que resta */
  --white: #fff;
  --f: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-sheet: 32px;
  --r-card: 22px;
  --wrap: 1180px;
  --section: clamp(4rem, 8vw, 6.5rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 1.0625rem/1.6 var(--f); -webkit-font-smoothing: antialiased; }
::selection { background: var(--sky); color: var(--ink); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible { outline-color: var(--white); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .money { font-variant-numeric: tabular-nums; }

h1, h2, h3 { margin: 0 0 .5em; color: var(--ink); text-wrap: balance; letter-spacing: -.03em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.8rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.06; font-weight: 700; }
h3 { font-size: 1.2rem; line-height: 1.3; font-weight: 650; letter-spacing: -.015em; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(1.12rem, 1.5vw, 1.25rem); line-height: 1.55; }
.muted { color: var(--muted); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.head { max-width: 44rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.head p { color: var(--muted); font-size: 1.12rem; }

/* Botones: píldoras de app */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.55rem; border-radius: 999px;
  border: 0; font: 600 1rem/1.2 var(--f); text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s; }
.btn:active { transform: scale(.97); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dk); color: var(--white); }
.btn--white { background: var(--white); color: var(--deep); box-shadow: 0 6px 18px rgba(11, 20, 36, .18); }
.btn--white:hover { background: var(--soft); color: var(--deep); }
.btn--glass { background: rgba(255, 255, 255, .14); color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); color: var(--white); }
.btn--soft { background: var(--soft); color: var(--deep); }
.btn--soft:hover { background: var(--line); color: var(--deep); }
.btn--paypal { background: #FFC439; color: #111D3A; width: 100%; }
.btn--paypal:hover { background: #F2B52A; color: #111D3A; }
.btns { display: flex; flex-wrap: wrap; gap: .7rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .8rem; border-radius: 999px; background: var(--soft); color: var(--deep); font-size: .85rem; font-weight: 550; white-space: nowrap; }
.chip--soon { background: #FFF1D6; color: #7A4A00; }
.on-blue .chip { background: rgba(255,255,255,.16); color: var(--white); }

/* ---------- Campo azul: menú + hero ---------- */
.field { background: var(--blue); color: var(--white); position: relative; }
.field::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 85% 10%, rgba(255,255,255,.12), transparent 60%); pointer-events: none; }
.notice { position: relative; display: flex; justify-content: center; padding: .7rem 1rem 0; }
.notice a { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .5rem .4rem 1rem; border-radius: 999px; background: rgba(11, 20, 36, .22); color: var(--white); text-decoration: none; font-size: .92rem; }
@media (max-width: 600px) { .notice .long { display: none; } }
.notice a b { background: var(--white); color: var(--deep); border-radius: 999px; padding: .2rem .7rem; font-weight: 600; font-size: .85rem; }
.notice a:hover { background: rgba(11, 20, 36, .32); color: var(--white); }

.nav { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s; }
.nav.is-stuck { background: var(--blue); box-shadow: 0 8px 24px rgba(11, 20, 36, .18); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand { display: block; background: var(--white); border-radius: 14px; padding: 6px 12px; box-shadow: 0 4px 14px rgba(11, 20, 36, .14); }
.brand img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.8rem); }
.nav__links a:not(.btn) { color: var(--white); text-decoration: none; font-weight: 500; opacity: .92; }
.nav__links a:not(.btn):hover { opacity: 1; text-decoration: underline; }
.nav__links .btn { min-height: 44px; padding: .55rem 1.2rem; }
.nav__toggle { display: none; background: rgba(255,255,255,.14); border: 0; border-radius: 999px; padding: .55rem; color: var(--white); cursor: pointer; }
.nav__toggle svg { width: 26px; height: 26px; }
@media (max-width: 1000px) {
  .nav__toggle { display: block; }
  .nav__links { display: none; position: absolute; inset: 76px .75rem auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    border-radius: var(--r-card); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 20px 50px rgba(11, 20, 36, .25); }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { color: var(--ink); padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav__links .btn { margin-top: 1rem; background: var(--blue); color: var(--white); }
}

.hero { position: relative; padding: clamp(1rem, 3vw, 2.25rem) 0 calc(var(--r-sheet) + clamp(2.5rem, 5vw, 4rem)); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-areas: "copy app" "facts app"; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__copy { grid-area: copy; align-self: end; }
.hero__facts { grid-area: facts; align-self: start; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.3rem); max-width: 13ch; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero .lead { color: var(--on-blue); max-width: 34rem; margin-bottom: 1.5rem; }
.hero__facts { display: grid; gap: 0; margin-top: 1.4rem; max-width: 34rem; border-radius: 18px; background: rgba(11, 20, 36, .18); font-size: .95rem; color: var(--on-blue); }
.hero__facts p { margin: 0; padding: .8rem 1.1rem; }
.hero__facts > * + * { border-top: 1px solid rgba(255,255,255,.14); }
.hero__facts b { color: var(--white); }
.proof { display: flex; align-items: center; gap: .7rem; padding: .7rem 1.1rem; color: var(--on-blue); text-decoration: none; }
.proof__ico { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.16); color: var(--white); }
.proof__ico svg { width: 16px; height: 16px; }
.proof b { color: var(--white); font-variant-numeric: tabular-nums; }
.proof:hover { color: var(--white); }
.proof:hover span { text-decoration: underline; }

/* La app en la primera pantalla: el reto del día se juega aquí */
.hero__app { grid-area: app; margin: 0; display: grid; justify-items: center; gap: 1rem; }
.hero__app figcaption { color: var(--on-blue); font-size: .92rem; }
.phone.phone--hero { width: min(340px, 100%); aspect-ratio: auto; box-shadow: 0 40px 80px rgba(11, 20, 36, .35), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone--hero .phone__screen { font-size: .86rem; }
.phone--hero .phone__top { background: var(--deep); padding: 1.3rem 1.1rem 1.2rem; }
.phone__bar { position: relative; }
.quiz { margin: .9rem .7rem 0; padding: 1rem; border-radius: 18px; background: var(--white); box-shadow: 0 10px 24px rgba(11,20,36,.10); border: 1px solid var(--line); }
.quiz__head { display: flex; justify-content: space-between; font-size: .76rem; font-weight: 600; color: var(--blue); }
.quiz__q { margin: .5rem 0 .8rem; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; }
.quiz__opts { display: grid; gap: .45rem; }
.quiz__opts button { all: unset; box-sizing: border-box; cursor: pointer; padding: .7rem .9rem; border-radius: 12px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 550; transition: border-color .2s, background-color .2s; }
.quiz__opts button:hover { border-color: var(--blue); }
.quiz__opts button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.quiz__opts .is-ok { border-color: var(--plus); background: #E6F4EC; }
.quiz__opts .is-no { border-color: var(--minus); background: #FDECEA; }
.quiz__fb { margin: .7rem 0 0; font-size: .8rem; color: var(--muted); min-height: 2.4em; }
.phone__next { margin: .7rem .7rem 0; padding: .8rem 1rem; border-radius: 14px; background: var(--soft); }
.phone__next small { display: block; color: var(--muted); font-size: .74rem; }
.phone__next b { color: var(--ink); }
.phone--hero .phone__nav { margin-top: .9rem; }
@media (prefers-reduced-motion: no-preference) { .js .phone--hero { animation: sheet 1s var(--ease) both; } }
@keyframes sheet { from { transform: translateY(32px); } }

/* Hoja blanca que sube sobre el campo azul, con los accesos rápidos */
.sheet { position: relative; z-index: 2; background: var(--white); border-radius: var(--r-sheet) var(--r-sheet) 0 0; margin-top: calc(-1 * var(--r-sheet)); }
.quick { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; padding: 1.5rem 0 0; transform: translateY(-3.2rem); margin-bottom: -3.2rem; }
.quick a { display: grid; justify-items: center; gap: .55rem; padding: 1.1rem .5rem 1rem; border-radius: var(--r-card); background: var(--white); box-shadow: 0 10px 30px rgba(11, 20, 36, .12); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; text-align: center; transition: transform .25s var(--ease), box-shadow .25s; }
.quick a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(11, 20, 36, .16); color: var(--ink); }
.quick .ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--blue); }
.quick .ico svg { width: 26px; height: 26px; }
.quick small { display: block; font-weight: 450; color: var(--muted); font-size: .8rem; margin-top: -.3rem; }
@media (max-width: 760px) { .quick { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 88px; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1.25rem; margin-inline: -1.25rem; padding: 1.5rem 1.25rem .6rem; transform: translateY(-2.6rem); margin-bottom: -2.6rem; scrollbar-width: none; }
  .quick a { scroll-snap-align: start; padding: .9rem .2rem; font-size: .78rem; } .quick small { display: none; } .quick .ico { width: 44px; height: 44px; } }

/* Para quién: selector de perfil, como elegir cuenta */
.who { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.profiles { list-style: none; margin: 0; padding: 0 1.2rem; border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); }
.profiles li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; padding: 1.1rem 0; }
.profiles li + li { border-top: 1px solid var(--line); }
.profiles .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue); color: var(--white); }
.profiles .ico svg { width: 24px; height: 24px; }
.profiles h3 { margin: 0 0 .15rem; font-size: 1.08rem; }
.profiles p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Banda del taller: tarjeta promocional dentro de la app */
.promo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; background: var(--deep); color: var(--on-blue); border-radius: var(--r-sheet); padding: clamp(1.75rem, 4.5vw, 3.25rem); position: relative; overflow: hidden; }
.promo h2 { color: var(--white); }
.promo h2 em { font-style: normal; color: var(--sky); }
.promo p { font-size: 1.1rem; }
.promo .chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.6rem; padding: 0; list-style: none; }
.promo .chips li { background: rgba(255,255,255,.1); color: var(--white); border-radius: 999px; padding: .35rem .9rem; font-size: .9rem; }
.promo__price { justify-self: end; text-align: right; }
.promo__price strong { display: block; font-size: clamp(5rem, 11vw, 8.5rem); line-height: .85; font-weight: 700; letter-spacing: -.05em; color: var(--white); }
.promo__price span { display: block; margin-top: .6rem; color: var(--sky); font-weight: 600; }
.promo__price small { display: block; color: var(--on-blue); font-size: .9rem; }
@media (max-width: 820px) { .promo { grid-template-columns: 1fr; } .promo__price { justify-self: start; text-align: left; } }

/* Curso: estado de cuenta de módulos + tarjeta del plan */
.course { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.statement { border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; }
.statement__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.3rem; background: var(--soft); font-size: .9rem; color: var(--muted); }
.statement__head b { color: var(--ink); font-size: 1rem; }
.modules { list-style: none; counter-reset: m; margin: 0; padding: 0 1.3rem; }
.modules li { counter-increment: m; display: grid; grid-template-columns: 2.6rem 1fr; gap: .1rem 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.modules li:first-child { border-top: 0; }
.modules li::before { content: counter(m); grid-row: span 2; width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--blue); font-weight: 700; font-variant-numeric: tabular-nums; }
.modules b { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.modules span { color: var(--muted); font-size: .97rem; }

.plan { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 60px rgba(11, 20, 36, .14); background: var(--white); }
.plan__card { background: var(--blue); color: var(--white); padding: 1.5rem 1.5rem 1.6rem; position: relative; }
.plan__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.07), 0 0 0 64px rgba(255,255,255,.05); }
.plan__card h3 { color: var(--white); margin: 0 0 1rem; }
.plan__price { display: flex; align-items: baseline; gap: .5rem; }
.plan__price strong { font-size: 4rem; line-height: 1; font-weight: 700; letter-spacing: -.05em; }
.plan__price span { color: var(--on-blue); font-weight: 500; }
.plan__body { padding: 1.4rem 1.5rem 1.5rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.3rem; display: grid; gap: .6rem; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: .6rem; align-items: start; }
.ticks li::before { content: ""; width: 22px; height: 22px; margin-top: .1rem; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%232062AC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.plan .btns .btn { flex: 1 1 10rem; }
.plan__row { margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line); font-size: .95rem; }
.plan__row b { color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: .6rem; }
.input { width: 100%; min-height: 52px; padding: .75rem 1.1rem; border: 1.5px solid transparent; border-radius: 999px; background: var(--soft); font: inherit; color: var(--ink); }
.input::placeholder { color: #5F6E84; }
.input:focus { border-color: var(--blue); outline: none; background: var(--white); }
.form-ok { display: none; margin-top: .8rem; padding: .7rem 1rem; border-radius: 14px; background: #E3F2E8; color: #14532D; font-size: .95rem; }
.form-ok.is-visible { display: block; }
@media (max-width: 940px) { .course, .who { grid-template-columns: 1fr; } .plan { position: static; } }

/* App: banda azul tinta con la pantalla de la app */
.app { background: var(--deep); color: var(--on-blue); border-radius: var(--r-sheet); }
.app__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); }
.app h2 { color: var(--white); }
.app h2 em { font-style: normal; color: var(--sky); }
.app .lead { color: var(--on-blue); }
.app .ticks li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23BFD6F6' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.phone { width: min(300px, 100%); margin-inline: auto; aspect-ratio: 9 / 18; border-radius: 40px; padding: 10px; background: #0A1A33; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 1.5px rgba(255,255,255,.12); }
.phone__screen { height: 100%; border-radius: 31px; background: var(--white); overflow: hidden; display: flex; flex-direction: column; color: var(--text); font-size: .78rem; }
.phone__top { background: var(--blue); color: var(--white); padding: 1.2rem 1rem 1.6rem; }
.phone__top small { color: var(--on-blue); }
.phone__top b { display: block; font-size: 1.25rem; line-height: 1.15; letter-spacing: -.02em; margin-top: .25rem; }
.phone__bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.25); margin-top: .8rem; overflow: hidden; }
.phone__bar i { display: block; width: 34%; height: 100%; background: var(--white); }
.phone__list { margin: -.8rem .6rem 0; background: var(--white); border-radius: 16px; box-shadow: 0 8px 20px rgba(11,20,36,.12); padding: .2rem .8rem; }
.phone__list div { padding: .65rem 0; border-top: 1px solid var(--line); }
.phone__list div:first-child { border-top: 0; }
.phone__list small { display: block; color: var(--muted); }
.phone__list b { color: var(--ink); font-size: .86rem; }
.phone__nav { margin-top: auto; display: flex; justify-content: space-around; padding: .7rem .4rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; }
.phone__nav span:nth-child(2) { color: var(--blue); font-weight: 600; }
.app .note { font-size: .9rem; margin-top: 1rem; }
@media (max-width: 860px) { .app__grid { grid-template-columns: 1fr; } .phone { width: min(260px, 80%); } }

/* Taller: pasos + comprobante */
.workshop { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.steps { list-style: none; counter-reset: s; margin: 0 0 2rem; padding: 0; display: grid; gap: .5rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--soft); }
.steps li::before { content: counter(s); width: 2.2rem; height: 2.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--blue); font-weight: 700; }
.steps b { display: block; color: var(--ink); font-weight: 600; }
.steps span { color: var(--muted); font-size: .97rem; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 0; margin: 0; border-radius: var(--r-card); border: 1px solid var(--line); overflow: hidden; }
.facts dt, .facts dd { padding: .85rem 1.2rem; border-top: 1px solid var(--line); }
.facts dt:first-of-type, .facts dt:first-of-type + dd { border-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }
.receipt { position: sticky; top: 100px; background: var(--white); border-radius: 28px; box-shadow: 0 24px 60px rgba(11, 20, 36, .14); padding: 1.5rem; }
.bill { list-style: none; margin: .4rem 0 1.3rem; padding: 0; }
.bill li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.bill b { display: block; color: var(--ink); font-weight: 600; }
.bill small { color: var(--muted); font-size: .85rem; }
.bill .money { font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill__total { border-top: 2px dashed var(--line) !important; padding-top: 1rem !important; }
.bill__total b, .bill__total .money { font-size: 1.15rem; font-weight: 700; }
.receipt .note { font-size: .88rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
@media (max-width: 940px) { .workshop { grid-template-columns: 1fr; } .receipt { position: static; } }

/* Herramientas gratis */
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tool { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-card); background: var(--soft); overflow: hidden; }
.tool__demo { height: 170px; display: grid; place-items: center; background: var(--blue); color: var(--white); position: relative; }
.tool:nth-child(2) .tool__demo { background: var(--deep); }
.tool:nth-child(3) .tool__demo { background: #0F4C8A; }
.tool__demo svg { width: 128px; height: 128px; }
.tool__demo .readout { text-align: center; }
.tool__demo .readout strong { display: block; font-size: 3.4rem; line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.tool__demo .readout small { color: var(--on-blue); font-size: .85rem; }
.tool__demo .tag { position: absolute; left: 1rem; top: 1rem; font-size: .75rem; color: var(--on-blue); }
.tool__body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .6rem; align-content: start; }
.tool__body h3 { margin: 0; }
.tool__body p { margin: 0; color: var(--muted); font-size: .97rem; }
.tool__body .chip { justify-self: start; margin-top: .3rem; }
@media (max-width: 900px) { .tools { grid-template-columns: 1fr; } .tool { grid-template-columns: 160px 1fr; grid-template-rows: none; } .tool__demo { height: auto; min-height: 150px; } .tool__demo svg { width: 96px; height: 96px; } .tool__demo .readout strong { font-size: 2.4rem; } }
@media (max-width: 520px) { .tool { grid-template-columns: 1fr; } .tool__demo { min-height: 130px; } }

/* Buscar profe: buscador de la app */
.finder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.finder h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.search { position: relative; }
.search svg { position: absolute; left: 1.1rem; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.search .input { padding-left: 3rem; }
.topics { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .9rem; }
.topics button { all: unset; cursor: pointer; padding: .4rem .85rem; border-radius: 999px; background: var(--soft); color: var(--deep); font-size: .88rem; font-weight: 550; }
.topics button:hover, .topics button[aria-pressed="true"] { background: var(--blue); color: var(--white); }
.topics button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.results { min-height: 100%; }
.result { border-radius: var(--r-card); background: var(--white); border: 1px solid var(--line); padding: 1.2rem 1.3rem .4rem; }
.result__who { display: grid; grid-template-columns: 46px 1fr; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.result__who img { width: 46px; height: 46px; border-radius: 50%; }
.result__who b { display: block; color: var(--ink); }
.result__who small { color: var(--muted); }
.offers { list-style: none; margin: 0; padding: 0; }
.offers li { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; align-items: center; padding: .9rem 0; border-top: 1px solid var(--line); }
.offers b { color: var(--ink); font-weight: 600; }
.offers .price { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }
.offers small { color: var(--muted); }
.offers .avail { text-align: right; font-size: .82rem; font-weight: 600; }
.avail--ok { color: var(--plus); }
.avail--wait { color: #8A5300; }
.offers a { font-size: .9rem; font-weight: 600; }
.result__empty { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .offers li { grid-template-columns: 1fr; } .offers li > span:last-child { display: flex; gap: .6rem; align-items: baseline; } .offers li > span:last-child br { display: none; } .offers .price, .offers .avail { text-align: left; } }

/* Blog */
.blog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.blog h3 { margin-bottom: 1rem; }
.routes, .top { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.routes a, .top a { display: grid; align-items: center; gap: 1rem; padding: 1rem 1.1rem; border-radius: 18px; background: var(--soft); color: var(--text); text-decoration: none; transition: background-color .2s; }
.routes a { grid-template-columns: 1fr auto; }
.routes a:hover, .top a:hover { background: var(--line); color: var(--text); }
.routes b { display: block; color: var(--ink); }
.routes span span { color: var(--muted); font-size: .95rem; }
.routes em { font-style: normal; font-weight: 600; color: var(--blue); }
.top { counter-reset: t; }
.top a { grid-template-columns: 2rem 1fr; counter-increment: t; }
.top a::before { content: counter(t); font-weight: 700; color: var(--blue); font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.top a span { color: var(--ink); font-weight: 550; line-height: 1.35; }
.top small { display: block; color: var(--muted); font-weight: 400; font-size: .85rem; margin-top: .2rem; }
.blog__more { margin-top: 1rem; font-weight: 600; }
@media (max-width: 860px) { .blog { grid-template-columns: 1fr; } }

/* Sobre mí + correo */
.about { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.about img { width: 200px; height: 200px; border-radius: 50%; }
.skills { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.mail { margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; background: var(--blue); color: var(--on-blue); }
.mail h2 { color: var(--white); font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.mail p { margin: 0; }
.mail .input { background: var(--white); }
.mail .form-ok { background: var(--deep); color: var(--white); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about img { width: 120px; height: 120px; } .mail { grid-template-columns: 1fr; } }

/* Preguntas */
.faq { max-width: 52rem; margin-inline: auto; display: grid; gap: .5rem; }
.faq details { border-radius: 18px; background: var(--soft); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%232062AC' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--text); }
.center { text-align: center; margin-inline: auto; }

/* Pie */
.footer { background: var(--deep); color: var(--on-blue); padding: 3.5rem 0 2rem; border-radius: var(--r-sheet) var(--r-sheet) 0 0; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer__logo { height: 34px; width: auto; }
.footer .brand { display: inline-block; }
.footer h4 { color: var(--white); font: 600 1rem var(--f); margin: 0 0 .8rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer .chip { background: rgba(255,255,255,.12); color: var(--white); }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.14); display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; font-size: .9rem; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "app" "facts"; row-gap: 1.6rem; } .hero__facts { margin-top: 0; } }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(2.2rem, 9.6vw, 2.6rem); }
  .hero .lead { font-size: 1.02rem; margin-bottom: 1.2rem; }
  .hero .btns { flex-wrap: nowrap; gap: .5rem; }
  .hero .btns .btn { min-height: 48px; padding: .7rem 1rem; font-size: .92rem; white-space: nowrap; }
  .phone.phone--hero { width: min(310px, 100%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
