    15. UBICACIÓN
───────────────────────────────────────────────────────────────── */
/* ═══════════════════════════════════════════
   PÁGINA UBICACIÓN — Concept A (v3)
   Tokens: --base · --surface-0 · --accent
   Toggle 2D/3D copia exacta de .fs-btn
═══════════════════════════════════════════ */

#page-ubicacion {
  background: var(--base);
  overflow: hidden;
  justify-content: flex-start;
  align-items: stretch;
}

/* ── Mapa — fondo completo ── */
.ubicacion-fullmap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: color-mix(in srgb, var(--base) 95%, #1a1a1a);
}

#gmap {
  width: 100%;
  height: 100%;
}

.ubicacion-map-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      color-mix(in srgb, var(--base) 98%, #fff) 0%,
      color-mix(in srgb, var(--base) 92%, #fff) 100%);
  z-index: 2;
  transition: opacity .5s, visibility .5s;
}

.ubicacion-map-loading.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.map-loading-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--accent-dim);
}

.map-loading-inner p {
  font-size: .65rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-family: 'DM Sans', sans-serif;
}

.ubicacion-map-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%,
      color-mix(in srgb, var(--base) 62%, transparent) 100%),
    radial-gradient(circle at center, transparent 40%,
      color-mix(in srgb, var(--base) 18%, transparent) 100%);
}

/* ── Toggle 2D/3D — mismo sistema visual que .fs-btn, posicionado a su izquierda ── */
.ubi-map-toggle {
  position: fixed;
  top: var(--ui-btn-top);
  right: calc(var(--ui-btn-edge) + var(--ui-btn-size) + var(--ui-btn-gap));
  z-index: 3300;
  display: flex;
  align-items: stretch;
  /* height, border-radius, bg, border, shadow: heredados del bloque base visual */
}

.ubi-toggle-btn {
  width: var(--ui-btn-size);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

/* Divisor vertical entre los dos botones */
.ubi-toggle-btn+.ubi-toggle-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  /* color: heredado del bloque base visual */
}

.ubi-toggle-btn:active {
  transform: scale(.96);
}

/* ── Strip de datos — overlay inferior ── */
.ubi-data-strip {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--accent-border);
  background: var(--ui-btn-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .22);
}

.ubi-strip-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 13px 16px;
  border-right: 1px solid var(--accent-border);
}

.ubi-strip-cell:last-child {
  border-right: none;
}

.ubi-strip-label {
  font-size: .44rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'DM Sans', sans-serif;
}

.ubi-strip-val {
  font-size: .74rem;
  font-weight: 500;
  color: var(--base);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ubi-strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent);
}

.ubi-strip-sub {
  font-size: .54rem;
  color: var(--ink2);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.3;
}

/* ── Responsive mobile ── */
@media (max-width: 760px) {
  .ubi-data-strip {
    bottom: 14px;
    left: 12px;
    right: 12px;
    grid-template-columns: repeat(2, 1fr);
    border-radius: 10px;
  }

  .ubi-strip-cell:nth-child(1),
  .ubi-strip-cell:nth-child(2) {
    border-bottom: 1px solid var(--accent-border);
  }

  .ubi-strip-cell:nth-child(2),
  .ubi-strip-cell:nth-child(4) {
    border-right: none;
  }

  .ubi-strip-cell {
    padding: 10px 13px;
  }
}

@media (max-width: 400px) {
  .ubi-strip-label {
    font-size: .42rem;
  }

  .ubi-strip-val {
    font-size: .68rem;
  }
}

/* Términos */
.terminos-inner {
  max-width: 720px;
}

.terminos-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}

.terminos-text {
  font-size: .84rem;
  line-height: 1.85;
  color: var(--ink2);
  font-weight: 300;
}

