/* =====================================================
   CUIDA VÍNCULO - OFERTA DE APOYO
   Se carga después de dashboard.css (reutiliza tarjetas,
   tooltip y leyendas).
===================================================== */

.sr-only {
  position: absolute;

  width: 1px;
  height: 1px;

  overflow: hidden;

  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* =====================================================
   FILTROS
===================================================== */

.offer-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  margin-bottom: 18px;
}

.offer-search {
  position: relative;

  flex: 1 1 260px;

  max-width: 360px;
}

.offer-search i {
  position: absolute;
  top: 50%;
  left: 12px;

  transform: translateY(-50%);

  color: var(--ink-3);

  font-size: 13px;

  pointer-events: none;
}

.main .offer-search input {
  width: 100%;
  height: 36px;

  padding: 0 12px 0 34px;
}

.main .offer-field select {
  height: 36px;

  padding: 0 32px 0 12px;
}

.offer-clear {
  height: 36px;

  padding: 0 12px;

  border-radius: 10px;

  color: var(--series-1);
  background: transparent;

  font-size: 13px;
  font-weight: 500;

  cursor: pointer;
}

.offer-clear:hover {
  background: rgba(0, 113, 227, .08);
}

.group-key {
  display: inline-block;

  width: 8px;
  height: 8px;

  margin-right: 7px;

  border-radius: 50%;

  vertical-align: 1px;
}


/* =====================================================
   MAPA + LISTA
===================================================== */

.offer-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, 1fr);
  align-items: start;
}

.offer-map-card {
  position: sticky;
  top: 84px;
}

.dash .offer-map {
  height: 520px;
}

.offer-legend {
  margin: 14px 0 0;
}

.key-dot {
  flex: 0 0 auto;

  width: 10px;
  height: 10px;

  border-radius: 50%;

  box-shadow: 0 0 0 1.5px #ffffff, 0 0 0 2px rgba(0, 0, 0, .08);
}

.offer-list-card {
  display: flex;
  flex-direction: column;
}

.svc-list {
  display: grid;
  gap: 2px;

  list-style: none;
}

.svc {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 8px;

  padding: 12px 10px;

  border-radius: 12px;

  cursor: pointer;

  outline: none;
}

.svc + .svc {
  box-shadow: 0 -1px 0 var(--grid);
}

.svc:hover {
  background: rgba(0, 0, 0, .03);
}

.svc:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 113, 227, .35);
}

.svc.selected {
  background: rgba(0, 113, 227, .07);
  box-shadow: none;
}

.svc .key-dot {
  margin-top: 5px;
}

.svc-main {
  display: flex;
  flex-direction: column;
  gap: 2px;

  min-width: 0;
}

.svc-main strong {
  color: var(--ink-1);

  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.svc-meta {
  color: var(--ink-2);

  font-size: 12.5px;
}

.svc-address {
  color: var(--ink-3);

  font-size: 12.5px;
  line-height: 1.4;
}

.svc-side {
  grid-column: 2;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.svc-side:empty {
  display: none;
}

.svc-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;

  height: 26px;
  padding: 0 10px;

  border-radius: 999px;

  color: var(--series-1);
  background: rgba(0, 113, 227, .08);

  font-size: 12px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.svc-action:hover {
  background: rgba(0, 113, 227, .14);
}

.svc-action i {
  font-size: 10.5px;
}

.svc-staff {
  color: var(--ink-3);

  font-size: 12px;
}

.svc-more {
  align-self: center;

  margin-top: 14px;
}

.svc-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;

  padding: 48px 16px;

  color: var(--ink-2);

  font-size: 13px;
  text-align: center;
}

.svc-empty i {
  margin-bottom: 6px;

  color: var(--ink-3);

  font-size: 22px;
}

.svc-empty strong {
  color: var(--ink-1);

  font-size: 15px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1180px) {

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .offer-map-card {
    position: static;
  }

  .dash .offer-map {
    height: 400px;
  }

}

@media (max-width: 700px) {

  .offer-search {
    max-width: none;
    flex-basis: 100%;
  }

  .offer-field {
    flex: 1 1 calc(50% - 5px);
  }

  .main .offer-field select {
    width: 100%;
  }

  .dash .offer-map {
    height: 320px;
  }

}
