/* =====================
   ADMIN BAR
===================== */
body.admin-bar {
    padding-top: 112px;
}

body.admin-bar .site-header {
    top: 32px;
}

/* =====================
   HEADER
===================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* =====================
   CONTAINER
===================== */
.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 16px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* =====================
   LOGO
===================== */
.logo-button {
    display: flex;
    align-items: center;
    gap: 10px;
    /* afinado */
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

.logo-img {
    height: 48px;
    /* CLAVE: antes 56px */
    width: auto;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    color: #233D7C;
}

.logo-subtitle {
    font-size: 12px;
    letter-spacing: 0.02em;
    line-height: 1.1;
    color: #A77D5C;
}

/* =====================
   DESKTOP NAV
===================== */
/* =====================
   DESKTOP NAV
   ===================== */
.main-nav {
    display: flex;
    gap: 24px;
}

.main-nav a {
    text-decoration: none;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #5A6D8F;
    cursor: pointer;
    transition: color 0.2s ease;
    font-family: inherit;
}

.main-nav a:hover {
    color: #233D7C;
}

/* =====================
   ACTIONS
===================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =====================
   LANGUAGE SWITCH
===================== */
.language-switch {
    display: flex;
    gap: 4px;
    background: #F4EDE5;
    padding: 4px;
    border-radius: 999px;
}

.lang-btn {
    padding: 4px 12px;
    border-radius: 999px;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5A6D8F;
    cursor: pointer;
    font-family: inherit;
}

.lang-btn.active {
    background: #233D7C;
    color: #fff;
}

/* =====================
   MOBILE TOGGLE
===================== */
.mobile-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #233D7C;
}

/* =====================
   MOBILE MENU
===================== */
.mobile-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid #D9D9D9;
    z-index: 998;
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    padding: 14px 16px;
    text-align: left;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #5A6D8F;
    cursor: pointer;
    font-family: inherit;
    display: block;
}

.mobile-menu a:hover {
    background: #F4EDE5;
    color: #233D7C;
}

/* =====================
   BREAKPOINT
===================== */
@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }
}