/**
 * Footer Styles
 * 
 * @package Finca360
 */

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--bg-contrast);
    color: var(--text-light);
    margin-top: 0;
}

.footer-main {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 4rem;
}

/* ============================================
   FOOTER BRAND
   ============================================ */

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-text .logo-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
}

.footer-logo-text .logo-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social .social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* ============================================
   FOOTER COLUMNS
   ============================================ */

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-column {
    color: var(--text-light);
}

.footer-column-title {
    color: var(--accent);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 0.75rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: var(--accent);
    transform: translateY(-3px);
}

/* ============================================
   PARTNER BUTTON
   ============================================ */

.partner-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.partner-button:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.partner-button i {
    font-size: 1.25rem;
}

/* ============================================
   FOOTER CONTACT
   ============================================ */

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1.25rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-contact strong {
    color: var(--text-light);
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-bottom {
    padding: 1.5rem 0;
}

.footer-bottom .footer-container {
    display: block;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-copyright p {
    margin: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ============================================
   CURRENCY SELECTOR
   ============================================ */

.footer-currency {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpml-ls-statics-shortcode_actions {
    margin-right: 0.5rem;
}

.wpml-ls-native {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.currency-btn,
.copia-currency-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.currency-btn:hover,
.currency-btn.active,
.copia-currency-btn:hover,
.copia-currency-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 300px;
    }

    .footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1rem;
    }

    .footer-main {
        padding: 3rem 0 1.5rem;
    }

    .footer-brand {
        max-width: 200px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-currency {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-social {
        justify-content: center;
    }

    .partner-button {
        width: 100%;
        justify-content: center;
    }
}