/* Encuesta: jerarquía, ritmo y controles cómodos en ambas versiones. */
.enc-hero {background:radial-gradient(ellipse at 85% 0,rgba(116,113,238,.25),transparent 60%),#0f1629}
.enc-hero p {color:#c8cfdf}.enc-stat span {color:#c8cfdf}
.profile-wrap {max-width:760px}.profile-card {border-radius:16px;padding:22px;min-height:128px;font-family:var(--font-body,system-ui)}
.profile-card strong {font-size:1rem}.profile-card small {font-size:.875rem}
.form-wrap {max-width:760px}.prog-bar-wrap {height:7px;border-radius:8px}.prog-label {font-family:inherit;font-size:.875rem}
.q-sec {margin:36px 0 22px;padding-bottom:14px;border-bottom:1px solid #dbe3e6}
.q-group {margin-bottom:28px}.q-label {font-family:inherit;font-size:1rem;font-weight:600;letter-spacing:0;line-height:1.5}
.pills {gap:10px}.pill-btn {font-family:inherit;font-size:.9rem;line-height:1.4;white-space:normal;min-height:44px;border-radius:10px;padding:10px 15px;text-align:left}
.pill-btn.on {box-shadow:0 2px 7px #3347d626}.pill-btn:focus-visible,.profile-card:focus-visible,.form-input:focus-visible {outline:3px solid #9199f5;outline-offset:3px}
.q-more {margin-top:32px}.q-more-h {margin-bottom:24px}.submit-row {gap:16px;margin-top:28px}.submit-btn {min-height:48px}
.data-pains {margin:36px 0;padding:28px;border:1px solid #d7daf4;border-top:4px solid #3d43df;border-radius:18px;background:linear-gradient(135deg,#f0efff,#fff 65%);box-shadow:0 5px 20px #14244206}
.pain-heading {display:flex;gap:14px;align-items:center;margin-bottom:16px}.pain-icon {display:grid;place-items:center;flex:0 0 46px;height:46px;border-radius:14px;background:#e3e3ff;color:#3942d5;font-size:30px}
.pain-eyebrow {margin:0 0 5px!important;font-size:.8rem!important;font-weight:700;color:#3942d5!important}.data-pains h2 {font-size:clamp(1.3rem,3vw,1.7rem);line-height:1.2;margin:0}
.data-pains>p {color:#566770;font-size:.95rem;line-height:1.6;margin:0 0 24px}.pain-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 20px}
.pain-question {min-width:0}.pain-question label,.pain-example {display:block;font-weight:600;font-size:.95rem;line-height:1.5;margin-bottom:9px;color:#12212a}
.pain-question .form-input {width:100%;min-width:0;min-height:48px;font-family:inherit;font-size:1rem;border:1px solid #cbd5de;border-radius:10px;background:#fff;padding:11px 32px 11px 12px;color:#12212a}
.pain-example {margin-top:24px}.data-pains textarea {width:100%;font-family:inherit;font-size:1rem;line-height:1.5;border-radius:10px;padding:12px;border:1px solid #cbd5de;resize:vertical}
.data-pains .pain-note {font-size:.8rem;line-height:1.55;margin:12px 0 0;color:#566770}
@media(max-width:640px){.pain-grid{grid-template-columns:1fr;gap:20px}.data-pains{padding:22px 18px;margin:28px 0}.profile-cards{gap:12px}.profile-card{min-height:100px}.pill-btn{flex-grow:1}.q-label{font-size:1rem}.enc-hero{padding:40px 0}.submit-row .submit-btn{width:100%}}
.data-pains {scroll-margin-top:90px}
.survey-collaboration{max-width:580px;margin:28px auto;padding:24px;text-align:left;border:1px solid #dbe3e6;border-radius:16px;background:#f4f6f6}.survey-collaboration h4{font-size:1.15rem;line-height:1.35;margin:0 0 10px;color:#12212a}.survey-collaboration p{font-size:.95rem;line-height:1.6;margin:0 0 16px;color:#566770}.survey-collaboration a{display:inline-block;font-weight:600;line-height:1.5;overflow-wrap:anywhere;padding:6px 0;color:#3347d6}.survey-collaboration a:focus-visible{outline:3px solid #9199f5;outline-offset:4px}@media(max-width:480px){.survey-collaboration{padding:20px 16px}}
.survey-collaboration form{margin:22px 0;padding-top:20px;border-top:1px solid #dbe3e6}.survey-collaboration form>label:not(.survey-consent){display:block;font-size:.95rem;font-weight:600;margin:18px 0 8px}.survey-collaboration .form-input{display:block;width:100%;min-height:48px;font:inherit;line-height:1.5;padding:12px;border:1px solid #cbd5de;border-radius:10px;background:#fff}.survey-collaboration textarea{resize:vertical}.survey-collaboration .collaboration-hint{font-size:.8rem;line-height:1.55;margin:9px 0 18px}.survey-collaboration .collaboration-status{margin-top:16px}.collaboration-status:empty{display:none}.survey-collaboration .submit-btn{white-space:normal;max-width:100%}
/* Cada pareja comparte altura de fila: el control queda alineado bajo las etiquetas. */
.pain-question{display:flex;flex-direction:column;align-items:stretch}
.pain-question .form-input{margin-top:auto}
.form-wrap:has(.success-box) {max-width:880px;padding-bottom:3rem}
body:has(.success-box) .profile-wrap {display:none}
.success-box {scroll-margin-top:84px;border:1px solid #dbe3e6;border-radius:22px;background:#fff;padding:clamp(24px,5vw,48px);text-align:left}
.success-box .icon {display:grid;place-items:center;width:58px;height:58px;margin:0 0 16px;color:#047857;background:#e4f3ec;border-radius:16px}
.success-box h3 {font-size:clamp(1.6rem,4vw,2.25rem);color:#12212a}
.success-box > p {margin:0 0 24px;max-width:64ch}
.success-box .survey-contact,.success-box .survey-collaboration {max-width:none;margin:18px 0}
.success-box .survey-contact summary {cursor:pointer;min-height:44px;font-weight:700;line-height:1.45;color:#2536b0}
.success-box .survey-contact[open] summary {margin-bottom:14px}
.success-box .next-cards {margin-bottom:20px}
@media(max-width:600px){.success-box .next-cards{display:grid;grid-template-columns:minmax(0,1fr)}}
