/* =============================================================
   MuniSistemas — Página informativa de pre-lanzamiento
   assets/css/pronto.css
   -------------------------------------------------------------
   Mismo lenguaje visual que la página corporativa
   (navy / cian, Plus Jakarta Sans + Inter), pero autocontenido
   para no depender de main.css.
   ============================================================= */

:root {
    --navy-900: #0B2551;
    --navy-800: #123067;
    --navy-700: #173A7A;
    --blue-600: #1B5FBF;
    --cyan-500: #2FA8E8;
    --cyan-400: #56BDF2;
    --teal-500: #0FB5A6;

    --ink: #0E1B33;
    --muted: #5B6B85;
    --muted-2: #8494AC;
    --line: #E3EAF5;
    --line-soft: #EDF2FA;
    --bg: #F6F9FE;

    --grad-brand: linear-gradient(120deg, var(--navy-800) 0%, var(--blue-600) 48%, var(--cyan-500) 100%);

    --radius: 18px;
    --radius-lg: 26px;

    --shadow-sm: 0 4px 14px rgba(16, 42, 92, .07);
    --shadow: 0 14px 34px rgba(16, 42, 92, .10);
    --shadow-lg: 0 28px 70px rgba(16, 42, 92, .16);

    --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

    --container: 1080px;
    --ease: cubic-bezier(.22, .8, .28, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.pronto {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.68;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.024em;
    margin: 0 0 .5em;
    color: var(--navy-900);
}
p { margin: 0 0 1em; }

::selection { background: var(--cyan-500); color: #fff; }
:focus-visible { outline: 3px solid var(--cyan-500); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.text-gradient {
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue-600);
    background: rgba(47, 168, 232, .10);
    border: 1px solid rgba(47, 168, 232, .22);
    padding: 7px 15px;
    border-radius: 100px;
    margin-bottom: 20px;
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(47, 168, 232, .20);
}
.eyebrow--claro {
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .24);
}
.eyebrow--claro::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18); }

.h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: .36em; }
.lead { font-size: 1.06rem; color: var(--muted); margin: 0; }

/* ── Botones ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 100px;
    border: 1px solid transparent;
    background: var(--navy-800);
    color: #fff;
    font-weight: 700;
    font-size: .97rem;
    letter-spacing: -.01em;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
    background: var(--grad-brand);
    background-size: 180% 180%;
    box-shadow: 0 10px 26px rgba(27, 95, 191, .30);
}
.btn--primary:hover { background-position: 100% 50%; box-shadow: 0 16px 36px rgba(27, 95, 191, .38); }
.btn--primary:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.btn--ghost {
    background: rgba(255, 255, 255, .78);
    color: var(--navy-800);
    border-color: var(--line);
    backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }

.btn--light { background: #fff; color: var(--navy-800); box-shadow: var(--shadow-sm); }

/* ── Fondo animado ─────────────────────────────────────────── */
.pronto-progress {
    position: fixed;
    inset: 0 auto auto 0;
    height: 3px;
    width: 0;
    background: var(--grad-brand);
    z-index: 90;
}

.pronto-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }

.pronto-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 58, 122, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 58, 122, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 78%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .42;
    pointer-events: none;
    will-change: transform;
}
.blob--a { width: 460px; height: 460px; top: -120px; right: -80px; background: rgba(47, 168, 232, .55); }
.blob--b { width: 400px; height: 400px; top: 34%; left: -160px; background: rgba(27, 95, 191, .40); }
.blob--c { width: 340px; height: 340px; bottom: -100px; right: 12%; background: rgba(15, 181, 166, .34); }

/* ── Hero ──────────────────────────────────────────────────── */
.pronto-main { position: relative; }

.pronto-hero {
    padding: 78px 0 46px;
    text-align: center;
    background:
        radial-gradient(900px 520px at 50% -10%, rgba(255, 255, 255, .9), transparent 60%),
        linear-gradient(180deg, #FBFDFF 0%, rgba(246, 249, 254, 0) 100%);
}

.pronto-logo { max-width: 460px; margin: 0 auto 30px; }
.pronto-logo img { width: 100%; height: auto; filter: drop-shadow(0 8px 26px rgba(16, 42, 92, .13)); }

.badge-soon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 20px 9px 15px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .88rem;
    color: var(--navy-800);
    letter-spacing: .01em;
    margin-bottom: 26px;
}
.badge-soon__dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--teal-500);
    box-shadow: 0 0 0 0 rgba(15, 181, 166, .55);
    animation: pulse 2.2s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(15, 181, 166, .55); }
    70%  { box-shadow: 0 0 0 12px rgba(15, 181, 166, 0); }
    100% { box-shadow: 0 0 0 0 rgba(15, 181, 166, 0); }
}

.pronto-hero h1 {
    font-size: clamp(2.05rem, 4.6vw, 3.3rem);
    letter-spacing: -.032em;
    max-width: 860px;
    margin: 0 auto 20px;
}

.pronto-sub {
    font-size: 1.09rem;
    color: var(--muted);
    max-width: 660px;
    margin: 0 auto 30px;
}

.pronto-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 18px;
}

.pronto-hint {
    font-size: .88rem;
    color: var(--muted-2);
    max-width: 540px;
    margin: 0 auto;
}

/* ── Cinta de módulos ──────────────────────────────────────── */
.pronto-mods { padding: 20px 0 46px; }

.pronto-mods__label {
    text-align: center;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 20px;
}

.mods-rail {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 6px 0;
}
.mods-track {
    display: flex;
    gap: 14px;
    width: max-content;
    animation: rail 38s linear infinite;
}
.mods-rail:hover .mods-track { animation-play-state: paused; }

@keyframes rail {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.mod-pill {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 20px 11px 12px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    font-weight: 600;
    font-size: .93rem;
    color: var(--navy-900);
    transition: transform .25s var(--ease), border-color .25s;
}
.mod-pill:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); }
.mod-pill img { width: 34px; height: 34px; }

/* ── Qué incluye ───────────────────────────────────────────── */
.pronto-section { padding: 82px 0; position: relative; }
.pronto-section--alt { background: #fff; border-block: 1px solid var(--line-soft); }

.pronto-head { max-width: 700px; margin-bottom: 44px; }

.incluye-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.incluye-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px 26px;
    overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.incluye-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--grad-brand);
    opacity: .85;
}
.incluye-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #CFE0F6; }

.incluye-card__num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.1rem;
    line-height: 1;
    background: var(--grad-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: .34;
    margin-bottom: 12px;
}
.incluye-card h3 { font-size: 1.1rem; margin-bottom: .42em; }
.incluye-card p { font-size: .93rem; color: var(--muted); margin: 0; }

.incluye-mods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
}
.tag-mod {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px 8px 10px;
    border-radius: 100px;
    background: color-mix(in srgb, var(--c) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--c) 22%, var(--line));
    font-size: .85rem;
    font-weight: 600;
    color: var(--navy-900);
    transition: transform .22s var(--ease);
}
.tag-mod:hover { transform: translateY(-2px); }
.tag-mod img { width: 18px; height: 18px; }

/* ── Demo ──────────────────────────────────────────────────── */
.demo-wrap { display: grid; grid-template-columns: .95fr 1.05fr; gap: 46px; align-items: start; }

.demo-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.demo-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.demo-list i {
    flex: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(15, 181, 166, .13);
    border: 1px solid rgba(15, 181, 166, .3);
    display: grid;
    place-items: center;
    color: var(--teal-500);
    margin-top: 2px;
}
.demo-list svg { width: 13px; height: 13px; }

.demo-contacto { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.demo-contacto a {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    padding: 11px 18px 11px 12px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 600;
    font-size: .92rem;
    color: var(--navy-800);
    transition: all .25s var(--ease);
}
.demo-contacto a:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--cyan-500); }
.demo-contacto i {
    flex: none;
    width: 30px; height: 30px;
    border-radius: 9px;
    background: var(--grad-brand);
    display: grid;
    place-items: center;
    color: #fff;
}
.demo-contacto svg { width: 15px; height: 15px; }

.demo-form {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--navy-800); }
.field label s { text-decoration: none; color: var(--cyan-500); }

.field input, .field textarea {
    width: 100%;
    padding: 13px 15px;
    border-radius: 13px;
    border: 1px solid var(--line);
    background: #FBFDFF;
    font-size: .95rem;
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--cyan-500);
    box-shadow: 0 0 0 4px rgba(47, 168, 232, .14);
}
.field.has-error input, .field.has-error textarea { border-color: #E4574C; box-shadow: 0 0 0 4px rgba(228, 87, 76, .10); }

.demo-hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.demo-foot { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.demo-foot p { font-size: .8rem; color: var(--muted-2); margin: 0; }

.demo-errores {
    background: #FFF3F2;
    border: 1px solid #F6C9C4;
    border-radius: 13px;
    padding: 15px 18px;
    margin-bottom: 18px;
    font-size: .89rem;
    color: #B03024;
}
.demo-errores ul { margin: 8px 0 0; padding-left: 18px; }

.demo-ok { text-align: center; padding: 26px 8px; }
.demo-ok__icon {
    width: 66px; height: 66px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(15, 181, 166, .12);
    border: 1px solid rgba(15, 181, 166, .3);
    display: grid;
    place-items: center;
    color: var(--teal-500);
    animation: pop .45s var(--ease);
}
@keyframes pop { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.demo-ok__icon svg { width: 30px; height: 30px; }
.demo-ok h3 { font-size: 1.3rem; margin-bottom: .3em; }
.demo-ok p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ── Cierre ────────────────────────────────────────────────── */
.pronto-cierre {
    background: var(--grad-brand);
    color: #fff;
    padding: 74px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.pronto-cierre::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: .5;
}
.pronto-cierre .container { position: relative; }
.pronto-cierre h2 { color: #fff; }
.pronto-cierre .lead { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }

/* ── Footer ────────────────────────────────────────────────── */
.pronto-footer {
    background: var(--navy-900);
    color: rgba(255, 255, 255, .66);
    padding: 40px 0;
}
.pronto-footer__inner { text-align: center; }
.pronto-footer img { height: 42px; width: auto; margin: 0 auto 16px; }
.pronto-footer p { font-size: .86rem; margin: 0 0 6px; }
.pronto-footer__contacto { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pronto-footer a { transition: color .2s; }
.pronto-footer a:hover { color: var(--cyan-400); }

/* ── Animaciones ───────────────────────────────────────────── */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
}
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .mods-track { animation: none; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
    .incluye-grid { grid-template-columns: 1fr; }
    .demo-wrap { grid-template-columns: 1fr; }
    .pronto-section { padding: 62px 0; }
}

@media (max-width: 640px) {
    .pronto-hero { padding: 54px 0 34px; }
    .pronto-logo { max-width: 320px; }
    .pronto-actions { flex-direction: column; }
    .pronto-actions .btn { width: 100%; }
    .demo-grid { grid-template-columns: 1fr; }
    .demo-form { padding: 24px 20px; }
    .demo-contacto a { width: 100%; }
}
