/* ==========================================================================
   SECCIÓN "DESCUBRE MÁS" (EXPLORAR) — VISTA A & VISTA B
   cacao & co. Artisanal Chocolate
   ========================================================================== */

:root {
  /* ============================================================
     PANEL DE AJUSTE GLOBAL — UNIDADES DE LIENZO (1376 x 768)
     ============================================================ */
  --ex-offset-y: 40;
  /* desplazamiento vertical global de la sección */
  --ex-title-top: 160;
  --ex-cards-top: 286;
  --ex-cards-h: 344;
  --dt-frame-left: 161;
  --dt-frame-top: 158;
  --dt-frame-w: 529;
  --dt-frame-h: 472;
  --dt-text-left: 788;
  --dt-back-left: 27;
  /* posición horizontal del botón Volver */
  --dt-back-top: 92;
  /* posición vertical del botón Volver (~5% más arriba de paisaje.webp) */

  /* ============================================================
     PANEL DE CONTROL: TAMAÑO Y POSICIÓN DE PRIMER PLANO (PNG)
     Modifica estos números (sin 'px') para ajustar individualmente 
     el tamaño y posición de las imágenes PNG de cada sección:
     ============================================================ */
  /* 1. ORIGEN (Saco de mazorcas) */
  --dt-fg-origen-w: 455;
  /* Ancho base */
  --dt-fg-origen-scale: 1;
  /* Factor de escala rápida (ej: 0.8 = 80%, 1 = 100%) */
  --dt-fg-origen-left: 45;
  /* Posición horizontal desde la izquierda */
  --dt-fg-origen-top: 400;
  /* Posición vertical desde arriba */

  /* 2. REGALOS (Caja de regalos y bombones) */
  --dt-fg-regalos-w: 220;
  /* Reducido para proporción armónica y elegante */
  --dt-fg-regalos-scale: 1.2;
  --dt-fg-regalos-left: 80;
  --dt-fg-regalos-top: 450;

  /* 3. OCASIONES (Taza y chocolates para compartir) */
  --dt-fg-ocasiones-w: 220;
  /* Reducido para proporción armónica y elegante */
  --dt-fg-ocasiones-scale: 1.2;
  --dt-fg-ocasiones-left: 45;
  --dt-fg-ocasiones-top: 455;

  /* 4. LOCACIONES (Boutique y chocolates de vitrina) */
  --dt-fg-locaciones-w: 215;
  /* Reducido para proporción armónica y elegante */
  --dt-fg-locaciones-scale: 1.2;
  --dt-fg-locaciones-left: 75;
  --dt-fg-locaciones-top: 440;
}

/* ==========================================================================
   1. CONTENEDOR PRINCIPAL (.explore)
   ========================================================================== */
.explore {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 520px;
  background-color: var(--bg-900);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* Resplandor atmosférico cálido detrás del título / imagen */
.explore-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.explore-glow.glow-vista-a {
  top: calc(180 * var(--s));
  left: 50%;
  width: calc(680 * var(--s));
  height: calc(340 * var(--s));
  transform: translate(-50%, -20%);
  background: radial-gradient(ellipse at center, rgba(184, 101, 42, 0.18) 0%, transparent 68%);
}

.explore-glow.glow-vista-b {
  top: calc(200 * var(--s));
  left: calc(360 * var(--s));
  width: calc(600 * var(--s));
  height: calc(500 * var(--s));
  transform: translate(-50%, -20%);
  background: radial-gradient(ellipse at center, rgba(184, 101, 42, 0.18) 0%, transparent 68%);
}

/* Lienzo escalado con --s centrado exactamente igual que el hero */
.explore-scene {
  position: absolute;
  left: calc(50% - 688 * var(--s));
  top: calc(50% - 384 * var(--s) + var(--ex-offset-y) * var(--s));
  width: calc(1376 * var(--s));
  height: calc(768 * var(--s));
  z-index: 1;
}

/* Vistas: solo una visible a la vez */
.view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.view[hidden] {
  display: none !important;
}

/* ==========================================================================
   2. VISTA A — "EXPLORAR"
   ========================================================================== */
.view-explore {
  position: absolute;
  inset: 0;
}

/* Sobretítulo: EXPLORA TU EXPERIENCIA */
.ex-overline {
  position: absolute;
  top: calc(125 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-size: calc(12 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  color: var(--cream);
  opacity: 0.85;
  white-space: nowrap;
  text-align: center;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Título principal: DESCUBRE MÁS */
.ex-title {
  position: absolute;
  top: calc(var(--ex-title-top) * var(--s) - 22 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: calc(100 * var(--s));
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--cream);
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  text-align: center;
  padding-top: calc(10 * var(--s));
  /* Permite ver la tilde de la Á sin recortar */
  z-index: 2;
  pointer-events: none;
}

/* Subtítulo: Sumérgete en un mundo de sabores... */
.ex-subtitle {
  position: absolute;
  top: calc(244 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-sans);
  font-style: italic;
  font-size: calc(15 * var(--s));
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cream);
  white-space: nowrap;
  text-align: center;
  z-index: 2;
  opacity: 0.95;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

/* Fila de 4 tarjetas */
.ex-cards {
  position: absolute;
  top: calc(var(--ex-cards-top) * var(--s));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: calc(22 * var(--s));
  height: calc(var(--ex-cards-h) * var(--s));
  list-style: none;
  z-index: 5;
}

/* Anchos personalizados para cada tarjeta según la maqueta */
.ex-card[data-section="origen"] {
  width: calc(237 * var(--s));
}

.ex-card[data-section="regalos"] {
  width: calc(220 * var(--s));
}

.ex-card[data-section="ocasiones"] {
  width: calc(223 * var(--s));
}

.ex-card[data-section="locaciones"] {
  width: calc(231 * var(--s));
}

/* Tarjeta individual */
.ex-card {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: calc(6 * var(--s));
  border: 1px solid rgba(245, 233, 215, 0.14);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background-color: var(--bg-700);
  cursor: pointer;
  padding: 0;
  outline: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

.ex-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--bg-700);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.ex-card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(14, 7, 3, 0) 0%,
      rgba(14, 7, 3, 0) 48%,
      rgba(14, 7, 3, 0.78) 80%,
      rgba(10, 5, 2, 0.96) 100%);
  pointer-events: none;
  box-shadow: inset 0 0 calc(28 * var(--s)) rgba(0, 0, 0, 0.4);
}

.ex-card-body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--s));
  padding-bottom: calc(22 * var(--s));
  z-index: 2;
  pointer-events: none;
}

.ex-card-icon {
  width: calc(34 * var(--s));
  height: calc(34 * var(--s));
  color: var(--cream);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.35s ease;
}

.ex-card-label {
  font-family: var(--font-sans);
  font-size: calc(11.5 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--cream);
  line-height: 1;
}

.ex-card-line {
  height: 1px;
  width: calc(34 * var(--s));
  background-color: rgba(245, 233, 215, 0.7);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Estados interactivos de las tarjetas */
.ex-card:hover {
  transform: translateY(calc(-6 * var(--s)));
  border-color: rgba(224, 138, 60, 0.55);
  box-shadow: 0 0 calc(40 * var(--s)) rgba(224, 138, 60, 0.28), 0 24px 48px rgba(0, 0, 0, 0.6);
}

.ex-card:hover .ex-card-img {
  transform: scale(1.06);
}

.ex-card:hover .ex-card-line {
  width: calc(56 * var(--s));
}

.ex-card:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  transform: translateY(calc(-6 * var(--s)));
  border-color: rgba(224, 138, 60, 0.55);
}

.ex-card:focus-visible .ex-card-img {
  transform: scale(1.06);
}

.ex-card:focus-visible .ex-card-line {
  width: calc(56 * var(--s));
}

.ex-card:active {
  transform: translateY(calc(-2 * var(--s)));
}

/* Pager decorativo inferior */
.ex-pager {
  position: absolute;
  top: calc(656 * var(--s));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: calc(6 * var(--s));
  pointer-events: none;
  z-index: 2;
}

.ex-pager-line {
  height: 1px;
  background-color: rgba(245, 233, 215, 0.65);
}

.ex-pager-line.line-1 {
  width: calc(52 * var(--s));
}

.ex-pager-line.line-2 {
  width: calc(46 * var(--s));
}

.ex-pager-line.line-3 {
  width: calc(46 * var(--s));
}

.ex-pager-line.line-4 {
  width: calc(52 * var(--s));
}

.ex-pager-ring {
  width: calc(20 * var(--s));
  height: calc(20 * var(--s));
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 calc(4 * var(--s));
  animation: pagerPulse 3s ease-in-out infinite;
}

.ex-pager-dot {
  width: calc(8 * var(--s));
  height: calc(8 * var(--s));
  border-radius: 50%;
  background-color: var(--cream);
}

@keyframes pagerPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(245, 233, 215, 0.2);
  }

  50% {
    transform: scale(1.08);
    box-shadow: 0 0 10px 2px rgba(224, 138, 60, 0.3);
  }
}

/* ==========================================================================
   3. VISTA B — "DETALLE"
   ========================================================================== */
.view-detail {
  position: absolute;
  inset: 0;
}

/* Enlace Volver a Explorar */
.dt-back {
  position: absolute;
  left: calc(var(--dt-back-left, 27) * var(--s));
  top: calc(var(--dt-back-top, 92) * var(--s));
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--s));
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: calc(10.5 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--cream);
  padding: calc(6 * var(--s)) calc(4 * var(--s));
  z-index: 15;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.dt-back svg {
  width: calc(16 * var(--s));
  height: calc(16 * var(--s));
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dt-back-prefix {
  color: rgba(224, 138, 60, 0.75);
}

.dt-back-target {
  color: var(--cream);
  font-weight: 700;
}

.dt-back:hover svg {
  transform: translateX(calc(-4 * var(--s)));
}

.dt-back:hover {
  opacity: 0.9;
}

.dt-back:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

/* Composición de Imagen (Columna Izquierda) */
.dt-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* 1. Marco de paisaje */
.dt-frame {
  position: absolute;
  left: calc(var(--dt-frame-left) * var(--s));
  top: calc(var(--dt-frame-top) * var(--s));
  width: calc(var(--dt-frame-w) * var(--s));
  height: calc(var(--dt-frame-h) * var(--s));
  border-radius: 0 calc(190 * var(--s)) calc(40 * var(--s)) 0;
  overflow: hidden;
  background-color: var(--bg-700);
  border: 1px solid rgba(224, 138, 60, 0.35);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  z-index: 1;
}

.dt-frame-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-color: var(--bg-700);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* 2. Primer plano (PNG transparente por sección con control individual) */
.dt-foreground {
  position: absolute;
  left: calc(var(--fg-left, 45) * var(--s));
  top: calc(var(--fg-top, 390) * var(--s));
  width: calc(var(--fg-w, 455) * var(--fg-scale, 1) * var(--s));
  max-height: calc(340 * var(--s));
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
  transition: width 0.25s ease, left 0.25s ease, top 0.25s ease, transform 0.25s ease;
}

.dt-foreground-origen {
  --fg-w: var(--dt-fg-origen-w);
  --fg-scale: var(--dt-fg-origen-scale, 1);
  --fg-left: var(--dt-fg-origen-left);
  --fg-top: var(--dt-fg-origen-top);
}

.dt-foreground-regalos {
  --fg-w: var(--dt-fg-regalos-w);
  --fg-scale: var(--dt-fg-regalos-scale, 1);
  --fg-left: var(--dt-fg-regalos-left);
  --fg-top: var(--dt-fg-regalos-top);
}

.dt-foreground-ocasiones {
  --fg-w: var(--dt-fg-ocasiones-w);
  --fg-scale: var(--dt-fg-ocasiones-scale, 1);
  --fg-left: var(--dt-fg-ocasiones-left);
  --fg-top: var(--dt-fg-ocasiones-top);
}

.dt-foreground-locaciones {
  --fg-w: var(--dt-fg-locaciones-w);
  --fg-scale: var(--dt-fg-locaciones-scale, 1);
  --fg-left: var(--dt-fg-locaciones-left);
  --fg-top: var(--dt-fg-locaciones-top);
}

.dt-foreground-img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* 3. Sello circular SVG */
.dt-seal {
  position: absolute;
  width: calc(105 * var(--s));
  height: calc(105 * var(--s));
  left: calc((128 - 52.5) * var(--s));
  top: calc((292 - 52.5) * var(--s));
  z-index: 3;
  color: #EBCB9B;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
}

/* 4. Polaroids superpuestas (marco crema fino, como la maqueta) */
.dt-polaroid {
  position: absolute;
  box-sizing: content-box;
  padding: calc(5 * var(--s));
  background-color: #F3E6CF;
  border: calc(1 * var(--s)) solid #EAD9BC;
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.78),
    0 4px 12px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(224, 138, 60, 0.18);
  border-radius: calc(2 * var(--s));
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

/* Tamaño exterior total: 136 x 178 (contenido 124 x 166 + padding + borde) */
.dt-polaroid-1 {
  width: calc(124 * var(--s));
  height: calc(166 * var(--s));
  left: calc((679 - 68) * var(--s));
  top: calc((403 - 89) * var(--s));
  transform: rotate(8deg);
  z-index: 3;
}

/* Tamaño exterior total: 143 x 147 (contenido 131 x 135 + padding + borde) */
.dt-polaroid-2 {
  width: calc(131 * var(--s));
  height: calc(135 * var(--s));
  left: calc((617 - 71.5) * var(--s));
  top: calc((505 - 73.5) * var(--s));
  transform: rotate(10deg);
  z-index: 4;
}

.dt-polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
}

.dt-polaroid-1:hover {
  transform: rotate(6deg) translateY(calc(-6 * var(--s)));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.88),
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(224, 138, 60, 0.28);
  z-index: 5;
}

.dt-polaroid-2:hover {
  transform: rotate(8deg) translateY(calc(-6 * var(--s)));
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.88),
    0 6px 16px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(224, 138, 60, 0.28);
  z-index: 5;
}

/* Columna de Información (Columna Derecha) */
.dt-info {
  position: absolute;
  left: calc(var(--dt-text-left) * var(--s));
  top: calc(142 * var(--s));
  width: calc(540 * var(--s));
  z-index: 5;
  pointer-events: auto;
}

.dt-overline {
  font-family: var(--font-sans);
  font-size: calc(11 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: rgba(245, 233, 215, 0.9);
  line-height: 1;
}

.dt-title {
  font-family: var(--font-serif);
  font-size: calc(47 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--cream);
  margin-top: calc(12 * var(--s));
}

.dt-title-line {
  display: block;
  white-space: nowrap;
}

.dt-line {
  height: 1.5px;
  width: calc(48 * var(--s));
  background: linear-gradient(to right, var(--copper), var(--amber));
  margin-top: calc(16 * var(--s));
}

.dt-p {
  font-family: var(--font-sans);
  font-size: calc(13 * var(--s));
  font-weight: 400;
  line-height: 1.6;
  color: rgba(245, 233, 215, 0.9);
  max-width: calc(341 * var(--s));
  margin-top: calc(14 * var(--s));
}

/* Cuadrícula de Contenido (Filas + Bloque Lateral) */
.dt-content-grid {
  position: relative;
  display: flex;
  margin-top: calc(20 * var(--s));
}

.dt-rows {
  display: flex;
  flex-direction: column;
  gap: calc(14 * var(--s));
  width: calc(350 * var(--s));
}

.dt-row {
  display: grid;
  grid-template-columns: calc(30 * var(--s)) 1fr;
  column-gap: calc(14 * var(--s));
  align-items: center;
}

.dt-row-icon {
  width: calc(28 * var(--s));
  height: calc(28 * var(--s));
  color: var(--cream);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.dt-row-meta {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--s));
}

.dt-row-label {
  font-family: var(--font-sans);
  font-size: calc(10 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--cream);
  line-height: 1;
}

.dt-row-value {
  font-family: var(--font-sans);
  font-size: calc(12 * var(--s));
  font-weight: 400;
  color: rgba(245, 233, 215, 0.75);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

/* Bloque Lateral (Mapa con Pin o similar) */
.dt-aside {
  position: absolute;
  left: calc(365 * var(--s));
  top: calc(10 * var(--s));
  width: calc(147 * var(--s));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.dt-aside-map-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dt-aside-map-img {
  width: 100%;
  height: auto;
  max-height: calc(160 * var(--s));
  object-fit: contain;
  background-color: transparent;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.dt-aside-caption {
  margin-top: calc(8 * var(--s));
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--s));
}

.dt-aside-title {
  font-family: var(--font-sans);
  font-size: calc(10 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--cream);
  line-height: 1;
}

.dt-aside-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: calc(11.5 * var(--s));
  font-weight: 400;
  color: #C98A52;
  line-height: 1.1;
}

/* Cierre Inferior (Botón de Avance + Tagline) */
.dt-next {
  position: absolute;
  left: calc(var(--dt-text-left) * var(--s));
  top: calc(612 * var(--s));
  width: calc(520 * var(--s));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(8 * var(--s));
  z-index: 6;
  pointer-events: auto;
}

.dt-next-row {
  display: flex;
  align-items: center;
  width: 100%;
  gap: calc(14 * var(--s));
}

.dt-next-line {
  flex: 1;
  height: 1px;
  background: rgba(184, 101, 42, 0.55);
}

.dt-next-btn {
  width: calc(31 * var(--s));
  height: calc(31 * var(--s));
  border: 1.5px solid var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.dt-next-btn svg {
  width: calc(16 * var(--s));
  height: calc(16 * var(--s));
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dt-next-btn:hover {
  border-color: var(--amber);
  box-shadow: 0 0 calc(18 * var(--s)) rgba(224, 138, 60, 0.45);
}

.dt-next-btn:hover svg {
  transform: translateY(2px);
}

.dt-next-btn:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.dt-tagline {
  font-family: var(--font-sans);
  font-size: calc(10 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--cream);
  text-align: center;
  line-height: 1;
}

/* Navegador de Secciones (Inferior Izquierda) */
.dt-dots {
  position: absolute;
  left: calc(68 * var(--s));
  top: calc(656 * var(--s));
  display: flex;
  align-items: center;
  gap: calc(8 * var(--s));
  z-index: 10;
  pointer-events: auto;
}

.dt-dots-list {
  display: flex;
  align-items: center;
  gap: calc(8 * var(--s));
  list-style: none;
}

.dt-dot {
  width: calc(11 * var(--s));
  height: calc(11 * var(--s));
  border-radius: 50%;
  border: 1.2px solid var(--cream);
  background: transparent;
  cursor: pointer;
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.dt-dot::after {
  content: "";
  width: calc(5 * var(--s));
  height: calc(5 * var(--s));
  border-radius: 50%;
  background-color: var(--cream);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.dt-dot[aria-current="true"] {
  border-color: var(--cream);
  box-shadow: 0 0 8px rgba(245, 233, 215, 0.4);
}

.dt-dot[aria-current="true"]::after {
  opacity: 1;
}

.dt-dot:hover {
  transform: scale(1.15);
  border-color: var(--amber);
}

.dt-dot:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.dt-dots-line {
  width: calc(30 * var(--s));
  height: 1px;
  background: #C98A52;
  margin-left: calc(4 * var(--s));
}

.dt-dots-label {
  font-family: var(--font-sans);
  font-size: calc(9 * var(--s));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #C98A52;
  white-space: nowrap;
}

/* ==========================================================================
   4. ANIMACIÓN DE ENTRADA DEL DETALLE (TRAS LA CORTINA) (§6.5)
   ========================================================================== */
@keyframes dtFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dtScaleIn {
  from {
    transform: scale(1.04);
  }

  to {
    transform: scale(1);
  }
}

.view-detail.is-active .dt-fade-up {
  animation: dtFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.view-detail.is-active .dt-fade-up:nth-child(1) {
  animation-delay: 50ms;
}

.view-detail.is-active .dt-fade-up:nth-child(2) {
  animation-delay: 120ms;
}

.view-detail.is-active .dt-fade-up:nth-child(3) {
  animation-delay: 190ms;
}

.view-detail.is-active .dt-fade-up:nth-child(4) {
  animation-delay: 260ms;
}

.view-detail.is-active .dt-fade-up:nth-child(5) {
  animation-delay: 330ms;
}

.view-detail.is-active .dt-row:nth-child(1) {
  animation-delay: 380ms;
}

.view-detail.is-active .dt-row:nth-child(2) {
  animation-delay: 440ms;
}

.view-detail.is-active .dt-row:nth-child(3) {
  animation-delay: 500ms;
}

.view-detail.is-active .dt-row:nth-child(4) {
  animation-delay: 560ms;
}

.view-detail.is-active .dt-row:nth-child(5) {
  animation-delay: 620ms;
}

.view-detail.is-active .dt-aside {
  animation: dtFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 480ms;
}

.view-detail.is-active .dt-next {
  animation: dtFadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 680ms;
}

.view-detail.is-active .dt-frame-img {
  animation: dtScaleIn 1200ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (prefers-reduced-motion: reduce) {

  .view-detail.is-active .dt-fade-up,
  .view-detail.is-active .dt-row,
  .view-detail.is-active .dt-aside,
  .view-detail.is-active .dt-next,
  .view-detail.is-active .dt-frame-img,
  .ex-pager-ring {
    animation: none !important;
  }
}

/* ==========================================================================
   4. RESPONSIVE MÓVIL (< 768px) (§11)
   ========================================================================== */
@media (max-width: 767px) {
  .explore {
    height: auto;
    min-height: 100vh;
    padding: 110px 20px 60px;
    scroll-snap-align: none;
    overflow: visible;
  }

  .explore-scene {
    position: static;
    width: 100%;
    height: auto;
    transform: none;
    display: flex;
    flex-direction: column;
  }

  .explore-glow {
    display: none;
  }

  /* VISTA A MÓVIL */
  .view-explore {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .ex-overline {
    position: static;
    transform: none;
    font-size: 13px;
    letter-spacing: 0.35em;
    margin-bottom: 10px;
  }

  .ex-title {
    position: static;
    transform: none;
    font-size: clamp(38px, 12vw, 56px);
    line-height: 1;
    margin-bottom: 12px;
    white-space: normal;
  }

  .ex-subtitle {
    position: static;
    transform: none;
    font-size: 14px;
    white-space: normal;
    text-align: center;
    max-width: 90%;
    margin-bottom: 32px;
  }

  .ex-cards {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    overflow-x: auto;
    padding: 10px 8px 24px;
    scroll-snap-type: x mandatory;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .ex-card {
    flex: 0 0 72vw;
    max-width: 270px;
    height: 380px;
    scroll-snap-align: center;
  }

  .ex-card[data-section="origen"],
  .ex-card[data-section="regalos"],
  .ex-card[data-section="ocasiones"],
  .ex-card[data-section="locaciones"] {
    width: 72vw;
  }

  .ex-pager {
    position: static;
    transform: none;
    margin-top: 24px;
  }

  /* VISTA B MÓVIL (UNA SOLA COLUMNA) */
  .view-detail {
    position: static;
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  .dt-back {
    position: static;
    margin-bottom: 20px;
    align-self: flex-start;
  }

  .dt-media {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 24px;
  }

  .dt-frame {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 280px;
    border-radius: 0 60px 24px 0;
  }

  .dt-foreground {
    position: absolute;
    left: -15px;
    top: 140px;
    width: 200px;
  }

  .dt-seal {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 76px;
    height: 76px;
  }

  .dt-polaroid {
    padding: 7px;
    border-width: 1.5px;
  }

  .dt-polaroid-1 {
    width: 96px;
    height: 126px;
    left: auto;
    right: 10px;
    top: 40px;
  }

  .dt-polaroid-2 {
    width: 102px;
    height: 106px;
    left: auto;
    right: 40px;
    top: 130px;
  }

  .dt-info {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .dt-title {
    font-size: clamp(28px, 8.5vw, 40px);
  }

  .dt-title-line {
    white-space: normal;
  }

  .dt-content-grid {
    flex-direction: column;
    gap: 28px;
    margin-top: 24px;
  }

  .dt-rows {
    width: 100%;
  }

  .dt-aside {
    position: static;
    width: 100%;
    align-items: center;
    margin-top: 16px;
  }

  .dt-aside-map-wrap {
    width: 130px;
  }

  .dt-aside-caption {
    align-items: center;
    text-align: center;
  }

  .dt-next {
    position: static;
    width: 100%;
    margin-top: 36px;
  }

  .dt-dots {
    position: static;
    margin-top: 32px;
    justify-content: center;
    width: 100%;
  }
}