/* Portada de oficinapp.es (views/pages/landing/home.php). Prefijo lx- para no tocar el resto de la web. */
:root {
  --lx-navy: #061C3A;
  --lx-navy-2: #0D2547;
  --lx-navy-3: #13305A;
  --lx-orange: #FE5F12;
  --lx-orange-2: #FF8A3D;
  --lx-soft: #F3F6FA;
  --lx-text: #0B1F3A;
  --lx-muted: #5B6B82;
  --lx-line: #E4E9F1;
  --lx-green: #16A34A;
  --lx-font: 'Plus Jakarta Sans', Inter, system-ui, sans-serif;
}
.lp--home { background: #fff; font-family: var(--lx-font); }
.lp--home h1, .lp--home h2, .lp--home h3 { font-family: var(--lx-font); }
.lx-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 48px); }
.lx-section { padding: clamp(64px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.lx-soft { background: var(--lx-soft); }
.lx-br { display: inline; }

/* ---------- Cabecera oscura de la portada ---------- */
.lp--home .lp-nav { background: rgba(6, 28, 58, .72); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 18px; padding-bottom: 18px; }
.lp--home .lp-nav__logo img { height: 40px; }
.lp--home .lp-nav__links { color: #fff; gap: 30px; font-family: var(--lx-font); }
.lp--home .lp-nav__links a:not(.btn):hover { color: var(--lx-orange-2); }
.lp--home .lp-nav__links .btn--primary { background: var(--lx-orange); border-radius: 999px; padding: 0 22px; height: 46px; font-weight: 700; box-shadow: 0 10px 30px -10px rgba(254,95,18,.8); }

/* ---------- Botones y textos ---------- */
.lx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 60px; padding: 0 30px; border-radius: 999px; font-weight: 700; font-size: 18px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.lx-btn:hover { transform: translateY(-2px); }
.lx-btn--primary { background: var(--lx-orange); color: #fff; box-shadow: 0 16px 40px -14px rgba(254,95,18,.9); }
.lx-btn--primary:hover { background: #ff6f28; }
.lx-btn--ghost { border: 2px solid rgba(255,255,255,.85); color: #fff; }
.lx-btn--ghost:hover { background: rgba(255,255,255,.08); }
.lx-btn--white { background: #fff; color: var(--lx-navy); box-shadow: 0 16px 40px -16px rgba(0,0,0,.35); }
.lx-btn--block { width: 100%; }
.lx-pill { display: inline-block; background: var(--lx-orange); color: #fff; font-weight: 700; font-size: 17px; padding: 10px 22px; border-radius: 999px; margin-bottom: 26px; }
.lx-kicker { display: block; color: var(--lx-orange); font-weight: 800; letter-spacing: .22em; text-transform: uppercase; font-size: 15px; margin-bottom: 14px; }
.lx-h2 { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; color: var(--lx-navy); }
.lx-h2 span { color: var(--lx-orange); display: block; }
.lx-lead { font-size: clamp(17px, 1.5vw, 21px); color: var(--lx-muted); line-height: 1.55; margin-top: 20px; max-width: 620px; }
.lx-head { text-align: center; max-width: 900px; margin: 0 auto clamp(36px, 5vw, 60px); }
.lx-head .lx-lead { margin-left: auto; margin-right: auto; }
.lx-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }

/* ---------- Móvil en CSS con la pantalla real dentro ---------- */
.lx-phone { position: relative; width: 340px; padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2c3240, #0a0d13 40%, #1b2029); box-shadow: 0 0 0 1.5px #3a4150 inset, 0 50px 90px -30px rgba(3, 12, 28, .65), 0 30px 60px -40px rgba(0,0,0,.6); }
.lx-phone__screen { position: relative; border-radius: 44px; overflow: hidden; background: #F3F6FA; padding-top: 13.8%; }
.lx-phone__screen > img { display: block; width: 100%; height: auto; }
.lx-phone__status { position: absolute; inset: 0 0 auto 0; height: 13.8%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 11%; font: 700 15px var(--lx-font); color: #0B1220; z-index: 2; }
.lx-phone__island { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); width: 31%; height: 50%; background: #000; border-radius: 99px; }
.lx-phone__icons { display: flex; align-items: flex-end; gap: 2px; }
.lx-phone__icons i { width: 3px; background: #0B1220; border-radius: 1px; }
.lx-phone__icons i:nth-child(1) { height: 4px; } .lx-phone__icons i:nth-child(2) { height: 6px; } .lx-phone__icons i:nth-child(3) { height: 8px; } .lx-phone__icons i:nth-child(4) { height: 10px; margin-right: 6px; }
.lx-phone__icons b { width: 22px; height: 11px; border: 1.5px solid #0B1220; border-radius: 3px; position: relative; }
.lx-phone__icons b::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: #0B1220; border-radius: 1px; }
.lx-phone--sm { width: 300px; }

/* ---------- 1 · Portada ---------- */
.lx-hero { position: relative; background: radial-gradient(1200px 700px at 78% 60%, rgba(254,95,18,.20), transparent 60%), linear-gradient(180deg, var(--lx-navy) 0%, #071F40 100%); color: #fff; overflow: hidden; margin-top: -85px; padding: 170px 0 110px; }
.lx-hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25)); -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.25)); }
.lx-hero__inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.lx-hero h1 { color: #fff; font-size: clamp(46px, 7vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .98; }
.lx-hero h1 span { color: var(--lx-orange); display: block; }
.lx-hero__lead { font-size: clamp(18px, 1.7vw, 24px); color: rgba(220, 230, 245, .82); line-height: 1.5; margin: 28px 0 40px; max-width: 640px; }
.lx-hero__cta { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.lx-hero__store { display: flex; align-items: center; gap: 14px 22px; margin-top: 30px; flex-wrap: wrap; color: rgba(220,230,245,.8); font-weight: 600; font-size: 17px; }
.lx-hero__store img { height: 52px; width: auto; display: block; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.lx-hero__visual { position: relative; display: flex; justify-content: center; min-height: 640px; align-items: center; }
.lx-glow { position: absolute; width: 520px; height: 640px; background: radial-gradient(closest-side, rgba(254,95,18,.85), rgba(254,95,18,.25) 60%, transparent); filter: blur(30px); }
.lx-phone--hero { width: 330px; transform: rotate(5deg); }
.lx-float { position: absolute; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px; border-radius: 22px; color: #fff; background: rgba(160, 180, 210, .16); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); font-size: 17px; line-height: 1.25; animation: lx-float 6s ease-in-out infinite; }
.lx-float strong { font-weight: 800; display: block; }
.lx-float small { display: block; color: rgba(225,235,250,.85); font-size: 15px; font-weight: 500; }
.lx-float__money { color: #4ADE80 !important; font-size: 24px !important; font-weight: 800 !important; }
.lx-float__icon { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.lx-float__icon--ok { background: linear-gradient(145deg, #34d399, #16a34a); }
.lx-float__icon--bizum { background: linear-gradient(145deg, #2dd4bf, #0ea5b7); border-radius: 14px; }
.lx-float__icon--ofi { background: var(--lx-orange); }
.lx-float--a { top: 18%; left: -4%; transform: rotate(-6deg); }
.lx-float--b { top: 38%; right: -6%; transform: rotate(5deg); animation-delay: -2s; }
.lx-float--c { bottom: 16%; right: -2%; transform: rotate(-4deg); animation-delay: -4s; background: rgba(254,95,18,.22); border-color: rgba(255,160,110,.55); }
.lx-float--c strong { display: inline; }
@keyframes lx-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* ---------- 2 · Ofi ---------- */
.lx-ofi { background: var(--lx-soft); }
.lx-ofi__visual { position: relative; display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 720px; }
.lx-blob { position: absolute; width: 640px; height: 640px; left: 50%; top: 50%; transform: translate(-55%, -50%); background: radial-gradient(closest-side, rgba(255,160,110,.55), rgba(255,190,150,.25) 70%, transparent); border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; animation: lx-blob 14s ease-in-out infinite; }
@keyframes lx-blob { 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; transform: translate(-50%, -48%) scale(1.04); } }
.lx-waves { position: relative; display: flex; align-items: center; gap: 9px; height: 220px; }
.lx-waves i { width: 9px; border-radius: 9px; background: linear-gradient(180deg, #ffb07a, var(--lx-orange)); height: 30%; animation: lx-wave 1.1s ease-in-out infinite; animation-play-state: paused; opacity: .55; }
.lx-waves.is-live i { animation-play-state: running; opacity: 1; }
.lx-waves i:nth-child(2) { animation-delay: -.2s; } .lx-waves i:nth-child(3) { animation-delay: -.5s; } .lx-waves i:nth-child(4) { animation-delay: -.1s; } .lx-waves i:nth-child(5) { animation-delay: -.7s; } .lx-waves i:nth-child(6) { animation-delay: -.35s; } .lx-waves i:nth-child(7) { animation-delay: -.6s; }
.lx-waves--l i:first-child, .lx-waves--r i:last-child { opacity: .35; }
@keyframes lx-wave { 0%, 100% { height: 22%; } 50% { height: 92%; } }
.lx-phone--chat { width: 370px; z-index: 1; }
.lx-chat { display: flex; flex-direction: column; height: 690px; background: #F3F6FA; font-family: var(--lx-font); }
.lx-chat__head { display: flex; align-items: center; gap: 10px; padding: 8px 18px 10px; }
.lx-chat__head img { border-radius: 9px; }
.lx-chat__head strong { display: block; color: var(--lx-text); font-size: 18px; line-height: 1.1; }
.lx-chat__head small { color: var(--lx-muted); font-size: 13px; }
.lx-chat__head b { margin-left: auto; color: var(--lx-text); letter-spacing: 1px; }
.lx-chat__log { flex: 1; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 0 14px 8px; }
.lx-msg { max-width: 86%; padding: 10px 14px 18px; border-radius: 16px; font-size: 13.5px; line-height: 1.4; position: relative; animation: lx-in .35s ease both; }
.lx-msg time { position: absolute; right: 10px; bottom: 4px; font-size: 10px; opacity: .65; }
.lx-msg--me { align-self: flex-end; background: var(--lx-navy); color: #fff; border-bottom-right-radius: 5px; }
.lx-msg--ofi { align-self: flex-start; background: #E7ECF3; color: var(--lx-text); margin-left: 34px; }
.lx-msg--ofi::before { content: ''; position: absolute; left: -34px; top: 2px; width: 26px; height: 26px; border-radius: 7px; background: url('logo-mark.svg') center/cover; }
.lx-msg--ok { background: #E8F7EE; color: #126B35; font-weight: 600; }
.lx-typing { align-self: flex-start; margin-left: 34px; display: flex; gap: 4px; padding: 12px 14px; background: #E7ECF3; border-radius: 16px; animation: lx-in .3s ease both; }
.lx-typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA8BC; animation: lx-blink 1s infinite; }
.lx-typing i:nth-child(2) { animation-delay: .2s; } .lx-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes lx-blink { 50% { background: var(--lx-orange); transform: translateY(-2px); } }
.lx-confirm { margin-left: 34px; background: #fff; border: 1.5px solid #FFB18A; border-radius: 18px; padding: 14px; box-shadow: 0 12px 30px -18px rgba(254,95,18,.6); animation: lx-in .4s ease both; }
.lx-confirm__title { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--lx-text); font-size: 15.5px; margin-bottom: 8px; }
.lx-confirm__title i { width: 30px; height: 30px; border-radius: 50%; background: var(--lx-orange); display: grid; place-items: center; color: #fff; }
.lx-confirm__row { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--lx-text); padding: 4px 0; }
.lx-confirm__row svg { width: 15px; height: 15px; color: #475569; flex: none; }
.lx-confirm__row.is-total { font-weight: 800; }
.lx-confirm__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.lx-confirm__btns span { text-align: center; padding: 9px; border-radius: 12px; font-weight: 700; font-size: 13.5px; transition: transform .15s, background .3s; }
.lx-confirm__btns span:first-child { border: 1.5px solid #FFC9AE; color: var(--lx-text); }
.lx-confirm__btns span:last-child { background: var(--lx-orange); color: #fff; }
.lx-confirm.is-tap span:last-child { transform: scale(.92); }
.lx-confirm.is-done { border-color: #86EFAC; }
.lx-confirm.is-done span:last-child { background: var(--lx-green); }
.lx-chat__chips { display: flex; gap: 8px; padding: 6px 12px; overflow: hidden; }
.lx-chat__chips span { flex: none; background: #fff; border: 1px solid var(--lx-line); border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--lx-text); }
.lx-chat__bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 22px 2px; }
.lx-chat__bar > i { width: 40px; height: 40px; border-radius: 50%; background: #E7ECF3; display: grid; place-items: center; color: #334155; }
.lx-mic { width: 64px; height: 64px; border-radius: 50%; background: var(--lx-orange); color: #fff; display: grid; place-items: center; position: relative; box-shadow: 0 10px 30px -8px rgba(254,95,18,.9); }
.lx-mic::before, .lx-mic::after { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(254,95,18,.35); opacity: 0; }
.lx-mic.is-live::before, .lx-mic.is-live::after { animation: lx-ring 1.4s ease-out infinite; }
.lx-mic.is-live::after { animation-delay: .7s; }
@keyframes lx-ring { from { opacity: 1; transform: scale(.85); } to { opacity: 0; transform: scale(1.5); } }
.lx-chat__hint { text-align: center; font-size: 12px; font-weight: 600; color: var(--lx-text); padding: 6px 0 20px; }
.lx-label { display: inline-flex; align-items: center; gap: 16px; color: var(--lx-orange); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; font-size: 16px; margin-bottom: 22px; }
.lx-label img { border-radius: 12px; box-shadow: 0 10px 24px -12px rgba(6,28,58,.6); }
.lx-ofi__text .lx-h2 { font-size: clamp(34px, 4vw, 58px); }
.lx-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 18px; }
.lx-points li { display: flex; align-items: center; gap: 18px; font-size: clamp(17px, 1.6vw, 22px); font-weight: 700; color: var(--lx-text); }
.lx-points span { flex: none; width: 56px; height: 56px; border-radius: 16px; background: var(--lx-orange); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 26px -14px rgba(254,95,18,.9); }

/* ---------- 3 · Funciones ---------- */
.lx-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.lx-card { grid-column: span 4; background: #fff; border: 1px solid var(--lx-line); border-radius: 24px; padding: 28px; box-shadow: 0 1px 2px rgba(6,28,58,.04), 0 20px 50px -34px rgba(6,28,58,.35); transition: transform .3s, box-shadow .3s; }
.lx-card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(6,28,58,.04), 0 30px 60px -30px rgba(6,28,58,.4); }
.lx-card h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; color: var(--lx-text); margin: 18px 0 8px; }
.lx-card p { color: var(--lx-muted); font-size: 17px; line-height: 1.5; }
.lx-bento > .lx-card { grid-column: span 4; }
.lx-bento > .lx-card:nth-child(1) { grid-column: span 6; }
.lx-bento > .lx-card:nth-child(2), .lx-bento > .lx-card:nth-child(3) { grid-column: span 3; }
.lx-chart strong { white-space: nowrap; }
.lx-card__top { display: flex; gap: 18px; align-items: flex-start; }
.lx-card__top h3 { margin-top: 2px; }
.lx-ico { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; }
.lx-ico--orange { background: linear-gradient(145deg, #FF8A3D, var(--lx-orange)); box-shadow: 0 14px 28px -16px rgba(254,95,18,.95); }
.lx-ico--navy { background: var(--lx-navy); box-shadow: 0 14px 28px -16px rgba(6,28,58,.9); }
.lx-mini { margin-top: 26px; display: grid; grid-template-columns: 1.35fr 1fr; gap: 14px; border: 1px solid var(--lx-line); border-radius: 18px; padding: 16px; background: #FBFCFE; }
.lx-mini__doc { display: grid; gap: 8px; align-content: start; font-size: 14px; color: var(--lx-muted); }
.lx-mini__brand { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--lx-text); }
.lx-mini__doc strong { font-size: 20px; color: var(--lx-text); letter-spacing: -.02em; }
.lx-mini__doc em { font-style: normal; width: max-content; background: #FEF3C7; color: #92400E; font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; transition: background .4s, color .4s; }
.lx-mini__doc em.is-signed { background: #DCFCE7; color: #166534; }
.lx-mini__doc small { display: flex; align-items: center; gap: 6px; }
.lx-mini__sign { background: #fff; border: 1px solid var(--lx-line); border-radius: 14px; padding: 10px; display: grid; gap: 8px; align-content: space-between; }
.lx-mini__sign svg { width: 100%; height: 60px; }
.lx-mini__sign path { fill: none; stroke: var(--lx-navy); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 520; stroke-dashoffset: 520; }
.lx-mini__sign.is-signing path { animation: lx-sign 2.2s ease forwards; }
@keyframes lx-sign { to { stroke-dashoffset: 0; } }
.lx-mini__btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--lx-orange); color: #fff; border-radius: 10px; padding: 8px; font-weight: 700; font-size: 13.5px; transition: background .4s; }
.lx-mini__btn.is-signed { background: var(--lx-green); }
.lx-chart { margin-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; border: 1px solid var(--lx-line); border-radius: 18px; padding: 16px 18px; }
.lx-chart small { color: var(--lx-muted); font-size: 14px; }
.lx-chart strong { display: block; font-size: 30px; font-weight: 800; color: var(--lx-text); letter-spacing: -.03em; margin: 4px 0; }
.lx-chart em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-weight: 700; color: var(--lx-green); font-size: 13px; }
.lx-chart__bars { display: flex; align-items: flex-end; gap: 6px; height: 96px; }
.lx-chart__bars i { width: 12px; height: var(--h); background: #CBD5E1; border-radius: 3px 3px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.9,.3,1.2) var(--d); }
.lx-chart__bars i:nth-child(3), .lx-chart__bars i:nth-child(5), .lx-chart__bars i:nth-child(8) { background: var(--lx-navy); }
.lx-chart__bars i.is-hot { background: var(--lx-orange); }
.is-in .lx-chart__bars i { transform: scaleY(1); }

/* ---------- 4 · Ticket y números ---------- */
.lx-tag { display: inline-flex; align-items: center; gap: 10px; background: var(--lx-orange); color: #fff; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; font-size: 15px; padding: 10px 20px; border-radius: 999px; margin-bottom: 24px; }
.lx-split--ticket { margin-bottom: clamp(70px, 9vw, 120px); }
.lx-ticket { position: relative; display: flex; align-items: center; justify-content: center; gap: 40px; }
.lx-scan { position: relative; width: 300px; transform: rotate(4deg); }
.lx-scan img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 30px rgba(6,28,58,.25)); }
.lx-scan__line { position: absolute; left: -6%; right: -6%; top: 10%; height: 4px; background: var(--lx-orange); border-radius: 4px; box-shadow: 0 0 22px 6px rgba(254,95,18,.55); animation: lx-scan 3.2s ease-in-out infinite; }
@keyframes lx-scan { 0%, 100% { top: 8%; } 50% { top: 88%; } }
.lx-scan__c { position: absolute; width: 38px; height: 38px; border: 4px solid var(--lx-orange); }
.lx-scan__c--tl { top: -14px; left: -14px; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.lx-scan__c--tr { top: -14px; right: -14px; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.lx-scan__c--bl { bottom: -14px; left: -14px; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.lx-scan__c--br { bottom: -14px; right: -14px; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.lx-split--numbers .lx-numbers__phone { display: flex; justify-content: center; }
.lx-kpis { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }
.lx-kpis div { background: #fff; border: 1px solid var(--lx-line); border-radius: 18px; padding: 16px 22px; min-width: 180px; box-shadow: 0 20px 40px -32px rgba(6,28,58,.4); }
.lx-kpis small { color: var(--lx-muted); font-size: 14px; font-weight: 600; }
.lx-kpis strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--lx-text); }

/* ---------- 5 · Sectores ---------- */
.lx-sectors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lx-sector { position: relative; display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 24px 50px -36px rgba(6,28,58,.6); }
.lx-sector img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.lx-sector:hover img { transform: scale(1.06); }
.lx-sector span { position: absolute; inset: auto 0 0 0; display: flex; align-items: center; gap: 12px; padding: 46px 20px 18px; color: #fff; font-weight: 800; font-size: 19px; background: linear-gradient(180deg, transparent, rgba(6,28,58,.92) 70%); }
.lx-more { margin: 30px auto 0; max-width: 1000px; }
.lx-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; justify-content: center; flex-wrap: wrap; background: var(--lx-soft); border-radius: 999px; padding: 16px 28px; font-weight: 600; color: var(--lx-muted); font-size: 16px; }
.lx-more summary::-webkit-details-marker { display: none; }
.lx-more summary b { display: inline-flex; align-items: center; gap: 6px; color: var(--lx-orange); font-weight: 800; }
.lx-more__plus { width: 28px; height: 28px; border-radius: 50%; background: var(--lx-navy); color: #fff; display: grid; place-items: center; transition: transform .3s; }
.lx-more[open] .lx-more__plus { transform: rotate(45deg); }
.lx-more__list { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.lx-more__list a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--lx-line); border-radius: 999px; padding: 10px 16px; font-weight: 700; color: var(--lx-text); background: #fff; }
.lx-more__list a:hover { border-color: var(--lx-orange); color: var(--lx-orange); }
/* Últimos artículos del blog, bajo los sectores */
.lx-blog { margin: 40px auto 0; max-width: 1000px; text-align: center; }
.lx-blog p { color: var(--lx-muted); font-weight: 600; font-size: 16px; }
.lx-blog p a { display: inline-flex; align-items: center; gap: 6px; color: var(--lx-orange); font-weight: 800; }

/* ---------- 6 · Precios ---------- */
.lx-dark { background: radial-gradient(900px 500px at 0% 30%, rgba(254,95,18,.22), transparent 60%), radial-gradient(900px 500px at 100% 30%, rgba(254,95,18,.18), transparent 60%), var(--lx-navy); color: #fff; }
.lx-dark .lx-h2 { color: #fff; }
.lx-dark .lx-lead { color: rgba(200,212,230,.85); }
.lx-toggle { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.04); }
.lx-toggle button { border: 0; background: none; color: #fff; font: 600 17px var(--lx-font); padding: 12px 34px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .25s; }
.lx-toggle button.is-on { background: rgba(255,255,255,.12); }
.lx-toggle em { font-style: normal; background: var(--lx-orange); font-size: 13px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.lx-prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; max-width: 1140px; margin: 0 auto; }
.lx-price { position: relative; background: #fff; color: var(--lx-text); border-radius: 24px; padding: 34px 32px 30px; display: flex; flex-direction: column; box-shadow: 0 40px 80px -50px rgba(0,0,0,.8); }
.lx-price--hl { outline: 4px solid var(--lx-orange); transform: translateY(-10px); }
.lx-price__ribbon { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); background: var(--lx-orange); color: #fff; font-weight: 800; padding: 8px 24px; border-radius: 0 0 14px 14px; font-size: 16px; }
.lx-price__icon { position: absolute; top: 30px; right: 28px; }
.lx-price h3 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--lx-text); }
.lx-price__num { display: flex; align-items: baseline; gap: 10px; margin: 10px 0 6px; }
.lx-price__num strong { font-size: 64px; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.lx-price__num span { font-size: 22px; font-weight: 600; color: var(--lx-text); }
.lx-price__sub { color: var(--lx-muted); font-weight: 600; font-size: 17px; min-height: 26px; }
.lx-price ul { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 12px; flex: 1; }
.lx-price li { display: flex; gap: 12px; font-size: 16.5px; line-height: 1.35; }
.lx-price li svg { color: var(--lx-orange); flex: none; margin-top: 2px; }
.lx-price__users { display: flex; align-items: center; gap: 10px; color: var(--lx-muted); border-top: 1px solid var(--lx-line); padding-top: 16px; margin-bottom: 18px; }
.lx-prices__note { text-align: center; margin-top: 36px; color: rgba(200,212,230,.75); font-size: 15px; }

/* ---------- 7 · Gestorías ---------- */
.lx-advisors-wrap { background: #F7F5F2; }
.lx-advisors { background: var(--lx-navy); border-radius: 40px; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; color: #fff; overflow: hidden; position: relative; }
.lx-advisors .lx-h2 { color: #fff; font-size: clamp(32px, 3.6vw, 54px); }
.lx-advisors .lx-lead { color: rgba(205,216,233,.85); }
.lx-stats { display: flex; gap: 0; margin: 34px 0 38px; }
.lx-stats div { padding-right: 36px; margin-right: 36px; border-right: 1px solid rgba(255,255,255,.2); }
.lx-stats div:last-child { border: 0; }
.lx-stats strong { display: block; font-size: 54px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.lx-stats span { font-size: 19px; color: rgba(225,233,245,.85); font-weight: 600; }
.lx-advisors__visual { position: relative; padding-right: 70px; }
.lx-laptop__screen { border: 12px solid #1d2330; border-bottom-width: 16px; border-radius: 22px 22px 0 0; background: #fff; display: grid; grid-template-columns: 27% 1fr; min-height: 380px; overflow: hidden; font-family: var(--lx-font); }
.lx-laptop__screen aside { background: var(--lx-navy); padding: 16px 10px; display: flex; flex-direction: column; gap: 4px; }
.lx-laptop__screen aside img { width: 82%; height: auto; margin: 2px 6px 14px; }
.lx-laptop__screen aside span { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.82); font-size: 11.5px; padding: 6px 8px; border-radius: 8px; }
.lx-laptop__screen aside span.is-on { background: var(--lx-navy-3); color: #fff; font-weight: 700; }
.lx-laptop__screen main { padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 8px; color: var(--lx-text); background: #fff; }
.lx-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 2px; }
.lx-panel__top strong { font-size: 16px; }
.lx-panel__top span { display: flex; align-items: center; gap: 6px; border: 1px solid var(--lx-line); border-radius: 999px; padding: 5px 12px; font-size: 10.5px; color: var(--lx-muted); }
.lx-panel__row { display: flex; align-items: center; gap: 10px; border: 1px solid var(--lx-line); border-radius: 10px; padding: 7px 10px; }
.lx-panel__row > i { width: 30px; height: 30px; border-radius: 50%; background: #EEF2F7; display: grid; place-items: center; color: var(--lx-navy); }
.lx-panel__row strong { display: block; font-size: 12px; }
.lx-panel__row small { font-size: 10px; color: var(--lx-muted); }
.lx-panel__row em { margin-left: auto; font-style: normal; background: #22A55B; color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.lx-panel__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 2px; }
.lx-panel__cards div { border: 1px solid var(--lx-line); border-radius: 10px; padding: 9px; display: grid; gap: 5px; align-content: start; }
.lx-panel__cards strong { display: flex; align-items: center; gap: 6px; font-size: 11px; }
.lx-panel__cards span { display: flex; align-items: center; gap: 6px; font-size: 10px; color: var(--lx-text); }
.lx-panel__cards span svg { color: #22A55B; flex: none; }
.lx-panel__cards span b { font-weight: 700; margin-right: 4px; }
.lx-laptop__base { height: 18px; margin: 0 -7%; background: linear-gradient(180deg, #c7ccd6, #8b919c); border-radius: 0 0 22px 22px; box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); }
.lx-lock { position: absolute; right: -34px; bottom: -44px; width: 180px; aspect-ratio: 9 / 19; border-radius: 34px; border: 8px solid #12161f; background: linear-gradient(160deg, #13305A 0%, #0A1F3F 55%, #E8641E 140%); display: flex; flex-direction: column; align-items: center; padding: 26px 10px 10px; color: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.lx-lock__time { font-size: 44px; font-weight: 500; letter-spacing: -.03em; line-height: 1; margin-top: 14px; }
.lx-lock__date { font-size: 11px; opacity: .85; margin-top: 4px; }
.lx-lock__note { margin-top: 18px; width: 100%; display: flex; gap: 8px; background: rgba(255,255,255,.92); color: var(--lx-text); border-radius: 14px; padding: 9px; font-size: 10.5px; line-height: 1.3; transform: translateY(14px); opacity: 0; transition: transform .6s cubic-bezier(.2,.9,.3,1.3), opacity .4s; }
.lx-lock__note.is-shown { transform: none; opacity: 1; }
.lx-lock__note img { border-radius: 6px; flex: none; }
.lx-lock__note b { font-weight: 800; }
.lx-lock__note small { float: right; color: var(--lx-muted); }
.lx-lock__note strong { display: block; margin-top: 2px; }

/* ---------- 8 · Llamada final ---------- */
.lx-final-wrap { padding-top: 40px; overflow: visible; }
.lx-final { position: relative; background: linear-gradient(120deg, #FF7A2E 0%, var(--lx-orange) 45%, #F04E05 100%); border-radius: 36px; padding: clamp(40px, 6vw, 90px); display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; align-items: center; color: #fff; overflow: visible; }
.lx-final h2 { color: #fff; font-size: clamp(36px, 5.2vw, 76px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.lx-final p { font-size: clamp(20px, 2.2vw, 32px); font-weight: 700; margin: 28px 0 38px; line-height: 1.25; }
.lx-final .lx-hero__cta img { height: 60px; width: auto; display: block; }
.lx-final__phones { position: relative; height: 100%; min-height: 420px; }
.lx-phone--front { position: absolute; width: 290px; right: 22%; top: -150px; transform: rotate(-6deg); z-index: 2; }
.lx-phone--back { position: absolute; width: 260px; right: -2%; top: -60px; transform: rotate(8deg); }
.lx-phone__screen--brand { background: linear-gradient(170deg, #0D2547, var(--lx-navy)); aspect-ratio: 9 / 19.5; padding-top: 0; display: grid; place-items: center; }
.lx-phone__screen--brand img { width: 74%; height: auto; }

/* ---------- Pie ---------- */
.lp--home .lp-foot { padding-top: 70px; font-family: var(--lx-font); }

/* ---------- Aparición al hacer scroll ---------- */
/* Solo se oculta si el JavaScript ha arrancado (si falla, la página se ve igual) */
.lx-js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.lx-js [data-reveal].is-in { opacity: 1; transform: none; }
@keyframes lx-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Tableta ---------- */
@media (max-width: 1100px) {
  .lx-hero__inner, .lx-split, .lx-advisors, .lx-final { grid-template-columns: 1fr; }
  .lx-hero { padding-top: 140px; }
  .lx-hero__text, .lx-ofi__text, .lx-split > div:not(.lx-ticket):not(.lx-numbers__phone) { text-align: center; }
  .lx-hero__lead, .lx-lead { margin-left: auto; margin-right: auto; }
  .lx-hero__cta, .lx-hero__store { justify-content: center; }
  .lx-points { max-width: 520px; margin-left: auto; margin-right: auto; text-align: left; }
  .lx-split--numbers .lx-numbers__phone { order: 2; }
  .lx-kpis { justify-content: center; }
  .lx-bento .lx-card, .lx-bento .lx-card:nth-child(n) { grid-column: span 6; }
  .lx-card--quote { grid-row: auto; }
  .lx-sectors { grid-template-columns: repeat(2, 1fr); }
  .lx-prices { grid-template-columns: 1fr; max-width: 480px; }
  .lx-price--hl { transform: none; }
  .lx-advisors { text-align: center; }
  .lx-stats { justify-content: center; }
  .lx-advisors__visual { padding-right: 0; max-width: 680px; margin: 0 auto; width: 100%; }
  .lx-final { text-align: center; }
  .lx-final__phones { min-height: 520px; }
  .lx-phone--front { right: 50%; transform: translateX(40%) rotate(-6deg); top: 0; }
  .lx-phone--back { right: 50%; transform: translateX(110%) rotate(8deg); top: 60px; }
}

/* ---------- Móvil ---------- */
@media (max-width: 720px) {
  .lx-br { display: none; }
  .lp--home .lp-nav { padding-top: 12px; padding-bottom: 12px; }
  .lp--home .lp-nav__logo img { height: 30px; }
  .lp--home .lp-nav__links { gap: 12px; }
  .lp--home .lp-nav__links .btn--primary { height: 40px; padding: 0 14px; font-size: 14px; }
  .lx-hero { margin-top: -65px; padding: 110px 0 70px; }
  .lx-hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .lx-pill { font-size: 14px; padding: 8px 16px; margin-bottom: 20px; }
  .lx-btn { height: 54px; font-size: 16px; padding: 0 22px; width: 100%; }
  .lx-hero__cta { flex-direction: column; align-items: stretch; }
  .lx-final .lx-hero__cta a:not(.lx-btn) { align-self: center; }
  .lx-hero__visual { min-height: 520px; margin-top: 10px; }
  .lx-phone--hero { width: 250px; }
  .lx-glow { width: 320px; height: 420px; }
  .lx-float { font-size: 13.5px; padding: 10px 14px 10px 10px; border-radius: 16px; gap: 10px; }
  .lx-float small { font-size: 12px; }
  .lx-float__money { font-size: 18px !important; }
  .lx-float__icon { width: 36px; height: 36px; }
  .lx-float--a { left: -2%; top: 8%; }
  .lx-float--b { right: -2%; top: 42%; }
  .lx-float--c { right: 4%; bottom: 6%; left: 10%; }
  .lx-ofi__visual { min-height: 0; }
  .lx-waves { display: none; }
  .lx-phone--chat { width: 320px; }
  .lx-chat { height: 600px; }
  .lx-blob { width: 420px; height: 420px; }
  .lx-label { font-size: 13px; gap: 12px; }
  .lx-label img { width: 36px; height: 36px; }
  .lx-points li { font-size: 16px; }
  .lx-points span { width: 46px; height: 46px; border-radius: 14px; }
  .lx-bento { gap: 14px; }
  .lx-bento .lx-card, .lx-bento .lx-card:nth-child(n) { grid-column: 1 / -1; padding: 22px; }
  .lx-mini { grid-template-columns: 1fr; }
  .lx-ticket { flex-direction: column-reverse; gap: 46px; }
  .lx-scan { width: 230px; }
  .lx-phone--sm { width: 270px; }
  .lx-sectors { gap: 12px; }
  .lx-sector { border-radius: 16px; }
  .lx-sector span { font-size: 14px; gap: 8px; padding: 30px 12px 12px; }
  .lx-sector span svg { width: 18px; height: 18px; }
  .lx-more summary { border-radius: 22px; font-size: 14px; }
  .lx-toggle button { padding: 10px 18px; font-size: 15px; }
  .lx-price__num strong { font-size: 54px; }
  .lx-advisors { border-radius: 28px; }
  .lx-stats div { padding-right: 18px; margin-right: 18px; }
  .lx-stats strong { font-size: 40px; }
  .lx-stats span { font-size: 15px; }
  .lx-laptop__screen { border-width: 8px 8px 12px; grid-template-columns: 1fr; }
  .lx-laptop__screen aside { display: none; }
  .lx-lock { width: 150px; right: -6px; bottom: -60px; border-width: 6px; border-radius: 26px; }
  .lx-lock__time { font-size: 32px; }
  .lx-advisors__visual { margin-bottom: 50px; }
  .lx-final { border-radius: 28px; padding: 34px 22px; }
  .lx-final__phones { min-height: 430px; }
  .lx-phone--front { width: 220px; }
  .lx-phone--back { width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  .lx-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .lx-float, .lx-blob, .lx-waves i, .lx-scan__line, .lx-mic::before, .lx-mic::after { animation: none !important; }
}

.lp-foot__brand .lp-badges { justify-content: flex-start; }
