/*
 * Karrera · portada
 * Réplica de docs/diseno/Karrera Portada.dc.html. Colores en config/design.php
 * (landing → --l-*; oscuro por defecto, claro con data-theme="light").
 * Celular por defecto; computador desde 1120 px, como el prototipo.
 */

html { scroll-behavior: smooth; }
html, body { margin: 0; }
*, *::before, *::after { box-sizing: border-box; }
a { color: #9B72FF; }
a:hover { color: #8B5CFF; }
a:focus-visible, button:focus-visible { outline: 3px solid #B994FF; outline-offset: 3px; }
button { font-family: inherit; }
form { margin: 0; }
[hidden] { display: none !important; }

@keyframes kCardFront { 0%, 34% { transform: translate(0,0) rotate(5deg); z-index: 2; } 44% { transform: translate(-46px,-26px) rotate(-2deg); z-index: 2; } 45%, 84% { transform: translate(20px,-12px) rotate(8deg) scale(.95); z-index: 1; } 94%, 100% { transform: translate(0,0) rotate(5deg); z-index: 2; } }
@keyframes kCardBack { 0%, 34% { transform: translate(20px,-12px) rotate(8deg) scale(.95); z-index: 1; } 44% { transform: translate(-8px,4px) rotate(3deg) scale(.98); z-index: 1; } 45%, 84% { transform: translate(0,0) rotate(5deg); z-index: 2; } 88% { transform: translate(-40px,-22px) rotate(-1deg); z-index: 2; } 89%, 100% { transform: translate(20px,-12px) rotate(8deg) scale(.95); z-index: 1; } }
@keyframes kFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kWord { from { opacity: 0; transform: translateY(.32em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes kPop { from { opacity: 0; transform: translate(-50%,-48%) scale(.97); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes kUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes kIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes kDot { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes kFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
    [data-hero-cvs] > div { animation: none !important; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.l-body { background: var(--l-app-bg); color-scheme: dark; }
:root[data-theme="light"] .l-body { color-scheme: light; }
/* clip (no hidden): recorta sin volver a .l-app un contenedor de scroll, así el encabezado sigue fijo. */
.l-app { position: relative; overflow-x: hidden; overflow-x: clip; background: var(--l-app-bg); background-image: var(--l-app-img); color: var(--l-ink); font-family: var(--font-sans); min-height: 100vh; }
.l-wide { display: none !important; }

/* Fondo: brillo lavanda y ondas. Como en el prototipo, en celular mide 1400 px y en
   computador el alto de la pantalla (no el de toda la página); lo que sobra se recorta. */
.l-bg { position: absolute; left: 0; top: 0; width: 100%; height: 1400px; opacity: var(--l-bg-op); pointer-events: none; overflow: hidden; clip-path: inset(0); z-index: 0; }
.l-bg-lav { position: absolute; right: -60%; top: 440px; width: 170%; height: 560px; border-radius: 50%; background: radial-gradient(ellipse at 42% 52%, rgba(233,225,255,.62) 0%, rgba(185,148,255,.42) 34%, rgba(117,69,245,.16) 58%, rgba(117,69,245,0) 72%); }
.l-bg-wave { position: absolute; left: -12%; top: 520px; width: 78%; height: 300px; border-radius: 50%; background: linear-gradient(100deg, rgba(117,69,245,.38) 0%, rgba(117,69,245,.14) 55%, rgba(117,69,245,0) 85%); filter: blur(2px); transform: rotate(-6deg); }
.l-bg-wave2 { position: absolute; left: 18%; top: 760px; width: 90%; height: 220px; border-radius: 50%; border-top: 1.5px solid rgba(185,148,255,.30); background: var(--l-wave2); transform: rotate(-3deg); }

/* ---------- encabezado ---------- */

.l-head { position: sticky; top: 0; z-index: 40; max-width: 1280px; margin: 0 auto; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.l-head-bg { position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; background: var(--l-head-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); pointer-events: none; }
.l-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--l-ink); }
.l-logo:hover { color: var(--l-ink); }
.l-logo img { width: 38px; height: 38px; object-fit: contain; }
.l-logo span { font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.l-nav { gap: 24px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.l-nav a { color: var(--l-ink2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.l-nav a:hover { color: var(--l-ink); }
.l-nav a[aria-current] { color: var(--l-ink); border-bottom-color: #B994FF; }
.l-tools { display: flex; gap: 4px; align-items: center; white-space: nowrap; }
.l-lang { position: relative; }
.l-lang-btn { height: 44px; padding: 0 12px; border: 1.5px solid var(--l-panel-bd); border-radius: 12px; background: transparent; color: var(--l-ink); display: flex; align-items: center; gap: 6px; cursor: pointer; font-size: 14px; font-weight: 700; }
.l-lang-btn:hover { background: var(--l-hover); }
.l-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 210px; padding: 6px; border-radius: 14px; background: var(--l-sheet); border: 1px solid var(--l-panel-bd); box-shadow: var(--l-shadow); display: flex; flex-direction: column; gap: 2px; animation: kIn .18s both; }
.l-lang-menu a, .l-lang-menu button { height: 44px; border: 0; border-radius: 10px; padding: 0 12px; background: transparent; color: var(--l-ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; text-align: left; text-decoration: none; }
.l-lang-menu a:hover { color: var(--l-ink); }
.l-lang-menu .is-on { background: var(--l-hover); }
.l-lang-menu .is-off { color: var(--l-ink3); cursor: not-allowed; }
.l-lang-menu span { font-size: 11.5px; font-weight: 700; color: var(--l-ink3); }
.l-theme { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--l-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.l-theme svg { width: 22px; height: 22px; }
.l-login { height: 44px; padding: 0 20px; border-radius: 12px; border: 1.5px solid rgba(185,148,255,.55); background: transparent; color: var(--l-ink); font-size: 15px; font-weight: 600; align-items: center; cursor: pointer; transition: background .16s; text-decoration: none; }
.l-login:hover { background: var(--l-hover); color: var(--l-ink); }
.l-start-sm { height: 44px; padding: 0 22px; border-radius: 12px; border: 0; background: #7545F5; color: #FFFFFF; font-size: 15px; font-weight: 700; display: flex; align-items: center; box-shadow: 0 8px 24px -8px rgba(117,69,245,.8); transition: background .16s, transform .16s; cursor: pointer; }
.l-start-sm:hover { background: #8456FF; }
.l-start-sm:active { transform: scale(.97); }
.l-menu-btn { width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--l-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.l-mmenu { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 30; background: var(--l-sheet); border: 1px solid var(--l-panel-bd); border-radius: 20px; padding: 12px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--l-shadow); animation: kIn .22s both; }
.l-mmenu > a { height: 48px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; color: var(--l-ink2); text-decoration: none; font-weight: 500; }
.l-mmenu > a.is-on { color: var(--l-ink); font-weight: 600; background: var(--l-hover); }
.l-mmenu-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.l-mmenu-login { height: 48px; border-radius: 12px; border: 1.5px solid rgba(185,148,255,.55); background: transparent; color: var(--l-ink); font-size: 15px; font-weight: 600; display: flex; align-items: center; justify-content: center; text-decoration: none; }
.l-mmenu-btns button { width: 100%; height: 48px; border-radius: 12px; border: 0; background: #7545F5; color: #FFFFFF; font-weight: 700; font-size: 15px; cursor: pointer; }

/* ---------- héroe ---------- */

.l-hero { scroll-margin-top: 90px; position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 8px 20px 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
.l-hero-text { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 3; min-width: 0; align-items: center; text-align: center; }
.l-h1 { margin: 0; font-weight: 800; font-size: 44px; line-height: 1.06; letter-spacing: -.035em; width: 100%; animation: kUp .6s cubic-bezier(.2,.8,.2,1) both; }
.l-h1-grid { display: grid; justify-items: center; }
.l-h1-var { grid-area: 1 / 1; display: block; opacity: 0; visibility: hidden; }
.l-h1-var.is-on { opacity: 1; visibility: visible; }
.l-h1-var.is-anim { animation: kWord 1s cubic-bezier(.2,.8,.2,1) both; }
.l-h1-var > span { display: block; white-space: nowrap; }
.l-free { color: var(--l-free); }
.l-lav { color: var(--l-lav); }
.l-lead { margin: 0; font-size: 17px; line-height: 1.5; color: var(--l-ink2); max-width: 26em; text-wrap: pretty; animation: kUp .6s .08s cubic-bezier(.2,.8,.2,1) both; }
.l-ctas { display: flex; flex-direction: column; gap: 16px; align-items: center; animation: kUp .6s .16s cubic-bezier(.2,.8,.2,1) both; }
.l-ctas form { width: 100%; max-width: 440px; }
.l-cta { width: 100%; max-width: 440px; height: 60px; padding: 0 44px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8B5CFF 0%, #7545F5 100%); color: #FFFFFF; font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 12px; box-shadow: 0 0 0 1px rgba(185,148,255,.5) inset, 0 14px 40px -10px rgba(117,69,245,.9); transition: transform .16s, box-shadow .2s; cursor: pointer; }
.l-cta:hover { box-shadow: 0 0 0 1px rgba(185,148,255,.7) inset, 0 18px 50px -10px rgba(140,96,255,1); }
.l-cta:active { transform: scale(.97); }
.l-upload { min-height: 44px; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--l-ink); font-weight: 600; text-underline-offset: 5px; text-decoration-color: #B994FF; text-decoration-thickness: 2px; }
.l-upload:hover { color: var(--l-ink); }

.l-comp { position: relative; width: 100%; height: 400px; min-width: 0; }
.l-comp-in { position: absolute; left: 0; top: 0; width: 870px; height: 620px; transform-origin: 0 0; }
.l-cards { position: absolute; left: 496px; top: 70px; width: 294px; height: 412px; z-index: 1; transform: perspective(1400px) rotateY(-10deg); }
.l-card { position: absolute; left: 0; top: 0; width: 294px; height: 412px; border-radius: 6px; overflow: hidden; background: #FFFFFF; box-shadow: 0 24px 50px -18px rgba(10,6,40,.55); transform-origin: 50% 90%; will-change: transform; }
.l-card-back { z-index: 1; animation: kCardBack 10s cubic-bezier(.65,0,.35,1) infinite; }
.l-card-front { z-index: 2; animation: kCardFront 10s cubic-bezier(.65,0,.35,1) infinite; }
.l-card-scale { width: 300px; height: 420px; transform: scale(.98); transform-origin: 0 0; }
.l-phone { position: absolute; left: 290px; top: 8px; z-index: 2; width: 310px; height: 596px; border-radius: 34px; background: var(--l-phone-bg); border: 1.5px solid rgba(185,148,255,.38); transform: perspective(1400px) rotateY(-12deg) rotateZ(-3deg); box-shadow: 0 0 0 6px rgba(117,69,245,.10), 0 40px 90px -20px rgba(117,69,245,.55); overflow: hidden; display: flex; flex-direction: column; }
.l-phone-wm { position: absolute; inset: 0; background-size: 54px 54px; background-repeat: repeat; opacity: .018; transform: rotate(-8deg) scale(1.3); pointer-events: none; }
.l-phone-top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 18px 12px; }
.l-phone-brand { display: flex; align-items: center; gap: 6px; }
.l-phone-brand img { width: 26px; height: 26px; }
.l-phone-brand span { font-weight: 700; font-size: 16px; }
.l-phone-dots { display: flex; gap: 3px; }
.l-phone-dots span { width: 4px; height: 4px; border-radius: 50%; background: #B994FF; }
.l-phone-msgs { position: relative; flex: 1; padding: 6px 14px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; }
.l-phone-msgs > [data-d] { display: none; }
.l-phone-msgs > [data-d].is-on { display: flex; }
.l-phone-msgs > .l-d-opts.is-on { display: grid; }
.l-d-k { gap: 8px; align-items: flex-start; animation: kIn .35s cubic-bezier(.2,.8,.2,1) both; }
.l-d-av { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--l-av-bg); display: flex; align-items: center; justify-content: center; }
.l-d-av img { width: 20px; height: 20px; }
.l-d-col { display: flex; flex-direction: column; gap: 4px; }
.l-d-b { background: var(--l-bubble); border: 1px solid var(--l-bubble-bd); border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: 12.5px; line-height: 1.45; }
.l-d-time { font-size: 10px; color: #9A92B8; display: flex; gap: 4px; align-items: center; }
.l-d-typing { gap: 4px; padding: 12px 14px; margin-left: 38px; align-self: flex-start; background: var(--l-bubble); border-radius: 16px 16px 16px 4px; }
.l-d-typing span { width: 6px; height: 6px; border-radius: 50%; background: #CBD0E4; animation: kDot 1.1s infinite; }
.l-d-typing span:nth-child(2) { animation-delay: .15s; }
.l-d-typing span:nth-child(3) { animation-delay: .3s; }
.l-d-u { align-self: flex-end; flex-direction: column; align-items: flex-end; gap: 4px; animation: kIn .35s cubic-bezier(.2,.8,.2,1) both; }
.l-d-ub { background: linear-gradient(180deg, #8B5CFF, #7545F5); border-radius: 16px 16px 4px 16px; padding: 9px 14px; font-size: 12.5px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px -8px rgba(117,69,245,.9); color: #fff; }
.l-d-opts { grid-template-columns: 1fr 1fr; gap: 8px; animation: kIn .35s cubic-bezier(.2,.8,.2,1) both; }
.l-d-opts span { height: 34px; border-radius: 999px; border: 1px solid rgba(185,148,255,.45); display: flex; align-items: center; justify-content: center; font-size: 11px; white-space: nowrap; padding: 0 6px; color: var(--l-ink); }
.l-d-opts .l-d-sel { background: transparent; box-shadow: none; font-weight: 700; color: #FFFFFF; transition: background .25s, box-shadow .25s, transform .2s; }
.l-d-opts.is-sel .l-d-sel { border-color: #B994FF; background: linear-gradient(180deg, #8B5CFF, #7545F5); box-shadow: 0 0 18px -2px rgba(140,96,255,.9); }
.l-d-opts.is-pop .l-d-sel { transform: scale(1.04); }
.l-phone-input { position: relative; margin: 10px 12px 14px; display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-radius: 999px; background: var(--l-bubble); border: 1px solid var(--l-bubble-bd); }
.l-phone-input > span:not(.l-phone-mic) { flex: 1; font-size: 12px; color: #9A92B8; }
.l-phone-mic { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #8B5CFF, #7545F5); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px -4px rgba(117,69,245,.9); }
.l-hero-fox { position: absolute; left: -8px; top: 168px; z-index: 3; width: 380px; height: 352px; pointer-events: none; }
.l-hero-fox-float { position: absolute; inset: 0; animation: kFloat 5s ease-in-out infinite; }
.l-hero-fox img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 24px 30px rgba(10,6,30,.55)); }

/* Hoja de vida de muestra (300 × 420) */
.cvs { position: relative; text-align: left; line-height: 1.36; font-size: 6.4px; white-space: normal; font-weight: 400; width: 300px; height: 420px; background: #FFFFFF; color: #1F2240; border-radius: 4px; overflow: hidden; font-family: var(--font-sans); }
.cvs ul { margin: 0; padding-left: 9px; color: #2B2E4A; }
.cvs-row { display: flex; justify-content: space-between; gap: 6px; }
.cvs-row b { font-size: 7px; color: #14163A; }
.cvs-row span { flex: none; color: #2B2E4A; }
.cvs-c { display: flex; flex-direction: column; gap: 5px; padding: 15px 18px 10px; height: 100%; }
.cvs-c-head { display: flex; gap: 10px; align-items: flex-start; }
.cvs-c-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cvs-c-name { font-family: var(--font-serif); font-size: 21px; font-weight: 700; line-height: 1.05; color: #14163A; letter-spacing: -.01em; }
.cvs-c-role { font-family: var(--font-serif); font-size: 10px; color: #2B2E4A; }
.cvs-c-contact { display: flex; flex-wrap: wrap; gap: 2px 9px; margin-top: 5px; font-size: 6.2px; color: #2B2E4A; }
.cvs-c-contact span { display: flex; align-items: center; gap: 3px; }
.cvs-c-photo { width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden; border: 1.5px solid #C9CCE0; padding: 2px; background: #fff; }
.cvs-c-photo img, .cvs-p-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.cvs-c-rule { height: 1px; background: #C9CCE0; }
.cvs-c-sec { display: flex; flex-direction: column; gap: 3px; }
.cvs-c-sec.cvs-tight { gap: 2px; }
.cvs-c-sec > b { font-family: var(--font-serif); font-size: 10px; color: #14163A; padding-bottom: 2px; border-bottom: .75px solid #C9CCE0; }
.cvs-c-sec > span { color: #2B2E4A; }
.cvs-c-sec .cvs-co { margin-top: -2px; }
.cvs-p { display: flex; flex-direction: column; height: 100%; }
.cvs-p-head { flex: none; display: flex; gap: 10px; align-items: center; padding: 13px 16px 12px; background: #4B2BA8; color: #FFFFFF; }
.cvs-p-id { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cvs-p-id > b { font-size: 20px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.cvs-p-id > span { font-size: 9.5px; color: #E6DCFF; }
.cvs-p-contact { display: grid; grid-template-columns: auto auto; gap: 3px 10px; margin-top: 5px; font-size: 6.2px; color: #F2EDFF; justify-content: start; }
.cvs-p-photo { width: 62px; height: 62px; flex: none; border-radius: 50%; overflow: hidden; border: 2.5px solid #FFFFFF; }
.cvs-p-photo img { border-radius: 0; }
.cvs-p-body { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 5px; padding: 9px 16px 6px; overflow: hidden; }
.cvs-p-sec { display: flex; gap: 8px; }
.cvs-p-ic { width: 15px; height: 15px; flex: none; border-radius: 50%; background: #4B2BA8; display: flex; align-items: center; justify-content: center; }
.cvs-p-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cvs-p-col > span { color: #2B2E4A; }
.cvs-p-t { font-size: 9px; font-weight: 700; color: #4B2BA8; padding-bottom: 2px; border-bottom: .75px solid #C9BDEB; }
.cvs-p-job { position: relative; padding-left: 9px; border-left: .75px solid #B9A8EA; margin-left: -5px; }
.cvs-p-job > span:not(.cvs-p-dot) { color: #2B2E4A; }
.cvs-p-job ul { margin: 1px 0 2px; }
.cvs-p-dot { position: absolute; left: -2.6px; top: 2px; width: 4.5px; height: 4.5px; border-radius: 50%; background: #4B2BA8; }
.cvs-p-chips { display: flex; flex-wrap: wrap; gap: 3px; }
.cvs-p-chips span { padding: 1.5px 6px; border-radius: 99px; background: #EEE8FF; color: #4B2BA8; font-size: 6px; font-weight: 600; }
.cvs-p-foot { flex: none; height: 9px; background: #4B2BA8; }

/* ---------- beneficios ---------- */

.l-feat { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 28px 16px 32px; display: flex; flex-direction: column; gap: 22px; align-items: stretch; }
.l-feat-grid { flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.l-feat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; min-width: 0; padding-right: 0; border-right: 0; }
.l-feat-icon { width: 46px; height: 46px; flex: none; border-radius: 14px; border: 1.5px solid rgba(185,148,255,.55); background: rgba(117,69,245,.18); display: flex; align-items: center; justify-content: center; color: var(--l-feat-icon); box-shadow: 0 0 24px -6px rgba(117,69,245,.5); }
.l-feat-text { min-width: 0; }
.l-feat-t { font-weight: 700; font-size: 15px; }
.l-feat-s { font-size: 13px; color: var(--l-ink2); margin-top: 2px; }

/* ---------- secciones ---------- */

.l-sec { scroll-margin-top: 90px; position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 36px 16px; }
.l-sec-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.l-sec-head { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.l-sec-head h2, .l-final-text h2 { margin: 0; font-size: 28px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; }
.l-sec-head p, .l-final-text p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--l-ink2); text-wrap: pretty; }

.l-how { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.l-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
.l-step { position: relative; display: flex; flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 14px 14px 14px 48px; border-radius: 20px; background: var(--l-panel); border: 1px solid var(--l-panel-bd); box-shadow: var(--l-shadow); min-width: 0; transition: transform .2s; }
.l-step:hover { transform: translateY(-3px); }
.l-step-n { position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; flex: none; border-radius: 50%; background: linear-gradient(180deg, #8B5CFF, #6A3CF0); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.l-step-icon { width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--l-icon-tile); color: #7545F5; display: flex; align-items: center; justify-content: center; }
.l-step-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.l-step-text h3 { margin: 0; font-size: 17px; font-weight: 700; }
.l-step-text p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--l-ink2); text-wrap: pretty; }
.l-step-arrow { position: absolute; right: -19px; top: 50%; z-index: 2; width: 22px; height: 22px; transform: translateY(-50%); color: #9B72FF; align-items: center; justify-content: center; }
.l-how-fox { position: relative; justify-self: center; display: flex; align-items: flex-end; gap: 8px; }
.l-how-fox img { width: 150px; height: auto; filter: drop-shadow(0 18px 22px rgba(10,6,30,.35)); }
.l-how-bubble { margin-bottom: 40px; padding: 12px 16px; border-radius: 18px; background: var(--l-icon-tile); color: #7545F5; font-weight: 800; font-size: 17px; line-height: 1.25; transform: rotate(-4deg); }

.l-tpl { display: flex; flex-direction: column; gap: 20px; }
.l-tpl-head { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: space-between; text-align: center; }
.l-tpl-head .l-sec-head { max-width: 640px; }
.l-pill { display: flex; flex: none; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8B5CFF, #7545F5); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; align-items: center; gap: 8px; white-space: nowrap; }
.l-pill:active { transform: scale(.97); }
.l-pill-wide { margin: 16px auto 0; width: 100%; max-width: 340px; height: 52px; font-size: 16px; justify-content: center; }
.l-tpl-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.l-tpl-col { position: relative; min-width: 0; }
.l-tpl-list { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px 4px 14px; scrollbar-width: none; justify-content: flex-start; }
.l-tpl-list::-webkit-scrollbar { display: none; }
.l-tpl-item { flex: none; width: var(--tpl-w, 260px); scroll-snap-align: center; display: flex; flex-direction: column; gap: 12px; }
.l-tpl-card { position: relative; width: var(--tpl-w, 260px); height: calc(var(--tpl-w, 260px) * 1.4); padding: 0; border: 2px solid transparent; border-radius: 14px; background: #FFFFFF; overflow: hidden; cursor: zoom-in; box-shadow: var(--l-shadow); transition: transform .2s; }
.l-tpl-card { border-color: #9B72FF; }
.l-tpl-card:hover { transform: translateY(-4px); }
.l-tpl-scale { position: absolute; left: 0; top: 0; width: 300px; height: 420px; transform: scale(calc(var(--tpl-w-n, 260) / 300)); transform-origin: 0 0; }
.l-tpl-badge { position: absolute; right: 10px; top: 10px; padding: 4px 10px; border-radius: 99px; background: #7545F5; color: #fff; font-size: 12px; font-weight: 800; }
.l-tpl-badge.is-premium { background: linear-gradient(90deg, #C08A1E, #E0A82E); }
.l-tpl-info { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.l-tpl-info b { font-size: 16px; }
.l-tpl-info span { font-size: 13.5px; color: var(--l-ink2); }
.l-tpl-nav { display: flex; align-items: center; justify-content: center; gap: 14px; }
.l-tpl-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(185,148,255,.55); background: var(--l-panel); color: var(--l-ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.l-tpl-dots { display: flex; gap: 6px; }
.l-tpl-dots span { width: 8px; height: 8px; border-radius: 99px; background: var(--l-panel-bd); transition: width .2s; }
.l-tpl-dots span.is-on { width: 22px; background: #7545F5; }
.l-tpl-fox { width: 260px; height: auto; justify-self: center; filter: drop-shadow(0 18px 22px rgba(10,6,30,.35)); }

.l-why { display: flex; flex-direction: column; gap: 20px; }
.l-why-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.l-why-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: var(--l-panel); border: 1px solid var(--l-panel-bd); min-width: 0; }
.l-why-item > span { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--l-icon-tile); color: #7545F5; display: flex; align-items: center; justify-content: center; }
.l-why-item > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.l-why-item h3 { margin: 0; font-size: 15.5px; font-weight: 700; }
.l-why-item p { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--l-ink2); }

.l-faq { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: start; }
.l-faq-list { display: flex; flex-direction: column; gap: 8px; }
.l-faq-item { border-radius: 14px; background: var(--l-panel); border: 1px solid var(--l-panel-bd); }
.l-faq-item h3 { margin: 0; }
.l-faq-item button { width: 100%; min-height: 54px; padding: 12px 16px; border: 0; background: transparent; color: var(--l-ink); display: flex; align-items: center; gap: 14px; text-align: left; font-size: 15px; font-weight: 600; cursor: pointer; }
.l-faq-item button > span:last-child { flex: 1; }
.l-faq-sign { width: 22px; flex: none; font-size: 22px; line-height: 1; color: #9B72FF; font-weight: 500; }
.l-faq-item p { margin: 0; padding: 0 18px 16px 52px; font-size: 14.5px; line-height: 1.55; color: var(--l-ink2); animation: kFade .2s both; }
.l-faq-all { align-self: center; height: 46px; padding: 0 20px; border: 1.5px solid rgba(185,148,255,.55); border-radius: 999px; background: transparent; color: var(--l-ink); font-weight: 700; font-size: 14.5px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.l-faq-all:hover { background: var(--l-hover); }
.l-faq-side { display: flex; flex-direction: column; align-items: center; gap: 0; }
.l-faq-side img { width: 190px; height: auto; margin-bottom: -24px; position: relative; z-index: 0; filter: drop-shadow(0 18px 22px rgba(10,6,30,.35)); }
.l-faq-card { position: relative; z-index: 1; width: 100%; max-width: 360px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 22px; border-radius: 20px; background: var(--l-sheet); border: 1px solid var(--l-panel-bd); box-shadow: var(--l-shadow); }
.l-faq-card h3 { margin: 0; font-size: 19px; font-weight: 800; }
.l-faq-card p { margin: 0; font-size: 14.5px; color: var(--l-ink2); }
.l-faq-card a { text-decoration: none; } .l-faq-card a:hover { color: #fff; }
.l-faq-card a, .l-faq-card button { margin-top: 6px; width: 100%; height: 50px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8B5CFF, #7545F5); color: #fff; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; }
.l-faq-card a:active, .l-faq-card button:active { transform: scale(.97); }

.l-final { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 20px 16px 36px; }
.l-final-box { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; padding: 20px 18px 26px; border-radius: 28px; background: var(--l-cta-band); border: 1px solid var(--l-panel-bd); text-align: center; }
.l-final-fox { width: 150px; height: auto; justify-self: center; margin: 0; filter: drop-shadow(0 18px 22px rgba(10,6,30,.3)); }
.l-final-text { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.l-final-badges { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; justify-content: center; font-size: 13.5px; color: var(--l-ink2); }
.l-final-badges span { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.l-final-ctas { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.l-final-ctas form { width: 100%; }
.l-final-cta { width: 100%; min-width: 240px; height: 58px; padding: 0 32px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8B5CFF 0%, #7545F5 100%); color: #FFFFFF; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 40px -10px rgba(117,69,245,.8); cursor: pointer; }
.l-final-cta:active { transform: scale(.97); }
.l-upload-sm { gap: 8px; font-size: 15px; text-decoration-thickness: auto; }

/* ---------- pie ---------- */

.l-foot { position: relative; z-index: 1; border-top: 1px solid var(--l-panel-bd); margin-top: 16px; }
.l-foot-grid { max-width: 1280px; margin: 0 auto; padding: 28px 16px 12px; display: grid; grid-template-columns: 1fr; gap: 4px; }
.l-foot-brand { display: flex; flex-direction: column; gap: 12px; }
.l-foot-brand a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--l-ink); }
.l-foot-brand img { width: 38px; height: 38px; object-fit: contain; }
.l-foot-brand b { font-size: 24px; letter-spacing: -.02em; }
.l-foot-brand p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--l-ink2); }
.l-foot-group { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--l-panel-bd); }
.l-foot-group > b { font-size: 14px; margin-bottom: 4px; }
.l-foot-toggle { height: 48px; border: 0; background: transparent; color: var(--l-ink); display: flex; align-items: center; justify-content: space-between; padding: 0; font-size: 15px; font-weight: 600; cursor: pointer; }
.l-foot-toggle svg { transition: transform .2s; }
.l-foot-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.l-foot-links { display: none; flex-direction: column; gap: 2px; padding-bottom: 10px; }
.l-foot-group.is-open .l-foot-links { display: flex; }
.l-foot-links a { min-height: 32px; display: flex; align-items: center; font-size: 14px; color: var(--l-ink2); text-decoration: none; }
.l-foot-links a:hover { color: #9B72FF; }
.l-copy { max-width: 1280px; margin: 0 auto; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--l-ink3); text-align: center; }

/* ---------- capas ---------- */

.l-layer { position: fixed; inset: 0; z-index: 85; }
.l-overlay { position: absolute; inset: 0; background: var(--l-overlay); animation: kFade .2s both; }
.l-dialog { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-height: calc(100% - 24px); overflow-y: auto; background: var(--l-sheet); box-shadow: var(--l-shadow); display: flex; flex-direction: column; gap: 14px; animation: kPop .22s both; color: var(--l-ink); }
.l-prev { width: min(560px, calc(100% - 24px)); border-radius: 24px; padding: 18px; }
.l-prev-head, .l-prev-title { flex: 1; font-size: 17px; font-weight: 800; }
.l-x { width: 42px; height: 42px; flex: none; border: 0; border-radius: 12px; background: var(--l-hover); color: var(--l-ink); font-size: 22px; cursor: pointer; }
.l-prev-body { display: flex; flex-direction: column; gap: 14px; }
.l-prev-cv { align-self: center; position: relative; width: var(--prev-w, 300px); height: calc(var(--prev-w, 300px) * 1.4); border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0,0,0,.35); background: #FFFFFF; }
.l-prev-scale { position: absolute; left: 0; top: 0; width: 300px; height: 420px; transform: scale(calc(var(--prev-w-n, 300) / 300)); transform-origin: 0 0; }
.l-prev-info { display: flex; flex-direction: column; gap: 4px; text-align: center; }
.l-prev-info b { font-size: 17px; }
.l-prev-info span { font-size: 14px; line-height: 1.5; color: var(--l-ink2); }
.l-prev-info .l-prev-note { font-size: 12.5px; color: var(--l-ink3); }
.l-prev-cta { width: 100%; height: 52px; border: 0; border-radius: 999px; background: linear-gradient(180deg, #8B5CFF, #7545F5); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.l-prev-cta:hover { color: #fff; }

/* Aparecen al llegar con el scroll (lo activa home.js). */
.l-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.l-reveal.is-in { opacity: 1; transform: none; }

/* ---------- computador ---------- */

@media (min-width: 1120px) {
    .l-wide { display: flex !important; }
    .l-narrow { display: none !important; }
    .l-bg { height: 100vh; }
    .l-bg-lav { right: -14%; top: -22%; width: 64%; height: 120%; }
    .l-bg-wave { top: 58%; }
    .l-bg-wave2 { top: 70%; }
    .l-head { padding: 24px 40px; }
    .l-logo img { width: 46px; height: 46px; }
    .l-logo span { font-size: 30px; }
    .l-tools { gap: 12px; }
    .l-theme { border: 1.5px solid var(--l-panel-bd); }
    .l-theme:hover { background: var(--l-hover); }
    .l-theme svg { width: 20px; height: 20px; }
    .l-hero { padding: 24px 40px 8px; grid-template-columns: minmax(400px, .84fr) minmax(0, 1.16fr); gap: 24px; }
    .l-hero-text { gap: 24px; align-items: stretch; text-align: left; }
    .l-h1-grid { justify-items: start; }
    .l-lead { font-size: 20px; }
    .l-ctas { align-items: flex-start; }
    .l-ctas form { width: auto; }
    .l-cta { width: auto; height: 64px; font-size: 21px; }
    .l-feat { padding: 28px 40px 32px; flex-direction: row; gap: 32px; align-items: center; }
    .l-feat-grid { gap: 28px; }
    .l-feat-item { flex-direction: row; gap: 16px; text-align: left; padding-right: 28px; }
    .l-feat-item:not(:last-child) { border-right: 1px solid rgba(203,208,228,.18); }
    .l-feat-icon { width: 52px; height: 52px; }
    .l-feat-t { font-size: 17px; }
    .l-feat-s { font-size: 14px; }
    .l-sec { padding: 56px 40px; }
    .l-sec-col, .l-tpl, .l-why { gap: 28px; }
    .l-sec-head { text-align: left; }
    .l-sec-head h2, .l-final-text h2 { font-size: 42px; }
    .l-sec-head p, .l-final-text p { font-size: 17px; }
    .l-how { grid-template-columns: minmax(0, 1fr) 220px; }
    .l-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .l-step { flex-direction: column; text-align: center; padding: 44px 18px 22px; }
    .l-step-icon { width: 72px; height: 72px; }
    .l-how-fox img { width: 220px; }
    .l-tpl-head { flex-direction: row; align-items: flex-end; text-align: left; }
    /* Cuatro plantillas: ocupan todo el ancho. */
    .l-tpl-grid { grid-template-columns: minmax(0, 1fr); }
    .l-tpl-list { overflow-x: visible; }
    .l-tpl-info { text-align: left; }
    .l-why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .l-faq { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
    .l-faq-all { align-self: flex-start; }
    .l-faq-side img { width: 240px; }
    .l-final { padding: 24px 40px 56px; }
    .l-final-box { grid-template-columns: 200px minmax(0, 1fr) auto; gap: 32px; padding: 20px 40px 0; text-align: left; }
    .l-final-fox { width: 190px; margin: 0 0 -6px; }
    .l-final-badges { justify-content: flex-start; }
    .l-foot-grid { padding: 44px 40px 28px; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
    .l-foot-group { border-bottom: 0; }
    .l-foot-links { display: flex; padding-bottom: 0; }
    .l-copy { padding: 0 40px calc(24px + env(safe-area-inset-bottom)); text-align: left; }
}
@media (min-width: 1280px) {
    .l-nav { gap: 36px; }
}
/* La etiqueta Gratis / Premium abajo: arriba tapaba el nombre en la creativa. */
.l-tpl-badge { top: auto; bottom: 10px; }
