
/* ==========================
   FOOTER — CNA DIGITAL STUDIO
========================== */

.footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    margin-top: 0;
    padding-top: 4.5rem;

    background:
        linear-gradient(
    180deg,
    #050a1b 0%,
    rgba(5, 10, 27, .94) 12%,
    rgba(5, 10, 27, .76) 40%,
    rgba(5, 10, 27, .78) 80%,
    #050a1b 100%
),
        url("../../assets/images/footer-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #050a1b;

    border-top: 1px solid rgba(0, 200, 255, .16);
}

/* CUATRO COLUMNAS */

.footer-grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1.25fr 1.3fr;
    gap: 3rem;
    align-items: start;

    position: relative;
    z-index: 1;
}

/* LOGO Y MARCA */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateY(-15px);
}

.footer-brand img {
    width: 230px;
    max-width: 100%;
    height: auto;
}

.footer-logo {
    display: inline-block;
    width: 230px;
    max-width: 100%;
    margin-bottom: 1.4rem;
}

.footer-logo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.footer-brand p {
    max-width: 310px;
    margin: 0;

    color: var(--text-secondary);
    font-size: .94rem;
    line-height: 1.8;
}

/* REDES SOCIALES */

.footer-social {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 43px;
    height: 43px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 200, 255, .45);
    border-radius: 12px;

    background: rgba(5, 20, 50, .75);
    color: #20cfff;

    transition: transform .3s ease,
                background .3s ease,
                box-shadow .3s ease;
}

.footer-social a:hover {
    transform: translateY(-4px);
    background: rgba(0, 180, 255, .15);
    box-shadow: 0 0 20px rgba(0, 180, 255, .25);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

/* COLUMNAS DE ENLACES */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
}

.footer-links h4 {
    position: relative;
    margin-bottom: 1rem;
    padding-bottom: 1rem;

    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.footer-links h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 42px;
    height: 2px;

    background: #00d9ff;
    box-shadow: 0 0 12px rgba(0, 217, 255, .6);
}

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;

    width: 100%;

    color: var(--text-secondary);
    font-size: .91rem;
    line-height: 1.5;
    text-decoration: none;

    transition: color .3s ease,
                transform .3s ease;
}

.footer-links a span {
    min-width: 0;
}

.footer-links a > svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;

    color: #00cfff;
}

.footer-links a:hover {
    color: #20c9ff;
    transform: translateX(5px);
}

/* CONTACTO CON ICONOS */

.footer-contact a {
    justify-content: flex-start;
}

.footer-contact a > svg:first-child {
    width: 19px;
    height: 19px;
    margin-right: .35rem;
}

.footer-contact .footer-arrow {
    margin-left: auto;
}

/* BARRA INFERIOR */

.footer-bottom {
    position: relative;
    z-index: 1;

    margin-top: 2rem;
    padding: 1.7rem 0;

    border-top: 1px solid rgba(0, 210, 255, .35);
    background: rgba(2, 8, 24, .45);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-secondary);
    font-size: .88rem;
}

/* VOLVER ARRIBA */

.footer-back-top {
    display: inline-flex;
    align-items: center;
    gap: 1rem;

    color: var(--text-secondary);
    font-size: .9rem;
    text-decoration: none;
}

.footer-back-top svg {
    width: 42px;
    height: 42px;
    padding: 11px;

    border: 1px solid #00cfff;
    border-radius: 50%;

    color: #00cfff;

    transition: transform .3s ease,
                box-shadow .3s ease;
}

.footer-back-top:hover svg {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(0, 200, 255, .35);
}

/* TABLETS */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3.5rem;
    }
}

/* CELULARES */

@media (max-width: 768px) {
    .footer {
        padding-top: 4rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.8rem;
    }

    .footer-brand {
        align-items: flex-start;
    }

    .footer-logo {
        width: 190px;
    }

    .footer-links h4 {
        margin-bottom: .4rem;
    }

    .footer-bottom {
        margin-top: 3.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}


/* ==========================
   FOOTER — FIRMA LUMINOSA
========================== */

.footer-signature {
    width: min(680px, calc(100% - 48px));
    margin: 3rem auto 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.footer-signature-line {
    flex: 1;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 200, 255, .65)
    );
}

.footer-signature-line:last-child {
    transform: rotate(180deg);
}

.footer-signature-icon {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #21caff;
    border: 1px solid rgba(0, 200, 255, .55);
    border-radius: 50%;

    background: rgba(3, 17, 42, .9);

    box-shadow:
        0 0 18px rgba(0, 190, 255, .15),
        inset 0 0 12px rgba(0, 190, 255, .08);
}

.footer-signature-icon svg {
    width: 19px;
    height: 19px;
}

.footer-signature-icon:hover {
    box-shadow:
        0 0 24px rgba(0, 190, 255, .35),
        inset 0 0 15px rgba(0, 190, 255, .15);
}