:root {
  --bg-section: #f8f5f2;
  --ink: #1f2d3d;
  --muted: #6b7785;
  --gold: #6a2e24;      /* borde y botón */
  --gold-ink: #8f6410;  /* texto suave dorado */
  --card-bg: #ffffff;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.membresias-section {
  background-color: #ffffff;
  padding: 56px 20px;
  font-family: 'Playfair Display', serif;
  display: flex;
  flex-direction: column;
  align-items: center; /* centra horizontalmente */
  text-align: center; /* centra texto */
}

.membresias-title {
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 22px;
  font-size: 36px;
  color: var(--ink);
  font-weight: 700;
}

.membresias-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr)); /* columnas iguales */
  gap: 28px;
  justify-items: stretch; /* tarjetas ocupan todo el ancho */
  align-items: stretch;   /* iguala alturas por fila */
  background-color: #ffffff;
}

@media (max-width: 900px) {
  .membresias-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
.membership-card {
  width: 100%;   /* ocupa todo el ancho de la columna */
  height: 100%;  /* iguala altura por fila */
  min-height: 170px; /* altura mínima uniforme */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* centra contenido vertical */
  gap: 24px;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: 0 6px 16px rgba(8, 8, 8, 0.28);
  text-align: center;
}

/* Columna izquierda */
.membership-info {
  display: grid;
  gap: 6px;
}

.sessions {
  color: var(--gold-ink);
  font-size: 19px;
}

.membership-name {
  color: #273c52; /* azul/gris como en la captura */
  font-size: 22px;
  font-weight: 700;
  margin: 2px 0 4px;
}

.duration {
  color: var(--muted);
  font-size: 20px;
}

.price {
  color: var(--ink);
  font-weight: 800;
  font-size: 23px;
}

/*
.btn-agendar {
  white-space: nowrap;
  padding: 12px 18px;
  background: var(--gold);
  color: #fff;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(224,160,32,.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn-agendar:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(224,160,32,.35);
}
.btn-agendar:active {
  transform: translateY(0);
  opacity: .9;
}
*/

/* En móvil, botón abajo */
@media (max-width: 600px) {
  .membership-card {
    align-items: center; /* mantener centrado también en móvil */
  }
  .btn-agendar {
    align-self: flex-end;
  }
}
