/* ── Footer grid: 4 columnas en desktop ─────────
   email | WhatsApp | CENDISALUD | banderas
   En móvil el CSS de estiloindex pasa a 2 cols →
   matriz 2×2 automática:
     email       | WhatsApp
     CENDISALUD  | banderas          */
.footer-content {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* Elemento banderas: centrado como los demás items */
.lang-item {
    gap: 12px;
}

.lang-flag-link {
    touch-action: manipulation;
    padding: 10px;
    display: flex;
    align-items: center;
    opacity: 0.5;
    transition: opacity 0.2s;
    border: none !important;
    text-decoration: none;
}

.lang-flag-link.lang-active,
.lang-flag-link:hover { opacity: 1; }

.lang-flag-link img {
    display: block;
    border-radius: 3px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.45);
}

/* Móvil ≤768px → 2 cols: matriz 2×2 automática */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .location-contact {
        grid-column: auto !important;
    }
}

/* ── Lista de terapias — sin puntos, 1 columna, centrada ─── */
.adultos ul {
    columns: 1;
    list-style: none;
    padding-inline-start: 0;
    margin-inline: auto;
    max-width: 320px;
    text-align: center;
}

.adultos li {
    text-align: center;
    hyphens: none;
    font-size: clamp(1rem, 3vw, 1.2rem) !important;
    line-height: 1.9 !important;
}

.adultos li a {
    color: #ffffff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
}

.adultos li a:hover {
    opacity: 0.8;
    border-bottom-color: #ffffff;
}

/* Icono centrado */
.adultos-icono {
    display: flex;
    justify-content: center;
    margin-block-end: 16px;
}

.adultos-icono .section-gif {
    width: 60px;
    height: 60px;
}

/* Accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Móvil — banderas más grandes y separadas para mejor área táctil */
@media (max-width: 768px) {
    .lang-item {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }
    .lang-flag-link {
    touch-action: manipulation;
        padding: 14px;
    }
    .lang-flag-link img {
        width: 48px;
        height: 36px;
    }
}
