@charset "UTF-8";
/* Hero — Bajo Nalón Tema WP */

/* ══════════════════════════════════════════
   HERO BASE
══════════════════════════════════════════ */
.bn-hero {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 480px;
    overflow: hidden;
    background: var(--bn-color-surface-dark);
}
@media (min-width: 640px)  { .bn-hero { height: 70vh; min-height: 540px; } }
@media (min-width: 1024px) { .bn-hero { height: 85vh; min-height: 700px; } }

.bn-hero-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.bn-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.6), transparent);
}

.bn-hero-fade {
    position: absolute; left: 0; right: 0; bottom: 0; height: 8rem;
    background: linear-gradient(to top, var(--bn-color-bg-soft), transparent);
}

/* ══════════════════════════════════════════
   SIDEBAR NAV (solo desktop)
══════════════════════════════════════════ */
.bn-hero-sidebar {
    position: absolute; inset: 0; z-index: 20;
    display: none; align-items: flex-start;
    padding-top: 9rem;
    pointer-events: none;
}
@media (min-width: 1024px) { .bn-hero-sidebar { display: flex; } }
@media (min-width: 1280px) { .bn-hero-sidebar { padding-top: 10rem; } }

.bn-hero-sidebar-inner {
    width: min(100% - 2 * var(--bn-container-pad), var(--bn-container-max));
    margin-inline: auto;
}

.bn-hero-sidebar-content {
    display: inline-flex; flex-direction: column; gap: 1.5rem;
    pointer-events: auto;
}
@media (min-width: 1280px) { .bn-hero-sidebar-content { gap: 2rem; } }

/* Sidebar collapse on scroll */
.bn-hero-sidebar-content {
    transform-origin: center;
    transition: transform .5s cubic-bezier(.4,0,.6,1), opacity var(--bn-dur-slow) ease-out;
}
body.navbar-active .bn-hero-sidebar-content {
    transform: scale(.7); opacity: 0; pointer-events: none;
}

/* Sidebar nav links */
.bn-sidebar-nav { display: flex; flex-direction: column; gap: 8px; }
@media (min-width: 1280px) { .bn-sidebar-nav { gap: 12px; } }

.bn-sidebar-link {
    display: flex; align-items: center; gap: 8px;
    width: 208px; padding: 10px 12px 10px 16px;
    border-radius: var(--bn-radius-pill);
    font-size: 12px; font-weight: 600;
    color: var(--bn-color-white); text-decoration: none;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.3);
    transition: background .2s;
}
@media (min-width: 1280px) {
    .bn-sidebar-link { width: 240px; padding: 12px 16px 12px 20px; gap: 12px; font-size: 14px; }
}
.bn-sidebar-link:hover { background: rgba(255,255,255,.3); }
.bn-sidebar-link:focus-visible { outline: 2px solid var(--e-global-color-primary); outline-offset: 2px; background: rgba(255,255,255,.3); }
.bn-sidebar-link .label { flex: 1; }
.bn-sidebar-link svg { width: 16px; height: 16px; flex-shrink: 0; }

.bn-sidebar-link.is-active {
    background: var(--e-global-color-primary); border-color: var(--e-global-color-primary);
    box-shadow: 0 10px 25px -5px color-mix(in srgb, var(--e-global-color-primary) 30%, transparent);
}
.bn-sidebar-link.is-active:hover { background: var(--e-global-color-accent); }

/* Sidebar social */
.bn-sidebar-social {
    position: relative;
    z-index: 1;
    display: flex; align-items: center; justify-content: space-around;
    width: 208px; padding: 6px;
    border-radius: var(--bn-radius-pill);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.3);
    color: var(--bn-color-white);
}
@media (min-width: 1280px) { .bn-sidebar-social { width: 240px; } }
.bn-sidebar-social a {
    width: 36px; height: 36px; border-radius: var(--bn-radius-pill);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
@media (min-width: 1280px) { .bn-sidebar-social a { width: 40px; height: 40px; } }
/* !important: sobreescribe color heredado del <a> de WP */
.bn-sidebar-social a { color: var(--bn-color-white) !important; }
.bn-sidebar-social a:hover { background: rgba(255,255,255,.2); color: var(--e-global-color-primary) !important; }
.bn-sidebar-social svg { width: 16px; height: 16px; fill: currentColor; }

.bn-sidebar-language {
    position: relative;
    z-index: calc(var(--bn-z-dropdown) + 10);
    width: 208px;
    height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    border-radius: var(--bn-radius-pill);
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.3);
    color: var(--bn-color-white);
}
@media (min-width: 1280px) { .bn-sidebar-language { width: 240px; } }

.bn-sidebar-language .bn-language-trigger {
    width: 100%;
    min-height: 46px;
    padding: 0;
    color: inherit;
}

.bn-sidebar-language .bn-language-trigger__value {
    color: var(--bn-color-white);
}

.bn-sidebar-language .bn-language-menu {
    left: 0;
    right: auto;
    width: 208px;
    margin-top: 0;
    z-index: calc(var(--bn-z-dropdown) + 20);
}
@media (min-width: 1280px) { .bn-sidebar-language .bn-language-menu { width: 240px; } }

.bn-sidebar-language .bn-language-menu::before {
    left: 20px;
    right: auto;
}

/* ══════════════════════════════════════════
   SIDEBAR DROPDOWNS
══════════════════════════════════════════ */
.sidebar-item { position: relative; }
.sidebar-dropdown {
    position: absolute;
    top: -12px; left: 100%;
    margin-left: 12px;
    width: 240px;
    background: rgba(255,255,255,.98);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bn-color-border-soft);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: var(--bn-z-dropdown);
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateX(-10px) scale(.95);
    transform-origin: left top;
    transition: 
        opacity .25s cubic-bezier(.4,0,.2,1) .1s, 
        transform .25s cubic-bezier(.4,0,.2,1) .1s, 
        visibility .25s .1s;
}

.sidebar-dropdown-inner {
    max-height: calc(100vh - 10rem);
    overflow-y: auto;
    padding: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--bn-color-border-soft) transparent;
}

/* Chrome/Safari Scrollbar */
.sidebar-dropdown-inner::-webkit-scrollbar { width: 4px; }
.sidebar-dropdown-inner::-webkit-scrollbar-track { background: transparent; }
.sidebar-dropdown-inner::-webkit-scrollbar-thumb { background: var(--bn-color-border-soft); border-radius: 10px; }

/* Puente de interacción mejorado (Safe Triangle alternative) */
.sidebar-dropdown::before {
    content: ''; position: absolute;
    top: -20px; bottom: -20px; left: -30px; width: 40px;
    z-index: -1;
}

.sidebar-item:hover .sidebar-dropdown,
.sidebar-item:focus-within .sidebar-dropdown {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(0) scale(1);
    transition-delay: 0s;
}
.sidebar-dropdown a {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; border-radius: 12px;
    font-size: 13px; font-weight: 600;
    color: var(--e-global-color-text); text-decoration: none;
    transition: background var(--bn-dur-fast), color var(--bn-dur-fast);
    white-space: nowrap;
}
.sidebar-dropdown a:hover { background: #fff7f3; color: var(--e-global-color-primary); }
.sidebar-dropdown .dot {
    width: 6px; height: 6px; border-radius: var(--bn-radius-pill);
    background: var(--bn-color-border-soft); flex-shrink: 0; transition: background var(--bn-dur-fast);
}
.sidebar-dropdown a:hover .dot { background: var(--e-global-color-primary); }
.sidebar-dropdown hr { border: none; border-top: 1px solid var(--bn-color-border-soft); margin: 4px 8px; }

/* ══════════════════════════════════════════
   HERO TITLE
══════════════════════════════════════════ */
.bn-hero-title-wrap {
    position: absolute; inset: 0; z-index: 10;
    pointer-events: none;
}
.bn-hero-title-inner {
    width: min(100% - 2 * var(--bn-container-pad), var(--bn-container-max));
    margin-inline: auto;
    height: 100%;
    display: flex; align-items: center;
    justify-content: center;
}
@media (min-width: 1024px) { .bn-hero-title-inner { justify-content: flex-end; } }

.bn-hero-title-content {
    text-align: right; max-width: 90vw;
}
@media (min-width: 1024px) { .bn-hero-title-content { text-align: right; max-width: 80%; } }

.bn-hero-h1 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 600;
    font-size: 4.5rem;
    letter-spacing: -0.025em;
    color: var(--bn-color-white);
    line-height: .9;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,.3);
}
@media (min-width: 768px)  { .bn-hero-h1 { font-size: 8rem; } }
@media (min-width: 1024px) { .bn-hero-h1 { font-size: 12rem; } }

.bn-hero-h1_v2 {
    font-family: var(--e-global-typography-primary-font-family);
    font-weight: 600;
    font-size: 2rem;
    letter-spacing: -0.025em;
    color: var(--bn-color-white);
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 4px 12px rgba(0,0,0,.3);
}
@media (min-width: 768px)  { .bn-hero-h1_v2 { font-size: 3.5rem; } }
@media (min-width: 1024px) { .bn-hero-h1_v2 { font-size: 4.5rem; } }

.bn-hero-h1-highlight {
    background-image: linear-gradient(to right, var(--e-global-color-primary), var(--bn-color-yellow));
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}

.bn-hero-subtitle {
    color: var(--bn-color-white);
    margin-top: 12px;
    letter-spacing: .2em;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
@media (min-width: 640px)  { .bn-hero-subtitle { letter-spacing: .3em; font-size: 14px; margin-top: 16px; } }
@media (min-width: 768px)  { .bn-hero-subtitle { font-size: 18px; margin-top: 24px; } }

/* ══════════════════════════════════════════
   BREADCRUMB + LABEL
══════════════════════════════════════════ */
.bn-hero-bottom {
    position: absolute; left: 0; right: 0; z-index: 10;
    bottom: 1.5rem;
}
@media (min-width: 640px)  { .bn-hero-bottom { bottom: 2rem; } }
@media (min-width: 1024px) { .bn-hero-bottom { bottom: 2.5rem; } }

.bn-hero-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: min(100% - 2 * var(--bn-container-pad), var(--bn-container-max));
    margin-inline: auto;
}
.bn-hero-bottom-inner::after {
    content: '';
    flex-basis: 100%;
    order: 3;
}
.bn-hero-bottom-inner > .bn-breadcrumb {
    order: 1;
}
.bn-hero-bottom-inner > .bn-hero-label {
    order: 2;
}
.bn-hero-bottom-inner > .bn-guide-resource {
    order: 4;
    margin-top: 8px;
}

.bn-breadcrumb {
    display: none; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 11px; font-weight: 600;
    color: rgba(255,255,255,.8);
    text-transform: uppercase; letter-spacing: .15em;
    margin-right: auto;
}
@media (min-width: 640px) { .bn-breadcrumb { display: flex; } }
.bn-breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; transition: color var(--bn-dur-fast); }
.bn-breadcrumb a:hover { color: var(--bn-color-white); }
.bn-breadcrumb svg { width: 12px; height: 12px; }
.bn-breadcrumb .current { color: var(--bn-color-white); }

.bn-guide-resource {
    position: relative;
    display: inline-flex;
}

.bn-guide-resource__toggle,
.bn-guide-resource--single {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(15, 23, 42, .26);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-decoration: none;
    color: var(--bn-color-white);
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
    transition: border-color var(--bn-dur-fast), background-color var(--bn-dur-fast);
}

.bn-guide-resource__toggle:hover,
.bn-guide-resource__toggle:focus-visible,
.bn-guide-resource--single:hover,
.bn-guide-resource--single:focus-visible {
    border-color: rgba(255,255,255,.44);
    background: rgba(15, 23, 42, .36);
    outline: none;
}

.bn-guide-resource__toggle[aria-expanded="true"] {
    border-color: rgba(255,255,255,.44);
    background: rgba(15, 23, 42, .36);
}

.bn-guide-resource__arrow {
    display: inline-flex;
    transition: transform var(--bn-dur-fast);
}

.bn-guide-resource__toggle[aria-expanded="true"] .bn-guide-resource__arrow {
    transform: rotate(180deg);
}

.bn-guide-resource__dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    min-width: 100%;
    margin: 0 0 4px;
    padding: 4px;
    list-style: none;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(15, 23, 42, .85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: calc(var(--bn-z-dropdown) + 5);
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

.bn-guide-resource__dropdown[hidden] {
    display: none;
}

.bn-guide-resource__dropdown a {
    display: block;
    padding: 6px 12px;
    border-radius: 8px;
    color: var(--bn-color-white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color var(--bn-dur-fast);
}

.bn-guide-resource__dropdown a:hover,
.bn-guide-resource__dropdown a:focus-visible {
    background: rgba(255,255,255,.16);
    outline: none;
}

.bn-hero-label {
    display: inline-flex; align-items: center; gap: 8px;
    margin-left: auto;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    padding: 8px 16px; border-radius: var(--bn-radius-pill);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,.1);
}
@media (min-width: 640px) { .bn-hero-label { padding: 10px 20px; } }
.bn-hero-label .dot {
    width: 8px; height: 8px; border-radius: var(--bn-radius-pill); background: var(--e-global-color-primary);
}
@media (min-width: 640px) { .bn-hero-label .dot { width: 10px; height: 10px; } }
.bn-hero-label span {
    font-size: 10px; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase; color: var(--bn-color-text-strong);
}
@media (min-width: 640px) { .bn-hero-label span { font-size: 12px; } }
