/* CM Pagos — estilos específicos de soluciones/link-de-pago.html */

/* -------- Hero -------- */
.pr-hero {
  margin-top: -80px;
  padding: 130px 0 30px;
  background: url('../../../img/soluciones/hero-back-cmpagos.jpg') center center / cover no-repeat;
}
.pr-hero-title {
  font-family: var(--cm-font);
  font-weight: 700;
  font-size: 56px;
  line-height: 64px;
  color: var(--cm-black-200);
  margin-bottom: 20px;
}
.pr-hero-desc {
  font-family: var(--cm-font);
  font-size: 18px;
  line-height: 27px;
  color: var(--cm-black-100);
  margin-bottom: 28px;
}
.pr-hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pr-hero-img {
  width: 100%;
  max-width: 620px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 40px rgba(0, 30, 80, 0.25));
}
.pr-hero-popup {
  position: absolute;
  top: 9%;
  left: 7%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: var(--cm-radius-pill);
  box-shadow: var(--cm-shadow);
  padding: 8px 20px 8px 8px;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--cm-black-200);
  white-space: nowrap;
  z-index: 2;
  animation: pr-float 4s ease-in-out infinite;
}
.pr-hero-popup-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cm-blue-200);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
@keyframes pr-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@media (max-width: 767.98px) {
  .pr-hero { padding: 120px 0 56px; }
  .pr-hero-title { font-size: 36px; line-height: 44px; }
  .pr-hero-visual { min-height: 380px; padding: 24px; }
}
@media (max-width: 575.98px) {
  .pr-hero { margin-top: -68px; padding: 148px 0 40px; }
  .pr-hero-title { font-size: 28px; line-height: 36px; }
  .pr-hero-desc { font-size: 15px; line-height: 23px; }
  .pr-hero-popup { font-size: 12px; padding: 6px 14px 6px 6px; }
}

/* -------- ¿Cómo funciona? -------- */
.pr-how-panel {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  justify-content: center;
}
.pr-how-visual {
  flex: 0 0 240px;
  width: 240px;
  position: sticky;
  top: 100px;
}
.pr-how-img {
  width: 100%;
  height: auto;
  display: block;
}
.pr-how-visual .cm-img-placeholder {
  aspect-ratio: 300 / 620;
  border-radius: var(--cm-radius-lg);
}
.pr-how-content {
  flex: 0 1 480px;
  min-width: 0;
}
.pr-how-tabs {
  display: inline-flex;
  background: var(--cm-sec-200);
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-pill);
  padding: 4px;
  margin-bottom: 24px;
}
.pr-how-tab {
  border: none;
  background: transparent;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 14px;
  color: var(--cm-black-100);
  padding: 10px 22px;
  border-radius: var(--cm-radius-pill);
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.pr-how-tab.is-active {
  background: var(--cm-blue-200);
  color: #fff;
}
.pr-how-panel-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}
.pr-how-panel-list[hidden] {
  display: none;
}
.pr-how-item {
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-lg);
  padding: 20px 24px;
  transition: background-color 150ms ease-out, border-color 150ms ease-out;
}
.pr-how-item.is-open {
  background: var(--cm-chip-wash);
  border-color: var(--cm-blue-100);
}
.pr-how-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: var(--cm-font);
}
.pr-how-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cm-sec-300);
  color: var(--cm-black-200);
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.pr-how-item.is-open .pr-how-num {
  background: var(--cm-blue-200);
  color: #fff;
}
.pr-how-trigger-text {
  font-weight: 600;
  font-size: 17px;
  color: var(--cm-black-200);
}
.pr-how-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease-out;
}
.pr-how-item.is-open .pr-how-answer {
  max-height: 200px;
}
.pr-how-answer p {
  margin: 12px 0 0 52px;
  font-size: 15px;
  line-height: 23px;
  color: var(--cm-black-100);
}
@media (max-width: 991.98px) {
  .pr-how-panel { flex-direction: column; align-items: center; }
  .pr-how-visual { position: static; }
  .pr-how-content { width: 100%; }
}
@media (max-width: 767.98px) {
  .pr-how-visual {
    width: 100%;
    max-width: 340px;
    flex: 0 0 auto;
  }
}
@media (max-width: 575.98px) {
  .pr-how-trigger-text { font-size: 15px; }
  .pr-how-answer p { margin-left: 0; margin-top: 10px; }
  .pr-how-trigger { flex-wrap: wrap; }
}

/* -------- Características -------- */
.pr-feature-card {
  background: #fff;
  border: 1px solid var(--cm-sec-400);
  border-radius: var(--cm-radius-lg);
  box-shadow: var(--cm-shadow);
  padding: 18px 28px;
}
.pr-feature-title {
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 18px;
  color: var(--cm-black-200);
  margin-bottom: 6px;
}
.pr-feature-text {
  font-family: var(--cm-font);
  font-size: 14px;
  line-height: 21px;
  color: var(--cm-black-100);
  margin: 0;
}
.pr-features-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: inline-block;
}
@media (max-width: 991.98px) {
  .pr-features-img { max-width: 280px; margin: 8px 0; }
}

/* -------- Beneficios y casos de uso -------- */
.pr-bc-title {
  font-family: var(--cm-font);
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: #0B1B33;
}
.pr-bc-highlight {
  color: #0089FB;
}
.pr-bc-label {
  display: block;
  text-align: center;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: var(--cm-blue-200);
  border: none;
  border-radius: var(--cm-radius-pill);
  padding: 8px 20px;
  width: fit-content;
  margin: 0 auto 20px;
}
.pr-bc-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #E3E9F5;
  border-radius: 18px;
  box-shadow: var(--cm-shadow);
  padding: 18px 24px;
  min-height: 76px;
}
.pr-bc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cm-blue-50);
  color: var(--cm-blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.pr-bc-card-text {
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--cm-black-200);
}
@media (max-width: 575.98px) {
  .pr-bc-title { font-size: 30px; line-height: 38px; }
}

/* -------- FAQ -------- */
.pr-faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pr-faq-item {
  background: #fff;
  border: 1px solid var(--cm-sec-400);
  border-radius: 16px;
  transition: border-color 150ms ease-out;
}
.pr-faq-item.is-open {
  border-color: var(--cm-blue-100);
}
.pr-faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--cm-font);
  font-weight: 600;
  font-size: 16px;
  color: var(--cm-black-200);
  cursor: pointer;
}
.pr-faq-icon {
  flex-shrink: 0;
  color: var(--cm-blue-200);
  font-size: 16px;
  display: flex;
}
.pr-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease-out;
}
.pr-faq-item.is-open .pr-faq-answer {
  max-height: 200px;
}
.pr-faq-answer p {
  margin: 0;
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 23px;
  color: var(--cm-black-100);
}
@media (max-width: 575.98px) {
  .pr-faq-trigger { padding: 16px 18px; font-size: 15px; }
  .pr-faq-answer p { padding: 0 18px 16px; }
}

.pr-hero-visual .cm-img-placeholder {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 340 / 640;
  border-radius: 32px;
  margin: 0 auto;
}
