/* =============================================================================
   Servicios — Tarjetas grid 2x2 (fondo mint)
   ========================================================================== */

.serv-tarjetas {
  padding-block: var(--section-pad-y);
}

.serv-tarjetas__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 768px) {
  .serv-tarjetas__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

.serv-tarjeta {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.serv-tarjeta__head {
  background: var(--color-mint);
  padding: var(--space-5) var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.serv-tarjeta__icono {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  color: var(--color-text);
  flex-shrink: 0;
}
.serv-tarjeta__icono svg {
  width: 100%;
  height: 100%;
}

.serv-tarjeta__titulo {
  margin: 0;
  font-size: var(--fs-h-s);
  line-height: var(--lh-h-s);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.serv-tarjeta__body {
  background: #fff;
  padding: var(--space-5) var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.serv-tarjeta__subtitulo {
  margin: 0;
  font-size: var(--fs-p-l);
  line-height: var(--lh-p-l);
  font-weight: var(--fw-bold);
  color: var(--color-text);
}

.serv-tarjeta__texto {
  color: var(--color-text-muted);
  font-size: var(--fs-p-m);
  line-height: var(--lh-p-m);
}
.serv-tarjeta__texto p + p { margin-top: 1em; }

/* === Card interactiva: el <button> envuelve la card y abre el modal === */
.serv-tarjeta__trigger {
  appearance: none;
  border: none;
  background: none;
  margin: 0;
  padding: 0;
  width: 100%;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  flex: 1;
  transition: transform var(--t-fast);
}

.serv-tarjeta--interactiva {
  transition: box-shadow var(--t-fast);
}
.serv-tarjeta--interactiva:hover {
  box-shadow: var(--shadow-md);
}
.serv-tarjeta__trigger:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 2px;
}

.serv-tarjeta__mas {
  margin-top: var(--space-2);
  color: var(--color-burgundy);
  font-size: var(--fs-p-s);
  font-weight: var(--fw-bold);
  text-decoration: underline;
}
