.wrapper {
    overflow: hidden;
}

.footer {
    background: var(--primary-color);
    color: var(--white-color);
    padding: 4rem 0 2rem 0;
    text-align: center;
}

.footer .footer-logo {
    transform: scale(1.15);
    opacity: 0;
}

.footer .footer-logo.animate {
    transform: scale(1);
    opacity: 1;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.footer h3 {
    color: var(--white-color);
    transform: translateY(40px);
    margin: 0;
}

.footer h3.animate {
    transform: translateY(0px);
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.footer-contact p:last-of-type {
    margin-bottom: 0;
}

.footer-address {
    max-width: 400px;
    margin: 0.8rem auto;
    transform: translateY(40px);
    opacity: 0;
}

.footer-address.animate {
    transform: translateY(0px);
    opacity: 1;
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.footer-phone-email,
.footer-phone-whats {
    margin-bottom: 0.5rem;
    transform: translateY(100%);
}

.footer-phone-email.animate,
.footer-phone-whats.animate {
    transform: translateY(0%);
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

.footer-contact p i {
    margin-right: 0.6rem;
    color: var(--accent-color);
    font-size: 1.1em;
    vertical-align: middle;
}

.footer-contact p a {
    color: inherit;
    text-decoration: none;
}

.footer-contact p a:hover {
    color: var(--white-color);
    text-decoration: underline;
}

.social-links {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.social-links a {
    color: var(--accent-color);
    font-size: 1.8rem;
    transition: color 0.3s ease;
    transform: scale(1.2);
    opacity: 0;
}

.social-links.animate a {
    transform: scale(1);
    opacity: 1;
    transition: transform 1s cubic-bezier(0.075, 0.82, 0.165, 1), opacity 1s cubic-bezier(0.075, 0.82, 0.165, 1),
        color 0.3s ease;
}

.social-links.animate a:nth-child(1) {
    transition-delay: 0.2s;
}

.social-links.animate a:nth-child(2) {
    transition-delay: 0.45s;
}

.social-links.animate a:nth-child(3) {
    transition-delay: 0.7s;
}

.social-links a:hover {
    color: var(--white-color);
}

.footer-bottom {
    overflow: hidden;
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom p {
    transform: translateY(100%);
    margin: 0;
}

.footer-bottom.animate p {
    transform: translateY(0%);
    transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1) 0.3s;
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 10px;
    }

    .footer .container {
        max-width: calc(100% - 20px);
        margin: 0 auto;
    }

    .footer-contact h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .footer-contact p {
        font-size: 0.95rem;
        margin-bottom: 0.7rem;
    }

    .footer-address {
        margin: 0.7rem auto;
    }

    .footer-phone-email,
    .footer-phone-whats {
        margin-bottom: 0.4rem;
    }

    .footer-contact p i {
        font-size: 1em;
    }

    .social-links {
        margin-top: 1.8rem;
        margin-bottom: 1.8rem;
        gap: 1.2rem;
    }

    .social-links a {
        font-size: 1.6rem;
    }

    .footer-bottom {
        margin-top: 1.5rem;
        font-size: 0.85rem;
    }
}
