.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 24px; }
.tarjeta {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgb(28 28 26 / 0.08), 0 8px 24px -16px rgb(28 28 26 / 0.3);
  color: var(--tinta);
  text-decoration: none;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease);
}
.tarjeta:active { transform: scale(0.99); }
.tarjeta__foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e8e4d8; }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta__capa {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(7 9 10 / 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms var(--ease);
}
.tarjeta__ver-mas {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta);
  font-weight: 600;
}
.tarjeta:focus-visible .tarjeta__capa { opacity: 1; }
.sello {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta);
  font: 600 0.78rem "Inter", system-ui, sans-serif;
}
.sello--reservada { background: var(--oro); }
.tarjeta__texto { display: flex; flex-direction: column; gap: 6px; padding: 18px; overflow-wrap: anywhere; }
.tarjeta__precio { font-size: 1.3rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.tarjeta__zona { display: flex; gap: 6px; align-items: center; color: var(--gris); font-size: 0.9rem; }
.datos { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; list-style: none; font-size: 0.85rem; }
.datos li { display: flex; align-items: center; gap: 6px; }

@media (hover: hover) and (pointer: fine) {
  .tarjeta:hover .tarjeta__capa { opacity: 1; }
  .tarjeta:hover, .tarjeta.resaltada { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgb(28 28 26 / 0.45); }
}
