:root {
    --enterprise: #1d0356;
    --pymes: #a928f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background: #000;
}

.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .65s cubic-bezier(.77, 0, .18, 1);
}

.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform .9s ease;
}

.enterprise .bg {
    background-image: url('../img/back1.jpg');
}

.pymes .bg {
    background-image: url('../img/back2.jpg');
}

.overlay {
    position: absolute;
    inset: 0;
}

.enterprise .overlay {
    background: linear-gradient(
        rgba(29, 3, 86, .82),
        rgba(29, 3, 86, .82)
    );
}

.pymes .overlay {
    background: linear-gradient(
        rgba(29, 3, 89, .72),
        rgba(23, 3, 89, .72)
    );
}

.content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding: 40px;
    color: #fff;
    transition:
        opacity .5s ease,
        filter .5s ease,
        transform .5s ease;
}

.logo {
    width: 150px;
    height: 137px;
    object-fit: contain;
    margin-bottom: 25px;
}

h4 {
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

h1 {
    font-size: 35px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 34px;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.btn:hover {
    background: #fff;
    color: #1d0356;
}

.divider {
    width: 1px;
    background: rgba(255, 255, 255, .18);
    z-index: 10;
}

/* EXPANSIÓN */

.split-container:hover .panel {
    flex: .9;
}

.split-container .panel:hover {
    flex: 1.8;
}

.panel:hover .bg {
    transform: scale(1.08);
}

/* ATENÚA EL LADO CONTRARIO */

.split-container:hover .panel .content {
    opacity: .12;
    filter: blur(3px);
    transform: scale(.98);
}

.split-container .panel:hover .content {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}


/* =========================
   FOOTER
========================= */

.footer {
    width: 100%;
    background: #111;
    color: #fff;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 55px 8%;
}

.footer-column {
    text-align: center;
}

.footer-column h4 {
    margin: 0 0 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease;
}

.footer-column a:hover {
    opacity: .65;
}


/* =========================
   WHATSAPP
========================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .3);
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 7px 22px rgba(0, 0, 0, .4);
}

.whatsapp-float svg {
    width: 31px;
    height: 31px;
    fill: #fff;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
        overflow-y: auto;
    }

    .split-container {
        flex-direction: column;
        min-height: auto;
    }

    .panel {
        min-height: 100vh;
    }

    .divider {
        height: 1px;
        width: 100%;
    }

    .split-container:hover .panel,
    .split-container .panel:hover {
        flex: 1;
    }

    .split-container:hover .panel .content {
        opacity: 1;
        filter: none;
        transform: none;
    }

    /* FOOTER */

    .footer {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 25px;
    }

    .footer-column h4 {
        font-size: 15px;
    }

    .footer-column p {
        font-size: 13px;
    }

    /* WHATSAPP */

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 18px;
        bottom: 18px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}