/*
================================================================
Estilos para el Pie de Página (Footer)
Prefijo: ftl-
================================================================
*/

:root {
    /* Paleta de colores importada de tus otros archivos para consistencia */
    --ftl-color-primary: #14b8a6;
    --ftl-color-primary-hover: #0d9488;
    --ftl-color-surface-main: #02091a;
    --ftl-color-surface-card: #1e293b;
    --ftl-color-border: #334155;
    --ftl-color-text-base: #f1f5f9;
    --ftl-color-text-muted: #94a3b8;
}

.ftl-site-footer {
    background-color: var(--ftl-color-surface-main);
    color: var(--ftl-color-text-muted);
    padding: 4rem 0 2rem 0;
    border-top: 1px solid var(--ftl-color-border);
    font-family: 'Inter', sans-serif;
}

.ftl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@media (min-width: 640px) {
    .ftl-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .ftl-footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.ftl-footer-widget {
    font-size: 0.95rem;
}

.ftl-widget-about .custom-logo-link img,
.ftl-widget-about a img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}

.ftl-site-description {
    line-height: 1.6;
    margin: 0;
    max-width: 320px;
}

.ftl-widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--ftl-color-text-base);
    margin: 0 0 1.25rem 0;
    position: relative;
    padding-bottom: 0.5rem;
}

.ftl-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--ftl-color-primary);
}

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

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

.ftl-footer-menu a {
    color: var(--ftl-color-text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.ftl-footer-menu a:hover {
    color: var(--ftl-color-primary);
    padding-left: 5px;
}

.ftl-social-links {
    display: flex;
    gap: 1rem;
    margin-top: -0.25rem; /* Alineación visual */
}

.ftl-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--ftl-color-surface-card);
    color: var(--ftl-color-text-base);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ftl-social-icon:hover {
    background-color: var(--ftl-color-primary);
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

.ftl-footer-bottom {
    border-top: 1px solid var(--ftl-color-border);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

.ftl-footer-bottom p {
    margin: 0;
}

