/* ============================================================
   SERVICES — Lista vertical full-width · Número + Título + Tags
   No tres cards iguales en grid
   ============================================================ */

.services {
  padding-block: var(--section-py-lg);
  padding-inline: var(--section-px);
  background-color: var(--dark);
}

.services__container {
  max-width: var(--container-max);
  margin-inline: auto;
}

/* ── Lista ────────────────────────────────────────────────────── */

.services__list {
  border-top: 1px solid rgba(var(--teal-300-rgb), 0.1);
}

/* ── Fila de servicio ─────────────────────────────────────────── */

.service-row {
  display: grid;
  grid-template-columns: 3.5rem 1fr minmax(0, 200px);
  gap: 0 2.5rem;
  align-items: start;
  padding-block: 2.25rem;
  border-bottom: 1px solid rgba(var(--teal-300-rgb), 0.07);
  cursor: default;
  transition: background-color 0.35s ease, padding-inline 0.35s ease;
  position: relative;
}

/* Hover: fondo muy sutil, ligero sangrado horizontal */
.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(var(--teal-300-rgb), 0.025);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.service-row:hover::before {
  opacity: 1;
}

/* ── Número ────────────────────────────────────────────────────── */

.service-row__num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1.3;
  letter-spacing: -0.03em;
  padding-block-start: 0.1rem;
  transition: color 0.3s ease, transform 0.35s var(--ease-out-quart);
  display: block;
}

.service-row:hover .service-row__num {
  color: var(--teal-300);
  transform: scale(1.08);
}

/* ── Cuerpo ─────────────────────────────────────────────────── */

.service-row__body {
  min-width: 0;
}

.service-row__title {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  color: var(--neutral-100);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.service-row:hover .service-row__title {
  color: var(--neutral-100);
}

.service-row__desc {
  font-size: 0.92rem;
  font-weight: 300;
  color: var(--neutral-500);
  line-height: 1.75;
  transition: color 0.3s ease;
}

.service-row:hover .service-row__desc {
  color: var(--neutral-200);
}

/* ── Tags — texto plano separado por · (no pills redondeados) ── */

.service-row__tags {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--neutral-500);
  line-height: 1.6;
  text-align: right;
  padding-block-start: 0.25rem;
  white-space: normal;
  word-break: break-word;
  transition: color 0.3s ease;
}

.service-row:hover .service-row__tags {
  color: var(--teal-300);
}

/* ── Responsive ──────────────────────────────────────────────── */

@media (max-width: 860px) {
  .service-row {
    grid-template-columns: 3rem 1fr;
    grid-template-rows: auto auto;
  }

  .service-row__tags {
    grid-column: 2;
    text-align: left;
    white-space: normal;
    margin-top: 0.6rem;
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .service-row {
    grid-template-columns: 2.5rem 1fr;
    gap: 0 1.25rem;
    padding-block: 1.75rem;
  }
}
