/* =====================================================
   FOOTER - PREMIUM REDESIGN OVERRIDE v2.0
   Enhanced visual hierarchy and modern aesthetics
   ===================================================== */

.footer {
    background: linear-gradient(180deg, #0d0d0d 0%, #1a1410 100%) !important;
    padding: 80px var(--spacing-md) 40px !important;
}

/* Elegant Top Border with Glow */
.footer::before {
    height: 2px !important;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(173, 115, 50, 0.5) 30%,
            rgba(173, 115, 50, 0.8) 50%,
            rgba(173, 115, 50, 0.5) 70%,
            transparent 100%) !important;
    box-shadow: 0 0 20px rgba(173, 115, 50, 0.3) !important;
}

/* Subtle pattern overlay */
.footer::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(173, 115, 50, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(173, 115, 50, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.footer-grid {
    gap: 40px !important;
    margin: 0 auto 40px !important;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .footer-grid {
        gap: 50px !important;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr !important;
        gap: 50px !important;
    }
}

.footer-logo {
    height: 42px !important;
    margin-bottom: 24px !important;
}

.footer-logo:hover {
    transform: scale(1.02) !important;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(173, 115, 50, 0.3)) !important;
}

.footer h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em !important;
    margin-bottom: 20px !important;
    text-transform: uppercase;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--canela) 0%, transparent 100%);
}

.footer-links {
    gap: 12px !important;
}

.footer-links a {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 300;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--canela);
}

.footer-links a:hover {
    color: #fff !important;
    padding-left: 20px !important;
    text-shadow: 0 0 15px rgba(173, 115, 50, 0.4) !important;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer p {
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.8 !important;
    font-weight: 300;
}

.footer .text-xl {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-top: 12px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.03em !important;
}

.footer .text-xl:hover {
    color: var(--canela) !important;
}

.footer .mt-2 {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
}

.social-icons {
    gap: 16px !important;
    margin-top: 28px !important;
}

.social-icon {
    width: 42px !important;
    height: 42px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(173, 115, 50, 0.2) !important;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(173, 115, 50, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.social-icon svg {
    width: 16px !important;
    height: 16px !important;
    position: relative;
    z-index: 1;
}

.social-icon:hover {
    transform: translateY(-4px) rotate(5deg) !important;
    box-shadow: 0 8px 20px rgba(173, 115, 50, 0.3) !important;
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon:hover svg {
    transform: scale(1.15) !important;
}

/* Map - Enhanced */
.footer-map {
    margin-top: 16px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-map::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(173, 115, 50, 0.2);
    border-radius: 8px;
    pointer-events: none;
    z-index: 1;
    transition: border-color 0.4s ease;
}

.footer-map:hover::before {
    border-color: rgba(173, 115, 50, 0.5);
}

.footer-map iframe {
    height: 140px !important;
    border: none !important;
    filter: grayscale(100%) invert(92%) contrast(0.9) brightness(0.95) !important;
    opacity: 0.85 !important;
}

.footer-map:hover iframe {
    opacity: 1 !important;
    filter: grayscale(80%) invert(92%) contrast(0.95) brightness(1) !important;
}

.footer .mt-3 {
    margin-top: 16px !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1.6 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 30px !important;
    margin-top: 20px !important;
    gap: 16px !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.45) !important;
    letter-spacing: 0.05em !important;
}

.legal-links {
    gap: 20px !important;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5) !important;
    font-weight: 300;
    position: relative;
}

.legal-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--canela);
    transition: width 0.3s ease;
}

.legal-links a:hover {
    color: var(--canela) !important;
}

.legal-links a:hover::after {
    width: 100%;
}