/* Header y search overlay (idéntico al original, solo cambia algún texto) */
.site-header {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 40%, #f093fb 70%, #f5576c 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}
.search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5rem;
    color: #2c3e50;
}
.search-toggle:hover {
    color: #667eea;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    position: relative;
    margin-left: 0.5rem;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: #2c3e50;
    border-radius: 2px;
    transition: all 0.25s ease;
    position: absolute;
    left: 4px;
}
.hamburger {
    top: 15px;
}
.hamburger::before {
    top: -7px;
}
.hamburger::after {
    bottom: -7px;
}
.menu-toggle.active .hamburger {
    background: transparent;
}
.menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}
.main-nav {
    display: flex;
    align-items: center;
}
.primary-menu {
    list-style: none;
    display: flex;
    gap: 1.8rem;
    margin: 0;
    padding: 0;
}
.primary-menu a {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c3e50;
    transition: color 0.2s;
}
.primary-menu a:hover {
    color: #667eea;
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .main-nav {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        max-width: 80%;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 20px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 1.5rem 2rem;
        overflow-y: auto;
    }
    .main-nav.active {
        right: 0;
    }
    .primary-menu {
        flex-direction: column;
        gap: 1.5rem;
    }
}
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 999;
    display: none;
}
.menu-overlay.active {
    display: block;
}

.language-switcher {
    position: relative;
    margin-left: 1rem;
    cursor: pointer;
}
.lang-current {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #f0f2f5;
    border-radius: 30px;
    font-size: 0.85rem;
}
.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    min-width: 140px;
    display: none;
    z-index: 1001;
    overflow: hidden;
}
.language-switcher:hover .lang-dropdown {
    display: block;
}
.lang-dropdown a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 0.85rem;
    transition: background 0.2s;
}
.lang-dropdown a:hover {
    background: #f0f2f5;
}
.lang-dropdown a.active {
    background: #667eea;
    color: white;
}
@media (max-width: 768px) {
    .language-switcher {
        margin-left: 0;
    }
    .lang-current .lang-code {
        display: none;
    }
}

.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.search-overlay.active {
    display: flex;
}
.search-overlay-container {
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    border-radius: 24px;
    padding: 2rem;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.close-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}
.close-overlay:hover {
    color: #000;
}
.search-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
}
.search-fields input,
.search-fields select,
.search-submit {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 40px;
    font-size: 1rem;
    flex: 1;
}
.search-submit {
    background: #10a37f;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.search-submit:hover {
    background: #0e8e6e;
}
.search-results {
    margin-top: 2rem;
}
.search-loading {
    text-align: center;
    padding: 2rem;
}
@media (max-width: 768px) {
    .search-fields input,
    .search-fields select,
    .search-submit {
        flex: 100%;
    }
}