/* ==========================================================================
   VLAM · mapa facial de 14 puntos · v2 animado
   Sustituye solo el bloque .mapa de la portada; el resto del tema no se toca.
   Decoración + halos + luz de foco + crossfade de variantes, en CSS puro.
   Respeta prefers-reduced-motion y funciona sin JavaScript (todo visible).
   ========================================================================== */

.mapa.mapa14 {
  --map-ink: var(--ink, #241b17);
  --map-muted: var(--ink-2, #5a4b42);
  --map-sand: var(--sand, #f4efe9);
  --map-cream: #fffaf3;
  --map-accent: var(--taupe, #8a7466);
  --map-accent-dark: var(--taupe-dark, #6e5a4e);
  --map-gold: #a8977f; /* acento de la marca (antes dorado) */
  --map-line: rgba(36, 27, 23, .16);
  --map-sans: var(--sans, "Jost", sans-serif);
  --map-serif: var(--serif, "Cormorant Garamond", Georgia, serif);
  --map-ease: cubic-bezier(.16, 1, .3, 1);
  --map-ease-spring: cubic-bezier(.2, .9, .25, 1);
  --fx: 50%;
  --fy: 23%;
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  grid-area: mapa;
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 460px);
  justify-content: center;
  align-items: start;
  gap: clamp(32px, 5vw, 82px);
  width: 100%;
  overflow: hidden;
  color: var(--map-ink);
  font-family: var(--map-sans);
  padding: clamp(34px, 5vw, 78px) clamp(16px, 4vw, 66px);
  border: 1px solid var(--map-line);
  background:
    radial-gradient(90% 68% at 12% 0%, #fffdf9 0%, rgba(255, 253, 249, 0) 62%),
    radial-gradient(72% 60% at 100% 100%, #eddfcd 0%, rgba(237, 223, 205, 0) 66%),
    var(--map-sand);
}
/* halo de fondo que respira lentamente */
.mapa.mapa14::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 8%;
  top: -22%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 127, 113, .16) 0%, rgba(139, 127, 113, 0) 66%);
  filter: blur(6px);
  animation: mapa14-ambient 26s ease-in-out infinite alternate;
  pointer-events: none;
}
.mapa.mapa14::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .55;
  background-image: radial-gradient(rgba(36, 27, 23, .13) .7px, transparent .7px);
  background-size: 17px 17px;
  mask-image: radial-gradient(75% 70% at 32% 36%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(75% 70% at 32% 36%, #000 0%, transparent 78%);
}

.mapa14 *, .mapa14 *::before, .mapa14 *::after { box-sizing: border-box; }
.mapa14 button { font: inherit; cursor: pointer; }
.mapa14 a { text-decoration: none; }
.mapa14__visual { min-width: 0; width: 100%; position: relative; z-index: 1; }

/* ------------------------------------------------- conmutador de variante */
.mapa14__switch, .mapa14__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto 18px;
  width: fit-content;
}
.mapa14__switch-label, .mapa14__toolbar-label {
  font: 500 9px/1 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--map-accent-dark);
}
.mapa14__switch-track {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid rgba(36, 27, 23, .2);
  border-radius: 999px;
  background: rgba(255, 250, 243, .8);
  box-shadow: inset 0 1px 3px rgba(36, 27, 23, .06);
}
.mapa14__switch-track::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: 999px;
  background: linear-gradient(160deg, #35281f, var(--map-ink));
  box-shadow: 0 3px 10px rgba(36, 27, 23, .28);
  transition: transform .55s var(--map-ease);
}
.mapa14[data-variant="masculino"] .mapa14__switch-track::before { transform: translateX(100%); }
.mapa14__switch-track button {
  position: relative;
  z-index: 1;
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--map-muted);
  font: 500 11px/1 var(--map-sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .35s ease;
}
.mapa14__switch-track button[aria-pressed="true"] { color: var(--map-cream); }
.mapa14__switch-track button:not([aria-pressed="true"]):hover { color: var(--map-ink); }

/* ------------------------------------------------------- figura e imágenes */
.mapa14__figure {
  container-type: inline-size;
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: var(--map-ratio, 1000 / 1333);
  margin: 0 auto;
  cursor: default;
  background: transparent;
  border-radius: 46% 46% 6% 6% / 32% 32% 4% 4%;
}
.mapa14__figure.is-positioning { cursor: crosshair; }
.mapa14__figure > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}
.mapa14__figure img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  transform: scale(1.035);
  filter: saturate(.85) blur(5px);
  transition: opacity .75s ease, transform 1.1s var(--map-ease), filter .8s ease;
  -webkit-mask-image: radial-gradient(125% 96% at 50% 46%, #000 62%, rgba(0, 0, 0, .35) 88%, transparent 100%);
  mask-image: radial-gradient(125% 96% at 50% 46%, #000 62%, rgba(0, 0, 0, .35) 88%, transparent 100%);
}
.mapa14[data-variant="femenino"] img[data-variant="femenino"],
.mapa14[data-variant="masculino"] img[data-variant="masculino"] {
  opacity: 1;
  transform: scale(1);
  filter: saturate(.95) contrast(1.04);
}
.mapa14__figure:hover img { filter: saturate(1) contrast(1.06); }

/* barrido de luz al cambiar de variante */
.mapa14__sweep {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(255, 252, 244, .0) 42%, rgba(255, 252, 244, .95) 50%, rgba(255, 252, 244, 0) 58%, transparent 70%);
}
.mapa14__sweep.is-sweeping { animation: mapa14-sweep 1.05s var(--map-ease) both; }

/* luz de foco que viaja al punto seleccionado + línea de escaneo */
.mapa14__focus {
  position: absolute;
  z-index: 2;
  left: var(--fx);
  top: var(--fy);
  width: 46%;
  aspect-ratio: 1.25;
  translate: -50% -50%;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 246, 226, .95), rgba(255, 236, 205, .35) 58%, transparent 78%);
  mix-blend-mode: soft-light;
  opacity: 0;
  transition: left .75s var(--map-ease), top .75s var(--map-ease), opacity .5s ease;
  animation: mapa14-focus-breathe 5.5s ease-in-out infinite;
}
.mapa14__focus.is-on { opacity: 1; }
.mapa14__scan {
  position: absolute;
  z-index: 2;
  left: -4%;
  right: -4%;
  top: var(--fy);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(139, 127, 113, .75) 22%, rgba(139, 127, 113, .75) 78%, transparent);
  opacity: 0;
  transition: top .75s var(--map-ease), opacity .5s ease;
}
.mapa14__scan.is-on { opacity: .85; }

/* --------------------------------------------------------- decoración viva */
.mapa14__decor {
  position: absolute;
  inset: -2% -3% 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
}
.mapa14__halo {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 94%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 127, 113, .20) 0%, rgba(139, 127, 113, .09) 44%, transparent 68%);
  filter: blur(2px);
  animation: mapa14-halo 9s ease-in-out infinite;
}
.mapa14__orbit {
  position: absolute;
  left: 50%;
  top: 37%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}
.mapa14__orbit--1 {
  width: 92%;
  aspect-ratio: 1;
  border: 1px solid rgba(138, 116, 102, .28);
  animation: mapa14-orbit 90s linear infinite reverse;
}
.mapa14__orbit--2 {
  width: 78%;
  aspect-ratio: 1;
  border: 1px dashed rgba(138, 116, 102, .30);
  animation: mapa14-orbit 46s linear infinite;
}
.mapa14__orbit--3 {
  width: 63%;
  aspect-ratio: 1;
  border: 1px solid rgba(139, 127, 113, .25);
  animation: mapa14-orbit 64s linear infinite reverse;
}
.mapa14__orbit--3::before, .mapa14__orbit--3::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--map-gold);
  box-shadow: 0 0 0 3px rgba(139, 127, 113, .16);
}
.mapa14__orbit--3::before { left: 12%; top: 14%; }
.mapa14__orbit--3::after { right: 10%; bottom: 16%; }
.mapa14__axis {
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(138, 116, 102, .5) 42%, transparent 42%);
  background-size: 1px 8px;
  opacity: .4;
}
.mapa14__axis--v { left: 50%; top: 5%; bottom: 12%; width: 1px; }
.mapa14__axis--h {
  top: 37%;
  left: 6%;
  right: 6%;
  height: 1px;
  background-image: linear-gradient(to right, rgba(138, 116, 102, .5) 42%, transparent 42%);
  background-size: 8px 1px;
}
.mapa14__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(36, 27, 23, .4);
  border-style: solid;
  border-width: 0;
  transition: width .6s var(--map-ease), height .6s var(--map-ease), border-color .6s ease;
}
.mapa14__corner--tl { left: 0; top: 0; border-left-width: 1px; border-top-width: 1px; }
.mapa14__corner--tr { right: 0; top: 0; border-right-width: 1px; border-top-width: 1px; }
.mapa14__corner--bl { left: 0; bottom: 3%; border-left-width: 1px; border-bottom-width: 1px; }
.mapa14__corner--br { right: 0; bottom: 3%; border-right-width: 1px; border-bottom-width: 1px; }
.mapa14__figure:hover .mapa14__corner { width: 34px; height: 34px; border-color: rgba(139, 127, 113, .65); }
.mapa14__legend {
  position: absolute;
  left: -6px;
  bottom: 12%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 500 8px/1 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .34em;
  color: rgba(36, 27, 23, .38);
  white-space: nowrap;
}
.mapa14__speck {
  position: absolute;
  left: var(--sx);
  top: var(--sy);
  width: calc(3px * var(--ss, 1));
  height: calc(3px * var(--ss, 1));
  border-radius: 50%;
  background: var(--map-gold);
  opacity: .55;
  animation: mapa14-speck 7s ease-in-out infinite;
  animation-delay: var(--sd, 0s);
}

.mapa14__spotlight {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle 120px at var(--mx, 50%) var(--my, 34%), rgba(255, 252, 244, .85), rgba(255, 252, 244, 0) 72%);
  mix-blend-mode: soft-light;
  transition: opacity .45s ease;
}
.mapa14__figure:hover .mapa14__spotlight { opacity: 1; }

/* --------------------------------------------------------------- los puntos */
.mapa14__pin {
  position: absolute;
  z-index: 4;
  left: var(--x);
  top: var(--y);
  width: 44px;
  height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--map-ink);
  font: 500 11px/1 var(--map-sans) !important;
  letter-spacing: .03em;
  transition: color .25s ease, transform .35s var(--map-ease), opacity .3s ease;
  animation: mapa14-pin-in .8s var(--map-ease) backwards;
  animation-delay: calc(260ms + var(--i, 0) * 55ms);
}
.mapa14__pin::before {
  content: "";
  position: absolute;
  z-index: 1;
  width: 33px;
  height: 33px;
  border: 1px solid rgba(36, 27, 23, .6);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, #ffffff 0%, #fbf5ec 58%, #f0e6d8 100%);
  box-shadow: 0 5px 14px rgba(36, 27, 23, .18), inset 0 0 0 1px rgba(255, 255, 255, .75);
  transition: background .3s ease, border-color .3s ease, box-shadow .35s ease, width .35s var(--map-ease), height .35s var(--map-ease);
}
/* anillo que late en el punto activo */
.mapa14__pin::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  border: 1px solid var(--map-gold);
  opacity: 0;
  pointer-events: none;
}
.mapa14__pin-num {
  position: relative;
  z-index: 2;
  transition: transform .35s var(--map-ease), letter-spacing .3s ease;
}
.mapa14__pin-glow {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: var(--gw, 130px);
  height: var(--gh, 100px);
  border-radius: 50%;
  border: 1px dashed rgba(139, 127, 113, .48);
  background: radial-gradient(closest-side, rgba(139, 127, 113, .32) 0%, rgba(139, 127, 113, .12) 56%, transparent 72%);
  opacity: 0;
  transform: scale(.82) rotate(-6deg);
  transition: opacity .4s ease, transform .55s var(--map-ease);
  pointer-events: none;
}
.mapa14__pin-label {
  position: absolute;
  z-index: 3;
  left: calc(50% + 22px);
  top: 50%;
  transform: translateY(-50%) translateX(-7px);
  max-width: 148px;
  padding: 6px 9px;
  border: 1px solid rgba(36, 27, 23, .16);
  background: rgba(255, 250, 243, .97);
  color: var(--map-ink);
  font: 500 clamp(9px, 2.6cqw, 11px)/1.15 var(--map-sans);
  letter-spacing: .045em;
  white-space: nowrap;
  box-shadow: 0 7px 18px rgba(36, 27, 23, .13);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, transform .45s var(--map-ease-spring), visibility .3s;
  pointer-events: none;
}
.mapa14__pin.is-flip .mapa14__pin-label {
  left: auto;
  right: calc(50% + 22px);
  transform: translateY(-50%) translateX(7px);
}
.mapa14__pin[aria-pressed="true"] { z-index: 6; color: var(--map-cream); }
.mapa14__pin[aria-pressed="true"]::before {
  width: 37px;
  height: 37px;
  border-color: var(--map-gold);
  background: radial-gradient(circle at 34% 28%, #4a382d 0%, var(--map-ink) 68%);
  box-shadow: 0 0 0 4px rgba(139, 127, 113, .22), 0 10px 22px rgba(36, 27, 23, .28);
}
.mapa14__pin[aria-pressed="true"]::after { opacity: 1; animation: mapa14-ping 2.9s var(--map-ease) infinite; }
.mapa14__pin[aria-pressed="true"] .mapa14__pin-glow { opacity: 1; transform: scale(1) rotate(0deg); }
.mapa14__pin[aria-pressed="true"] .mapa14__pin-label {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
  border-color: rgba(139, 127, 113, .55);
}
.mapa14__pin[aria-pressed="true"] .mapa14__pin-num { letter-spacing: .06em; }

.mapa14__figure:has(.mapa14__pin[aria-pressed="true"]) .mapa14__pin:not([aria-pressed="true"]) { opacity: .74; }
.mapa14__figure:has(.mapa14__pin[aria-pressed="true"]) .mapa14__pin:not([aria-pressed="true"]):hover { opacity: 1; }

/* ----------------------------------------------- CTA Reservar valoración */
.mapa14__global {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 460px);
  min-height: 64px;
  margin: 18px auto 0;
  padding: 10px 15px;
  overflow: hidden;
  border: 1px solid rgba(36, 27, 23, .24);
  border-radius: 0;
  background: rgba(255, 252, 246, .6);
  text-align: left;
  color: var(--map-ink);
  transition: border-color .35s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease, transform .35s var(--map-ease);
}
.mapa14__global::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(115deg, transparent 15%, rgba(139, 127, 113, .28) 48%, transparent 82%);
  transform: translateX(-110%);
  transition: transform .9s var(--map-ease);
}
.mapa14__global:hover {
  border-color: var(--map-gold);
  background: #fffdf8;
  box-shadow: 0 14px 30px -14px rgba(36, 27, 23, .35);
  transform: translateY(-2px);
}
.mapa14__global:hover::before { transform: translateX(110%); }
.mapa14__global:active { transform: translateY(0); }
.mapa14__global > * { position: relative; z-index: 1; }
.mapa14__global-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(139, 127, 113, .6);
  border-radius: 50%;
  color: var(--map-gold);
  font-size: 14px;
  transition: background-color .3s ease, color .3s ease, transform .6s var(--map-ease);
}
.mapa14__global:hover .mapa14__global-icon { transform: rotate(90deg); background: var(--map-gold); color: var(--map-ink); }
.mapa14__global-copy { display: grid; gap: 3px; }
.mapa14__global-label { font: 500 13px/1.25 var(--map-sans); letter-spacing: .03em; }
.mapa14__global-caption {
  font: 400 8.5px/1.3 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--map-muted);
}
.mapa14__global-arrow { font-size: 18px; line-height: 1; transition: transform .4s var(--map-ease); }
.mapa14__global:hover .mapa14__global-arrow { transform: translate(4px, -4px); }
.mapa14__figure-note { margin: 12px auto 0; max-width: 460px; text-align: center; }

/* ------------------------------------------------------------------ ficha */
.mapa14__content {
  position: relative;
  min-width: 0;
  padding: clamp(2px, 1.6vw, 20px) 0 0 clamp(0px, 2.5vw, 38px);
  border-left: 1px solid rgba(36, 27, 23, .13);
}
.mapa14__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 500 10px/1.4 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--map-accent-dark);
}
.mapa14__eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--map-gold); transition: width .6s var(--map-ease); }
.mapa14__eyebrow:hover::after { width: 64px; }
.mapa14__heading {
  margin: 14px 0 13px !important;
  color: var(--map-ink);
  font: 400 clamp(38px, 4.4vw, 58px)/.98 "Mansory", var(--map-serif);
  letter-spacing: -.028em;
}
.mapa14__heading em { font-style: italic; color: var(--map-accent-dark); }
.mapa14__intro { margin: 0; max-width: 38ch; color: var(--map-muted); font: 300 14px/1.65 var(--map-sans); }

.mapa14__rail {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  margin: 24px 0 20px;
  padding-bottom: 2px;
}
.mapa14__rail button {
  flex: 1 1 0;
  width: auto;
  min-width: 8px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  align-items: end;
}
.mapa14__rail button span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(36, 27, 23, .17);
  transform-origin: bottom;
  transition: background-color .3s ease, height .35s var(--map-ease), box-shadow .35s ease;
}
.mapa14__rail button:hover span { background: var(--map-accent); height: 8px; }
.mapa14__rail button[aria-pressed="true"] span {
  height: 14px;
  background: linear-gradient(to top, var(--map-gold), #d8bd93);
  box-shadow: 0 0 10px rgba(139, 127, 113, .5);
}

.mapa14__detail {
  position: relative;
  min-height: 240px;
  padding: 24px 24px 20px;
  overflow: hidden;
  border: 1px solid rgba(36, 27, 23, .14);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(139, 127, 113, .13) 0%, transparent 58%),
    rgba(255, 250, 243, .78);
  box-shadow: 0 18px 40px -30px rgba(36, 27, 23, .45);
}
.mapa14__detail::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 46px;
  height: 1px;
  background: var(--map-gold);
}
.mapa14__detail.is-changing::before { animation: mapa14-line 0.7s var(--map-ease) both; }
.mapa14__ghost {
  position: absolute;
  right: 12px;
  top: 4px;
  z-index: 0;
  color: rgba(138, 116, 102, .16);
  font: 400 clamp(78px, 9vw, 118px)/.8 "Mansory", var(--map-serif);
  letter-spacing: -.07em;
  pointer-events: none;
  user-select: none;
}
.mapa14__detail.is-changing .mapa14__ghost { animation: mapa14-ghost .6s var(--map-ease) both; }
.mapa14__detail > :not(.mapa14__ghost) { position: relative; z-index: 1; }
.mapa14__counter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  font: 500 10px/1.3 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--map-accent-dark);
}
.mapa14__counter::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--map-gold); animation: mapa14-dot 2.6s ease-in-out infinite; }
.mapa14__title {
  margin: 0 0 8px !important;
  max-width: 14ch;
  color: var(--map-ink);
  font: 400 clamp(28px, 3vw, 39px)/1.02 "Mansory", var(--map-serif);
  letter-spacing: -.025em;
}
.mapa14__text { margin: 0; min-height: 52px; max-width: 44ch; color: var(--map-muted); font: 300 13.5px/1.65 var(--map-sans); }
.mapa14__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(36, 27, 23, .12);
}
.mapa14__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--map-ink);
  font: 500 11px/1.4 var(--map-sans);
  letter-spacing: .04em;
  border-bottom: 1px solid var(--map-gold);
  padding-bottom: 2px;
  transition: color .25s ease, border-color .25s ease, gap .3s var(--map-ease);
}
.mapa14__cta:hover { color: var(--map-accent-dark); border-color: var(--map-ink); gap: 10px; }
.mapa14__nav { display: flex; gap: 6px; }
.mapa14__nav button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(36, 27, 23, .22);
  border-radius: 50%;
  background: transparent;
  color: var(--map-ink);
  font-size: 14px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--map-ease);
}
.mapa14__nav button:hover { background: var(--map-ink); color: var(--map-cream); border-color: var(--map-ink); transform: scale(1.08); }
.mapa14__nav button:active { transform: scale(.93); }

.mapa14__index { margin-top: 20px; }
.mapa14__index summary {
  width: fit-content;
  cursor: pointer;
  list-style: none;
  padding: 5px 0;
  font: 500 10px/1.4 var(--map-sans);
  text-transform: uppercase;
  letter-spacing: .17em;
  color: var(--map-accent-dark);
}
.mapa14__index summary::-webkit-details-marker { display: none; }
.mapa14__index summary::after { content: " +"; color: var(--map-gold); transition: color .3s; }
.mapa14__index summary:hover::after { color: var(--map-ink); }
.mapa14__index[open] summary::after { content: " −"; }
.mapa14__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 22px;
  margin-top: 8px;
}
.mapa14__list button {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid rgba(36, 27, 23, .10);
  background: transparent;
  color: var(--map-muted);
  text-align: left;
  font: 400 11.5px/1.25 var(--map-sans);
  transition: color .2s ease, padding-left .3s var(--map-ease), border-color .3s ease;
}
.mapa14__list button span:first-child {
  min-width: 17px;
  color: var(--map-accent-dark);
  font-size: 10px;
  letter-spacing: .02em;
  transition: color .25s ease, transform .3s var(--map-ease);
}
.mapa14__list button:hover { color: var(--map-ink); padding-left: 4px; border-color: rgba(139, 127, 113, .45); }
.mapa14__list button:hover span:first-child { color: var(--map-gold); transform: translateX(2px); }
.mapa14__list button[aria-pressed="true"] { color: var(--map-ink); font-weight: 500; }
.mapa14__list button[aria-pressed="true"] span:first-child { color: var(--map-ink); }

/* =========================================================== entrada / scroll */
.mapa14.is-prepared .mapa14__figure { opacity: 0; transform: translateY(22px) scale(.98); }
.mapa14.is-prepared .mapa14__content > * { opacity: 0; transform: translateY(16px); }
.mapa14.is-prepared .mapa14__switch, .mapa14.is-prepared .mapa14__toolbar { opacity: 0; transform: translateY(-10px); }
.mapa14.is-prepared .mapa14__global { opacity: 0; transform: translateY(14px); }
.mapa14.is-in .mapa14__figure,
.mapa14.is-in .mapa14__content > *,
.mapa14.is-in .mapa14__switch,
.mapa14.is-in .mapa14__toolbar,
.mapa14.is-in .mapa14__global {
  opacity: 1;
  transform: none;
  transition: opacity .85s ease, transform 1.05s var(--map-ease);
}
.mapa14.is-in .mapa14__content > :nth-child(2) { transition-delay: .08s; }
.mapa14.is-in .mapa14__content > :nth-child(3) { transition-delay: .16s; }
.mapa14.is-in .mapa14__content > :nth-child(4) { transition-delay: .24s; }
.mapa14.is-in .mapa14__content > :nth-child(5) { transition-delay: .32s; }
.mapa14.is-in .mapa14__content > :nth-child(6) { transition-delay: .4s; }
.mapa14.is-in .mapa14__global { transition-delay: .3s; }

/* ============================================================ keyframes */
@keyframes mapa14-ambient {
  from { transform: translate3d(-4%, -3%, 0) scale(.96); opacity: .6; }
  to { transform: translate3d(8%, 5%, 0) scale(1.06); opacity: 1; }
}
@keyframes mapa14-sweep {
  0% { opacity: 0; transform: translateX(-60%); }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateX(60%); }
}
@keyframes mapa14-focus-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes mapa14-rise {
  from { opacity: 0; transform: translateY(9px); filter: blur(4px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
@keyframes mapa14-pin-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% - 16px)) scale(.4) rotate(-24deg); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}
@keyframes mapa14-ping {
  0% { opacity: .7; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.1); }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes mapa14-halo {
  0%, 100% { opacity: .75; transform: translate(-50%, -50%) scale(.97); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}
@keyframes mapa14-orbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes mapa14-speck {
  0%, 100% { transform: translateY(0); opacity: .25; }
  50% { transform: translateY(-9px); opacity: .75; }
}
@keyframes mapa14-line {
  from { width: 0; }
  to { width: 46px; }
}
@keyframes mapa14-ghost {
  from { opacity: 0; transform: translateY(14px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes mapa14-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: .55; }
}

.mapa14__detail.is-changing > * { animation: mapa14-rise .4s var(--map-ease) both; }
.mapa14__detail.is-changing .mapa14__ghost { animation: mapa14-ghost .6s var(--map-ease) both; }
.mapa14__detail.is-changing > :nth-child(3) { animation-delay: 50ms; }
.mapa14__detail.is-changing > :nth-child(4) { animation-delay: 100ms; }
.mapa14__detail.is-changing > :nth-child(5) { animation-delay: 150ms; }

@media (hover: hover) and (pointer: fine) {
  .mapa14__pin:hover, .mapa14__pin:focus-visible {
    z-index: 7;
    transform: translate(-50%, -50%) scale(1.09);
  }
  .mapa14__pin:hover::before, .mapa14__pin:focus-visible::before {
    width: 37px;
    height: 37px;
    border-color: var(--map-gold);
    box-shadow: 0 0 0 5px rgba(139, 127, 113, .16), 0 8px 20px rgba(36, 27, 23, .2);
  }
  .mapa14__pin:hover::after, .mapa14__pin:focus-visible::after { opacity: .6; animation: mapa14-ping 2.2s var(--map-ease) infinite; }
  .mapa14__pin:hover .mapa14__pin-glow, .mapa14__pin:focus-visible .mapa14__pin-glow { opacity: .9; transform: scale(1) rotate(0deg); }
  .mapa14__pin:hover .mapa14__pin-label, .mapa14__pin:focus-visible .mapa14__pin-label {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
  .mapa14__pin:hover .mapa14__pin-num, .mapa14__pin:focus-visible .mapa14__pin-num { letter-spacing: .06em; transform: scale(1.06); }
}

/* ============================================================ responsive */
@media (max-width: 1080px) { .mapa.mapa14 { grid-template-columns: minmax(0, 440px) minmax(0, 400px); } }

@media (max-width: 850px) {
  .mapa.mapa14 { grid-template-columns: minmax(0, 1fr); gap: 26px; justify-items: center; }
  .mapa14__visual, .mapa14__content { width: min(100%, 560px); }
  .mapa14__figure, .mapa14__figure-note { width: min(100%, 430px); }
  .mapa14__content { padding: 0; border-left: 0; }
  .mapa14__heading { margin-top: 12px !important; }
  .mapa14__rail { margin: 20px 0 16px; }
  .mapa14__legend { display: none; }
  .mapa14__detail { min-height: 0; padding: 20px 18px 17px; }
  .mapa14__ghost { font-size: 84px; }
  .mapa14__list button { min-height: 42px; }
}

@media (max-width: 440px) {
  .mapa.mapa14 { padding: 22px 14px 40px; }
  .mapa14--preview { position: relative; left: 50%; width: 100vw !important; transform: translateX(-50%); }
  .mapa14__figure, .mapa14__figure-note { width: min(100%, 356px); }
  .mapa14__pin { font-size: 10px !important; }
  .mapa14__pin::before, .mapa14__pin::after { width: 31px; height: 31px; }
  .mapa14__pin[aria-pressed="true"]::before, .mapa14__pin[aria-pressed="true"]::after { width: 34px; height: 34px; }
  .mapa14__pin-label { max-width: 112px; padding: 5px 7px; }
  .mapa14__orbit--1 { width: 98%; }
  .mapa14__corner { width: 16px; height: 16px; }
  .mapa14__title { font-size: 27px; }
  .mapa14__text { font-size: 13px; }
  .mapa14__list { column-gap: 14px; }
  .mapa14__list button { font-size: 11px; }
  .mapa14__switch-track button { padding: 0 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .mapa14__pin, .mapa14__pin::before, .mapa14__pin::after, .mapa14__pin-glow, .mapa14__pin-label,
  .mapa14__global, .mapa14__global::before, .mapa14__nav button, .mapa14__figure img,
  .mapa14__spotlight, .mapa14__focus, .mapa14__scan, .mapa14__switch-track::before,
  .mapa14.is-prepared .mapa14__figure, .mapa14.is-prepared .mapa14__content > *,
  .mapa14.is-prepared .mapa14__switch, .mapa14.is-prepared .mapa14__toolbar,
  .mapa14.is-prepared .mapa14__global { transition: none !important; }
  .mapa14__pin, .mapa14__pin-glow, .mapa14__halo, .mapa14__orbit, .mapa14__speck,
  .mapa14__detail.is-changing > *, .mapa14__detail.is-changing .mapa14__ghost,
  .mapa14__detail.is-changing::before, .mapa14__pin[aria-pressed="true"]::after,
  .mapa14__counter::before, .mapa14__sweep, .mapa14.mapa14::before,
  .mapa14__focus { animation: none !important; }
  .mapa14.is-prepared .mapa14__figure, .mapa14.is-prepared .mapa14__content > *,
  .mapa14.is-prepared .mapa14__switch, .mapa14.is-prepared .mapa14__toolbar,
  .mapa14.is-prepared .mapa14__global { opacity: 1 !important; transform: none !important; }
  .mapa14__pin-glow { opacity: .7; transform: none; }
  .mapa14__focus { opacity: .8; }
}
