/* WRAPPER */
.cqc-box {
    max-width: 70%;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .cqc-box { max-width: 95%; }
}

/* STEPS */
.step { display: none; }
.step.active { display: block; }

/* STEP TITLES */
.step-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: #0073aa;
}

/* SERVICE GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.service-card.active,
.service-card:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.service-card .icon {
    font-size: 40px;
    margin-bottom: 10px;
    display: block;
}

/* AREA GROUPS */
.area-group {
    margin-bottom: 20px;
}

.area-group h4 {
    margin-bottom: 8px;
    font-size: 16px;
}

.qty-btn {
    margin: 5px 5px 0 0;
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    transition: 0.2s;
}

.qty-btn.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* ADDONS */
.addon-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

/* TOTAL */
.quote-total {
    background: #e7f5ff;
    padding: 15px;
    border-radius: 10px;
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

/* INPUTS */
label { font-weight:600; display:block; margin-top:12px }
input, select {
    width: 100%;
    padding: 10px;
    margin-bottom: 6px;
    border-radius: 6px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

/* INLINE VALIDATION */
.error {
    color: #d63638;
    font-size: 12px;
    margin-bottom: 6px;
}

/* BUTTONS */
button {
    padding: 10px 18px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

button:not(.qty-btn) {
    background: #0073aa;
    color: #fff;
    transition: 0.2s;
}

button:not(.qty-btn):hover {
    opacity: 0.9;
}

/* CHECKBOX INLINE */
.inline-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 15px 0;
}

/* THANK YOU / FINAL STEP */
.thankyou-msg {
    background: #e7f5ff;
    padding: 20px;
    border-radius: 8px;
    font-size: 18px;
    margin-bottom: 15px;
}

#final-summary {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
}
.service-card {
    border: 2px solid #eee;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* text at bottom over image */
}

.service-card .name {
    font-weight: bold;
    background: rgba(0,0,0,0.5);
    padding: 5px 8px;
    border-radius: 6px;
    margin-top: 10px;
}
.service-card .icon { display: none; }
