/* Landing nueva: el estilo de la web con la forma de enseñar datos de una base de datos.
   Sin barra lateral ocupa todo el ancho; con ella (DYALIA › Permisos), su logo y su barra sobran y las bandas llegan hasta la barra */
.is-landing:not(.has-sb) { --sb: 0px; }
.is-landing:not(.has-sb) .app { margin-left: 0; }
.is-landing.has-sb .lp-logo { visibility: hidden; }
.is-landing.has-sb .lp-band-bg { left: calc(50% - 50vw + var(--sb) / 2); right: calc(50% - 50vw + var(--sb) / 2); }
.is-landing.has-sb .lp-band-purple .lm { margin-inline: calc(50% - 50vw + var(--sb) / 2); }
@media (max-width: 1024px) { .is-landing.has-sb .lp-top { display: none; } }

/* ---------- Barra de arriba ---------- */
.lp-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 clamp(16px, 4vw, 48px); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--border-2); }
.admin-bar .lp-top { top: 32px; }
.lp-logo .logo-img { width: 190px; }
.lp-nav { display: flex; align-items: center; gap: 22px; }
.lp-link { color: var(--text); font-weight: 600; font-size: .94rem; }
.lp-link:hover { color: var(--primary); }
.lp-login { color: #4a4d5c; font-weight: 500; } /* Acceder: gris oscuro, con menos presencia que «Me apunto» */
.lp-nav .btn { min-height: 38px; padding: 7px 18px; }
html.dark .lp-login { color: var(--muted); }
html.dark .lp-top { background: rgba(19, 19, 25, .9); }

/* ---------- Cabecera: texto a la izquierda y la biblioteca «en vivo» a la derecha ---------- */
/* Fondo como el de la landing del curso (dominayaplicalaia.com): degradado morado profundo, un brillo blanco que flota, iconos de
   IA flotando (ver dai_landing_ai_bg) y la curva de abajo, del color de la página */
.lp-hero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding: clamp(48px, 7vw, 96px) clamp(16px, 4vw, 48px) clamp(110px, 12vw, 160px); background: linear-gradient(120deg, #3b40cf, #5b60e6, #858aff, #6a4fd6) 0% 0% / 300% 300%; } /* quieto en el primer tercio (el más oscuro), como en la web: allí el «!important» deja el degradado fijo */
.lp-hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 65%); animation: lp-float 14s ease-in-out infinite; pointer-events: none; }
@keyframes lp-float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.12); } }
.lp-ai { position: absolute; inset: 0; z-index: 0; overflow: hidden; color: #fff; pointer-events: none; }
.lp-ai-i { position: absolute; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; opacity: .2; animation: lp-fly 18s ease-in-out infinite; transition: translate .6s cubic-bezier(.2, .7, .2, 1); will-change: transform, translate; }
@keyframes lp-fly { 0%, 100% { transform: translate(0, 0) rotate(0deg); } 33% { transform: translate(18px, -26px) rotate(7deg); } 66% { transform: translate(-14px, -10px) rotate(-6deg); } }
.lp-curve { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 0; pointer-events: none; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V60C240 10 480 0 720 0s480 10 720 60v30z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 90V60C240 10 480 0 720 0s480 10 720 60v30z'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat; }
@media (prefers-reduced-motion: reduce) { .lp-hero::after, .lp-ai-i { animation: none; } }
.lp-hero-in { position: relative; z-index: 1; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.lp-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.8rem); text-transform: uppercase; letter-spacing: -.03em; line-height: 1.05; margin: 0 0 18px; }
.lp-hero h1 mark, .lp-cta h2 mark { display: inline-block; background: var(--yellow); color: var(--yellow-ink); padding: 0 .16em; border-radius: .14em; transform: rotate(-2deg); box-shadow: 0 10px 24px -10px rgba(20, 21, 43, .5); }
.lp-hero-txt > p { font-size: clamp(1rem, 1.6vw, 1.12rem); max-width: 560px; margin: 0 0 28px; opacity: .95; }
.lp-hero .hero-actions { justify-content: flex-start; }
/* Botones de cifras junto a «Quiero acceder» (como las pastillas de la cabecera de la web): llevan a la tabla de casos */
.lp-stat { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 14px 6px 7px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); color: #fff; font-size: .9rem; white-space: nowrap; transition: background .15s; }
.lp-stat:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.lp-stat b { font-weight: 700; }
.lp-stat-i { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--yellow-ink); flex: none; }
.lp-stat-i .i { width: 16px; height: 16px; }
.lp-hero .hero-actions { gap: 8px; }
.lp-hero .hero-actions .btn-lg { padding-inline: 22px; }
#lo-que-conseguiras { scroll-margin-top: 70px; }
.lp-proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; font-size: .95rem; line-height: 1.45; opacity: .95; }
/* Fotos de los profes (Salva y Vicky), como en la cabecera de la web */
.lp-profes { display: inline-flex; padding-left: 10px; flex: none; }
.lp-profes img { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 14px -8px rgba(20, 21, 43, .5); }

/* Pila de logos de herramientas */
.ll { display: inline-flex; padding-left: 10px; flex: none; }
.ll-logo { width: 38px; height: 38px; margin-left: -10px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid rgba(255, 255, 255, .6); box-shadow: 0 6px 14px -8px rgba(20, 21, 43, .5); }
.ll-logo .tool-logo { width: 20px; height: 20px; }

/* ---------- «Ventana» de la biblioteca: puntos, dirección, pastillas (enlaces de acceso) y tabla ---------- */
.lw { position: relative; background: var(--surface); color: var(--text); border: 1px solid var(--border-2); border-radius: 20px; box-shadow: 0 30px 60px -24px rgba(20, 21, 43, .45); text-align: left; }
.lw-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--border-2); }
.lw-bar i { width: 11px; height: 11px; border-radius: 50%; background: #f87171; }
.lw-bar i:nth-child(2) { background: #fbbf24; }
.lw-bar i:nth-child(3) { background: #34d399; }
.lw-bar span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-left: 10px; font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace); font-size: .78rem; color: var(--muted-2); }
.lw-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px 4px; }
.lw-chip { padding: 5px 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: .8rem; font-weight: 600; }
.lw-chip:hover { border-color: var(--primary-2); color: var(--ink); }
.lw-chip.is-on, .lw-chip.is-on:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.lw-scroll { overflow: hidden; padding: 4px 6px 10px; } /* cabe siempre: sin barra de desplazamiento */
/* Cabecera en directo: filas en cola ocultas; la que entra, con un fundido verde suave */
.lt tr[data-q] { display: none; }
.lt tr.lt-in td { animation: lt-in 1.6s ease-out; }
@keyframes lt-in { from { opacity: 0; background: #e4f4f3; transform: translateY(-6px); } 30% { opacity: 1; transform: none; } to { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .lt tr.lt-in td { animation: none; } }
.lt-inc { text-align: right; }
/* Etiqueta «En directo», ladeada sobre la esquina de la ventana */
.lw-live { position: absolute; top: -16px; right: -10px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 2px solid var(--primary-2); color: var(--primary); font-size: .78rem; font-weight: 700; box-shadow: 0 10px 22px -10px rgba(91, 96, 230, .7); transform: rotate(4deg); white-space: nowrap; }
.lw-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(42, 157, 151, .5); animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 7px rgba(42, 157, 151, 0); } 100% { box-shadow: 0 0 0 0 rgba(42, 157, 151, 0); } }

.lt { width: 100%; border-collapse: collapse; font-size: .88rem; }
.lt th { padding: 12px 10px 8px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); text-align: left; white-space: nowrap; }
.lt td { padding: 12px 10px; border-top: 1px solid var(--border-2); vertical-align: middle; white-space: nowrap; }
.lt tr:hover td { background: var(--soft-2); }
.lt-case a { display: block; max-width: 300px; overflow: hidden; text-overflow: ellipsis; color: var(--ink); font-weight: 600; }
.lt-case a:hover { color: var(--primary); }
.lt-tool { display: inline-flex; align-items: center; gap: 7px; color: var(--tc); font-weight: 600; }
.lt-tool .tool-logo, .lt-tool .tool-ini { width: 16px; height: 16px; }
.lt-res { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #e4f4f3; color: var(--ok); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.lt-res .i { width: 13px; height: 13px; stroke-width: 3; }
html.dark .lt-res { background: rgba(60, 186, 179, .14); }

/* ---------- Secciones ---------- */
.lp-wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }
.lp-sec { padding: clamp(64px, 8vw, 104px) 0 0; text-align: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.lp-eyebrow .sparkles { width: 14px; height: 14px; color: var(--yellow); }
.lp-sec h2, .lp-cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.12; letter-spacing: -.025em; margin: 0 auto 14px; max-width: 820px; }
.lp-lead { max-width: 640px; margin: 0 auto 40px; color: var(--muted); font-size: 1.04rem; }
.lp-more { margin: 26px 0 0; }
.lp-more a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.lp-more .i { width: 16px; height: 16px; }

/* ---------- Categorías en carrusel (dos filas, en sentidos contrarios; se paran al pasar el ratón) ---------- */
.lm { overflow: hidden; margin: 0 calc(-1 * clamp(16px, 3vw, 32px)) 16px; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lm-track { display: flex; width: max-content; padding: 6px 0 10px; animation: lp-marquee 60s linear infinite; }
.lm.is-rev .lm-track { animation-direction: reverse; }
.lm:hover .lm-track { animation-play-state: paused; }
.lm-dup { display: contents; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }
.lc { display: flex; flex-direction: column; width: 260px; margin-right: 16px; padding: 18px 20px; border: 1px solid var(--border-2); border-radius: 18px; background: var(--surface); color: var(--text); text-align: left; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.lc:nth-child(3n+1) { background: var(--soft-2); }
.lc:hover { border-color: var(--primary-2); color: var(--text); transform: translateY(-2px); }
.lc small { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.lc b { margin-top: 4px; color: var(--ink); font-size: 1.05rem; line-height: 1.3; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.lc-logos { display: inline-flex; gap: 6px; }
.lc-logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--border-2); }
.lc-logo .tool-logo, .lc-logo .tool-ini { width: 16px; height: 16px; }
.lc-rec { color: var(--muted); font-size: .8rem; }
.lc-rec b { margin: 0; font-size: 1.25rem; color: var(--primary); }
@media (prefers-reduced-motion: reduce) {
  .lm-track { animation: none; }
  .lm { overflow-x: auto; }
  .lm-dup { display: none; }
}

/* ---------- Casos paso a paso: tarjetas con imagen ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; text-align: left; }
.lp-card { --tc: var(--primary); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--border-2); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-card:hover { border-color: var(--primary-2); box-shadow: var(--shadow-lg); color: var(--text); transform: translateY(-2px); }
.lp-card-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft-2); border-bottom: 1px solid var(--border-2); }
.lp-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0; }
.lp-card-noimg { display: grid; place-items: center; height: 100%; }
.lp-card-noimg .tool-logo, .lp-card-noimg .sparkles { width: 44px; height: 44px; }
.lp-card-body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 16px 18px 18px; }
.lp-card-body small { color: var(--tc); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-card-body b { color: var(--ink); font-size: 1.02rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-card-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 12px; color: var(--muted); font-size: .84rem; }
.lp-card-foot .lt-res { margin-left: auto; }

/* ---------- ¿Qué vas a aprender? (las herramientas en pastillas, como en la web) ---------- */
.lp-tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 1000px; margin: 0 auto; } /* ancho justo para 6 y 6: dos líneas en escritorio */
.lp-tool { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--border-2); border-radius: 999px; background: var(--surface); color: var(--ink); font-size: .92rem; font-weight: 600; box-shadow: var(--shadow); }
.lp-tool img { width: 22px; height: 22px; object-fit: contain; }
html.dark .lp-tool img { background: #fff; border-radius: 6px; padding: 2px; }

/* ---------- Bloques con el estilo de la web del curso («¿Qué vas a aprender?» y «Tus profes»), seguidos ----------
   Banda a todo el ancho (blanca o lavanda, con iconos de IA morados muy suaves), pastilla con punto amarillo y título con
   la parte final en degradado morado y subrayado amarillo detrás */
.is-landing main { overflow-x: clip; }
.lp-band { position: relative; isolation: isolate; padding: 100px 0; }
.lp-band + .lp-band { margin-top: 0; }
.lp-band-bg { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; overflow: hidden; background: #fff; }
.lp-band-soft .lp-band-bg { background: #f6f6fd; }
.lp-band-bg .lp-ai { color: #858aff; }
.lp-band-bg .lp-ai-i { opacity: .13; }
html.dark .lp-band-bg { background: var(--surface); }
html.dark .lp-band-soft .lp-band-bg { background: var(--soft-2); }
.lp-pill { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 7px 14px; border-radius: 999px; background: #efeffe; color: #5b60e6; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lp-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); }
html.dark .lp-pill { background: var(--soft); color: var(--primary); }
.lp-sec .lp-h2 { position: relative; z-index: 0; isolation: isolate; font-size: clamp(1.9rem, 4vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; color: var(--ink); }
.lp-g { position: relative; background: linear-gradient(90deg, #5b60e6, #858aff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-g::after { content: ""; position: absolute; z-index: -1; left: -2px; right: -2px; bottom: .04em; height: .26em; border-radius: 6px; background: var(--yellow); }

/* Banda morada (categorías), como «¿Por qué apostar…?» de la web del curso: degradado que se desplaza, brillo blanco,
   logos blancos flotando, título blanco con sombra, pastilla de cristal y tarjetas de cristal */
.lp-band-purple .lp-band-bg { background: linear-gradient(120deg, #5b60e6, #858aff, #a78bfa, #6b70ee) 0% 0% / 300% 300%; animation: lp-shift 16s ease-in-out infinite; }
.lp-band-purple .lp-band-bg::after { content: ""; position: absolute; z-index: 0; width: 520px; height: 520px; left: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0) 65%); animation: lp-float 14s ease-in-out infinite; pointer-events: none; }
.lp-band-purple .lp-band-bg .lp-ai { color: #fff; }
.lp-band-purple .lp-band-bg .lp-ai-i { opacity: .2; }
@keyframes lp-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.lp-band-purple .lp-h2 { color: #fff; text-shadow: 0 6px 30px rgba(30, 32, 110, .3); }
.lp-band-purple .lp-lead { color: rgba(255, 255, 255, .9); }
.lp-band-purple .lp-pill { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lp-band-purple .lp-pill::before { box-shadow: 0 0 0 3px rgba(255, 210, 63, .3); }
.lp-band-purple .lc, .lp-band-purple .lc:nth-child(3n+1) { border: 0; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 20px 40px -24px rgba(20, 21, 43, .5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lp-band-purple .lc:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.lp-band-purple .lc small, .lp-band-purple .lc-rec { color: rgba(255, 255, 255, .8); }
.lp-band-purple .lc b { color: #fff; }
.lp-band-purple .lc-rec b { color: var(--yellow); }
.lp-band-purple .lc-logo { background: #fff; border-color: transparent; }
.lp-band-purple .lm { margin-inline: calc(50% - 50vw); -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); } /* los carruseles, a todo el ancho de la pantalla */

/* ---------- ¿Quiénes vamos a ser tus profes? ---------- */
.lp-profes-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 900px; margin: 40px auto 0; }
.lp-profe { padding: 34px 30px; border: 1px solid #ebebf5; border-radius: 22px; background: var(--surface); box-shadow: 0 1px 2px rgba(20, 21, 43, .04), 0 18px 40px -24px rgba(20, 21, 43, .25); text-align: center; }
.lp-profe img { display: block; width: 168px; height: 168px; margin: 0 auto 14px; border-radius: 50%; object-fit: cover; border: 5px solid #fff; box-shadow: 0 0 0 3px var(--yellow), 0 18px 40px -16px rgba(91, 96, 230, .7); }
.lp-profe h3 { margin: 0 0 10px; font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.lp-profe-tag { display: inline-block; margin-bottom: 16px; padding: 6px 14px; border-radius: 999px; background: #efeffe; color: #5b60e6; font-size: 13px; font-weight: 700; }
html.dark .lp-profe-tag { background: var(--soft); color: var(--primary); }
.lp-profe p { margin: 0 0 12px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.lp-profe p:last-child { margin-bottom: 0; }
.lp-profe b { color: var(--ink); }
@media (max-width: 760px) { .lp-profes-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Llamada final ---------- */
.lp-cta { position: relative; overflow: hidden; margin: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); padding: clamp(48px, 6vw, 72px) clamp(20px, 4vw, 48px); border-radius: 28px; background: var(--grad); color: #fff; text-align: center; }
.lp-cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 210, 63, .25), transparent 60%); pointer-events: none; }
.lp-cta > * { position: relative; }
.lp-cta .ll { display: flex; justify-content: center; margin: 0 0 18px; padding-left: 10px; }
.lp-cta .lp-eyebrow { display: flex; justify-content: center; }
.lp-cta .lp-eyebrow { color: #fff; }
.lp-cta h2 { color: #fff; text-transform: uppercase; }
.lp-cta > p { max-width: 560px; margin: 0 auto 26px; opacity: .95; }
.lp-cta .hero-actions { justify-content: center; }

/* ---------- Pantallas medianas y móvil ---------- */
@media (max-width: 1024px) {
  .lp-hero-in { grid-template-columns: minmax(0, 1fr); }
  .lp-hero-txt { text-align: center; }
  .lp-hero-txt > p { margin-inline: auto; }
  .lp-hero .hero-actions, .lp-proof { justify-content: center; }
  .lp-proof { text-align: left; }
  .lp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) { .admin-bar .lp-top { top: 46px; } }
@media (max-width: 640px) {
  .lp-top { height: 52px; }
  .lp-logo .logo-img { width: 160px; }
  .lp-nav { gap: 12px; }
  .lp-nav .btn { min-height: 34px; padding: 6px 14px; font-size: .84rem; }
  .lp-grid { grid-template-columns: minmax(0, 1fr); }
  .lc { width: 230px; }
  .lp-hero .hero-actions .lp-stat { flex: 1 1 0; justify-content: center; padding-right: 10px; } /* las dos cifras, una al lado de la otra */
  /* Ventana de la cabecera en el móvil: el título se acorta y la herramienta queda solo con su logo, para que quepa todo */
  .lw .lt-case a { max-width: 36vw; }
  .lw .lt th:nth-child(2) { font-size: 0; } /* la columna de la herramienta solo lleva el logo: sin título */
  .lw .lt-tool-n { display: none; }
  .lw .lt td, .lw .lt th { padding-inline: 8px; }
  .lw-live { right: 8px; }
}

/* Las pastillas de las ventanas bajan con suavidad a la llamada final (#empezar), que queda por debajo de la barra de arriba */
html:has(.is-landing) { scroll-behavior: smooth; }
.lp-cta { scroll-margin-top: 110px; }
html.dark .lp-curve { background: var(--surface); } /* la curva enlaza con la banda blanca de «¿Qué vas a aprender?» */

/* Cabecera: las dos llamadas (Acceder ahora / Prueba un caso gratis) y las cifras, bajo los profes */
.lp-ctas { gap: 12px; }
.lp-cta-free { background: rgba(255, 255, 255, .1); border: 2px solid rgba(255, 255, 255, .85); color: #fff; }
.lp-cta-free:hover { background: #fff; border-color: #fff; color: var(--primary); }
.lp-cta-free .i { width: 19px; height: 19px; color: var(--yellow); }
.lp-cta-free:hover .i { color: var(--primary); }
.lp-proof > span:last-child { display: grid; gap: 1px; }
.lp-proof-n { color: #fff; font-size: .88rem; opacity: .85; }
.lp-proof-n:hover { color: #fff; opacity: 1; text-decoration: underline; }
@media (max-width: 640px) { .lp-ctas .btn { width: 100%; } }
