/* Acceso al asistente comercial desde la portada. */
.jura-agent-cta {
    position: fixed;
    right: 1.35rem;
    bottom: 6rem;
    z-index: 1045;
    width: min(340px, calc(100vw - 2rem));
    opacity: 0;
    transform: translateY(18px) scale(.96);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s cubic-bezier(.2, .8, .2, 1);
}

.jura-agent-cta.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.jura-agent-cta__link {
    position: relative;
    display: flex;
    gap: .8rem;
    align-items: flex-start;
    padding: 1rem 2.5rem 1rem 1rem;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, .42);
    border-radius: 20px;
    color: #eff6ff;
    text-decoration: none;
    background: linear-gradient(135deg, rgba(7, 20, 39, .97), rgba(20, 58, 111, .96));
    box-shadow: 0 18px 42px rgba(2, 10, 25, .34), inset 0 1px 0 rgba(255, 255, 255, .11);
    backdrop-filter: blur(14px);
}

.jura-agent-cta__link::before {
    position: absolute;
    inset: -45% auto auto 42%;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    content: "";
    background: rgba(96, 165, 250, .19);
    filter: blur(7px);
    pointer-events: none;
}

.jura-agent-cta__link:hover,
.jura-agent-cta__link:focus-visible {
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(147, 197, 253, .82);
    box-shadow: 0 22px 48px rgba(2, 10, 25, .45), 0 0 0 4px rgba(96, 165, 250, .13);
}

.jura-agent-cta__orb {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 0 0 43px;
    width: 43px;
    height: 43px;
    place-items: center;
    border: 1px solid rgba(191, 219, 254, .55);
    border-radius: 14px;
    color: #dbeafe;
    font-size: 1.22rem;
    background: linear-gradient(145deg, #2563eb, #0f2d5a);
    box-shadow: 0 0 0 5px rgba(96, 165, 250, .12), 0 0 24px rgba(96, 165, 250, .38);
}

.jura-agent-cta__content {
    position: relative;
    z-index: 1;
    display: grid;
    min-width: 0;
    gap: .2rem;
}

.jura-agent-cta__eyebrow {
    color: #93c5fd;
    font-size: .67rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.jura-agent-cta__title {
    color: #fff;
    font-size: .93rem;
    font-weight: 800;
    line-height: 1.25;
}

.jura-agent-cta__text {
    color: #dbeafe;
    font-size: .77rem;
    line-height: 1.35;
}

.jura-agent-cta__action {
    margin-top: .22rem;
    color: #fff;
    font-size: .78rem;
    font-weight: 800;
}

.jura-agent-cta__close,
.jura-agent-cta__reopen {
    border: 0;
    cursor: pointer;
}

.jura-agent-cta__close {
    position: absolute;
    z-index: 2;
    top: .43rem;
    right: .43rem;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    color: #dbeafe;
    font-size: 1.18rem;
    line-height: 1;
    background: rgba(15, 23, 42, .44);
}

.jura-agent-cta__close:hover,
.jura-agent-cta__close:focus-visible {
    color: #fff;
    background: rgba(37, 99, 235, .74);
}

.jura-agent-cta__reopen {
    position: fixed;
    right: 1.35rem;
    bottom: 6rem;
    z-index: 1045;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, .66);
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(145deg, #2563eb, #102e5d);
    box-shadow: 0 12px 30px rgba(2, 10, 25, .42), 0 0 0 5px rgba(96, 165, 250, .12);
}

.jura-agent-cta__reopen:hover,
.jura-agent-cta__reopen:focus-visible {
    background: #2563eb;
    transform: translateY(-2px);
}

@media (max-width: 575.98px) {
    .jura-agent-cta,
    .jura-agent-cta__reopen {
        right: 1rem;
        bottom: 5.4rem;
    }

    .jura-agent-cta__link {
        padding: .88rem 2.25rem .88rem .88rem;
        border-radius: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .jura-agent-cta,
    .jura-agent-cta__link,
    .jura-agent-cta__reopen {
        transition: none;
    }
}
