
.footer {
    width: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(213, 58, 58, 0.30) 0%, rgba(30, 41, 59, 0.9) 35%, rgba(15, 23, 42, 0.95) 100%);
    z-index: 1;
}

.footer__grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
        background-size: 40px 40px;
    }
    50% {
        opacity: 0.6;
        background-size: 45px 45px;
    }
}

.footer__grid-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(239, 68, 68, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    opacity: 0.5;
    animation: gradientShift 10s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
}

.footer-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 2rem var(--spacing-md) 2rem var(--spacing-md);
    position: relative;
    z-index: 2;
}

@media (min-width: 768px) {
    .footer-wrapper {
        padding: 2rem 0 2.5rem 0;
        max-width: 690px;
    }
}

@media (min-width: 1024px) {
    .footer-wrapper {
        max-width: 1080px;
        padding: 3rem 1rem 2rem 1rem;
    }
}

@media (min-width: 1280px) {
    .footer-wrapper {
        max-width: 1140px;
        /* border:solid 1px green; */
    }
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer__content {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer__content {
        grid-template-columns: 4fr 3fr 2fr;
        gap: 4rem;
    }
}


.footer__col--about {
    @media (min-width: 768px) {
        grid-column: 1 / -1;
    }

    @media (min-width: 1024px) {
        grid-column: auto;
    }
}

.footer__logo {
    width: 240px;
    margin-bottom: 1.2rem;
}

@media (min-width: 768px) {
    .footer__logo {
        width: 260px;
    }
}

.footer__description {
    color: var(--light-300);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}


.footer__social {
    display: flex;
    gap: 1rem;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer__social-link:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.footer__social-link--whatsapp:hover {
    background: #25D366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

/* ========== COLUMNAS ========== */
.footer__col-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1.2rem 0;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer__col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}


.footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__link {
    color: var(--light-300);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer__link:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer__link::before {
    content: '›';
    margin-right: 0.5rem;
    color: var(--primary);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer__link:hover::before {
    opacity: 1;
}


.footer__contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    color: var(--light-300);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer__contact-item i {
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.2rem;
    min-width: 16px;
}

.footer__contact-item a {
    color: var(--light-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__contact-item a:hover {
    color: var(--primary);
}

.footer__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    margin-bottom: 2rem;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer__bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer__copyright {
    color: var(--light-300);
    font-size: 0.9rem;
    margin: 0;
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer__legal-link {
    color: var(--light-300);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer__legal-link:hover {
    color: var(--primary);
}

.footer__legal-separator {
    color: var(--light-300);
    opacity: 0.5;
}

.footer__separator {
    color: var(--light-300);
    opacity: 0.5;
    margin: 0 0.5rem;
}

.footer__dev-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer__dev-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}