/**
 * Calculator & Lead Form Styles
 * Brand color: #E65D00
 */

/* Calculator Section */
.price-calculator {
    padding: 60px 0;
    background: #f8f9fa;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.calculator-form {
    padding: 30px;
}

.calculator-lead-form {
    padding: 30px;
    background: #fef7f2;
    border-left: 3px solid #E65D00;
}

/* Form Fields */
.calc-field {
    margin-bottom: 24px;
}

.calc-field label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.calc-field input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: #E65D00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(230, 93, 0, 0.3);
}

.calc-field input[type="range"]::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: #E65D00;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(230, 93, 0, 0.3);
}

.range-display {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #E65D00;
    margin-top: 8px;
}

.calc-field select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    transition: border-color 0.2s;
}

.calc-field select:focus {
    border-color: #E65D00;
    outline: none;
}

/* Estimate Result */
.calc-result {
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.estimate-range {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.estimate-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.estimate-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #E65D00;
}

.estimate-note {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 10px;
    line-height: 1.4;
}

/* Lead Capture Form */
.calculator-lead-form h3 {
    font-size: 1.3rem;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.calculator-lead-form > p {
    color: #555;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #E65D00;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.btn-full {
    width: 100%;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
    text-align: center;
}

/* Form Error */
.form-error {
    background: #fee;
    color: #c00;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    border: 1px solid #fcc;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 30px 20px;
}

.form-success h3 {
    color: #28a745;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.form-success p {
    color: #555;
    line-height: 1.6;
}

.form-success a {
    color: #E65D00;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-lead-form {
        border-left: none;
        border-top: 3px solid #E65D00;
    }

    .estimate-value {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .calculator-form,
    .calculator-lead-form {
        padding: 20px;
    }

    .calc-result {
        padding: 16px;
    }
}
