/* ==========================================================================
     4. HEADER & NAVEGACIÓN
     ========================================================================== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 15, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(246, 241, 231, 0.1);
}

nav {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.logo:hover img {
  opacity: 0.9;
}

.navlinks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin-left: 48px;
}

.navlinks-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.navlinks a,
.navlinks-menu a {
  position: relative;
  font-size: 15px;
  font-weight: 700;
  color: var(--ivory-soft);
  opacity: 0.88; /* Nítido y legible */
  letter-spacing: 0.01em;
  padding: 4px 8px;
  transition:
    color 0.25s ease,
    opacity 0.25s ease;
}

/* Línea animada Brass debajo del link */
.navlinks a::after,
.navlinks-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--brass);
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navlinks a:hover,
.navlinks-menu a:hover {
  color: var(--brass);
  opacity: 1;
}

.navlinks a:hover::after,
.navlinks-menu a:hover::after {
  width: 100%;
}

.nav-drawer-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-cta {
  background: var(--brass);
  color: #ffffff;
  padding: 13px 38px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: var(--brass-soft);
  color: var(--basalt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid rgba(246, 241, 231, 0.18);
  border-radius: 50%;
  background: rgba(246, 241, 231, 0.06);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  position: relative;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--ivory-soft);
  transition:
    transform 0.25s ease,
    opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.footer-description {
  margin-top: 12px;
  max-width: 280px;
  font-size: 13.5px;
  line-height: 1.6;
}

.concepto-title {
  font-size: 32px;
  margin-top: 14px;
  margin-bottom: 20px;
}
.pedidos-title {
  font-size: 30px;
  margin-top: 14px;
}
/* ==========================================================================
   Language Switcher (ES | EN) - Luxury Capsule
   ========================================================================== */

.lang-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: rgba(20, 18, 15, 0.65); /* Fondo oscuro translúcido */
  border: 1px solid rgba(201, 162, 39, 0.28); /* Borde sutil oro champán */
  border-radius: 999px; /* Forma de píldora redondeada */
  padding: 2px;
  gap: 2px;
  margin: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.05);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

/* Ocultamos el divisor vertical tradicional si aún está en el HTML */
.lang-divider {
  display: none;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--stone, #ece4d3);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1;
}

.lang-btn:hover {
  opacity: 1;
  color: var(--ivory, #f6f1e7);
}

/* Estado activo: cápsula dorada sutil con texto oscuro legible */
.lang-btn.active {
  background: linear-gradient(
    135deg,
    var(--brass-soft, #e3c565) 0%,
    var(--brass, #c9a227) 100%
  );
  color: var(--basalt, #14120f);
  font-weight: 600;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.35);
}
