/* ==========================================================================
   Bloques de servicios (Gerontológico / Sustentable / Entorno)
   ========================================================================== */

.service-blocks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}

.service-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.service-block__swatch {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-surface-soft);
}

.service-block__swatch img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-block h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  color: var(--color-900);
  text-transform: uppercase;
  margin-top: 1rem;
}

.service-block p {
  color: var(--color-text-secondary);
  font-size: var(--text-base-size);
  line-height: var(--text-base-line);
  padding-left: 10%;
  padding-right: 10%;
}

@media (max-width: 900px) {
  .service-blocks {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
    gap: 48px;
  }

  .service-block__swatch {
    aspect-ratio: 3 / 2;
  }

  .service-block h3,
  .service-block p {
    text-align: center;
  }
}

/* ==========================================================================
   Lista de servicios adicionales con costo
   ========================================================================== */

.cost-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.cost-list__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
}

.cost-list__row span:first-child {
  font-size: var(--text-base-size);
  line-height: var(--text-base-line);
  color: var(--color-900);
}

.cost-list__tag {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: white;
  background: var(--color-whatsapp-green);
  padding: 4px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
