/* ===================== */
/* TARJETAS DE CIUDAD (estilo tab) */
/* ===================== */

.ciudades-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f5f7f9;
    padding: 24px;
    border-radius: 16px;
}

.tab-ciudad {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    padding: 28px 16px;
    border-radius: 16px;

    background: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    text-decoration: none;

    transition: all 0.3s ease;
}

.tab-ciudad:hover {
    transform: translateY(-4px);
    border-color: #00c853;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}

.tab-ciudad img {
    height: 80px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 14px;
}

.tab-ciudad h5 {
    font-weight: 700;
    font-size: 15px;
    color: #1a1a1a;
    margin: 0;
}

/* TABLET: 2 columnas */
@media (max-width: 768px) {
    .ciudades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MÓVIL PEQUEÑO: 1 columna, horizontal */
@media (max-width: 480px) {
    .ciudades-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .tab-ciudad {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 15px;
    }

    .tab-ciudad img {
        height: 40px;
        margin-bottom: 0;
        margin-right: 12px;
    }
}
