/**
 * ============================================================================
 * 🧭 BAQUEANO ECOSYSTEM — index-destinos-editorial.css
 * ============================================================================
 *
 * 🎯 1. POR QUÉ (WHY / PROPÓSITO):
 * - Reemplazar la presentación rígida y tradicional por una experiencia editorial,
 *   inmersiva y orgánica que refleje la identidad auténtica de Nicaragua y de BAQUEANO.
 * - Erradicar tarjetas genéricas de marketplace (estilo Booking/TripAdvisor),
 *   sustituyéndolas por una narrativa territorial fluida de 3 zonas conectadas.
 *
 * ⚙️ 2. CÓMO (HOW / ARQUITECTURA & IMPLEMENTACIÓN):
 * - ZONA 1 (Izquierda): Identidad editorial con tipografía caligráfica audaz ("Inspiran"),
 *   pincelada terracota (#F65E01) y navegación vertical temática con iconos limpios.
 * - ZONA 2 (Centro): Destino protagónico con marco de recorte orgánico (clip-path tipo
 *   pincelada / papel rasgado), 5 indicadores circulares temáticos de experiencia
 *   (Volcanes, Senderismo, Cultura, Gastronomía, Comunidades) y mini-galería de 4 polaroids
 *   superpuestas con rotaciones sutiles y botón de avance interactivo.
 * - ZONA 3 (Derecha): Mapa territorial con relieve de Nicaragua, ruta curva punteada SVG,
 *   brújula de exploración, frase caligráfica "Descubrí lo que no sale en el mapa",
 *   tarjeta de nota de viaje "Más que un destino" y botón editorial en azul petróleo (#165D6F).
 * - Transiciones aceleradas por hardware a 60fps con will-change y cubics suaves.
 *
 * 📦 3. QUÉ (WHAT / ENTREGABLES & FUNCIONALIDAD):
 * - Estilos 100% responsivos (Desktop panorámico, Tablet en 2 niveles y Móvil táctil).
 * - Soporte para temas claro/oscuro y modo de movimiento reducido (prefers-reduced-motion).
 * ============================================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap');

/* ─── VARIABLES EDITORIALES DE LA SECCIÓN ─── */
:root {
  --baq-inspire-orange: #F65E01;
  --baq-inspire-petrol: #165D6F;
  --baq-inspire-dark: #0F172A;
  --baq-inspire-sand: #F4E6C1;
  --baq-inspire-cream: #FAF7F2;
  --baq-font-hand: 'Caveat', cursive, 'Brush Script MT', sans-serif;
  --baq-font-sans: 'Montserrat', system-ui, -apple-system, sans-serif;
}

/* ─── CONTENEDOR SECCIÓN ─── */
.destinations-section-exact {
  position: relative;
  padding: 0 !important;
  background: var(--baq-inspire-cream);
  overflow: hidden;
}

.destinations-section-exact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(22, 93, 111, 0.12), transparent 38%),
    radial-gradient(circle at 18% 85%, rgba(246, 94, 1, 0.08), transparent 42%),
    linear-gradient(115deg, #FFFFFF 0%, #FAF8F4 55%, #F4ECE1 125%);
  pointer-events: none;
  z-index: 1;
}

/* Decoración ambiental sutil */
.inspire-ambient-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-flower-left,
.ambient-flower-right {
  position: absolute;
  width: 220px;
  height: 220px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.14;
  filter: blur(1px);
}

.ambient-flower-left {
  left: -40px;
  bottom: -40px;
  background-image: radial-gradient(circle at 40% 40%, #F65E01 0%, rgba(22, 93, 111, 0.4) 60%, transparent 80%);
  transform: rotate(-15deg);
}

.ambient-flower-right {
  right: -50px;
  bottom: -50px;
  background-image: radial-gradient(circle at 60% 60%, #D95328 0%, rgba(45, 122, 79, 0.35) 65%, transparent 80%);
  transform: rotate(25deg);
}

/* ─── GRID EDITORIAL PANORÁMICO (3 ZONAS CONECTADAS) ─── */
.inspire-editorial {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, 16vw) minmax(560px, 1.35fr) minmax(420px, 0.95fr);
  min-height: 690px;
  max-width: 1840px;
  margin: 0 auto;
  padding: clamp(38px, 4.6vw, 68px) clamp(20px, 4vw, 72px);
  gap: clamp(24px, 2.5vw, 48px);
  color: var(--baq-inspire-dark);
}

/* ============================================================================
   ZONA 1: IDENTIDAD Y FILTROS TEMÁTICOS (IZQUIERDA)
   ============================================================================ */
.inspire-intro {
  z-index: 4;
  align-self: center;
  display: flex;
  flex-direction: column;
}

.inspire-eyebrow {
  margin: 0;
  font-family: var(--baq-font-sans);
  font-size: clamp(0.85rem, 0.95vw, 1.05rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  color: #103B48;
  text-transform: uppercase;
}

.inspire-title-calligraphic {
  margin: -6px 0 0 -4px;
  font-family: var(--baq-font-hand);
  font-size: clamp(4.6rem, 7.2vw, 7.8rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.02em;
  color: var(--baq-inspire-petrol);
  transform: rotate(-3deg);
  transform-origin: left bottom;
  text-shadow: 0 4px 18px rgba(22, 93, 111, 0.18);
}

.inspire-brush-underline {
  display: block;
  width: min(200px, 85%);
  height: 20px;
  margin: 4px 0 16px 8px;
  overflow: visible;
  filter: drop-shadow(0 3px 6px rgba(246, 94, 1, 0.28));
}

.inspire-lead {
  max-width: 250px;
  margin: 0 0 22px;
  font-family: var(--baq-font-sans);
  color: #4A6070;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 500;
}

/* Navegación vertical de filtros */
.inspire-filters {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
}

.inspire-filters button {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 42px;
  padding: 7px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #1B4456;
  font-family: var(--baq-font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.22s ease,
              color 0.22s ease,
              box-shadow 0.22s ease;
}

.filter-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.filter-name {
  flex-grow: 1;
}

.inspire-filters button:hover,
.inspire-filters button:focus-visible {
  transform: translateX(6px);
  color: var(--baq-inspire-orange);
  background: rgba(246, 94, 1, 0.08);
  outline: none;
}

.inspire-filters button.is-active {
  color: #FFFFFF;
  background: linear-gradient(115deg, #F65E01, #FF7F24);
  box-shadow: 0 10px 24px rgba(246, 94, 1, 0.32);
  transform: translateX(4px);
}

.inspire-filters button.is-active:hover {
  transform: translateX(6px);
  color: #FFFFFF;
}

/* ============================================================================
   ZONA 2: DESTINO DESTACADO (CENTRAL - RECORTE ORGÁNICO)
   ============================================================================ */
.inspire-feature {
  position: relative;
  min-height: 570px;
  align-self: center;
  isolation: isolate;
  display: flex;
  align-items: center;
}

/* Marco Orgánico tipo Pincelada / Papel Rasgado */
.inspire-photo-frame,
.baqueano-photo-frame {
  position: absolute;
  inset: 0 0 65px;
  overflow: hidden;
  background: #E5ECEB;
  /* Recorte artístico con contorno orgánico vivo */
  clip-path: polygon(
    4% 14%, 12% 6%, 26% 3%, 42% 5%, 58% 2%, 74% 6%, 88% 3%,
    97% 12%, 100% 28%, 97% 45%, 100% 64%, 94% 82%, 84% 94%,
    68% 97%, 52% 94%, 36% 98%, 20% 93%, 8% 85%, 2% 70%,
    5% 52%, 1% 34%
  );
  filter: drop-shadow(0 24px 38px rgba(15, 23, 42, 0.16));
  will-change: transform;
  transition: clip-path 0.4s ease;
}

.inspire-photo-frame::after,
.baqueano-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 40%, rgba(15, 23, 42, 0.12));
}

.baqueano-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 40%;
  will-change: transform, opacity;
  transition: opacity 0.3s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.baqueano-photo.is-changing {
  opacity: 0.7;
  filter: blur(2px) saturate(0.85);
}

.inspire-feature:hover .baqueano-photo {
  transform: scale(1.045);
}

.inspire-photo-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 248, 244, 0.96) 0%, rgba(250, 248, 244, 0.86) 32%, rgba(250, 248, 244, 0.18) 64%, transparent 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.22) 0%, transparent 45%);
  pointer-events: none;
}

/* Contenido Editorial Superpuesto */
.inspire-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(58%, 560px);
  min-height: 480px;
  padding: 42px 0 95px 24px;
}

.inspire-badge {
  align-self: flex-start;
  padding: 6px 18px;
  color: #FFFFFF;
  background: linear-gradient(115deg, #F65E01, #FF7F24);
  font-family: var(--baq-font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(246, 94, 1, 0.32);
  transform: rotate(-1deg);
  margin-bottom: 8px;
}

.inspire-headline-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 10px;
}

.inspire-headline-pin {
  font-size: 1.85rem;
  color: var(--baq-inspire-orange);
  margin-top: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(246, 94, 1, 0.35));
}

.inspire-headline-text h3 {
  margin: 0;
  font-family: var(--baq-font-sans);
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #0F172A;
}

.inspire-location {
  margin: 4px 0 0;
  font-family: var(--baq-font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  color: #526572;
}

.inspire-description-text {
  margin: 8px 0 16px;
  font-family: var(--baq-font-sans);
  font-size: 1.02rem;
  line-height: 1.55;
  color: #334155;
  font-weight: 500;
}

/* Indicadores Circulares de Experiencia (5 Badges) */
.inspire-traits-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 10px 0 26px;
  flex-wrap: wrap;
}

.trait-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 58px;
}

.trait-circle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  font-size: 1.12rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease;
}

.trait-circle-icon:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.22);
}

.trait-label-text {
  font-family: var(--baq-font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  color: #165D6F;
  text-align: center;
  letter-spacing: -0.01em;
}

/* Botón CTA Explorar Destino */
.inspire-cta-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  background: linear-gradient(115deg, #F65E01, #FF7315);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--baq-font-sans);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(246, 94, 1, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.inspire-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(246, 94, 1, 0.4);
}

.inspire-cta-btn i {
  transition: transform 0.2s ease;
}

.inspire-cta-btn:hover i {
  transform: translateX(4px);
}

/* Mini Galería Superpuesta (Polaroids rotadas + botón siguiente) */
.inspire-gallery-editorial {
  position: absolute;
  z-index: 5;
  right: 6%;
  bottom: 22px;
}

.polaroid-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: transparent;
}

.polaroid-item {
  position: relative;
  width: 82px;
  height: 98px;
  padding: 0;
  margin: 0;
  border: 3.5px solid #FFFFFF;
  border-radius: 10px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
  cursor: pointer;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s ease,
              outline 0.2s ease;
}

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

/* Rotaciones sutiles para efecto editorial */
.polaroid-item:nth-child(1) { transform: rotate(-3deg); }
.polaroid-item:nth-child(2) { transform: rotate(-1deg); }
.polaroid-item:nth-child(3) { transform: rotate(1.4deg); }
.polaroid-item:nth-child(4) { transform: rotate(3deg); }

.polaroid-item:hover {
  transform: scale(1.12) rotate(0deg) translateY(-4px) !important;
  z-index: 8;
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.32);
}

.polaroid-item.is-active {
  outline: 3px solid var(--baq-inspire-orange);
  outline-offset: 1px;
  box-shadow: 0 16px 32px rgba(246, 94, 1, 0.35);
  transform: scale(1.08) rotate(0deg) !important;
  z-index: 7;
}

.polaroid-arrow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1.5px solid rgba(15, 23, 42, 0.08);
  background: #FFFFFF;
  color: var(--baq-inspire-petrol);
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.polaroid-arrow-btn:hover {
  transform: scale(1.1);
  background: var(--baq-inspire-orange);
  color: #FFFFFF;
}

/* ============================================================================
   ZONA 3: MAPA TERRITORIAL DE NICARAGUA CON RUTA Y ACCESOS (DERECHA)
   ============================================================================ */
.inspire-map-territorial {
  position: relative;
  min-height: 590px;
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Frase de Marca y Brújula de Exploración */
.inspire-brand-callout {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 2px;
  padding-right: 12px;
}

.brand-compass {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.compass-svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(22, 93, 111, 0.16));
}

.brand-phrase-group {
  position: relative;
  display: flex;
  align-items: center;
}

.brand-phrase {
  margin: 0;
  font-family: var(--baq-font-hand);
  font-size: clamp(1.4rem, 1.7vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: #123F50;
  transform: rotate(-3deg);
  text-shadow: 0 2px 6px rgba(18, 63, 80, 0.12);
}

.phrase-arrow-svg {
  width: 32px;
  height: 28px;
  margin-left: 4px;
  transform: rotate(6deg);
  overflow: visible;
  filter: drop-shadow(0 2px 4px rgba(246, 94, 1, 0.3));
}

/* ============================================================================
   SISTEMA CARTOGRÁFICO — 4 CAPAS
   Imagen → SVG Anchors + Conectores → Callout Cards
   Coordenadas normalizadas en % → escala automática en todos los viewports
   ============================================================================ */

/* Contenedor raíz — contexto de posicionamiento compartido */
.inspire-nic-map-wrap,
.nicaragua-map {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: visible;
}

/* CAPA 1: Imagen base del mapa territorial */
.inspire-nic-map,
.nicaragua-map__image {
  position: absolute;
  inset: 0 2% 40px 6%;
  width: 90%;
  height: calc(100% - 40px);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 24px 28px rgba(15, 23, 42, 0.22));
  user-select: none;
  pointer-events: none;
  z-index: 1;
}

/* CAPA 2: SVG — conectores Bézier + marcadores geográficos */
/* Hereda exactamente el mismo inset que la imagen */
.map-route-svg,
.nicaragua-map__connections {
  position: absolute;
  inset: 0 2% 40px 6%;
  width: 90%;
  height: calc(100% - 40px);
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}

/* Marcador geográfico — punto fijo = ubicación real en el mapa */
.anchor-dot {
  fill: #F65E01;
  filter: drop-shadow(0 1px 4px rgba(246,94,1,0.7));
  transition: r 0.25s ease, fill 0.25s ease;
}

.anchor-halo {
  fill: rgba(246, 94, 1, 0.18);
  stroke: rgba(246, 94, 1, 0.55);
  stroke-width: 0.5;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

/* Halo pulsante para el destino activo */
.anchor-halo--pulse {
  animation: anchorPulse 2.4s infinite ease-out;
}

@keyframes anchorPulse {
  0%   { r: 3.5; opacity: 0.7; }
  70%  { r: 6;   opacity: 0; }
  100% { r: 3.5; opacity: 0; }
}

/* Conector Bézier — anchor → callout */
.geo-connector {
  fill: none;
  stroke: rgba(255,255,255,0.72);
  stroke-width: 0.6;
  stroke-dasharray: 1.8 1.4;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 3px rgba(15,23,42,0.45));
  transition: stroke 0.3s ease, stroke-width 0.3s ease, opacity 0.3s ease;
  opacity: 0.72;
}

.geo-connector.is-active {
  stroke: #F65E01;
  stroke-width: 0.9;
  stroke-dasharray: none;
  opacity: 1;
  filter: drop-shadow(0 1px 5px rgba(246,94,1,0.6));
}

/* Diferenciación visual de anchors por tipo */
[data-anchor-for] .anchor-dot,
[data-type="city"]       .anchor-dot { fill: #165D6F; }
[data-type="volcano"]   .anchor-dot { fill: #C0392B; }
[data-type="island"]    .anchor-dot { fill: #F65E01; }
[data-type="attraction"].anchor-dot { fill: #2D7A4F; }

[data-type="city"]       .anchor-halo { fill: rgba(22,93,111,0.18); stroke: rgba(22,93,111,0.55); }
[data-type="volcano"]   .anchor-halo { fill: rgba(192,57,43,0.18); stroke: rgba(192,57,43,0.55); }
[data-type="island"]    .anchor-halo { fill: rgba(246,94,1,0.18);  stroke: rgba(246,94,1,0.55); }
[data-type="attraction"].anchor-halo { fill: rgba(45,122,79,0.18); stroke: rgba(45,122,79,0.55); }

/* Al activar un destino, el anchor se ilumina */
.geo-anchor.is-active .anchor-dot { r: 2.4; filter: drop-shadow(0 0 5px currentColor); }
.geo-anchor.is-active .anchor-halo { fill-opacity: 0.3; stroke-opacity: 0.9; }

/* Pins Interactivos sobre el Mapa */
.inspire-pin {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 3px 14px 3px 3px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  color: #FFFFFF;
  background: #165D6F;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.28);
  font-family: var(--baq-font-sans);
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1),
              background 0.22s ease,
              box-shadow 0.22s ease;
}

.pin-thumb-ring {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2.5px solid #FFFFFF;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.pin-thumb-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pin-label {
  white-space: nowrap;
}

.inspire-pin:hover,
.inspire-pin:focus-visible {
  z-index: 6;
  transform: scale(1.08);
  background: var(--baq-inspire-orange);
  box-shadow: 0 14px 30px rgba(246, 94, 1, 0.4);
  outline: none;
}

.inspire-pin.is-active {
  z-index: 6;
  background: linear-gradient(115deg, #F65E01, #FF7F24);
  transform: scale(1.09);
  box-shadow: 0 14px 32px rgba(246, 94, 1, 0.45);
  border-color: #FFFFFF;
}

.pin-active-pulse {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #F65E01;
  pointer-events: none;
  animation: pinPulse 2s infinite ease-out;
}

@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ============================================================================
   POSICIONAMIENTO DE CALLOUTS — Basado en data-card-x / data-card-y
   El JS lee los atributos y aplica left/top en porcentaje.
   Las clases .pin-* son compatibilidad hacia atrás + soporte sin-JS fallback.
   REGLA FUNDAMENTAL: estos valores posicionan la TARJETA, no el punto geográfico.
   El punto geográfico vive en el SVG (cx/cy del anchor).
   ============================================================================ */

/* Fallback CSS (sin JS) — coordenadas calibradas para el mapa en desktop */
/* Tarjeta Cañón de Somoto: arriba derecha, fuera del territorio para claridad */
.pin-somoto { top: 5%;  left: 72%; }

/* Tarjeta León: izquierda del mapa — departamento occidental */
.pin-leon   { top: 36%; left: 2%; }

/* Tarjeta Cerro Negro: arriba-izquierda — norte de León */
.pin-cerro  { top: 22%; left: 2%; }

/* Tarjeta Granada: derecha a la altura del Lago Cocibolca */
.pin-granada { top: 52%; left: 70%; }

/* Tarjeta Ometepe: abajo-izquierda — apunta hacia el lago */
.pin-ometepe { top: 72%; left: 2%; }

/* Icono de tipo diferenciador en la tarjeta */
.geo-callout__type-icon {
  font-size: 0.9rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Pie del Mapa: Story Card + Botón Ver Todos */
.inspire-map-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 10px;
}

/* Tarjeta Editorial "Más que un destino" */
.inspire-story-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(244, 230, 193, 0.88);
  border: 1px solid rgba(22, 93, 111, 0.14);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(10px);
}

.story-thumb-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
}

.story-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.story-title {
  margin: 0;
  font-family: var(--baq-font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  color: #123F50;
}

.story-desc {
  margin: 0;
  font-family: var(--baq-font-sans);
  font-size: 0.73rem;
  line-height: 1.35;
  color: #4A6070;
  font-weight: 600;
}

/* Botón "Ver todos los destinos →" con estilo editorial */
.inspire-browse-all-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--baq-inspire-petrol);
  color: #FFFFFF;
  text-decoration: none;
  font-family: var(--baq-font-sans);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(22, 93, 111, 0.28);
  transition: transform 0.22s ease, background 0.22s ease, box-shadow 0.22s ease;
  white-space: nowrap;
}

.inspire-browse-all-btn:hover {
  transform: translateY(-2px);
  background: #0E4756;
  box-shadow: 0 16px 34px rgba(22, 93, 111, 0.38);
}

.inspire-browse-all-btn i {
  transition: transform 0.2s ease;
}

.inspire-browse-all-btn:hover i {
  transform: translateX(4px);
}

/* ============================================================================
   RESPONSIVIDAD (DESKTOP, TABLET Y MÓVIL)
   ============================================================================ */
@media (max-width: 1360px) {
  .inspire-editorial {
    grid-template-columns: 210px 1.25fr 1fr;
    padding-inline: 28px;
    gap: 28px;
  }

  .inspire-copy {
    width: 65%;
  }

  .inspire-gallery-editorial {
    right: 2%;
  }

  .polaroid-item {
    width: 72px;
    height: 88px;
  }
}

@media (max-width: 1140px) {
  .inspire-editorial {
    grid-template-columns: 200px 1fr;
    min-height: auto;
  }

  .inspire-map-territorial {
    grid-column: 1 / -1;
    min-height: 480px;
    margin-top: 24px;
  }

  .inspire-nic-map-wrap {
    height: 420px;
  }

  /* En esta breakpoint el JS recalcula automáticamente.
     Fallback CSS para el contenedor más estrecho: */
  .pin-somoto  { top: 5%;  left: 58%; }
  .pin-leon    { top: 36%; left: 0%; }
  .pin-cerro   { top: 20%; left: 0%; }
  .pin-granada { top: 52%; left: 60%; }
  .pin-ometepe { top: 72%; left: 0%; }

  .inspire-brand-callout {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .destinations-section-exact {
    padding: 24px 0 !important;
  }

  .inspire-editorial {
    display: flex;
    flex-direction: column;
    padding: 20px 16px 36px;
    gap: 24px;
  }

  .inspire-intro {
    align-self: stretch;
  }

  .inspire-eyebrow {
    font-size: 0.82rem;
  }

  .inspire-title-calligraphic {
    font-size: 4.4rem;
  }

  .inspire-lead {
    max-width: 100%;
  }

  /* Filtros en carrusel horizontal con snap táctil */
  .inspire-filters {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    margin: 8px -16px 14px;
    padding: 4px 16px 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .inspire-filters::-webkit-scrollbar {
    display: none;
  }

  .inspire-filters button {
    flex-shrink: 0;
    width: auto;
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.85rem;
    background: rgba(22, 93, 111, 0.08);
  }

  .inspire-filters button.is-active {
    background: linear-gradient(115deg, #F65E01, #FF7F24);
  }

  /* Destino destacado en móvil */
  .inspire-feature {
    min-height: 520px;
    width: 100%;
  }

  .inspire-photo-frame {
    inset: 0 0 110px;
    clip-path: polygon(
      3% 8%, 18% 3%, 45% 4%, 72% 2%, 96% 7%, 99% 26%,
      96% 50%, 99% 75%, 90% 95%, 65% 97%, 35% 95%, 8% 96%,
      2% 78%, 4% 44%, 1% 22%
    );
  }

  .inspire-copy {
    width: 100%;
    min-height: auto;
    padding: 24px 14px 125px;
  }

  .inspire-headline-text h3 {
    font-size: 2rem;
  }

  .inspire-traits-row {
    gap: 12px;
    margin: 8px 0 18px;
  }

  .trait-circle-icon {
    width: 38px;
    height: 38px;
    font-size: 0.98rem;
  }

  .trait-label-text {
    font-size: 0.7rem;
  }

  /* Mini galería en móvil */
  .inspire-gallery-editorial {
    right: 50%;
    transform: translateX(50%);
    bottom: 12px;
    width: 94%;
    display: flex;
    justify-content: center;
  }

  .polaroid-strip {
    justify-content: center;
    gap: 4px;
  }

  .polaroid-item {
    width: 64px;
    height: 78px;
    border-width: 2.5px;
  }

  /* Mapa en móvil */
  .inspire-map-territorial {
    min-height: auto;
  }

  .inspire-nic-map-wrap {
    height: 360px;
  }

  .inspire-nic-map {
    inset: 0 0 20px;
    width: 100%;
  }

  /* Mobile: el JS reposiciona automáticamente las tarjetas.
     Fallback CSS: tarjetas compactas en los bordes */
  .pin-somoto  { top: 5%;  left: 60%; }
  .pin-leon    { top: 37%; left: 0%; }
  .pin-cerro   { top: 21%; left: 0%; }
  .pin-granada { top: 52%; left: 62%; }
  .pin-ometepe { top: 73%; left: 0%; }

  .inspire-pin {
    min-height: 36px;
    padding: 2px 10px 2px 2px;
    font-size: 0.74rem;
  }

  .pin-thumb-ring {
    width: 32px;
    height: 32px;
  }

  .inspire-map-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .inspire-story-card {
    max-width: 100%;
  }

  .inspire-browse-all-btn {
    width: 100%;
  }
}

/* Modo accesibilidad para movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .baqueano-photo,
  .inspire-filters button,
  .inspire-pin,
  .polaroid-item,
  .inspire-cta-btn,
  .inspire-browse-all-btn,
  .pin-active-pulse {
    transition: none !important;
    animation: none !important;
  }
}

/* ============================================================================
   AUTOPLAY — Barra de Progreso + Dots + Botón Pausa/Play
   ============================================================================ */

/* Barra de progreso */
.inspire-autoplay-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 10;
  overflow: hidden;
  border-radius: 0 0 20px 0;
}

.inspire-autoplay-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F65E01, #ffae6d);
  border-radius: 2px;
  /* La transición se gestiona por JS */
  will-change: width;
}

/* Dots indicadores de destino */
.inspire-autoplay-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 10;
}

.inspire-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  transition: background 0.35s, transform 0.35s;
  cursor: default;
}

.inspire-dot.is-active {
  background: #F65E01;
  border-color: #F65E01;
  transform: scale(1.35);
  box-shadow: 0 0 6px rgba(246, 94, 1, 0.55);
}

/* Botón Pausa/Play */
.inspire-autoplay-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 12;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, opacity 0.25s;
  opacity: 0;  /* visible solo al hover del article */
}

.inspire-feature:hover .inspire-autoplay-toggle,
.inspire-feature:focus-within .inspire-autoplay-toggle {
  opacity: 1;
}

.inspire-autoplay-toggle:hover {
  background: rgba(246, 94, 1, 0.75);
  border-color: #F65E01;
}

.inspire-autoplay-toggle:focus-visible {
  outline: 3px solid #F65E01;
  outline-offset: 2px;
  opacity: 1;
}

/* Reduced-motion: desactivar transición de barra */
@media (prefers-reduced-motion: reduce) {
  .inspire-autoplay-bar {
    transition: none !important;
  }
  .inspire-dot {
    transition: none !important;
  }
}

