/* ============================================================
   TRANSPORTES FRANCISCO LANDING CORE — Footer Styles
   ============================================================ */
:root {
    --tflc-footer-bg:       var(--project-primary, #223D65); /* Azul oscuro corporativo */
    --tflc-footer-bottom:   #1b3252; /* Azul más oscuro para barra inferior */
    --tflc-footer-text:     #e2f0e8;
    --tflc-footer-link:     #ffffff;
    --tflc-footer-accent:   var(--project-secondary, #FFC600); /* Amarillo corporativo */
    --tflc-footer-font:     var(--project-font, 'Montserrat', sans-serif);
}

.tflc-footer {
    background-color: var(--tflc-footer-bg);
    color: var(--tflc-footer-text);
    font-family: var(--tflc-footer-font);
    
    /* Forzar Full Width (Seguro para Flexbox Containers de Elementor) */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-bottom: -20px !important; /* Compensa el padding inferior por defecto de 20px de Elementor */
}

/* Contenedor Top (Grid 4 columnas) */
.tflc-footer__top {
    padding: 60px 20px;
}

.tflc-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.tflc-footer__top .tflc-footer__inner {
    display: grid;
    grid-template-columns: 2fr 3fr 2fr 3fr;
    gap: 50px;
}

.tflc-footer__title {
    color: var(--tflc-footer-link);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-top: 0;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.tflc-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--tflc-footer-accent);
}

.tflc-footer__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.85;
}

.tflc-footer__logo {
    max-width: 100%;
    height: auto;
}

/* Listas de Enlaces */
.tflc-footer__menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tflc-footer__menu-list li {
    margin-bottom: 12px;
}

.tflc-footer__link {
    color: var(--tflc-footer-link);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.tflc-footer__link:hover {
    color: var(--tflc-footer-accent);
}

/* Lista de Contacto */
.tflc-footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tflc-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.tflc-footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--tflc-footer-accent); /* Icono en amarillo */
    margin-top: 2px;
}
.tflc-footer__contact-icon svg,
.tflc-footer__contact-icon i {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Barra Inferior (Bottom) */
.tflc-footer__bottom {
    background-color: var(--tflc-footer-bottom);
    padding: 20px 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

.tflc-footer__inner--bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.tflc-footer__legal-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.tflc-footer__legal-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    position: relative;
    padding-right: 20px;
    transition: color 0.3s ease;
}
.tflc-footer__legal-link:hover {
    color: var(--tflc-footer-accent);
}

/* Divisor en la barra inferior (los guiones) */
.tflc-footer__legal-link::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 1024px) {
    .tflc-footer__top .tflc-footer__inner {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    .tflc-footer__top .tflc-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tflc-footer__title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .tflc-footer__contact-item {
        justify-content: center;
    }
    .tflc-footer__inner--bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .tflc-footer__legal-menu {
        justify-content: center;
    }
}
