/* Generado por BeFXWeb (scripts/site-header.js) a partir de src/navbar.css.
   No editar: se sobrescribe en cada build de la web. */
@font-face {
  font-family: 'BeFX Outfit';
  src: url('/fonts/Outfit-Variable-latin.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'BeFX Outfit';
  src: url('/fonts/Outfit-Variable-latin-ext.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'BeFX Montserrat';
  src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'BeFX Montserrat';
  src: url('/fonts/Montserrat-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
.header-nav, .header-nav * { box-sizing: border-box; margin: 0; padding: 0; }
.header-nav {
  --font-sans: 'BeFX Montserrat', sans-serif;
  --befx-orange-2: #ff8b1f;
  --befx-orange: #eb7604;
  --befx-blue-2: #2f6aa5;
  --accent-primary: #eb7604;
  --transition-fast: 0.15s ease;
  --text-secondary: #b7c3d4;
  --text-primary: #f3f4f6;
  --font-heading: 'BeFX Outfit', sans-serif;
  --gutter: clamp(1rem, 3vw, 3rem);
  --wrap-wide: 1600px;
  font-family: var(--font-sans);
  line-height: normal;
  text-align: left;
}
.header-nav {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  background: rgba(34, 45, 72, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  max-width: var(--wrap-wide);
  width: calc(100% - 2 * var(--gutter));
  margin: 1rem auto 0;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header-nav .nav-container {
  padding: 0.4rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-nav .logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-nav .logo img {
  height: 54px;
  margin: -5px 0;
  width: auto;
  object-fit: contain;
  display: block;
}
.header-nav .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.header-nav .nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.91rem;
  padding: 0.45rem 0.85rem;
  border-radius: 30px;
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}
.header-nav .nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}
.header-nav .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
@keyframes blogBreathingGlow {
  0%, 100% {
    box-shadow: 0 0 4px rgba(0, 210, 255, 0.15), inset 0 0 2px rgba(0, 210, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.35);
    color: rgba(0, 210, 255, 0.7);
    background: rgba(0, 210, 255, 0.03);
    text-shadow: 0 0 2px rgba(0, 210, 255, 0.2);
  }
  50% {
    box-shadow: 0 0 22px rgba(0, 210, 255, 0.85), 0 0 35px rgba(0, 255, 170, 0.4), inset 0 0 10px rgba(0, 210, 255, 0.25);
    border-color: #00d2ff;
    color: #ffffff;
    background: rgba(0, 210, 255, 0.16);
    text-shadow: 0 0 10px #00d2ff, 0 0 18px rgba(0, 255, 170, 0.6);
  }
}
.header-nav .nav-link-blog-unread {
  position: relative;
  border: 1px solid rgba(0, 210, 255, 0.4) !important;
  border-radius: 9999px !important;
  color: #00d2ff !important;
  font-weight: 700 !important;
  animation: blogBreathingGlow 3.5s infinite ease-in-out !important;
  transition: all 0.5s ease-in-out;
}
.header-nav .lang-switcher-pill {
  display: inline-flex;
  align-items: center;
  background: rgba(15, 18, 28, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 3px 4px 3px 9px;
  gap: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-left: 0.5rem;
}
.header-nav .lang-switcher-icon {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  margin-right: 1px;
}
.header-nav .lang-pill-btn {
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}
.header-nav a.lang-pill-btn {
  text-decoration: none;
  display: inline-block;
}
.header-nav .lang-pill-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.header-nav .lang-pill-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}
.header-nav .mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.header-nav .mobile-menu-toggle:hover, .header-nav .mobile-menu-toggle:active {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--accent-color, #38bdf8);
}
@media (max-width: 768px) {
.header-nav .mobile-menu-toggle {
    display: flex;
  }
.header-nav .nav-container {
    position: relative;
    justify-content: space-between;
  }
.header-nav .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    background: rgba(13, 17, 23, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 1.25rem;
    gap: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
    animation: fadeInSlideDown 0.25s ease-out forwards;
  }
.header-nav .nav-links.mobile-open {
    display: flex;
  }
.header-nav .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border-radius: 10px;
  }
.header-nav .nav-dropdown-wrapper {
    width: 100%;
    text-align: center;
  }
.header-nav .nav-dropdown-wrapper .nav-dropdown-content {
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    margin-top: 0.5rem;
    border-radius: 12px;
    padding: 0.5rem;
  }
.header-nav .nav-dropdown-wrapper:hover .nav-dropdown-content, .header-nav .nav-dropdown-wrapper:focus-within .nav-dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }
.header-nav .lang-switcher-pill {
    margin-top: 0.5rem;
    justify-content: center;
    width: 100%;
  }
}
@keyframes fadeInSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-nav .nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}
.header-nav .nav-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  
  left: 0;
  transform: translateY(10px);
  background: rgba(27, 33, 48, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  min-width: 160px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  z-index: 1000;
  padding: 0.5rem 0;
}
.header-nav .nav-dropdown-content::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}
.header-nav .nav-dropdown-content a {
  color: var(--text-secondary);
  padding: 0.6rem 1.25rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  text-align: left;
  transition: all var(--transition-fast);
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.header-nav .dropdown-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}
.header-nav .dropdown-icon-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
}
.header-nav .nav-dropdown-content a:last-child {
  border-bottom: none;
}
.header-nav .nav-dropdown-content a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}
.header-nav .nav-dropdown-wrapper:hover .nav-dropdown-content {
  display: block;
}
.header-nav .dropdown-arrow {
  font-size: 0.65rem;
  margin-left: 0.25rem;
  opacity: 0.7;
  vertical-align: middle;
}
.header-nav {
  background: rgba(16, 33, 58, 0.72);
  border-color: rgba(169, 200, 234, 0.12);
}
.header-nav .nav-link.active {
  background: rgba(38, 87, 136, 0.65);
  box-shadow: inset 0 1px 0 rgba(169, 200, 234, 0.2);
}
.header-nav .lang-pill-btn.active {
  background: var(--befx-blue-2);
  box-shadow: 0 2px 8px rgba(47, 106, 165, 0.45);
}
@keyframes befxBlogGlow {
  0%, 100% {
    box-shadow: 0 0 4px rgba(235, 118, 4, 0.15);
    border-color: rgba(235, 118, 4, 0.4);
    color: rgba(255, 170, 90, 0.85);
    background: rgba(235, 118, 4, 0.04);
    text-shadow: none;
  }
  50% {
    box-shadow: 0 0 20px rgba(235, 118, 4, 0.6), inset 0 0 8px rgba(235, 118, 4, 0.2);
    border-color: var(--befx-orange);
    color: #ffffff;
    background: rgba(235, 118, 4, 0.16);
    text-shadow: 0 0 8px rgba(235, 118, 4, 0.7);
  }
}
.header-nav .nav-link-blog-unread {
  border-color: rgba(235, 118, 4, 0.45) !important;
  color: var(--befx-orange-2) !important;
  animation-name: befxBlogGlow !important;
}
