/* ---- Cost Calculator ---- */
.calculator_section {
    padding: 70px 0 90px;
}

.calc-steps-label span {
    font-size: 11px;
    color: #aaa;
    width: 20%;
    text-align: center;
    display: inline-block;
}

.calc-steps-label span.active-label {
    color: #feb000;
    font-weight: 700;
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

.calc-heading {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 28px;
}

/* Service cards */
.service-cards-row > .col-sm-6 {
    margin-bottom: 30px;
}

.service-option {
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    background: #fff;
    height: 100%;
}

.service-option:hover {
    border-color: #feb000;
    box-shadow: 0 4px 14px rgba(40, 167, 69, 0.12);
}

.service-option.selected {
    border-color: #feb000;
    background: #f3fbf5;
}

.service-option i {
    font-size: 30px;
    color: #feb000;
    margin-bottom: 12px;
    display: block;
}

.service-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
    color: #2c3e50;
    text-align: center;
}

.service-option p {
    font-size: 13px;
    color: #777;
    margin: 0;
    text-align: center;
}

/* Insulation board subtype */
#insulationSubtype {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.insulation-subtype-heading {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.insulation-option {
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 18px 14px;
    text-align: center;
    background: #fff;
    margin-bottom: 16px;
    transition: border-color 0.2s, background 0.2s;
}

.insulation-option:hover {
    border-color: #feb000;
}

.insulation-option.selected {
    border-color: #feb000;
    background: #f3fbf5;
}

.insulation-name {
    font-size: 15px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 4px;
}

.insulation-price {
    font-size: 18px;
    font-weight: 700;
    color: #feb000;
    margin-bottom: 6px;
}

.insulation-desc {
    font-size: 12px;
    color: #777;
    margin: 0;
}

/* Property type */
.property-option {
    cursor: pointer;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 10px;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    margin-bottom: 16px;
    background: #fff;
}

.property-option:hover {
    border-color: #feb000;
}

.property-option.selected {
    border-color: #feb000;
    background: #f3fbf5;
}

.property-option i {
    font-size: 26px;
    color: #feb000;
    margin-bottom: 8px;
    display: block;
}

.property-option span {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

/* Dimension inputs */
.dimension-group {
    margin-bottom: 20px;
}

.dimension-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 6px;
    display: block;
}

.input-unit {
    background: #f8f9fa;
    border-left: none;
    color: #555;
    font-weight: 600;
}

/* Soffit toggle */
.soffit-toggle {
    display: flex;
    gap: 12px;
}

.toggle-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #555;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.toggle-btn:hover {
    border-color: #feb000;
    color: #feb000;
}

.toggle-btn.selected {
    border-color: #feb000;
    background: #f3fbf5;
    color: #feb000;
}

/* Navigation */
#calcNext.is-calculate {
    min-width: 180px;
    padding: 0 24px;
}

.calc-navigation {
    padding-top: 28px;
    border-top: 1px solid #eee;
    margin-top: 28px;
    align-items: center;
}

/* Summary */
.calc-summary {
    margin-bottom: 24px;
}

.calc-summary-heading {
    font-size: 11px;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}

.calc-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calc-summary-item {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.calc-summary-item i {
    font-size: 18px;
    color: #feb000;
    margin-bottom: 6px;
}

.summary-label {
    font-size: 11px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
    display: block;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    display: block;
}

/* Result */
.calc-result-box {
    background: #f3fbf5;
    border: 2px solid #feb000;
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    margin-bottom: 20px;
}

.calc-result-box .result-label {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

.calc-result-box .result-amount {
    font-size: 44px;
    font-weight: 800;
    color: #feb000;
    margin-bottom: 10px;
    line-height: 1.1;
}

.calc-result-box .result-vat {
    font-size: 15px;
    color: #777;
    margin-top: 6px;
    margin-bottom: 0;
}

.calc-result-box .result-breakdown {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.calc-disclaimer {
    font-size: 13px;
    color: #999;
    font-style: italic;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
}

.calc-result-cta {
    text-align: center;
    padding-top: 10px;
}

.calc-cta-heading {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 8px;
}

.calc-cta-sub {
    font-size: 15px;
    color: #777;
    margin-bottom: 24px;
}

.calc-cta-contacts {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.calc-cta-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
}

.calc-cta-contact i {
    font-size: 20px;
    color: #feb000;
}

.calc-cta-contact:hover {
    color: #feb000;
    text-decoration: none;
}

/* Result service cards */
.result-service-card {
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    margin-bottom: 16px;
    background: #fff;
}

.result-service-name {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.result-service-price {
    font-size: 28px;
    font-weight: 800;
    color: #feb000;
    margin-bottom: 4px;
    line-height: 1.1;
}

.result-service-rate {
    font-size: 12px;
    color: #999;
}

/* Estimated price shown on service card */
.service-estimate {
    font-size: 20px;
    font-weight: 700;
    color: #feb000;
    margin-top: 10px;
}

@media (max-width: 576px) {
    .calc-result-box .result-amount {
        font-size: 32px;
    }

    .soffit-toggle {
        flex-direction: column;
    }

    .calc-summary-grid {
        grid-template-columns: 1fr;
    }

    .calc-cta-contacts {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
