/**
 * Footer San Francisco.
 * Origen legacy (orden de cascada original): theme/estilos/generales/template_estructura.css
 * y estilos/generales/estructura.css. Valores rem/px copiados sin reescalar (html 62.5%).
 * Contexto: .sanfrancisco-footer
 */

/* Cuerpo del footer */
.sanfrancisco-footer .footer {
    background-color: var(--azul-oscuro);
    color: #fff;
    padding: 4rem 2rem 2rem;
    font-size: 1.4rem;
}

.sanfrancisco-footer .footer-grilla {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.sanfrancisco-footer .footer-col {
    flex: 1 1 200px;
    margin: 1rem;
}

.sanfrancisco-footer .footer-titulo {
    font-weight: bold;
    margin-bottom: 2rem;
    font-size: 1.7rem;
    text-transform: uppercase;
}

.sanfrancisco-footer .color-azul {
    color: var(--celeste);
}

.sanfrancisco-footer .line-utiles {
    background-color: var(--celeste);
}

.sanfrancisco-footer .color-verde {
    color: var(--verde);
}

.sanfrancisco-footer .line-cerca {
    background-color: var(--verde);
}

.sanfrancisco-footer .color-naranja {
    color: var(--naranja);
}

.sanfrancisco-footer .line-servicios {
    background-color: var(--naranja);
}

.sanfrancisco-footer .color-amarillo {
    color: var(--amarillo);
}

.sanfrancisco-footer .line-gobierno {
    background-color: var(--amarillo);
}

.sanfrancisco-footer .footer-line-enlaces {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sanfrancisco-footer .footer-line-enlaces::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: sanfrancisco-shimmer 1.2s infinite;
    border-radius: 5px;
}

@keyframes sanfrancisco-shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.sanfrancisco-footer .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sanfrancisco-footer .footer-col ul li {
    margin-bottom: 0.6rem;
}

.sanfrancisco-footer .footer-col ul li a {
    color: var(--grisclaro);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.7rem;
}

.sanfrancisco-footer .footer-col ul li a:hover {
    color: var(--blanco);
}

/* Teléfonos útiles */
.sanfrancisco-footer .tel-utiles {
    font-size: 1.7rem;
    color: var(--primario);
    margin-bottom: 2rem;
    font-weight: bold;
}

.sanfrancisco-footer .grilla-telefonos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: stretch;
    justify-content: space-between;
}

.sanfrancisco-footer .telefono-box {
    flex: 1 1 200px;
    max-width: calc(25% - 1rem);
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 100px;
}

.sanfrancisco-footer .icono-tel {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--grisclaro);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--azul);
    transition: background-color 0.3s ease;
}

.sanfrancisco-footer .icono-tel:hover {
    background-color: #f0f0f0;
}

.sanfrancisco-footer .info-tel {
    flex: 1;
    text-align: left;
}

.sanfrancisco-footer .info-tel .numero {
    margin: 0;
    font-weight: bold;
    font-size: 1.8rem;
    color: #fff;
}

.sanfrancisco-footer .info-tel .texto {
    margin: 0;
    font-size: 1.7rem;
    color: #cbd5e0;
}

.sanfrancisco-footer .ver-todos-wrapper {
    margin-left: auto;
    flex-shrink: 0;
}

.sanfrancisco-footer .ver-todos-wrapper .btn-secundario {
    background-color: var(--primario);
    color: var(--blanco);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.7rem;
    line-height: 1.5;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sanfrancisco-footer .ver-todos-wrapper .btn-secundario:hover {
    background-color: #0088c2;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

@media (max-width: 992px) {
    .sanfrancisco-footer .telefono-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .sanfrancisco-footer .grilla-telefonos {
        justify-content: center;
    }

    .sanfrancisco-footer .ver-todos-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Barra inferior */
.sanfrancisco-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    margin-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sanfrancisco-footer .footer-bottom > div {
    flex: 1 1 auto;
    min-width: 250px;
}

.sanfrancisco-footer .footer-logo img {
    height: 110px;
}

.sanfrancisco-footer .seguinos .titulo-seguinos {
    margin-bottom: 1rem;
    text-align: center;
    color: var(--primario);
    font-weight: 700;
    font-size: 18px;
}

.sanfrancisco-footer .redes-sociales-footer {
    text-align: center;
}

.sanfrancisco-footer .redes-sociales-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 0.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sanfrancisco-footer .redes-sociales-footer a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--primario);
    transform: scale(1.1);
}

.sanfrancisco-footer .icono-red {
    width: 20px;
    height: 20px;
    stroke: white;
    fill: none;
    margin: 0 4px;
}

.sanfrancisco-footer .footer-info {
    text-align: right;
    font-weight: 300;
}

.sanfrancisco-footer .footer-info p {
    margin: 0.8rem 0;
    font-size: 1.5rem;
    color: var(--grisclaro);
}

@media screen and (max-width: 768px) {
    .sanfrancisco-footer .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 1rem;
    }

    .sanfrancisco-footer .footer-bottom > div {
        justify-content: center;
        text-align: center;
    }

    .sanfrancisco-footer .footer-logo {
        margin-bottom: 15px;
    }
}

/* Firma */
.sanfrancisco-footer .firma {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding-top: 15px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .sanfrancisco-footer .firma {
        flex-direction: column;
        gap: 15px;
        margin-top: 0rem;
    }
}
