.aa-unified-nav,
.aa-unified-nav.aa-unified-nav {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border-bottom: 1px solid transparent !important;
  box-shadow: none !important;
  transition: background-color 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
}

.aa-unified-nav.scrolled,
.aa-unified-nav.aa-unified-nav.scrolled {
  position: fixed !important;
  top: 0;
  left: 0;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom-color: rgba(128, 129, 132, 0.28) !important;
  box-shadow: none !important;
}

.aa-unified-nav .aa-unified-nav__inner {
  width: min(1410px, calc(100vw - 112px)) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  min-height: 58px !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 42px !important;
}

.aa-unified-nav .site-logo,
.aa-unified-nav .elementor-widget-image,
.aa-unified-nav .logo-header,
.aa-unified-nav .elementor-widget-wpr-nav-menu,
.aa-unified-nav .main-nav,
.aa-unified-nav .mobile-toggle,
.aa-unified-nav .wpr-nav-menu-container,
.aa-unified-nav .wpr-mobile-nav-menu-container {
  width: auto !important;
  flex: 0 0 auto !important;
}

.aa-unified-nav .site-logo,
.aa-unified-nav .elementor-widget-image,
.aa-unified-nav .logo-header {
  margin: 0 !important;
}

.aa-unified-nav .site-logo a,
.aa-unified-nav .elementor-widget-image a,
.aa-unified-nav .logo-header a {
  display: flex !important;
  align-items: center !important;
}

.aa-unified-nav .elementor-widget-wpr-nav-menu,
.aa-unified-nav .main-nav,
.aa-unified-nav .mobile-toggle,
.aa-unified-nav .wpr-nav-menu-container,
.aa-unified-nav .wpr-mobile-nav-menu-container {
  margin-left: auto !important;
}

.aa-unified-nav .aa-unified-logo {
  width: clamp(208px, 12vw, 248px) !important;
  max-width: none !important;
  height: auto !important;
  display: block !important;
}

.aa-unified-nav .main-nav ul,
.aa-unified-nav .wpr-nav-menu {
  display: flex !important;
  align-items: center !important;
  gap: clamp(26px, 2.6vw, 58px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.aa-unified-nav .main-nav li,
.aa-unified-nav .wpr-nav-menu > .menu-item {
  display: flex !important;
  align-items: center !important;
}

.aa-unified-nav .main-nav a,
.aa-unified-nav .wpr-nav-menu > .menu-item > a {
  position: relative !important;
  display: inline-block !important;
  padding: 2px 0 6px !important;
  border-bottom: 2px solid transparent !important;
  font-family: "Helvetica Now Display", sans-serif !important;
  font-size: clamp(15px, 0.95vw, 16px) !important;
  line-height: 1 !important;
  font-weight: 300 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease, border-color 0.2s ease !important;
}

.aa-unified-nav.scrolled .main-nav a,
.aa-unified-nav.scrolled .wpr-nav-menu > .menu-item > a {
  color: #666666 !important;
}

body:not(.home) .aa-unified-nav,
body:not(.home) .aa-unified-nav.aa-unified-nav {
  position: fixed !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-bottom-color: rgba(128, 129, 132, 0.28) !important;
}

body:not(.home) .aa-unified-nav .main-nav a,
body:not(.home) .aa-unified-nav .wpr-nav-menu > .menu-item > a {
  color: #666666 !important;
}

.aa-unified-nav .main-nav a:hover,
.aa-unified-nav .main-nav a.active,
.aa-unified-nav .wpr-nav-menu > .menu-item > a:hover,
.aa-unified-nav .wpr-nav-menu > .current-menu-item > a,
.aa-unified-nav .wpr-nav-menu > .current_page_item > a,
.aa-unified-nav .wpr-nav-menu > .menu-item > a.wpr-active-menu-item {
  color: #faae40 !important;
  border-bottom-color: #faae40 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu,
.aa-unified-nav .wpr-mobile-sub-menu,
.aa-unified-nav .mobile-nav {
  background: #ffffff !important;
}

.aa-unified-nav .mobile-toggle,
.aa-unified-nav .mobile-nav {
  display: none !important;
}

.aa-unified-nav .mobile-toggle {
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #666666 !important;
  font-family: "Helvetica Now Display", sans-serif !important;
  font-size: clamp(30px, 3.2vw, 40px) !important;
  line-height: 1 !important;
  cursor: pointer !important;
}

.aa-unified-nav .mobile-toggle:hover,
.aa-unified-nav .mobile-toggle:focus-visible {
  color: #666666 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu-container {
  display: none !important;
  position: relative !important;
}

.aa-unified-nav .wpr-mobile-toggle-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

.aa-unified-nav .wpr-mobile-toggle {
  display: grid !important;
  place-content: center !important;
  gap: 6px !important;
  width: 48px !important;
  height: 48px !important;
  cursor: pointer !important;
}

.aa-unified-nav .wpr-mobile-toggle-line {
  display: block !important;
  width: 24px !important;
  height: 2px !important;
  border-radius: 999px !important;
  background-color: #ffffff !important;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease !important;
}

.aa-unified-nav.scrolled .wpr-mobile-toggle-line {
  background-color: #666666 !important;
}

body:not(.home) .aa-unified-nav .wpr-mobile-toggle-line {
  background-color: #666666 !important;
}

.aa-unified-nav .wpr-mobile-toggle::before {
  content: "" !important;
}

.aa-unified-nav .wpr-mobile-nav-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 14px) !important;
  right: 0 !important;
  min-width: min(320px, calc(100vw - 32px)) !important;
  margin: 0 !important;
  padding: 16px 20px !important;
  list-style: none !important;
  border-radius: 22px !important;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.14) !important;
  z-index: 1005 !important;
}

.aa-unified-nav .mobile-nav {
  margin: 0 !important;
  padding: 16px 20px !important;
  list-style: none !important;
  z-index: 1005 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu .menu-item {
  margin: 0 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu .menu-item > a,
.aa-unified-nav .wpr-mobile-sub-menu .menu-item > a,
.aa-unified-nav .mobile-nav > a {
  display: block !important;
  padding: 12px 0 !important;
  color: #666666 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu .menu-item:last-child > a {
  border-bottom: 0 !important;
}

.aa-unified-nav .mobile-nav > a:last-child {
  border-bottom: 0 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu .current-menu-item > a,
.aa-unified-nav .wpr-mobile-nav-menu .current_page_item > a,
.aa-unified-nav .wpr-mobile-nav-menu .menu-item > a.wpr-active-menu-item,
.aa-unified-nav .wpr-mobile-sub-menu .current-menu-item > a,
.aa-unified-nav .wpr-mobile-sub-menu .menu-item > a.wpr-active-menu-item,
.aa-unified-nav .mobile-nav > a.active,
.aa-unified-nav .mobile-nav > a[aria-current="page"] {
  color: #faae40 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-nav-menu {
  display: block !important;
}

.aa-unified-nav .mobile-nav.open {
  display: block !important;
}

.aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg) !important;
}

.aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(2) {
  opacity: 0 !important;
}

.aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg) !important;
}

.aa-nav-hero-band {
  position: relative;
  min-height: 228px;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.22) 100%),
    url("assets/images/Home/portada-1.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.elementor-page-199 .aa-nav-hero-band,
.elementor-page-57 .aa-nav-hero-band {
  min-height: clamp(720px, 84vh, 860px);
}

@media screen and (max-width: 1200px) {
  .aa-unified-nav .aa-unified-nav__inner {
    width: min(1410px, calc(100vw - 64px)) !important;
    gap: 28px !important;
  }

  .aa-unified-nav .aa-unified-logo {
    width: clamp(192px, 18vw, 230px) !important;
  }

  .aa-unified-nav .main-nav ul,
  .aa-unified-nav .wpr-nav-menu {
    gap: 24px !important;
  }
}

@media screen and (max-width: 1024px) {
  .aa-unified-nav {
    position: fixed !important;
    padding: 14px 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-bottom-color: rgba(128, 129, 132, 0.24) !important;
  }

  .aa-unified-nav .aa-unified-nav__inner {
    width: calc(100vw - 32px) !important;
    min-height: 78px !important;
    gap: 16px !important;
  }

  .aa-unified-nav .aa-unified-logo {
    width: clamp(180px, 42vw, 340px) !important;
  }

  .aa-unified-nav .main-nav,
  .aa-unified-nav .wpr-nav-menu-container {
    display: none !important;
  }

  .aa-unified-nav .mobile-toggle,
  .aa-unified-nav .wpr-mobile-nav-menu-container {
    display: flex !important;
    align-items: center !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu-container {
    position: static !important;
  }

  .aa-unified-nav .wpr-mobile-toggle-wrap {
    width: auto !important;
  }

  .aa-unified-nav .wpr-mobile-toggle,
  .aa-unified-nav .mobile-toggle {
    width: 44px !important;
    height: 44px !important;
    border: 0 !important;
    background: transparent !important;
    color: #666666 !important;
    font-size: clamp(30px, 3.8vw, 40px) !important;
  }

  .aa-unified-nav .wpr-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
  }

  .aa-unified-nav .wpr-mobile-toggle-line {
    display: none !important;
  }

  .aa-unified-nav .wpr-mobile-toggle::before {
    content: "\2630" !important;
    color: #666666 !important;
    font-family: Arial, sans-serif !important;
    font-size: inherit !important;
    line-height: 1 !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu,
  .aa-unified-nav .mobile-nav {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 32px 18px !important;
    border-radius: 0 !important;
    border-top: 1px solid rgba(128, 129, 132, 0.16) !important;
    border-bottom: 1px solid rgba(128, 129, 132, 0.16) !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu,
  .aa-unified-nav .wpr-mobile-sub-menu,
  .aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-nav-menu {
    display: none !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu .menu-item > a,
  .aa-unified-nav .wpr-mobile-sub-menu .menu-item > a,
  .aa-unified-nav .mobile-nav > a {
    padding: 24px 8px !important;
    font-family: "Helvetica Now Display", sans-serif !important;
    font-size: clamp(18px, 3.6vw, 24px) !important;
    line-height: 1.15 !important;
    font-weight: 300 !important;
    color: #666666 !important;
    border-bottom: 1px solid rgba(128, 129, 132, 0.14) !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu .current-menu-item > a,
  .aa-unified-nav .wpr-mobile-nav-menu .current_page_item > a,
  .aa-unified-nav .wpr-mobile-nav-menu .menu-item > a.wpr-active-menu-item,
  .aa-unified-nav .wpr-mobile-sub-menu .current-menu-item > a,
  .aa-unified-nav .wpr-mobile-sub-menu .menu-item > a.wpr-active-menu-item,
  .aa-unified-nav .mobile-nav > a.active,
  .aa-unified-nav .mobile-nav > a[aria-current="page"] {
    color: #faae40 !important;
    font-weight: 400 !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(1),
  .aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(2),
  .aa-unified-nav .wpr-mobile-nav-menu-container.is-open .wpr-mobile-toggle-line:nth-child(3) {
    transform: none !important;
    opacity: 1 !important;
  }

  .aa-nav-hero-band {
    min-height: 170px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0.22) 100%),
      url("assets/images/Home/portada-1-mob.jpg");
  }

  .elementor-page-199 .aa-nav-hero-band,
  .elementor-page-57 .aa-nav-hero-band {
    min-height: 76vh;
  }
}

@media screen and (max-width: 767px) {
  .aa-unified-nav {
    padding: 10px 0 !important;
  }

  .aa-unified-nav .aa-unified-nav__inner {
    min-height: 64px !important;
  }

  .aa-unified-nav .aa-unified-logo {
    width: clamp(168px, 48vw, 232px) !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu,
  .aa-unified-nav .mobile-nav {
    padding: 0 22px 14px !important;
  }

  .aa-unified-nav .wpr-mobile-nav-menu .menu-item > a,
  .aa-unified-nav .wpr-mobile-sub-menu .menu-item > a,
  .aa-unified-nav .mobile-nav > a {
    padding: 18px 6px !important;
    font-size: 17px !important;
  }

  .elementor-page-199 .aa-nav-hero-band,
  .elementor-page-57 .aa-nav-hero-band {
    min-height: 100svh;
  }
}

@media screen and (min-width: 1025px) {
  .aa-unified-nav .main-nav,
  .aa-unified-nav .wpr-mobile-nav-menu-container {
    display: none !important;
  }

  .aa-unified-nav .mobile-toggle,
  .aa-unified-nav .mobile-nav {
    display: none !important;
  }

  .aa-unified-nav .wpr-nav-menu-container,
  .aa-unified-nav .main-nav {
    display: block !important;
  }
}
