﻿/* =========================================================
   FOOTER - DISEÑO CLARO Y CÁLIDO
   ========================================================= */

.site-footer {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: linear-gradient(135deg, #F5F1E8 0%, #EDE8DC 100%);
    overflow: hidden;
}

    /* Textura sutil */
    .site-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at 20% 40%, rgba(232, 180, 97, 0.08), transparent 35%), radial-gradient(circle at 80% 60%, rgba(91, 155, 213, 0.05), transparent 30%);
        pointer-events: none;
    }

/* =========================================================
   LÍNEA SUPERIOR DORADA
   ========================================================= */

.footer-top-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 180, 97, 0.3) 20%, rgba(232, 180, 97, 0.6) 50%, rgba(232, 180, 97, 0.3) 80%, transparent 100% );
}

/* =========================================================
   CUERPO
   ========================================================= */

.footer-body {
    padding: 72px 0 60px;
    position: relative;
    z-index: 2;
}

.footer-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 60px;
    align-items: start;
}

/* =========================================================
   COLUMNA MARCA
   ========================================================= */

.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo-wrap {
    display: inline-block;
    text-decoration: none;
}

.footer-logo {
    height: 64px;
    width: auto;
    display: block;
    filter: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

    .footer-logo:hover {
        opacity: 1;
    }

.footer-tagline {
    font-size: 0.9rem;
    color: #6B6555;
    line-height: 1.75;
    margin: 0;
    max-width: 300px;
}

/* Botón WhatsApp */
.footer-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 50px;
    background: linear-gradient(135deg, #25D366, #1EBE5A);
    border: 2px solid rgba(37, 211, 102, 0.3);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

    .footer-wa-btn svg {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .footer-wa-btn:hover {
        background: linear-gradient(135deg, #1EBE5A, #18A34F);
        border-color: rgba(37, 211, 102, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    }

/* =========================================================
   COLUMNAS DE LINKS
   ========================================================= */

.footer-col-title {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #E8A361;
    margin: 0 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-links li a {
        font-size: 0.9rem;
        color: #6B6555;
        text-decoration: none;
        transition: all 0.2s ease;
        display: inline-block;
        position: relative;
        font-weight: 600;
    }

        .footer-links li a::before {
            content: "";
            position: absolute;
            left: -12px;
            top: 50%;
            transform: translateY(-50%);
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: #E8A361;
            opacity: 0;
            transition: opacity 0.2s ease;
        }

        .footer-links li a:hover {
            color: #2C2416;
            padding-left: 12px;
        }

            .footer-links li a:hover::before {
                opacity: 1;
            }

/* =========================================================
   COLUMNA DE DATOS
   ========================================================= */

.footer-data {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

    .footer-data li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 0.88rem;
        color: #6B6555;
        line-height: 1.6;
        font-weight: 600;
    }

        .footer-data li svg {
            width: 16px;
            height: 16px;
            color: #E8A361;
            flex-shrink: 0;
            margin-top: 3px;
        }

/* =========================================================
   DIVISORIA
   ========================================================= */

.footer-divider {
    width: min(1200px, 90%);
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(232, 180, 97, 0.2) 20%, rgba(232, 180, 97, 0.3) 50%, rgba(232, 180, 97, 0.2) 80%, transparent 100% );
    position: relative;
    z-index: 2;
}

/* =========================================================
   FOOTER BOTTOM
   ========================================================= */

.footer-bottom {
    padding: 24px 0 28px;
    position: relative;
    z-index: 2;
}

.footer-bottom-inner {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 0.8rem;
    color: #A8A39A;
    margin: 0;
    letter-spacing: 0.02em;
    font-weight: 600;
}

/* Créditos desarrollador */
.footer-dev {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.78rem;
    color: #A8A39A;
    font-weight: 600;
}

.footer-dev-link {
    color: #6B6555;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

    .footer-dev-link:hover {
        color: #E8A361;
    }

.footer-dev-sep {
    color: #C4BFB5;
}

/* Botón WhatsApp desarrollador */
.footer-dev-wa {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 2px solid rgba(37, 211, 102, 0.25);
    background: rgba(37, 211, 102, 0.1);
    color: #1EBE5A;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}

    .footer-dev-wa svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }

    .footer-dev-wa:hover {
        background: #25D366;
        border-color: #25D366;
        color: #FFFFFF;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
    }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col--brand {
        grid-column: span 2;
        flex-direction: row;
        align-items: flex-start;
        gap: 32px;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .footer-body {
        padding: 52px 0 44px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        width: min(94%, 100%);
    }

    .footer-col--brand {
        grid-column: span 1;
        flex-direction: column;
        gap: 18px;
    }

    .footer-logo {
        height: 52px;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: min(94%, 100%);
    }

    .footer-dev {
        flex-wrap: wrap;
        gap: 6px;
    }
}
