/* =====================================================================
   Landing pública de PostMaria (/Presentacion). Hoja propia, sin Bootstrap ni site.css: todo va
   con prefijo lp- para no cruzarse con la app. Misma paleta que la web (azul marino + acento azul)
   y la Poppins que ya sirve wwwroot/fonts.
   ===================================================================== */

@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("../fonts/poppins-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("../fonts/poppins-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("../fonts/poppins-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-display: swap; src: url("../fonts/poppins-800-latin.woff2") format("woff2"); }

:root {
    --lp-navy: #1f3a5f;
    --lp-navy-dark: #122238;
    --lp-navy-deep: #0c1828;
    --lp-accent: #2f6fed;
    --lp-accent-dark: #1f56c8;
    --lp-red: #e0322b;
    --lp-ink: #1d2938;
    --lp-muted: #5b6b80;
    --lp-line: #e3e8f0;
    --lp-tint: #f4f7fb;
    --lp-white: #fff;
    --lp-yellow: rgba(255, 214, 90, .6);
    --lp-green: rgba(168, 230, 176, .85);
    --lp-radius: 16px;
    --lp-shadow: 0 18px 40px -18px rgba(18, 34, 56, .35);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body.lp {
    margin: 0;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-ink);
    background: var(--lp-white);
    -webkit-font-smoothing: antialiased;
}

.lp img { max-width: 100%; display: block; }
/* :where() deja esta regla sin especificidad: si no, le gana al color de los botones (.lp-btn--light). */
:where(.lp) a { color: inherit; }

.lp-wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .lp-wrap { padding: 0 16px; } }

/* ---------- Botones ---------- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
    white-space: nowrap;
}
.lp-btn:focus-visible { outline: 3px solid rgba(47, 111, 237, .45); outline-offset: 2px; }
.lp-btn--sm { padding: .5rem 1.15rem; font-size: .9rem; }
.lp-btn--lg { padding: .9rem 1.6rem; font-size: 1rem; }
.lp-btn--primary { background: var(--lp-accent); color: #fff; box-shadow: 0 8px 20px -8px rgba(47, 111, 237, .7); }
.lp-btn--primary:hover { background: var(--lp-accent-dark); transform: translateY(-1px); }
.lp-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .45); }
.lp-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.lp-btn--light { background: #fff; color: var(--lp-navy-dark); }
.lp-btn--light:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); }

/* ---------- Barra superior ---------- */
.lp-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    transition: box-shadow .2s ease;
}
.lp-nav--scrolled { box-shadow: 0 6px 24px -14px rgba(18, 34, 56, .45); }
.lp-nav__inner { display: flex; align-items: center; gap: 2rem; height: 68px; }
.lp-nav__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.lp-nav__logo { height: 30px; width: auto; }
.lp-nav__product {
    font-weight: 700;
    color: var(--lp-navy);
    padding-left: .75rem;
    border-left: 1.5px solid var(--lp-line);
    letter-spacing: -.01em;
}
.lp-nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.lp-nav__links a { text-decoration: none; color: var(--lp-muted); font-weight: 500; font-size: .93rem; }
.lp-nav__links a:hover { color: var(--lp-navy); }
@media (max-width: 860px) {
    .lp-nav__links { display: none; }
    .lp-nav__inner > .lp-btn { margin-left: auto; }
}
@media (max-width: 420px) { .lp-nav__product { display: none; } }

/* ---------- Hero ---------- */
.lp-hero {
    position: relative;
    color: #fff;
    padding: 88px 0 104px;
    background-color: var(--lp-navy-dark);
    background-image:
        radial-gradient(1100px 500px at 85% -10%, rgba(47, 111, 237, .45), transparent 60%),
        linear-gradient(115deg, rgba(12, 24, 40, .96) 0%, rgba(18, 34, 56, .86) 45%, rgba(31, 58, 95, .62) 100%),
        url("../img/login-ship.jpg");
    background-size: auto, cover, cover;
    background-position: center, center, center;
    overflow: hidden;
}
.lp-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .lp-hero__grid { grid-template-columns: 1fr; gap: 48px; } .lp-hero { padding: 64px 0 80px; } }

.lp-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #a9c4ff;
    margin-bottom: 1rem;
}
.lp-eyebrow--dark { color: var(--lp-accent); }

.lp-hero__title {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.025em;
    margin: 0 0 1.25rem;
}
.lp-hl {
    background: linear-gradient(90deg, #ffd65a, #ffb84d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.lp-hero__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .82); max-width: 34rem; margin: 0 0 2rem; }
.lp-hero__lead strong { color: #fff; font-weight: 600; }
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; }
.lp-hero__cta--center { justify-content: center; }
.lp-hero__checks { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.lp-hero__checks li { position: relative; padding-left: 1.6rem; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.lp-hero__checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35em;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: rgba(116, 214, 140, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2378e08f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ---------- Maqueta en vivo ---------- */
.lp-demo {
    background: #fff;
    color: var(--lp-ink);
    border-radius: var(--lp-radius);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08);
    overflow: hidden;
    transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
    transition: transform .5s ease;
}
.lp-demo:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
@media (max-width: 980px) { .lp-demo { transform: none; } }
.lp-demo__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem 1rem; background: var(--lp-tint); border-bottom: 1px solid var(--lp-line); }
.lp-demo__dot { width: 10px; height: 10px; border-radius: 50%; background: #d7dde7; }
.lp-demo__dot:first-child { background: #ff6b5e; }
.lp-demo__dot:nth-child(2) { background: #ffc244; }
.lp-demo__dot:nth-child(3) { background: #34c759; }
.lp-demo__title { margin-left: .6rem; font-weight: 600; font-size: .85rem; color: var(--lp-navy); }
.lp-demo__live { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 600; color: #1c8a3c; text-transform: uppercase; letter-spacing: .06em; }
.lp-demo__pulse { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); animation: lp-pulse 1.8s infinite; }
@keyframes lp-pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 199, 89, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0); } }

.lp-demo__table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.lp-demo__table th { text-align: left; font-weight: 600; color: var(--lp-muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .05em; padding: .6rem .9rem; border-bottom: 1px solid var(--lp-line); }
.lp-demo__table td { padding: .55rem .9rem; border-bottom: 1px solid #f0f3f7; white-space: nowrap; }
.lp-demo__table td:first-child { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .76rem; color: var(--lp-navy); }
@media (max-width: 520px) { .lp-demo__table th:nth-child(4), .lp-demo__table td:nth-child(4) { display: none; } }
.lp-demo__foot { display: flex; gap: 1.2rem; padding: .7rem 1rem; font-size: .74rem; color: var(--lp-muted); background: var(--lp-tint); }

.lp-canal { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .4rem; vertical-align: .02rem; }
.lp-canal--v { background: #2e7d32; }
.lp-canal--n { background: #ef6c00; }
.lp-canal--r { background: #c62828; }
.lp-sw { display: inline-block; width: .7rem; height: .7rem; border-radius: 3px; margin-right: .35rem; vertical-align: -.05rem; }
.lp-sw--y { background: rgb(255, 214, 90); }
.lp-sw--g { background: rgb(168, 230, 176); }

/* Los mismos destellos que la grilla real (.celda-actualizada / .celda-cambiada de site.css). */
.lp-flash { animation: lp-flash 2.2s cubic-bezier(.22, .61, .36, 1); }
.lp-flash--new { animation: lp-flash-new 3.2s cubic-bezier(.22, .61, .36, 1); }
@keyframes lp-flash { 12% { background: var(--lp-yellow); box-shadow: inset 0 0 0 1px rgba(255, 179, 0, .6); } 100% { background: transparent; } }
@keyframes lp-flash-new { 10% { background: var(--lp-green); box-shadow: inset 0 0 0 1px rgba(76, 175, 80, .7); } 100% { background: transparent; } }

/* ---------- Franja de valor ---------- */
.lp-strip { background: var(--lp-navy-deep); color: #fff; padding: 34px 0; }
.lp-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.lp-strip__item { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 2px solid rgba(47, 111, 237, .7); }
.lp-strip__item strong { font-size: 1.08rem; font-weight: 700; }
.lp-strip__item span { font-size: .86rem; color: rgba(255, 255, 255, .65); }
@media (max-width: 860px) { .lp-strip__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-strip__grid { grid-template-columns: 1fr; } }

/* ---------- Secciones ---------- */
.lp-section { padding: 104px 0; }
.lp-section--tint { background: var(--lp-tint); }
@media (max-width: 760px) { .lp-section { padding: 72px 0; } }
.lp-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.lp-h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--lp-navy-dark); margin: 0 0 1rem; }
.lp-p { color: var(--lp-muted); font-size: 1.05rem; margin: 0 0 1.5rem; }
.lp-p--center { margin: 0 auto; }
.lp-p strong { color: var(--lp-ink); }

.lp-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.lp-list li { position: relative; padding-left: 2rem; color: var(--lp-muted); }
.lp-list li b { color: var(--lp-ink); font-weight: 600; }
.lp-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 6px;
    background: rgba(47, 111, 237, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%232f6fed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}

.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.lp-split--reverse .lp-split__copy { order: 2; }
@media (max-width: 920px) {
    .lp-split { grid-template-columns: 1fr; gap: 44px; }
    .lp-split--reverse .lp-split__copy { order: 0; }
}

/* ---------- Recorrido de estados ---------- */
.lp-states {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    padding: 36px 16px;
    background: linear-gradient(160deg, #fff 0%, var(--lp-tint) 100%);
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
}
.lp-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 76px;
    padding: .8rem .55rem;
    border-radius: 14px;
    background: #fff;
    border: 1.5px dashed #c9d3e1;
}
.lp-state span { font-weight: 800; font-size: 1.05rem; color: #9aa8bb; letter-spacing: .03em; }
.lp-state small { font-size: .72rem; color: #9aa8bb; }
.lp-state--done { border-style: solid; border-color: rgba(47, 111, 237, .35); }
.lp-state--done span { color: var(--lp-accent); }
.lp-state--done small { color: var(--lp-muted); }
.lp-state--now { border: 1.5px solid #4caf50; background: rgba(168, 230, 176, .35); animation: lp-now 2.4s ease-in-out infinite; }
.lp-state--now span { color: #1c7a35; }
.lp-state--now small { color: #2e6b3a; }
@keyframes lp-now { 50% { box-shadow: 0 0 0 7px rgba(76, 175, 80, .15); } }
.lp-state__arrow { width: 14px; height: 2px; background: #c9d3e1; position: relative; }
.lp-state__arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border: 5px solid transparent; border-left-color: #c9d3e1; border-right: 0; }
.lp-states__note { text-align: center; color: var(--lp-muted); font-size: .88rem; margin: 1rem 0 0; }
@media (max-width: 520px) { .lp-state__arrow { display: none; } }

/* ---------- Tarjetas de funciones ---------- */
.lp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 980px) { .lp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .lp-cards { grid-template-columns: 1fr; } }
.lp-card {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: var(--lp-radius);
    padding: 28px 26px;
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.lp-card:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow); border-color: transparent; }
.lp-card h3 { font-size: 1.12rem; font-weight: 700; color: var(--lp-navy-dark); margin: 1rem 0 .5rem; }
.lp-card p { color: var(--lp-muted); font-size: .94rem; margin: 0; }
.lp-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.lp-card__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-ic--blue { background: rgba(47, 111, 237, .1); color: #2f6fed; }
.lp-ic--violet { background: rgba(124, 77, 255, .1); color: #6d45e0; }
.lp-ic--teal { background: rgba(0, 150, 160, .1); color: #00838f; }
.lp-ic--amber { background: rgba(255, 160, 0, .12); color: #c77700; }
.lp-ic--green { background: rgba(46, 160, 67, .11); color: #238636; }
.lp-ic--red { background: rgba(224, 50, 43, .1); color: var(--lp-red); }
.lp-ic--navy { background: rgba(31, 58, 95, .1); color: var(--lp-navy); }

/* ---------- Constructor de reportes ---------- */
.lp-builder {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 18px;
    padding: 26px;
    background: var(--lp-navy-dark);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
}
@media (max-width: 480px) { .lp-builder { grid-template-columns: 1fr; } }
.lp-builder__col { display: flex; flex-direction: column; gap: .55rem; }
.lp-builder__col h4 { margin: 0 0 .3rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 600; }
.lp-chip { display: inline-block; align-self: flex-start; padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600; }
.lp-chip--l0 { background: #dbe8ff; color: #1f4fa8; }
.lp-chip--l1 { background: #d8f3ea; color: #13704f; }
.lp-chip--l2 { background: #fdebd3; color: #9a5a0b; }
.lp-chip--cli { background: #e4d9f7; color: #4b3577; }
.lp-builder__col--sel { background: rgba(255, 255, 255, .06); border-radius: 14px; padding: 14px; }
.lp-pick { background: #fff; border-radius: 10px; padding: .5rem .75rem; font-size: .84rem; color: var(--lp-ink); box-shadow: 0 2px 0 rgba(0, 0, 0, .08); }
.lp-pick--new { animation: lp-pick 4s ease-in-out infinite; }
@keyframes lp-pick { 0%, 15% { opacity: 0; transform: translateY(-6px); } 25%, 100% { opacity: 1; transform: none; } }
.lp-builder__xls { margin-top: .4rem; text-align: center; padding: .55rem; border-radius: 10px; background: #1d7a45; color: #fff; font-weight: 600; font-size: .84rem; }

/* ---------- Pasos ---------- */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: none; }
@media (max-width: 860px) { .lp-steps { grid-template-columns: 1fr; } }
.lp-step { background: #fff; border-radius: var(--lp-radius); padding: 30px 28px; border: 1px solid var(--lp-line); position: relative; }
.lp-step__n {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lp-accent), #5b8cff);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -10px rgba(47, 111, 237, .8);
}
.lp-step h3 { font-size: 1.1rem; color: var(--lp-navy-dark); margin: 1.1rem 0 .45rem; }
.lp-step p { margin: 0; color: var(--lp-muted); font-size: .95rem; }

/* ---------- Llamado final ---------- */
.lp-final {
    padding: 96px 0;
    color: #fff;
    text-align: center;
    background:
        radial-gradient(800px 360px at 50% 0%, rgba(47, 111, 237, .5), transparent 70%),
        linear-gradient(180deg, var(--lp-navy-dark), var(--lp-navy-deep));
}
.lp-final h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 .6rem; }
.lp-final p { color: rgba(255, 255, 255, .75); font-size: 1.1rem; margin: 0 0 2rem; }

/* ---------- Pie ---------- */
.lp-footer { background: var(--lp-navy-deep); border-top: 1px solid rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .6); font-size: .85rem; }
.lp-footer__inner { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
.lp-footer__inner img { height: 22px; width: auto; filter: brightness(1.8); }
.lp-footer__inner a { margin-left: auto; color: #fff; text-decoration: none; font-weight: 600; }

/* ---------- Aparición al hacer scroll ---------- */
.lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.lp-reveal--in { opacity: 1; transform: none; }
.lp-cards .lp-reveal:nth-child(3n+2) { transition-delay: .08s; }
.lp-cards .lp-reveal:nth-child(3n) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
    .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-demo, .lp-demo:hover { transform: none; }
    .lp-demo__pulse, .lp-state--now, .lp-pick--new { animation: none; }
}

/* =====================================================================
   Maquetas de las secciones destacadas: temporales, PDF, mail y reintegros.
   ===================================================================== */

/* Panel genérico (temporales, reintegros). */
.lp-panel {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
    padding: 22px 22px 16px;
}
.lp-panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 14px; }
.lp-panel__head span { font-weight: 700; color: var(--lp-navy-dark); }
.lp-panel__head small { color: var(--lp-muted); font-size: .78rem; }
.lp-panel__foot { display: flex; align-items: center; gap: .5rem; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lp-line); font-size: .8rem; color: var(--lp-muted); }
.lp-arca-dot { width: 8px; height: 8px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52, 199, 89, .6); animation: lp-pulse 1.8s infinite; }

/* Temporales: número, días para vencer y barra de saldo. */
.lp-temp { padding: 12px 0; border-bottom: 1px solid #f0f3f7; }
.lp-temp:last-of-type { border-bottom: 0; }
.lp-temp__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lp-temp__nro { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .82rem; color: var(--lp-navy); }
.lp-days { font-size: .75rem; font-weight: 700; padding: .2rem .6rem; border-radius: 999px; }
.lp-days--red { background: #fde4e2; color: #b42318; }
.lp-days--amber { background: #fff1d6; color: #a15c07; }
.lp-days--green { background: #dcf5e3; color: #1c7a35; }
.lp-temp__saldo { display: flex; align-items: center; gap: .75rem; margin-top: .5rem; }
.lp-temp__saldo small { color: var(--lp-muted); font-size: .76rem; white-space: nowrap; }
.lp-temp__bar { flex: 1; height: 8px; border-radius: 999px; background: #eef2f7; overflow: hidden; }
.lp-temp__bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--lp-accent), #5b8cff); }

/* Íconos de archivo. */
.lp-file {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 40px;
    height: 48px;
    border-radius: 6px 12px 6px 6px;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #fff;
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12);
}
.lp-file--pdf { background: #e0322b; }
.lp-file--digi { background: #6d45e0; }
.lp-file--ret { background: #2f6fed; }
.lp-file--zip { background: #1f3a5f; }
.lp-file--xls { background: #1d7a45; }

/* PDF: tarjetas de archivo apiladas + barra de descarga masiva. */
.lp-files {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(160deg, #fff 0%, var(--lp-tint) 100%);
    border: 1px solid var(--lp-line);
    box-shadow: var(--lp-shadow);
}
.lp-filecard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    padding: 16px 14px;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 14px;
    transition: transform .2s ease, box-shadow .2s ease;
}
.lp-filecard:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -16px rgba(18, 34, 56, .5); }
.lp-filecard strong { font-size: .92rem; color: var(--lp-navy-dark); margin-top: .35rem; }
.lp-filecard small { font-size: .75rem; color: var(--lp-muted); line-height: 1.35; }
.lp-zip {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 14px 16px;
    border-radius: 14px;
    background: var(--lp-navy-dark);
    color: #fff;
}
.lp-zip strong { display: block; font-size: .92rem; }
.lp-zip small { color: rgba(255, 255, 255, .65); font-size: .78rem; }
.lp-zip__go { margin-left: auto; padding: .45rem 1rem; border-radius: 999px; background: var(--lp-accent); font-weight: 600; font-size: .82rem; }
@media (max-width: 520px) {
    .lp-files { grid-template-columns: 1fr; }
    .lp-zip { flex-wrap: wrap; }
    .lp-zip__go { margin-left: 0; }
}

/* Mail: vista previa de un correo con el adjunto y la programación. */
.lp-mail {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
    padding: 22px 24px;
    position: relative;
}
.lp-mail::before {
    content: "";
    position: absolute;
    inset: -10px 18px auto auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--lp-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E") center / 24px no-repeat;
    box-shadow: 0 10px 20px -10px rgba(47, 111, 237, .8);
}
.lp-mail__head { display: flex; gap: 1rem; font-size: .8rem; color: var(--lp-muted); }
.lp-mail__from { font-weight: 700; color: var(--lp-navy); }
.lp-mail__subject { font-weight: 700; color: var(--lp-navy-dark); margin: .5rem 0 .35rem; padding-right: 3rem; }
.lp-mail__body { margin: 0 0 1rem; font-size: .88rem; color: var(--lp-muted); }
.lp-mail__att { display: flex; align-items: center; gap: .8rem; padding: 10px 12px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-tint); }
.lp-mail__att strong { display: block; font-size: .86rem; color: var(--lp-ink); }
.lp-mail__att small { font-size: .74rem; color: var(--lp-muted); }
.lp-mail__sched { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; }
.lp-mail__sched span { font-size: .74rem; font-weight: 600; padding: .25rem .6rem; border-radius: 999px; background: #eef2f7; color: var(--lp-muted); }
.lp-mail__sched span.on { background: rgba(47, 111, 237, .12); color: var(--lp-accent); }
.lp-mail__sched em { margin-left: auto; font-style: normal; font-size: .78rem; font-weight: 600; color: var(--lp-navy); }

/* Reintegros: filas con el estado en una pastilla. */
.lp-benef { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 12px 0; border-bottom: 1px solid #f0f3f7; }
.lp-benef:last-of-type { border-bottom: 0; }
.lp-pill { font-size: .74rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px; white-space: nowrap; }
.lp-pill--green { background: #dcf5e3; color: #1c7a35; }
.lp-pill--blue { background: #dbe8ff; color: #1f4fa8; }
.lp-pill--amber { background: #fff1d6; color: #a15c07; }
.lp-pill--red { background: #fde4e2; color: #b42318; }

@media (prefers-reduced-motion: reduce) {
    .lp-arca-dot { animation: none; }
    .lp-filecard:hover { transform: none; }
}

/* Tableros: pestañas, dos indicadores y un gráfico de barras que crece al aparecer. */
.lp-dash {
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
    padding: 20px 22px 16px;
}
.lp-dash__tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 16px; }
.lp-dash__tabs span { font-size: .76rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; background: #eef2f7; color: var(--lp-muted); }
.lp-dash__tabs span.on { background: var(--lp-navy-dark); color: #fff; }
.lp-dash__kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-kpi { padding: 12px 14px; border-radius: 14px; background: var(--lp-tint); }
.lp-kpi small { display: block; font-size: .72rem; color: var(--lp-muted); }
.lp-kpi strong { display: block; font-size: 1.35rem; font-weight: 800; color: var(--lp-navy-dark); line-height: 1.3; }
.lp-kpi strong em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--lp-muted); }
.lp-kpi span { font-size: .72rem; color: var(--lp-muted); }
.lp-kpi .lp-kpi__up { color: #1c7a35; font-weight: 600; }
.lp-dash__chart { display: flex; align-items: flex-end; gap: 6px; height: 120px; margin-top: 16px; padding: 0 2px; }
.lp-dash__chart i {
    flex: 1;
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #5b8cff, var(--lp-accent));
    transform-origin: bottom;
    transform: scaleY(.05);
    transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.lp-dash__chart i:last-child { background: linear-gradient(180deg, #ffd65a, #ffb84d); }
.lp-reveal--in .lp-dash__chart i { transform: scaleY(1); }
.lp-reveal--in .lp-dash__chart i:nth-child(2n) { transition-delay: .05s; }
.lp-reveal--in .lp-dash__chart i:nth-child(3n) { transition-delay: .1s; }
@media (prefers-reduced-motion: reduce) { .lp-dash__chart i { transform: none; transition: none; } }

/* ---------- Contacto ---------- */
.lp-contact { background: linear-gradient(180deg, var(--lp-tint) 0%, #fff 100%); }
.lp-contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
@media (max-width: 920px) { .lp-contact__grid { grid-template-columns: 1fr; gap: 36px; } }
.lp-contact__wa { color: var(--lp-accent); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid rgba(47, 111, 237, .35); }
.lp-contact__wa:hover { border-bottom-color: var(--lp-accent); }

.lp-form {
    display: grid;
    gap: 16px;
    padding: 30px;
    background: #fff;
    border: 1px solid var(--lp-line);
    border-radius: 22px;
    box-shadow: var(--lp-shadow);
}
.lp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .lp-form__row { grid-template-columns: 1fr; } .lp-form { padding: 22px; } }
.lp-field { display: grid; gap: .35rem; }
.lp-field span { font-size: .82rem; font-weight: 600; color: var(--lp-navy-dark); }
.lp-field input, .lp-field textarea {
    width: 100%;
    font: inherit;
    font-size: .95rem;
    color: var(--lp-ink);
    padding: .7rem .85rem;
    border: 1.5px solid var(--lp-line);
    border-radius: 12px;
    background: var(--lp-tint);
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.lp-field textarea { resize: vertical; min-height: 120px; }
.lp-field input:focus, .lp-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--lp-accent);
    box-shadow: 0 0 0 4px rgba(47, 111, 237, .14);
}
.lp-form__send { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.lp-form__send:disabled { opacity: .7; cursor: progress; transform: none; }
/* El campo trampa queda fuera de pantalla (no display:none: algunos bots los saltean). */
.lp-form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lp-form__status { margin: 0; font-size: .9rem; min-height: 1.4em; }
.lp-form__status--ok { color: #1c7a35; font-weight: 600; }
.lp-form__status--error { color: #b42318; font-weight: 600; }

/* ---- Avisos (la campana): lista de notificaciones y los ajustes de qué ver ---- */
.lp-avisos { padding-bottom: 16px; }
.lp-aviso { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 10px; }
.lp-aviso + .lp-aviso { margin-top: 2px; }
.lp-aviso--nuevo { background: #eef4ff; }
.lp-aviso__ic { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; }
.lp-aviso__ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-aviso__ic--red { background: #fde4e2; color: #b42318; }
.lp-aviso__ic--blue { background: #dbe8ff; color: #1f4fa8; }
.lp-aviso__ic--amber { background: #fff1d6; color: #a15c07; }
.lp-aviso__ic--navy { background: #e6ebf2; color: var(--lp-navy); }
.lp-aviso__txt { display: flex; flex-direction: column; min-width: 0; }
.lp-aviso__txt strong { font-size: .9rem; color: var(--lp-ink); }
.lp-aviso__txt small { font-size: .76rem; color: var(--lp-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-avisos__ajustes { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--lp-line); font-size: .8rem; color: var(--lp-muted); }
.lp-avisos__ajustes > span:first-child { font-weight: 700; color: var(--lp-navy-dark); margin-right: 4px; }
/* Interruptor dibujado con CSS: la pastilla y la perilla, prendido en el acento. */
.lp-toggle { display: inline-flex; align-items: center; gap: 6px; }
.lp-toggle::before { content: ""; width: 28px; height: 16px; border-radius: 999px; background: #cfd8e3 radial-gradient(circle at 8px 50%, #fff 5px, transparent 5.5px); transition: background .2s; }
.lp-toggle.on::before { background: var(--lp-accent) radial-gradient(circle at 20px 50%, #fff 5px, transparent 5.5px); }

/* ---- Fotos desde el celular: un teléfono con la grilla, el visor de la cámara y el aviso ---- */
.lp-phone { width: 270px; margin: 0 auto; padding: 12px; border-radius: 38px; background: var(--lp-navy-deep); box-shadow: var(--lp-shadow); }
.lp-phone__screen { position: relative; overflow: hidden; border-radius: 28px; background: #fff; padding-bottom: 16px; }
.lp-phone__bar { padding: 22px 16px 10px; background: var(--lp-navy); color: #fff; font-size: .8rem; font-weight: 600; }
.lp-phone__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--lp-line); font-size: .78rem; }
.lp-phone__icons { display: inline-flex; gap: 6px; }
.lp-phone__ic { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; color: var(--lp-accent); }
.lp-phone__ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* La cámara, la que se toca: con un latido suave para que se note. */
.lp-phone__ic--cam { background: rgba(47, 111, 237, .12); animation: lp-latido 2.4s ease-in-out infinite; }
@keyframes lp-latido { 0%, 100% { box-shadow: 0 0 0 0 rgba(47, 111, 237, .35); } 50% { box-shadow: 0 0 0 7px rgba(47, 111, 237, 0); } }
.lp-phone__visor { position: relative; margin: 14px 14px 0; height: 230px; border-radius: 16px; background: linear-gradient(160deg, #2a3645, #141c26); display: flex; align-items: center; justify-content: center; }
/* Una factura vista por la cámara, levemente torcida. */
.lp-phone__doc { width: 58%; height: 70%; padding: 14px 12px; border-radius: 4px; background: #f7f4ec; transform: rotate(-4deg); box-shadow: 0 8px 18px rgba(0, 0, 0, .35); display: flex; flex-direction: column; gap: 8px; }
.lp-phone__doc i { display: block; height: 6px; border-radius: 3px; background: #d6d0c2; }
.lp-phone__doc i:first-child { width: 55%; height: 9px; background: #b9b2a2; }
.lp-phone__doc i:nth-child(3) { width: 80%; }
.lp-phone__doc i:last-child { width: 40%; margin-top: auto; }
.lp-phone__shutter { position: absolute; bottom: 12px; left: 50%; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .35); }
.lp-phone__toast { display: flex; align-items: center; gap: 8px; margin: 14px 14px 0; padding: 10px 12px; border-radius: 12px; background: #dcf5e3; color: #1c7a35; font-size: .78rem; font-weight: 600; }
.lp-phone__toast svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) { .lp-phone__ic--cam { animation: none; } }
