@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:200,200i,300,300i,400,400i,600,600i,700,700i,900,900i&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: 'Source Sans Pro', sans-serif;
}

body{
    background: #f6f6f6;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 25px -22px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transition: all 0.3s ease;
}

.header-content{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 20px;
    height: 100%;
}

.logo{
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.logo img {
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo h1 b{
    color:  #91298b;
}


.menu {
  
    margin-right: 20px;
}

.menu nav{
    height: 100%;
}

.menu nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 15px;
}

.menu nav ul li {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.menu nav ul li:not(.banderas) {
    margin: 0;
}

.banderas {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.banderas img {
    transition: all 0.3s ease;
}

.banderas img:hover {
    transform: scale(1.1);
}

.menu-selected:before{
    content: '';
    width: 100%;
    height: 3px;
    background: #91298c;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 0 0 2px 2px;
}

.menu nav ul li a{
    color: #555;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
}

.menu nav ul li a:hover{
    color: #91298c;
    background: rgba(145, 41, 140, 0.05);
}

.menu .text-menu-selected{
    color: #91298c;
}

.menu nav ul li a i{
    display: none;
}

#icon-menu{
    width: 50px;
    height: 50px;
    position: absolute;
    right: 20px;
    top: 16px;
    padding: 10px;
    font-size: 20px;
    background: white;
    border-radius: 100%;
    color: #787878;
    display: none;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  
}

#icon-menu:hover{
    opacity: 0.8;
}

/* Contenedor del dropdown (fuera del menú o dentro) */
.dropdown-categorias,
.dropdown-categorias-li {
    position: relative;
    display: inline-block;
}

/* Botón "Categorías" */
.btn-categorias {
    background: none;
    border: none;
    cursor: pointer;
    color: #555;
    padding: 8px 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-categorias:hover {
    color: #91298c;
    background: rgba(145, 41, 140, 0.05);
}

.btn-categorias i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Lista desplegable */
.dropdown-lista {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    list-style: none;
    padding: 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    z-index: 100;
    min-width: 200px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease-in-out;
    flex-direction: column;
}

.dropdown-lista.mostrar {
    max-height: 1000px; /* Altura suficiente para mostrar todos los items */
    padding: 8px 0;
}

/* Ítems de la lista */
.dropdown-lista li {
    width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-lista li:last-child {
    margin-bottom: 0;
}

/* Enlaces dentro del menú */

.dropdown-lista a {
    text-decoration: none;
    display: block;
    width: 100%;
    color: #333;
    padding: 12px 20px 12px 40px;
    font-weight: 500;
}

.dropdown-lista a:hover {
    color: #91298c;
    background: rgba(145, 41, 140, 0.05);
}


/*Buscador de contenido*/

#ctn-icon-search{
    position: absolute;
    right: 20px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ctn-icon-search i{
    font-size: 18px;
    color: #777777;
    cursor: pointer;
    transition: all 300ms;
}

#ctn-icon-search i:hover{
    color: #AE4198;
}


#ctn-bars-search{
    display: none;                /* Oculto por defecto */
    position: absolute;
    top: -10px;                   /* Posición inicial fuera de vista */
    width: 100%;
    background: #fff;
    justify-content: center;
    z-index: 9;
    padding: 20px;
    transition: all 600ms;
    
    
}

#ctn-bars-search input{
    display: block;
    width: 1200px;
    margin: auto;
    padding: 10px;
    font-size: 18px;
    outline: 0;
}

#box-search{
    position: fixed;
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    background: #fff;
    z-index: 8;
    overflow: hidden;
    display: none;
}

#box-search li a{
    display: block;
    width: 1200px;
    color: #777777;
    padding: 12px 20px;
}

#box-search li a:hover{
    background: #f3f3f3;
}

#box-search li a i{
    margin-right: 10px;
    color: #777777;
}


#cover-ctn-search{
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    background: rgba(0,0,0,0.5);
    z-index: 7;
    display: none;
}




/*Footer - pie de pagina*/

.container-footer{
    width: 100%;
    padding: 40px 0;
    background:#91268f;
    margin-top: 40px;
}

.container-footer footer{
    max-width: 1200px;
    margin: auto;
}

.container-footer footer .logo-footer{
    text-align: center;
}

.container-footer footer .logo-footer img{
    width: 100px;
}

.container-footer footer .redes-footer{
    display: flex;
    justify-content: center;
    margin-top: 20px;
}


.container-footer footer .redes-footer .icon-redes-footer{
    font-size: 20px;
    margin: 20px;
    background: white;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
    color: #91268f;
}

footer .redes-footer .fa-facebook-f:hover{
    background: #41579A;
    color: #fff;
}

footer .redes-footer .fa-youtube:hover{
    background: #DE4C34;
    color: #fff;
}

footer .redes-footer .fa-instagram:hover{
    background: linear-gradient(to top right, #FCDE30, #E9712A, #D2313B, #AE4198, #7540A1, #5443A8);
    color: #fff;
}


.container-footer footer hr{
    margin-top: 20px;
    border: none;
    height: 2px;
    background: #c0c0c07a;
}


.container-footer h4{
    text-align: center;
    margin-top: 20px;
    color: whitesmoke;
    font-weight: 500;
}
.container-footer h2{
    text-align: center;
    margin-top: 40px;
    color: whitesmoke;
    font-weight: 500;
}
.sitios{
    text-align: center;
    margin-block: 1em;
    
}
.sitios a{
    color: #91268f;
    background-color: white;
    border-radius: 2em;
    padding: 0.5em;
    margin-inline: 1em;
    
}
#arg:hover{
    background: linear-gradient(to top right, #30aafc, #e0e2e2);
    color: #fff;
}
#chi:hover{
    background: linear-gradient(to top right, #d61204, #001279);
    color: #fff;
}
#mex:hover{
    background: linear-gradient(to top right,  #00994d, #d61204);
    color: #fff;
}

/* Responsive Design - adaptable a dispositivos moviles*/

@media screen and (max-width: 1220px){

    .header-content,
    .container-footer footer{
        max-width: 1000px;
        padding: 0 20px;
    }

    #ctn-bars-search,
    #ctn-bars-search input,
    #box-search{
        width: 100%;
    }

}



@media screen and (max-width: 800px){

    body{
        overflow-x: hidden;
    }

    .container-all{
        transition: all 300ms cubic-bezier(1,0,0,1);
    }

    .move-container-all{
        transform: translateX(300px);
    }

    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 300px;
        height: calc(100vh - 80px);
        background: #fff;
        overflow: hidden;
        transform: translateX(-350px);
        box-shadow: 10px 0 20px -25px black;
        transition: all 300ms cubic-bezier(1,0,0,1);
        display: flex;
        flex-direction: column;
    }

    .show-lateral {
        width: 300px;
        transform: translateX(0px);
    }

    .menu nav {
        width: 100%;
        height: 100%;
        padding: 20px 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        overflow-y: visible;
    }

    .menu nav ul {
        flex-direction: column;
        height: 100%;
        gap: 0;
        flex: 1;
        padding-bottom: 80px;
        overflow-y: auto;
    }

    .menu nav ul li {
        width: 100%;
        height: auto;
        margin: 0;
        justify-content: center;
    }

    .menu nav ul li:not(.banderas) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .menu nav ul li a {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 18px;
        color: #555;
        margin: 0;
    }

    .menu-selected:before {
        display: none;
    }

    .dropdown-categorias-li {
        position: relative;
        width: 100%;
        flex-direction: column;
    }

    .btn-categorias {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 18px;
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        color: #555;
        font-family: inherit;
        font-weight: 500;
        position: relative;
        z-index: 2;
    }

    .dropdown-lista {
        position: static;
        width: 100%;
        background: #f7f7f7;
        border-radius: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, visibility 0.3s;
        visibility: hidden;
    }

    .dropdown-lista.mostrar {
        max-height: 1000px; /* Altura suficiente para los items en móvil */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 0;
        visibility: visible;
    }

    .dropdown-lista li {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .dropdown-lista.mostrar li {
        transform: none;
    }

    .dropdown-lista a {
        padding: 12px 20px 12px 40px;
        display: block;
        width: 100%;
        color: #555;
        font-size: 17px;
        font-weight: 500;
        text-align: left;
    }

    .dropdown-lista a:hover {
        background: rgba(145, 41, 140, 0.05);
        color: #91298c;
    }

    .banderas {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 300px;
        padding: 15px 20px;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
        gap: 15px;
        z-index: 1000;
    }

    .banderas li {
        height: auto !important;
        margin: 0;
    }

    .banderas li a {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .banderas img {
        width: 24px;
        height: auto;
        transition: transform 0.3s ease;
    }

    .banderas img:hover {
        transform: scale(1.1);
    }

    #icon-menu {
        display: flex;
    }

    .container-aside{
        flex-wrap: wrap;
    }
    .ctn-icon-search{
    display: none;
}
#icon-search{
    display: none;
}


 }

/* Estilos del Footer */
.container-footer {
    background-color: #1a1a1a;
    padding: 60px 0 30px;
    color: #fff;
}

.container-footer footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #872786;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #872786;
}

.footer-locations {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.location-item i {
    color: #872786;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #b3b3b3;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Estilos para enlaces en el footer */
.footer-section a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #872786 !important;
}

/* Estilos específicos para enlaces de ubicaciones */
.location-item a {
    color: #fff !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.location-item a:hover {
    color: #872786 !important;
}