/* Páginas de producto: secciones (px-*) y piezas de mockup de la app (ux-*). */
.t-px { background: #fff; color: #070d38; }
.t-px main { overflow-x: clip; }
.px-wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }

/* Etiquetas de plan */
.px-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f1ff;
  color: #1d5bd8;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.px-tag--pro { background: #ffe8f2; color: #d61f6a; }
.px-tag--biz { background: #efe9ff; color: #5a22e9; }
.px-tag--ent { background: #2563eb; color: #fff; }

/* Hero */
.px-hero {
  position: relative;
  padding: 64px 0 80px;
  background:
    radial-gradient(60% 70% at 85% 30%, rgb(37 99 235 / 10%) 0, transparent 70%),
    radial-gradient(50% 60% at 100% 90%, rgb(59 130 246 / 8%) 0, transparent 70%),
    linear-gradient(180deg, #f7f8ff 0%, #fff 100%);
}
.px-hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.px-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 5px 12px 5px 6px;
  border: 1px solid #e4e7f2;
  border-radius: 999px;
  background: #fff;
  color: #2b3160;
  font-size: 13px;
  font-weight: 700;
}
.px-eyebrow .mi { width: 22px; height: 22px; border-radius: 999px; }
.px-hero h1 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -1.6px;
}
.px-hero h1 em { font-style: normal; color: #FB2B7D; }
.px-lead {
  margin: 18px 0 0;
  max-width: 54ch;
  color: #4b5372;
  font-size: 18px;
  line-height: 1.55;
}
.px-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.px-actions .a-btn { border-radius: 999px; }
.px-incl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  color: #5b6280;
  font-size: 13px;
}
.px-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}

/* Secciones */
.px-sec { padding: 92px 0; }
.px-sec--wash { background: #f6f7fb; }
.px-sec--tight { padding: 64px 0; }
.px-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.px-head--left { margin-left: 0; text-align: left; }
.px-k {
  margin: 0 0 12px;
  color: #6D4AFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.px-sec h2,
.px-cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -1px;
}
.px-head p:not(.px-k) { margin: 14px 0 0; color: #4b5372; font-size: 17px; line-height: 1.55; }

/* Fila texto + visual */
.px-row {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}
.px-row + .px-row { margin-top: 104px; }
.px-row--flip { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.px-row--flip .px-row__copy { order: 2; }
.px-row__copy h3 {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.6px;
}
.px-row__copy > p:not(.px-k) { margin: 14px 0 0; color: #4b5372; font-size: 17px; line-height: 1.6; }
.px-row__copy .px-tag { margin-top: 18px; }
.px-checks { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.px-checks li {
  position: relative;
  padding-left: 32px;
  color: #1f2547;
  font-size: 16px;
  line-height: 1.5;
}
.px-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9f0ff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.4l2.6 2.4L12 5.4'/></svg>") center / 13px no-repeat;
}
.px-checks b { color: #070d38; }

.px-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 400px;
  padding: 40px;
  overflow: hidden;
  border-radius: 28px;
  background: #eef3ff;
}
.px-visual--rose { background: #fdeef3; }
.px-visual--mint { background: #e8f6ef; }
.px-visual--sand { background: #f8f1e6; }
.px-visual--lilac { background: #f1edff; }
.px-visual--ink { background: #0b1033; }

/* Bloques de iconos */
.px-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.px-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.px-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.px-tile {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 24px;
  border: 1px solid #eceef5;
  border-radius: 20px;
  background: #fff;
}
.px-tile .mi { width: 42px; height: 42px; border-radius: 12px; background-size: 22px 22px; }
.px-tile h3 { margin: 6px 0 0; font-size: 18px; font-weight: 800; line-height: 1.3; }
.px-tile p { margin: 0; color: #5b6280; font-size: 15px; line-height: 1.55; }
.px-tile .px-tag { justify-self: start; margin-top: 4px; }

/* Pasos */
.px-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: pxs; }
.px-step {
  position: relative;
  padding: 28px 24px 26px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 0 #eceef5, 0 14px 34px rgb(16 24 64 / 6%);
  counter-increment: pxs;
}
.px-step::before {
  content: counter(pxs, decimal-leading-zero);
  display: block;
  margin-bottom: 16px;
  color: #6D4AFF;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .06em;
}
.px-step h3 { margin: 0; font-size: 19px; font-weight: 800; }
.px-step p { margin: 8px 0 0; color: #5b6280; font-size: 15px; line-height: 1.55; }

/* Qué entra en cada plan */
.px-matrix-wrap { overflow-x: auto; border: 1px solid #eceef5; border-radius: 20px; background: #fff; }
.px-matrix { width: 100%; min-width: 620px; border-collapse: collapse; table-layout: fixed; }
.px-matrix thead th:first-child { width: 36%; }
.px-matrix th,
.px-matrix td { padding: 15px 18px; border-bottom: 1px solid #f0f1f6; font-size: 15px; text-align: center; }
.px-matrix th:first-child,
.px-matrix td:first-child { text-align: left; color: #1f2547; font-weight: 700; }
.px-matrix thead th { color: #5b6280; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.px-matrix tr:last-child td { border-bottom: 0; }
.px-matrix td { color: #3a4170; }
.px-yes,
.px-no { display: inline-block; width: 20px; height: 20px; border-radius: 50%; vertical-align: middle; }
.px-yes { background: #e9f8ef url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%2316a34a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 8.4l2.6 2.4L12 5.4'/></svg>") center / 12px no-repeat; }
.px-no { width: 12px; height: 2px; border-radius: 2px; background: #c9cddc; }

/* FAQ */
.px-faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.px-faq details { border: 1px solid #eceef5; border-radius: 16px; background: #fff; }
.px-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-size: 17px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}
.px-faq summary::-webkit-details-marker { display: none; }
.px-faq summary::after {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border: solid #6b7190;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s ease;
}
.px-faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.px-faq details p { margin: 0; padding: 0 22px 20px; color: #4b5372; font-size: 16px; line-height: 1.6; }

/* Sigue explorando */
.px-next { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.px-next a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid #eceef5;
  border-radius: 18px;
  background: #fff;
  color: #070d38;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.px-next a:hover { border-color: #d7dbf0; box-shadow: 0 14px 30px rgb(16 24 64 / 8%); transform: translateY(-2px); }
.px-next .mi { width: 40px; height: 40px; border-radius: 12px; background-size: 20px 20px; }
.px-next b { display: block; font-size: 16px; }
.px-next small { display: block; margin-top: 2px; color: #5b6280; font-size: 13.5px; line-height: 1.4; }
.px-next a::after {
  content: "";
  width: 8px;
  height: 8px;
  border: solid #8a90a6;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

/* Cierre */
.px-cta { padding: 0 0 96px; }
.px-sec--wash + .px-cta { padding-top: 96px; }
.px-cta__box {
  position: relative;
  overflow: hidden;
  padding: 64px 48px;
  border-radius: 32px;
  background:
    radial-gradient(60% 90% at 90% 0%, rgb(255 255 255 / 16%) 0, transparent 60%),
    linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  color: #fff;
  text-align: center;
}
.px-cta__box p { max-width: 56ch; margin: 14px auto 0; color: rgb(255 255 255 / 90%); font-size: 17px; line-height: 1.55; }
.px-cta__box .px-actions { justify-content: center; }
.px-cta__box .a-btn--ghost { border-color: rgb(255 255 255 / 65%); color: #fff; background: transparent; }

/* ===== Mockups (ux-*) ===== */
.ux-win {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #e3e6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 70px rgb(16 24 64 / 16%);
  font-size: 12px;
  color: #1f2547;
  text-align: left;
}
.ux-win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid #eef0f5;
  background: #f8f9fc;
}
.ux-win__bar > i { width: 9px; height: 9px; border-radius: 50%; background: #e3e5ee; }
.ux-win__bar > i:nth-child(1) { background: #ff6b6b; }
.ux-win__bar > i:nth-child(2) { background: #ffc24b; }
.ux-win__bar > i:nth-child(3) { background: #3dd68c; }
.ux-win__bar span {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #eceef5;
  color: #6b7190;
  font-size: 11px;
}

.ux-app { display: grid; grid-template-columns: 168px minmax(0, 1fr); min-height: 340px; }
.ux-side { padding: 12px 10px; border-right: 1px solid #eef0f5; background: #fff; }
.ux-side__logo { display: block; width: 92px; height: auto; margin: 2px 4px 12px; }
.ux-side__g,
.ux-side__i {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 6px;
  border-radius: 7px;
  color: #2b3160;
  font-size: 11px;
  white-space: nowrap;
}
.ux-side__g { margin-top: 4px; font-weight: 700; }
.ux-side__i { padding-left: 14px; color: #4b5372; }
.ux-side__i.is-on { background: #eef3ff; color: #2563eb; font-weight: 700; }
.ux-side__i.is-lock { color: #a3a8bd; }
.ux-side__i.is-lock::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: auto;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23a3a8bd' stroke-width='1.6'><rect x='3.5' y='7' width='9' height='7' rx='1.5'/><path d='M5.5 7V5a2.5 2.5 0 0 1 5 0v2'/></svg>") center / contain no-repeat;
}
.ux-side .mi { width: 16px; height: 16px; border-radius: 5px; background-size: 11px 11px; }
.ux-main { padding: 18px 20px; background: #f7f8fb; }
.ux-h { margin: 0; font-size: 15px; font-weight: 800; color: #070d38; }
.ux-sub { margin: 3px 0 0; color: #6b7190; font-size: 11px; }
.ux-panel {
  padding: 12px;
  border: 1px solid #eceef5;
  border-radius: 12px;
  background: #fff;
}
.ux-panel + .ux-panel { margin-top: 10px; }
.ux-panel__t { display: block; margin-bottom: 8px; font-size: 11.5px; font-weight: 800; color: #070d38; }
.ux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.ux-btn--ghost { border: 1px solid #e3e6f0; background: #fff; color: #2b3160; }
.ux-btn--pink { background: #FB2B7D; }
.ux-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef3ff;
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}
.ux-pill--ok { background: #e9f8ef; color: #15803d; }
.ux-pill--pink { background: #ffe8f2; color: #d61f6a; }
.ux-pill--lilac { background: #efe9ff; color: #5a22e9; }
.ux-pill--gray { background: #f1f2f6; color: #5b6280; }
.ux-input {
  display: flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid #e3e6f0;
  border-radius: 8px;
  background: #fff;
  color: #3a4170;
  font-size: 11px;
}
.ux-av { width: 28px; height: 28px; flex: none; border-radius: 50%; object-fit: cover; }
.ux-tabs { display: flex; gap: 16px; margin: 12px 0; border-bottom: 1px solid #e8eaf2; font-size: 11px; color: #6b7190; }
.ux-tabs span { padding-bottom: 7px; }
.ux-tabs .is-on { color: #070d38; font-weight: 800; box-shadow: inset 0 -2px 0 #070d38; }

/* Teléfono + tarjeta pública */
.ux-phone {
  position: relative;
  width: 252px;
  padding: 9px;
  border-radius: 40px;
  background: #0b0f1f;
  box-shadow: 0 34px 70px rgb(16 24 64 / 28%), inset 0 0 0 1.5px #2a2f45;
}
.ux-phone__screen { overflow: hidden; border-radius: 32px; background: #fff; }
.ux-pcard { color: #070d38; font-size: 11px; text-align: center; }
.ux-pcard__cover {
  height: 92px;
  background: linear-gradient(135deg, #6D4AFF 0%, #2563eb 55%, #22d3ee 100%);
}
.ux-pcard__ava {
  display: block;
  width: 74px;
  height: 74px;
  margin: -40px auto 0;
  border: 3px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}
.ux-pcard__body { padding: 8px 14px 16px; }
.ux-pcard b { display: block; font-size: 15px; }
.ux-pcard small { display: block; margin-top: 2px; color: #6b7190; font-size: 11px; }
.ux-pcard__acts { display: flex; justify-content: center; gap: 12px; margin: 12px 0; }
.ux-pcard__acts span { display: grid; justify-items: center; gap: 4px; font-size: 9px; color: #5b6280; }
.ux-pcard__acts i {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef3ff;
}
.ux-pcard__acts svg { width: 14px; height: 14px; stroke: #2563eb; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ux-pcard__row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 7px 10px;
  border-radius: 10px;
  background: #f5f6fa;
  font-size: 10.5px;
  text-align: left;
}
.ux-pcard__row i { width: 18px; height: 18px; flex: none; border-radius: 50%; background: #2563eb; }
.ux-pcard__save {
  display: block;
  margin-top: 10px;
  padding: 9px 0;
  border-radius: 10px;
  background: #2563eb;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.ux-pcard__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
.ux-pcard__pair span { padding: 8px 0; border-radius: 10px; background: #eef0f6; font-size: 10.5px; font-weight: 700; }
.ux-pcard--dark { background: #0b1022; color: #fff; }
.ux-pcard--dark .ux-pcard__cover { background: radial-gradient(80% 120% at 30% 20%, #1e40af 0, #0b1022 70%); }
.ux-pcard--dark .ux-pcard__ava { border-color: #0b1022; }
.ux-pcard--dark small { color: #9aa3c7; }
.ux-pcard--dark .ux-pcard__acts i { background: #1a2140; }
.ux-pcard--dark .ux-pcard__acts svg { stroke: #9cc0ff; }
.ux-pcard--dark .ux-pcard__acts span { color: #9aa3c7; }
.ux-pcard--dark .ux-pcard__row { background: #151b33; }
.ux-pcard--dark .ux-pcard__pair span { background: #1a2140; }

/* Chip flotante */
.ux-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 36px rgb(16 24 64 / 16%);
  color: #1f2547;
  font-size: 12px;
  text-align: left;
  white-space: nowrap;
}
.ux-chip b { display: block; font-size: 12.5px; color: #070d38; }
.ux-chip small { display: block; color: #6b7190; font-size: 11px; }
.ux-chip .mi { flex: none; }
.ux-chip img { flex: none; }

@media (max-width: 1080px) {
  .px-hero__in,
  .px-row { gap: 40px; }
  .px-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .px-hero { padding: 40px 0 56px; }
  .px-hero__in,
  .px-row,
  .px-row--flip { grid-template-columns: minmax(0, 1fr); }
  .px-row--flip .px-row__copy { order: 0; }
  .px-row + .px-row { margin-top: 72px; }
  .px-art { min-height: 0; }
  .px-sec { padding: 64px 0; }
  .px-tiles,
  .px-steps,
  .px-next { grid-template-columns: minmax(0, 1fr); }
  .px-visual { min-height: 0; padding: 28px 18px; }
  .px-cta__box { padding: 44px 22px; border-radius: 24px; }
  .px-cta { padding-bottom: 64px; }
  .px-sec--wash + .px-cta { padding-top: 64px; }
}
@media (max-width: 560px) {
  .px-tiles--4,
  .px-tiles--2 { grid-template-columns: minmax(0, 1fr); }
  .px-lead { font-size: 16.5px; }
  .ux-app { grid-template-columns: minmax(0, 1fr); }
  .ux-side { display: none; }
}
