/* ==========================================================================
   MEGA MENÚ LUXURY DESIGN SYSTEM - SAMEX TOURS PERÚ
   Estructura 100% Real, Pure CSS Chevrons, Ultra Rápido, A11y, WPO
   Desktop Centrado & Drawer Móvil Luxury Dark
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. RESET Y ESTRUCTURA GLOBAL DE NAVEGACIÓN (DESKTOP)
   -------------------------------------------------------------------------- */
.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.25rem, 0.55vw, 0.95rem);
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: nowrap;
}

.site-header__menu>li.menu-item {
  position: static;
  /* Clave: permite centrar el panel mega menú respecto al header */
  height: 90px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Enlaces de Nivel Superior */
.site-header__menu>li.menu-item>a,
.bc-nav-top-link {
  color: #ffffff;
  font-family: var(--font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(0.62rem, 0.68vw, 0.76rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: clamp(0.2px, 0.02vw, 0.4px);
  height: 100%;
  display: inline-flex;
  align-items: center;
  gap: clamp(3px, 0.25vw, 5px);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  white-space: nowrap;
  padding: 0 clamp(2.5px, 0.25vw, 5px);
}

/* Chevron Geométrico Pure CSS (Cero iconos rotos o glifos []) */
.site-header__menu .nav-chevron {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  margin-top: -3px;
  opacity: 0.85;
}

.site-header__menu>li.menu-item:hover>a,
.site-header__menu>li.menu-item:hover>.bc-nav-top-link {
  color: var(--gold, #c5a059);
}

.site-header__menu>li.menu-item:hover>a .nav-chevron {
  transform: rotate(225deg);
  margin-top: 3px;
  color: var(--gold, #c5a059);
  opacity: 1;
}

/* Indicador de Línea Dorada Inferior en Hover */
.site-header__menu>li.menu-item>a::before,
.bc-nav-top-link::before {
  content: "";
  position: absolute;
  bottom: 14px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--samex-gradient-h, linear-gradient(90deg, #00c44a 0%, #018480 50%, #0244b6 100%));
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 8px rgba(0, 196, 74, 0.5);
}

.site-header__menu>li.menu-item:hover>a::before,
.site-header__menu>li.current-menu-item>a::before {
  width: 100%;
}

/* El botón móvil nunca debe mostrarse en escritorio */
.bc-mobile-acc-btn {
  display: none !important;
}

/* --------------------------------------------------------------------------
   2. PANELES MEGA MENÚ EN ESCRITORIO (min-width: 1025px)
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) {
  .bc-mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: min(1300px, calc(100vw - 36px));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    background: #ffffff;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 25px 65px rgba(0, 0, 0, 0.20), 0 8px 24px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #018480;
    border-image: var(--samex-gradient-h) 1;
    padding: 24px 30px 28px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.15s;
    /* Margen de gracia al mover el cursor */
    z-index: 99999;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--gold, #c5a059) #f1f5f9;
  }

  /* Scrollbar fina dorada */
  .bc-mega-menu::-webkit-scrollbar {
    width: 6px;
  }

  .bc-mega-menu::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
  }

  .bc-mega-menu::-webkit-scrollbar-thumb {
    background: var(--gold, #c5a059);
    border-radius: 4px;
  }

  /* Puente invisible anti-pérdida de hover */
  .bc-mega-menu::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
    pointer-events: auto;
  }

  /* Despliegue con Hover Suave */
  .site-header__menu>li.bc-mega-item:hover>.bc-mega-menu,
  .site-header__menu>li.bc-mega-item:focus-within>.bc-mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }

  /* Barra de Cabecera del Mega Menú */
  .bc-mega-menu__header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 18px;
  }

  .bc-mega-menu__heading {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.22rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    letter-spacing: -0.2px;
  }

  .bc-mega-view-all {
    color: var(--gold, #c5a059);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .bc-mega-view-all:hover {
    color: #9a7328;
    text-decoration: underline;
    transform: translateX(3px);
  }

  /* --------------------------------------------------------------------------
     GRIDS DE DISTRIBUCIÓN DESKTOP
     -------------------------------------------------------------------------- */
  .bc-mega-grid--destinations,
  .bc-mega-grid--dest-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 14px;
    align-items: stretch;
  }

  .bc-mega-grid--4cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 14px;
    align-items: start;
  }

  .bc-mega-grid--3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
  }

  .bc-mega-grid--3cols-featured {
    display: grid;
    grid-template-columns: 1fr 1fr 330px;
    gap: 22px;
    align-items: start;
  }

  /* --------------------------------------------------------------------------
     TARJETAS DE DESTINO (.bc-mega-card)
     -------------------------------------------------------------------------- */
  .bc-mega-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    padding: 0 0 10px;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
  }

  .bc-mega-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
    background: #ffffff;
  }

  .bc-mega-card__thumb-link {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 7px 7px 0 0;
  }

  .bc-mega-card__thumb-link .bc-mega-card__img,
  .bc-mega-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    border: 0 !important;
    outline: none !important;
    transition: transform 0.4s ease;
  }

  .bc-mega-card:hover .bc-mega-card__img {
    transform: scale(1.06);
  }

  .bc-mega-card__badge,
  .bc-mega-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--gold, #c5a059);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    z-index: 2;
    pointer-events: none;
  }

  .bc-mega-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2px 4px 0;
  }

  .bc-mega-card__title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 0.98rem;
    font-weight: 700;
    margin: 8px 10px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bc-mega-card__title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .bc-mega-card__title a:hover {
    color: var(--gold, #c5a059);
  }

  .bc-mega-card__list {
    list-style: none;
    margin: 4px 10px 0;
    padding: 0;
  }

  .bc-mega-card__list li {
    margin-bottom: 3px;
  }

  .bc-mega-card__list li a {
    color: #475569;
    font-size: 0.74rem;
    line-height: 1.35;
    text-decoration: none;
    display: block;
    padding: 2px 0;
    transition: color 0.2s ease, transform 0.2s ease;
    white-space: normal;
    /* Permite lectura fluida */
    word-break: break-word;
  }

  .bc-mega-card__list li a:hover {
    color: var(--gold, #c5a059);
    transform: translateX(3px);
  }

  /* --------------------------------------------------------------------------
     TARJETA CTA ESPECIAL VIAJES A MEDIDA (.bc-mega-card--cta)
     -------------------------------------------------------------------------- */
  .bc-mega-card--cta {
    background: linear-gradient(145deg, #071526 0%, #0d223f 50%, #152e50 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.35) !important;
    box-shadow: 0 10px 25px rgba(7, 21, 38, 0.22);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
  }

  .bc-mega-card--cta::before {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
  }

  .bc-mega-card__cta-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 16px 14px;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  .bc-mega-card__badge--gold {
    background: rgba(197, 160, 89, 0.2) !important;
    color: var(--gold, #c5a059) !important;
    border: 1px solid var(--gold, #c5a059) !important;
    align-self: flex-start;
    position: static !important;
    margin-bottom: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
  }

  .bc-mega-card--cta .bc-mega-card__title {
    color: #ffffff !important;
    margin: 4px 0 8px;
    font-size: 1.05rem;
    white-space: normal;
  }

  .bc-mega-card--cta .bc-mega-card__desc {
    color: #cbd5e1;
    font-size: 0.76rem;
    line-height: 1.45;
    margin: 0 0 14px;
    white-space: normal;
    flex: 1;
  }

  .bc-mega-card--cta .llm-btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
  }

  /* --------------------------------------------------------------------------
     COLUMNAS DE TOURS (.bc-mega-col)
     -------------------------------------------------------------------------- */
  .bc-mega-col {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  /* Cabecera con imagen de columna */
  .bc-mega-col__media {
    position: relative;
    display: block;
    width: 100%;
    height: 110px;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    margin-bottom: 10px;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
  }

  .bc-mega-col__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    border: 0 !important;
    transition: transform 0.4s ease;
  }

  .bc-mega-col__media:hover img {
    transform: scale(1.06);
  }

  .bc-mega-col__badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--gold, #c5a059);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.35px;
    text-transform: uppercase;
    border: 1px solid rgba(197, 160, 89, 0.35);
    pointer-events: none;
    z-index: 2;
  }

  .bc-mega-col__title {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid var(--gold, #c5a059);
    padding-bottom: 6px;
    margin: 0 0 10px;
    line-height: 1.3;
  }

  .bc-mega-col__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .bc-mega-col__title a:hover {
    color: var(--gold, #c5a059);
  }

  .bc-mega-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
  }

  .bc-mega-col__list li a {
    display: block;
    padding: 7px 10px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #edf2f7;
    text-decoration: none;
    transition: all 0.2s ease;
  }

  .bc-mega-col__list li a:hover {
    background: #ffffff;
    border-color: var(--gold, #c5a059);
    box-shadow: 0 4px 10px rgba(197, 160, 89, 0.12);
    transform: translateY(-1px);
  }

  .bc-mega-col__list li a strong {
    display: block;
    color: #0f172a;
    font-size: 0.81rem;
    font-weight: 600;
    margin-bottom: 2px;
    line-height: 1.32;
    white-space: normal;
    /* Títulos enteros legibles sin cortes rotos */
    word-break: break-word;
    transition: color 0.2s ease;
  }

  .bc-mega-col__list li a:hover strong {
    color: var(--gold, #c5a059);
  }

  .bc-mega-col__list li a span {
    display: block;
    color: #64748b;
    font-size: 0.70rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
  }

  /* --------------------------------------------------------------------------
     TARJETA DESTACADA VISUAL (.bc-mega-featured-card)
     -------------------------------------------------------------------------- */
  .bc-mega-col--featured {
    height: 100%;
  }

  .bc-mega-featured-card {
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
  }

  .bc-mega-featured-card__img {
    width: 100% !important;
    height: 155px !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
    border: 0 !important;
  }

  .bc-mega-featured-card__content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
  }

  .bc-mega-featured-card__content h5 {
    font-family: var(--font-heading, 'Playfair Display', Georgia, serif);
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0 0 6px;
    font-weight: 700;
  }

  .bc-mega-featured-card__content p {
    font-size: 0.78rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0 0 14px;
    flex: 1;
  }

  .bc-mega-featured-card__content .llm-btn {
    align-self: flex-start;
  }

  /* --------------------------------------------------------------------------
     SUBMENÚ DROPDOWN TRADICIONAL (.bc-dropdown-item)
     -------------------------------------------------------------------------- */
  .bc-dropdown-item {
    position: relative !important;
  }

  .bc-dropdown-item .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #ffffff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #018480;
    border-image: var(--samex-gradient-h) 1;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    transition-delay: 0.15s;
    z-index: 99999;
  }

  .bc-dropdown-item .sub-menu::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    width: 100%;
    height: 24px;
    background: transparent;
    pointer-events: auto;
  }

  .bc-dropdown-item:hover .sub-menu,
  .bc-dropdown-item:focus-within .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .bc-dropdown-item .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #1e293b;
    font-size: 0.84rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.2px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
  }

  .bc-dropdown-item .sub-menu li:last-child a {
    border-bottom: none;
  }

  .bc-dropdown-item .sub-menu li a:hover {
    background: #f8fafc;
    color: var(--gold, #c5a059);
    padding-left: 24px;
  }
}

/* --------------------------------------------------------------------------
   3. OPTIMIZACIÓN LAPTOPS Y PANTALLAS COMPACTAS (1025px - 1440px)
   Cubriendo 1024x768+, 1280x800, 1366x768 y 1440x900 sin solapamientos
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .site-header__wrapper {
    gap: clamp(0.4rem, 0.7vw, 0.95rem) !important;
  }

  .site-header__branding {
    max-width: clamp(130px, 9.8vw, 160px) !important;
  }

  .site-header__branding .custom-logo,
  .site-header__branding img {
    max-height: clamp(34px, 2.5vw, 40px) !important;
  }

  .site-header__menu {
    gap: clamp(0.18rem, 0.4vw, 0.55rem) !important;
  }

  .site-header__menu>li.menu-item>a,
  .bc-nav-top-link {
    font-size: clamp(0.58rem, 0.63vw, 0.69rem) !important;
    letter-spacing: 0.2px !important;
    padding: 0 2.5px !important;
    gap: 2.5px !important;
  }

  .site-header__menu .nav-chevron {
    width: 5px !important;
    height: 5px !important;
    border-width: 1.5px !important;
  }

  .llm-btn--promo.site-header__cta-desktop {
    padding: 6px 11px !important;
    font-size: clamp(0.55rem, 0.61vw, 0.65rem) !important;
    letter-spacing: 0.4px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .bc-mega-menu {
    width: calc(100vw - 28px) !important;
    padding: 20px 22px 24px !important;
  }

  .bc-mega-grid--3cols-featured {
    grid-template-columns: 1fr 1fr 280px !important;
    gap: 16px !important;
  }

  .bc-mega-grid--4cols,
  .bc-mega-grid--destinations,
  .bc-mega-grid--dest-cards {
    gap: 12px 10px !important;
  }

  .bc-mega-col__title {
    font-size: 0.94rem !important;
  }

  .bc-mega-col__list li a {
    padding: 6px 8px !important;
  }

  .bc-mega-col__list li a strong {
    font-size: 0.77rem !important;
  }

  .bc-mega-col__list li a span {
    font-size: 0.67rem !important;
  }
}

/* --------------------------------------------------------------------------
   3B. OPTIMIZACIÓN FULL HD (1441px - 1920px) - ESPACIO Y SIMETRÍA EDITORIAL
   Cubriendo 1920x1080 (resolución estándar de monitores y laptops 1080p)
   Garantiza separación nítida entre el logo SAMEX, el menú y el botón CTA
   -------------------------------------------------------------------------- */
@media (min-width: 1441px) and (max-width: 1920px) {
  .site-header__wrapper {
    gap: clamp(0.85rem, 1.4vw, 1.75rem) !important;
  }

  .site-header__branding {
    max-width: 185px !important;
    flex-shrink: 0 !important;
  }

  .site-header__branding .custom-logo,
  .site-header__branding img {
    max-height: 44px !important;
  }

  .site-header__menu {
    gap: clamp(0.35rem, 0.6vw, 0.85rem) !important;
  }

  .site-header__menu>li.menu-item>a,
  .bc-nav-top-link {
    font-size: clamp(0.68rem, 0.72vw, 0.76rem) !important;
    letter-spacing: 0.35px !important;
    padding: 0 4px !important;
    gap: 4.5px !important;
  }

  .site-header__menu .nav-chevron {
    width: 6px !important;
    height: 6px !important;
    border-width: 1.8px !important;
  }

  .llm-btn--promo.site-header__cta-desktop {
    padding: 8px 14px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .bc-mega-menu {
    width: min(1380px, calc(100vw - 48px)) !important;
    padding: 26px 32px 30px !important;
  }

  .bc-mega-grid--3cols-featured {
    grid-template-columns: 1fr 1fr 310px !important;
    gap: 22px !important;
  }

  .bc-mega-featured-card__img {
    height: 170px !important;
  }
}

/* --------------------------------------------------------------------------
   3C. OPTIMIZACIÓN 2K / 4K Y ULTRA-WIDE (1921px+)
   Cubriendo 2560x1440 (2K), 3840x2160 (4K), 3440x1440
   -------------------------------------------------------------------------- */
@media (min-width: 1921px) {
  .site-header__wrapper {
    gap: clamp(1.2rem, 1.8vw, 2.5rem) !important;
  }

  .site-header__branding {
    max-width: 210px !important;
    flex-shrink: 0 !important;
  }

  .site-header__branding .custom-logo,
  .site-header__branding img {
    max-height: 48px !important;
  }

  .site-header__menu {
    gap: clamp(0.5rem, 0.8vw, 1.25rem) !important;
  }

  .site-header__menu>li.menu-item>a,
  .bc-nav-top-link {
    font-size: clamp(0.74rem, 0.78vw, 0.84rem) !important;
    letter-spacing: 0.45px !important;
    padding: 0 6px !important;
    gap: 5px !important;
  }

  .site-header__menu .nav-chevron {
    width: 7px !important;
    height: 7px !important;
    border-width: 2px !important;
  }

  .llm-btn--promo.site-header__cta-desktop {
    padding: 9px 16px !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.6px !important;
  }

  .bc-mega-menu {
    width: min(1500px, calc(100vw - 64px)) !important;
    padding: 30px 38px 34px !important;
  }

  .bc-mega-grid--3cols-featured {
    grid-template-columns: 1fr 1fr 340px !important;
    gap: 26px !important;
  }

  .bc-mega-featured-card__img {
    height: 185px !important;
  }
}

/* --------------------------------------------------------------------------
   4. RESPONSIVE MÓVIL Y TABLET (max-width: 1024px) - LUXURY DARK UI & UX
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  /* Resets para evitar interferencias de hover de escritorio */
  .bc-mega-menu::before {
    display: none !important;
  }

  /* AISLAMIENTO DE SELECTORES: neutralizar la regla de main.css para links internos */
  .site-header__menu .bc-mega-menu a,
  .site-header__menu .sub-menu a {
    min-height: auto !important;
    padding: 0 !important;
    width: auto !important;
    text-transform: none !important;
    font-weight: normal !important;
    letter-spacing: normal !important;
    white-space: normal !important;
  }

  /* Enlaces de Menú Móvil dentro del Drawer */
  .site-header__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .site-header__menu>li.menu-item {
    width: 100% !important;
    height: auto !important;
    min-height: 52px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  .site-header__menu>li.menu-item:last-child {
    border-bottom: none;
  }

  /* Enlace Principal de Nivel 1 en Móvil */
  .site-header__menu>li.menu-item>a,
  .bc-nav-top-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 52px;
    padding: 13px 54px 13px 12px;
    font-size: 0.94rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.25s ease;
  }

  .site-header__menu>li.menu-item>a::before,
  .bc-nav-top-link::before {
    display: none !important;
  }

  /* Ocultar chevron dentro del enlace <a> para eliminar por completo el DOBLE CHEVRON */
  .site-header__menu>li.menu-item>a .nav-chevron {
    display: none !important;
  }

  .site-header__menu>li.is-mobile-open>a {
    color: var(--gold, #c5a059);
  }

  /* Botón de Acordeón Móvil Táctil */
  .bc-mobile-acc-btn {
    display: inline-flex !important;
    position: absolute;
    right: 6px;
    top: 6px;
    width: 42px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 5;
    transition: all 0.25s ease;
    padding: 0;
  }

  .site-header__menu>li.is-mobile-open .bc-mobile-acc-btn {
    background: rgba(197, 160, 89, 0.18);
    border-color: rgba(197, 160, 89, 0.45);
    color: var(--gold, #c5a059);
  }

  .bc-mobile-acc-btn .nav-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    margin-top: -2px;
    opacity: 0.95;
  }

  .site-header__menu>li.is-mobile-open .bc-mobile-acc-btn .nav-chevron {
    transform: rotate(225deg);
    margin-top: 2px;
    color: var(--gold, #c5a059);
  }

  /* Contenedores de Mega Menú y Submenús en Móvil (Luxury Dark Box) */
  .bc-mega-menu,
  .bc-dropdown-item .sub-menu {
    display: none;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: #08172c !important;
    border: 1px solid rgba(197, 160, 89, 0.25) !important;
    border-radius: 12px !important;
    padding: 14px 12px 18px !important;
    margin: 4px 0 16px !important;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    max-height: 72vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--gold, #c5a059) rgba(255, 255, 255, 0.05);
  }

  .site-header__menu>li.is-mobile-open>.bc-mega-menu,
  .site-header__menu>li.is-mobile-open>.sub-menu {
    display: block !important;
    animation: bcMobileSlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes bcMobileSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Barra de Título del Mega Menú Móvil */
  .bc-mega-menu__header-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .bc-mega-menu__heading {
    font-size: 1.08rem;
    font-family: var(--font-heading, "Cinzel", Georgia, serif);
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    font-weight: 600;
  }

  .bc-mega-view-all {
    display: inline-flex;
    align-items: center;
    color: var(--gold, #c5a059);
    font-size: 0.80rem;
    font-weight: 600;
    text-decoration: none;
    padding: 5px 12px;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 20px;
    background: rgba(197, 160, 89, 0.08);
    transition: all 0.2s ease;
  }

  .bc-mega-view-all:hover {
    background: var(--gold, #c5a059);
    color: #071526;
  }

  /* Disposición de Grillas en Columna Única Táctil */
  .bc-mega-grid--destinations,
  .bc-mega-grid--dest-cards,
  .bc-mega-grid--3cols-featured,
  .bc-mega-grid--3cols,
  .bc-mega-grid--4cols {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Tarjetas de Destinos en Móvil (.bc-mega-card) */
  .bc-mega-card {
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
  }

  .bc-mega-card__thumb-link {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    background: #1a202c;
    aspect-ratio: auto;
  }

  .bc-mega-card__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .bc-mega-badge,
  .bc-mega-card__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: auto;
    background: rgba(7, 21, 38, 0.90);
    color: var(--gold, #c5a059);
    border: 1px solid rgba(197, 160, 89, 0.45);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
  }

  .bc-mega-card__title {
    margin: 4px 0 2px;
    font-size: 0.98rem;
    font-family: var(--font-heading, "Cinzel", Georgia, serif);
  }

  .bc-mega-card__title a {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
  }

  .bc-mega-card__list {
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 3px;
  }

  .bc-mega-card__list li {
    margin: 0;
    padding: 0;
  }

  .bc-mega-card__list li a {
    display: flex !important;
    align-items: center;
    padding: 7px 8px !important;
    min-height: 38px !important;
    font-size: 0.83rem !important;
    color: #cbd5e1 !important;
    text-decoration: none;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .bc-mega-card__list li a::before {
    content: "\203A";
    /* Flecha chevron elegante */
    color: var(--gold, #c5a059);
    font-size: 1.15rem;
    margin-right: 8px;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;
  }

  .bc-mega-card__list li a:hover {
    background: rgba(197, 160, 89, 0.12);
    color: var(--gold, #c5a059) !important;
    padding-left: 11px !important;
  }

  /* Tarjeta CTA en Móvil */
  .bc-mega-card--cta {
    background: linear-gradient(145deg, #071526 0%, #10294c 100%) !important;
    border: 1px solid rgba(197, 160, 89, 0.4) !important;
    padding: 14px 12px !important;
  }

  .bc-mega-card--cta .bc-mega-card__desc {
    color: #cbd5e1 !important;
    font-size: 0.80rem;
    line-height: 1.4;
    margin: 6px 0 12px;
  }

  /* Columnas de Tours en Móvil (.bc-mega-col) */
  .bc-mega-col {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 6px;
    box-sizing: border-box;
    width: 100%;
  }

  .bc-mega-col__media {
    position: relative;
    display: block;
    width: 100%;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #1a202c;
    margin-bottom: 8px;
  }

  .bc-mega-col__media img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
  }

  .bc-mega-col__badge {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: auto;
    background: rgba(7, 21, 38, 0.90);
    color: var(--gold, #c5a059);
    border: 1px solid rgba(197, 160, 89, 0.45);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.4px;
  }

  .bc-mega-col__title {
    font-size: 0.90rem;
    font-weight: 700;
    color: var(--gold, #c5a059);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.25);
  }

  .bc-mega-col__title a {
    color: var(--gold, #c5a059) !important;
    text-decoration: none;
  }

  .bc-mega-col__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .bc-mega-col__list li a {
    display: flex !important;
    flex-direction: column;
    padding: 8px 10px !important;
    min-height: 42px !important;
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
  }

  .bc-mega-col__list li a:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: rgba(197, 160, 89, 0.35);
    padding-left: 12px !important;
  }

  .bc-mega-col__list li a strong {
    color: #ffffff !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    line-height: 1.35;
    white-space: normal !important;
    word-break: break-word;
  }

  .bc-mega-col__list li a span,
  .bc-mega-col__list li a small {
    color: #94a3b8 !important;
    font-size: 0.74rem !important;
    margin-top: 3px;
    line-height: 1.3;
    white-space: normal !important;
    word-break: break-word;
  }

  .bc-mega-col__list li a:hover strong {
    color: var(--gold, #c5a059) !important;
  }

  /* Tarjeta destacada en Móvil */
  .bc-mega-featured-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.25);
    border-radius: 8px;
    overflow: hidden;
  }

  .bc-mega-featured-card__img {
    height: 130px !important;
  }

  .bc-mega-featured-card__content {
    padding: 12px;
  }

  .bc-mega-featured-card__content h5 {
    font-size: 1rem;
    margin: 0 0 6px;
  }

  .bc-mega-featured-card__content p {
    font-size: 0.78rem;
    line-height: 1.4;
    margin: 0 0 10px;
  }

  /* Submenú Tradicional "Sobre Nosotros" en Móvil */
  .bc-dropdown-item .sub-menu {
    list-style: none;
    padding: 8px 10px !important;
  }

  .site-header__menu>li.is-mobile-open>.sub-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .bc-dropdown-item .sub-menu li a {
    display: flex !important;
    align-items: center;
    padding: 9px 8px !important;
    min-height: 42px !important;
    color: #e2e8f0 !important;
    font-size: 0.88rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 4px;
    box-sizing: border-box;
  }

  .bc-dropdown-item .sub-menu li:last-child a {
    border-bottom: none;
  }

  .bc-dropdown-item .sub-menu li a::before {
    content: "\203A";
    /* Chevron limpio */
    color: var(--gold, #c5a059);
    font-size: 1.15rem;
    margin-right: 8px;
    line-height: 1;
    font-weight: bold;
    flex-shrink: 0;
  }

  .bc-dropdown-item .sub-menu li a:hover {
    color: var(--gold, #c5a059) !important;
    background: rgba(197, 160, 89, 0.12);
    padding-left: 12px !important;
  }
}

/* Columnas del Mega Menú sin imagen asignada en el catálogo oficial */
.bc-mega-col__media--no-img {
  background: linear-gradient(135deg, #06152d 0%, #0d274c 55%, #0a3d38 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}