/* Efectos propios de la landing GixiCRM. */
.gixi-shine {
    isolation: isolate;
    overflow: hidden;
    position: relative;
}

.gixi-shine::before {
    animation: gixiButtonShine 4s ease-in-out infinite;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    content: "";
    height: 100%;
    left: -75%;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform: skewX(-20deg);
    width: 40%;
    z-index: 1;
}

@keyframes gixiButtonShine {
    0% { left: -75%; }
    30%, 100% { left: 130%; }
}

.btn-demo-request:not(:hover):not(:focus):not(:active) {
    color: #fff !important;
}

.gixi-footer-signature {
    background: linear-gradient(135deg, #160b2f 0%, #29134f 50%, #40206f 100%);
    border: 0 !important;
    overflow: hidden;
    padding: 1.25rem 0 !important;
    position: relative;
}

.gixi-footer-signature::before,
.gixi-footer-signature::after {
    animation: gixiFooterGlow 4s linear infinite;
    background: linear-gradient(90deg, transparent, #9f7aea, #40e0ff, #9f7aea, transparent);
    content: "";
    height: 2px;
    left: -60%;
    position: absolute;
    width: 60%;
}

.gixi-footer-signature::before {
    top: 0;
}

.gixi-footer-signature::after {
    animation-direction: reverse;
    animation-delay: -2s;
    bottom: 0;
}

@keyframes gixiFooterGlow {
    from { left: -60%; }
    to { left: 160%; }
}

.gixi-footer-copy {
    align-items: center;
    color: rgba(255, 255, 255, 0.68);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 0.55rem;
    justify-content: center;
    letter-spacing: 0.02em;
    position: relative;
    text-align: center;
    z-index: 1;
}

.gixi-footer-made {
    align-items: center;
    display: inline-flex;
    gap: 0.35rem;
}

.gixi-footer-flag {
    border-radius: 2px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.45);
    height: 14px;
    object-fit: cover;
    width: 20px;
}

.gixi-footer-heart {
    animation: gixiHeartPulse 1.8s ease-in-out infinite;
    color: #ff5b8d;
    filter: drop-shadow(0 0 5px rgba(255, 91, 141, 0.65));
    font-size: 1rem;
}

@keyframes gixiHeartPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}

.gixi-footer-author {
    color: #78f3d0;
    font-weight: 700;
    text-decoration: none;
    text-shadow: 0 0 8px rgba(120, 243, 208, 0.5);
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.gixi-footer-author:hover,
.gixi-footer-author:focus {
    color: #fff;
    text-shadow: 0 0 12px rgba(120, 243, 208, 0.85);
}

@media (max-width: 575.98px) {
    .gixi-footer-copy {
        flex-direction: column;
        gap: 0.35rem;
    }

    .gixi-footer-separator {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gixi-shine::before,
    .gixi-footer-signature::before,
    .gixi-footer-signature::after,
    .gixi-footer-heart {
        animation: none;
    }
}

/* Las páginas legales comienzan sobre fondo claro, no sobre el hero oscuro. */
.legal-page #topnav.legal-topnav {
    background-color: #fff;
    box-shadow: 0 0 3px rgba(60, 72, 88, 0.15);
}

.legal-page #topnav.legal-topnav .logo .l-dark,
.legal-page #topnav.legal-topnav .buy-button .login-btn-primary {
    display: inline-block;
}

.legal-page #topnav.legal-topnav .logo .l-light,
.legal-page #topnav.legal-topnav .buy-button .login-btn-light {
    display: none;
}

.legal-page #topnav.legal-topnav .navigation-menu > li > a {
    color: #3c4858;
}

.legal-page #topnav.legal-topnav .navigation-menu > li > a:hover,
.legal-page #topnav.legal-topnav .navigation-menu > li > a:focus {
    color: #6f42c1;
}

.landing-nav-actions {
    align-items: center;
    display: flex;
    height: 74px;
    justify-content: center;
    line-height: 1 !important;
    transition: height 0.3s ease;
}

#topnav.nav-sticky .landing-nav-actions {
    height: 62px;
}

.landing-language-switcher {
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(60, 72, 88, 0.16);
    border-radius: 999px;
    display: inline-flex;
    gap: 2px;
    padding: 3px;
}

.landing-language-switcher a {
    align-items: center;
    border-radius: 999px;
    color: #3c4858;
    display: inline-flex;
    font-size: 0.68rem;
    font-weight: 700;
    gap: 4px;
    padding: 4px 6px;
}

.landing-language-switcher a.active {
    background: #6f42c1;
    color: #fff;
}

.landing-language-switcher img {
    border-radius: 2px;
    height: 13px;
    object-fit: cover;
    width: 19px;
}

.gixi-whatsapp-float {
    align-items: center;
    background: #25d366;
    border-radius: 50%;
    bottom: 26px;
    box-shadow: 0 10px 28px rgba(20, 92, 48, 0.38);
    display: flex;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 26px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 60px;
    z-index: 1000;
}

.gixi-whatsapp-float::before {
    animation: gixiWhatsAppPulse 2s ease-out infinite;
    border: 2px solid rgba(37, 211, 102, 0.72);
    border-radius: inherit;
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.gixi-whatsapp-float img {
    height: 34px;
    position: relative;
    width: 34px;
    z-index: 1;
}

.gixi-whatsapp-float:hover,
.gixi-whatsapp-float:focus {
    box-shadow: 0 14px 34px rgba(20, 92, 48, 0.48);
    transform: translateY(-3px) scale(1.04);
}

.back-to-top {
    bottom: 100px;
    right: 38px;
}

@keyframes gixiWhatsAppPulse {
    0% { opacity: 0.75; transform: scale(0.92); }
    75%, 100% { opacity: 0; transform: scale(1.55); }
}

@media (max-width: 575.98px) {
    .landing-language-switcher span {
        display: none;
    }

    .gixi-whatsapp-float {
        bottom: 18px;
        height: 54px;
        right: 18px;
        width: 54px;
    }

    .gixi-whatsapp-float img {
        height: 30px;
        width: 30px;
    }

    .back-to-top {
        bottom: 88px;
        right: 27px;
    }
}

@media (max-width: 991.98px) {
    #topnav.nav-sticky .landing-nav-actions {
        height: 74px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gixi-whatsapp-float::before {
        animation: none;
    }
}
