/* =====================================================================
   Kontrolfy · capa de marca de la landing (landing-k.html). Va la última.
   Idea: pocas cosas y decididas. Colores planos (lima, carbón, violeta, lila),
   sin brillos, degradados, cristal ni etiquetas flotando. La K y la app de verdad.
   ===================================================================== */
:root { --k-ink: #15141B; --k-ink2: #24232E; --k-line: #2F2D3C; --k-violet: #5B46F5; --k-violet2: #8B7BFF;
  --k-lilac: #E6E1FF; --k-lime: #C8F04B; --k-lime-d: #9DBF2C; --k-mute: #ABA9BD; }
body { background: #fff; }

/* ---------- Menú: plano sobre lima ---------- */
.kv-nav { position: fixed; left: 0; right: 0; top: 0; z-index: 40; background: var(--k-lime); border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; transition: box-shadow .2s ease; }
.kv-nav.scrolled { box-shadow: 0 1px 0 rgba(21, 20, 27, .16); }
.kv-nav .nav-in { height: 76px; gap: 12px; }
.kv-nav .brand { color: var(--k-ink); font-size: 26px; font-weight: 800; letter-spacing: -.03em; gap: 8px; }
.kv-nav .brand img { border-radius: 0; width: 44px; height: 40px; }
.kv-nav .wm-dot { color: var(--k-ink); text-shadow: none; }
.kv-links { display: flex; align-items: center; gap: 18px; margin-left: auto; margin-right: 14px; }
.kv-links > a, .kv-dd-b { display: inline-flex; align-items: center; gap: 6px; color: var(--k-ink); font: inherit; font-size: 17px; font-weight: 700;
  padding: 8px 6px; background: none; border: 0; cursor: pointer; }
.kv-links > a:hover, .kv-dd-b:hover { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.kv-dd-b svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.kv-dd { position: relative; }
.kv-dd-m { position: absolute; top: calc(100% + 4px); left: -10px; min-width: 240px; padding: 8px; border-radius: 16px; background: #fff;
  border: 2px solid var(--k-ink); box-shadow: 0 4px 0 var(--k-ink); display: none; }
.kv-dd:hover .kv-dd-m, .kv-dd:focus-within .kv-dd-m { display: block; }
.kv-dd-m a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--k-ink); font-size: 15px; font-weight: 600; }
.kv-dd-m a:hover { background: var(--k-lilac); }
.kv-nav .btn-primary { background: var(--k-ink); color: #fff; border: 0; box-shadow: none; height: 52px; padding: 0 24px; font-size: 17px; gap: 8px; }
.kv-nav .btn-primary:hover { background: #000; }
.kv-up { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 919px) { .kv-links { display: none; } .kv-nav .nav-in { height: 62px; } .kv-nav .brand { font-size: 22px; }
  .kv-nav .brand img { width: 36px; height: 33px; } .kv-nav .btn-primary { height: 44px; padding: 0 16px; font-size: 15px; } }

/* ---------- Portada ---------- */
.kh-bg { background: var(--k-lime); }
.kv { background: var(--k-lime); color: var(--k-ink); padding: 118px 0 40px; overflow: hidden; }
.kv > .wrap { max-width: 1340px; }
.kv-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.kv .hero { background: none; color: var(--k-ink); padding: 0; border: 0; border-radius: 0; box-shadow: none; overflow: visible;
  -webkit-backdrop-filter: none; backdrop-filter: none; text-align: left; }
.kv .hero::before { display: none; }
.kv .hero h1 { font-size: clamp(44px, 5.3vw, 98px); line-height: .98; letter-spacing: -.04em; font-weight: 800; color: var(--k-ink); margin: 0; }
.kv-l { display: block; white-space: nowrap; width: fit-content; }
.kv-hl { display: inline-block; background: #fff; border-radius: .34em; padding: .04em .2em .1em; margin: .06em 0 .06em -.2em; }
.kv .lead { color: var(--k-ink); font-size: clamp(18px, 1.75vw, 27px); line-height: 1.3; margin-top: 24px; max-width: 22em; }
.kv .cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.kv .btn-lg { height: 62px; padding: 0 30px; font-size: 19px; font-weight: 800; gap: 10px; }
.kv .btn-primary { background: var(--k-ink); color: #fff; border: 2px solid var(--k-ink); box-shadow: none; }
.kv .btn-primary:hover { background: #000; transform: translateY(-1px); box-shadow: none; }
.kv .btn-outline { background: transparent; color: var(--k-ink); border: 2.5px solid var(--k-ink); box-shadow: none; }
.kv .btn-outline:hover { background: var(--k-ink); color: #fff; transform: none; box-shadow: none; }
.kv-play-i { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.kv-play-i path { fill: currentColor; stroke: none; }
.kv-price { margin: 16px 0 0; font-size: 15px; color: #2E2D36; }

/* Portátil + móvil con la app de verdad, y la K tumbada delante */
.kv-stage { position: relative; padding: 0; background: none; }
.kh-anchor { position: absolute; top: -100px; }
.kv-devs { position: relative; padding: 0 0 38px 0; }
.kv-devs::after { content: ""; position: absolute; z-index: 0; left: 4%; right: -2%; bottom: 22px; height: 26px; border-radius: 50%; background: rgba(21, 20, 27, .9); filter: blur(1px); }
.kv-laptop { position: relative; z-index: 1; width: 86%; margin: 0 0 0 10%; }
.kv-laptop .dv-laptop-screen { box-shadow: inset 0 0 0 1.5px #3A3B44; }
.kv .dv-phone { position: absolute; z-index: 2; right: -1%; bottom: 30px; top: auto; width: 25%; margin: 0; translate: none; }
.kv .dv-phone-screen { box-shadow: 0 0 0 2px var(--k-ink); }
.kv-k { position: absolute; z-index: 3; left: -9%; bottom: -2px; width: 43%; height: auto; pointer-events: none; }
.kv .dv-view iframe { pointer-events: none; }
.kv .kv-laptop.on .dv-view iframe, .kv .dv-phone.on .dv-view iframe, .kv-stage.is-live .dv-view iframe { pointer-events: auto; }
.kv-hint { position: absolute; left: 50%; top: 45%; translate: -50% -50%; z-index: 5; pointer-events: none; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; background: var(--k-ink); color: #fff; font-size: 14px; font-weight: 600; opacity: 0; transition: opacity .2s ease; }
@media (hover: hover) { .kv .kv-laptop:not(.on):hover .kv-hint, .kv .dv-phone:not(.on):hover .kv-hint { opacity: 1; } }
.kv .dv-try span { background: var(--k-ink); color: #fff; box-shadow: none; }

/* Fila de lo que hace, con iconos de línea */
.kv-feats { list-style: none; margin: 56px auto 0; padding-top: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kv-feats li { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 6px 10px; white-space: nowrap; font-size: clamp(15px, 1.38vw, 22px); font-weight: 800; letter-spacing: -.02em; }
.kv-feats li + li { border-left: 2px solid rgba(21, 20, 27, .16); }
.kv-feats svg { width: 38px; height: 38px; flex: 0 0 auto; fill: none; stroke: var(--k-ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 920px) and (max-width: 1180px) { .kv-feats li { flex-direction: column; text-align: center; gap: 8px; white-space: normal; } }

/* ---------- Móvil y tablet: texto, después el móvil con la K, después la fila ---------- */
@media (max-width: 919px) {
  .kv { padding: 92px 0 30px; }
  .kv-in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .kv .hero h1 { font-size: clamp(40px, 11.4vw, 76px); }
  .kv .lead { font-size: 18.5px; margin-top: 18px; }
  .kv .cta-row { margin-top: 24px; }
  .kv .btn-lg { height: 56px; font-size: 17.5px; padding: 0 22px; }
  .kv-laptop { display: none; }
  .kv-devs { width: min(330px, 86vw); margin: 0 auto; padding: 0 0 26px 30%; }
  .kv-devs::after { left: -6%; right: -6%; bottom: 14px; height: 20px; }
  .kv .dv-phone { position: relative; right: auto; bottom: auto; width: 100%; }
  .kv-k { left: -12%; width: 64%; bottom: 0; }
  .kv .dv-done:not([hidden]) { display: block; margin: 18px auto 0; background: var(--k-ink); color: #fff; border: 0; }
  .kv-feats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 0; margin-top: 36px; }
  .kv-feats li { justify-content: flex-start; font-size: 16px; gap: 10px; white-space: normal; }
  .kv-feats li + li { border-left: 0; }
  .kv-feats svg { width: 32px; height: 32px; }
}
@media (max-width: 599px) {
  .kv .cta-row .btn-lg { width: 100%; justify-content: center; }
  .kv .cta-row .btn-outline { height: auto; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 5px; }
  .kv-price { text-align: center; }
}
@media (min-width: 600px) and (max-width: 919px) { .kv-feats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .kv-feats li { flex-direction: column; text-align: center; justify-content: flex-start; } }

/* Barra fija de compra en móvil */
.m-cta { background: var(--k-ink); border-color: var(--k-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.m-cta-txt { color: var(--k-mute); }
.m-cta-txt b { color: #fff; }
.m-cta .btn-primary { background: var(--k-lime); color: var(--k-ink); border: 0; box-shadow: none; }

/* ---------- Botones del resto de la página: macizos, con sombra sólida ---------- */
main .btn, .reveal-foot .btn { transition: transform .12s ease, box-shadow .12s ease, background .15s ease; }
main .btn-primary { background: var(--k-lime); color: var(--k-ink); border: 2px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); }
main .btn-outline, main .btn-white { background: #fff; color: var(--k-ink); border: 2px solid var(--k-ink); box-shadow: 0 3px 0 var(--k-ink); }
main .btn-primary:hover, main .btn-outline:hover, main .btn-white:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--k-ink); }
main .btn-primary:active, main .btn-outline:active, main .btn-white:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--k-ink); }
.reveal-foot .btn-primary { background: var(--k-ink); color: #fff; border: 2px solid var(--k-ink); box-shadow: 0 4px 0 var(--k-violet); }

/* ---------- Colores de cada sección ---------- */
#como { --sec: var(--k-lilac); }
#confirmar { --sec: var(--k-lime); }
#confirmar .mark { background: linear-gradient(transparent 58%, #fff 58%, #fff 90%, transparent 90%); }
.voices-sec { --sec: #FFFFFF; }
#precio { --sec: var(--k-lilac); }
#precio .mark { background: linear-gradient(transparent 58%, var(--k-lime) 58%, var(--k-lime) 90%, transparent 90%); }

/* ---------- La K que se asoma por encima de la sección del problema (sus ojos siguen el ratón) ---------- */
main > .section.problem { position: relative; overflow: visible; }
.kp { position: absolute; right: 9%; top: -136px; width: 170px; height: 136px; overflow: hidden; pointer-events: none; z-index: 2; }
.kp-svg { position: absolute; left: 0; top: 0; width: 170px; height: 170px; transform: translateY(80px); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.kp.up .kp-svg { transform: translateY(0); }
.kp-pupils { transition: transform .12s ease-out; }
@media (max-width: 919px) { .kp { right: 7%; top: -100px; width: 124px; height: 100px; } .kp-svg { width: 124px; height: 124px; } .kp:not(.up) .kp-svg { transform: translateY(60px); } }

/* ---------- La K del portapapeles en el precio ---------- */
.km { position: relative; width: 200px; margin: 0 auto 6px; }
.km-svg { display: block; width: 100%; height: auto; overflow: visible; }
.km .k-eyes { transform-box: fill-box; transform-origin: center; animation: km-blink 5s infinite; }
@keyframes km-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.km-say { position: absolute; left: calc(100% - 16px); top: 6px; padding: 9px 13px; border-radius: 16px 16px 16px 4px; text-align: left;
  background: var(--k-ink); color: #fff; font-size: 14px; font-weight: 700; line-height: 1.25; white-space: nowrap; }
@media (max-width: 560px) { .km { width: 150px; translate: -40px 0; } .km-say { font-size: 13px; left: calc(100% - 20px); } }
@media (min-width: 1180px) {
  .price-head { position: relative; }
  .km { position: absolute; left: -260px; top: -6px; width: 220px; margin: 0; }
  .km-say { left: auto; right: -30px; top: -40px; }
}

/* ---------- La K del pie, junto a "¿Empezamos?" ---------- */
.rf-q { display: flex; align-items: center; gap: .3em; }
.rf-k { width: 1.15em; height: 1.15em; flex: 0 0 auto; animation: rf-hop 2.6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes rf-hop { 0%, 60%, 100% { translate: 0 0; rotate: 0deg; } 70% { translate: 0 -14%; rotate: -8deg; } 80% { translate: 0 0; rotate: 4deg; } }
.foot-brand img { border-radius: 0; }

/* ---------- Tabla "cara a cara" ---------- */
.vs-sec { --sec: var(--k-ink); color: #fff; }
.vs-head { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: left; margin: 0 auto 38px; max-width: 860px; }
.vs-head h2 { color: #fff; font-size: clamp(30px, 4vw, 54px); line-height: 1.05; margin: 0; }
.vs-sec .mark { background: none; color: var(--k-lime); padding: 0; }
.vs-k { width: 76px; height: 76px; flex: 0 0 auto; }
.vs-wrap { max-width: 920px; margin: 0 auto; }
.vs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 16px; table-layout: fixed; }
.vs th, .vs td { padding: 16px 12px; border-bottom: 1px solid var(--k-line); text-align: center; vertical-align: middle; }
.vs thead th { font-size: 15px; color: var(--k-mute); font-weight: 700; border-bottom: 0; padding-top: 14px; }
.vs thead th:first-child { width: 42%; }
.vs tbody th { text-align: left; font-weight: 600; color: #ECEAFB; line-height: 1.35; }
.vs .vs-us { background: var(--k-lime); color: var(--k-ink); font-size: 19px; font-weight: 800; border-radius: 16px 16px 0 0; letter-spacing: -.02em; }
.vs .vs-us i { font-style: normal; color: var(--k-violet); }
.vs tbody td:nth-child(2) { background: rgba(200, 240, 75, .09); }
.vs tbody tr:last-child td:nth-child(2) { border-radius: 0 0 16px 16px; }
.vs tbody tr:last-child th, .vs tbody tr:last-child td { border-bottom: 0; }
.vs td i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-style: normal; font-weight: 900; font-size: 15px; }
.vs .y i { background: var(--k-lime); color: var(--k-ink); }
.vs .n i { background: #2A2935; color: #FF7A6B; }
.vs .m span { font-size: 13.5px; color: var(--k-mute); line-height: 1.3; }
.vs .y b { color: var(--k-lime); font-size: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 640px) {
  .vs-head { flex-direction: column; text-align: center; gap: 10px; }
  .vs-k { width: 60px; height: 60px; }
  .vs { font-size: 13.5px; }
  .vs th, .vs td { padding: 12px 4px; }
  .vs thead th:first-child { width: 37%; }
  .vs thead th { font-size: 12.5px; }
  .vs .vs-us { font-size: 14px; }
  .vs td i { width: 24px; height: 24px; border-radius: 8px; font-size: 12px; }
  .vs .m span { font-size: 11.5px; }
  .vs .y b { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .km .k-eyes, .rf-k { animation: none; }
  .kp-svg, .kp-pupils { transition: none; }
}
@media (min-width: 600px) and (max-width: 919px) { .kv-devs { width: 440px; padding-left: 34%; } }

/* Para quién es: una etiqueta que se ve a la primera, con un icono por tipo de profe */
.kv-who { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; margin: 0 0 18px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: #fff; border: 1px solid rgba(17, 17, 31, .1); box-shadow: 0 10px 24px -16px rgba(17, 17, 31, .45);
  font-size: clamp(16px, 1.35vw, 19px); font-weight: 800; line-height: 1.2; letter-spacing: -.005em; color: var(--k-ink); }
.kv-who-ico { display: flex; flex: 0 0 auto; }
.kv-who-ico i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 2.5px solid #fff; margin-left: -9px; }
.kv-who-ico i:first-child { margin-left: 0; }
.kv-who-ico svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kv-who-ico .w1 { background: #5870FC; color: #fff; }
.kv-who-ico .w2 { background: #11111F; color: #fff; }
.kv-who-ico .w3 { background: #DDE3FF; color: #3F55E0; }
@media (max-width: 919px) {
  .kv-who { gap: 8px; margin-bottom: 12px; padding: 4px 13px 4px 4px; font-size: min(14.5px, 3.65vw); white-space: nowrap; }
  .kv-who-ico i { width: 26px; height: 26px; margin-left: -7px; border-width: 2px; }
  .kv-who-ico svg { width: 13px; height: 13px; stroke-width: 2.4; }
}
@media (max-width: 360px) { .kv-who-ico .w3 { display: none; } .kv-who { font-size: 12.6px; } }

/* =====================================================================
   Móvil: más corta, más clara y sin cosas que tapen
   ===================================================================== */
.swipe-hint, .plans-same { display: none; }
@media (max-width: 680px) {
  /* Portada: todo alineado a la izquierda, y el móvil recortado para que quepa en una pantalla y poco */
  .kv { padding-bottom: 26px; }
  .kv .cta-row { align-items: stretch; }
  .kv .cta-row .btn-outline { align-self: flex-start; justify-content: flex-start; color: var(--k-ink); font-size: 16px; padding: 4px 0; height: auto; border: 0; text-decoration: underline; text-underline-offset: 5px; }
  .kv .cta-row .btn-outline .kv-play-i { width: 22px; height: 22px; }
  .kv-price { text-align: left; margin-top: 10px; font-size: 14px; }
  .kv-in { gap: 26px; }
  .kv-devs { width: min(320px, 84vw); height: 330px; padding: 0 0 22px 30%; overflow: hidden; }
  .kv-devs::after { bottom: 8px; height: 16px; }
  .kv .dv-phone { -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  .kv .dv-try, .kv .dv-done { display: none !important; }
  .kv .dv-view iframe { pointer-events: none !important; }
  .kv-k { width: 60%; left: -10%; bottom: 4px; }
  .kv-feats { gap: 12px 8px; margin-top: 26px; }
  .kv-feats li { font-size: 14.5px; gap: 8px; line-height: 1.2; }
  .kv-feats svg { width: 26px; height: 26px; }

  /* Sin la barra fija de abajo: el menú ya tiene "Pruébala gratis" siempre a mano */
  .m-cta { display: none !important; }

  /* Tarjetas que se deslizan de lado en vez de apilarse */
  .swipe-hint { display: block; margin: -6px 0 12px; font-size: 14px; font-weight: 700; color: #6B6A75; }
  .swipe-hint span { display: inline-block; animation: sw-nudge 1.6s ease-in-out infinite; }
  .problem .swipe-hint { color: rgba(255, 255, 255, .7); }
  @keyframes sw-nudge { 0%, 100% { translate: 0 0; } 50% { translate: 5px 0; } }
  .problem .cards3, .bento { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 10px;
    scrollbar-width: none; align-items: flex-start; }
  .problem .cards3::-webkit-scrollbar, .bento::-webkit-scrollbar { display: none; }
  .problem .cards3 > *, .bento > .b-card { flex: 0 0 84%; scroll-snap-align: center; }
  .bento > .b-card { flex-basis: 88%; }
  .b-card:hover { transform: none; }
  .bento-sec .bento-h { margin-bottom: 22px; }

  /* La cuenta del mes: en una columna (antes se aplastaba en dos) */
  .b-account { display: flex; flex-direction: column; align-items: stretch; gap: 16px; }

  /* Precios: el anual primero y la lista de lo que incluye una sola vez */
  .plans-same { display: block; margin: -10px 0 16px; text-align: center; font-size: 15px; font-weight: 600; color: #3C3B45; }
  .plans { display: flex; flex-direction: column; gap: 14px; }
  .plan.best { order: -1; }
  .plan:not(.best) .checks { display: none; }
  .plan:not(.best) .plan-sub { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) { .swipe-hint span { animation: none; } }
@media (max-width: 680px) {
  #como .steps { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 10px; scrollbar-width: none; align-items: flex-start; }
  #como .steps::-webkit-scrollbar { display: none; }
  #como .steps > * { flex: 0 0 86%; scroll-snap-align: center; }
}
@media (max-width: 919px) { .kv .hero h1 { font-size: clamp(32px, 11vw, 76px); } }
@media (max-width: 380px) {
  .kv-nav .btn-primary { padding: 0 13px; font-size: 14px; }
  .kv-nav .btn-primary .kv-up { display: none; }
  .kv-nav .brand { font-size: 20px; }
  .km { translate: -56px 0; }
  .km-say { font-size: 12px; padding: 8px 10px; }
}

/* ---------- Titular en pregunta: en el móvil, "este mes?" baja a su propia línea ---------- */
@media (max-width: 680px) { .kv-l3 { display: block; } }

/* ---------- Entrada de la portada (html.kv-intro, solo la primera visita) ---------- */
@keyframes kvCh { to { opacity: 1; } }
@keyframes kvBand { to { background-size: 100% 100%; } }
@keyframes kvUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes kvPop { from { opacity: 0; transform: translateY(16px) scale(.92); } to { opacity: 1; transform: none; } }
@keyframes kvK { from { opacity: 0; transform: translate(-70px, 24px) rotate(-20deg); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
html.kv-intro .kv h1 .ch { opacity: 0; animation: kvCh .01s linear forwards; animation-delay: calc(var(--i) * 26ms + 150ms); }
html.kv-intro .kv-hl { background-color: transparent; background-image: linear-gradient(#fff, #fff); background-repeat: no-repeat; background-size: 0% 100%;
  animation: kvBand .45s cubic-bezier(.3, .8, .3, 1) .55s forwards; }
html.kv-intro .kv-who { animation: kvUp .45s ease both; }
html.kv-intro .kv .lead { animation: kvUp .5s ease 1s both; }
html.kv-intro .kv .cta-row { animation: kvPop .6s cubic-bezier(.3, 1.6, .5, 1) 1.2s both; }
html.kv-intro .kv-price { animation: kvUp .45s ease 1.35s both; }
html.kv-intro .kv-laptop { animation: kvUp .7s ease .15s both; }
html.kv-intro .kv .dv-phone { animation: kvUp .7s ease .3s both; }
html.kv-intro .kv-k { animation: kvK .85s cubic-bezier(.3, 1.45, .5, 1) .6s both; }
html.kv-intro .kv-feats li { animation: kvUp .45s ease both; }
html.kv-intro .kv-feats li:nth-child(1) { animation-delay: 1.4s; } html.kv-intro .kv-feats li:nth-child(2) { animation-delay: 1.48s; }
html.kv-intro .kv-feats li:nth-child(3) { animation-delay: 1.56s; } html.kv-intro .kv-feats li:nth-child(4) { animation-delay: 1.64s; }

/* =====================================================================
   Portada en móvil y tablet: el móvil y la K se ven enteros (sin recortes)
   y su tamaño se ajusta para que quepa todo hasta la fila de iconos.
   --pw (ancho del móvil) lo calcula marca.js según el alto de la pantalla.
   ===================================================================== */
@media (max-width: 919px) {
  .kv-in { gap: 18px; }
  .kv-stage { margin-top: 4px !important; }
  .kv-devs { --pw: clamp(150px, 46vw, 220px); width: fit-content !important; height: auto !important; overflow: visible !important;
    margin: 0 auto !important; padding: 0 0 12px calc(var(--pw) * .58) !important; }
  .kv-devs::after { left: 4% !important; right: -4% !important; bottom: 4px !important; height: 14px !important; }
  .kv .dv-phone { width: var(--pw) !important; -webkit-mask-image: none !important; mask-image: none !important; }
  .kv-k { width: calc(var(--pw) * 1.02) !important; left: 0 !important; bottom: 0 !important; }
  .kv-feats { margin-top: 16px !important; gap: 10px 8px !important; }
  .kv-feats li { font-size: 14px !important; }
  .kv-feats svg { width: 24px !important; height: 24px !important; }
}
/* Pantallas bajas: textos un poco más compactos */
@media (max-width: 919px) and (max-height: 760px) {
  .kv { padding-top: 74px !important; }
  .kv-who { margin-bottom: 6px !important; padding-top: 3px; padding-bottom: 3px; }
  .kv-who-ico i { width: 24px; height: 24px; }
  .kv .lead { margin-top: 10px !important; font-size: 16px !important; }
  .kv .cta-row { margin-top: 16px !important; gap: 8px !important; }
  .kv .btn-lg { height: 50px !important; }
  .kv-price { margin-top: 6px !important; }
}
/* Móvil: más sitio para el móvil de la portada */
@media (max-width: 599px) {
  .kv .hero h1 { font-size: clamp(31px, 9.3vw, 44px) !important; }
  .kv .lead { font-size: 16px !important; line-height: 1.4 !important; margin-top: 12px !important; }
  .kv .cta-row { margin-top: 18px !important; gap: 6px !important; }
  .kv .btn-lg { height: 52px !important; }
  .kv-price { margin-top: 4px !important; font-size: 13px !important; }
  .kv-feats { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 0 4px !important; margin-top: 12px !important; }
  .kv-feats li { flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 5px !important;
    font-size: 11.5px !important; line-height: 1.2 !important; letter-spacing: -.01em !important; }
  .kv-feats svg { width: 22px !important; height: 22px !important; }
}
/* Móviles con poca altura (o con las barras del navegador visibles): el texto de apoyo repite
   lo que dice la fila de iconos, así que se oculta; el titular pasa a dos líneas. */
@media (max-width: 599px) and (max-height: 820px) {
  .kv .lead, .kv-price { display: none !important; }
  .kv-l3 { display: inline !important; }
  .kv .hero h1 { font-size: min(8.4vw, 36px) !important; }
  .kv { padding-top: 76px !important; }
}

/* Fila de la portada: lo que hace la app solo (título + detalle) */
.kv-feats li > span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kv-feats li b { font-weight: 900; }
.kv-feats li small { font-size: 13.5px; font-weight: 500; color: #5C5B68; letter-spacing: 0; white-space: normal; }
@media (min-width: 920px) {
  .kv-feats li { white-space: normal !important; align-items: flex-start !important; text-align: left; }
  .kv-feats li b { font-size: clamp(15px, 1.2vw, 18px); line-height: 1.2; }
  .kv-feats svg { margin-top: 2px; }
}
@media (max-width: 919px) { .kv-feats li > span { align-items: center; } .kv-feats li small { display: none; } }
@media (min-width: 600px) and (max-width: 919px) { .kv-feats li small { display: block; font-size: 12px; text-align: center; } }

/* Móvil: las tarjetas de "Todo lo que necesitas" una debajo de otra; el resto de filas se deslizan solas al bajar */
@media (max-width: 680px) {
  .bento { display: flex !important; flex-direction: column !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; gap: 14px !important; }
  .bento > .b-card { flex: none !important; width: 100% !important; }
  .bento-sec .swipe-hint { display: none !important; }
  .problem .cards3, #como .steps { scroll-snap-type: none !important; scroll-behavior: auto !important; }
}

/* Selector de idioma (ES / EN) */
.kv-lang { display: flex; align-items: center; gap: 2px; padding: 3px; margin-right: 10px; border-radius: 999px; background: rgba(17, 17, 31, .07); }
.kv-lang a { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--k-ink); opacity: .55; transition: opacity .15s, background .15s; }
.kv-lang a:hover { opacity: 1; }
.kv-lang a.on { background: #fff; opacity: 1; box-shadow: 0 1px 3px rgba(17, 17, 31, .15); }
.kv-lang svg { width: 21px; height: 14px; border-radius: 3px; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(17, 17, 31, .12); }
@media (max-width: 919px) { .kv-lang { margin-left: auto; margin-right: 8px; } }
@media (max-width: 600px) { .kv-lang a { padding: 6px 7px; } .kv-lang a span { display: none; } }
@media (max-width: 360px) { .kv-lang { margin-right: 4px; } .kv-nav .brand .wordmark { font-size: 18px; } }
@media (max-width: 600px) {
  .kv-nav .nav-in { gap: 6px; }
  .kv-nav .btn-primary { padding: 0 13px !important; font-size: 14px !important; }
  .kv-nav .btn-primary .kv-up { display: none; }
  .kv-nav .brand { font-size: 19px !important; gap: 6px; }
  .kv-nav .brand img { width: 30px !important; height: 27px !important; }
  .kv-lang { margin-right: 2px; }
}
@media (max-width: 360px) { .kv-nav .brand .wordmark { display: none; } }
/* Inglés: el titular es más largo, así que puede partirse y es algo más pequeño */
html[lang="en"] .kv .kv-l { white-space: normal; }
@media (min-width: 920px) { html[lang="en"] .kv .hero h1 { font-size: clamp(40px, 4.1vw, 76px) !important; } }
@media (max-width: 599px) { html[lang="en"] .kv .hero h1 { font-size: clamp(28px, 8.6vw, 40px) !important; } }
/* Lectura: la frase grande siempre entera y ninguna sección se mueve encima de otra */
.st-text .sw { opacity: 1 !important; transition: none !important; }
.sink { transform: none !important; will-change: auto !important; }
.step-try { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 700; color: var(--k-ink); text-decoration: underline; text-underline-offset: 4px; }
.step-try:hover { color: #5870FC; }

/* =====================================================================
   "Organiza, confirma y cobra": tres tarjetas con una mini pantalla de la app
   ===================================================================== */
.kx-steps { align-items: stretch; }
.kx-step { display: flex !important; flex-direction: column; padding: 14px 14px 26px !important; border-radius: 28px !important; background: #fff !important; color: var(--k-ink) !important;
  border: 1px solid #E9E4DC !important; box-shadow: none !important; overflow: hidden; }
.kx-step h3 { color: var(--k-ink) !important; font-size: 22px; margin: 8px 12px 0; }
.kx-step p { color: #55546A !important; margin: 8px 12px 0; font-size: 16px; line-height: 1.45; }
.kx-step .step-n { margin: 20px 12px 0; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--k-ink) !important; color: #fff !important; font-weight: 800; font-size: 16px; box-shadow: none !important; }
.kx-step .step-try { margin: 14px 12px 0; }
.kx-vis { height: 210px; border-radius: 20px; display: grid; place-items: center; padding: 18px; overflow: hidden; }
.s1 .kx-vis { background: #E9ECFF; }
.s2 .kx-vis { background: #DCF5E4; }
.s3 .kx-vis { background: #F3EFE6; }
.kx-vis svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* 1 · la semana */
.kx-week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.kx-day { background: #fff; border-radius: 14px; padding: 8px 5px 6px; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 150px; box-shadow: 0 4px 12px -8px rgba(17, 17, 31, .25); }
.kx-day i { font-style: normal; font-size: 11px; font-weight: 700; color: #8A8996; }
.kx-day b { font-size: 15px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.kx-day.on b { background: var(--k-ink); color: #fff; }
.kx-ev { width: 100%; border-radius: 8px; padding: 4px 3px; font-size: 11px; font-weight: 800; text-align: center; line-height: 1.15; }
.kx-ev small { display: block; font-weight: 600; font-size: 10px; opacity: .8; }
.kx-ev.a { background: #DDE3FF; color: #3A4FD8; }
.kx-ev.b { background: #EEF8CC; color: #4A6A00; }
.kx-ev.c { background: #FDE4EC; color: #B0305E; }

/* 2 · el chat */
.kx-chat { width: 100%; max-width: 260px; display: flex; flex-direction: column; gap: 10px; }
.kx-msg { align-self: flex-start; background: #fff; border-radius: 16px 16px 16px 4px; padding: 10px 13px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 12px -8px rgba(17, 17, 31, .3); }
.kx-pick { display: flex; gap: 8px; }
.kx-pick span { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-radius: 12px; font-size: 14px; font-weight: 800; }
.kx-pick .yes { background: #1FA855; color: #fff; }
.kx-pick .no { background: #fff; color: #55546A; }
.kx-ok { align-self: center; display: flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; background: var(--k-ink); color: #fff; font-size: 13px; font-weight: 700; }
.kx-ok svg { color: #C8F04B; }

/* 3 · la cuenta */
.kx-bill { width: 100%; max-width: 250px; background: #fff; border-radius: 16px; padding: 12px 14px; position: relative; box-shadow: 0 6px 16px -10px rgba(17, 17, 31, .35); }
.kx-bill-h { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid #EEE9E1; }
.kx-bill-h span { font-size: 12px; font-weight: 700; color: #8A8996; }
.kx-bill-h b { font-size: 24px; letter-spacing: -.02em; }
.kx-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; font-weight: 600; color: #3E3E4C; }
.kx-send { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 10px; background: #1FA855; color: #fff; font-size: 13px; font-weight: 800; }
.kx-send svg { fill: #fff; stroke: none; width: 14px; height: 14px; }
.kx-paid { position: absolute; right: -12px; bottom: -16px; display: flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: #C8F04B; color: var(--k-ink); font-size: 13px; font-weight: 800; rotate: 6deg; box-shadow: 0 6px 14px -8px rgba(60, 80, 0, .6); }

@media (max-width: 680px) { .kx-step h3 { font-size: 20px; } .kx-vis { padding: 16px 14px 22px; } }

/* =====================================================================
   "Llevar las clases de cabeza…": cada problema con su escena (WhatsApp, Bizum, efectivo)
   ===================================================================== */
.kp3 { align-items: stretch; }
.kp-card { display: flex !important; flex-direction: column; padding: 14px 14px 24px !important; border-radius: 28px !important; background: #fff !important; }
.kp-card h3 { margin: 18px 12px 0; font-size: 21px; line-height: 1.2; color: var(--k-ink) !important; }
.kp-card p { margin: 8px 12px 0; font-size: 15.5px; line-height: 1.45; color: #55546A !important; }
.kp-vis { position: relative; height: 200px; border-radius: 20px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden; }
.kp-v1 { background: #EFEAE2; }
.kp-v2 { background: #FDECEA; }
.kp-v3 { background: #FFF3DD; }
.kp-tag { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 15px; font-weight: 900; rotate: -4deg; box-shadow: 0 6px 14px -8px rgba(17, 17, 31, .5); }
.kp-tag.red { background: #E5483B; color: #fff; }
.kp-tag.amber { background: #F5B23A; color: var(--k-ink); font-size: 13px; }

/* 1 · el chat */
.kp-bub { align-self: flex-start; max-width: 88%; background: #fff; border-radius: 16px 16px 16px 4px; padding: 9px 12px 7px; font-size: 13.5px; line-height: 1.35; color: var(--k-ink); box-shadow: 0 3px 10px -7px rgba(17, 17, 31, .35); }
.kp-bub b { background: #FFE2DE; padding: 0 3px; border-radius: 4px; }
.kp-bub small { display: block; text-align: right; font-size: 10.5px; color: #8A8996; margin-top: 2px; }

/* 2 · la cancelación */
.kp-class { display: flex; justify-content: space-between; align-items: center; background: #fff; border-radius: 14px; padding: 10px 14px; font-size: 13.5px; font-weight: 700; color: #55546A; border-left: 4px solid #5870FC; }
.kp-class b { font-size: 18px; color: var(--k-ink); }
.kp-notif { display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .95); border-radius: 16px; padding: 10px 12px; box-shadow: 0 8px 20px -12px rgba(17, 17, 31, .5); }
.kp-notif i { font-style: normal; font-size: 20px; }
.kp-notif div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; }
.kp-notif b { font-size: 13.5px; }
.kp-notif small { align-self: flex-start; font-size: 11px; font-weight: 700; color: #E5483B; }

/* 3 · Bizum y efectivo */
.kp-list { background: #fff; border-radius: 16px; padding: 6px 12px; box-shadow: 0 6px 16px -10px rgba(17, 17, 31, .35); margin-bottom: 24px; }
.kp-row { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 13px; font-weight: 600; color: #3E3E4C; }
.kp-row + .kp-row { border-top: 1px solid #F0ECE4; }
.kp-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kp-row b { color: #1F8A47; }
.kp-row i { font-style: normal; width: 24px; height: 24px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 900; }
.kp-row i.bz { background: #DDF4F1; color: #0B8A7A; }
.kp-row i.cash { background: #E8F4DC; color: #3F7A1A; }

@media (max-width: 680px) { .kp-card h3 { font-size: 19px; } }
.problem .kp3 + .fine, .problem .fine { margin-top: 18px; }
@media (max-width: 340px) { .kv-who-ico .w2 { display: none; } }
