/* --- FOOTER BASE --- */
.ts-footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 45px 0 25px;
    width: 100%;
    font-family: inherit;
    font-size: 14px;
}
.ts-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ZONA SUPERIOR (3 COLUMNAS) --- */
.ts-footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Alineado arriba para mejor balance */
    position: relative;
    padding-bottom: 35px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* TITULOS DE COLUMNA */
.ts-footer-column h3 {
    color: rgba(255,255,255,.82) !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px 0;
    opacity: 0.8;
}

/* ALINEACIONES */
.col-left { text-align: left; flex: 1; }
.col-center { text-align: center; flex: 1; }
.col-right { text-align: right; flex: 1; }

/* LINKS DE TEXTO (Izquierda) */
.ts-text-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* Cambiado a vertical para balancear con la dirección */
    gap: 8px;
}
.ts-text-links a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s;
}
.ts-text-links a:hover { color: #ffd500; }

/* DIRECCIÓN (Centro) */
.ts-address-text {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin: 0;
    font-style: normal;
}
.ts-address-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}
.ts-address-link:hover { color: #fff; }

/* REDES SOCIALES (Derecha) */
.ts-social-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 18px;
    align-items: center;
}

.ts-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ts-social-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.ts-social-icon:hover {
    color: #fff;
    transform: translateY(-3px);
}


/* --- ZONA INFERIOR --- */
.ts-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ts-footer-bottom-left { display: flex; align-items: center; gap: 20px; }
.ts-footer-logo img, .ts-afip-data img { height: 26px; width: auto; opacity: 0.7; transition: opacity .3s; }
.ts-footer-logo:hover img, .ts-afip-data:hover img { opacity: 1; }

.ts-copyright {
    color: rgba(255,255,255);
    font-size: 11px;
    padding-left: 15px;
    border-left: 1px solid rgba(255,255,255,0.1);
}

.ts-footer-bottom-right { display: flex; gap: 20px; }
.ts-footer-bottom-links {
    color: rgb(255,255,255);
    text-decoration: none;
    font-size: 11px;
    transition: 0.3s;
}
.ts-footer-bottom-links:hover { color: #fff; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .ts-footer-top { flex-direction: column; gap: 40px; text-align: center; align-items: center; }
    
    .col-left, .col-center, .col-right { 
        text-align: center; 
        width: 100%; 
        flex: auto;
    }
    
    /* En móvil centramos los links que estaban a la izquierda */
    .ts-text-links { align-items: center; } 
    .ts-social-list { justify-content: center; }
    
    .ts-footer-bottom { flex-direction: column; gap: 20px; }
    .ts-footer-bottom-left { flex-direction: column; gap: 15px; }
    .ts-copyright { border-left: none; padding-left: 0; }
    .ts-footer-bottom-right { flex-wrap: wrap; justify-content: center; }
}
