/* One Merci Studio — página de cotización */

.cot-portada { padding-bottom: 120px; }
.cot-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.cot-intro { position: sticky; top: 120px; }
.cot-puntos { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.cot-puntos li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .8); font-size: 15px; }
.cot-puntos svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; }

.cot-panel {
  background: #fff; color: var(--texto); border-radius: 28px;
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .55);
  min-height: 420px;
}
.cot-paso { display: none; }
.cot-paso.activo { display: block; animation: aparecer .5s var(--t); }
@keyframes aparecer { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.cot-paso h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -.02em; margin: 10px 0 8px; line-height: 1.2; }
.cot-etiqueta { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--azul); }
.cot-ayuda { color: var(--gris); font-size: 15px; margin: 0 0 26px; }
.cot-aviso { color: var(--texto); }

.campo { display: block; margin-bottom: 18px; }
.campo span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.campo input, .pregunta input[type=text], .pregunta input[type=tel], .pregunta textarea, .pnota {
  width: 100%; font: inherit; font-size: 15.5px; color: var(--texto);
  padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--linea); background: var(--suave);
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.campo input:focus, .pregunta input:focus, .pregunta textarea:focus, .pnota:focus {
  outline: none; border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(0, 99, 243, .12);
}
.campo-codigo { font-size: 28px !important; letter-spacing: .5em; text-align: center; font-weight: 600; }
.pregunta textarea { resize: vertical; min-height: 90px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.cot-btn { width: 100%; margin-top: 6px; }
.btn.cargando { opacity: .7; pointer-events: none; }
.btn.cargando svg { animation: girar 1s linear infinite; }
@keyframes girar { to { transform: rotate(360deg); } }
.cot-error { color: #C62848; font-size: 14px; font-weight: 500; min-height: 1px; margin: 0 0 8px; }
.cot-error:empty { margin: 0; }
.cot-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }
.link { border: 0; background: none; padding: 4px 0; color: var(--azul); font-weight: 600; font-size: 14px; }
.link:hover { text-decoration: underline; }
.link:disabled { color: var(--gris); text-decoration: none; cursor: default; }

/* entrevista */
.cot-cab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: center; }
.cot-sesion { font-size: 13px; color: var(--gris); }
.cot-sesion b { color: var(--texto); font-weight: 600; word-break: break-all; }
.progreso { height: 6px; border-radius: 6px; background: var(--suave); margin: 20px 0 10px; overflow: hidden; }
.progreso-barra { height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .6s var(--t); }
.progreso-txt { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--gris); margin-bottom: 26px; }
.cot-seccion > h2 { font-size: clamp(24px, 3vw, 32px); margin: 0 0 6px; }
.cot-seccion > h2 + .pregunta { margin-top: 22px; }

.pregunta { padding: 22px 0; border-top: 1px solid var(--linea); }
.pregunta fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.pq { display: flex; gap: 12px; font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; padding: 0; }
.pq em { color: #C62848; font-style: normal; }
.pnum {
  flex: none; display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 8px;
  font-size: 12.5px; font-weight: 700; color: var(--azul); background: var(--hielo);
}
.pmulti { font-weight: 500; color: var(--gris); font-size: 12.5px; margin-left: 4px; white-space: nowrap; }
.payuda { display: block; color: var(--gris); font-size: 13.5px; margin: -6px 0 12px 40px; }
.opciones { display: flex; flex-wrap: wrap; gap: 8px; }
.opcion { position: relative; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opcion span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--suave); box-shadow: inset 0 0 0 1.5px var(--linea); transition: background .2s, color .2s, box-shadow .2s;
}
.opcion:hover span { box-shadow: inset 0 0 0 1.5px #B8C8F0; }
.opcion input:checked + span { background: var(--grad); color: #fff; box-shadow: none; }
.opcion input:focus-visible + span { outline: 3px solid var(--cielo); outline-offset: 2px; }
.pnota { margin-top: 12px; font-size: 14.5px !important; padding: 12px 14px !important; }

.cot-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.cot-guardado { font-size: 12.5px; color: var(--gris); text-align: center; margin: 18px 0 0; }

.cot-listo-icono {
  width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 20px 40px -18px rgba(0, 99, 243, .8);
}
.cot-listo-icono svg { width: 34px; height: 34px; }

@media (max-width: 1080px) {
  .cot-grid { grid-template-columns: 1fr; gap: 36px; }
  .cot-intro { position: static; }
}
@media (max-width: 760px) {
  .cot-panel { border-radius: 22px; padding: 24px 18px; }
  .payuda { margin-left: 0; }
  .cot-nav .btn { flex: 1; }
}
