/* =========================================================
   UBICACIONES (Google Maps)
   ========================================================= */
.locs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2rem; align-items: stretch; }
.locs__list { display: flex; flex-direction: column; gap: 1rem; }

.loc {
  display: flex; gap: 1rem; align-items: flex-start; cursor: pointer;
  background: #fff; border: 2px solid var(--borde); border-radius: var(--radio);
  padding: 1.2rem 1.3rem; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.loc:hover { transform: translateY(-2px); box-shadow: var(--sombra); }
.loc:focus-visible { outline: 3px solid var(--celeste); outline-offset: 2px; }
.loc.active { border-color: var(--celeste); box-shadow: var(--sombra); }
.loc__icon {
  width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--celeste-claro); color: var(--azul); transition: background .2s, color .2s;
}
.loc__icon .i { width: 22px; height: 22px; }
.loc.active .loc__icon { background: var(--celeste); color: #fff; }
.loc__body strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; color: var(--rosa); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.loc__body span { display: block; color: var(--texto); font-weight: 600; margin: .1rem 0 .5rem; }
.loc__go {
  display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem;
  color: var(--azul); text-decoration: none;
}
.loc__go:hover { text-decoration: underline; }
.loc__go .i { width: 16px; height: 16px; }
.locs__hours { display: flex; align-items: center; gap: .5rem; color: var(--texto-suave); font-weight: 600; margin-top: .3rem; }

.locs__map {
  border-radius: 24px; overflow: hidden; box-shadow: var(--sombra-fuerte);
  min-height: 420px; background: var(--celeste-claro);
}
.locs__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

.topbar__link { color: inherit; text-decoration: none; }
.topbar__link:hover { color: #fff; text-decoration: underline; }

@media (max-width: 960px) {
  .locs { grid-template-columns: 1fr; }
  .locs__map, .locs__map iframe { min-height: 340px; }
}

/* Selector Satélite / Mapa */
.locs__map { position: relative; }
.map-toggle {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: flex;
  background: #fff; border-radius: 999px; padding: 4px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.map-toggle button {
  font: 600 .88rem "Poppins", sans-serif; border: 0; background: none; color: var(--azul-noche);
  padding: .45rem 1rem; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.map-toggle button.active { background: var(--celeste); color: #fff; }

/* Foto del local en la tarjeta */
.loc__body { flex: 1; min-width: 0; }
.loc__photo {
  position: relative; display: block; margin: .2rem 0 .7rem; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 16px rgba(7, 42, 87, .15);
}
.loc__photo img { width: 100%; height: auto; transition: transform .4s; }
.loc__photo:hover img { transform: scale(1.04); }
.loc__body .loc__photo-tag {
  position: absolute; left: 10px; bottom: 10px; margin: 0;
  background: rgba(255,255,255,.92); color: var(--azul-noche); font-size: .78rem; font-weight: 700;
  padding: .25rem .65rem; border-radius: 999px;
}

/* Con fotos la lista es larga: el mapa mantiene su altura y acompaña al scroll */
.locs { align-items: start; }
.locs__map { position: sticky; top: calc(var(--header-h) + 20px); height: 540px; min-height: 0; }
.locs__map iframe { height: 100%; min-height: 0; }
@media (max-width: 960px) {
  .locs__map { position: relative; top: auto; height: 360px; }
}
