/* public/css/proposal.css — proposal request form */

.proposal-page { background: var(--paper); min-height: 100vh; }

.pp-top {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px clamp(20px, 5vw, 56px);
}
.vws-logo-link { text-decoration: none; }
.pp-back { font-size: 14px; color: var(--ink-muted); text-decoration: none; }
.pp-back:hover { color: var(--ink); }

.pp-wrap { max-width: 760px; margin: 0 auto; padding: 16px 20px 80px; }

.pp-intro h1 {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 12px;
}
.pp-intro p { font-size: 16px; color: var(--ink-muted); line-height: 1.6; max-width: 56ch; margin-bottom: 32px; }

.pp-alert {
    background: #fff1f0; border: 1px solid #ffc9c4; color: #9f1d15;
    padding: 12px 16px; border-radius: 12px; font-size: 14px; margin-bottom: 20px;
}
.pp-alert ul { margin: 8px 0 0; padding-left: 18px; }
.pp-alert li { margin: 3px 0; }
.pp-alert a { color: #9f1d15; font-weight: 600; }

/* Required marker */
.pp-field > label.req::after { content: " *"; color: #d9463c; font-weight: 600; }
.pp-required-note { font-size: 13px; color: var(--ink-faint); margin: -20px 0 24px; }
.pp-required-note b { color: #d9463c; }

/* Progress */
.pp-steps {
    list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 32px;
    border-bottom: 1px solid var(--line);
}
.pp-steps li {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px 12px;
    font-size: 14px; color: var(--ink-faint); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.pp-steps li span {
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--ink-faint);
}
.pp-steps li.active { color: var(--ink); border-bottom-color: var(--indigo); }
.pp-steps li.active span { background: var(--indigo); color: #fff; }
.pp-steps li.done span { background: var(--ink); color: #fff; }
.pp-steps li.done { color: var(--ink-muted); }
.pp-steps li.has-error { color: #b3261e; }
.pp-steps li.has-error span { background: #d9463c; color: #fff; }
.pp-steps li.has-error.active { border-bottom-color: #d9463c; }
@media (max-width: 560px) {
    .pp-steps li { padding: 10px 8px 12px; font-size: 0; gap: 0; }
    .pp-steps li span { font-size: 12px; }
}

/* Steps */
.pp-step { display: none; }
.pp-step.active { display: block; }
.pp-step h2 {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 24px;
    letter-spacing: -0.02em; margin-bottom: 20px;
}
.pp-hint { font-size: 14px; color: var(--ink-muted); margin: -10px 0 22px; }

.pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .pp-row { grid-template-columns: 1fr; gap: 0; } }

.pp-field { margin-bottom: 22px; }
.pp-field > label {
    display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--ink);
}
.pp-field > label em { font-style: normal; font-weight: 400; color: var(--ink-faint); margin-left: 4px; }

.pp-field input[type=text], .pp-field input[type=email], .pp-field input[type=tel],
.pp-field textarea {
    width: 100%; padding: 12px 14px; font: inherit; font-size: 15px;
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.pp-field textarea { resize: vertical; line-height: 1.5; }
.pp-field input:focus, .pp-field textarea:focus {
    outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,.15);
}
.pp-field input[type=file] { font-size: 14px; color: var(--ink-muted); }
.pp-field.invalid { padding: 12px; margin-left: -12px; margin-right: -12px; border-radius: 12px; background: #fff5f4; }
.pp-field.invalid > label { color: #b3261e; }
.pp-field.invalid input, .pp-field.invalid textarea, .pp-field.invalid .pp-choice span { border-color: #d9463c; }
.pp-error { display: block; margin-top: 6px; font-size: 13px; color: #b3261e; }

/* Choice pills (radio/checkbox) */
.pp-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-choices.pp-stack { flex-direction: column; }
.pp-choice { position: relative; cursor: pointer; }
.pp-choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.pp-choice span {
    display: inline-block; padding: 9px 14px; font-size: 14px;
    background: var(--white); border: 1px solid var(--line); border-radius: 100px;
    color: var(--ink); transition: background .15s, border-color .15s, color .15s;
}
.pp-choice:hover span { border-color: var(--ink-faint); }
.pp-choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pp-choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(79,70,229,.3); }
.pp-chips .pp-choice input:checked + span {
    background: linear-gradient(90deg, #4f46e5, #22d3ee); border-color: transparent;
}
.pp-stack .pp-choice span { border-radius: 12px; display: block; }

/* Color pickers */
.pp-colors { display: flex; gap: 12px; }
.pp-color { position: relative; width: 48px; height: 48px; }
.pp-color input[type=color] {
    width: 48px; height: 48px; border-radius: 12px; border: 1px dashed var(--ink-faint);
    padding: 0; background: var(--white); cursor: pointer; opacity: .55;
}
.pp-color.set input[type=color] { opacity: 1; border-style: solid; border-color: var(--line); }
.pp-color input[type=color]::-webkit-color-swatch-wrapper { padding: 4px; }
.pp-color input[type=color]::-webkit-color-swatch { border: none; border-radius: 8px; }
.pp-color-clear {
    position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%;
    border: none; background: var(--ink); color: #fff; font-size: 12px; line-height: 18px;
    cursor: pointer; display: none;
}
.pp-color.set .pp-color-clear { display: block; }

/* Nav */
.pp-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); }

.pp-hp { position: absolute; left: -9999px; }

/* Thanks */
.pp-thanks { text-align: center; padding-top: 60px; max-width: 560px; }
.pp-check {
    width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, #4f46e5, #22d3ee);
}
.pp-thanks h1 { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 700; letter-spacing: -0.03em; margin-bottom: 14px; }
.pp-thanks p { color: var(--ink-muted); line-height: 1.7; margin-bottom: 28px; }