.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #2c2c2c;
  z-index: 1100;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 80px 40px 30px;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 164, 108, 0.55);
  border-radius: 50%;
  background: transparent;
  color: #e0d5c5;
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav__close:hover {
  color: #c9a46c;
  border-color: #c9a46c;
  transform: scale(1.04);
}

.mobile-nav a {
  color: #e0d5c5;
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  font-size: 28px;
  letter-spacing: 4px;
  text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 1px solid rgba(201, 164, 108, 0.2);
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: #c9a46c;
}

.mobile-nav .mobile-nav__logo {
  margin-bottom: 20px;
  border-bottom: none;
  padding-bottom: 0;
}

header nav a.is-active {
  color: #c9a46c;
}

header nav a.is-origin-active img {
  filter: invert(72%) sepia(27%) saturate(554%) hue-rotate(5deg) brightness(95%) contrast(90%);
}

.footer-nav a.is-active {
  color: #c9a46c;
}

.footer-nav a.is-home-active {
  color: #c9a46c;
  font-family: 'LemonMilk', sans-serif;
  font-weight: 300;
}

.copyright {
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
}

@media (max-width: 768px) {
  header {
    padding: 14px 20px;
  }

  header > a img {
    height: 50px !important;
    margin-left: 0 !important;
  }

  header nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    padding-top: 88px;
  }

  .footer {
    display: flex;
    flex-direction: column;
    padding: 60px 24px 40px !important;
  }

  .footer-family {
    order: 1;
    margin-top: 0 !important;
    margin-bottom: 34px;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .footer-family h3 {
    margin-bottom: 24px;
    letter-spacing: 4px;
    font-size: 22px;
  }

  .footer-container {
    order: 2;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 22px !important;
    align-items: start;
  }

  .footer-nav {
    grid-column: 1;
  }

  .footer-contact {
    grid-column: 2;
  }

  .footer-nav,
  .footer-contact {
    gap: 14px;
  }

  .footer-contact p {
    line-height: 1.45;
    margin-bottom: 18px;
  }

  .footer-social {
    grid-column: 1 / -1;
    margin-top: 6px;
  }

  .footer-nav a,
  .footer-contact h4,
  .footer-contact p,
  .footer-links a {
    font-size: 16px !important;
  }

  .logo-carousel-track img {
    width: 48vw !important;
    max-height: 210px !important;
    padding: 0 14px !important;
  }

  @keyframes logoScroll {
    0% {
      transform: translateX(0);
    }

    100% {
      transform: translateX(calc(-9 * 48vw));
    }
  }
}
/* Selector de idioma en el header y en el menú móvil. */
header nav a.lang-switch {
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 2px;
  border: 1px solid rgba(201, 164, 108, 0.6);
  border-radius: 3px;
  padding: 4px 11px;
  margin-left: 25px;
  color: #c9a46c;
  transition: background 0.2s ease, color 0.2s ease;
}

header nav a.lang-switch:hover {
  background: #c9a46c;
  color: #2c2c2c;
}

.mobile-nav a.lang-switch--mobile {
  font-size: 20px;
  letter-spacing: 3px;
  color: #c9a46c;
}
