/* ── Powell Valuation Form ─────────────────────────────────────────── */
#pvf-wrap {
    max-width: 760px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Progress */
#pvf-progress {
    height: 6px;
    background: #e0e6ef;
    border-radius: 3px;
    margin-bottom: 8px;
    overflow: hidden;
}
#pvf-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1b4b8a, #2d7dd2);
    border-radius: 3px;
    transition: width .4s ease;
    width: 0%;
}
#pvf-steps-nav {
    display: flex;
    justify-content: space-between;
    margin-bottom: 36px;
    gap: 4px;
}
.pvf-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #aaa;
    letter-spacing: .3px;
    flex: 1;
    text-align: center;
    padding: 4px 2px;
    border-top: 3px solid #e0e6ef;
    transition: color .2s, border-color .2s;
}
.pvf-step-label.active {
    color: #1b4b8a;
    border-top-color: #1b4b8a;
}
.pvf-step-label.done {
    color: #0a6640;
    border-top-color: #0a6640;
}

/* Steps */
.pvf-step { display: none; }
.pvf-step.active { display: block; animation: pvfFadeIn .3s ease; }
@keyframes pvfFadeIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }

.pvf-step-title {
    font-size: 22px;
    font-weight: 800;
    color: #1b4b8a;
    margin: 0 0 6px;
}
.pvf-step-sub {
    font-size: 14px;
    color: #777;
    margin: 0 0 28px;
}

/* Fields */
.pvf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}
.pvf-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.pvf-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.pvf-full {
    grid-column: 1 / -1;
}
.pvf-field label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}
.pvf-field .req { color: #c0392b; }
.pvf-field input[type=text],
.pvf-field input[type=email],
.pvf-field input[type=tel],
.pvf-field input[type=number],
.pvf-field select,
.pvf-field textarea {
    height: 44px;
    padding: 0 14px;
    border: 1.5px solid #d0d9e4;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
}
.pvf-field textarea {
    height: auto;
    padding: 12px 14px;
    resize: vertical;
    font-family: inherit;
}
.pvf-field input:focus,
.pvf-field select:focus,
.pvf-field textarea:focus {
    outline: none;
    border-color: #1b4b8a;
    box-shadow: 0 0 0 3px rgba(27,75,138,.12);
}
.pvf-field input.pvf-error,
.pvf-field select.pvf-error {
    border-color: #c0392b;
    box-shadow: 0 0 0 3px rgba(192,57,43,.1);
}

/* Toggle Yes/No */
.pvf-toggle-field label:first-child {
    margin-bottom: 8px;
}
.pvf-toggle-group {
    display: flex;
    gap: 8px;
}
.pvf-toggle {
    flex: 1;
    cursor: pointer;
}
.pvf-toggle input { display: none; }
.pvf-toggle span {
    display: block;
    text-align: center;
    padding: 10px;
    border: 1.5px solid #d0d9e4;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    transition: all .15s;
}
.pvf-toggle input:checked + span {
    background: #1b4b8a;
    border-color: #1b4b8a;
    color: #fff;
}

/* Condition Grid */
.pvf-condition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 4px;
}
.pvf-condition-card {
    cursor: pointer;
    border: 2px solid #d0d9e4;
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    transition: all .15s;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pvf-condition-card input { display: none; }
.pvf-condition-card:hover { border-color: #1b4b8a; background: #f0f5ff; }
.pvf-condition-card.selected,
.pvf-condition-card input:checked ~ * {
    border-color: #1b4b8a;
    background: #e8f0fb;
    color: #1b4b8a;
}
.pvf-condition-card span::before { content: '○'; margin-right: 6px; }
.pvf-condition-card.selected span::before { content: '●'; color: #1b4b8a; }

/* Review box */
#pvf-review-box {
    background: #f0f5ff;
    border: 1.5px solid #c8d8f0;
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 20px;
}
#pvf-review-box h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1b4b8a;
    margin: 0 0 12px;
}
.pvf-review-grid {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 6px 16px;
    margin: 0;
}
.pvf-review-grid dt {
    font-size: 12px;
    font-weight: 700;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .3px;
    align-self: start;
    padding-top: 2px;
}
.pvf-review-grid dd {
    font-size: 13px;
    color: #222;
    margin: 0;
}

/* Consent */
#pvf-consent {
    margin-bottom: 24px;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}
#pvf-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}
#pvf-consent input[type=checkbox] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #1b4b8a;
}

/* Buttons */
#pvf-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}
.pvf-btn {
    height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: background .2s, transform .1s;
}
.pvf-btn:active { transform: scale(.98); }
.pvf-btn--primary {
    background: #1b4b8a;
    color: #fff;
}
.pvf-btn--primary:hover { background: #163d73; }
.pvf-btn--primary:disabled { opacity: .6; cursor: not-allowed; }
.pvf-btn--outline {
    background: transparent;
    color: #1b4b8a;
    border: 2px solid #1b4b8a;
}
.pvf-btn--outline:hover { background: #f0f5ff; }

/* Success */
#pvf-success {
    text-align: center;
    padding: 60px 20px;
    animation: pvfFadeIn .5s ease;
}
.pvf-success-icon { font-size: 64px; margin-bottom: 16px; }
#pvf-success h2 { font-size: 26px; font-weight: 800; color: #1b4b8a; margin-bottom: 12px; }
#pvf-success p { font-size: 16px; color: #555; margin-bottom: 8px; }
.pvf-call-btn {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    height: 54px;
    padding: 0 32px;
    border-radius: 12px;
    font-size: 17px;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 600px) {
    .pvf-row, .pvf-row-3 { grid-template-columns: 1fr; }
    .pvf-condition-grid { grid-template-columns: 1fr; }
    .pvf-step-label { font-size: 10px; }
    .pvf-btn { height: 44px; font-size: 14px; padding: 0 18px; }
}
