/* ==========================================================================
   DESTINO SALENTO - HIGH-FASHION VANGUARD EDITORIAL DESIGN SYSTEM
   Estilo: Ultra-Minimalist Editorial Digital (Inspiración Dribbble / Vanguardia)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@500;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;700&family=Syne:wght@700;800&display=swap');

:root {
  /* Paleta Oficial de Colores */
  --color-sapphire: #0F52BA;
  --color-mustard: #FFDB58;
  --color-forest: #228B22;
  --color-snow: #FFFAFA;
  --color-charcoal: #111111;
  
  /* Status Colors */
  --color-status-green: #10B981;

  /* Tipografía Vanguardista (100% Sans-Serif + Manuscrita para Postales) */
  --font-hero-display: 'Syne', 'Space Grotesk', -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-handwriting: 'Caveat', cursive, sans-serif;

  /* Layout Measurements */
  --header-height: 96px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 250ms var(--ease-out-expo);
  --transition-slow: 600ms var(--ease-out-expo);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--color-snow);
  color: var(--color-snow);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  /* Prevent horizontal overflow on mobile */
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
  /* Improve touch targets on mobile */
  -webkit-tap-highlight-color: transparent;
}

/* Global touch improvements */
@media (hover: none) and (pointer: coarse) {
  button,
  a[role="button"],
  .blog-filter-pill,
  .mobile-nav-heading,
  .mobile-subnav-link,
  .footer-faq-trigger,
  .emergency-call-btn,
  .footer-map-btn,
  .blog-quick-cat-card,
  .blog-macro-box,
  .cta-banner-btn-primary,
  .mobile-drawer-cta-btn,
  .switcher-arrow-btn,
  .story-nav-btn,
  .story-control-btn,
  .modal-close-btn,
  .mobile-drawer-close-btn,
  .manifiesto-play-btn,
  .phone-play-btn-circle {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
}

/* Ensure all containers respect viewport width */
section,
div[class*="section"],
div[class*="container"],
div[class*="wrapper"],
div[class*="track"],
div[class*="grid"] {
  max-width: 100%;
  box-sizing: border-box;
}

/* Fix images to never exceed container */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent text from causing overflow */
p,
h1, h2, h3, h4, h5, h6,
span,
a,
li {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

/* ==========================================================================
   HEADER MINIMALISTA VANGUARDISTA
   ========================================================================== */

.editorial-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: clamp(1.6rem, 2vw, 1.85rem) clamp(1.25rem, 3.2vw, 3.5rem);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  transition: transform 340ms var(--ease-out-expo), background var(--transition-fast), padding var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}

/* Ocultamiento inteligente al hacer scroll down en modo sticky */
.editorial-header.is-hidden {
  transform: translateY(-100%);
}

.editorial-header.scrolled {
  padding: clamp(0.95rem, 1.2vw, 1.15rem) clamp(1.25rem, 3.2vw, 3.5rem);
  background: rgba(255, 250, 250, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   BARRA DE PROGRESO DE LECTURA / SCROLL DINÁMICA (STICKY TRANSFORMATION)
   ========================================================================== */

.editorial-scroll-progress {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3.5px;
  background: rgba(30, 30, 30, 0.06);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease, background 0.3s ease, height 0.28s var(--ease-out-expo);
  z-index: 101;
}

/* Visible en modo scrolled o en modo hidden */
.editorial-header.scrolled .editorial-scroll-progress,
.editorial-header.is-hidden .editorial-scroll-progress {
  opacity: 1;
}

/* Al ocultarse el menú (scroll down), la barra adquiere mayor grosor como indicador principal de lectura en el tope */
.editorial-header.is-hidden .editorial-scroll-progress {
  height: 5.5px;
  background: rgba(255, 250, 250, 0.95);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0F52BA 0%, #2563EB 55%, #FFDB58 100%);
  box-shadow: 0 0 10px rgba(15, 82, 186, 0.45);
  transition: width 0.08s linear;
  border-radius: 0 2px 2px 0;
}


.editorial-header.scrolled .editorial-nav-link {
  color: var(--color-charcoal);
}

.editorial-header.scrolled .editorial-nav-link .link-num {
  color: var(--color-sapphire-blue, #0F52BA);
  font-weight: 700;
}

.editorial-header.scrolled .editorial-nav-link::after {
  background-color: var(--color-sapphire-blue, #0F52BA);
}

.editorial-header.scrolled .editorial-nav-item:hover .editorial-nav-link {
  color: #000000;
}

.editorial-header.scrolled .header-search-box {
  background: rgba(30, 30, 30, 0.06);
  border-color: rgba(30, 30, 30, 0.12);
}

.editorial-header.scrolled .header-search-btn {
  color: var(--color-charcoal);
}

.editorial-header.scrolled .header-search-input {
  color: var(--color-charcoal);
}

.editorial-header.scrolled .header-search-input::placeholder {
  color: rgba(30, 30, 30, 0.5);
}

.editorial-header.scrolled .lang-selector-pill {
  background: rgba(30, 30, 30, 0.06);
  border-color: rgba(30, 30, 30, 0.12);
  color: var(--color-charcoal);
}

.editorial-header.scrolled .lang-btn {
  color: rgba(30, 30, 30, 0.6);
}

.editorial-header.scrolled .lang-btn.active {
  background: rgba(30, 30, 30, 0.12);
  color: var(--color-charcoal);
}

.editorial-header.scrolled .header-cta-pill {
  background: var(--color-sapphire-blue, #0F52BA);
  color: #FFFFFF;
  border-color: var(--color-sapphire-blue, #0F52BA);
  box-shadow: none;
}

.editorial-header.scrolled .header-cta-pill:hover {
  background: #0B4296;
  border-color: #0B4296;
  color: #FFFFFF;
  box-shadow: none;
}

/* Marca Izquierda */
.header-brand-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
  justify-self: start;
}

.brand-logo-img {
  height: clamp(48px, 3.4vw, 60px);
  width: auto;
  display: block;
  object-fit: contain;
  will-change: filter, transform;
  transition: transform 450ms cubic-bezier(0.16, 1, 0.3, 1), filter 450ms cubic-bezier(0.16, 1, 0.3, 1), height 340ms ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.editorial-header.scrolled .brand-logo-img {
  height: clamp(38px, 2.4vw, 44px);
  filter: brightness(0) saturate(100%) invert(21%) sepia(93%) saturate(2258%) hue-rotate(207deg) brightness(96%) contrast(92%) drop-shadow(0 2px 8px rgba(15, 82, 186, 0.25));
  animation: logoPulseEntrance 450ms cubic-bezier(0.34, 1.56, 0.64, 1) 1;
}

@keyframes logoPulseEntrance {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

.header-brand-center:hover .brand-logo-img {
  transform: scale(1.05);
}

/* Navegación Editorial Visible (01 #DISFRUTA, 02 #DESCANSA, 03 #DESCUBRE, 04 #CONOCE SALENTO) */
.editorial-main-nav {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.85rem);
  white-space: nowrap;
  justify-content: center;
  justify-self: center;
  min-width: 0;
}

.editorial-nav-item {
  position: relative;
  flex-shrink: 0;
  z-index: 102;
}

.editorial-nav-item:hover {
  z-index: 105;
}

.editorial-nav-link {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: clamp(0.75rem, 0.88vw, 0.825rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
}

.editorial-nav-link .link-num {
  color: var(--color-mustard);
  font-size: 0.775rem;
  font-weight: 700;
}

.editorial-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-mustard);
  transition: width var(--transition-fast);
}

.editorial-nav-item:hover .editorial-nav-link::after,
.editorial-nav-item.is-active .editorial-nav-link::after {
  width: 100%;
}

.editorial-nav-item:hover .editorial-nav-link,
.editorial-nav-item.is-active .editorial-nav-link {
  color: #FFFFFF;
}

/* Desplegables en Línea Rectangular - Glassmorphism cuando no es sticky */
.editorial-dropdown.armenia-style-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(calc(-50% + var(--dropdown-shift-x, 0px))) translateY(6px);
  width: max-content;
  max-width: min(calc(100vw - 3rem), 840px); /* Nunca se sale del área de reserva ni del viewport */
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0px !important; /* Contenedor estrictamente rectangular */
  padding: 0 !important; /* Sin relleno para división perfecta borde a borde */
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0.22s; /* Margen de gracia para evitar que se cierre al salir del botón */
  z-index: 1000; /* Siempre por encima de la barra de progreso (z-index: 101) */
  overflow: visible;
}

/* Puente invisible superior para mantener el cursor activo sin interrupción */
.editorial-dropdown.armenia-style-dropdown::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  height: 28px;
  background: transparent;
  pointer-events: auto;
}

/* En resoluciones medianas/intermedias (laptops y pantallas medianas),
   anclar inteligentemente los extremos para evitar que el menú se salga del margen de reserva */
@media (max-width: 1440px) {
  .editorial-nav-item:first-child .editorial-dropdown.armenia-style-dropdown {
    left: 0;
    transform: translateX(var(--dropdown-shift-x, 0px)) translateY(6px);
  }
  .editorial-nav-item:first-child:hover .editorial-dropdown.armenia-style-dropdown,
  .editorial-nav-item:first-child.is-active .editorial-dropdown.armenia-style-dropdown,
  .editorial-nav-item:first-child .editorial-dropdown.armenia-style-dropdown:hover {
    transform: translateX(var(--dropdown-shift-x, 0px)) translateY(0);
  }

  .editorial-nav-item:last-child .editorial-dropdown.armenia-style-dropdown {
    left: auto;
    right: 0;
    transform: translateX(var(--dropdown-shift-x, 0px)) translateY(6px);
  }
  .editorial-nav-item:last-child:hover .editorial-dropdown.armenia-style-dropdown,
  .editorial-nav-item:last-child.is-active .editorial-dropdown.armenia-style-dropdown,
  .editorial-nav-item:last-child .editorial-dropdown.armenia-style-dropdown:hover {
    transform: translateX(var(--dropdown-shift-x, 0px)) translateY(0);
  }
}

/* Apertura activa por hover, hover directo en dropdown, o estado programático .is-active */
.editorial-nav-item:hover .editorial-dropdown.armenia-style-dropdown,
.editorial-nav-item.is-active .editorial-dropdown.armenia-style-dropdown,
.editorial-dropdown.armenia-style-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(calc(-50% + var(--dropdown-shift-x, 0px))) translateY(0);
  transition-delay: 0s; /* Respuesta de apertura inmediata */
}

/* Adaptación fluida de padding y tipografía en resoluciones intermedias */
@media (max-width: 1366px) {
  .clean-menu-item {
    padding: 0.8rem 1.2rem;
    gap: 0.6rem;
    min-height: 48px;
  }
  .clean-menu-item .menu-item-label {
    font-size: 0.825rem;
  }
  .clean-menu-item .menu-line-icon {
    width: 20px;
    height: 20px;
  }
  .clean-menu-complementary {
    padding: 0.8rem 1.2rem;
    min-height: 48px;
  }
  .clean-menu-complementary .complementary-handwriting {
    font-size: 1.3rem;
  }
}

/* Estado del desplegable cuando el header está fijo/scrolled: Fondo blanco rectangular e iconos azules */
.editorial-header.scrolled .editorial-dropdown.armenia-style-dropdown {
  background: #FFFFFF !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(15, 82, 186, 0.2);
  border-radius: 0px !important; /* Estrictamente rectangular */
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14), 0 4px 14px rgba(15, 82, 186, 0.08);
}

/* Contenedor de botones: Cuadrícula precisa de 3 columnas de ancho idéntico adaptada al texto más largo */
.dropdown-clean-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  width: max-content;
}

/* En caso de dropdown de 1 sola fila con 3 elementos */
.dropdown-clean-grid.single-row {
  grid-template-columns: repeat(3, 1fr);
}

/* En caso de dropdown de 2 elementos (04 #CONOCE SALENTO: Guía e Historia + 360°) */
.dropdown-clean-grid.dual-items {
  grid-template-columns: repeat(2, 1fr) !important;
}

.dropdown-clean-grid.dual-items > * {
  border-bottom: none !important;
}

.dropdown-clean-grid.dual-items > *:nth-child(2n),
.dropdown-clean-grid.dual-items > *:last-child {
  border-right: none !important;
}

/* Botones individuales del menú: Sin fondo de botón, solo texto e icono con divisor */
.clean-menu-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.6rem;
  min-height: 52px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(255, 255, 255, 0.22) !important; /* Borde divisor vertical */
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important; /* Borde divisor horizontal entre filas */
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap; /* Ningún botón ni texto se corta */
  cursor: pointer;
  transition: color var(--transition-fast), opacity var(--transition-fast);
  text-decoration: none !important;
  outline: none !important;
  box-sizing: border-box;
}

/* La 3ra columna (derecha de cada fila) no lleva borde derecho para no duplicar con el contenedor */
.dropdown-clean-grid > *:nth-child(3n) {
  border-right: none !important;
}

/* La última fila (elementos 4, 5, 6 en cuadrícula 3x2) no lleva borde inferior */
.dropdown-clean-grid > *:nth-child(n+4) {
  border-bottom: none !important;
}

/* Si es de una sola fila, ningún elemento lleva borde inferior */
.dropdown-clean-grid.single-row > * {
  border-bottom: none !important;
}

/* Mensaje Humano Complementario (Tipografía Handwriting, sin flecha, sin botón) */
.clean-menu-complementary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  min-height: 52px;
  background: transparent !important;
  border: none !important;
  box-sizing: border-box;
  cursor: default;
  user-select: none;
  pointer-events: none; /* No es un botón, es solo un mensaje humano */
}

.clean-menu-complementary.span-2 {
  grid-column: span 2;
  border-right: none !important;
  border-bottom: none !important;
}

.clean-menu-complementary.span-1 {
  grid-column: span 1;
  border-right: none !important;
  border-bottom: none !important;
}

.clean-menu-complementary .complementary-handwriting {
  font-family: var(--font-handwriting, 'Caveat', cursive);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--color-mustard, #FFDB58);
  white-space: nowrap;
  opacity: 0.95;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
  transform: rotate(-1.5deg);
  display: inline-block;
}

.clean-menu-item:hover,
.clean-menu-item:focus,
.clean-menu-item:active {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  color: var(--color-mustard, #FFDB58) !important;
  text-decoration: none !important;
  outline: none !important;
  transform: none;
}

.clean-menu-item:hover .menu-item-label,
.clean-menu-item:focus .menu-item-label {
  color: var(--color-mustard, #FFDB58);
}

/* Estado de los botones cuando el header está fijo/scrolled */
.editorial-header.scrolled .clean-menu-item {
  color: var(--color-charcoal, #1E1E1E);
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-right: 1px solid rgba(15, 82, 186, 0.16) !important;
  border-bottom: 1px solid rgba(15, 82, 186, 0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.editorial-header.scrolled .dropdown-clean-grid > *:nth-child(3n) {
  border-right: none !important;
}

.editorial-header.scrolled .dropdown-clean-grid > *:nth-child(n+4) {
  border-bottom: none !important;
}

.editorial-header.scrolled .dropdown-clean-grid.single-row > * {
  border-bottom: none !important;
}

.editorial-header.scrolled .dropdown-clean-grid.dual-items {
  grid-template-columns: repeat(2, 1fr) !important;
}

.editorial-header.scrolled .dropdown-clean-grid.dual-items > * {
  border-bottom: none !important;
}

.editorial-header.scrolled .dropdown-clean-grid.dual-items > *:nth-child(2n),
.editorial-header.scrolled .dropdown-clean-grid.dual-items > *:last-child {
  border-right: none !important;
}

/* Mensaje Humano Complementario en modo Scrolled */
.editorial-header.scrolled .clean-menu-complementary {
  background: transparent !important;
}

.editorial-header.scrolled .clean-menu-complementary .complementary-handwriting {
  color: var(--color-sapphire-blue, #0F52BA);
  opacity: 0.92;
  text-shadow: none;
}

.editorial-header.scrolled .clean-menu-item:hover,
.editorial-header.scrolled .clean-menu-item:focus,
.editorial-header.scrolled .clean-menu-item:active {
  color: var(--color-sapphire-blue, #0F52BA) !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  text-decoration: none !important;
  outline: none !important;
  transform: none;
}

.editorial-header.scrolled .clean-menu-item:hover .menu-item-label {
  color: var(--color-sapphire-blue, #0F52BA);
}

.menu-line-icon {
  width: 21px;
  height: 21px;
  color: var(--color-mustard, #FFDB58);
  stroke: var(--color-mustard, #FFDB58);
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.clean-menu-item:hover .menu-line-icon {
  color: var(--color-mustard, #FFDB58);
  stroke: var(--color-mustard, #FFDB58);
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 219, 88, 0.45));
}

/* Iconos azules cuando el header está fijo/scrolled */
.editorial-header.scrolled .menu-line-icon,
.editorial-header.scrolled .clean-menu-item .menu-line-icon {
  color: var(--color-sapphire-blue, #0F52BA) !important;
  stroke: var(--color-sapphire-blue, #0F52BA) !important;
}

.editorial-header.scrolled .clean-menu-item:hover .menu-line-icon {
  color: #0B3C85 !important;
  stroke: #0B3C85 !important;
  transform: scale(1.08);
}

.menu-item-label {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
}

/* Grupo de Acciones del Header */
.header-actions-group {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-self: end;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* Buscador Expandible Glassmorphism */
.header-search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
  transition: all var(--transition-fast);
}

.header-search-box:focus-within, .header-search-box.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 15px rgba(255, 219, 88, 0.2);
}

.header-search-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.header-search-btn:hover {
  color: var(--color-mustard);
  transform: scale(1.1);
}

.header-search-input {
  background: none;
  border: none;
  outline: none;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8rem;
  width: 0;
  opacity: 0;
  padding: 0;
  transition: width var(--transition-fast), opacity var(--transition-fast), padding var(--transition-fast);
}

.header-search-box:focus-within .header-search-input,
.header-search-box.active .header-search-input {
  width: 170px;
  opacity: 1;
  padding: 0 0.5rem 0 0.2rem;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Selector de Idioma Glassmorphism (ES / EN) */
.lang-selector-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.lang-selector-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}

.lang-btn {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  padding: 0 0.15rem;
}

.lang-btn.active, .lang-btn:hover {
  color: var(--color-mustard);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.7rem;
}

/* Botón CTA Pill (Estilo idéntico a Sonido / Off) */
.header-cta-pill {
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.55rem 1.35rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.header-cta-pill:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION & TRACK — SCROLLYTELLING CON MÁSCARA CIRCULAR
   ========================================================================== */

.hero-scroll-track {
  position: relative;
  width: 100%;
  height: 300vh; /* Permite que el Hero y el H1 permanezcan fijos mientras la Sección 2 sube sobre ellos */
}

.vanguard-hero {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: clamp(440px, 85vh, 650px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 clamp(1.5rem, 3.5vw, 3.5rem) clamp(1rem, 3vh, 3rem);
  background-color: var(--color-snow); /* Canvas Off-White revelado tras la máscara */
  z-index: 1;
}

/* Contenedor que agrupa el video y el scrim para aplicar la máscara circular unificada */
.hero-video-mask-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  will-change: clip-path, opacity, transform, filter;
}

/* Video de fondo 100% protagónico dentro del contenedor enmascarado */
.vanguard-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.92) contrast(1.05);
}

/* Degradado hiper sutil solo para contraste del texto inferior */
.vanguard-video-scrim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 200ms ease;
}

/* Overlay amarillo vibrante (#FFDB58) para la transformación en el Sol de Salento */
.vanguard-yellow-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  background-color: var(--color-mustard);
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
  transition: opacity 100ms linear;
  box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.45);
}

/* Layout Inferior del Hero (Estilo Portafolio Editorial / Dribbble) */
.hero-editorial-overlay {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Fila Superior de Metadata Editorial */
.hero-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.meta-location {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

#coordinateText {
  display: inline-block;
  transition: color 400ms ease, text-shadow 400ms ease;
  font-variant-numeric: tabular-nums;
}

#coordinateText.locked {
  color: var(--color-mustard);
  text-shadow: 0 0 10px rgba(255, 219, 88, 0.6);
}

.meta-weather-badge,
.meta-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 1.05rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  text-decoration: none !important;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.meta-weather-badge:hover,
.meta-sound-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 219, 88, 0.6);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(255, 219, 88, 0.25);
  transform: translateY(-1px);
}

.meta-weather-badge .meta-weather-icon {
  color: var(--color-mustard, #FFDB58);
  stroke: var(--color-mustard, #FFDB58);
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.meta-weather-badge:hover .meta-weather-icon {
  transform: scale(1.15);
}

.meta-weather-badge .meta-weather-temp {
  color: #FFFFFF;
  font-weight: 800;
}

.meta-weather-badge .meta-weather-divider {
  color: var(--color-mustard, #FFDB58);
  opacity: 0.85;
  font-weight: 900;
}

.meta-weather-badge .meta-altitude-text {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.meta-weather-badge:hover .meta-altitude-text {
  color: rgba(255, 255, 255, 0.98);
}

/* TITULAR GIGANTE VANGUARDISTA (Completamente adaptativo en pantallas grandes y sin cortes) */
.hero-giant-title-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: visible; 
  margin-bottom: 0.5rem;
}

.hero-giant-title {
  font-family: var(--font-hero-display);
  font-size: clamp(1.8rem, 6vw, 9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #FFFFFF;
  line-height: 1;
  user-select: none;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.26em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.title-word-accent {
  color: var(--color-mustard);
  display: inline-block;
  padding-right: 0.12em; /* Margen de seguridad para la última letra O */
}

@media (max-width: 1100px) {
  .hero-giant-title {
    font-size: clamp(2.1rem, 5.8vw, 4.8rem);
  }
}

@media (max-width: 860px) {
  .vanguard-hero {
    padding: 0 1.5rem 2rem;
  }
  
  .hero-giant-title-wrapper {
    overflow: visible;
    margin-bottom: 0.75rem;
  }

  .hero-giant-title {
    flex-wrap: wrap; /* En móviles permite salto de línea natural DESTINO / SALENTO */
    font-size: clamp(2.4rem, 11vw, 4.2rem);
    line-height: 0.95;
    gap: 0.1em 0.3em;
    padding-right: 0;
  }

  .title-word-accent {
    padding-right: 0.15em;
  }

  .hero-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
  }

  .hero-bottom-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .hero-editorial-pillars {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

/* Descripción Inferior Flotante */
.hero-bottom-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: flex-end;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-description-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.hero-editorial-pillars {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
}

.pillar-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  transition: all var(--transition-fast);
}

.pillar-tag:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   FULLSCREEN EDITORIAL MEGAMENU OVERLAY
   ========================================================================== */

.fullscreen-megamenu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  background-color: var(--color-charcoal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-slow);
}

.fullscreen-megamenu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.megamenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.megamenu-close-btn {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.megamenu-links-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.megamenu-link-item {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1.25rem;
  transition: padding-left var(--transition-fast);
}

.megamenu-link-item:hover {
  padding-left: 1.5rem;
}

.link-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-mustard);
}

.link-title {
  font-family: var(--font-hero-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  transition: color var(--transition-fast);
}

.megamenu-link-item:hover .link-title {
  color: var(--color-mustard);
}

.link-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-left: auto;
}

.megamenu-footer-info {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   BOTÓN TOGGLE DE MENÚ MÓVIL (EDITORIAL)
   ========================================================================== */

.mobile-menu-toggle {
  display: none; /* Oculto en desktop */
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  color: #FFFFFF;
  cursor: pointer;
  box-shadow: none;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.editorial-header.scrolled .mobile-menu-toggle {
  background: rgba(15, 82, 186, 0.08);
  border-color: rgba(15, 82, 186, 0.22);
  color: var(--color-sapphire-blue, #0F52BA);
}

.editorial-header.scrolled .mobile-menu-toggle:hover {
  background: rgba(15, 82, 186, 0.14);
  border-color: var(--color-sapphire-blue, #0F52BA);
}

.mobile-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-toggle-label {
  line-height: 1;
}

/* ==========================================================================
   DRAWER / MENÚ MÓVIL OFF-CANVAS EDITORIAL
   ========================================================================== */

.mobile-editorial-drawer {
  position: fixed;
  inset: 0;
  z-index: 99999;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0.4s ease;
}

.mobile-editorial-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-editorial-drawer.is-open .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 92vw);
  background-color: #FAF8F5; /* Papel editorial */
  color: #14181E;
  border-left: 1px solid rgba(30, 30, 30, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-sizing: border-box;
  box-shadow: none;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-editorial-drawer.is-open .mobile-drawer-panel {
  transform: translateX(0);
}

/* Cabecera del Drawer */
.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
}

.mobile-drawer-logo {
  height: 44px;
  width: auto;
  display: block;
  filter: brightness(0) saturate(100%) invert(21%) sepia(93%) saturate(2258%) hue-rotate(207deg) brightness(96%) contrast(92%);
}

.mobile-drawer-close-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(30, 30, 30, 0.06);
  border: 1px solid rgba(30, 30, 30, 0.12);
  color: #14181E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  box-shadow: none;
  transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.mobile-drawer-close-btn:hover {
  background: var(--color-sapphire-blue, #0F52BA);
  border-color: var(--color-sapphire-blue, #0F52BA);
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Buscador Móvil dentro del Drawer */
.mobile-drawer-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(30, 30, 30, 0.04);
  border: 1px solid rgba(30, 30, 30, 0.1);
  border-radius: 12px;
  margin: 1.25rem 0;
  box-shadow: none;
}

.mobile-drawer-search svg {
  color: #717B8A;
  flex-shrink: 0;
}

.mobile-drawer-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.88rem;
  color: #14181E;
  width: 100%;
}

.mobile-drawer-search-input::placeholder {
  color: #8C96A5;
}

/* Navegación y Acordeones */
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
}

.mobile-nav-heading {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.1rem 0;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #14181E;
  box-shadow: none;
  transition: color 0.2s ease;
}

.mobile-nav-heading:hover {
  color: var(--color-sapphire-blue, #0F52BA);
}

.mobile-nav-num {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-sapphire-blue, #0F52BA);
}

.mobile-nav-title {
  flex-grow: 1;
}

.mobile-feature-tag {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem;
  background: rgba(15, 82, 186, 0.1);
  color: var(--color-sapphire-blue, #0F52BA);
  border: 1px solid rgba(15, 82, 186, 0.2);
  border-radius: 999px;
  text-transform: uppercase;
}

.mobile-accordion-icon {
  font-family: var(--font-heading, 'Space Grotesk', monospace);
  font-size: 1.1rem;
  font-weight: 700;
  color: #717B8A;
  line-height: 1;
  transition: transform 0.25s ease;
}

.mobile-nav-group.open .mobile-accordion-icon {
  transform: rotate(45deg);
  color: var(--color-sapphire-blue, #0F52BA);
}

.mobile-subnav-list {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding-left: 1.6rem;
  margin-bottom: 0;
}

.mobile-nav-group.open .mobile-subnav-list {
  max-height: 280px;
  padding-bottom: 1rem;
}

.mobile-subnav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0;
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.9rem;
  font-weight: 600;
  color: #4A5260;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mobile-subnav-link:hover {
  color: var(--color-sapphire-blue, #0F52BA);
  transform: translateX(3px);
}

.mobile-badge-new {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.45rem;
  background: rgba(34, 139, 34, 0.1);
  color: #176517;
  border-radius: 4px;
}

/* Pie del Drawer */
.mobile-drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(30, 30, 30, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-drawer-cta-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  background-color: var(--color-sapphire-blue, #0F52BA);
  color: #FFFFFF;
  border: 1px solid var(--color-sapphire-blue, #0F52BA);
  border-radius: 999px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-cta-btn:hover {
  background-color: #0B4296;
  border-color: #0B4296;
  transform: translateY(-1px);
}

.mobile-drawer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.meta-label {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #717B8A;
}

.mobile-lang-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.75rem;
  font-weight: 700;
}

.mobile-lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #717B8A;
  padding: 0.2rem 0.35rem;
  border-radius: 4px;
  font-weight: inherit;
}

.mobile-lang-btn.active {
  color: var(--color-sapphire-blue, #0F52BA);
  background: rgba(15, 82, 186, 0.08);
}

.mobile-status-row {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  color: #555E6D;
}

.mobile-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #228B22;
  display: inline-block;
  animation: ctaDotPulse 2s ease-in-out infinite;
}

/* ==========================================================================
   MOBILE DRAWER RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 480px) {
  .mobile-drawer-panel {
    width: 100vw;
    padding: 1.5rem 1rem 2rem;
  }

  .mobile-drawer-header {
    padding-bottom: 1rem;
  }

  .mobile-drawer-logo {
    height: 40px;
  }

  .mobile-drawer-close-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .mobile-drawer-search {
    padding: 0.65rem 0.85rem;
    margin: 1rem 0;
    gap: 0.5rem;
  }

  .mobile-drawer-search-input {
    font-size: 0.82rem;
  }

  .mobile-nav-heading {
    font-size: 1.1rem;
    padding: 0.9rem 0;
    gap: 0.5rem;
  }

  .mobile-nav-num {
    font-size: 0.75rem;
  }

  .mobile-feature-tag {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
  }

  .mobile-subnav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0;
  }

  .mobile-subnav-list {
    padding-left: 1.2rem;
  }

  .mobile-drawer-cta-btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.82rem;
  }

  .meta-label {
    font-size: 0.62rem;
  }

  .mobile-lang-pills {
    font-size: 0.7rem;
  }

  .mobile-status-row {
    font-size: 0.65rem;
  }
}

@media (max-width: 375px) {
  .mobile-drawer-panel {
    padding: 1.25rem 0.85rem 1.75rem;
  }

  .mobile-nav-heading {
    font-size: 1rem;
    padding: 0.8rem 0;
  }

  .mobile-subnav-link {
    font-size: 0.8rem;
  }

  .mobile-drawer-cta-btn {
    padding: 0.8rem 1rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   RESPONSIVE HEADER & ADAPTACIÓN MÓVIL GENERAL
   ========================================================================== */

@media (max-width: 1120px) {
  .editorial-header {
    display: flex;
    justify-content: space-between;
    padding: 1.15rem 2rem;
  }

  .editorial-main-nav {
    display: none; /* Ocultar menú de barra completa */
  }

  .mobile-menu-toggle {
    display: inline-flex; /* Mostrar botón MENÚ */
  }
}

@media (max-width: 768px) {
  .editorial-header {
    padding: 1rem 1.25rem;
  }

  .editorial-header.scrolled {
    padding: 0.85rem 1.25rem;
  }

  .header-actions-group .header-search-box,
  .header-actions-group .lang-selector-pill {
    display: none; /* Simplificar acciones visibles en header móvil */
  }

  .header-cta-pill {
    padding: 0.5rem 1.1rem;
    font-size: 0.74rem;
  }

  .brand-logo-img {
    height: 48px;
  }

  .vanguard-hero { padding: 0 1.25rem 2rem; }
  .hero-bottom-footer { grid-template-columns: 1fr; gap: 1rem; }
  .hero-editorial-pillars { justify-content: flex-start; flex-wrap: wrap; }
  .fullscreen-megamenu { padding: 2rem; }
}

/* ==========================================================================
   EXTRA SMALL MOBILE: 480px and below - Critical refinements
   ========================================================================== */
@media (max-width: 480px) {
  .editorial-header {
    padding: 0.85rem 1rem;
  }

  .editorial-header.scrolled {
    padding: 0.75rem 1rem;
  }

  .header-cta-pill {
    padding: 0.45rem 0.9rem;
    font-size: 0.7rem;
  }

  .brand-logo-img {
    height: 42px;
  }

  .mobile-menu-toggle {
    padding: 0.45rem 0.85rem;
    font-size: 0.7rem;
  }

  .mobile-toggle-bars {
    width: 14px;
    gap: 3px;
  }

  .toggle-bar {
    height: 1.5px;
  }

  .vanguard-hero {
    padding: 0 1rem 1.5rem;
  }

  .hero-meta-bar {
    gap: 0.6rem;
    margin-bottom: 1rem;
  }

  .meta-location {
    font-size: 0.7rem;
  }

  .meta-weather-badge,
  .meta-sound-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.68rem;
  }

  .hero-giant-title {
    font-size: clamp(2rem, 12vw, 3.5rem);
    gap: 0.05em 0.2em;
  }

  .hero-bottom-footer {
    gap: 0.75rem;
    padding-top: 1rem;
    margin-top: 1rem;
  }

  .hero-description-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .pillar-tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }

  .fullscreen-megamenu {
    padding: 1.5rem 1rem;
  }

  .megamenu-link-item {
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .link-title {
    font-size: clamp(1.8rem, 8vw, 3.5rem);
  }

  .link-subtitle {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   ULTRA SMALL MOBILE: 375px and below (iPhone SE, small Android)
   ========================================================================== */
@media (max-width: 375px) {
  .editorial-header {
    padding: 0.75rem 0.85rem;
  }

  .editorial-header.scrolled {
    padding: 0.7rem 0.85rem;
  }

  .header-cta-pill {
    padding: 0.4rem 0.75rem;
    font-size: 0.65rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .mobile-menu-toggle {
    padding: 0.4rem 0.7rem;
    font-size: 0.65rem;
  }

  .vanguard-hero {
    padding: 0 0.85rem 1.25rem;
  }

  .hero-giant-title {
    font-size: clamp(1.8rem, 13vw, 3rem);
  }

  .hero-description-text {
    font-size: 0.8rem;
  }

  .pillar-tag {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }
}

/* ==========================================================================
   SECCIÓN EDITORIAL ESCULTÓRICA — ESTILO GRIDOUT / SWISS EDITORIAL
   ========================================================================== */

.editorial-sculptural-section {
  background-color: var(--color-snow);
  color: var(--color-charcoal);
  padding: 8rem 3.5rem;
  position: relative;
  overflow: hidden;
}

.sculptural-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Encabezado Asimétrico */
.sculptural-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  margin-bottom: 5rem;
}

.sculptural-label-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1.1rem;
  border: 1.5px solid var(--color-charcoal);
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.sculptural-main-title {
  font-family: var(--font-hero-display);
  font-size: clamp(2.75rem, 5.5vw, 6rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--color-charcoal);
}

.sculptural-header-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding-top: 1rem;
}

.sculptural-intro-lead {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(17, 17, 17, 0.85);
  margin-bottom: 2rem;
}

.status-live-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.status-live-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-status-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-live-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-charcoal);
}

.status-live-desc {
  font-size: 0.825rem;
  color: #666;
}

/* Composición de Tarjetas Flotantes Asimétricas */
.sculptural-cards-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.sculptural-card-hero {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  height: 620px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.sculptural-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.sculptural-card-hero:hover .sculptural-card-img {
  transform: scale(1.04);
}

.sculptural-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  color: #FFFFFF;
}

.card-pill-tag {
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.card-editorial-title {
  font-family: var(--font-hero-display);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.card-editorial-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Columna Derecha con Tarjetas Mosaico */
.sculptural-column-mosaic {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.mosaic-card-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
}

.mosaic-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.mosaic-img-box {
  width: 130px;
  height: 130px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}

.mosaic-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-content-box {
  display: flex;
  flex-direction: column;
}

.mosaic-title {
  font-family: var(--font-hero-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: 0.35rem;
}

.mosaic-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.mosaic-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-sapphire);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

@media (max-width: 992px) {
  .sculptural-header-grid { grid-template-columns: 1fr; gap: 2rem; }
  .sculptural-cards-grid { grid-template-columns: 1fr; }
  .sculptural-card-hero { height: 450px; }
  .editorial-sculptural-section { padding: 4rem 1.5rem; }
}

/* ==========================================================================
   SCROLLYTELLING: VIDEO MORPH & LIGHT MODE OVERRIDES
   ========================================================================== */

/* Adaptabilidad de contraste por zona cuando la máscara circular revela el fondo Off-White (#FFFAFA) */
.vanguard-hero.title-light .hero-giant-title,
.vanguard-hero.light-mode .hero-giant-title {
  color: var(--color-charcoal);
  transition: color 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vanguard-hero.meta-light .meta-location,
.vanguard-hero.light-mode .meta-location {
  color: var(--color-charcoal);
  transition: color 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vanguard-hero.meta-light .meta-weather-badge,
.vanguard-hero.light-mode .meta-weather-badge,
.vanguard-hero.meta-light .meta-sound-btn,
.vanguard-hero.light-mode .meta-sound-btn {
  background: rgba(30, 30, 30, 0.06);
  border-color: rgba(30, 30, 30, 0.18);
  color: var(--color-charcoal);
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vanguard-hero.meta-light .meta-weather-badge .meta-weather-temp,
.vanguard-hero.light-mode .meta-weather-badge .meta-weather-temp {
  color: var(--color-charcoal);
}

.vanguard-hero.meta-light .meta-weather-badge .meta-altitude-text,
.vanguard-hero.light-mode .meta-weather-badge .meta-altitude-text {
  color: rgba(30, 30, 30, 0.75);
}

.vanguard-hero.footer-light .hero-description-text,
.vanguard-hero.light-mode .hero-description-text {
  color: rgba(30, 30, 30, 0.85);
  transition: color 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vanguard-hero.footer-light .pillar-tag,
.vanguard-hero.light-mode .pillar-tag {
  background: rgba(30, 30, 30, 0.05);
  border-color: rgba(30, 30, 30, 0.14);
  color: var(--color-charcoal);
  transition: all 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.vanguard-hero.footer-light .hero-bottom-footer,
.vanguard-hero.light-mode .hero-bottom-footer {
  border-top-color: rgba(30, 30, 30, 0.14);
  transition: border-color 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   SECCIÓN PRINCIPAL DE CONTENIDO (Fondo Off-White #FFFAFA & Alto Contraste)
   ========================================================================== */

/* Divider orgánico en el top de la sección principal (recortehero.svg) */
.hero-top-divider-wrap {
  position: absolute;
  bottom: 99.8%;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 12;
  transform: translateY(1px); /* Evita microfisuras de subpíxel */
}

.hero-top-divider-svg {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.main-content-section {
  position: relative;
  z-index: 10;
  margin-top: -100vh; /* Se superpone y desliza sobre el Hero manteniéndolo inmóvil */
  background-color: var(--color-sapphire);
  color: var(--color-snow);
  padding: 0;
  border-top: none;
  opacity: 1;
  visibility: visible;
}

.content-header-editorial {
  max-width: 960px;
  margin-bottom: 2rem;
}

.content-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 0.85rem;
}

.content-badge .badge-num {
  color: var(--color-mustard);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.content-badge .badge-text {
  color: #FFFFFF;
  font-weight: 800;
}

.content-editorial-title {
  font-family: var(--font-hero-display); /* 'Syne' - avant-garde display font */
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 0.85rem;
}

.content-editorial-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.postcards-editorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-bottom: 2rem;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

/* ==========================================================================
   SECCIÓN 2: MÁSCARA DE ILUMINACIÓN TEXTUAL DE IZQUIERDA A DERECHA (SCROLL)
   ========================================================================== */

.sec2-scroll-track {
  position: relative;
  width: 100%;
  height: 300vh; /* Recorrido ágil y dinámico sin espacios muertos antes de la siguiente sección */
  background-color: var(--color-sapphire); /* #0F52BA */
}

.sec2-pinned-section {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh; /* Soporte dinámico para barras de navegación móviles */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centrado vertical en el 50% entre el fin del header y el bottom */
  background-color: var(--color-sapphire);
  padding-top: var(--header-height, 96px); /* Espacio reservado para el header fijo */
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 0;
  box-sizing: border-box;
  z-index: 10;
}



.sec2-editorial-grid {
  position: relative;
  z-index: 10; /* Texto fijo en la capa base */
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  max-width: 1240px;
  margin: auto auto; /* Centrado vertical exacto en el espacio disponible */
  align-items: flex-start;
  padding: 0 1.5rem;
  pointer-events: none;
  will-change: transform, opacity;
}

.sec2-bracket-tag {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 244, 235, 0.55);
  display: inline-block;
  padding-top: 0;
  pointer-events: auto;
}

.sec2-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: auto;
}

.sec2-reveal-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: left;
  margin: 0 0 1.8rem 0;
  max-width: 960px;
}

/* Las palabras inician en baja opacidad */
.sec2-reveal-title .reveal-word {
  display: inline-block;
  color: rgba(247, 244, 235, 0.18);
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  will-change: color, text-shadow, opacity, transform;
  margin-right: 0.24em;
}

/* Iluminación progresiva palabra por palabra (0% a 45%) */
.sec2-reveal-title .reveal-word.is-illuminated {
  color: #F7F4EB !important; /* Blanco crema resplandeciente */
  text-shadow: 0 0 25px rgba(247, 244, 235, 0.45);
}

/* Palabras clave destacadas en amarillo mostaza cuando se iluminan */
.sec2-reveal-title .reveal-word.is-accent-highlight.is-illuminated {
  color: #FFDB58 !important; /* Mostaza cálido vibrante */
  text-shadow: 0 0 30px rgba(255, 219, 88, 0.75);
}

.sec2-bottom-caption {
  font-family: var(--font-mono, 'Space Grotesk', sans-serif);
  font-size: clamp(0.85rem, 1.1vw, 1rem);
  color: rgba(247, 244, 235, 0.85);
  letter-spacing: 0.02em;
  text-align: left;
  margin: 0;
  line-height: 1.5;
  opacity: 0.2;
  transform: translateY(12px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.sec2-bottom-caption.is-visible {
  opacity: 0.85;
  transform: translateY(0);
}

/* ==========================================================================
   FASE 2: POSTALES FLOTANTES QUE ATRAVIESAN LA PANTALLA DE ABAJO HACIA ARRIBA
   ========================================================================== */

.sec2-floating-cards-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 30; /* POR ENCIMA DEL TEXTO (z-index 10) */
  /* Máscara de desvanecimiento suave para que las tarjetas nunca se corten abruptamente */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 6%, black 16%, black 82%, rgba(0,0,0,0.3) 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.3) 6%, black 16%, black 82%, rgba(0,0,0,0.3) 94%, transparent 100%);
}

.sec2-card {
  position: absolute;
  top: 0;
  border-radius: 24px;
  overflow: visible; /* Permite rotación 3D natural sin cortar bordes */
  box-shadow: none;
  border: none;
  opacity: 0;
  transform: translateY(110vh); /* Ocultas inicialmente bajo la pantalla */
  will-change: transform, opacity;
  background-color: transparent;
  perspective: 1200px;
  pointer-events: auto; /* Habilita interacción hover/click dentro del layer */
  cursor: pointer;
  user-select: none;
}

.sec2-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2, 0.85, 0.4, 1.15);
}

.sec2-card:hover .sec2-card-inner,
.sec2-card:focus-visible .sec2-card-inner,
.sec2-card.is-flipped .sec2-card-inner {
  transform: rotateY(180deg);
}

.sec2-card-front,
.sec2-card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* CARA FRONTAL: FOTOGRAFÍA PURA */
.sec2-card-front {
  transform: rotateY(0deg);
  z-index: 2;
  background-color: var(--color-sapphire);
}

.sec2-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Píldora de indicación de giro en el frente */
.sec2-flip-hint {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  padding: 0.3rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  pointer-events: none;
}

.sec2-card:hover .sec2-flip-hint {
  opacity: 0;
}

/* Badge de Ampliación en la Cabecera de la Postal */
.sec2-card-expand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sapphire);
  background: rgba(15, 82, 186, 0.09);
  border: 1px solid rgba(15, 82, 186, 0.28);
  border-radius: 999px;
  transition: all var(--transition-fast);
}

.sec2-card:hover .sec2-card-expand-badge {
  background: var(--color-sapphire);
  color: #FFFFFF;
}


/* CARA POSTERIOR: POSTAL EDITORIAL VINTAGE CON MENSAJE MANUSCRITO */
.sec2-card-back {
  transform: rotateY(180deg);
  z-index: 1;
  background: #FAF7EE; /* Tono cálido de papel postal tradicional */
  color: #1A1A1A;
  display: flex;
  flex-direction: column;
}

.sec2-postcard-paper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(0.7rem, 1.2vw, 1rem) clamp(0.85rem, 1.4vw, 1.25rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: 
    radial-gradient(ellipse at top left, rgba(255, 219, 88, 0.12) 0%, transparent 60%),
    #FAF7EE;
}

/* Borde perimetral postal sutil */
.sec2-postcard-paper::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed rgba(15, 82, 186, 0.25);
  border-radius: 18px;
  pointer-events: none;
}

/* Header de la postal: Matasellos + Estampilla */
.sec2-postcard-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.12);
  position: relative;
  z-index: 2;
}

.sec2-postal-mark {
  display: flex;
  flex-direction: column;
}

.sec2-stamp-seal {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--color-sapphire);
  text-transform: uppercase;
}

.sec2-stamp-meta {
  font-family: var(--font-mono, monospace);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(30, 30, 30, 0.6);
}

/* Estampilla postal */
.sec2-postage-stamp {
  width: 38px;
  height: 44px;
  background: #FFFFFF;
  border: 1.5px dashed rgba(15, 82, 186, 0.55);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
  transform: rotate(2.5deg);
  flex-shrink: 0;
}

.sec2-stamp-code {
  font-family: var(--font-mono, monospace);
  font-size: 0.48rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-sapphire);
}

.sec2-stamp-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--color-sapphire);
}

.sec2-stamp-symbol svg {
  width: 16px;
  height: 16px;
  display: block;
  stroke: var(--color-sapphire);
}

/* Cuerpo de la postal */
.sec2-postcard-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(0.6rem, 1.1vw, 0.9rem);
  align-items: stretch;
  flex: 1;
  padding-top: 0.35rem;
  position: relative;
  z-index: 2;
}

/* Mensaje escrito a mano */
.sec2-postcard-message {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: 0.7rem;
  border-right: 1px dashed rgba(30, 30, 30, 0.15);
}

.sec2-handwritten-text {
  font-family: var(--font-handwriting);
  font-size: clamp(0.92rem, 1.12vw, 1.14rem);
  font-weight: 600;
  line-height: 1.22;
  color: #1A2744; /* Tinta estilográfica azul oscuro */
  margin: 0;
}

.sec2-signature {
  font-family: var(--font-handwriting);
  font-size: clamp(0.82rem, 0.96vw, 1rem);
  font-weight: 700;
  color: var(--color-sapphire);
  align-self: flex-end;
  margin-top: 0.2rem;
}

/* Lado derecho: Líneas de dirección y botón de categoría */
.sec2-postcard-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
}

.sec2-address-lines {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  margin-top: 0.15rem;
}

.sec2-address-line {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(30, 30, 30, 0.65);
  border-bottom: 1px solid rgba(30, 30, 30, 0.15);
  padding-bottom: 0.18rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón de Categoría Editorial (De colocación / listo para ahondar) */
.sec2-cat-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.42rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--color-sapphire);
  border: 1px solid rgba(15, 82, 186, 0.85);
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.25);
  margin-top: auto;
}

.sec2-cat-btn:hover {
  background: #0C4196;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(15, 82, 186, 0.35);
}

.sec2-cat-btn .sec2-btn-arrow {
  font-size: 0.75rem;
  line-height: 1;
  color: var(--color-mustard);
  transition: transform var(--transition-fast);
}

.sec2-cat-btn:hover .sec2-btn-arrow {
  transform: translate(2px, -2px);
}

/* Carriles horizontales estratégicos: proporción cinematográfica panorámica (16:10 / 16:9) */

/* Postal 1: Derecha (Cocora) */
.sec2-card-1 {
  right: 5%;
  width: clamp(310px, 32vw, 470px);
  aspect-ratio: 16 / 10;
}

/* Postal 2: Izquierda (Café) */
.sec2-card-2 {
  left: 5%;
  width: clamp(300px, 31vw, 450px);
  aspect-ratio: 16 / 10;
}

/* Postal 3: Centro-Derecha (Bahareque) */
.sec2-card-3 {
  right: 18%;
  width: clamp(320px, 33vw, 480px);
  aspect-ratio: 16 / 9;
}

/* Postal 4: Centro-Izquierda (Glamping) */
.sec2-card-4 {
  left: 16%;
  width: clamp(290px, 30vw, 440px);
  aspect-ratio: 16 / 10;
}

/* Postal 5: Derecha (Jeep Willys) */
.sec2-card-5 {
  right: 7%;
  width: clamp(310px, 32vw, 470px);
  aspect-ratio: 16 / 10;
}

/* Postal 6: Izquierda (Gastronomía) */
.sec2-card-6 {
  left: 8%;
  width: clamp(300px, 31vw, 460px);
  aspect-ratio: 16 / 9;
}

@media (max-width: 1024px) {
  .sec2-scroll-track {
    height: 280vh; /* Recorrido ágil para tablets */
  }
  .sec2-card-1 { width: clamp(260px, 34vw, 380px); }
  .sec2-card-2 { width: clamp(250px, 33vw, 360px); }
  .sec2-card-3 { width: clamp(270px, 35vw, 390px); }
  .sec2-card-4 { width: clamp(240px, 32vw, 350px); }
  .sec2-card-5 { width: clamp(260px, 34vw, 380px); }
  .sec2-card-6 { width: clamp(250px, 33vw, 360px); }
}

@media (max-width: 850px) {
  .sec2-scroll-track {
    height: 260vh; /* Recorrido ágil para pantallas móviles */
  }
  .sec2-pinned-section {
    padding-top: var(--header-height, 96px);
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    padding-bottom: 0;
    justify-content: center;
  }
  .sec2-editorial-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: auto auto;
  }
  .sec2-bracket-tag {
    padding-top: 0;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.25rem;
  }
  .sec2-reveal-title {
    font-size: clamp(2.35rem, 8vw, 3.4rem); /* Texto imponente que llena la pantalla en móvil */
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin-bottom: 1.5rem;
    max-width: 100%;
  }
  .sec2-bottom-caption {
    font-size: clamp(1rem, 3.8vw, 1.2rem);
    line-height: 1.45;
    max-width: 95%;
  }
  .sec2-card {
    border-radius: 18px;
    box-shadow: none;
    border: none;
  }
  .sec2-card-inner,
  .sec2-card-front,
  .sec2-card-back {
    border-radius: 18px;
  }
  .sec2-postcard-paper {
    padding: 0.75rem 0.9rem;
  }
  .sec2-postcard-body {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .sec2-postcard-message {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px dashed rgba(30, 30, 30, 0.15);
    padding-bottom: 0.3rem;
  }
  .sec2-address-lines {
    display: none;
  }
  .sec2-handwritten-text {
    font-size: 0.88rem;
    line-height: 1.2;
  }
  .sec2-signature {
    font-size: 0.82rem;
  }
  .sec2-card-1 { right: 3%; width: clamp(240px, 72vw, 330px); }
  .sec2-card-2 { left: 3%; width: clamp(230px, 70vw, 320px); }
  .sec2-card-3 { right: 5%; width: clamp(240px, 72vw, 330px); }
  .sec2-card-4 { left: 4%; width: clamp(220px, 68vw, 310px); }
  .sec2-card-5 { right: 3%; width: clamp(240px, 72vw, 330px); }
  .sec2-card-6 { left: 4%; width: clamp(230px, 70vw, 320px); }

}

@media (max-width: 480px) {
  .sec2-scroll-track {
    height: 240vh; /* Recorrido ágil y compacto para móviles pequeños */
  }
  .sec2-pinned-section {
    padding-top: var(--header-height, 96px);
    padding-left: 1.15rem;
    padding-right: 1.15rem;
    padding-bottom: 0;
    justify-content: center;
  }
  .sec2-reveal-title {
    font-size: clamp(2.15rem, 9.2vw, 2.9rem); /* Ocupa el espacio disponible con presencia de portada */
    line-height: 1.12;
  }
  .sec2-card-1 { right: 2%; width: 72vw; }
  .sec2-card-2 { left: 2%; width: 70vw; }
  .sec2-card-3 { right: 3%; width: 72vw; }
  .sec2-card-4 { left: 2%; width: 68vw; }
  .sec2-card-5 { right: 2%; width: 72vw; }
  .sec2-card-6 { left: 2%; width: 70vw; }

}

@media (max-width: 375px) {
  .sec2-scroll-track {
    height: 220vh;
  }
  .sec2-pinned-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sec2-reveal-title {
    font-size: clamp(2rem, 10vw, 2.6rem);
    line-height: 1.1;
  }
  .sec2-bottom-caption {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
  .sec2-postcard-paper {
    padding: 0.6rem 0.75rem;
  }
  .sec2-handwritten-text {
    font-size: 0.82rem;
    line-height: 1.15;
  }
  .sec2-signature {
    font-size: 0.76rem;
  }
  .sec2-cat-btn {
    font-size: 0.58rem;
    padding: 0.35rem 0.6rem;
  }
  .sec2-card-1 { right: 1%; width: 75vw; }
  .sec2-card-2 { left: 1%; width: 73vw; }
  .sec2-card-3 { right: 2%; width: 75vw; }
  .sec2-card-4 { left: 1%; width: 71vw; }
  .sec2-card-5 { right: 1%; width: 75vw; }
  .sec2-card-6 { left: 1%; width: 73vw; }
}

/* Touch support for flip cards on mobile */
@media (hover: none) and (pointer: coarse) {
  .sec2-card {
    pointer-events: auto;
  }
  .sec2-card:active .sec2-card-inner,
  .sec2-card.is-flipped .sec2-card-inner {
    transform: rotateY(180deg);
  }
  .sec2-flip-hint {
    display: none;
  }
}

/* ==========================================================================
   VISOR EDITORIAL: MODAL DE POSTAL AMPLIADA EN EL CENTRO DE LA PANTALLA
   ========================================================================== */

.sec2-postcard-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s;
}

.sec2-postcard-modal.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Backdrop con desenfoque de cristal editorial */
.sec2-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
}

/* Contenedor Central */
.sec2-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  max-height: 94vh;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  box-sizing: border-box;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1.15);
  overflow: visible;
}

.sec2-postcard-modal.is-active .sec2-modal-container {
  transform: scale(1) translateY(0);
}

/* Botón Cerrar (X) Minimalista Flotante */
.sec2-modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 30;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.sec2-modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.85);
  border-color: rgba(239, 68, 68, 1);
  color: #FFFFFF;
  transform: scale(1.08) rotate(90deg);
}

@media (max-width: 768px) {
  .sec2-modal-close-btn {
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* Escenario 3D Central */
.sec2-modal-stage {
  position: relative;
  width: 100%;
  max-width: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}

/* Flechas de Navegación Lateral */
.sec2-modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.sec2-modal-nav-btn:hover {
  background: var(--color-sapphire);
  border-color: var(--color-sapphire);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 10px 28px rgba(15, 82, 186, 0.45);
}

.sec2-modal-nav-btn.prev {
  left: -58px;
}

.sec2-modal-nav-btn.next {
  right: -58px;
}

/* Tarjeta 3D Ampliada */
.sec2-modal-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.58 / 1;
  min-height: 450px;
  border-radius: 26px;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.2, 0.85, 0.4, 1.15);
  cursor: pointer;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.12);
  outline: none;
}

.sec2-modal-card:focus-visible {
  box-shadow: 0 0 0 3px var(--color-mustard), 0 35px 80px rgba(0, 0, 0, 0.65);
}

.sec2-modal-card.is-flipped {
  transform: rotateY(180deg);
}

.sec2-modal-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

.sec2-modal-face {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* CARA FRONTAL: FOTO EN HD */
.sec2-modal-front {
  transform: rotateY(0deg);
  background: #0E1116;
}

.sec2-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sec2-modal-front-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem;
  background: rgba(14, 17, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}

.front-badge-tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-mustard);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.front-badge-title {
  font-family: var(--font-hero-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.1;
}

.front-badge-prompt {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(15, 82, 186, 0.85);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* CARA POSTERIOR: PAPEL POSTAL VINTAGE ULTRA-LEGIBLE */
.sec2-modal-back {
  transform: rotateY(180deg);
  background: #FAF7EE;
  color: #1A1A1A;
}

.sec2-modal-paper {
  position: relative;
  width: 100%;
  height: 100%;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  background: 
    radial-gradient(ellipse at top left, rgba(255, 219, 88, 0.14) 0%, transparent 60%),
    radial-gradient(ellipse at bottom right, rgba(15, 82, 186, 0.05) 0%, transparent 60%),
    #FAF7EE;
}

/* Borde perimetral pespunteado tradicional */
.sec2-modal-paper::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(15, 82, 186, 0.3);
  border-radius: 20px;
  pointer-events: none;
}

/* Cabecera Postal del Modal */
.sec2-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px solid rgba(30, 30, 30, 0.12);
  position: relative;
  z-index: 2;
}

.sec2-modal-postal-mark {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sec2-modal-seal {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-sapphire);
  text-transform: uppercase;
}

.sec2-modal-meta-line {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 0.9vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(30, 30, 30, 0.6);
  text-transform: uppercase;
}

/* Estampilla Postal */
.sec2-modal-postage-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1.5px dashed var(--color-sapphire);
  border-radius: 6px;
  background: rgba(15, 82, 186, 0.04);
  padding: 0.25rem;
  box-sizing: border-box;
}

.sec2-modal-stamp-code {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--color-sapphire);
  letter-spacing: 0.06em;
}

.sec2-modal-stamp-symbol svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-sapphire);
}

/* Cuerpo de la Postal */
.sec2-modal-body {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: clamp(1.2rem, 2vw, 2rem);
  align-items: stretch;
  flex: 1;
  padding: 1rem 0;
  position: relative;
  z-index: 2;
}

/* Columna de Texto Manuscrito */
.sec2-modal-message-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-right: clamp(1rem, 1.8vw, 1.8rem);
  border-right: 1.5px dashed rgba(30, 30, 30, 0.15);
}

.sec2-modal-handwritten {
  font-family: var(--font-handwriting);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.45;
  color: #14223D;
  margin: 0;
  text-wrap: pretty;
}

.sec2-modal-signature {
  font-family: var(--font-handwriting);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-weight: 700;
  color: var(--color-sapphire);
  align-self: flex-end;
  margin-top: 0.75rem;
  font-style: normal;
}

/* Columna Lateral de Destinatario y Acción */
.sec2-modal-side-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.sec2-modal-address-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.address-header-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(30, 30, 30, 0.55);
  text-transform: uppercase;
}

.sec2-modal-address-lines {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sec2-modal-addr-line {
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 600;
  color: rgba(30, 30, 30, 0.85);
  border-bottom: 1.5px solid rgba(30, 30, 30, 0.18);
  padding-bottom: 0.25rem;
  line-height: 1.35;
}

/* Botón CTA dentro de la postal */
.sec2-modal-cat-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: var(--color-sapphire);
  border: 1px solid rgba(15, 82, 186, 0.9);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(15, 82, 186, 0.35);
  transition: all var(--transition-fast);
  margin-top: auto;
}

.sec2-modal-cat-cta:hover {
  background: #0B4299;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 82, 186, 0.45);
}

.sec2-modal-cta-arrow {
  color: var(--color-mustard);
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.sec2-modal-cat-cta:hover .sec2-modal-cta-arrow {
  transform: translate(3px, -3px);
}

/* Pie de Página del Papel Postal */
.sec2-modal-paper-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(30, 30, 30, 0.1);
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(30, 30, 30, 0.5);
  position: relative;
  z-index: 2;
}

.paper-footer-hint {
  font-weight: 600;
  color: var(--color-sapphire);
}

/* Barra Inferior de Bolitas / Miniaturas */
.sec2-modal-dots-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.4rem;
}

.sec2-modal-dot-pill {
  border: none;
  background: rgba(255, 255, 255, 0.2);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
}

.sec2-modal-dot-pill:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.sec2-modal-dot-pill.is-active {
  width: 28px;
  background: var(--color-mustard);
  box-shadow: 0 0 12px rgba(255, 219, 88, 0.5);
}

/* Adaptación Responsive para Tablets y Móviles */
@media (max-width: 900px) {
  .sec2-modal-nav-btn.prev {
    left: 10px;
  }
  .sec2-modal-nav-btn.next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .sec2-modal-container {
    padding: 1rem;
    gap: 0.85rem;
    max-height: 96vh;
    overflow-y: auto;
  }
  .sec2-modal-topbar {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .sec2-modal-card {
    aspect-ratio: auto;
    min-height: 520px;
  }
  .sec2-modal-paper {
    padding: 1.25rem 1rem;
  }
  .sec2-modal-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
  }
  .sec2-modal-message-col {
    border-right: none;
    padding-right: 0;
    border-bottom: 1.5px dashed rgba(30, 30, 30, 0.15);
    padding-bottom: 0.85rem;
  }
  .sec2-modal-handwritten {
    font-size: 1.25rem;
    line-height: 1.35;
  }
  .sec2-modal-paper-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .sec2-modal-nav-btn {
    width: 38px;
    height: 38px;
  }
  .sec2-modal-nav-btn.prev {
    left: 6px;
  }
  .sec2-modal-nav-btn.next {
    right: 6px;
  }
}



/* ==========================================================================
   POSTALES DIGITALES EDITORIALES: TARJETAS 3D FLIP (Front Simplificado / Back Reveal)
   ========================================================================== */

.modern-editorial-postcard {
  perspective: 1000px;
  position: relative;
  background: transparent;
  border: none !important;
  box-shadow: none !important;
  height: 440px;
  cursor: pointer;
  will-change: transform;
}

.postcard-flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
}

.modern-editorial-postcard:hover .postcard-flip-inner,
.modern-editorial-postcard.is-flipped .postcard-flip-inner {
  transform: rotateY(180deg);
}

.postcard-front,
.postcard-back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 20px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* FRENTE: Fotografía Pura Simplificada */
.postcard-front {
  background: #FFFFFF;
  border: 1px solid rgba(226, 232, 240, 0.9);
  z-index: 2;
  transform: rotateY(0deg);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.modern-editorial-postcard:hover .postcard-front {
  border-color: #0F52BA;
}

/* REVERSO: Alto Contraste con Información Completa y Botón Leer más */
.postcard-back {
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotateY(180deg);
  z-index: 1;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4),
              0 0 30px rgba(15, 82, 186, 0.25);
}

.postcard-back .postcard-cat-tag .cat-num {
  color: #FFDB58;
  background: rgba(255, 219, 88, 0.12);
}

.postcard-back .postcard-cat-tag .cat-label {
  color: #FFFFFF;
}

.postcard-back .postcard-digital-seal .seal-icon {
  color: #FFDB58;
}

.postcard-back .postcard-title {
  color: #FFFFFF;
}

.postcard-back .postcard-desc {
  color: rgba(255, 255, 255, 0.85);
  border-left-color: #FFDB58;
}

.postcard-back .postcard-tag-link {
  color: #FFDB58;
}

.postcard-back .postcard-tag-link::before {
  background: #FFDB58;
}

/* Encabezado Editorial Top Bar */
.postcard-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid #F1F5F9;
}

.postcard-back .postcard-top-bar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.postcard-cat-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.postcard-cat-tag .cat-num {
  font-family: var(--font-hero-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: #0F52BA;
  background: rgba(15, 82, 186, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
}

.postcard-cat-tag .cat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.1em;
}

.postcard-digital-seal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.postcard-digital-seal .seal-blue-line {
  display: inline-block;
  width: 55px;
  height: 2px;
  background: #0F52BA;
  border-radius: 1px;
  flex-shrink: 0;
}

.postcard-digital-seal .seal-icon {
  color: #0F52BA;
  font-size: 0.75rem;
}

/* Marco de Imagen de la Postal */
.postcard-image-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  flex-grow: 1;
  overflow: hidden;
  border-radius: 14px;
  background-color: #0F172A;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}

.postcard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-editorial-postcard:hover .postcard-img {
  transform: scale(1.08);
}

.postcard-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 30%,
    rgba(15, 23, 42, 0.85) 100%
  );
  pointer-events: none;
}

.postcard-front-title-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.postcard-front-title {
  font-family: var(--font-hero-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.postcard-flip-hint {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFDB58;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Cuerpo de la Postal */
.postcard-content-body {
  position: relative;
  z-index: 2;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.postcard-title {
  font-family: var(--font-hero-display); /* 'Syne' */
  font-size: 1.28rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.65rem;
  letter-spacing: -0.01em;
}

.postcard-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.5;
  color: #475569;
  margin: 0 0 1.25rem 0;
  padding-left: 0.75rem;
  border-left: 2px solid #0F52BA;
}

/* Action Footer */
.postcard-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.postcard-tag-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F52BA;
  letter-spacing: 0.05em;
}

.postcard-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFDB58;
  color: #0F172A;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(255, 219, 88, 0.3);
  white-space: nowrap;
}

.postcard-action-btn:hover {
  background: #FFFFFF;
  color: #0F52BA;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.4);
}

.postcard-tag-link,
.postcard-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  color: #0F52BA;
  background: transparent;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0.05em;
}

.postcard-tag-link::before,
.postcard-pill-tag::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: #0F52BA;
  border-radius: 1px;
}

.postcard-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0F52BA;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.55rem 1rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.22);
  white-space: nowrap;
}

.postcard-action-btn:hover {
  background: #FFDB58;
  color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 219, 88, 0.5);
}

.postcard-action-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.postcard-action-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   SECCIÓN 3: MOTOR DE EXPERIENCIAS (Buscador Editorial de Viaje)
   ========================================================================== */

/* ==========================================================================
   SECCIÓN 3: MOTOR DE EXPERIENCIAS (Revista Digital & Retícula Suiza)
   Fondo Blanco #FFFFFF · Buenos Aires & Arquitectura Tipográfica
   ========================================================================== */

.experience-engine-section {
  position: relative;
  background-color: #FFFFFF;
  color: #0F172A;
  margin: 5rem -3.5rem -7rem; /* Expansión a ancho completo en la sección */
  padding: 6rem 3.5rem 8rem;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.08);
}

/* Encabezado Editorial Centrado del Motor de Experiencias */
.engine-header-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 3.5rem;
  max-width: 100%;
}

.experience-engine-section .content-badge .badge-num {
  background: #0F52BA;
  color: #FFFFFF;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 800;
}

.experience-engine-section .content-badge .badge-text {
  color: #0F172A;
  font-weight: 800;
}

.engine-header-centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto 2.5rem auto;
  max-width: 900px;
}

.engine-header-centered .content-badge {
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}

.engine-header-centered .content-editorial-title,
.engine-header-centered .content-editorial-title .reveal-word {
  font-family: var(--font-hero-display);
  font-size: clamp(2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  color: #0F172A !important;
  opacity: 1 !important;
  text-shadow: none !important;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.engine-header-centered .content-editorial-title .title-word-accent,
.engine-header-centered .content-editorial-title .title-word-accent .reveal-word {
  color: #0F52BA !important;
  opacity: 1 !important;
}

/* ==========================================================================
   RECTÁNGULO CENTRAL DE BÚSQUEDA EDITORIAL (Bloque de Explicación + Amazon Style)
   ========================================================================== */

.engine-search-hero-block {
  background: #0F52BA;
  border: none !important;
  border-radius: 28px 28px 0 0;
  padding: 3rem 3.5rem 3.5rem 3.5rem;
  color: #FFFFFF;
  margin: 0 auto 5rem auto;
  max-width: 100%;
  box-shadow: 0 30px 70px rgba(15, 82, 186, 0.35),
              0 0 40px rgba(15, 82, 186, 0.2);
  position: relative;
}

/* Divisor Vanguardista SVG en la base del Buscador (Rotado 180deg) */
.search-bottom-divider-wrap {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  width: 100%;
  height: 55px;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 5;
  transform: rotate(180deg);
}

.search-bottom-divider-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.search-bottom-divider-svg path {
  fill: #0F52BA;
}

/* Top Kicker Console Bar */
.engine-console-top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-kicker-tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #FFDB58;
}

.console-kicker-tag .pulse-dot {
  color: #228B22;
  font-size: 0.6rem;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.console-edition {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

/* Barra Estilo Editorial Ecléctico */
.amazon-style-search-bar {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: none !important;
  border-radius: 100px;
  padding: 0.45rem 0.55rem;
  margin: 0 auto 2rem auto;
  max-width: 100%;
  width: 100%;
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.amazon-style-search-bar:focus-within {
  box-shadow: 0 20px 50px rgba(15, 82, 186, 0.3),
              0 0 0 4px rgba(255, 219, 88, 0.25);
}

/* Custom Selector Megamenú de Categorías (4 Columnas: 30 Temas + Banner Visita Salento) */
.amazon-megamenu-select-wrap {
  position: relative;
  border-right: none !important;
  padding-right: 0.6rem;
  margin-right: 0.85rem;
  flex-shrink: 0;
}

.amazon-category-btn {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F52BA;
  padding: 0.6rem 1.8rem 0.6rem 0.5rem !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  position: relative;
  transition: color 0.2s ease;
}

.amazon-category-btn:hover {
  background: transparent !important;
  color: #0B3C85;
  border: none !important;
}

.cat-pill-badge {
  font-family: var(--font-hero-display);
  font-size: 0.78rem;
  font-weight: 900;
  color: #0F52BA;
  letter-spacing: 0.1em;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.amazon-category-btn .select-arrow {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.amazon-megamenu-select-wrap.active .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* Panel Flotante Megamenú 4 Columnas */
.engine-categories-megamenu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  width: min(880px, 90vw);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 35px 80px rgba(15, 23, 42, 0.28);
  z-index: 1000;
  padding: 2.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.amazon-megamenu-select-wrap.active .engine-categories-megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-inner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 260px;
  gap: 1.75rem;
}

.megamenu-column .column-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid #0F172A;
  padding-bottom: 0.6rem;
}

.megamenu-column .col-num {
  font-family: var(--font-hero-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F52BA;
  background: rgba(15, 82, 186, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.megamenu-column .col-title {
  font-family: var(--font-hero-display);
  font-size: 0.95rem;
  font-weight: 900;
  color: #0F172A;
  letter-spacing: 0.05em;
}

.micro-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.micro-link-btn {
  background: none;
  border: none;
  padding: 0.4rem 0.6rem;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.micro-link-btn:hover {
  background: #F1F5F9;
  color: #0F52BA;
  transform: translateX(4px);
}

/* Columna 4: Banner Foto Editorial Visita Salento */
.megamenu-banner-column {
  display: flex;
}

.megamenu-banner-card {
  position: relative;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  color: #FFFFFF;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  min-height: 260px;
}

.megamenu-banner-card .banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.megamenu-banner-card:hover .banner-img {
  transform: scale(1.06);
  filter: brightness(0.62);
}

.megamenu-banner-card .banner-overlay {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.2) 100%);
  width: 100%;
}

.megamenu-banner-card .banner-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 800;
  color: #FFDB58;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.megamenu-banner-card .banner-title {
  font-family: var(--font-hero-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0.2rem 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.megamenu-banner-card .banner-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.75rem;
}

.megamenu-banner-card .banner-cta-btn {
  background: #FFDB58;
  color: #0F172A;
  border: none;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
  width: auto;
}

.megamenu-banner-card .banner-cta-btn:hover {
  background: #FFFFFF;
  color: #0F52BA;
  transform: translateY(-2px);
}

/* Footer Bar Megamenú */
.megamenu-footer-bar {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.megamenu-reset-btn {
  background: #F1F5F9;
  color: #0F52BA;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
}

.megamenu-reset-btn:hover {
  background: #0F52BA;
  color: #FFFFFF;
}

.megamenu-hint {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: #94A3B8;
  font-style: italic;
}

.amazon-input-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  position: relative;
}

.amazon-input-wrap .search-icon {
  color: #94A3B8;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.amazon-search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0F172A;
  padding: 0.5rem 0;
}

.amazon-search-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.amazon-search-btn {
  background: #0F52BA;
  color: #FFFFFF;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.amazon-search-btn:hover {
  background: #FFDB58;
  color: #0B3C85;
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(255, 219, 88, 0.4);
}

.amazon-search-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.amazon-search-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Panel de Autocompletar */
.engine-autocomplete-panel {
  position: absolute;
  top: calc(100% + 0.85rem);
  left: -0.35rem;
  right: -0.35rem;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  z-index: 100;
  overflow: hidden;
  color: #0F172A;
  padding: 0.75rem 0;
}

.autocomplete-header {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #64748B;
  padding: 0.5rem 1.25rem;
  text-transform: uppercase;
  border-bottom: 1px solid #F1F5F9;
}

.autocomplete-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.autocomplete-item {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.autocomplete-item:hover {
  background: #F1F5F9;
  color: #0F52BA;
}

.autocomplete-item .item-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0F52BA;
  background: rgba(15, 82, 186, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 0;
}

/* Visualización de Categorías Tipo Amazon (Tiles Row) */
.engine-category-tiles-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .amazon-style-search-bar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    gap: 0.75rem;
  }
  .amazon-select-wrap {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 0.5rem;
  }
  .engine-category-tiles-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.category-tile-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 1.15rem 1.25rem;
  text-align: left;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-tile-btn .tile-code {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 900;
  color: #FFDB58;
  letter-spacing: 0.1em;
}

.category-tile-btn .tile-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 900;
  color: #FFFFFF;
}

.category-tile-btn .tile-sub,
.category-tile-btn .tile-count {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.category-tile-btn:hover,
.category-tile-btn.active {
  background: #FFFFFF;
  border-color: #FFDB58;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
}

.category-tile-btn:hover .tile-code,
.category-tile-btn.active .tile-code {
  color: #0F52BA;
}

.category-tile-btn:hover .tile-title,
.category-tile-btn.active .tile-title {
  color: #0F172A;
}

.category-tile-btn:hover .tile-sub,
.category-tile-btn.active .tile-sub,
.category-tile-btn:hover .tile-count,
.category-tile-btn.active .tile-count {
  color: #475569;
}

/* Sugerencias Rápidas: Editorial Tag Cloud */
.engine-search-hero-block .engine-quick-keywords {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem 0.85rem;
  text-align: center;
}

.engine-search-hero-block .keywords-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFDB58;
  margin-right: 0.5rem;
}

.engine-search-hero-block .quick-keyword-pill {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0.3rem 0.6rem !important;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2E8F0 !important;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  text-decoration: none !important;
  box-shadow: none !important;
}

.engine-search-hero-block .quick-keyword-pill::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.6rem;
  right: 0.6rem;
  height: 2px;
  background: #FFDB58;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.engine-search-hero-block .quick-keyword-pill:hover {
  background: transparent !important;
  color: #FFDB58 !important;
  border: none !important;
  transform: translateY(-2px);
  box-shadow: none !important;
}

.engine-search-hero-block .quick-keyword-pill:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Bar de Controles del Slider Editorial */
.engine-slider-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #E2E8F0;
}

.slider-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-counter-badge .pulse-indicator {
  color: #0F52BA;
  font-size: 0.65rem;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

/* Slider Navigation Controls (Diseño divertido, sin formato pillow) */
.slider-arrow-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.slider-fun-btn {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0.25rem 0.5rem !important;
  color: #0F172A;
  font-family: var(--font-hero-display); /* Syne */
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.slider-fun-btn .btn-label {
  position: relative;
  transition: color 0.25s ease;
}

/* Subrayado sutil animado al hover */
.slider-fun-btn .btn-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0F52BA;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.slider-fun-btn:hover:not(:disabled) .btn-label::after {
  width: 100%;
}

/* Burbuja de icono interactiva y divertida */
.slider-fun-btn .btn-icon-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px; /* Cuadrado suavizado vanguardista */
  background: #F1F5F9;
  color: #0F52BA;
  border: 1px solid #CBD5E1;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.slider-fun-btn:hover:not(:disabled) {
  color: #0F52BA;
}

.slider-fun-btn:hover:not(:disabled) .btn-icon-bubble {
  background: #FFDB58;
  color: #0F172A;
  border-color: #FFDB58;
  box-shadow: 0 6px 18px rgba(255, 219, 88, 0.45);
}

#sliderPrevBtn:hover:not(:disabled) .btn-icon-bubble {
  transform: scale(1.12) rotate(-8deg) translateX(-3px);
}

#sliderNextBtn:hover:not(:disabled) .btn-icon-bubble {
  transform: scale(1.12) rotate(8deg) translateX(3px);
}

.slider-fun-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slider-fun-btn:disabled .btn-icon-bubble {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #94A3B8;
}

.slider-nav-divider {
  width: 1px;
  height: 24px;
  background: #CBD5E1;
}

/* Contenedor Slider / Grid de Experiencias (4 Visibles en Escritorio) */
.engine-results-slider-wrap {
  position: relative;
  width: 100%;
}

.engine-results-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 2rem;
  padding-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.engine-results-grid::-webkit-scrollbar {
  height: 4px;
}

.engine-results-grid::-webkit-scrollbar-thumb {
  background: #CBD5E1;
}

/* Ítem de Revista Editorial (Exactamente 4 visibles por vista en escritorio) */
.engine-card {
  flex: 0 0 calc((100% - 3 * 2rem) / 4);
  min-width: calc((100% - 3 * 2rem) / 4);
  scroll-snap-align: start;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 1.5rem;
}

@media (max-width: 1200px) {
  .engine-card {
    flex: 0 0 calc((100% - 2 * 2rem) / 3);
    min-width: calc((100% - 2 * 2rem) / 3);
  }
}

@media (max-width: 850px) {
  .engine-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    min-width: calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 550px) {
  .engine-card {
    flex: 0 0 85%;
    min-width: 85%;
  }
}

.engine-card:hover {
  transform: translateY(-4px);
}

.engine-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0;
  background-color: #F1F5F9;
  margin-bottom: 1.35rem;
}

.engine-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.engine-card:hover .engine-card-img {
  transform: scale(1.05);
}

.engine-macro-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 3;
  padding: 0.3rem 0.7rem;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.675rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.badge-disfruta {
  background: #0F52BA;
  color: #FFFFFF;
}

.badge-descansa {
  background: #0284C7;
  color: #FFFFFF;
}

.badge-descubre {
  background: #059669;
  color: #FFFFFF;
}

.engine-read-time {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  padding: 0.2rem 0.55rem;
  border-radius: 0;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
}

.engine-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0;
}

.engine-card-title {
  font-family: var(--font-hero-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.engine-card:hover .engine-card-title {
  color: #0F52BA;
}

.engine-card-desc {
  font-family: var(--font-body);
  font-size: 0.925rem;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 1.5rem;
}

.engine-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
}

.engine-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.engine-tags span {
  font-family: var(--font-heading);
  font-size: 0.725rem;
  font-weight: 800;
  color: #0F52BA;
}

.engine-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  color: #0F52BA;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.775rem;
  font-weight: 900;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.engine-card:hover .engine-action-btn {
  color: #0B3C85;
}

.engine-action-btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.engine-card:hover .engine-action-btn .btn-arrow {
  transform: translate(3px, -3px);
}

/* Estado Sin Coincidencias en Revista Digital */
.engine-no-results {
  text-align: center;
  padding: 5rem 2rem;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px dashed #CBD5E1;
  margin-top: 2rem;
}

.no-results-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.no-results-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.no-results-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.no-results-reset-btn {
  background: #0F52BA;
  color: #FFFFFF;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(15, 82, 186, 0.25);
}

.no-results-reset-btn:hover {
  background: #0B3C85;
  transform: scale(1.05);
}

/* ==========================================================================
   SISTEMA DE ADAPTACIÓN RESPONSIVA MAGISTRAL (Postales Editoriales & Buscador)
   ========================================================================== */

/* --- SECCIÓN 2: GRID DE POSTALES EDITORIALES & PARALLAX LAYER --- */
@media (max-width: 1100px) {
  .postcards-editorial-grid,
  .postcards-parallax-layer {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
  }
  .parallax-card {
    height: 320px;
  }
}

@media (max-width: 680px) {
  .postcards-editorial-grid,
  .postcards-parallax-layer {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1rem;
    margin-top: 1rem;
  }

  .postcards-pinned-section {
    padding: 1.5rem 1rem;
  }

  .parallax-card {
    height: 280px;
  }

  .postcard-card {
    padding: 1rem;
    border-radius: 16px;
  }

  .postcard-top-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .postcard-title {
    font-size: 1.15rem;
  }

  .postcard-footer-action {
    flex-wrap: wrap;
    gap: 0.6rem;
  }
}

/* --- SECCIÓN 3: BUSCADOR EDITORIAL & MEGAMENÚ --- */
@media (max-width: 1024px) {
  .engine-search-hero-block {
    padding: 2.25rem 2rem;
    border-radius: 24px 24px 0 0;
  }

  .megamenu-inner-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .megamenu-banner-column {
    grid-column: span 2;
  }

  .megamenu-banner-card {
    min-height: 180px;
  }
}

@media (max-width: 850px) {
  .amazon-style-search-bar {
    flex-direction: column;
    align-items: stretch;
    border-radius: 20px;
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .amazon-category-btn {
    width: 100%;
    justify-content: space-between;
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.5rem 0.25rem 0.75rem 0.25rem;
    margin-right: 0;
  }

  .amazon-input-wrap {
    width: 100%;
    padding: 0.25rem 0;
  }

  .amazon-search-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
  }

  .engine-categories-megamenu {
    width: 100%;
    position: absolute;
    left: 0;
    top: calc(100% + 0.5rem);
    border-radius: 16px;
    padding: 1.25rem;
    max-height: 75vh;
    overflow-y: auto;
  }

  .engine-slider-top-bar {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .engine-search-hero-block {
    padding: 1.5rem 1.15rem;
    border-radius: 20px 20px 0 0;
    margin-bottom: 2.5rem;
  }

  .engine-console-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .console-kicker-tag {
    font-size: 0.65rem;
  }

  .megamenu-inner-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .megamenu-banner-column {
    grid-column: span 1;
  }

  .engine-categories-megamenu {
    left: -0.25rem;
    right: -0.25rem;
    width: calc(100% + 0.5rem);
    padding: 1rem;
    max-height: 80vh;
  }

  .megamenu-footer-bar {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    text-align: center;
  }

  .megamenu-reset-btn {
    width: 100%;
  }

  .engine-search-hero-block .engine-quick-keywords {
    margin-top: 1.5rem;
    padding-top: 1.15rem;
    gap: 0.45rem;
  }

  .quick-keyword-pill {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }
}

/* ==========================================================================
   SECCIÓN 3: BLOG HUB & GUÍAS EDITORIALES (MINIMALISTA - MODELO RETREAT)
   DIAGRAMACIÓN DEL EJEMPLO: 2 COLUMNAS, SPLIT LAYOUT, DIVISORES FINOS
   COLORES Y SISTEMA DE DISEÑO OFICIAL: SNOW, CHARCOAL, SAPPHIRE, MUSTARD
   TIPOGRAFÍAS: SYNE (DISPLAY), SPACE GROTESK (HEADINGS), PLUS JAKARTA SANS (BODY)
   ========================================================================== */

.blog-hub-section {
  position: relative;
  z-index: 30;
  margin-top: -100vh; /* Efecto Parallax Telón: asciende y cubre la Sección 2 azul */
  box-shadow: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15); /* Remate editorial pulido */
  background-color: var(--color-snow, #FFFAFA);
  color: var(--color-charcoal, #1E1E1E);
  padding: 6.5rem 3.5rem 8.5rem 3.5rem;
  box-sizing: border-box;
  overflow: hidden;
}

/* Header Editorial de Dos Columnas */
.blog-editorial-top-block {
  max-width: 1360px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.09); /* Divisor fino */
}

.blog-top-left-heading {
  display: flex;
  flex-direction: column;
}

.blog-hub-bracket-tag {
  font-family: var(--font-heading); /* 'Space Grotesk' */
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--color-sapphire); /* #0F52BA */
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: inline-block;
}

.blog-editorial-hero-title {
  font-family: var(--font-hero-display); /* 'Syne' */
  font-size: clamp(2.4rem, 4.4vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-charcoal, #111827);
  margin: 0;
}

.blog-top-right-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding-bottom: 0.25rem;
}

.blog-editorial-lead-text {
  font-family: var(--font-body); /* 'Plus Jakarta Sans' */
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.65;
  color: #4B5563;
  margin: 0;
  border-left: 2px solid rgba(15, 82, 186, 0.35); /* Zafiro */
  padding-left: 1.5rem;
  max-width: 540px;
}

.blog-hub-hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: 1.5rem;
  padding: 0.65rem 1.25rem;
  background: var(--color-charcoal, #1E1E1E);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.blog-hub-hero-cta-btn:hover {
  background: var(--color-sapphire, #0F52BA);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Barra de Filtros en Cápsula Blanca con Acentos Zafiro */
.blog-filter-bar-wrapper {
  margin: 0 auto 2.2rem auto;
  display: flex;
  justify-content: flex-start;
  max-width: 1360px;
  width: 100%;
}

.blog-filter-pill-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFFFF;
  border: 1px solid rgba(15, 82, 186, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.55rem;
  box-shadow: none;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.blog-filter-pill-nav::-webkit-scrollbar {
  display: none;
}

.blog-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #4B5563;
  font-family: var(--font-heading); /* 'Space Grotesk' */
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  outline: none;
  user-select: none;
}

.blog-pill-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: currentColor;
}

.blog-pill-icon svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s ease;
}

.blog-filter-pill:hover {
  color: var(--color-sapphire);
  background: rgba(15, 82, 186, 0.06);
}

.blog-filter-pill:hover .blog-pill-icon svg {
  transform: scale(1.1);
}

.blog-filter-pill.active {
  background: var(--color-sapphire); /* #0F52BA */
  color: #FFFFFF;
  box-shadow: none;
}

.blog-filter-pill.active .blog-pill-icon svg {
  color: #FFFFFF;
}

/* Barra de Estado, Contador y Controles del Slider */
.blog-status-bar {
  max-width: 1360px;
  margin: 0 auto 2.2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.08);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #6B7280;
}

.blog-status-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.blog-count-badge {
  background: rgba(15, 82, 186, 0.08);
  color: var(--color-sapphire);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-weight: 800;
}

.blog-filter-state {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Controles del Slider (Flechas y Paginador) */
.blog-slider-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.blog-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 82, 186, 0.2);
  color: var(--color-charcoal, #1E1E1E);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.blog-slider-arrow:hover:not(:disabled) {
  background: var(--color-sapphire);
  color: #FFFFFF;
  border-color: var(--color-sapphire);
  transform: translateY(-2px);
  box-shadow: none;
}

.blog-slider-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.blog-slider-page-info {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #6B7280;
  letter-spacing: 0.08em;
  min-width: 48px;
  text-align: center;
}

/* ==========================================================================
   VIEWPORT Y TRACK DEL SLIDER (4 COLUMNAS CONTINUAS CON DRAG Y SWIPE)
   ========================================================================== */

.blog-slider-viewport {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 0.5rem 0 2rem 0;
}

.blog-slider-viewport::-webkit-scrollbar {
  display: none;
}

.blog-slider-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
  user-select: none;
}

.blog-slider-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  align-items: stretch;
}

/* Columna individual de publicación: 4 por pantalla en desktop */
.editorial-retreat-item {
  flex: 0 0 calc((min(100vw - 7rem, 1360px) - (3 * 1.75rem)) / 4);
  width: calc((min(100vw - 7rem, 1360px) - (3 * 1.75rem)) / 4);
  min-width: 270px;
  scroll-snap-align: start;
  box-sizing: border-box;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  background: #0E161C;
  border: none;
  box-shadow: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-retreat-item:hover {
  transform: translateY(-6px);
  box-shadow: none;
}

.retreat-card-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* ==========================================================================
   IMAGEN DE FONDO COMPLETA CON PROPORCIÓN CORTA (COMPACTA Y EDITORIAL)
   ========================================================================== */

.retreat-card-bg {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.12; /* Formato mucho más corto de alto que el 3:4 anterior */
  overflow: hidden;
  background: #0E161C;
}

.retreat-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-retreat-item:hover .retreat-card-img {
  transform: scale(1.08);
}

/* Scrim en reposo: Tono oscuro neutro original concentrado en la base */
.retreat-card-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(10, 16, 22, 0) 25%,
    rgba(10, 16, 22, 0.35) 55%,
    rgba(10, 16, 22, 0.84) 82%,
    rgba(10, 16, 22, 0.96) 100%
  );
  pointer-events: none;
}

/* Capa de tinte Azul Zafiro (#0F52BA) que emerge suavemente en hover ("del oscuro al azul") */
.retreat-card-scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 82, 186, 0.35) 0%,
    rgba(15, 82, 186, 0.65) 45%,
    rgba(10, 42, 98, 0.90) 78%,
    rgba(6, 26, 64, 0.98) 100%
  );
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.editorial-retreat-item:hover .retreat-card-scrim::after {
  opacity: 1;
}

/* ==========================================================================
   CONTENIDO EDITORIAL: TITULAR ABAJO EN REPOSO + REVELACIÓN EN HOVER
   ========================================================================== */

.retreat-card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Anclado todo en la parte inferior */
  padding: 1.25rem 1.25rem 1.15rem 1.25rem;
  box-sizing: border-box;
}

/* Bloque Inferior con Animación Escalona */
.retreat-spot-header {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* 1. Categoría y tiempo (Ocultos en reposo, aparecen en hover) */
.retreat-spot-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  opacity: 0;
  max-height: 0;
  transform: translateY(-8px);
  overflow: hidden;
  pointer-events: none;
  margin-bottom: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.35s ease;
}

.editorial-retreat-item:hover .retreat-spot-meta {
  opacity: 1;
  max-height: 40px;
  transform: translateY(0);
  pointer-events: auto;
  margin-bottom: 0.45rem;
}

.retreat-spot-tag {
  font-family: var(--font-heading); /* 'Space Grotesk' */
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mustard, #FFDB58);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.retreat-spot-tag::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background-color: var(--color-sapphire); /* #0F52BA */
  box-shadow: none;
  transition: background-color 0.35s ease;
}

.editorial-retreat-item:hover .retreat-spot-tag::before {
  background-color: #FFFFFF;
  box-shadow: none;
}

.retreat-spot-time {
  font-family: var(--font-body); /* 'Plus Jakarta Sans' */
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

/* 2. Titular Display: SIEMPRE VISIBLE ABAJO en reposo */
.retreat-spot-title {
  font-family: var(--font-hero-display); /* 'Syne' */
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: color 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-retreat-item:hover .retreat-spot-title {
  color: var(--color-mustard, #FFDB58);
}

/* 3. Spot Snippet complementario (Oculto en reposo, se despliega en hover) */
.retreat-spot-snippet {
  font-family: var(--font-body); /* 'Plus Jakarta Sans' */
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.42;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  opacity: 0;
  max-height: 0;
  transform: translateY(8px);
  overflow: hidden;
  pointer-events: none;
  margin-top: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.04s,
              max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              margin 0.35s ease;
}

.editorial-retreat-item:hover .retreat-spot-snippet {
  opacity: 1;
  max-height: 60px;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 0.45rem;
}

/* 4. Bloque Inferior: "LEER NOTA" SE MANTIENE SIEMPRE VISIBLE */
.retreat-spot-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  margin-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition: border-color 0.3s ease;
}

.retreat-spot-cta {
  font-family: var(--font-heading); /* 'Space Grotesk' */
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.25s ease;
}

.editorial-retreat-item:hover .retreat-spot-cta {
  color: var(--color-mustard, #FFDB58);
}

.retreat-spot-arrow {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.retreat-spot-arrow svg {
  display: block;
  transform: rotate(45deg); /* En reposo: flecha horizontal apuntando a la derecha */
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}

.editorial-retreat-item:hover .retreat-spot-arrow {
  background: var(--color-sapphire);
  border-color: var(--color-sapphire);
  color: #FFFFFF;
  transform: translate(2px, -2px);
  box-shadow: none;
}

.editorial-retreat-item:hover .retreat-spot-arrow svg {
  transform: rotate(0deg); /* En hover: rota fluidamente hacia arriba / diagonal */
}

/* Estados de filtrado interactivo */
.editorial-retreat-item.is-hidden {
  display: none !important;
}

.editorial-retreat-item.fade-in-card {
  animation: retreatFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes retreatFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVO PARA EL SLIDER CONTINUO
   ========================================================================== */

@media (max-width: 1100px) {
  .editorial-retreat-item {
    flex: 0 0 calc((100vw - 4.5rem - (2 * 1.5rem)) / 3);
    width: calc((100vw - 4.5rem - (2 * 1.5rem)) / 3);
    min-width: 260px;
  }
  .blog-slider-track {
    gap: 1.5rem;
  }
}

@media (max-width: 820px) {
  .blog-hub-section {
    padding: 5rem 1.75rem 6.5rem 1.75rem;
  }

  .blog-editorial-top-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
  }

  .editorial-retreat-item {
    flex: 0 0 calc((100vw - 3.5rem - 1.25rem) / 2);
    width: calc((100vw - 3.5rem - 1.25rem) / 2);
    min-width: 240px;
  }
  .blog-slider-track {
    gap: 1.25rem;
  }
}

@media (max-width: 580px) {
  .blog-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-slider-controls {
    align-self: flex-end;
  }

  .editorial-retreat-item {
    flex: 0 0 82vw;
    width: 82vw;
    min-width: 82vw;
  }

  .retreat-spot-title {
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .blog-hub-section {
    padding: 3.8rem 1.15rem 4.5rem 1.15rem;
  }
  .blog-editorial-hero-title {
    font-size: clamp(2rem, 8.5vw, 2.5rem);
  }
  .blog-filter-bar-wrapper {
    margin-bottom: 1.4rem;
  }
  .blog-filter-pill {
    padding: 0.5rem 0.95rem;
    font-size: 0.72rem;
  }
  .blog-slider-viewport {
    padding: 0.25rem 0 1.25rem 0;
  }
  .editorial-retreat-item {
    flex: 0 0 85vw;
    width: 85vw;
    min-width: 85vw;
    border-radius: 14px;
  }
}

@media (max-width: 375px) {
  .blog-hub-section {
    padding: 3rem 0.85rem 3.5rem 0.85rem;
  }
  .blog-editorial-top-block {
    gap: 1rem;
    padding-bottom: 1.5rem;
  }
  .blog-editorial-hero-title {
    font-size: clamp(1.75rem, 9vw, 2.2rem);
  }
  .blog-editorial-lead-text {
    font-size: 0.9rem;
    padding-left: 1rem;
  }
  .blog-hub-hero-cta-btn {
    margin-left: 1rem;
    padding: 0.55rem 1rem;
    font-size: 0.68rem;
  }
  .blog-filter-pill {
    padding: 0.45rem 0.8rem;
    font-size: 0.68rem;
  }
  .blog-filter-pill-nav {
    padding: 0.35rem 0.4rem;
  }
  .blog-status-bar {
    font-size: 0.72rem;
  }
  .blog-count-badge {
    padding: 0.2rem 0.6rem;
  }
  .blog-slider-viewport {
    padding: 0.2rem 0 1rem 0;
  }
  .editorial-retreat-item {
    flex: 0 0 90vw;
    width: 90vw;
    min-width: 90vw;
    border-radius: 12px;
  }
  .retreat-spot-title {
    font-size: 0.95rem;
  }
  .retail-card-content {
    padding: 1rem 1rem 0.9rem 1rem;
  }
}

/* Extra small mobile fixes for blog filter pills */
@media (max-width: 320px) {
  .blog-filter-pill-nav {
    padding: 0.3rem 0.3rem;
    gap: 0.25rem;
  }

  .blog-filter-pill {
    padding: 0.4rem 0.7rem;
    font-size: 0.62rem;
  }

  .blog-pill-icon svg {
    width: 13px;
    height: 13px;
  }

  .blog-status-bar {
    font-size: 0.68rem;
  }

  .blog-count-badge {
    padding: 0.15rem 0.5rem;
    font-size: 0.65rem;
  }

  .blog-filter-state {
    font-size: 0.65rem;
  }

  .blog-slider-arrow {
    width: 32px;
    height: 32px;
  }

  .blog-slider-page-info {
    font-size: 0.7rem;
  }
}

/* Touch support for blog cards on mobile */
@media (hover: none) and (pointer: coarse) {
  .editorial-retreat-item {
    pointer-events: auto;
  }
  .retreat-spot-meta {
    opacity: 1;
    max-height: 40px;
    transform: translateY(0);
    pointer-events: auto;
    margin-bottom: 0.45rem;
  }
  .retreat-spot-snippet {
    opacity: 1;
    max-height: 60px;
    transform: translateY(0);
    pointer-events: auto;
    margin-top: 0.45rem;
  }
  .retreat-spot-tag::before {
    background-color: #FFFFFF;
  }
  .retreat-spot-title {
    color: var(--color-mustard, #FFDB58);
  }
  .retreat-spot-cta {
    color: var(--color-mustard, #FFDB58);
  }
  .retreat-spot-arrow {
    background: var(--color-sapphire);
    border-color: var(--color-sapphire);
    color: #FFFFFF;
    transform: translate(2px, -2px);
  }
  .retreat-spot-arrow svg {
    transform: rotate(0deg);
  }
  .editorial-retreat-item .retreat-card-scrim::after {
    opacity: 1;
  }
  .editorial-retreat-item .retreat-card-img {
    transform: scale(1.08);
  }
}

/* ==========================================================================
   MACRO CATEGORÍAS REDUCIDAS MINIMALISTAS (DEBAJO DE LAS CARDS DE SECCIÓN 3)
   ========================================================================== */

.blog-macro-categories-bar {
  width: 100%;
  max-width: 1360px;
  margin: clamp(2.5rem, 5vh, 4rem) auto 0 auto;
  padding-top: clamp(1.5rem, 3.5vh, 2.5rem);
  border-top: 1px solid rgba(30, 30, 30, 0.09);
  position: relative;
  z-index: 10;
  box-shadow: none;
}

/* ==========================================================================
   8 CUADRITOS DE CATEGORÍAS CON IMÁGENES (¿Qué hacer?, ¿A dónde ir?, etc.)
   ========================================================================== */
.blog-quick-categories-wrap {
  width: 100%;
  margin-bottom: clamp(1.8rem, 3.5vh, 2.5rem);
}

.blog-quick-categories-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(8px, 1vw, 14px);
  width: 100%;
}

.blog-quick-cat-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 120px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0;
  background: #111827;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.25s ease;
  outline: none;
}

.blog-quick-cat-card:hover {
  transform: translateY(-4px);
  border-color: #0F52BA;
  box-shadow: 0 10px 24px rgba(15, 82, 186, 0.2);
}

.quick-cat-img-box {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.quick-cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-quick-cat-card:hover .quick-cat-img-box img {
  transform: scale(1.1);
}

.quick-cat-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.45) 45%, rgba(10, 15, 26, 0.9) 100%);
  transition: background 0.25s ease;
}

.blog-quick-cat-card:hover .quick-cat-scrim {
  background: linear-gradient(180deg, rgba(15, 82, 186, 0.25) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(10, 15, 26, 0.95) 100%);
}

.quick-cat-overlay-text {
  position: relative;
  z-index: 2;
  padding: clamp(0.55rem, 0.8vw, 0.8rem);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  width: 100%;
  box-sizing: border-box;
}

.quick-cat-tag {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #FFDB58;
  text-transform: uppercase;
}

.quick-cat-name {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(0.72rem, 0.88vw, 0.86rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.01em;
}

.quick-cat-arrow {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.25s ease, color 0.25s ease;
}

.blog-quick-cat-card:hover .quick-cat-arrow {
  transform: translate(2px, -2px);
  color: #FFDB58;
}

@media (max-width: 1200px) {
  .blog-quick-categories-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .blog-quick-categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .blog-quick-cat-card {
    aspect-ratio: 1.05 / 1;
  }
}

.blog-macro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  width: 100%;
}

.blog-macro-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.95rem;
  padding: 0.9rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid rgba(30, 30, 30, 0.12);
  border-radius: 14px;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  box-shadow: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  outline: none;
}

.blog-macro-box:hover {
  border-color: var(--color-sapphire-blue, #0F52BA);
  background-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: none;
}

.blog-macro-box.is-active {
  border-color: var(--color-sapphire-blue, #0F52BA);
  background-color: rgba(15, 82, 186, 0.04);
}

.blog-macro-icon-wrap {
  width: 38px;
  height: 38px;
  min-width: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(15, 82, 186, 0.08);
  color: var(--color-sapphire-blue, #0F52BA);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
  box-shadow: none;
}

.blog-macro-box:hover .blog-macro-icon-wrap,
.blog-macro-box.is-active .blog-macro-icon-wrap {
  background: var(--color-sapphire-blue, #0F52BA);
  color: #FFFFFF;
  transform: scale(1.05);
}

.blog-macro-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.blog-macro-num {
  font-family: var(--font-primary, 'Space Grotesk', sans-serif);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-sapphire-blue, #0F52BA);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.blog-macro-title {
  font-family: var(--font-primary, 'Space Grotesk', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #1E1E1E;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-macro-sub {
  font-family: var(--font-secondary, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(30, 30, 30, 0.6);
  line-height: 1.2;
  margin-top: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-macro-arrow {
  font-family: var(--font-primary, 'Space Grotesk', sans-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(30, 30, 30, 0.35);
  margin-left: auto;
  line-height: 1;
  transition: transform 0.25s ease, color 0.25s ease;
}

.blog-macro-box:hover .blog-macro-arrow,
.blog-macro-box.is-active .blog-macro-arrow {
  transform: translate(2px, -2px);
  color: var(--color-sapphire-blue, #0F52BA);
}

@media (max-width: 960px) {
  .blog-macro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

@media (max-width: 580px) {
  .blog-macro-categories-bar {
    margin-top: 2rem;
    padding-top: 1.25rem;
  }
  .blog-macro-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .blog-macro-box {
    padding: 0.65rem 0.8rem;
    gap: 0.65rem;
    border-radius: 11px;
  }
  .blog-macro-icon-wrap {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }
  .blog-macro-icon-wrap svg {
    width: 15px;
    height: 15px;
  }
  .blog-macro-num {
    font-size: 0.58rem;
  }
  .blog-macro-title {
    font-size: 0.72rem;
  }
  .blog-macro-sub {
    font-size: 0.62rem;
  }
  .blog-macro-arrow {
    display: none;
  }
}

/* ==========================================================================
   SECCIÓN 4: MANIFIESTO DESTINO SALENTO (SCROLLYTELLING Y VIDEO MORPH)
   ========================================================================== */

.manifiesto-scroll-track {
  position: relative;
  width: 100%;
  height: 350vh;
  background-color: #0E1116; /* Negro carbón noche */
  color: var(--color-snow, #FFFAFA);
  z-index: 40;
}

.manifiesto-pinned-section {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0E1116;
  padding: 0;
  box-sizing: border-box;
}

/* Efecto de Luz Amarilla Radiante de Fondo */
.manifiesto-ambient-yellow-light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: clamp(350px, 60vw, 750px);
  height: clamp(350px, 45vw, 550px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 219, 88, 0.8) 0%, rgba(255, 219, 88, 0.38) 40%, rgba(255, 219, 88, 0.1) 65%, transparent 80%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 6; /* Por detrás del video y del texto */
  opacity: 0;
  will-change: transform, opacity;
}

/* ==========================================================================
   MÓDULO DE TRANSFORMACIÓN GEOMÉTRICA (POR ENCIMA DEL TEXTO)
   CUADRO -> RECTÁNGULO VERTICAL -> RECTÁNGULO HORIZONTAL (VIDEO)
   ========================================================================== */

.manifiesto-morph-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 30; /* Por ENCIMA de las letras de DESTINO y SALENTO (z-index 10) */
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifiesto-morph-container {
  position: relative;
  width: 24px;
  height: 24px;
  max-width: 95vw;
  max-height: 84vh;
  border-radius: 999px;
  background-color: var(--color-mustard, #FFDB58);
  box-shadow: none;
  transform: scale(0);
  opacity: 0;
  overflow: hidden;
  will-change: width, height, transform, opacity;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifiesto-morph-halo {
  position: absolute;
  inset: -15px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 219, 88, 0.7) 0%, rgba(255, 219, 88, 0) 75%);
  pointer-events: none;
  z-index: 1;
}

.manifiesto-video-module {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  opacity: 0;
  z-index: 2;
  background-color: #0E1116;
  transition: opacity 0.18s ease-out;
}

/* Portada / Poster del Manifiesto: Estilo Editorial Centrado */
.manifiesto-video-poster {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.manifiesto-video-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.manifiesto-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.manifiesto-morph-container:hover .manifiesto-poster-img {
  transform: scale(1.03);
}

.manifiesto-poster-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 17, 22, 0.5) 0%, rgba(14, 17, 22, 0.88) 100%),
              linear-gradient(to top, rgba(14, 17, 22, 0.8) 0%, transparent 60%);
  z-index: 2;
}

.manifiesto-poster-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 780px;
  width: 100%;
  gap: clamp(1.2rem, 3.2vh, 2.4rem);
}

.manifiesto-poster-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-transform: uppercase;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 219, 88, 0.2);
  margin: 0;
}

/* Botón de Play Circular Editorial Centrado */
.manifiesto-play-btn {
  width: clamp(66px, 8vw, 84px);
  height: clamp(66px, 8vw, 84px);
  border-radius: 50%;
  background: rgba(14, 17, 22, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 2px solid var(--color-mustard, #FFDB58);
  color: var(--color-mustard, #FFDB58);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease,
              color 0.28s ease,
              border-color 0.28s ease;
}

.manifiesto-play-btn:hover {
  transform: scale(1.12);
  background: var(--color-mustard, #FFDB58);
  color: #111418;
  border-color: var(--color-mustard, #FFDB58);
  box-shadow: none;
}

.manifiesto-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px; /* Centrado óptico exacto del triángulo */
  color: inherit;
  transition: transform 0.25s ease;
}

.manifiesto-play-icon svg {
  display: block;
}

.manifiesto-play-btn:hover .manifiesto-play-icon {
  transform: scale(1.08);
}

/* Reproductor de Video Nativo */
.manifiesto-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 4;
  background: #000000;
}

.manifiesto-video-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}

.manifiesto-video-close:hover {
  background: var(--color-mustard, #FFDB58);
  color: #111418;
  transform: scale(1.1);
}

/* ==========================================================================
   GRILLA EDITORIAL TIPOGRÁFICA (POR DEBAJO DEL VIDEO EXPANDIDO)
   ========================================================================== */

.manifiesto-typography-grid {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Junta las palabras en el centro vertical */
  gap: clamp(0rem, 0.4vh, 0.6rem); /* Espacio mínimo y cohesionado entre DESTINO y SALENTO */
  padding: clamp(2rem, 4vh, 3.5rem) clamp(2rem, 5vw, 5.5rem);
  box-sizing: border-box;
  pointer-events: none; /* Permite clicks a través hacia el botón de reproducción */
  z-index: 10; /* Por DEBAJO del video (z-index: 30) cuando este se expande */
}

.manifiesto-top-row,
.manifiesto-bottom-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.manifiesto-top-row {
  align-items: flex-end;
  margin-bottom: 0;
}

.manifiesto-bottom-row {
  align-items: flex-start;
  margin-top: 0;
}

.manifiesto-word-wrap {
  overflow: visible;
  pointer-events: none;
  will-change: transform, opacity;
  line-height: 0.88; /* Altura de línea compacta para unir estrechamente ambas palabras */
}

.manifiesto-word-left {
  text-align: left;
}

.manifiesto-word-right {
  text-align: right;
  margin-left: auto;
  padding-right: clamp(0.6rem, 1.5vw, 2rem); /* Margen protector para que la curva de la O nunca se recorte */
  box-sizing: border-box;
}

.manifiesto-giant-text {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(3.2rem, 9.2vw, 11rem);
  font-weight: 800;
  line-height: 0.88; /* Palabras compactas y unidas verticalmente */
  letter-spacing: -0.035em;
  color: #EDE8DF;
  text-transform: uppercase;
  display: block;
  user-select: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

/* Complemento Superior: Sello Postal Girando Continuamente */
.manifiesto-complementary-top {
  pointer-events: auto;
  opacity: 0;
  transform: translateY(-20px);
  will-change: opacity, transform;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.manifiesto-stamp-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifiesto-postal-seal {
  position: relative;
  width: clamp(92px, 9.5vw, 135px);
  height: clamp(92px, 9.5vw, 135px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.manifiesto-seal-svg {
  width: 100%;
  height: 100%;
  animation: spinSeal 18s linear infinite;
  transform-origin: center;
}

@keyframes spinSeal {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.manifiesto-seal-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(1.1rem, 1.35vw, 1.45rem);
  font-weight: 800;
  color: var(--color-mustard, #FFDB58);
  letter-spacing: -0.02em;
}

/* Complemento Inferior: Coordenadas */
.manifiesto-complementary-bottom {
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
}

.manifiesto-coords-block {
  display: flex;
  flex-direction: column;
}

.manifiesto-coords-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.manifiesto-coord-item {
  font-family: var(--font-mono, 'Space Grotesk', monospace);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(237, 232, 223, 0.65);
}

.manifiesto-coord-tag {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-mustard, #FFDB58);
  margin-top: 0.25rem;
}

/* ==========================================================================
   RESPONSIVIDAD SECCIÓN 4 (MANIFIESTO) Y ADAPTACIÓN MÓVIL
   ========================================================================== */

@media (max-width: 1024px) {
  .manifiesto-scroll-track {
    height: 310vh;
  }
  .manifiesto-giant-text {
    font-size: clamp(3.2rem, 11vw, 7.5rem);
  }
  .manifiesto-typography-grid {
    padding: clamp(2.5rem, 5vh, 4rem) clamp(2rem, 4vw, 4rem);
  }
}

@media (max-width: 768px) {
  .manifiesto-scroll-track {
    height: 260vh; /* Desplazamiento ágil y cómodo para pantallas táctiles */
  }

  .manifiesto-typography-grid {
    padding: clamp(1.5rem, 4vh, 2.5rem) clamp(1.2rem, 4vw, 2rem);
    justify-content: center;
    gap: 0.2rem;
    position: absolute;
    inset: 0;
    overflow: visible; /* Elimina overflow: hidden para que no corte nada */
  }

  /* Sello giratorio: Ubicado con gracia editorial en la zona superior derecha, con más tamaño pero equilibrado */
  .manifiesto-complementary-top {
    position: absolute;
    top: clamp(2.8rem, 6.5vh, 4.5rem);
    right: clamp(1.4rem, 5vw, 2.6rem);
    z-index: 15;
    margin: 0;
    display: flex;
    justify-content: flex-end;
  }

  .manifiesto-postal-seal {
    width: clamp(74px, 18.5vw, 92px); /* Con más tamaño pero no tanto (antes 58-76px / 56px) */
    height: clamp(74px, 18.5vw, 92px);
  }

  .manifiesto-seal-center {
    font-size: clamp(1.05rem, 3.2vw, 1.25rem); /* Aumentado proporcionalmente para nitidez */
  }

  /* Coordenadas situadas en la zona inferior izquierda con presencia editorial */
  .manifiesto-complementary-bottom {
    position: absolute;
    bottom: clamp(2.8rem, 6.5vh, 4.5rem);
    left: clamp(1.4rem, 5vw, 2.6rem);
    z-index: 15;
    margin: 0;
    max-width: min(85vw, 360px);
  }

  .manifiesto-coords-meta {
    gap: 0.35rem;
  }

  .manifiesto-coord-item {
    font-size: clamp(0.76rem, 2.3vw, 0.85rem); /* Con más tamaño para ser legible y nítido */
    letter-spacing: 0.1em;
    color: rgba(237, 232, 223, 0.82);
    display: block !important;
  }

  .manifiesto-coord-tag {
    font-size: clamp(0.72rem, 2.1vw, 0.8rem);
    letter-spacing: 0.12em;
    margin-top: 0.3rem;
  }

  /* Filas de palabras: toman el ancho completo sin competir horizontalmente */
  .manifiesto-top-row,
  .manifiesto-bottom-row {
    display: block;
    width: 100%;
    margin: 0;
  }

  .manifiesto-word-wrap {
    width: 100%;
    line-height: 0.88;
    overflow: visible;
  }

  .manifiesto-word-left {
    text-align: left;
  }

  .manifiesto-word-right {
    text-align: right;
    margin-left: 0;
    padding-right: 0.15em; /* Margen de seguridad para que la O no se corte */
  }

  .manifiesto-giant-text {
    font-size: clamp(2.6rem, 13vw, 4.4rem);
    line-height: 0.88;
    white-space: nowrap;
    padding-right: 0.08em; /* Protección para la O */
  }

  /* Adaptación del video y su portada en móviles */
  .manifiesto-morph-container {
    max-width: 90vw;
    max-height: 48vh;
  }

  .manifiesto-poster-content {
    padding: 0.75rem 1rem;
    gap: 0.65rem;
  }

  .manifiesto-poster-title {
    font-size: clamp(1.15rem, 4.8vw, 1.6rem);
    line-height: 1.12;
  }

  .manifiesto-play-btn {
    width: 48px;
    height: 48px;
  }

  .manifiesto-play-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .manifiesto-scroll-track {
    height: 240vh;
  }

  .manifiesto-typography-grid {
    padding: 1.2rem;
    gap: 0.15rem;
    overflow: visible;
  }

  .manifiesto-giant-text {
    font-size: clamp(2.35rem, 12.5vw, 3.6rem);
    padding-right: 0.1em;
  }

  .manifiesto-postal-seal {
    width: 76px; /* Con tamaño generoso y legible, ya no diminuto ni perdido */
    height: 76px;
  }

  .manifiesto-seal-center {
    font-size: 1.05rem;
  }

  .manifiesto-coord-item {
    font-size: 0.74rem;
    display: block !important;
  }

  .manifiesto-coord-tag {
    font-size: 0.7rem;
  }

  .manifiesto-poster-title {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
  }

  .manifiesto-play-btn {
    width: 44px;
    height: 44px;
  }

  .manifiesto-play-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 375px) {
  .manifiesto-scroll-track {
    height: 220vh;
  }

  .manifiesto-typography-grid {
    padding: 1rem;
    gap: 0.1rem;
  }

  .manifiesto-giant-text {
    font-size: clamp(2.1rem, 13vw, 3.2rem);
    padding-right: 0.08em;
  }

  .manifiesto-postal-seal {
    width: 70px;
    height: 70px;
  }

  .manifiesto-seal-center {
    font-size: 0.95rem;
  }

  .manifiesto-coord-item {
    font-size: 0.7rem;
  }

  .manifiesto-coord-tag {
    font-size: 0.65rem;
  }

  .manifiesto-poster-content {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
  }

  .manifiesto-poster-title {
    font-size: clamp(1rem, 5vw, 1.2rem);
  }

  .manifiesto-play-btn {
    width: 40px;
    height: 40px;
  }

  .manifiesto-play-icon svg {
    width: 16px;
    height: 16px;
  }

  .manifiesto-morph-container {
    max-width: 95vw;
    max-height: 45vh;
  }
}

/* ==========================================================================
   SECCIÓN 5: CALL TO ACTION EDITORIAL HORIZONTAL — CREMA & SANGRADO DIAGONAL
   Franja al 100% de ancho con fondo crema, sin bordes, posicionada en la unión
   entre secciones, con bandas fotográficas diagonales sangradas al borde.
   ========================================================================== */

.horizontal-cta-track {
  position: relative;
  width: 100%;
  height: 480vh; /* Pista de scroll: 280vh para fases CTA + 100vh para superposición parallax de Microrelatos */
  margin-top: 0;
  padding: 0;
  box-sizing: border-box;
  /* Fondo dividido en dos mitades exactas: Manifiesto (#0E1116) arriba y Directorio (#FFFFFF) abajo */
  background: linear-gradient(to bottom, #0E1116 0%, #0E1116 50%, #FFFFFF 50%, #FFFFFF 100%);
  z-index: 55;
  pointer-events: none;
}

/* Marco Sticky que centra la franja flotante en la pantalla sobre la unión exacta de ambas secciones */
.horizontal-cta-sticky-frame {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  /* El fondo de pantalla muestra la mitad superior oscura del Manifiesto y la mitad inferior blanca */
  background: linear-gradient(to bottom, #0E1116 0%, #0E1116 50%, #FFFFFF 50%, #FFFFFF 100%);
  z-index: 60;
  box-sizing: border-box;
}

/* Franja Horizontal al 100% del Ancho Disponible (Fondo Crema Editorial Cálido, Sin Bordes) */
.horizontal-cta-card {
  pointer-events: auto;
  position: relative;
  width: 100vw; /* El fondo ocupa el 100% del ancho disponible de borde a borde */
  height: clamp(340px, 42vh, 440px);
  background-color: #EFE8DC; /* Tono Crema editorial cálido distintivo (no blanco) */
  border: none !important; /* Sin bordes */
  border-radius: 0; /* Franja pura de lado a lado */
  box-shadow: none !important;
  overflow: hidden;
  box-sizing: border-box;
  transform: translateX(var(--banner-x, 105vw));
  will-change: transform;
  z-index: 65;
}

/* Borde Inferior Azul Dinámico del Call to Action (Entrada y Salida en Contraflujo) */
.horizontal-cta-bottom-line {
  position: absolute;
  top: calc(50% + (var(--cta-card-h, clamp(340px, 42vh, 440px)) / 2) - clamp(5px, 0.6vw, 7px));
  left: 0;
  width: 100vw;
  height: clamp(5px, 0.6vw, 7px);
  background: #0F52BA; /* Azul Zafiro Oficial */
  background: linear-gradient(90deg, #0F52BA 0%, #2563EB 50%, #0F52BA 100%);
  box-shadow: none;
  z-index: 70;
  pointer-events: none;
  transform: translateX(var(--cta-line-x, -105vw));
  will-change: transform;
}

/* Contenedor interior centrado: SOLO para alinear el texto dentro de la grilla */
.horizontal-cta-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(2rem, 5vw, 6rem);
  padding-right: 2rem;
  position: relative;
  z-index: 10;
  pointer-events: none; /* Permite interacción sólo en los elementos activos */
  box-sizing: border-box;
}

/* Columna Izquierda: Mensaje Editorial Inspirador & Llamado a la Acción */
.horizontal-cta-content {
  pointer-events: auto;
  flex: 0 0 auto;
  width: min(640px, 50vw);
  max-width: 640px;
  padding: clamp(1.5rem, 2.5vw, 2.5rem) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  background-color: transparent;
  box-sizing: border-box;
  z-index: 10;
  position: relative;
  will-change: transform;
}

.horizontal-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #767E8C;
  margin-bottom: 0.6rem;
}

.horizontal-cta-badge .badge-icon {
  color: var(--color-sapphire-blue, #0F52BA);
  font-size: 0.72rem;
  line-height: 1;
}

.horizontal-cta-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(1.9rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #16191E;
  margin: 0 0 0.8rem 0;
  padding: 0;
}

.horizontal-cta-title span {
  display: block;
}

.horizontal-cta-title .title-highlight {
  color: var(--color-sapphire-blue, #0F52BA);
}

.horizontal-cta-desc {
  font-family: var(--font-body, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: #4D5564;
  margin: 0 0 1.5rem 0;
  max-width: 560px;
}

.horizontal-cta-actions {
  display: flex;
  align-items: center;
}

.cta-banner-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  background-color: var(--color-sapphire-blue, #0F52BA);
  color: #FFFFFF;
  border: 1px solid var(--color-sapphire-blue, #0F52BA);
  border-radius: 999px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.cta-banner-btn-primary:hover {
  background-color: #0B4296;
  transform: translateY(-2px);
}

.cta-banner-btn-primary .btn-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.cta-banner-btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Columna Derecha: Bandas Diagonales SANGRADAS DIRECTO AL BORDE DE LA PANTALLA */
.horizontal-cta-visual {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 54vw;
  min-width: 580px;
  height: 100%;
  overflow: hidden;
  background: transparent;
  pointer-events: none;
  z-index: 2;
}

/* Sutil difuminado en la unión con el texto */
.horizontal-cta-visual::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  z-index: 6;
  pointer-events: none;
  background: linear-gradient(90deg, #EFE8DC 0%, rgba(239, 232, 220, 0.6) 50%, transparent 100%);
}

/* Rejilla de Bandas en Diagonal Sangrada al Borde */
.photo-bands-grid {
  position: absolute;
  top: -65%;
  right: -90px;
  width: calc(100% + 220px);
  height: 235%;
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  gap: 18px;
  transform: rotate(-15deg); /* Inclinación diagonal visible */
  transform-origin: 90% 50%;
  box-sizing: border-box;
}

.photo-band-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  will-change: transform;
  box-sizing: border-box;
}

.photo-band-up-1 {
  transform: translateY(var(--band-up-1, 60px));
}

.photo-band-down {
  transform: translateY(var(--band-down, -260px));
}

.photo-band-up-2 {
  transform: translateY(var(--band-up-2, 90px));
}

.photo-band-card {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #E2DACD;
  border: none !important; /* Sin bordes */
  box-shadow: none !important;
  flex-shrink: 0;
  box-sizing: border-box;
}

.photo-band-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   RESPONSIVIDAD SECCIÓN 5 BANNER HORIZONTAL CREMA
   ========================================================================== */

@media (max-width: 992px) {
  .horizontal-cta-container {
    padding-left: 2rem;
    padding-right: 1.5rem;
  }

  .horizontal-cta-content {
    width: min(520px, 52vw);
    max-width: 520px;
  }

  .horizontal-cta-visual {
    width: 50vw;
    min-width: 440px;
  }

  .photo-bands-grid {
    top: -55%;
    right: -60px;
    width: calc(100% + 150px);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .horizontal-cta-track {
    height: 320vh;
    margin-top: -15vh;
  }

  .horizontal-cta-card {
    height: auto;
    min-height: 480px;
    display: flex;
    flex-direction: column;
  }

  .horizontal-cta-container {
    flex-direction: column;
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    height: auto;
  }

  .horizontal-cta-content {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .horizontal-cta-visual {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    min-width: 0;
    height: 240px;
    margin-top: 1rem;
  }

  .horizontal-cta-visual::before {
    display: none;
  }

  .photo-bands-grid {
    top: -40%;
    right: -10%;
    width: 120%;
    height: 180%;
    transform: rotate(-12deg);
  }

  .horizontal-cta-title {
    font-size: 1.6rem;
  }

  .horizontal-cta-actions {
    width: 100%;
  }

  .cta-banner-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .horizontal-cta-track {
    height: 280vh;
    margin-top: -10vh;
  }

  .horizontal-cta-container {
    padding: 1.75rem 1rem 1rem 1rem;
  }

  .horizontal-cta-badge {
    font-size: 0.68rem;
  }

  .horizontal-cta-title {
    font-size: 1.4rem;
  }

  .horizontal-cta-desc {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .cta-banner-btn-primary {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  .horizontal-cta-visual {
    height: 200px;
  }

  .photo-bands-grid {
    top: -30%;
    right: -5%;
    width: 110%;
    height: 160%;
    gap: 10px;
    transform: rotate(-10deg);
  }

  .photo-band-card {
    aspect-ratio: 4 / 3;
    border-radius: 8px;
  }
}

@media (max-width: 375px) {
  .horizontal-cta-track {
    height: 260vh;
  }

  .horizontal-cta-container {
    padding: 1.5rem 0.85rem 0.85rem 0.85rem;
  }

  .horizontal-cta-badge {
    font-size: 0.62rem;
  }

  .horizontal-cta-title {
    font-size: 1.25rem;
  }

  .horizontal-cta-desc {
    font-size: 0.85rem;
  }

  .cta-banner-btn-primary {
    padding: 0.7rem 1.25rem;
    font-size: 0.75rem;
  }

  .horizontal-cta-visual {
    height: 180px;
  }

  .photo-bands-grid {
    top: -25%;
    right: 0%;
    width: 105%;
    height: 150%;
    gap: 8px;
    transform: rotate(-8deg);
  }
}

/* ==========================================================================
   SECCIÓN 6: MICRORELATOS — HISTORIAS EN VERTICAL TIPO INSTAGRAM
   Fondo Blanco Puro (#FFFFFF) en contraste con el banner crema anterior.
   Columna izquierda: Teléfono 9:16 interactivo.
   Columna derecha: Narrativa editorial, testimonio y carrusel de burbujas.
   ========================================================================== */

/* Track de scroll para anclaje sticky de Microrelatos y telón Parallax del Footer */
.microrelatos-pinned-track {
  position: relative;
  width: 100%;
  height: 200vh;
  margin-top: -100vh; /* Efecto Parallax Telón: asciende y se superpone a la Sección 5 */
  z-index: 80;
}

.microrelatos-section {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #FFFFFF;
  color: #0F172A;
  padding: clamp(2rem, 4vh, 3.5rem) clamp(2rem, 5vw, 6rem);
  box-sizing: border-box;
  z-index: 80;
  box-shadow: 0 -35px 80px rgba(15, 23, 42, 0.16), 0 -12px 30px rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  overflow: visible;
}

.microrelatos-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(var(--micro-parallax-y, 0px)) scale(var(--micro-scale, 1));
  opacity: var(--micro-opacity, 1);
  will-change: transform, opacity;
  transition: transform 0.08s ease-out, opacity 0.08s ease-out;
}

/* Escenario Principal: Grid 2 Columnas (Video a la izquierda + Narrativa y título a la derecha) */
.microrelatos-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  width: 100%;
}

/* Columna Izquierda: Tarjeta Vertical de Teléfono con mayor altura y anchura */
.microrelatos-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.microrelatos-phone-card {
  position: relative;
  height: clamp(340px, 68vh, 640px);
  width: auto;
  aspect-ratio: 9 / 16;
  border-radius: 36px;
  overflow: hidden;
  background: #000000;
  box-shadow: 
    0 28px 70px -14px rgba(15, 23, 42, 0.32),
    0 12px 28px -6px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  user-select: none;
}

.microrelatos-phone-card:hover,
.microrelatos-phone-card:focus-visible {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 
    0 36px 80px -16px rgba(15, 82, 186, 0.32),
    0 14px 30px -6px rgba(15, 23, 42, 0.2),
    0 0 0 2px #0F52BA;
}

.phone-media-frame {
  position: absolute;
  inset: 0; 
  width: 100%;
  height: 100%;
}

.phone-media-poster,
.phone-media-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease;
}

.phone-media-video {
  opacity: 0;
}

.microrelatos-phone-card:hover .phone-media-video {
  opacity: 1;
}

.microrelatos-phone-card:hover .phone-media-poster {
  opacity: 0.15;
}

.phone-media-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.1) 25%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.4) 75%,
    rgba(0, 0, 0, 0.88) 100%
  );
  pointer-events: none;
}

/* Barra Superior de la Historia en la tarjeta previa */
.phone-story-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem 0.75rem;
  z-index: 10;
}

.phone-progress-segments {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-bottom: 1rem;
}

.phone-progress-seg {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.phone-progress-seg.active .phone-progress-fill {
  width: 100%;
}

.phone-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 999px;
  transition: width 0.3s ease;
}

.phone-author-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.phone-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0F52BA, #10B981, #FFDB58);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.phone-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.phone-author-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex: 1;
  min-width: 0;
}

.phone-author-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.phone-author-role {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.phone-live-pill {
  font-family: var(--font-mono, monospace);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border-radius: 999px;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Botón Central Líquido Play */
.phone-play-trigger {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
  pointer-events: none;
}

.phone-play-btn-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #0F52BA;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 12px 30px rgba(0, 0, 0, 0.4),
    0 0 0 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
  animation: phonePulseRings 2.4s infinite cubic-bezier(0.25, 0, 0, 1);
}

.phone-play-btn-circle svg {
  margin-left: 3px;
  transition: transform 0.25s ease;
}

.microrelatos-phone-card:hover .phone-play-btn-circle {
  transform: scale(1.15);
  background: #FFDB58;
  color: #0F172A;
}

.microrelatos-phone-card:hover .phone-play-btn-circle svg {
  transform: scale(1.1);
}

@keyframes phonePulseRings {
  0% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0.6);
  }
  70% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 20px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.phone-play-label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

/* Pie de la Tarjeta Vertical */
.phone-story-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  z-index: 10;
}

.phone-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
  max-width: 70%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-location-pill svg {
  color: #FFDB58;
  flex-shrink: 0;
}

.phone-duration-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

/* Columna Derecha: Encabezado de Sección + Narrativa Editorial + Selector */
.microrelatos-editorial-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  height: 100%;
  gap: clamp(1.5rem, 3vh, 3rem);
  min-width: 0;
}

/* Encabezado Editorial de Sección (a la derecha del video) */
.microrelatos-header {
  margin-bottom: 0;
  flex-shrink: 0;
}

.microrelatos-tag-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem; /* Margen aumentado debajo del tag [ 05 // VOCES DE SALENTO ] */
}

.microrelatos-bracket-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F52BA;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.microrelatos-title-row {
  display: flex;
  align-items: baseline;
}

.microrelatos-main-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(1.7rem, 2.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.22; /* Alto de línea más holgado */
  letter-spacing: -0.03em;
  color: #0F172A;
  margin: 0;
  text-transform: uppercase;
}

.microrelatos-main-title span {
  display: block;
}

.microrelatos-main-title .title-highlight {
  color: #0F52BA;
  font-weight: 800;
  display: block;
  margin-top: 0.35rem; /* Separación entre líneas del título principal */
}

.editorial-story-card {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vh, 1.5rem); /* Margen aumentado entre kicker, título, cita y narrador */
  padding-top: clamp(1.2rem, 2.4vh, 2rem); /* Margen superior ampliado */
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.editorial-story-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono, monospace);
  font-size: 0.78rem;
  font-weight: 800;
  color: #0F52BA;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.story-kicker-dot {
  color: #FFB800;
}

.editorial-story-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(1.45rem, 2.1vw, 2.25rem);
  font-weight: 800;
  line-height: 1.28; /* Alto de línea aumentado para el título del relato */
  letter-spacing: -0.025em;
  color: #0F172A;
  margin: 0;
  transition: opacity 0.25s ease;
}

/* Cita Testimonial: Márgenes y alto de línea generosos */
.editorial-story-quote {
  margin: 0.5rem 0;
  padding: clamp(1rem, 1.8vh, 1.5rem) 1.4rem clamp(1rem, 1.8vh, 1.5rem) 1.6rem;
  border-left: 3.5px solid #0F52BA;
  background: #F8FAFC;
  border-radius: 0 14px 14px 0;
  box-shadow: none;
}

.editorial-story-quote p {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.12rem);
  font-style: italic;
  line-height: 1.75; /* Alto de línea optimizado para máxima legibilidad editorial */
  color: #1E293B;
  margin: 0;
}

.editorial-narrator-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: clamp(0.9rem, 1.6vh, 1.4rem); /* Margen superior ampliado sobre la línea divisoria */
  border-top: 1px solid #E2E8F0;
  margin-top: 0.35rem;
}

.narrator-meta-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem; /* Espaciado vertical entre nombre y rol */
}

.narrator-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0F172A;
}

.narrator-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748B;
}

/* Texto plano sin efecto pill */
.narrator-origin-tag {
  font-family: var(--font-mono, monospace);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.45;
  color: #0F52BA;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
  letter-spacing: 0.04em;
}

/* Selector de Historias (Burbujas Estilo Stories) */
.microrelatos-switcher-block {
  padding-top: clamp(1.2rem, 2.2vh, 1.8rem); /* Margen superior ampliado */
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 1.8vh, 1.5rem); /* Separación entre encabezado de historias y las burbujas */
}

.switcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.switcher-label {
  font-family: var(--font-mono, monospace);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  color: #64748B;
  text-transform: uppercase;
}

.switcher-nav-arrows {
  display: flex;
  gap: 0.5rem;
}

.switcher-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  color: #0F172A;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.switcher-arrow-btn:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.story-bubbles-track {
  display: flex;
  gap: clamp(0.9rem, 1.5vw, 1.6rem); /* Margen horizontal entre burbujas aumentado */
  overflow-x: auto;
  padding: 0.35rem 0.2rem 0.5rem;
  scrollbar-width: none;
}

.story-bubbles-track::-webkit-scrollbar {
  display: none;
}

.story-bubble-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem; /* Margen entre avatar y etiqueta de texto */
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  outline: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.story-bubble-btn:hover {
  transform: translateY(-2px);
}

.story-bubble-avatar-wrap {
  position: relative;
  width: clamp(48px, 4.4vw, 58px);
  height: clamp(48px, 4.4vw, 58px);
  border-radius: 50%;
  padding: 2.5px;
  background: #E2E8F0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.story-bubble-btn.active .story-bubble-avatar-wrap {
  background: linear-gradient(135deg, #0F52BA, #10B981, #FFDB58);
  box-shadow: 0 4px 14px rgba(15, 82, 186, 0.35);
  animation: storyRingRotate 8s linear infinite;
}

@keyframes storyRingRotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

.story-bubble-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  display: block;
}

.story-bubble-label {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35; /* Alto de línea más holgado */
  color: #64748B;
  text-align: center;
  max-width: 75px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.story-bubble-btn.active .story-bubble-label,
.story-bubble-btn:hover .story-bubble-label {
  color: #0F172A;
  font-weight: 800;
}

/* ==========================================================================
   MODAL DE MICRORELATOS: VISOR VERTICAL TIPO STORIES EN PANTALLA COMPLETA
   - Drag horizontal con física y rotación tilt.
   - Flechas inferiores Anterior / Siguiente.
   - Barra de progreso segmentada sincronizada.
   ========================================================================== */

body.stories-modal-active .editorial-header {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.stories-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow: hidden;
}

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

.stories-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 9, 14, 0.94);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  transition: background-image 0.5s ease;
  background-size: cover;
  background-position: center;
}

.stories-modal-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 9, 14, 0.88);
}

/* Contenedor Centrado */
.stories-viewer-container {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 100vw;
  max-height: 100vh;
  padding: 1rem;
  box-sizing: border-box;
}

/* Tarjeta Vertical 9:16 de la Historia */
.stories-viewer-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: min(84vh, 780px);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  background: #000000;
  box-shadow: 
    0 30px 90px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
  transform: translate3d(var(--story-drag-x, 0px), 0, 0) rotate(var(--story-drag-rot, 0deg));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
  will-change: transform;
}

.stories-viewer-card.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* Video Activo */
.story-active-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

/* Zonas de toque transparentes para navegación rápida estilo Instagram */
.story-tap-zone {
  position: absolute;
  top: 70px;
  bottom: 120px;
  z-index: 20;
}

.story-tap-prev {
  left: 0;
  width: 25%;
  cursor: pointer;
}

.story-tap-pause {
  left: 25%;
  right: 25%;
  cursor: pointer;
}

.story-tap-next {
  right: 0;
  width: 25%;
  cursor: pointer;
}

/* Barra Superior del Modal (Segmentos + Metadatos) */
.story-modal-top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.25rem 0.5rem;
  z-index: 30;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
}

.story-progress-bar-container {
  display: flex;
  gap: 5px;
  width: 100%;
  margin-bottom: 0.9rem;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.story-progress-inner {
  display: block;
  height: 100%;
  width: 0%;
  background: #FFFFFF;
  border-radius: 999px;
}

.story-progress-bar.completed .story-progress-inner {
  width: 100% !important;
}

.story-modal-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.story-modal-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.story-modal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #0F52BA, #10B981, #FFDB58);
  flex-shrink: 0;
}

.story-modal-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.story-modal-author-text {
  display: flex;
  flex-direction: column;
}

.modal-author-name {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.modal-author-loc {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.story-modal-controls-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.story-control-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.story-control-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.story-close-btn {
  font-size: 1.1rem;
  font-weight: 700;
}

/* Pie del Modal con Subtítulos y Testimonio */
.story-modal-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.5rem 1.5rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
  z-index: 25;
  pointer-events: none;
}

.modal-story-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.4rem 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.modal-story-quote {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Indicador de Pausa Centrado */
.story-pause-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

.story-pause-indicator.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Barra de Navegación Inferior (Flechas + Drag Handle + Contador) */
.stories-modal-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 420px;
  padding: 0 0.5rem;
  z-index: 30;
}

.story-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-nav-btn:hover {
  background: #FFFFFF;
  color: #0F172A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.story-drag-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: grab;
  padding: 0.3rem 0.8rem;
  user-select: none;
}

.drag-pill-handle {
  width: 38px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  transition: background 0.2s ease, width 0.2s ease;
}

.story-drag-indicator:hover .drag-pill-handle {
  background: rgba(255, 255, 255, 0.85);
  width: 46px;
}

.story-counter-text {
  font-family: var(--font-mono, monospace);
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.08em;
}

/* Responsividad para Móviles y Tablets: Preservación del Parallax Telón */
@media (max-width: 960px) {
  .microrelatos-pinned-track {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 0;
    padding-bottom: 100vh; /* Pista de scroll para que el telón del footer ascienda y cubra la sección */
    z-index: 80;
  }

  .microrelatos-section {
    position: -webkit-sticky;
    position: sticky;
    top: min(0px, calc(100vh - 100%)); /* Permite visualizar el contenido y anclarlo antes de ser cubierto */
    width: 100%;
    min-height: auto;
    height: auto;
    margin-top: 0;
    padding: 3.5rem 1.25rem 4rem;
    justify-content: flex-start;
    background-color: #FFFFFF;
    box-sizing: border-box;
    z-index: 80;
  }

  .home-page-body .editorial-footer {
    position: relative;
    width: 100%;
    margin-top: -100vh !important; /* Telón activo: asciende y cubre microrelatos en responsive */
    z-index: 90;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
  }

  .microrelatos-stage {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .microrelatos-editorial-col {
    display: contents;
  }

  .microrelatos-header {
    order: 1;
    width: 100%;
    margin-bottom: 0.25rem;
  }

  .microrelatos-visual-col {
    order: 2;
    width: 100%;
  }

  .microrelatos-phone-card {
    height: 480px;
    max-width: 270px;
    margin: 0 auto;
  }

  .editorial-story-card {
    order: 3;
    width: 100%;
    border-top: none;
    padding-top: 0;
  }

  .microrelatos-switcher-block {
    order: 4;
    width: 100%;
  }

  .editorial-story-title {
    font-size: 1.85rem;
  }

  .editorial-story-quote p {
    font-size: 1.05rem;
  }

  /* Modal en móvil ocupa la pantalla completa */
  .stories-viewer-container {
    padding: 0;
    width: 100vw;
    height: 100vh;
    gap: 0;
    justify-content: space-between;
  }

  .stories-viewer-card {
    max-width: 100vw;
    height: calc(100vh - 65px);
    border-radius: 0;
    box-shadow: none;
  }

  .stories-modal-bottom-bar {
    max-width: 100vw;
    height: 65px;
    background: rgba(0, 0, 0, 0.9);
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .microrelatos-section {
    padding: 2.5rem 1rem 3rem;
  }

  .microrelatos-header {
    margin-bottom: 0.5rem;
  }

  .microrelatos-bracket-tag {
    font-size: 0.75rem;
  }

  .microrelatos-main-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    line-height: 1.2;
  }

  .microrelatos-main-title .title-highlight {
    margin-top: 0.25rem;
  }

  .microrelatos-phone-card {
    height: 420px;
    max-width: 250px;
  }

  .phone-story-top-bar {
    padding: 1rem 1rem 0.5rem;
  }

  .phone-author-name {
    font-size: 0.8rem;
  }

  .phone-author-role {
    font-size: 0.65rem;
  }

  .phone-live-pill {
    font-size: 0.62rem;
    padding: 0.2rem 0.5rem;
  }

  .phone-play-btn-circle {
    width: 44px;
    height: 44px;
  }

  .phone-play-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.7rem;
  }

  .phone-story-footer {
    padding: 1rem;
  }

  .phone-location-pill {
    font-size: 0.7rem;
    max-width: 65%;
  }

  .phone-duration-tag {
    font-size: 0.68rem;
  }

  .editorial-story-card {
    gap: 0.7rem;
  }

  .editorial-story-kicker {
    font-size: 0.7rem;
  }

  .editorial-story-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .editorial-story-quote {
    padding: 0.85rem 1rem;
    border-left-width: 3px;
  }

  .editorial-story-quote p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .editorial-narrator-bar {
    padding-top: 0.7rem;
    gap: 0.75rem;
  }

  .narrator-name {
    font-size: 0.9rem;
  }

  .narrator-title {
    font-size: 0.75rem;
  }

  .narrator-origin-tag {
    font-size: 0.75rem;
  }

  .microrelatos-switcher-block {
    padding-top: 1rem;
    gap: 1rem;
  }

  .switcher-label {
    font-size: 0.7rem;
  }

  .switcher-arrow-btn {
    width: 28px;
    height: 28px;
  }

  .story-bubbles-track {
    gap: 0.7rem;
    padding: 0.25rem 0.1rem 0.4rem;
  }

  .story-bubble-avatar-wrap {
    width: clamp(44px, 5vw, 52px);
    height: clamp(44px, 5vw, 52px);
    padding: 2px;
  }

  .story-bubble-label {
    font-size: 0.68rem;
    max-width: 70px;
  }

  .stories-modal-bottom-bar {
    height: 60px;
    padding: 0 0.75rem;
  }

  .story-nav-btn {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
  }

  .story-drag-indicator {
    padding: 0.25rem 0.6rem;
  }

  .drag-pill-handle {
    width: 32px;
    height: 3px;
  }

  .story-counter-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 375px) {
  .microrelatos-section {
    padding: 2rem 0.85rem 2.5rem;
  }

  .microrelatos-main-title {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .microrelatos-phone-card {
    height: 380px;
    max-width: 230px;
  }

  .phone-author-name {
    font-size: 0.75rem;
  }

  .phone-author-role {
    font-size: 0.6rem;
  }

  .phone-play-btn-circle {
    width: 40px;
    height: 40px;
  }

  .phone-play-label {
    font-size: 0.65rem;
  }

  .editorial-story-title {
    font-size: 1.4rem;
  }

  .editorial-story-quote p {
    font-size: 0.85rem;
  }

  .narrator-name {
    font-size: 0.85rem;
  }

  .story-bubble-avatar-wrap {
    width: 40px;
    height: 40px;
  }

  .story-bubble-label {
    font-size: 0.64rem;
    max-width: 65px;
  }
}

/* ==========================================================================
   SISTEMA DE ADAPTABILIDAD VERTICAL (VERTICAL RESPONSIVE SYSTEM)
   Previene que secciones o contenidos queden cortados en laptops de 13",
   pantallas de baja resolución (1366x768, 1440x900) o con escalado activo (125%/150%).
   ========================================================================== */

/* Nivel 1: Altura compacta estándar (laptops de 13" - 14", ventanas intermedias: h <= 820px) */
@media (max-height: 820px) {
  /* Header sticky compacto */
  .editorial-header {
    padding: 0.85rem clamp(1.5rem, 3vw, 3.5rem);
  }

  /* Sección 2: Calibración vertical elástica */
  .sec2-pinned-section {
    padding-top: clamp(55px, 8vh, 75px);
  }

  .sec2-reveal-title {
    font-size: clamp(1.75rem, 3vw + 1.6vh, 3.2rem);
    margin-bottom: clamp(0.6rem, 1.6vh, 1.2rem);
    line-height: 1.18;
  }

  .sec2-editorial-grid {
    gap: clamp(1rem, 2.5vw, 2.5rem);
  }

  .sec2-card-1 { width: clamp(260px, 26vw + 5vh, 390px); }
  .sec2-card-2 { width: clamp(250px, 25vw + 5vh, 380px); }
  .sec2-card-3 { width: clamp(270px, 27vw + 5vh, 400px); }
  .sec2-card-4 { width: clamp(250px, 25vw + 5vh, 370px); }
  .sec2-card-5 { width: clamp(260px, 26vw + 5vh, 390px); }
  .sec2-card-6 { width: clamp(250px, 25vw + 5vh, 380px); }

  /* Sección 4 (Manifiesto): Video proporcionado sin asfixiar márgenes */
  .manifiesto-morph-container {
    max-height: 74vh;
  }

  .manifiesto-poster-title {
    font-size: clamp(1.6rem, 3.2vw + 1.2vh, 2.8rem);
  }

  .manifiesto-poster-content {
    gap: clamp(0.75rem, 2vh, 1.6rem);
  }

  .manifiesto-play-btn {
    width: clamp(54px, 6vw, 68px);
    height: clamp(54px, 6vw, 68px);
  }

  /* Sección 5 (Horizontal CTA): Franja equilibrada */
  .horizontal-cta-card {
    height: clamp(270px, 38vh, 350px);
  }

  /* Sección 6 (Microrelatos): Respiración y encuadre completo */
  .microrelatos-section {
    padding: clamp(0.75rem, 2vh, 1.8rem) clamp(1.5rem, 4vw, 5rem);
  }

  .microrelatos-stage {
    gap: clamp(1.5rem, 3.5vw, 3.5rem);
  }

  .microrelatos-phone-card {
    height: clamp(340px, 64vh, 520px);
    border-radius: 28px;
  }

  .microrelatos-editorial-col {
    gap: clamp(0.75rem, 1.8vh, 1.6rem);
  }

  .microrelatos-main-title {
    font-size: clamp(1.4rem, 2vw + 0.8vh, 2.1rem);
  }

  .editorial-story-card {
    gap: clamp(0.6rem, 1.4vh, 1rem);
    padding-top: clamp(0.75rem, 1.5vh, 1.2rem);
  }

  .editorial-story-title {
    font-size: clamp(1.25rem, 1.8vw, 1.8rem);
  }

  .editorial-story-quote {
    padding: clamp(0.65rem, 1.2vh, 0.95rem) 1.1rem;
    margin: 0.25rem 0;
  }

  .editorial-story-quote p {
    font-size: clamp(0.85rem, 0.9vw + 0.3vh, 0.98rem);
    line-height: 1.55;
  }

  .editorial-narrator-bar {
    padding-top: clamp(0.6rem, 1.2vh, 0.9rem);
    margin-top: 0.15rem;
  }

  .narrator-name {
    font-size: 0.92rem;
  }

  .narrator-title {
    font-size: 0.75rem;
  }

  .story-bubble-avatar {
    width: 44px;
    height: 44px;
  }
}

/* Nivel 2: Altura ultra compacta (laptops con escala al 150%, pantallas 1366x768 con barras: h <= 680px) */
@media (max-height: 680px) {
  .vanguard-hero {
    min-height: clamp(400px, 88vh, 560px);
    padding-bottom: 1.5rem;
  }

  .hero-meta-bar {
    margin-bottom: 0.5rem;
  }

  .sec2-pinned-section {
    padding-top: 55px;
  }

  .sec2-reveal-title {
    font-size: clamp(1.45rem, 2.6vw + 1.2vh, 2.5rem);
    margin-bottom: 0.5rem;
  }

  .sec2-card-1 { width: clamp(230px, 24vw + 4vh, 330px); }
  .sec2-card-2 { width: clamp(220px, 23vw + 4vh, 320px); }
  .sec2-card-3 { width: clamp(230px, 24vw + 4vh, 330px); }
  .sec2-card-4 { width: clamp(220px, 23vw + 4vh, 320px); }
  .sec2-card-5 { width: clamp(230px, 24vw + 4vh, 330px); }
  .sec2-card-6 { width: clamp(220px, 23vw + 4vh, 320px); }

  .manifiesto-morph-container {
    max-height: 70vh;
  }

  .horizontal-cta-card {
    height: clamp(240px, 36vh, 300px);
  }

  .microrelatos-phone-card {
    height: clamp(300px, 58vh, 440px);
    border-radius: 24px;
  }

  .microrelatos-editorial-col {
    gap: 0.6rem;
  }

  .editorial-story-quote {
    padding: 0.5rem 0.9rem;
  }

  .story-bubble-avatar {
    width: 38px;
    height: 38px;
  }
}

/* Nivel 3: Modo de seguridad para alturas extremas (h <= 550px o dispositivos apaisados extremos):
   Garantiza que el contenido jamás se quede atrapado en un sticky overflow:hidden */
@media (max-height: 550px) {
  .sec2-pinned-section,
  .manifiesto-pinned-section,
  .horizontal-cta-sticky-frame {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: visible !important;
  }

  .microrelatos-section {
    min-height: auto !important;
    overflow: visible !important;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* ==========================================================================
   FOOTER EDITORIAL DESTINO SALENTO
   - Top Montañoso Artístico: Mismo SVG de la Sección 2 en tono carbón Manifiesto (#0E1116)
   - Sin líneas divisorias oscuras, empalme subpíxel perfecto con la sección superior
   - Título Destino Salento idéntico al Hero por debajo de las montañas
   - Logo Destino Salento más grande en amarillo de marca (#FFDB58)
   - Títulos y etiquetas en amarillo de marca (#FFDB58)
   - Institución Universitaria EAM: solo el logo en blanco nítido
   - Botones táctiles de llamada directa para emergencias (bilingües, sin emojis, con iconos SVG)
   - Mapa de la Plaza Central limpio, sin marcos de coordenadas
   - Sin redes sociales ni pillows/pastillas innecesarias
   ========================================================================== */

.editorial-footer {
  position: relative;
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  color: #E2E8F0;
  overflow: visible;
  z-index: 90;
  margin-top: 0;
  box-shadow: none !important;
  border-top: none;
  --footer-title-y: 0px;
  --footer-grid-y: 0px;
}

/* Efecto Parallax Telón: asciende y cubre la sección anterior ÚNICAMENTE en la home page */
.home-page-body .editorial-footer {
  margin-top: -100vh;
}

/* En cualquier otra página (artículos, blog, conoce-salento), el footer debe fluir con normalidad sin superponerse */
body:not(.home-page-body) .editorial-footer,
.article-page-body .editorial-footer,
body.article-page-body footer.editorial-footer,
.blog-hub-page .editorial-footer,
body.blog-hub-page footer.editorial-footer,
.conoce-page .editorial-footer {
  margin-top: 0 !important;
  position: relative !important;
  z-index: 10 !important;
  box-shadow: none !important;
}

body:not(.home-page-body) .footer-mountain-top,
.article-page-body .footer-mountain-top,
.blog-hub-page .footer-mountain-top,
.conoce-page .footer-mountain-top {
  filter: none !important;
  box-shadow: none !important;
}

/* 1. Top Montañoso Artístico: Silueta oscura con cielo 100% transparente */
.footer-mountain-top {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin: 0;
  padding: 0;
  background: transparent !important;
  background-color: transparent !important;
  transform: none;
}

.footer-mountain-svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  max-height: 240px;
  margin-bottom: -1px; /* Previene fisuras entre el SVG y el cuerpo */
  filter: none;
}

/* 2. Cuerpo Principal del Footer (Fondo sólido #0E1116 que empata con la base de las montañas) */
.footer-main-body {
  background-color: #0E1116;
  color: #CBD5E1;
  padding: 2.2rem 0 3.5rem 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4.5rem);
  box-sizing: border-box;
}

/* Título Destino Salento por debajo de las montañas: 100% adaptable al contenedor, sin cortes */
.footer-hero-brand-block {
  width: 100%;
  max-width: 100%;
  container-type: inline-size;
  margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
  padding-bottom: clamp(1rem, 2vw, 1.8rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: visible; /* Nunca recorta la última letra */
  box-sizing: border-box;
  transform: translate3d(0, var(--footer-title-y, 0px), 0);
  will-change: transform;
  transition: transform 0.08s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-giant-title {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
  display: block;
}

.footer-giant-title-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  overflow: visible;
  user-select: none;
}

/* Grid de 4 Columnas con Parallax Suave */
.footer-columns-grid {
  display: grid;
  grid-template-columns: 1.35fr 1.05fr 1.35fr 1.25fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transform: translate3d(0, var(--footer-grid-y, 0px), 0);
  will-change: transform;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

/* Etiquetas y corchetes en amarillo de la marca */
.footer-col-bracket-tag {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #FFDB58;
}

.footer-col-title {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(1.2rem, 1.4vw, 1.45rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin: 0;
}

/* COLUMNA 1: Acerca del Proyecto & Logo Destino Salento */
.footer-brand-wrap {
  display: flex;
  align-items: center;
}

.footer-brand-logo {
  height: clamp(52px, 5vw, 68px);
  width: auto;
  max-width: 260px;
  object-fit: contain;
  filter: none; /* Mantiene su color amarillo original de marca (#FFDB58) */
  transition: transform 0.25s ease;
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
}

.footer-about-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94A3B8;
  margin: 0;
}

.footer-about-action {
  margin-top: 0.2rem;
}

.footer-btn-about-project {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 219, 88, 0.45);
  border-radius: 999px;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-btn-about-project:hover {
  background: #FFDB58;
  color: #0E1116;
  border-color: #FFDB58;
  box-shadow: 0 6px 20px rgba(255, 219, 88, 0.35);
  transform: translateY(-2px);
}

.footer-btn-about-project .btn-arrow {
  transition: transform 0.25s ease;
}

.footer-btn-about-project:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Alianza EAM: Solo el logo en blanco */
.footer-institution-box {
  display: flex;
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.footer-eam-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.footer-eam-logo-img {
  height: clamp(42px, 4vw, 52px);
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* Renderiza el logo en blanco puro sobre fondo oscuro */
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer-eam-link:hover .footer-eam-logo-img {
  opacity: 1;
  transform: translateY(-2px);
}

/* COLUMNA 2: Menú Rápido */
.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.86rem;
  font-weight: 600;
  color: #94A3B8;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 0.25rem 0;
}

.footer-nav-link .nav-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFDB58;
}

.footer-nav-link:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-nav-link:hover .nav-num {
  color: #FFFFFF;
}

/* COLUMNA 3: FAQs & Emergencias */
.footer-faq-accordion {
  display: flex;
  flex-direction: column;
}

.footer-faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  background: none;
  border: none;
  color: #F1F5F9;
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-faq-trigger:hover {
  color: #FFDB58;
}

.footer-faq-trigger .faq-icon {
  transition: transform 0.3s ease;
  color: #FFDB58;
  flex-shrink: 0;
}

.footer-faq-item.is-active .footer-faq-trigger .faq-icon {
  transform: rotate(180deg);
}

.footer-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s ease;
  padding: 0;
}

.footer-faq-item.is-active .footer-faq-body {
  max-height: 160px;
  padding-bottom: 0.8rem;
}

.footer-faq-body p {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

/* Directorio de Botones de Emergencia y Llamada Directa 24/7 */
.footer-emergency-directory {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.emergency-header-title {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFDB58;
}

.emergency-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

/* Botón de Llamada Táctil e Intuitivo (Ghost Plano como el del Proyecto) */
.emergency-call-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  background: transparent; /* Ghost fondo plano */
  border: 1px solid rgba(255, 219, 88, 0.35); /* Borde amarillo suave como el del proyecto */
  border-radius: 999px; /* Formato pill como el del proyecto */
  text-decoration: none;
  color: #F8FAFC;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
  cursor: pointer;
}

.emergency-call-btn:hover {
  background: #FFDB58; /* Fondo plano amarillo como el del proyecto */
  border-color: #FFDB58;
  color: #0E1116;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 219, 88, 0.28);
}

.emergency-call-btn:active {
  transform: translateY(0);
}

.emergency-call-btn:hover .call-btn-label {
  color: #0E1116;
}

.emergency-call-btn:hover .call-btn-num {
  color: #1A202C;
}

.call-btn-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 219, 88, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #FFDB58;
  transition: all 0.2s ease;
}

.emergency-call-btn:hover .call-btn-icon-wrap {
  border-color: #0E1116;
  color: #0E1116;
  background: transparent;
}

.call-btn-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  gap: 0.15rem;
}

.call-btn-label {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #F8FAFC;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.call-btn-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  font-weight: 600;
  color: #FFDB58;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.call-btn-action {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255, 219, 88, 0.4);
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.68rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.emergency-call-btn:hover .call-btn-action {
  background: #0E1116;
  color: #FFDB58;
  border-color: #0E1116;
}

/* COLUMNA 4: Mapa de la Plaza Central (Limpio, sin marcos ni coordenadas) */
.footer-map-container-clean {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-map-frame-wrapper {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1A1F29;
}

.footer-map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.9) contrast(1.05);
}

/* Acciones de Navegación: Google Maps y Waze (Fondo plano / Ghost como el del proyecto) */
.footer-map-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.footer-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 0.85rem;
  background: transparent; /* Ghost como el del proyecto */
  color: #FFFFFF;
  border: 1px solid rgba(255, 219, 88, 0.45);
  border-radius: 999px; /* Pill como el del proyecto */
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.footer-map-btn .btn-arrow {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.footer-map-btn:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Botón Google Maps (Borde azul / Hover azul institucional plano) */
.footer-map-btn.btn-google-maps {
  border-color: rgba(15, 82, 186, 0.55);
}

.footer-map-btn.btn-google-maps:hover {
  background: #0F52BA; /* Fondo azul plano */
  border-color: #0F52BA;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(15, 82, 186, 0.4);
  transform: translateY(-2px);
}

/* Botón Waze (Borde cyan / Hover azul Waze plano) */
.footer-map-btn.btn-waze {
  border-color: rgba(44, 181, 232, 0.55);
}

.footer-map-btn.btn-waze:hover {
  background: #2CB5E8; /* Fondo azul Waze plano */
  border-color: #2CB5E8;
  color: #0E1116;
  box-shadow: 0 6px 20px rgba(44, 181, 232, 0.35);
  transform: translateY(-2px);
}

/* 3. Franja Inferior: Copyright Limpio (Sin pillows ni redes sociales) */
.footer-bottom-bar {
  padding-top: 2.2rem;
  text-align: center;
}

.footer-copyright-text {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.82rem;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0;
  max-width: 900px;
  margin: 0 auto;
}

.footer-copyright-text strong {
  color: #FFFFFF;
}

/* 4. MODAL EDITORIAL: SOBRE EL PROYECTO */
.about-project-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.about-project-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.about-project-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 17, 22, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.about-project-dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  background: #11151D;
  color: #F8FAFC;
  border: 1px solid rgba(255, 219, 88, 0.25);
  border-radius: 20px;
  padding: clamp(1.8rem, 3.5vw, 2.8rem);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(255, 219, 88, 0.08);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.about-project-modal.is-open .about-project-dialog {
  transform: translateY(0) scale(1);
}

.about-project-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.about-project-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
}

.about-project-body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.about-project-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.about-project-tag {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #FFDB58;
  text-transform: uppercase;
}

.about-project-heading {
  font-family: var(--font-hero-display, 'Syne', sans-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  letter-spacing: -0.02em;
}

.about-project-lead {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 0;
}

.about-project-lead strong {
  color: #FFDB58;
}

.about-project-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 0.4rem;
}

.about-pillar-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-pillar-card .pillar-num {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 800;
  color: #FFDB58;
}

.about-pillar-card h4 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.about-pillar-card p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.about-project-institutional-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.2rem;
  margin-top: 0.4rem;
}

.institutional-badge-left {
  background: #FFFFFF;
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  flex-shrink: 0;
}

.modal-eam-logo {
  height: 44px;
  width: auto;
  display: block;
}

.institutional-text-right {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.institutional-text-right h5 {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.institutional-text-right p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.8rem;
  line-height: 1.5;
  color: #94A3B8;
  margin: 0;
}

.modal-eam-link {
  font-family: var(--font-heading, 'Space Grotesk', sans-serif);
  font-size: 0.76rem;
  font-weight: 700;
  color: #FFDB58;
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.2s ease;
}

.modal-eam-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* 5. Responsividad del Footer */
@media (max-width: 1080px) {
  .footer-columns-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .about-project-pillars-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .footer-mountain-svg {
    min-height: 110px;
  }

  .footer-columns-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .footer-bottom-bar {
    padding-top: 1.8rem;
  }

  .about-project-institutional-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-map-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 375px) {
  .footer-main-body {
    padding: 1.5rem 0 2.5rem 0;
  }

  .footer-container {
    padding: 0 0.85rem;
  }

  .footer-hero-brand-block {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .footer-giant-title-svg {
    height: auto;
  }

  .footer-columns-grid {
    gap: 1.8rem;
    padding-bottom: 2.5rem;
  }

  .footer-col-bracket-tag {
    font-size: 0.68rem;
  }

  .footer-col-title {
    font-size: clamp(1.1rem, 4vw, 1.3rem);
  }

  .footer-brand-logo {
    height: clamp(44px, 6vw, 56px);
    max-width: 220px;
  }

  .footer-about-text {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .footer-btn-about-project {
    padding: 0.65rem 1.2rem;
    font-size: 0.76rem;
  }

  .footer-eam-logo-img {
    height: clamp(36px, 5vw, 44px);
  }

  .footer-nav-link {
    font-size: 0.8rem;
    gap: 0.5rem;
  }

  .footer-nav-link .nav-num {
    font-size: 0.68rem;
  }

  .footer-faq-trigger {
    font-size: 0.8rem;
    padding: 0.6rem 0;
  }

  .footer-faq-body p {
    font-size: 0.75rem;
  }

  .emergency-header-title {
    font-size: 0.65rem;
  }

  .emergency-call-btn {
    padding: 0.55rem 0.8rem;
    gap: 0.6rem;
  }

  .call-btn-icon-wrap {
    width: 28px;
    height: 28px;
  }

  .call-btn-label {
    font-size: 0.68rem;
  }

  .call-btn-num {
    font-size: 0.68rem;
  }

  .call-btn-action {
    padding: 0.25rem 0.55rem;
    font-size: 0.64rem;
  }

  .footer-map-frame-wrapper {
    height: 160px;
  }

  .footer-map-btn {
    padding: 0.65rem 0.75rem;
    font-size: 0.72rem;
  }

  .footer-copyright-text {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .about-project-dialog {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .about-project-heading {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
  }

  .about-project-lead {
    font-size: 0.88rem;
  }

  .about-pillar-card {
    padding: 0.9rem;
  }

  .about-pillar-card h4 {
    font-size: 0.85rem;
  }

  .about-pillar-card p {
    font-size: 0.72rem;
  }

  .about-project-institutional-card {
    padding: 1rem;
    gap: 1rem;
  }

  .institutional-badge-left {
    padding: 0.6rem 0.9rem;
  }

  .modal-eam-logo {
    height: 38px;
  }

  .institutional-text-right h5 {
    font-size: 0.88rem;
  }

  .institutional-text-right p {
    font-size: 0.75rem;
  }

  .modal-eam-link {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   PARALLAX DEL FOOTER: Scroll-Driven Animations Nativas & Accesibilidad
   ========================================================================== */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  .editorial-footer {
    view-timeline: --footerTimeline block;
  }

  .footer-hero-brand-block {
    animation: footerTitleParallax linear both;
    animation-timeline: --footerTimeline;
    animation-range: entry 5% contain 60%;
    transition: none;
  }

  .footer-columns-grid {
    animation: footerGridParallax linear both;
    animation-timeline: --footerTimeline;
    animation-range: entry 10% contain 78%;
    transition: none;
  }

  @keyframes footerTitleParallax {
    from {
      transform: translate3d(0, 38px, 0);
      opacity: 0.9;
    }
    to {
      transform: translate3d(0, 0, 0);
      opacity: 1;
    }
  }

  @keyframes footerGridParallax {
    from {
      transform: translate3d(0, 22px, 0);
    }
    to {
      transform: translate3d(0, 0, 0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-hero-brand-block,
  .footer-columns-grid {
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   SISTEMA DE TRADUCCIÓN GLOBAL: MODO EDITORIAL INVISIBLE
   Oculta banners, marcos, popups e iframes de Google Translate para mantener
   la estética vanguardista de Destino Salento inalterada.
   ========================================================================== */
#google_translate_element,
.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body {
  top: 0px !important;
  position: static !important;
}

font {
  background-color: transparent !important;
  box-shadow: none !important;
}


