/* --- GRID HORIZONTAL --- */
.sitios-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Tarjeta completa */
.card-sitio {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px;
}

/* MINIATURA CON SCALE */
.thumbnail {
    width: 478px;
    height: 355.67px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.1);
    position: relative;
}

/* iframe grande pero reducido */
.thumbnail iframe {
    width: 1200px;
    height: 900px;
    border: none;

    position: absolute;
    top: 0;
    left: 0;

    transform-origin: 0 0;
    transform: scale(0.4); /* Ajusta la vista dentro de 478x355 */
}

/* BOTÓN */
.visit-btn {
    margin-top: 20px;
    font-family: 'Quicksand', sans-serif;
    border-radius: 12px;
    padding: 11px 50px;
    background: #003899;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    color: #FFFFFF;
    box-shadow: 0px 4px 4px #00000040;
    transition: .2s ease;
}

.visit-btn:hover {
    background: #002b73;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .thumbnail {
        width: 350px;
        height: 260px;
    }
    .thumbnail iframe {
        transform: scale(0.35);
    }
}

@media (max-width: 768px) {
    .thumbnail {
        width: 300px;
        height: 220px;
    }
    .thumbnail iframe {
        transform: scale(0.30);
    }
}

@media (max-width: 480px) {
    .thumbnail {
        width: 100%;
        max-width: 330px;
        height: 210px;
    }
    .thumbnail iframe {
        transform: scale(0.28);
    }
}
