
/* Página full-screen de precalificación */
html body.cm-precalificacion-active {
  overflow: hidden !important;
  background: #fff !important;
}
body.cm-precalificacion-active #main-header,
body.cm-precalificacion-active #top-header,
body.cm-precalificacion-active .et-l--header,
body.cm-precalificacion-active header.et-l--header,
body.cm-precalificacion-active #main-footer,
body.cm-precalificacion-active .et-l--footer,
body.cm-precalificacion-active footer#main-footer {
  display: none !important;
}
body.cm-precalificacion-active #page-container,
body.cm-precalificacion-active #et-main-area,
body.cm-precalificacion-active .et_builder_inner_content,
body.cm-precalificacion-active .et_pb_section,
body.cm-precalificacion-active .et_pb_row,
body.cm-precalificacion-active .et_pb_column,
body.cm-precalificacion-active .et_pb_module,
body.cm-precalificacion-active .et_pb_code,
body.cm-precalificacion-active .et_pb_code_inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.cm-precalificacion-active #page-container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.cm-preq,
.cm-preq * { box-sizing: border-box; }

.cm-preq {
  --red: #e1251b;
  --red-dark: #c91f17;
  --ink: #111722;
  --muted: #677386;
  --line: #e8ebf0;
  --soft: #f6f7f9;
  height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  max-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px));
  min-height: 560px;
  width: 100%;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr) 70px;
  overflow: hidden;
  background: #fff;
  color: var(--ink);
  font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.cm-preq__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 74px);
  border-bottom: 1px solid #eef0f3;
  background: rgba(255,255,255,.97);
  position: relative;
  z-index: 20;
}
.cm-preq__brand { display: inline-flex; align-items: center; text-decoration: none; }
.cm-preq__logo-img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 230px;
  object-fit: contain;
}
.cm-preq__logo-fallback {
  font-size: 23px;
  letter-spacing: -1.2px;
  font-weight: 900;
  font-style: italic;
  color: #111;
}
.cm-preq__logo-fallback strong { color: var(--red); }
.cm-preq__secure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6d788b;
  font-size: 12px;
  font-weight: 600;
}
.cm-preq__secure-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(225,37,27,.09);
}

.cm-preq__main {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 20%, rgba(225,37,27,.045), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
}
.cm-preq__content {
  width: min(100%, 900px);
  min-width: 0;
  min-height: 0;
  padding: clamp(24px, 3.8vh, 44px) clamp(28px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 5;
}
.cm-preq__progress { width: min(100%, 720px); margin: 0 auto clamp(20px, 3.4vh, 34px); }
.cm-preq__progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #929baa;
  font-size: 10px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 9px;
}
.cm-preq__progress-track {
  height: 4px;
  background: #edf0f4;
  border-radius: 999px;
  overflow: hidden;
}
.cm-preq__progress-track span {
  display: block;
  width: 14%;
  height: 100%;
  background: var(--red);
  border-radius: inherit;
  transition: width .3s ease;
}

.cm-preq__step-mount {
  width: min(100%, 720px);
  min-height: 300px;
  display: flex;
  align-items: center;
  margin: 0 auto;
}
.cm-preq__step { width: 100%; animation: cm-preq-enter .28s ease both; }
@keyframes cm-preq-enter { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

.cm-preq__eyebrow {
  text-align: center;
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cm-preq__intent {
  margin: 0 auto;
  max-width: 700px;
  text-align: center;
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1.01;
  letter-spacing: -.045em;
  font-weight: 900;
  color: var(--ink);
}
.cm-preq__intent em { color: var(--red); font-style: normal; }
.cm-preq__question {
  text-align: center;
  margin: clamp(15px, 2vh, 21px) 0 5px;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -.02em;
}
.cm-preq__helper {
  color: var(--muted);
  margin: 0 auto 16px;
  text-align: center;
  font-size: 13px;
  line-height: 1.42;
  max-width: 590px;
}

.cm-preq__field-row { display: flex; gap: 10px; width: min(100%, 610px); margin: 0 auto; }
.cm-preq__field {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: 1.5px solid #dce1e8;
  border-radius: 11px;
  background: #fff;
  padding: 0 17px;
  color: var(--ink);
  outline: 0;
  font-size: 16px;
  transition: .18s ease;
}
.cm-preq__field:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(225,37,27,.08);
}
.cm-preq__primary {
  min-height: 54px;
  border: 0;
  border-radius: 11px;
  background: var(--red);
  color: #fff;
  padding: 0 23px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(225,37,27,.16);
  transition: .16s ease;
  white-space: nowrap;
}
.cm-preq__primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.cm-preq__primary:disabled { opacity:.45; transform:none; cursor:not-allowed; }

.cm-preq__choices {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: min(100%, 620px);
}
.cm-preq__choice {
  position: relative;
  min-height: 58px;
  text-align: left;
  padding: 12px 43px 12px 15px;
  background: #fff;
  border: 1.5px solid #e0e4ea;
  border-radius: 11px;
  color: #222935;
  font-weight: 750;
  font-size: 13px;
  line-height: 1.25;
  transition: .16s ease;
}
.cm-preq__choice:hover { border-color:#efa39d; transform:translateY(-1px); }
.cm-preq__choice small {
  display: block;
  margin-top: 3px;
  color: #8d96a5;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 500;
}
.cm-preq__choice-check {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 19px;
  height: 19px;
  transform: translateY(-50%);
  border: 1.5px solid #d7dce4;
  border-radius: 50%;
}
.cm-preq__choice.is-selected { border-color:var(--red); box-shadow:0 0 0 3px rgba(225,37,27,.07); }
.cm-preq__choice.is-selected .cm-preq__choice-check { background:var(--red); border-color:var(--red); }
.cm-preq__choice.is-selected .cm-preq__choice-check:after {
  content:"";
  position:absolute;
  left:5px; top:2px;
  width:6px; height:10px;
  border-right:2px solid #fff;
  border-bottom:2px solid #fff;
  transform:rotate(45deg);
}
.cm-preq__nav { display:flex; align-items:center; justify-content:center; gap:12px; margin-top:13px; }
.cm-preq__back {
  border: 0;
  background: transparent;
  padding: 7px 0;
  color: #7c8798;
  font-size: 12px;
  font-weight: 700;
}
.cm-preq__back:hover { color:var(--ink); }

.cm-preq__summary {
  margin-left:auto;
  margin-right:auto;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  width:min(100%,620px);
  margin:10px 0;
}
.cm-preq__summary-item {
  border:1px solid #e5e8ed;
  border-radius:9px;
  background:#fff;
  padding:9px 11px;
}
.cm-preq__summary-item span {
  display:block;
  color:#929baa;
  font-size:8px;
  line-height:1;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:800;
  margin-bottom:4px;
}
.cm-preq__summary-item strong { display:block; font-size:11px; line-height:1.2; }
.cm-preq__consent {
  margin-left:auto;
  margin-right:auto;
  display:flex;
  align-items:flex-start;
  gap:8px;
  color:#687386;
  font-size:10px;
  line-height:1.35;
  width:min(100%,620px);
  margin:8px 0 0;
}
.cm-preq__consent input { margin-top:2px; accent-color:var(--red); }
.cm-preq__error {
  color:#b42318;
  font-size:11px;
  font-weight:600;
  margin-top:8px;
}
.cm-preq__success-icon {
  width: 48px;
  height: 48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(225,37,27,.09);
  color:var(--red);
  margin-bottom:12px;
  font-size:25px;
  font-weight:900;
}
.cm-preq__inventory-link {
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  background:var(--red);
  color:#fff !important;
  text-decoration:none !important;
  font-weight:800;
  padding:0 25px;
  box-shadow:0 10px 22px rgba(225,37,27,.16);
}
.cm-preq__inventory-link:hover { background:var(--red-dark); }

.cm-preq__micro-trust {
  justify-content:center;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 18px;
  color:#8c95a4;
  font-size:10px;
  line-height:1;
  margin-top:14px;
}
.cm-preq__micro-trust span { position:relative; padding-left:12px; }
.cm-preq__micro-trust span:before {
  content:"";
  position:absolute;
  left:0; top:3px;
  width:5px; height:5px;
  border-radius:50%;
  background:var(--red);
}


.cm-preq__banks {
  min-height:0;
  border-top:1px solid #eef0f3;
  background:#fff;
  padding:8px clamp(24px, 5vw, 74px) 9px;
  overflow:hidden;
}
.cm-preq__banks-label {
  display:block;
  margin-bottom:6px;
  color:#969eab;
  font-size:8px;
  font-weight:800;
  line-height:1;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.cm-preq__banks-viewport { width:100%; overflow:hidden; }
.cm-preq__banks-track {
  display:flex;
  width:max-content;
  animation:cm-preq-marquee 48s linear infinite;
  will-change:transform;
}
.cm-preq__banks-group {
  display:flex;
  align-items:center;
  flex:0 0 auto;
  gap:32px;
  padding-right:32px;
}
.cm-preq__banks-group img {
  display:block;
  width:auto;
  max-width:100px;
  max-height:24px;
  object-fit:contain;
}
.cm-preq__banks-group img[src*="caja"] { max-width:34px; max-height:30px; }
@keyframes cm-preq-marquee { to { transform:translate3d(-50%,0,0); } }

@media (max-width: 900px) {
  .cm-preq {
    grid-template-rows: 56px minmax(0,1fr) 58px;
    min-height: 520px;
  }
  .cm-preq__header { padding:0 18px; }
  .cm-preq__logo-img { height:24px; max-width:180px; }
  .cm-preq__main {
    grid-template-columns:1fr;
    position:relative;
  }
  .cm-preq__content {
    width:min(100%,760px);
    padding:18px 19px 14px;
    justify-content:center;
  }
  .cm-preq__progress { margin-bottom:14px; }
  .cm-preq__step-mount {
    min-height:0;
    align-items:flex-start;
  }
  .cm-preq__intent {
    font-size:clamp(28px,8.4vw,42px);
    max-width:96%;
  }
  .cm-preq__question { font-size:17px; margin-top:11px; }
  .cm-preq__helper { font-size:11px; margin:0 auto 10px; max-width:92%; }
  .cm-preq__field-row { width:100%; }
  .cm-preq__field { height:48px; font-size:14px; }
  .cm-preq__primary { min-height:48px; padding:0 17px; font-size:12px; }
  .cm-preq__choices {
    width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
  }
  .cm-preq__choice {
    min-height:48px;
    padding:9px 33px 9px 11px;
    font-size:11px;
    border-radius:9px;
  }
  .cm-preq__choice small { font-size:8px; }
  .cm-preq__choice-check { right:9px; width:17px; height:17px; }
  .cm-preq__choice.is-selected .cm-preq__choice-check:after {
    left:4px; top:2px; width:5px; height:8px;
  }
  .cm-preq__micro-trust { margin-top:9px; font-size:8px; gap:9px 13px; }
  .cm-preq__summary { gap:5px; margin:6px 0; }
  .cm-preq__summary-item { padding:6px 8px; }
  .cm-preq__summary-item span { font-size:7px; }
  .cm-preq__summary-item strong { font-size:9px; }
  .cm-preq__consent { font-size:8px; margin-top:5px; }
  .cm-preq__nav { margin-top:8px; }
  .cm-preq__banks { padding:7px 18px 8px; }
  .cm-preq__banks-label { font-size:7px; margin-bottom:5px; }
  .cm-preq__banks-group { gap:24px; padding-right:24px; }
  .cm-preq__banks-group img { max-width:86px; max-height:20px; }
  .cm-preq__banks-group img[src*="caja"] { max-width:30px; max-height:24px; }
}

@media (max-width: 520px) {
  .cm-preq__secure { font-size:10px; }
  .cm-preq__secure-dot { width:7px; height:7px; box-shadow:0 0 0 4px rgba(225,37,27,.08); }
  .cm-preq__content { padding-left:16px; padding-right:16px; }
  .cm-preq__eyebrow { font-size:9px; margin-bottom:7px; }
  .cm-preq__intent { font-size:clamp(26px,8.8vw,36px); line-height:1.02; }
  .cm-preq__question { font-size:15px; }
  .cm-preq__field-row { gap:7px; }
  .cm-preq__field { height:45px; padding:0 12px; font-size:13px; }
  .cm-preq__primary { min-height:45px; padding:0 13px; }
  .cm-preq__choice { font-size:10px; }
}

@media (max-height: 650px) and (min-width: 901px) {
  .cm-preq { grid-template-rows:58px minmax(0,1fr) 58px; min-height:520px; }
  .cm-preq__content { padding-top:17px; padding-bottom:15px; }
  .cm-preq__progress { margin-bottom:16px; }
  .cm-preq__intent { font-size:clamp(33px,3.2vw,48px); }
  .cm-preq__step-mount { min-height:255px; }
  .cm-preq__banks-label { display:none; }
  .cm-preq__banks { padding-top:14px; }
}

@media (prefers-reduced-motion: reduce) {
  .cm-preq__banks-track { animation:none; }
  .cm-preq__step { animation:none; }
}
