/* footer */
.footer-line-content {
    position: relative;
    left: 0;
    bottom: 40px;
}

.footer-line {
    width: 25%;
    background: black;
    border-top: 2px solid var(--grey-mid-color);
    height: 40px;
}

.footer-angle {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 25%;
    bottom: 0px;
    background: linear-gradient(to bottom left, transparent 48%, var(--grey-mid-color) 48%, var(--grey-mid-color) 52%, transparent 52%);
}

footer {
    position: relative;
    z-index: 30;
    background: #000000;
    margin-top: auto;
    flex-shrink: 0;
}

/* GSAP ScrollSmoother: footer dentro del smooth-content sin comportamiento sticky */
body.has-smooth-scroll footer {
    margin-top: 0;
    position: relative;
    z-index: 5;
}

footer::before {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, black calc(25% + 40px), var(--grey-mid-color) calc(25% - 40px), var(--grey-mid-color) 100%);
}

.footer-content {
    color: var(--white);
    padding: 2rem 6rem;
    border-top: 0;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

.footer-content .footer-title,
.footer-content .footer-title * {
    font-family: var(--main-accent-font);
    font-size: 28px;
}

.footer-content img {
    width: 100%;
    padding: 0 10px;
    max-width: 260px;
}

footer .footer-content ul {
    padding-left: 0px;
    list-style: none;
    text-align: left;
}

footer .footer-content ul li {
    list-style-image: inherit;
}

.footer-content ul.service-list {
    font-family: var(--main-text-font);
    font-size: 16px;
    font-weight: 500;
}

.footer-content ul.info-list li>a.footer-title>span,
.footer-content ul.landings-list li>a>span {
    line-height: 20px;
}

.social-net-content {
    width: 100%;
}

.social-net-content a {
    display: block;
    font-size: 24px;
    margin: 10px 0;
}

.social-net-content a:hover {
    color: var(--primary-color);
    transform: scale(1.25);
    transition: all 0.3s ease;
}

.footer-content li>a>p {
    opacity: 1;
    line-height: 1.8em;
    transition-property: all;
    transition-duration: 0.6s;
    transition-timing-function: ease;
    transition-delay: 0s;
    -webkit-transform: rotateX(0deg) translateY(0px);
    transform: rotateX(0deg) translateY(0px);
}

.footer-info a {
    line-height: 1.8em;
}

.footer-info a:not(.footer-title):hover {
    color: var(--primary-color);
    transition: all 0.5s ease;
}

/* 
.footer-content li>a:not(.footer-title) p {
    color: var(--grey-light-color);
    font-weight: 400;
} */

.footer-content li:hover>a>p {
    -webkit-transform: rotateX(90deg) translateY(-30px);
    transform: rotateX(90deg) translateY(-30px);
    opacity: 0;
}

.footer-content li>a>span {
    transition-property: all;
    transition-duration: 0.6s;
    transition-timing-function: ease;
    transition-delay: 0s;
    display: block;
    color: var(--primary-color);
    -webkit-transform: rotateX(-90deg);
    transform: rotateX(-90deg);
    margin-top: -20px;
    opacity: 0;
}

.footer-content ul.landings-list li:hover>a>span {
    opacity: 1;
    -webkit-transform: rotateX(0deg) translateY(-20px);
    transform: rotateX(0deg) translateY(-20px);
}

.footer-content ul.info-list li:hover>a>span,
.footer-content ul.service-list li:hover>a>span {
    opacity: 1;
    -webkit-transform: rotateX(0deg) translateY(-6px);
    transform: rotateX(0deg) translateY(-6px);
}

.subfooter {
    width: 100%;
    padding: 10px 6rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.15);
}

.subfooter p {
    width: 100%;
    margin: 0 auto;
}

.subfooter .links-subfooter {
    width: 100%;
    margin: 15px auto 10px;
    justify-content: center;
}

.subfooter .links-subfooter a {
    margin: 0 15px;
    line-height: 26px;
    text-transform: uppercase;
}

.subfooter .links-subfooter a:hover {
    color: var(--primary-color);
}

@media (max-width: 1100px) {
    .footer-content {
        padding: 2rem 4rem;
    }

    .footer-content img {
        width: 180px;
    }

    .footer-content .footer-title,
    .footer-content .footer-title * {
        font-size: 24px;
    }
}

@media (max-width: 991px) {
    .footer-content.flex-box>.flex-4 {
        width: 33.33%;
    }

    .footer-content.flex-box>.flex-4:first-child {
        width: 100%;
        justify-content: center;
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .footer-content.flex-box.items-start {
        align-items: stretch;
    }

    .footer-content.flex-box>.flex-4:first-child,
    .footer-content.flex-box>.flex-4 {
        width: 50%;
    }

    .footer-content.flex-box>.flex-4:first-child {
        justify-content: flex-start;
    }

    .footer-col-logo a {
        align-self: flex-start;
    }

    .footer-content img {
        width: 90%;
    }

    footer .subfooter {
        width: 100%;
        padding: 10px;
    }

    footer .subfooter p {
        font-size: 12px;
    }

}

@media (max-width: 580px) {
    .footer-content.flex-box>.flex-4:first-child {
        justify-content: center;
    }

    .footer-content {
        padding: 1rem 2rem;
    }

    .footer-info a {
        line-height: 1.3em;
    }

    footer .footer-content .flex-box>.flex-4:first-child,
    footer .footer-content>.flex-4,
    footer .footer-content.flex-box>.flex-4 {
        width: 100% !important;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    footer .footer-content .footer-title,
    footer .footer-content .footer-title *,
    footer .footer-content ul.info-list,
    footer .footer-content ul.service-list {
        text-align: center;
        align-items: center;
    }
}