/* /custom-project/ (DE, EN, ES, PT) — brief de proyecto a medida. Capa sobre form-dark.css. */
.form-page { padding-top: calc(var(--nav-h) + 24px); }
.cp-hero { text-align: center; padding-bottom: 32px; }
.cp-hero-inner { max-width: 680px; margin: 0 auto; padding: 0 24px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 28px; transition: color .15s; }
.back-link:hover { color: var(--lima); }
.cp-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.cp-hero-sub { color: var(--text-2); max-width: 52ch; margin: 0 auto 28px; }
.cp-filter-box { display: inline-block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-m); padding: 14px 22px; font-size: .86rem; color: var(--text-2); line-height: 1.6; max-width: 520px; text-align: center; }
.cp-filter-box strong { color: var(--text); }
.cp-form-section { padding: 24px 0 8px; }
.cp-form-wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 20px; }
.cp-form-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l); padding: 40px 36px; }
.fgroup { margin-bottom: 18px; }
.flabel { display: block; font-size: .8rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
legend.flabel { margin-bottom: 10px; font-family: var(--font-body); font-size: .8rem; }
.finput, .fselect, .ftextarea { width: 100%; }
.ftextarea { min-height: 110px; resize: vertical; }
.fgrid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fcheck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fcheck-item, .fradio-item, .fcheck-wrap { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--bg); border: 1px solid var(--border); transition: border-color .15s, background .15s; }
.fcheck-item:has(input:checked), .fradio-item:has(input:checked) { border-color: var(--lima); background: var(--line); }
.fcheck-item input, .fradio-item input, .fcheck-wrap input { width: 16px; height: 16px; flex-shrink: 0; }
.fcheck-item label, .fradio-item label { font-size: .84rem; color: var(--text); cursor: pointer; line-height: 1.4; }
.fradio-list { display: flex; flex-direction: column; gap: 8px; }
.fradio-item label { font-weight: 500; }
.fradio-note { font-size: .72rem; font-weight: 600; color: var(--danger); margin-left: auto; }
.fcheck-wrap { align-items: flex-start; margin-bottom: 9px; }
.fcheck-wrap input { margin-top: 2px; }
.fcheck-wrap label { font-size: .76rem; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.fcheck-wrap a { color: var(--lima); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.fsection-label { display: flex; align-items: center; gap: 10px; margin: 32px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--text); }
.fsection-label:first-of-type { margin-top: 8px; }
.fsection-num { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: var(--lima); color: var(--bg); font-family: var(--font-mono); font-size: .72rem; font-weight: 700; }
.ffile-area { border: 1px dashed var(--border); border-radius: var(--radius-m); padding: 24px; text-align: center; background: var(--bg); cursor: pointer; transition: border-color .15s; }
.ffile-area:hover { border-color: var(--lima); }
.ffile-area input[type="file"] { display: none; }
.ffile-label { display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; }
.ffile-icon { font-size: 2rem; }
.ffile-text { font-size: .86rem; color: var(--text-2); line-height: 1.5; }
.ffile-text strong { color: var(--text); }
.ffile-note { font-size: .72rem; color: var(--text-3); margin-top: 8px; }
.fsubmit { display: block; width: 100%; margin-top: 8px; padding: 14px; border: 0; border-radius: var(--radius-s); background: var(--lima); color: var(--bg); font-family: var(--font-body); font-weight: 700; font-size: .98rem; cursor: pointer; transition: background .15s; }
.fsubmit:hover:not(:disabled) { background: var(--lima-dark); }
.fsubmit:disabled { background: var(--elevated); color: var(--text-3); cursor: not-allowed; }
.budget-warning { background: var(--bg); border: 1px solid var(--danger); border-radius: var(--radius-m); padding: 16px 20px; margin-bottom: 18px; font-size: .86rem; color: var(--text); line-height: 1.6; }
.budget-warning strong { display: block; margin-bottom: 4px; color: var(--danger); }
.budget-warning a { color: var(--lima); text-decoration: underline; }
.form-response, .form-legal { text-align: center; font-size: .78rem; color: var(--text-2); margin-top: 12px; }
.form-legal { color: var(--text-3); }
@media (max-width: 640px) { .fgrid-2, .fcheck-grid { grid-template-columns: 1fr; } .cp-form-box { padding: 26px 18px; } }
