*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f5f8fd;color:#0b1d45;overflow:hidden}.demo-shell{height:100vh;min-height:650px;position:relative;display:flex;flex-direction:column;overflow:hidden;background:radial-gradient(circle at 50% 42%,rgba(35,88,201,.11),transparent 29%),radial-gradient(circle at 10% 15%,rgba(22,63,158,.08),transparent 24%),linear-gradient(135deg,#f8fbff 0%,#eaf2ff 100%)}.demo-shell:before,.demo-shell:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(35,88,201,.09);pointer-events:none}.demo-shell:before{width:560px;height:560px;left:-310px;top:-300px}.demo-shell:after{width:700px;height:700px;right:-430px;bottom:-420px}.demo-brand{height:96px;flex:0 0 96px;display:flex;align-items:center;justify-content:center;gap:13px;z-index:3}.brand-mark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#163f9e,#2358c9);color:white;font-size:21px;font-weight:850;box-shadow:0 10px 26px rgba(22,63,158,.22)}.brand-line{display:flex;align-items:baseline;gap:10px}.brand-line h1{margin:0;font-size:23px;letter-spacing:4px;color:#0b1d45}.brand-line span{font-size:10px;font-weight:800;letter-spacing:1px;color:#2358c9}.demo-brand p{margin:3px 0 0;color:#68799a;font-size:11px;letter-spacing:.2px}.demo-stage{flex:1;min-height:0;display:grid;grid-template-columns:minmax(210px,1fr) 430px minmax(210px,1fr);align-items:center;gap:46px;max-width:1280px;width:100%;margin:0 auto;padding:0 54px 10px;z-index:2}.phone-zone{position:relative;align-self:stretch;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center}.phone-glow{position:absolute;width:390px;height:390px;border-radius:50%;background:rgba(35,88,201,.12);filter:blur(48px)}.phone{position:relative;width:350px;height:min(650px,calc(100vh - 185px));min-height:520px;padding:10px;border:2px solid #0b1d45;border-radius:42px;background:#07142f;box-shadow:0 28px 70px rgba(11,29,69,.24),0 8px 20px rgba(22,63,158,.12);z-index:2}.phone-speaker{position:absolute;z-index:5;top:16px;left:50%;transform:translateX(-50%);width:86px;height:22px;border-radius:14px;background:#07142f}.phone-screen{height:100%;overflow:hidden;border-radius:31px;background:#eaf2ff;display:flex;flex-direction:column}.chat-header{height:72px;flex:0 0 72px;padding:15px 14px 10px;display:flex;align-items:center;gap:10px;background:linear-gradient(135deg,#163f9e,#2358c9);color:white}.chat-avatar{width:38px;height:38px;flex:none;border-radius:50%;display:grid;place-items:center;background:white;color:#163f9e;font-weight:850}.chat-identity{min-width:0;display:flex;flex-direction:column}.chat-identity strong{font-size:14px}.chat-identity span{margin-top:3px;font-size:9px;color:#dce8ff}.chat-identity i,.demo-pill i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#45d483;margin-right:4px}.szenda-mini{margin-left:auto;align-self:flex-end;padding-bottom:2px;color:#dce8ff;font-size:8px}.szenda-mini b{color:#fff;letter-spacing:.6px}.messages{flex:1;min-height:0;padding:19px 13px 14px;display:flex;flex-direction:column;gap:8px;overflow-y:auto;overflow-x:hidden;scroll-behavior:smooth;background:linear-gradient(rgba(255,255,255,.55),rgba(255,255,255,.55)),radial-gradient(circle at 20% 10%,rgba(35,88,201,.07),transparent 25%)}.messages::-webkit-scrollbar{width:4px}.messages::-webkit-scrollbar-thumb{background:rgba(22,63,158,.2);border-radius:10px}.welcome-message{margin:5px auto 9px;width:94%;padding:10px;display:flex;gap:9px;align-items:center;border:1px solid #d7e4fa;border-radius:12px;background:rgba(255,255,255,.88);box-shadow:0 4px 14px rgba(22,63,158,.06)}.welcome-icon{width:30px;height:30px;flex:none;border-radius:9px;display:grid;place-items:center;background:#163f9e;color:white;font-size:11px;font-weight:800}.welcome-message strong{display:block;font-size:10px}.welcome-message p{margin:2px 0 0;color:#68799a;font-size:8.5px}.message{max-width:82%;padding:9px 11px;border-radius:11px;font-size:11px;line-height:1.42;white-space:pre-wrap;word-break:break-word;box-shadow:0 2px 7px rgba(11,29,69,.06)}.message.user{align-self:flex-end;background:#dce8ff;color:#0b1d45;border-bottom-right-radius:3px}.message.bot{align-self:flex-start;background:white;color:#23395f;border-bottom-left-radius:3px}.typing{height:26px;flex:none;padding:4px 14px;display:flex;align-items:center;gap:3px;color:#68799a;background:#f6f9ff;font-size:8px}.typing.hidden{display:none}.typing-dot{width:4px;height:4px;border-radius:50%;background:#2358c9;animation:typing 1.2s infinite}.typing-dot:nth-child(2){animation-delay:.15s}.typing-dot:nth-child(3){animation-delay:.3s}.typing-text{margin-left:4px}@keyframes typing{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}.composer{min-height:62px;flex:none;padding:9px 10px;display:flex;gap:7px;align-items:center;background:#fff;border-top:1px solid #dbe6f7}.composer textarea{flex:1;min-width:0;height:42px;max-height:72px;padding:12px;border:1px solid #d8e3f5;border-radius:13px;resize:none;outline:none;font:inherit;font-size:10px;color:#0b1d45;background:#f8fbff}.composer textarea:focus{border-color:#2358c9;box-shadow:0 0 0 3px rgba(35,88,201,.08)}.composer button{width:42px;height:42px;flex:none;border:0;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#163f9e,#2358c9);color:white;cursor:pointer;box-shadow:0 6px 14px rgba(22,63,158,.2)}.composer button:disabled{opacity:.5}.composer button svg{width:17px}.demo-pill{position:relative;z-index:2;margin-top:10px;padding:6px 10px;border:1px solid #ccdcf5;border-radius:20px;background:rgba(255,255,255,.75);color:#506789;font-size:9px;font-weight:700}.capabilities{display:flex;flex-direction:column;justify-content:center;gap:19px}.capability{position:relative;display:flex;align-items:center;gap:12px;min-height:65px;padding:10px 12px;border:1px solid rgba(35,88,201,.12);border-radius:16px;background:rgba(255,255,255,.62);backdrop-filter:blur(8px);box-shadow:0 8px 26px rgba(22,63,158,.06)}.capability:after{content:"";position:absolute;top:50%;width:36px;height:1px;background:linear-gradient(90deg,rgba(35,88,201,.3),rgba(35,88,201,.05))}.capabilities-left .capability:after{right:-37px}.capabilities-right .capability:after{left:-37px;transform:rotate(180deg)}.cap-icon{width:36px;height:36px;flex:none;border-radius:11px;display:grid;place-items:center;background:#eaf2ff;color:#163f9e;font-size:16px;font-weight:850}.capability strong{display:block;color:#0b1d45;font-size:11px}.capability small{display:block;margin-top:3px;color:#7182a0;font-size:8.5px}.capability.payment{border-color:rgba(35,88,201,.24);background:linear-gradient(135deg,rgba(234,242,255,.92),rgba(255,255,255,.72))}.demo-footer{height:52px;flex:0 0 52px;display:flex;align-items:center;justify-content:center;gap:11px;color:#7182a0;font-size:8.5px;z-index:3}.demo-footer i{width:3px;height:3px;border-radius:50%;background:#9eb5da}.demo-footer strong{margin-left:16px;color:#163f9e;font-size:9px;letter-spacing:1px}.demo-footer em{font-style:normal;color:#7182a0;font-weight:650;letter-spacing:0}.technical-fields{display:none!important}@media(max-width:980px){body{overflow:auto}.demo-shell{height:auto;min-height:100vh;overflow:visible}.demo-stage{grid-template-columns:1fr 370px 1fr;gap:22px;padding:0 22px}.phone{width:330px}.capability{padding:9px}.capability small{display:none}.capability:after{display:none}}@media(max-width:760px){.demo-brand{height:84px;flex-basis:84px}.demo-stage{display:flex;flex-direction:column;padding:4px 16px 25px}.phone-zone{order:1;width:100%}.phone{width:min(350px,94vw);height:620px}.capabilities{width:min(520px,94vw);display:grid;grid-template-columns:1fr 1fr;gap:9px}.capabilities-left{order:2;margin-top:20px}.capabilities-right{order:3}.capability{min-height:58px}.capability small{display:block}.demo-footer{height:auto;flex-wrap:wrap;padding:15px 20px 25px}.demo-footer strong{width:100%;margin:5px 0 0;text-align:center}}@media(max-width:430px){.brand-line h1{font-size:19px}.demo-brand p{font-size:9px}.phone{height:590px;min-height:520px}.capabilities{grid-template-columns:1fr}.demo-footer span,.demo-footer i{display:none}}

/* =========================================================
   ANIMACIÓN REAL DE TARJETAS VICTORIA
========================================================= */

/* LETRAS MÁS GRANDES */
.capability strong {
    font-size: 15px !important;
    font-weight: 750;
    line-height: 1.25;
}

.capability small {
    margin-top: 5px;
    font-size: 11.5px !important;
    line-height: 1.35;
}

.cap-icon {
    width: 44px !important;
    height: 44px !important;
    font-size: 19px !important;
}


/* TARJETAS */
.capability {
    position: relative;
    overflow: hidden;
    min-height: 76px;

    transition:
            transform .35s ease,
            border-color .35s ease,
            box-shadow .35s ease,
            background .35s ease;

    animation: victoriaCardActive 8s ease-in-out infinite;
}


/* =========================================================
   ACTIVACIÓN SECUENCIAL
========================================================= */

/* IZQUIERDA */
.capabilities-left .capability:nth-child(1) {
    animation-delay: 0s;
}

.capabilities-left .capability:nth-child(2) {
    animation-delay: 2s;
}

.capabilities-left .capability:nth-child(3) {
    animation-delay: 4s;
}

.capabilities-left .capability:nth-child(4) {
    animation-delay: 6s;
}


/* DERECHA - INTERCALADAS */
.capabilities-right .capability:nth-child(1) {
    animation-delay: 1s;
}

.capabilities-right .capability:nth-child(2) {
    animation-delay: 3s;
}

.capabilities-right .capability:nth-child(3) {
    animation-delay: 5s;
}

.capabilities-right .capability:nth-child(4) {
    animation-delay: 7s;
}


/* =========================================================
   PULSO AZUL
========================================================= */

@keyframes victoriaCardActive {

    0%,
    70%,
    100% {
        transform: scale(1);

        border-color: rgba(35, 88, 201, .12);

        box-shadow:
                0 8px 26px rgba(22, 63, 158, .06);
    }

    78% {
        transform: scale(1.055);

        border-color: #2358c9;

        background: rgba(255, 255, 255, .96);

        box-shadow:
                0 18px 45px rgba(35, 88, 201, .22),
                0 0 0 2px rgba(35, 88, 201, .08),
                0 0 35px rgba(35, 88, 201, .18);
    }

    86% {
        transform: scale(1);
    }
}


/* =========================================================
   DESTELLO QUE CRUZA LA TARJETA
========================================================= */

.capability::before {
    content: "";

    position: absolute;
    z-index: 5;

    top: -70%;
    left: -50%;

    width: 25%;
    height: 240%;

    opacity: 0;

    transform: rotate(20deg);

    background: linear-gradient(
            90deg,
            transparent,
            rgba(80, 140, 255, .12),
            rgba(255, 255, 255, .95),
            rgba(80, 140, 255, .12),
            transparent
    );

    animation: victoriaShine 8s ease-in-out infinite;

    pointer-events: none;
}


/* MISMO ORDEN DEL PULSO */

.capabilities-left .capability:nth-child(1)::before {
    animation-delay: 0s;
}

.capabilities-right .capability:nth-child(1)::before {
    animation-delay: 1s;
}

.capabilities-left .capability:nth-child(2)::before {
    animation-delay: 2s;
}

.capabilities-right .capability:nth-child(2)::before {
    animation-delay: 3s;
}

.capabilities-left .capability:nth-child(3)::before {
    animation-delay: 4s;
}

.capabilities-right .capability:nth-child(3)::before {
    animation-delay: 5s;
}

.capabilities-left .capability:nth-child(4)::before {
    animation-delay: 6s;
}

.capabilities-right .capability:nth-child(4)::before {
    animation-delay: 7s;
}


@keyframes victoriaShine {

    0%,
    70% {
        left: -50%;
        opacity: 0;
    }

    75% {
        opacity: 1;
    }

    84% {
        left: 125%;
        opacity: .7;
    }

    88%,
    100% {
        left: 125%;
        opacity: 0;
    }
}


/* =========================================================
   ICONO PULSANTE
========================================================= */

.cap-icon {
    transition:
            transform .3s ease,
            box-shadow .3s ease;

    animation: victoriaIconPulse 2s ease-in-out infinite;
}

@keyframes victoriaIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
        box-shadow:
                0 0 0 6px rgba(35, 88, 201, .06),
                0 0 18px rgba(35, 88, 201, .14);
    }
}


/* =========================================================
   HOVER
========================================================= */

.capability:hover {
    transform: scale(1.06) !important;

    border-color: #2358c9 !important;

    background: #fff !important;

    box-shadow:
            0 20px 50px rgba(35, 88, 201, .24),
            0 0 35px rgba(35, 88, 201, .16) !important;

    z-index: 10;
}

.capability:hover .cap-icon {
    transform: scale(1.15);
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 980px) {

    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .demo-shell {
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .demo-stage {
        grid-template-columns: 1fr 350px 1fr;
        gap: 20px;
        padding: 0 20px 20px;
    }

    .phone {
        width: 330px;
    }

    .capability {
        padding: 9px;
    }

    .capability small {
        display: none;
    }

    .capability::after {
        display: none;
    }
}


/* =========================================================
   RESPONSIVE — MÓVIL
========================================================= */

@media (max-width: 760px) {

    html,
    body {
        width: 100%;
        height: auto;
        min-height: 100%;
        overflow-x: hidden;
    }

    body {
        overflow-y: auto;
    }

    /* -----------------------------------------------------
       CONTENEDOR GENERAL
    ----------------------------------------------------- */

    .demo-shell {
        width: 100%;
        height: auto;
        min-height: 100svh;
        overflow: hidden;
    }

    .demo-shell::before,
    .demo-shell::after {
        opacity: 0.55;
    }


    /* -----------------------------------------------------
       MARCA VICTORIA
    ----------------------------------------------------- */

    .demo-brand {
        width: 100%;
        height: auto;
        min-height: 82px;
        flex: none;

        padding: 14px 16px 10px;

        gap: 10px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;

        border-radius: 12px;

        font-size: 19px;
    }

    .brand-line {
        gap: 7px;
    }

    .brand-line h1 {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .brand-line span {
        font-size: 9px;
    }

    .demo-brand p {
        margin-top: 3px;

        font-size: 10px;
    }


    /* -----------------------------------------------------
       CONTENIDO PRINCIPAL
    ----------------------------------------------------- */

    .demo-stage {
        width: 100%;
        max-width: 100%;

        display: flex;
        flex-direction: column;

        gap: 0;

        margin: 0;
        padding: 4px 14px 22px;
    }


    /* -----------------------------------------------------
       TELÉFONO
    ----------------------------------------------------- */

    .phone-zone {
        order: 1;

        width: 100%;
        min-height: auto;

        align-self: auto;
        justify-content: flex-start;
    }

    .phone-glow {
        width: 290px;
        height: 290px;

        top: 110px;

        filter: blur(45px);
    }

    .phone {
        width: min(350px, calc(100vw - 28px));

        height: min(
                620px,
                calc(100svh - 145px)
        );

        min-height: 510px;
        max-height: 620px;

        padding: 8px;

        border-radius: 35px;

        box-shadow:
                0 20px 50px rgba(11, 29, 69, 0.20),
                0 7px 18px rgba(22, 63, 158, 0.10);
    }

    .phone-screen {
        border-radius: 27px;
    }

    .phone-speaker {
        top: 13px;

        width: 78px;
        height: 19px;
    }


    /* -----------------------------------------------------
       CABECERA CHAT
    ----------------------------------------------------- */

    .chat-header {
        height: 66px;
        flex-basis: 66px;

        padding: 13px 12px 9px;
    }

    .chat-avatar {
        width: 36px;
        height: 36px;
    }

    .chat-identity strong {
        font-size: 13px;
    }

    .chat-identity span {
        font-size: 8.5px;
    }


    /* -----------------------------------------------------
       MENSAJES
    ----------------------------------------------------- */

    .messages {
        padding: 14px 11px 11px;
    }

    .welcome-message {
        width: 96%;

        padding: 9px;
    }

    .message {
        max-width: 88%;

        padding: 9px 10px;

        font-size: 11px;
    }


    /* -----------------------------------------------------
       INPUT
    ----------------------------------------------------- */

    .composer {
        min-height: 59px;

        padding: 8px;
    }

    .composer textarea {
        height: 41px;

        font-size: 11px;
    }

    .composer button {
        width: 41px;
        height: 41px;
    }


    /* -----------------------------------------------------
       ESTADO DEMO
    ----------------------------------------------------- */

    .demo-pill {
        margin-top: 10px;

        font-size: 9px;
    }


    /* -----------------------------------------------------
       CAPACIDADES

       En móvil conservamos dos columnas.
       Así evitamos una página excesivamente larga.
    ----------------------------------------------------- */

    .capabilities {
        width: min(520px, 100%);

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 9px;
    }

    .capabilities-left {
        order: 2;

        margin-top: 22px;
    }

    .capabilities-right {
        order: 3;

        margin-top: 9px;
    }

    .capability {
        width: 100%;
        min-width: 0;
        min-height: 74px;

        padding: 10px;

        gap: 9px;

        border-radius: 14px;
    }

    .capability::after {
        display: none;
    }

    .cap-icon {
        width: 39px !important;
        height: 39px !important;

        font-size: 17px !important;

        border-radius: 10px;
    }

    .capability strong {
        font-size: 12.5px !important;

        line-height: 1.2;
    }

    .capability small {
        display: block;

        margin-top: 3px;

        font-size: 9.5px !important;
        line-height: 1.25;
    }


    /* -----------------------------------------------------
       HOVER EN PANTALLAS TÁCTILES

       Evita que una tarjeta quede agrandada después
       de tocarla.
    ----------------------------------------------------- */

    .capability:hover {
        transform: none !important;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .demo-footer {
        width: 100%;
        height: auto;
        min-height: 70px;

        flex-wrap: wrap;

        gap: 7px 9px;

        padding: 13px 16px 20px;

        text-align: center;

        font-size: 8.5px;
    }

    .demo-footer strong {
        width: 100%;

        margin: 3px 0 0;

        text-align: center;
    }
}


/* =========================================================
   MÓVILES PEQUEÑOS
   iPhone / Android pequeños
========================================================= */

@media (max-width: 430px) {

    /* -----------------------------------------------------
       MARCA
    ----------------------------------------------------- */

    .demo-brand {
        min-height: 78px;

        padding: 12px 10px 8px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;

        font-size: 17px;
    }

    .brand-line h1 {
        font-size: 18px;

        letter-spacing: 2.5px;
    }

    .brand-line span {
        font-size: 8px;
    }

    .demo-brand p {
        font-size: 9px;
    }


    /* -----------------------------------------------------
       CONTENIDO
    ----------------------------------------------------- */

    .demo-stage {
        padding-left: 9px;
        padding-right: 9px;
    }


    /* -----------------------------------------------------
       TELÉFONO
    ----------------------------------------------------- */

    .phone {
        width: calc(100vw - 18px);

        height: min(
                600px,
                calc(100svh - 120px)
        );

        min-height: 500px;

        border-radius: 31px;
    }

    .phone-screen {
        border-radius: 24px;
    }

    .szenda-mini {
        font-size: 7px;
    }


    /* -----------------------------------------------------
       TARJETAS

       IMPORTANTE:
       siguen siendo 2 columnas.
    ----------------------------------------------------- */

    .capabilities {
        width: 100%;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 7px;
    }

    .capability {
        min-height: 70px;

        padding: 9px 8px;

        gap: 7px;
    }

    .cap-icon {
        width: 34px !important;
        height: 34px !important;

        font-size: 15px !important;
    }

    .capability strong {
        font-size: 11px !important;
    }

    .capability small {
        font-size: 8.5px !important;
    }


    /* -----------------------------------------------------
       FOOTER
    ----------------------------------------------------- */

    .demo-footer span,
    .demo-footer i {
        display: inline;
    }
}


/* =========================================================
   PANTALLAS MUY PEQUEÑAS
========================================================= */

@media (max-width: 350px) {

    .phone {
        width: calc(100vw - 12px);
    }

    .capabilities {
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   ACCESIBILIDAD
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .capability,
    .capability::before,
    .cap-icon,
    .typing-dot {
        animation: none !important;
    }
}

/* =========================================================
   FIX CHAT MÓVIL — EVITA DESCUADRE AL ENVIAR MENSAJES
========================================================= */

@media (max-width: 760px) {

    .phone,
    .phone-screen,
    .chat-header,
    .messages,
    .composer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .phone {
        overflow: hidden;
    }

    .phone-screen {
        overflow: hidden;
    }

    .messages {
        overflow-x: hidden;
    }

    .message {
        min-width: 0;
        max-width: 88%;

        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .composer {
        box-sizing: border-box;
        overflow: hidden;
    }

    .composer textarea {
        min-width: 0;
        max-width: 100%;

        /* 16px evita el zoom automático de Safari/iPhone */
        font-size: 16px;
    }

    .composer button {
        flex: 0 0 41px;
    }

}
/* =========================================================
   FIX SAFARI / IPHONE
========================================================= */

@media (max-width: 760px) {

    .composer textarea {
        font-size: 16px;
    }

}