body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #f4f4f4;
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
}

main.container {
    flex: 1;
    padding-top: 20px;
    padding-bottom: 20px;
}

.topbar {
    background: #be531c;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: .5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
}

.card-museo {
    border-radius: 14px;
    background: #ffffff;
    border: none;
    padding: 25px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card-museo:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}


.title-museo {
    font-weight: 700;
    color: #1f2937;
}

.sub {
    color: #6b7280;
    font-weight: 500;
}


.footer-museo {
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #ddd;
}

.footer-museo img.logo-footer {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.footer-museo .social-icons {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.footer-museo .social-icons a {
    margin-left: 15px;
    color: #4f2c1d;
    font-size: 24px;
    transition: color 0.3s ease;
}

.footer-museo .social-icons a:hover {
    color: #be531c;
}

@media (max-width: 576px) {
    .footer-museo {
        flex-direction: column;
        text-align: center;
    }

    .footer-museo .social-icons {
        justify-content: center;
        margin-top: 15px;
    }
}

/* --- COLORES PEMUSEF--- */
.text-amusef {
    color: #ffb549 !important;
}

.text-bmusef {
    color: #ed9b33 !important;
}

.text-cmusef {
    color: #e87722 !important;
}

.text-dmusef {
    color: #b3531c !important;
}

.text-emusef {
    color: #8a2b2b !important;
}

.text-fmusef {
    color: #6a3460 !important;
}

.text-gmusef {
    color: #4b3048 !important;
}

.text-hmusef {
    color: #2e334e !important;
}

.text-imusef {
    color: #01426a !important;
}

.text-jmusef {
    color: #2a514d !important;
}

.text-kmusef {
    color: #36573b !important;
}

.text-lmusef {
    color: #6d712e !important;
}

.text-mmusef {
    color: #4f2c1d !important;
}

.badge-kmusef {
    background-color: #6d712e !important;
    color: #fff !important;
}

.btn-volver {
    background-color: #2a514d !important;
    color: #fff !important;
}

.btn-volver:hover {
    background-color: #2e334e !important;
}
.autocomplete-list {
    position: absolute;
    z-index: 2000;
    background: white;
    width: 100%;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    margin-top: 2px;
    display: none;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 15px;
}

.autocomplete-item:hover {
    background: #f1f1f1;
}