/* Estilos para la cabecera del sitio */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: relative;
    z-index: 101;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

.logo-title {
    color: var(--color-primary, #0d47a1);
    margin: 0 0 0 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.header-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: transform 0.3s, opacity 0.3s;
    text-decoration: none;
}

/* Estilos para los iconos SVG dentro de social-link */
.social-icon {
    width: 20px;
    height: 20px;
}

.social-link.facebook {
    background-color: #1877F2;
}

.social-link.instagram {
    background-color: #E4405F;
}

.social-link.twitter {
    background-color: #1DA1F2;
}

.social-link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    margin-left: 15px;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--color-primary, #0d47a1);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 0px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 10px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 20px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 10px;
    transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 10px;
    transform: rotate(-45deg);
}

/* Estilos responsive */
@media (max-width: 991px) {
    .site-header {
        padding: 5px 0;
    }
    
    .header-top {
        flex-wrap: wrap;
    }
    
    .logo {
        max-width: 80%;
    }
    
    .logo img {
        max-width: 120px;
    }
    
    .logo-title {
        font-size: 1.2rem;
        margin-left: 10px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-icon {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 767px) {
    .logo {
        max-width: 75%;
    }
    
    .logo-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo img {
        max-width: 100px;
    }
    
    .logo-title {
        font-size: 1rem;
        margin: 5px 0 0;
    }
    
    /* Mantener los enlaces sociales visibles */
    .social-links {
        display: flex;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-icon {
        width: 14px;
        height: 14px;
    }
}