body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #202020;
}

.wrap {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px 40px;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.intro {
    font-size: 1.05rem;
    color: #4d4d4d;
    margin-bottom: 24px;
}

.card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.wizard-header {
    margin-bottom: 28px;
}

.wizard-step-label {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 10px;
}

.progress {
    width: 100%;
    height: 10px;
    background: #ececec;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    width: 20%;
    height: 100%;
    background: #be6426;
    transition: width 0.25s ease;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.step-help {
    color: #666;
    margin-bottom: 18px;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.option-card {
    display: block;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.option-card:hover {
    border-color: #be6426;
    box-shadow: 0 4px 12px rgba(190,100,38,0.10);
}

.option-card input {
    margin-right: 10px;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    background: #fafafa;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

.btn {
    display: inline-block;
    padding: 12px 18px;
    background: #be6426;
    color: #fff;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background: #a8561f;
}

.btn-secondary {
    background: #ececec;
    color: #202020;
}

.btn-secondary:hover {
    background: #dedede;
}

.note {
    color: #666;
    font-size: 0.95rem;
}

.lead-box {
    background: linear-gradient(180deg, #fffdfb 0%, #fff8f4 100%);
    border: 1px solid #f1ded1;
    padding: 28px;
    border-radius: 16px;
    max-width: 1120px;
    margin: 0 auto;
    box-shadow: 0 10px 26px rgba(190, 100, 38, 0.06);
}

.lead-box .input { width: 100%; box-sizing: border-box; }

/* custom checkbox look */
.checkbox-inline input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #be6426;
}

/* make submit button more prominent on final step */
.wizard-actions.final {
    justify-content: flex-end;
}

.wizard-actions.final .btn {
    padding: 14px 22px;
    font-size: 1.05rem;
    border-radius: 12px;
}

/* space between prev and right-side buttons */
.wizard-actions .left { margin-right: auto; }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.input-field.full {
    grid-column: 1 / -1;
}

.textarea {
    height: 180px;
    resize: none;
}

#new-calc-btn {
    display: block;
    margin: 20px auto 0;
    transition: all 0.2s ease;
}

.checkbox-row {
    grid-column: 1 / -1;
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;
}

.checkbox-inline { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; }

.required { color: #b22222; margin-left: 6px; font-weight: 600; }
.optional { color: #888; font-size: 0.9rem; }

.step-hidden {
    display: none !important;
}

.input-row {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.input-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 6px;
}

.input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-sizing: border-box;
}

.input-error {
    border-color: #d9534f !important;
    box-shadow: 0 0 0 3px rgba(217,83,79,0.08);
}

.faq-card {
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid #e6e6e6;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 0;
    cursor: pointer;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 20px;
    transition: transform .2s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height .25s ease;
}

.faq-answer p {
    margin: 0 0 16px 0;
    color: #555;
    line-height: 1.6;
}

.seo-block {
    margin: 30px 0 40px 0;
    padding: 20px 24px;
    background: #f7f7f7;
    border-radius: 10px;
}

.seo-block h2 {
    margin-top: 0;
    font-size: 20px;
}

.seo-block p {
    color: #555;
    line-height: 1.7;
}

.info-highlight {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 14px;

    background: linear-gradient(180deg, #fff 0%, #fff7f2 100%);
    border: 1px solid #f1e2d8;

    margin: 24px 0 32px 0;
}

.info-icon {
    font-size: 22px;
    line-height: 1;
    margin-top: 2px;
}

.info-content h2 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.info-content p {
    margin: 0 0 8px 0;
    color: #444;
    line-height: 1.6;
}

.info-content .muted {
    color: #777;
    font-size: 0.95rem;
}
.estimate-preview {
    margin-bottom: 24px;
}

.estimate-box {
    padding: 24px;
    border-radius: 16px;
    background: #fcfcfc;
    border: 1px solid #ece7e3;
}

.estimate-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.estimate-item {
    background: #fafafa;
    padding: 14px;
    border-radius: 10px;
}

.estimate-item.highlight {
    background: #fff4ec;
    border: 1px solid #f0d2c2;
}

.estimate-item .label {
    font-size: 0.85rem;
    color: #777;
}

.estimate-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 4px;
}

.estimate-item .sub {
    font-size: 0.8rem;
    color: #888;
}

.estimate-recommendation {
    margin-top: 16px;
    padding: 12px;
    background: #f6f6f6;
    border-radius: 8px;
    font-size: 0.95rem;
}

.lead-benefit {
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
    color: #3f3f3f;
}

.lead-benefit::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #be6426;
    font-weight: 700;
}

.lead-note {
    margin: 0;
    color: #6a6a6a;
    line-height: 1.6;
}

.lead-box {
    margin-top: 40px;
}

.lead-intro {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
    padding: 25px 20px 0;
}

.lead-intro h3 {
    margin: 0 0 18px;
    font-size: 2.1rem;
}

.lead-benefits {
    display: inline-grid;
    gap: 12px;
    margin: 0 auto 18px;
    text-align: left;
}

.lead-note {
    margin: 6px 0 0;
    color: #6a6a6a;
    line-height: 1.6;
}

#estimate-preview h3 {
    margin-block-start: 0;
}

#send-lead {
    background: #be6426;
    color: #fff;
    border-radius: 12px;
    padding: 16px 24px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(190, 100, 38, 0.18);
    transition: all 0.2s ease;
}

#send-lead:hover {
    background: #a8561f;
    transform: translateY(-1px);
}

.success-message {
    background: #f3f8f5;
    border: 1px solid #d7e8dc;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.95rem;
}
.error-message {
    background: #fbeaea;
    border: 1px solid #f1c0c0;
    padding: 14px 16px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    color: #d9534f;
}
#lead-submit-message {
    grid-column: 1 / -1;
}

/* responsive */
@media (max-width: 768px) {
    .option-grid,
    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .input-row { flex-direction: column; }

    .form-grid { grid-template-columns: 1fr; }

    .textarea { height: 220px; }
}