/* Travel CON AMIGOS — navbar
   Logo palette: teal Taj, navy ink, CON AMIGOS orange / gold / olive. */

.site-header.site-header--modern.tca-nav {
  --nav-navy: #0a2540;
  --nav-ink: #243140;
  --nav-teal: #1aa8a1;
  --nav-orange: #e87b1f;
  --nav-gold: #c4a035;
  --nav-olive: #6b8f3c;
  --nav-cream: #f7fbfa;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 28px -22px rgba(10, 37, 64, 0.38);
}

.tca-nav::after {
  height: 3px !important;
  background: linear-gradient(90deg, #1aa8a1 0 28%, #e87b1f 28% 52%, #7a8b2a 52% 72%, #1aa8a1 72% 100%) !important;
  z-index: 0;
}

.tca-nav .site-navbar {
  position: relative;
  z-index: 1;
}

.tca-nav .navbar-scrolled.site-navbar,
.tca-nav #main-navbar.navbar-scrolled {
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.site-header--modern.tca-nav.is-scrolled {
  box-shadow: 0 12px 28px -22px rgba(10, 37, 64, 0.38);
}

.tca-nav .site-navbar-row {
  min-height: 4.7rem;
}

@media (min-width: 768px) {
  .tca-nav .site-navbar-row {
    min-height: 5.15rem;
  }
}

@media (min-width: 1280px) {
  .tca-nav .site-navbar-row {
    min-height: 5.45rem;
  }
}

/* ---------- Center pill ---------- */
.site-header.site-header--modern.tca-nav .site-nav-pill {
  background: #f7fbfa !important;
  border: 1px solid rgba(10, 37, 64, 0.08) !important;
  border-radius: 999px !important;
  padding: 0.22rem 0.35rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.site-header.site-header--modern.tca-nav .site-logo-img,
.site-header.site-header--modern.tca-nav.is-scrolled .site-logo-img {
  height: 3.35rem;
  max-width: 11.25rem;
}

@media (min-width: 768px) {

  .site-header.site-header--modern.tca-nav .site-logo-img,
  .site-header.site-header--modern.tca-nav.is-scrolled .site-logo-img {
    height: 3.85rem;
    max-width: 12.5rem;
  }
}

@media (min-width: 1280px) {

  .site-header.site-header--modern.tca-nav .site-logo-img,
  .site-header.site-header--modern.tca-nav.is-scrolled .site-logo-img {
    height: 4.15rem;
    max-width: 13rem;
  }
}

.site-header.site-header--modern.tca-nav .site-nav-list .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.72rem 0.52rem !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--nav-navy) !important;
  font-size: 0.8rem;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.tca-nav .site-nav-list .nav-link::after {
  display: none !important;
}

.site-header.site-header--modern.tca-nav .site-nav-list .nav-link:hover,
.site-header.site-header--modern.tca-nav .site-nav-list .nav-link.active,
.site-header.site-header--modern.tca-nav .nav-dropdown:hover>.nav-link,
.site-header.site-header--modern.tca-nav .nav-dropdown:focus-within>.nav-link {
  color: #fff !important;
  background: #1aa8a1 !important;
  box-shadow: 0 8px 16px -10px rgba(26, 168, 161, 0.7) !important;
}

.site-header.site-header--modern.tca-nav .site-nav-list .nav-link.active,
.site-header.site-header--modern.tca-nav .nav-dropdown:hover>.nav-link.active {
  background: #e87b1f !important;
  box-shadow: 0 8px 16px -10px rgba(232, 123, 31, 0.7) !important;
}

.tca-nav-ico {
  display: none;
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
}

.tca-nav-ico svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 1600px) {
  .tca-nav-ico {
    display: inline-flex;
  }
}

.tca-nav .nav-dropdown-icon {
  width: 0.8rem;
  height: 0.8rem;
  opacity: 0.75;
}

.tca-nav .nav-dropdown:hover,
.tca-nav .nav-dropdown:focus-within {
  z-index: 2;
}

.tca-nav .nav-dropdown:hover::after,
.tca-nav .nav-dropdown:focus-within::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 1rem;
}

.tca-nav .nav-dropdown:hover .nav-dropdown-icon,
.tca-nav .nav-dropdown:focus-within .nav-dropdown-icon {
  transform: rotate(180deg);
}

/* ---------- CTA + country ---------- */
.tca-nav .site-nav-cta,
.tca-nav-cta {
  display: none;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.5rem;
  padding: 0.42rem 1.05rem !important;
  border-radius: 999px !important;
  background: #e87b1f !important;
  border: 1.5px solid #e87b1f !important;
  color: #fff !important;
  font-size: 0.78rem !important;
  font-weight: 750;
  letter-spacing: 0.03em;
  box-shadow: 0 10px 20px -12px rgba(232, 123, 31, 0.75);
}

@media (min-width: 768px) {

  .tca-nav .site-nav-cta,
  .tca-nav-cta {
    display: inline-flex;
  }
}

.tca-nav .site-nav-cta:hover,
.tca-nav-cta:hover {
  background: #d46a12 !important;
  border-color: #d46a12 !important;
  color: #fff !important;
}

.tca-nav-cta__ico {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
}

.tca-nav-cta__ico svg {
  width: 100%;
  height: 100%;
}

.tca-nav-country {
  position: relative;
  display: none;
  align-items: center;
}

@media (min-width: 640px) {
  .tca-nav-country {
    display: flex;
  }
}

.tca-nav-country__ico {
  position: absolute;
  left: 0.7rem;
  z-index: 1;
  display: inline-flex;
  width: 0.95rem;
  height: 0.95rem;
  color: #1aa8a1;
  pointer-events: none;
}

.tca-nav-country__ico svg {
  width: 100%;
  height: 100%;
}

.tca-nav .site-navbar-country-select {
  max-width: 11.25rem;
  min-height: 2.5rem;
  padding: 0.35rem 1.6rem 0.35rem 2.05rem;
  border-radius: 999px !important;
  border: 1.5px solid rgba(10, 37, 64, 0.12) !important;
  background: #fff;
  color: var(--nav-navy);
  font-size: 0.72rem;
}

.tca-nav .site-navbar-country-select:hover,
.tca-nav .site-navbar-country-select:focus {
  border-color: #1aa8a1 !important;
  box-shadow: 0 0 0 3px rgba(26, 168, 161, 0.16);
  outline: none;
}

.tca-nav .site-nav-toggle {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px !important;
  border: 1.5px solid rgba(10, 37, 64, 0.12) !important;
  background: #f7fbfa;
}

.tca-nav .site-nav-toggle:hover,
.tca-nav .site-nav-toggle.is-open {
  background: #1aa8a1;
  border-color: #1aa8a1 !important;
  color: #fff;
}

/* ---------- Dropdown cards ---------- */
.tca-nav .nav-dropdown-menu,
.tca-nav .nav-dropdown-menu--mega,
.tca-nav .nav-dropdown-menu-packages,
.tca-nav .nav-dropdown-menu-cities,
.tca-nav .nav-dropdown-menu-duration {
  top: calc(100% + 0.45rem);
  z-index: 3;
  min-width: 20rem;
  max-height: none !important;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 20px !important;
  border: 1px solid rgba(10, 37, 64, 0.08) !important;
  background: #fff;
  box-shadow: 0 28px 50px -24px rgba(10, 37, 64, 0.42);
}

.tca-nav .nav-dropdown-menu::before,
.tca-nav .nav-dropdown-menu--mega::before {
  content: none !important;
  display: none !important;
}

.tca-nav .nav-dropdown-menu::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #1aa8a1 0 28%, #e87b1f 28% 52%, #7a8b2a 52% 72%, #1aa8a1 72% 100%);
}

.tca-nav .nav-dropdown-title {
  gap: 0.65rem;
  padding: 0.85rem 1rem !important;
  background: linear-gradient(180deg, #0a2540 0%, #06182b 100%) !important;
  color: #fff !important;
  letter-spacing: 0.12em;
}

.tca-nav .nav-dropdown-mark {
  width: 1.55rem !important;
  height: 1.55rem !important;
  border-radius: 8px;
  background: #1aa8a1 !important;
  transform: none !important;
  clip-path: none !important;
  box-shadow: 0 8px 14px rgba(26, 168, 161, 0.28);
}

.tca-nav .nav-dropdown-menu-cities .nav-dropdown-mark {
  background: #e87b1f !important;
  box-shadow: 0 8px 14px rgba(232, 123, 31, 0.28);
}

.tca-nav .nav-dropdown-menu-duration .nav-dropdown-mark {
  background: #c4a035 !important;
  box-shadow: 0 8px 14px rgba(196, 160, 53, 0.28);
}

.tca-nav .mobile-menu-country .site-navbar-country-select {
  width: 100%;
  max-width: none;
  min-height: 2.7rem;
  border-radius: 14px !important;
}

.tca-nav .nav-dropdown-grid {
  display: grid;
  gap: 0.4rem;
  padding: 0.65rem !important;
  max-height: min(70vh, 32rem) !important;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #1aa8a1 transparent;
}

.tca-nav .nav-dropdown-grid::-webkit-scrollbar {
  width: 6px;
}

.tca-nav .nav-dropdown-grid::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: #1aa8a1;
}

@media (min-width: 1280px) {

  .tca-nav .nav-dropdown-menu-packages .nav-dropdown-grid,
  .tca-nav .nav-dropdown-menu-cities .nav-dropdown-grid,
  .tca-nav .nav-dropdown-menu-duration .nav-dropdown-grid {
    grid-template-columns: 1fr 1fr;
    min-width: 34rem;
  }
}

@media (min-width: 1440px) {
  .tca-nav .nav-dropdown-menu-packages .nav-dropdown-grid {
    grid-template-columns: 1fr 1fr 1fr;
    min-width: 46rem;
  }
}

.tca-nav .nav-dropdown-menu a::before {
  display: none !important;
}

.tca-nav-card,
.tca-nav .nav-dropdown-menu a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 0.7rem;
  padding: 0.7rem 0.8rem !important;
  border-radius: 14px !important;
  border: 1px solid rgba(10, 37, 64, 0.06) !important;
  border-left: 4px solid #1aa8a1 !important;
  background: #f7fbfa;
  color: var(--nav-navy) !important;
  text-decoration: none;
}

.tca-nav-card:nth-child(4n + 2),
.tca-nav .nav-dropdown-menu a:nth-child(4n + 2) {
  border-left-color: #e87b1f !important;
}

.tca-nav-card:nth-child(4n + 3),
.tca-nav .nav-dropdown-menu a:nth-child(4n + 3) {
  border-left-color: #c4a035 !important;
}

.tca-nav-card:nth-child(4n + 4),
.tca-nav .nav-dropdown-menu a:nth-child(4n + 4) {
  border-left-color: #6b8f3c !important;
}

.tca-nav-card:hover,
.tca-nav .nav-dropdown-menu a:hover,
.tca-nav .nav-dropdown-menu a:focus {
  background: #fff !important;
  color: var(--nav-navy) !important;
  border-color: rgba(26, 168, 161, 0.28) !important;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -16px rgba(10, 37, 64, 0.35);
}

.tca-nav-card__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 11px;
  background: #1aa8a1;
  color: #fff;
}

.tca-nav-card:nth-child(4n + 2) .tca-nav-card__ico {
  background: #e87b1f;
}

.tca-nav-card:nth-child(4n + 3) .tca-nav-card__ico {
  background: #c4a035;
}

.tca-nav-card:nth-child(4n + 4) .tca-nav-card__ico {
  background: #6b8f3c;
}

.tca-nav-card__ico svg {
  width: 1.05rem;
  height: 1.05rem;
}

.tca-nav-card__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
}

.tca-nav-card__copy strong {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
}

.tca-nav .nav-dropdown-hint,
.tca-nav-card__copy em {
  display: block;
  margin: 0;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 500;
  color: #5b6472;
  line-height: 1.35;
}

.tca-nav-card--all {
  grid-column: 1 / -1;
  background: #0a2540 !important;
  border-color: #0a2540 !important;
  color: #fff !important;
}

.tca-nav-card--all .tca-nav-card__copy strong {
  color: #fff !important;
}

.tca-nav-card--all .tca-nav-card__copy em,
.tca-nav-card--all .nav-dropdown-hint {
  color: rgba(255, 255, 255, 0.72) !important;
}

.tca-nav-card--all .tca-nav-card__ico {
  background: #e87b1f;
}

.tca-nav-card--all:hover {
  background: #123a5c !important;
  color: #fff !important;
}

/* ---------- Mobile ---------- */
.tca-nav .mobile-menu {
  background: #f7fbfa;
}

.tca-nav .mobile-menu-header {
  background: linear-gradient(180deg, #0a2540 0%, #06182b 100%) !important;
  border-bottom: 0 !important;
}

.tca-nav .mobile-menu-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #1aa8a1 0 28%, #e87b1f 28% 52%, #7a8b2a 52% 72%, #1aa8a1 72% 100%);
}

.tca-nav .mobile-menu-header {
  position: relative;
}

.tca-nav .mobile-menu-close {
  border-radius: 10px !important;
}

.tca-nav .mobile-menu-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.tca-nav .mobile-menu-quick-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.7rem;
  border-radius: 14px !important;
  border: 1px solid rgba(10, 37, 64, 0.08) !important;
  background: #fff;
  color: var(--nav-navy) !important;
  font-weight: 700;
}

.tca-nav .mobile-menu-quick-link--wa {
  background: #1aa8a1 !important;
  border-color: #1aa8a1 !important;
  color: #fff !important;
}

.tca-nav .site-nav-btn--primary {
  border-radius: 999px !important;
  background: #e87b1f !important;
  border-color: #e87b1f !important;
}

.tca-nav .site-nav-btn--outline {
  border-radius: 999px !important;
  border-color: #1aa8a1 !important;
  color: #0a2540 !important;
  background: #e7f8f7;
}

.tca-nav .site-nav-btn--outline:hover {
  background: #1aa8a1 !important;
  color: #fff !important;
}

.tca-nav-card__ico--orange {
  background: #e87b1f;
}

.tca-nav .mobile-nav-link,
.tca-nav .mobile-nav-expand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.tca-nav .mobile-nav-link .tca-nav-card__ico,
.tca-nav .mobile-nav-expand .tca-nav-card__ico {
  width: 2rem;
  height: 2rem;
  border-radius: 10px;
}

.tca-nav .mobile-nav-expand {
  width: 100%;
  justify-content: flex-start;
}

.tca-nav .mobile-nav-chevron {
  margin-left: auto;
}

.tca-nav .mobile-nav-link-active {
  background: #e7f8f7 !important;
  color: #0a2540 !important;
}

.tca-nav .mobile-nav-group {
  border-radius: 16px !important;
  border-color: rgba(10, 37, 64, 0.08) !important;
  background: #fff !important;
}

.tca-nav .mobile-nav-submenu {
  display: none;
  gap: 0.4rem;
  padding: 0.45rem 0.4rem 0.55rem;
  margin: 0;
  border-left: 0;
  max-height: none;
}

.tca-nav .mobile-nav-submenu.open {
  display: grid;
  max-height: 18rem;
  overflow-y: auto;
}

.tca-nav .mobile-nav-submenu .tca-nav-card,
.tca-nav .mobile-nav-submenu a {
  margin: 0;
}

@media (min-width: 1280px) {
  .site-header.site-header--modern.tca-nav .site-navbar-row {
    grid-template-columns: minmax(7rem, 8.25rem) minmax(0, 1fr) auto;
    gap: 0.65rem 0.85rem;
  }
}

@media (min-width: 1280px) and (max-width: 1599px) {
  .tca-nav .site-nav-list .nav-link {
    padding: 0.4rem 0.48rem 0.42rem !important;
    font-size: 0.72rem;
    gap: 0.28rem;
  }

  .tca-nav .site-nav-pill {
    padding: 0.14rem 0.18rem !important;
  }

  .tca-nav .site-navbar-country-select {
    max-width: 9.75rem;
    font-size: 0.68rem;
  }
}