/* ── Bolsa de Permutas ───────────────────────────────────────── */

.pm-hero {
  background: linear-gradient(135deg, #0f1b2d 0%, #1a1a2e 60%, #0f3460 100%);
  padding: clamp(3rem,8vh,6rem) 0 clamp(2.5rem,6vh,5rem);
  text-align: center;
}
.pm-hero-badge {
  display: inline-block;
  background: oklch(52% 0.205 9 / 0.2);
  border: 1px solid oklch(52% 0.205 9 / 0.45);
  color: oklch(78% 0.13 9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.pm-hero-title {
  font-size: clamp(2.2rem,5vw,3.5rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.pm-hero-sub {
  font-size: clamp(1rem,1.8vw,1.2rem);
  color: oklch(80% 0 0);
  margin: 0 auto 2.5rem;
  max-width: 600px;
  line-height: 1.6;
}

/* ── Contadores agregados ────────────────────────────────────── */
.pm-contadores { padding: clamp(2.5rem,5vh,4rem) 0 0; }
.pm-cont-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px,1fr));
  gap: 1.25rem;
}
.pm-cont-card {
  background: oklch(100% 0 0 / 0.03);
  border: 0.5px solid oklch(100% 0 0 / 0.08);
  border-radius: 14px;
  padding: 1.5rem;
}
.pm-cont-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #e94560;
  margin: 0 0 .9rem;
}
.pm-cont-big {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin: 0 0 .3rem;
}
.pm-cont-sub { font-size: 0.8rem; color: oklch(60% 0 0); margin: 0; }
.pm-cont-rows { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pm-cont-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 0.85rem;
  color: oklch(75% 0 0);
}
.pm-cont-rows li .pm-n {
  font-weight: 700;
  color: #e94560;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.pm-cont-vacio {
  text-align: center;
  background: oklch(100% 0 0 / 0.03);
  border: 0.5px dashed oklch(100% 0 0 / 0.15);
  border-radius: 14px;
  padding: 2.25rem 1.5rem;
  color: oklch(65% 0 0);
  font-size: 0.95rem;
  line-height: 1.6;
}
.pm-cont-vacio strong { color: oklch(85% 0 0); }
.pm-privacidad-nota {
  text-align: center;
  font-size: 0.75rem;
  color: oklch(50% 0 0);
  margin: 1rem 0 0;
}

/* ── Cómo funciona ───────────────────────────────────────────── */
.pm-como { padding: clamp(3rem,6vh,5rem) 0; }
.pm-section-title {
  font-size: clamp(1.4rem,2.5vw,1.9rem);
  font-weight: 700;
  margin: 0 0 2rem;
  text-align: center;
}
.pm-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 1.5rem;
}
.pm-step {
  background: oklch(100% 0 0 / 0.03);
  border: 0.5px solid oklch(100% 0 0 / 0.08);
  border-radius: 14px;
  padding: 1.75rem 1.5rem;
}
.pm-step-n {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #e94560;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.pm-step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .5rem; }
.pm-step p  { font-size: 0.875rem; color: oklch(65% 0 0); margin: 0; line-height: 1.6; }

/* ── Bloque IA ───────────────────────────────────────────────── */
.pm-ia {
  background: linear-gradient(135deg, #0f1b2d, #1a1a2e);
  border: 1px solid oklch(52% 0.205 9 / 0.25);
  border-radius: 16px;
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.pm-ia-icon { font-size: 2rem; flex-shrink: 0; }
.pm-ia-copy { flex: 1; min-width: 240px; }
.pm-ia-copy strong { display: block; font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: .3rem; }
.pm-ia-copy span { font-size: 0.85rem; color: oklch(65% 0 0); line-height: 1.5; }
.pm-ia-btn {
  background: #e94560; color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.9rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background .15s;
}
.pm-ia-btn:hover { background: #c73652; }

/* ── Formulario ──────────────────────────────────────────────── */
.pm-form-section {
  background: oklch(100% 0 0 / 0.02);
  border-top: 0.5px solid oklch(100% 0 0 / 0.06);
  border-bottom: 0.5px solid oklch(100% 0 0 / 0.06);
  padding: clamp(3rem,6vh,5rem) 0;
  margin-top: clamp(2.5rem,5vh,4rem);
}
.pm-form-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: start;
}
@media (max-width: 768px) { .pm-form-wrap { grid-template-columns: 1fr; } }

.pm-form-left h2 { font-size: clamp(1.3rem,2.2vw,1.7rem); font-weight: 700; margin: 0 0 .75rem; }
.pm-form-left p  { color: oklch(65% 0 0); margin: 0 0 1.5rem; font-size: 0.9rem; line-height: 1.6; }
.pm-checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: 10px; }
.pm-checklist li { font-size: 0.875rem; color: oklch(70% 0 0); padding-left: 1.5rem; position: relative; line-height: 1.5; }
.pm-checklist li::before { content: '✓'; position: absolute; left: 0; color: #e94560; font-weight: 700; }
.pm-disclaimer {
  background: oklch(55% 0.18 60 / 0.08);
  border: 1px solid oklch(65% 0.18 60 / 0.25);
  border-radius: 10px;
  padding: .9rem 1.1rem;
  font-size: 0.78rem;
  color: oklch(72% 0 0);
  line-height: 1.55;
}

.pm-form { background: oklch(100% 0 0 / 0.04); border: 0.5px solid oklch(100% 0 0 / 0.1); border-radius: 16px; padding: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.pm-bloque { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 0.5px solid oklch(100% 0 0 / 0.08); }
.pm-bloque:last-of-type { border-bottom: none; padding-bottom: 0; }
.pm-bloque-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #e94560; }

.pm-row { display: flex; flex-direction: column; gap: 6px; }
.pm-row label { font-size: 0.8rem; font-weight: 600; color: oklch(75% 0 0); }
.pm-req { color: #e94560; }
.pm-opt { color: oklch(55% 0 0); font-weight: 400; }
.pm-row input, .pm-row select {
  background: oklch(100% 0 0 / 0.06);
  border: 0.5px solid oklch(100% 0 0 / 0.15);
  border-radius: 8px;
  padding: 10px 12px;
  color: inherit;
  font-size: 0.9rem;
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.pm-row input:focus, .pm-row select:focus { outline: none; border-color: #e94560; }
.pm-row select option { background: #1a1a2e; color: #fff; }
.pm-hint { font-size: 0.72rem; color: oklch(52% 0 0); margin: 0; line-height: 1.45; }

/* Chips de destinos */
.pm-destinos-add { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.pm-destinos-add button {
  background: oklch(100% 0 0 / 0.08);
  border: 0.5px solid oklch(100% 0 0 / 0.2);
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0 16px;
  cursor: pointer;
  transition: background .15s;
}
.pm-destinos-add button:hover { background: oklch(100% 0 0 / 0.14); }
.pm-chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 8px; }
.pm-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: oklch(52% 0.205 9 / 0.12);
  border: 1px solid oklch(52% 0.205 9 / 0.4);
  color: oklch(82% 0.1 9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 8px 5px 12px;
  border-radius: 100px;
}
.pm-chip button {
  background: none; border: none; cursor: pointer;
  color: oklch(70% 0.1 9);
  font-size: 0.9rem; line-height: 1; padding: 2px 4px;
}
.pm-chip button:hover { color: #fff; }

.pm-legal { flex-direction: column; }
.pm-check-label { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: flex-start; font-size: 0.78rem; color: oklch(60% 0 0); cursor: pointer; line-height: 1.5; width: 100%; }
.pm-check-label input[type=checkbox] { margin-top: 2px; accent-color: #e94560; width: 16px; }
.pm-check-label a { color: #e94560; }
.pm-error { background: oklch(40% 0.15 25 / 0.15); border: 1px solid oklch(55% 0.18 25 / 0.4); border-radius: 8px; padding: 10px 14px; font-size: 0.85rem; color: oklch(75% 0.12 25); }
.pm-submit {
  background: #e94560; color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 24px;
  font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: background .15s, transform .1s;
  margin-top: .25rem;
}
.pm-submit:hover:not(:disabled) { background: #c73652; }
.pm-submit:active:not(:disabled) { transform: scale(0.98); }
.pm-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.pm-nota { font-size: 0.72rem; color: oklch(50% 0 0); text-align: center; margin: 0; width: 100%; }

/* ── Éxito ───────────────────────────────────────────────────── */
.pm-success { text-align: center; padding: 3rem 2rem; }
.pm-success-icon { width: 56px; height: 56px; background: oklch(45% 0.15 145 / 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: oklch(65% 0.18 145); margin: 0 auto 1.25rem; }
.pm-success h2 { font-size: 1.6rem; margin: 0 0 .75rem; }
.pm-success p { color: oklch(70% 0 0); margin: 0 0 .5rem; max-width: 480px; margin-inline: auto; line-height: 1.6; }
.pm-success-sub { font-size: 0.85rem !important; color: oklch(55% 0 0) !important; }
.pm-share {
  margin: 1.5rem auto 0;
  max-width: 440px;
  background: oklch(100% 0 0 / 0.04);
  border: 1px solid oklch(100% 0 0 / 0.12);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
}
.pm-share p { font-size: 0.85rem; color: oklch(70% 0 0); margin: 0 0 .9rem; }
.pm-share-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #e94560; color: #fff;
  font-size: 0.88rem; font-weight: 600;
  padding: .55rem 1.2rem; border-radius: 8px;
  text-decoration: none; border: none; cursor: pointer;
  transition: background .15s;
}
.pm-share-btn:hover { background: #c73652; }
