/* ==========================================================================
   Cómo usar (design.md §6.1) + heros de páginas interiores
   ========================================================================== */

/* --- Hero de página interior ---------------------------------------------- */
.px-pagehero { padding-block: clamp(104px, 11vw, 140px) clamp(44px, 5vw, 64px); }
.px-pagehero__split { align-items: center; }
.px-pagehero__solo { max-width: 780px; }
.px-pagehero__h1 {
  font-size: clamp(38px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -.03em;
  font-weight: 700; color: var(--px-blue-deep); margin-bottom: 22px;
}
.px-pagehero__lead {
  font-size: clamp(16.5px, 1.6vw, 20px); line-height: 1.6;
  color: var(--px-text-body); margin-bottom: 34px;
}

/* --- Pasos ilustrados ------------------------------------------------------ */
.px-pasos__bloque {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; letter-spacing: -.02em;
  color: var(--px-blue-deep); margin: 8px 0 24px;
}
.px-pasos__grid { gap: 24px; margin-bottom: 34px; }
.px-paso {
  background: #fff; border: 1px solid var(--px-border); border-radius: var(--px-r-md);
  overflow: hidden; display: flex; flex-direction: column;
}
.px-paso__media {
  height: 190px; display: flex; align-items: center; justify-content: center;
  position: relative; background: linear-gradient(150deg, #D3E7F7, #EAF3FB);
}
.px-paso--oscuro .px-paso__media { background: linear-gradient(150deg, #0A2463, #2E7DBE); }
.px-paso__img { width: 100%; height: 100%; object-fit: cover; }
.px-paso__num {
  position: absolute; top: 18px; left: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--px-blue); z-index: 1;
}
.px-paso--oscuro .px-paso__num { color: rgba(255, 255, 255, .75); }
.px-paso__body { padding: 26px 24px 30px; }
.px-paso__title { font-size: 19px; font-weight: 700; letter-spacing: -.01em; color: var(--px-blue-deep); margin-bottom: 12px; }
.px-paso__text { font-size: 15.5px; line-height: 1.65; color: var(--px-text-body); }
.px-pasos__video { max-width: 760px; margin-inline: auto; }

/* --- Cómo funciona --------------------------------------------------------- */
.px-funciona__head { align-items: start; margin-bottom: clamp(44px, 5vw, 66px); }
.px-funciona__lead { font-size: 17px; line-height: 1.68; color: var(--px-text-body); margin-top: 20px; }
.px-funciona__aparte {
  padding: 30px 32px; background: var(--px-blue-tint-2);
  border: 1px solid var(--px-border); border-radius: var(--px-r-md);
}
.px-funciona__aparte p { font-size: 16.5px; line-height: 1.7; color: var(--px-text-strong); }
/* Mismo criterio que la grilla de beneficios: divisor por card, sin huecos. */
.px-funciona__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 0;
  border: 1px solid var(--px-border); border-radius: var(--px-r-md);
  overflow: hidden; background: #fff;
}
.px-etapa {
  background: #fff; padding: 32px 26px 34px;
  box-shadow: 1px 0 0 var(--px-border), 0 1px 0 var(--px-border);
}
.px-etapa__media { height: 118px; margin-bottom: 24px; display: flex; align-items: center; justify-content: center; }
.px-etapa__media img { max-height: 118px; width: auto; object-fit: contain; }
.px-etapa__num { font-size: 12px; font-weight: 700; letter-spacing: .16em; color: var(--px-muted); margin-bottom: 10px; }
.px-etapa__title { font-size: 18px; font-weight: 700; color: var(--px-blue-deep); margin-bottom: 12px; }
.px-etapa__text { font-size: 15px; line-height: 1.65; color: var(--px-text-body); }

/* --- Sistema de cuidado (fondo navy) --------------------------------------- */
.px-cuidado__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.px-sistema {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--px-r-md); padding: 32px 30px 34px;
}
.px-sistema--active { background: rgba(73, 154, 219, .14); border-color: rgba(127, 182, 228, .42); }
.px-sistema--comfort { background: rgba(149, 206, 86, .12); border-color: rgba(174, 219, 107, .42); }
.px-sistema__media { margin-bottom: 26px; border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 340px; }
.px-sistema__media img { width: 100%; height: 100%; object-fit: cover; }
.px-sistema__title { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.px-sistema__text { font-size: 15.5px; line-height: 1.68; color: var(--px-on-navy); }
.px-sistema--active .px-sistema__text { color: #C6DCF0; }
.px-cuidado__nota { font-size: 12.5px; color: var(--px-footer-muted); margin-top: 26px; }

/* --- Prosa genérica --------------------------------------------------------- */
.px-prose { color: var(--px-text-body); }
.px-prose p { font-size: 15.5px; line-height: 1.72; margin-bottom: 14px; }
.px-prose p:last-child { margin-bottom: 0; }
.px-prose ul, .px-prose ol { display: flex; flex-direction: column; gap: 8px; padding-left: 20px; margin-bottom: 14px; }
.px-prose li { font-size: 15.5px; line-height: 1.6; }
.px-prose strong { color: var(--px-blue-deep); font-weight: 700; }
.px-prose h3, .px-prose h4 { color: var(--px-blue-deep); font-weight: 700; margin-bottom: 10px; }
.px-prose h4 { font-size: 15.5px; }
.px-prose a { color: var(--px-blue); text-decoration: underline; }
