/* ==========================================================================
   header.css — cabecera fija, navegación principal y menú móvil
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: #0b0b0cf5;
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 6px 24px #00000040;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 46px;
  width: auto;
  transition: height .3s var(--ease);
}
.site-header.is-solid .brand img {
  height: 40px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--f-display);
  font-weight: 800;
  color: var(--c-white);
  font-size: 17px;
  letter-spacing: .04em;
}
.brand-text span {
  font-size: 10.5px;
  color: var(--c-grey-300);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}
.main-nav a {
  color: #ffffffdb;
  font-size: 13.2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 10px 14px;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.main-nav a:hover,
.main-nav a.active {
  background: #ffffff1a;
  color: var(--c-white);
}
.main-nav a.active {
  color: var(--c-red-bright);
  background: #c8102e24;
}
.main-nav li {
  position: relative;
}
.main-nav .has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}
.main-nav .caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: .8;
}
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  background: var(--c-black-soft);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  padding: 10px;
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .22s var(--ease);
}
.main-nav li.has-dropdown:hover .dropdown,
.main-nav li.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.dropdown a:hover {
  background: #ffffff14;
}
.header-cta {
  display: none;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--c-white);
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--c-black);
  transform: translateY(-100%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  overflow-y: auto;
}
.mobile-menu.is-open {
  transform: translateY(0);
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}
.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-white);
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: block;
}
.mobile-menu a.active {
  color: var(--c-red-bright);
}
.mobile-menu .btn {
  margin-top: 28px;
  align-self: flex-start;
}
.mobile-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: var(--c-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
