/* ==========================================================================
   MANTUS TULUM — HEADER & EDITORIAL NAVIGATION SYSTEM
   ========================================================================== */

:root {
  --mn-dark: #041c14;
  --mn-dark-translucent: rgba(4, 28, 20, 0.82);
  --mn-light-translucent: rgba(255, 255, 255, 0.86);
  --mn-green: #44946b;
  --mn-sand: #efccb1;
  --mn-sand-light: #f9eee5;
  --mn-gold: #d4af37;
  --mn-border-dark: rgba(255, 255, 255, 0.12);
  --mn-border-light: rgba(4, 28, 20, 0.08);
}

/* ==========================================================================
   1. FLOATING HEADER WITH GLASSMORPHISM
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 2.5rem;
  box-sizing: border-box;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  transition: 
    background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    -webkit-backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled state (General) */
.site-header.header-scrolled {
  padding: 0.85rem 2.5rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* Dark Theme Header (e.g., index hero) */
.site-header--dark {
  color: #ffffff;
}

.site-header--dark.header-scrolled {
  background-color: var(--mn-dark-translucent);
  border-bottom-color: var(--mn-border-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Light Theme Header (e.g., destino, nosotros, cotizar, login, etc.) */
.site-header--light {
  color: #041c14;
}

.site-header--light.header-scrolled {
  background-color: var(--mn-light-translucent);
  border-bottom-color: var(--mn-border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Brand Logo */
.site-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  transition: transform 0.3s ease;
}

.site-header__logo:hover {
  transform: scale(1.02);
}

.site-header__logo img {
  width: 11.5rem;
  height: auto;
  display: block;
}

/* Header Right Actions Group */
.site-header__actions {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

/* ==========================================================================
   1.1 DESKTOP INLINE NAVIGATION
   ========================================================================== */

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__nav-list {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header__nav-link {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.site-header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header__nav-link:hover::after {
  width: 100%;
}

/* Dark Header Links */
.site-header--dark .site-header__nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.site-header--dark .site-header__nav-link:hover {
  color: #ffffff;
}

.site-header--dark .site-header__nav-link::after {
  background-color: var(--mn-sand);
}

/* Light Header Links */
.site-header--light .site-header__nav-link {
  color: rgba(4, 28, 20, 0.8);
}

.site-header--light .site-header__nav-link:hover {
  color: var(--mn-dark);
}

.site-header--light .site-header__nav-link::after {
  background-color: var(--mn-green);
}

/* CTA Nav Link (Cotizar) */
.site-header__nav-link--cta {
  padding: 0.5rem 1.4rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  font-size: 0.82rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.site-header__nav-link--cta::after {
  display: none !important;
}

.site-header--dark .site-header__nav-link--cta {
  background-color: var(--mn-sand);
  color: var(--mn-dark) !important;
  border: 1px solid var(--mn-sand);
}

.site-header--dark .site-header__nav-link--cta:hover {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(239, 204, 177, 0.3);
}

.site-header--light .site-header__nav-link--cta {
  background-color: var(--mn-dark);
  color: #ffffff !important;
  border: 1px solid var(--mn-dark);
}

.site-header--light .site-header__nav-link--cta:hover {
  background-color: var(--mn-green);
  color: #ffffff !important;
  border-color: var(--mn-green);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(68, 148, 107, 0.3);
}

/* Pay Nav Link (Realiza tu pago) */
.site-header__nav-link--pay {
  opacity: 0.85;
  font-size: 0.82rem !important;
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px !important;
}

.site-header__nav-link--pay::after {
  display: none !important;
}

.site-header__nav-link--pay:hover {
  opacity: 1;
  border-bottom-style: solid;
}

/* ==========================================================================
   ACTIVE NAVIGATION STATES (Desktop & Mobile)
   ========================================================================== */
.site-header--dark .site-header__nav-link.active {
  color: var(--mn-sand);
  font-weight: 700;
  opacity: 1;
}

.site-header--dark .site-header__nav-link.active::after {
  width: 100% !important;
  background-color: var(--mn-sand) !important;
  height: 2px;
}

.site-header--light .site-header__nav-link.active {
  color: var(--mn-green);
  font-weight: 700;
  opacity: 1;
}

.site-header--light .site-header__nav-link.active::after {
  width: 100% !important;
  background-color: var(--mn-green) !important;
  height: 2px;
}

.site-header--dark .site-header__nav-link--cta.active {
  background-color: var(--mn-sand);
  color: var(--mn-dark) !important;
  box-shadow: 0 0 0 2px rgba(239, 204, 177, 0.4), 0 4px 15px rgba(239, 204, 177, 0.3);
}

.site-header--light .site-header__nav-link--cta.active {
  background-color: var(--mn-green);
  color: #ffffff !important;
  box-shadow: 0 0 0 2px rgba(68, 148, 107, 0.4), 0 4px 15px rgba(68, 148, 107, 0.3);
}

.site-header--dark .site-header__nav-link--pay.active {
  color: var(--mn-sand);
  opacity: 1;
  font-weight: 700;
  border-bottom: 1.5px solid var(--mn-sand);
}

.site-header--light .site-header__nav-link--pay.active {
  color: var(--mn-green);
  opacity: 1;
  font-weight: 700;
  border-bottom: 1.5px solid var(--mn-green);
}

/* Mobile Active States */
.editorial-nav-link.active {
  color: #ffffff;
}

.editorial-nav-link.active .nav-num {
  color: var(--mn-sand) !important;
}

.editorial-nav-link.active .nav-text {
  color: #ffffff;
  font-weight: 500;
  transform: translateX(8px);
}

.editorial-nav-link.active .nav-arrow {
  opacity: 1;
  transform: translateX(0) rotate(0deg);
}

.editorial-nav-item.active {
  position: relative;
}

.editorial-nav-item.active::before {
  content: '';
  position: absolute;
  left: -0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mn-sand);
  box-shadow: 0 0 8px var(--mn-sand);
}

/* Desktop: Hide Mobile Menu Button */
@media screen and (min-width: 992px) {
  .site-menu-btn {
    display: none !important;
  }
}

/* Mobile & Tablet: Hide Desktop Nav, Show Mobile Menu Button */
@media screen and (max-width: 991px) {
  .site-header__nav {
    display: none !important;
  }

  .site-menu-btn {
    display: inline-flex !important;
  }
}

/* ==========================================================================
   2. HEADER EMAIL CONTACT & TYPOGRAPHIC LANGUAGE SELECTOR (ES | EN)
   ========================================================================== */

.header-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-email-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: currentColor;
}

.site-header--dark .header-email-link,
.editorial-overlay .header-email-link {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header--dark .header-email-link:hover,
.editorial-overlay .header-email-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(239, 204, 177, 0.2);
  transform: translateY(-1px);
}

.site-header--light .header-email-link {
  color: var(--mn-dark);
  background: rgba(4, 28, 20, 0.05);
  border: 1px solid rgba(4, 28, 20, 0.12);
}

.site-header--light .header-email-link:hover {
  color: var(--mn-green);
  background: rgba(68, 148, 107, 0.1);
  border-color: rgba(68, 148, 107, 0.3);
  box-shadow: 0 4px 15px rgba(68, 148, 107, 0.15);
  transform: translateY(-1px);
}

@media screen and (max-width: 1250px) {
  .header-email-text {
    display: none;
  }
  .header-email-link {
    padding: 0.5rem;
    border-radius: 50%;
  }
  .header-email-icon {
    width: 16px;
    height: 16px;
  }
}

.lang-selector {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  flex-shrink: 0;
  flex-grow: 0;
  width: auto;
  max-width: fit-content;
}

.lang-btn {
  background: none;
  border: none;
  outline: none;
  padding: 0.25rem 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: 1;
  position: relative;
  transition: color 0.25s ease, opacity 0.25s ease;
  flex: 0 0 auto;
  width: auto;
}

.lang-divider {
  font-size: 0.75rem;
  opacity: 0.35;
  font-weight: 300;
  line-height: 1;
}

/* Dark variant language colors */
.site-header--dark .lang-btn {
  color: rgba(255, 255, 255, 0.5);
}

.site-header--dark .lang-btn:hover {
  color: #ffffff;
  opacity: 0.9;
}

.site-header--dark .lang-btn.active {
  color: #ffffff;
  font-weight: 700;
  opacity: 1;
}

.site-header--dark .lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background-color: var(--mn-sand);
  border-radius: 2px;
}

/* Light variant language colors */
.site-header--light .lang-btn {
  color: rgba(4, 28, 20, 0.45);
}

.site-header--light .lang-btn:hover {
  color: #041c14;
  opacity: 0.9;
}

.site-header--light .lang-btn.active {
  color: #041c14;
  font-weight: 700;
  opacity: 1;
}

.site-header--light .lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background-color: var(--mn-green);
  border-radius: 2px;
}

/* Overlay language colors */
.editorial-overlay .lang-btn {
  color: rgba(255, 255, 255, 0.5);
}

.editorial-overlay .lang-btn:hover {
  color: #ffffff;
}

.editorial-overlay .lang-btn.active {
  color: #ffffff;
  font-weight: 700;
}

.editorial-overlay .lang-btn.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background-color: var(--mn-sand);
  border-radius: 2px;
}

/* ==========================================================================
   3. MENU TOGGLE BUTTON
   ========================================================================== */

.site-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: 24px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.site-menu-btn:hover {
  transform: scale(1.05);
}

.site-menu-btn__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 24px;
  height: 18px;
}

.site-menu-btn__bar {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.site-menu-btn__bar:nth-child(2) {
  width: 65%;
}

.site-menu-btn:hover .site-menu-btn__bar:nth-child(2) {
  width: 100%;
}

.site-header--dark .site-menu-btn__bar {
  background-color: #ffffff;
}

.site-header--light .site-menu-btn__bar {
  background-color: #041c14;
}

/* ==========================================================================
   4. FULLSCREEN EDITORIAL NAVIGATION OVERLAY
   ========================================================================== */

.editorial-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 99999;
  background: 
    radial-gradient(circle at 85% 15%, rgba(68, 148, 107, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    #041c14;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 
    opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-sizing: border-box;
}

.editorial-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Overlay Top Bar */
.editorial-overlay__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  border-bottom: 1px solid var(--mn-border-dark);
  flex-shrink: 0;
  z-index: 10;
  box-sizing: border-box;
}

.editorial-overlay__logo img {
  width: 11rem;
  height: auto;
  display: block;
}

.editorial-overlay__top-right {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.editorial-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.editorial-close-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}

.editorial-close-btn:hover svg {
  transform: rotate(90deg);
}

/* Overlay Body Grid */
.editorial-overlay__body {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  padding: 2.5rem 3.5rem;
  align-items: center;
  overflow-y: auto;
  z-index: 10;
  box-sizing: border-box;
}

/* Left Column: Navigation & Quick Actions */
.editorial-overlay__nav-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 620px;
}

.editorial-nav-kicker {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mn-green);
  margin: 0 0 1.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.editorial-nav-kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--mn-green);
}

/* Links List */
.editorial-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.editorial-nav-item {
  opacity: 0;
  transform: translateY(16px);
  transition: 
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-overlay.is-open .editorial-nav-item:nth-child(1) { transition-delay: 0.10s; opacity: 1; transform: translateY(0); }
.editorial-overlay.is-open .editorial-nav-item:nth-child(2) { transition-delay: 0.15s; opacity: 1; transform: translateY(0); }
.editorial-overlay.is-open .editorial-nav-item:nth-child(3) { transition-delay: 0.20s; opacity: 1; transform: translateY(0); }
.editorial-overlay.is-open .editorial-nav-item:nth-child(4) { transition-delay: 0.25s; opacity: 1; transform: translateY(0); }
.editorial-overlay.is-open .editorial-nav-item:nth-child(5) { transition-delay: 0.30s; opacity: 1; transform: translateY(0); }

.editorial-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.3rem 0;
  font-family: 'Raleway', 'Quicksand', sans-serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  position: relative;
  transition: color 0.3s ease;
}

.editorial-nav-link .nav-num {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--mn-green);
  min-width: 2.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.editorial-nav-link .nav-text {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

.editorial-nav-link .nav-arrow {
  width: 22px;
  height: 22px;
  opacity: 0;
  transform: translateX(-8px) rotate(-45deg);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: var(--mn-sand);
}

.editorial-nav-link:hover {
  color: #ffffff;
}

.editorial-nav-link:hover .nav-text {
  transform: translateX(10px);
  color: #ffffff;
}

.editorial-nav-link:hover .nav-num {
  color: var(--mn-sand);
  transform: scale(1.08);
}

.editorial-nav-link:hover .nav-arrow {
  opacity: 1;
  transform: translateX(10px) rotate(0deg);
}

/* Secondary Home Link */
.editorial-nav-link--sub {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  opacity: 0.75;
  padding: 0.2rem 0;
}

.editorial-nav-link--sub:hover {
  opacity: 1;
}

/* Direct Action Cards (WhatsApp, Brochure, Portal Pagos) */
.editorial-direct-actions {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--mn-border-dark);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  box-sizing: border-box;
}

.direct-action-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.direct-action-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(68, 148, 107, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.direct-action-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(68, 148, 107, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--mn-green);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.direct-action-card:hover .direct-action-card__icon {
  background: var(--mn-green);
  color: #ffffff;
}

.direct-action-card__icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.direct-action-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.direct-action-card__title {
  font-weight: 600;
  color: #ffffff;
}

.direct-action-card__sub {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Right Column: Interactive Photography Panel */
.editorial-overlay__showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--mn-border-dark);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  box-sizing: border-box;
}

.showcase-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: 
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.showcase-layer.active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

.showcase-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 28, 20, 0.1) 0%, rgba(4, 28, 20, 0.4) 45%, rgba(4, 28, 20, 0.92) 100%);
  z-index: 3;
}

.showcase-caption {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.showcase-caption__tag {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mn-sand);
}

.showcase-caption__title {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS (Mobile & Tablet)
   ========================================================================== */

@media screen and (max-width: 1023px) {
  .site-header {
    padding: 1rem 1.25rem;
  }

  .site-header.header-scrolled {
    padding: 0.75rem 1.25rem;
  }

  .site-header__logo img {
    width: 9rem;
  }

  .site-header__actions {
    gap: 1rem;
  }

  .editorial-overlay__top {
    padding: 1rem 1.25rem;
  }

  .editorial-overlay__logo img {
    width: 8.5rem;
  }

  .editorial-overlay__body {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem 2rem 1.25rem;
    gap: 1.5rem;
  }

  .editorial-overlay__showcase {
    display: none; /* Hide on mobile to prioritize touch navigation */
  }

  .editorial-nav-link {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
    gap: 0.85rem;
  }

  .editorial-nav-link .nav-num {
    font-size: 0.85rem;
    min-width: 1.8rem;
  }

  .editorial-direct-actions {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6. OBSOLETE BOTTOM FLOATING FLAGS & MENU-SMALL CLEANUP
   ========================================================================== */

.languaje-box,
#flags {
  display: none !important;
}

.menu-small {
  display: none !important;
}

/* ==========================================================================
   7. UNIFIED 4-COLUMN LUXURY FOOTER (Pie de Página Editorial)
   ========================================================================== */

footer,
.site-footer {
  width: 100%;
  background-color: var(--mn-dark-green, #041c14) !important;
  padding: 5rem 3rem 2.5rem 3rem !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
  position: relative !important;
  height: auto !important;
  min-height: auto !important;
  z-index: 10;
  display: block !important;
}

.site-footer__container {
  max-width: 1380px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.15fr 1.05fr;
  gap: 3.5rem;
  padding-bottom: 4rem;
  box-sizing: border-box;
}

/* Columna 1: Branding */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand__logo img {
  width: 185px;
  height: auto;
  display: block;
}

.footer-brand__tagline {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  max-width: 320px;
}

.footer-brand__sustainability {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  margin-top: 0.5rem;
  width: fit-content;
  max-width: 320px;
  box-sizing: border-box;
}

.footer-brand__sustainability img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  object-fit: contain;
}

.sustainability-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sustainability-title {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
}

.sustainability-desc {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.72rem;
  color: #44946b;
  font-weight: 600;
}

/* Títulos de Columnas */
.footer-col__title {
  font-family: 'Cormorant Garamond', 'Cinzel', serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--mn-sand, #efccb1);
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
}

/* Columna 2: Navegación */
.footer-nav__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav__link {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-nav__link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Columna 3: Contacto Directo */
.footer-contact__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact__item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.88rem;
  transition: color 0.3s ease;
}

.footer-contact__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mn-sand, #efccb1);
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.footer-contact__item:hover {
  color: #ffffff;
}

.footer-contact__item:hover .footer-contact__icon {
  background: #ffffff;
  border-color: #ffffff;
  color: #041c14;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social__link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.footer-social__link:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #041c14;
  transform: translateY(-3px);
}

/* Columna 4: Legal & Desarrollador */
.footer-col--legal {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-developer {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-dev__label {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-dev__logo img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.footer-dev__logo:hover img {
  opacity: 1;
}

.footer-legal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-legal__link {
  font-family: 'Quicksand', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal__link:hover {
  color: var(--mn-sand, #efccb1);
}

/* Barra Final Inferior */
.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-copyright {
  margin: 0;
}

.footer-meta-selectors {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-currency-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mn-sand, #efccb1);
  background: rgba(239, 204, 177, 0.08);
  border: 1px solid rgba(239, 204, 177, 0.2);
  padding: 4px 10px;
  border-radius: 999px;
}

.footer-lang-selector {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-lang-selector .lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: 'Quicksand', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 2px 4px;
  transition: color 0.3s ease;
}

.footer-lang-selector .lang-btn.active,
.footer-lang-selector .lang-btn:hover {
  color: #ffffff;
}

.footer-lang-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
}

/* Mobile & Tablet Responsive */
@media screen and (max-width: 1023px) {
  footer,
  .site-footer {
    padding: 3.5rem 1.25rem 2rem 1.25rem !important;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .footer-brand__tagline {
    max-width: 100%;
  }

  .footer-brand__sustainability {
    max-width: 100%;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}
