.saas-quote-app {
    width: 100%;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

.saas-quote-app * {
    box-sizing: border-box;
}

.quote-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px;
    background: #000;
    color: #fff;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0,0,0,.15);
}

.quote-brand {
    margin-bottom: 24px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #9b9b9b;
}

.quote-main-title {
    margin: 0;
    text-align: center;
    color: #fff;
    font-size: clamp(34px,5vw,52px);
    line-height: 1.08;
    font-weight: 800;
}

.quote-main-subtitle {
    margin: 22px auto 50px;
    text-align: center;
    color: #aaa;
    font-size: 19px;
    line-height: 1.6;
}


/* PROGRESS */

.quote-progress {
    width: 100%;
    max-width: 680px;
    margin: 0 auto 70px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.progress-item {
    width: 90px;
    flex: 0 0 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #666;
}

.progress-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
    font-size: 16px;
    font-weight: 700;
    background: #111;
    color: #777;
}

.progress-label {
    font-size: 14px;
}

.progress-item.active .progress-number,
.progress-item.completed .progress-number {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.progress-item.active .progress-label {
    color: #fff;
}

.progress-item.completed .progress-label {
    color: #aaa;
}

.progress-line {
    flex: 1;
    height: 1px;
    margin-top: 22px;
    background: #333;
}


/* STEPS */

.quote-step {
    display: none;
}

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

.step-eyebrow,
.quote-result .eyebrow,
.confirmation-eyebrow {
    margin-bottom: 16px;
    color: #999;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.quote-step h2,
.quote-result h2,
.order-confirmation h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(30px,4vw,38px);
    line-height: 1.2;
    font-weight: 800;
}

.step-description {
    margin: 0 0 32px;
    color: #aaa;
    font-size: 17px;
    line-height: 1.6;
}

.quote-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 28px;
}

.quote-grid.two-column {
    grid-template-columns: repeat(2,minmax(0,1fr));
}


/* FIELDS */

.quote-field label {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.quote-field input,
.quote-field select {
    width: 100%;
    min-height: 62px;
    padding: 14px 18px;
    border: 1px solid #3c3c3c;
    border-radius: 11px;
    background: #151515;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
}

.quote-field input::placeholder {
    color: #707070;
}

.quote-field input:focus,
.quote-field select:focus {
    outline: none;
    border-color: #fff;
}

.quote-field input.invalid,
.quote-field select.invalid {
    border-color: #d96a6a;
}

.field-error {
    min-height: 18px;
    margin-top: 7px;
    color: #e68a8a;
    font-size: 13px;
}


/* CHOICES */

.quote-section-label {
    margin: 35px 0 15px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.choice-card {
    position: relative;
    min-height: 120px;
    padding: 22px;
    border: 1px solid #333;
    border-radius: 14px;
    background: #121212;
    cursor: pointer;
}

.choice-card:hover {
    border-color: #777;
}

.choice-card.selected {
    border-color: #fff;
    background: #1b1b1b;
}

.choice-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-title {
    display: block;
    margin-bottom: 9px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.choice-description {
    display: block;
    color: #909090;
    font-size: 14px;
    line-height: 1.5;
}


/* BUTTONS */

.step-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 42px;
}

.step-actions.right {
    justify-content: flex-end;
}

.quote-primary-button,
.quote-secondary-button,
.quote-book-button {
    min-height: 58px;
    padding: 15px 32px;
    border-radius: 11px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.quote-primary-button {
    border: 1px solid #fff;
    background: #fff;
    color: #000;
}

.quote-secondary-button {
    border: 1px solid #444;
    background: transparent;
    color: #fff;
}

.quote-book-button {
    width: 100%;
    max-width: 520px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    font-size: 18px;
}

.quote-primary-button:disabled,
.quote-book-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}


/* QUOTE RESULT */

.quote-result {
    display: none;
    text-align: center;
}

.quote-result.active {
    display: block;
}

.quote-result h2 {
    margin-bottom: 34px;
}

.quote-summary-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 30px;
    text-align: left;
}

.summary-card {
    min-height: 112px;
    padding: 24px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #171717;
}

.summary-label {
    display: block;
    margin-bottom: 16px;
    color: #898989;
    font-size: 13px;
}

.summary-card strong {
    color: #fff;
    font-size: 17px;
}

.price-card {
    padding: 42px 25px;
    margin-top: 34px;
    border-radius: 14px;
    background: #fff;
    color: #000;
}

.price-label {
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.quote-price {
    margin-bottom: 12px;
    font-size: clamp(48px,8vw,66px);
    line-height: 1;
    font-weight: 900;
}

.price-note {
    color: #777;
    font-size: 14px;
}

.quote-booking-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    margin-top: 34px;
}

.quote-reference {
    color: #aaa;
    font-size: 14px;
}

.quote-reference strong {
    color: #fff;
}


/* CONFIRMATION */

.order-confirmation {
    display: none;
    text-align: center;
    padding-top: 10px;
}

.order-confirmation.active {
    display: block;
}

.confirmation-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #000;
    font-size: 38px;
    font-weight: 900;
}

.confirmation-intro {
    margin: 0 auto 36px;
    max-width: 650px;
    color: #aaa;
    font-size: 17px;
    line-height: 1.6;
}

.confirmation-reference-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.confirmation-reference-card {
    padding: 24px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #171717;
}

.confirmation-reference-card span {
    display: block;
    margin-bottom: 12px;
    color: #888;
    font-size: 12px;
    letter-spacing: 1px;
}

.confirmation-reference-card strong {
    color: #fff;
    font-size: 18px;
}

.confirmation-price-card {
    padding: 34px 25px;
    margin-bottom: 24px;
    border-radius: 14px;
    background: #fff;
    color: #000;
}

.confirmation-price-card span {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
}

.confirmation-price-card strong {
    font-size: clamp(42px,7vw,58px);
    line-height: 1;
    font-weight: 900;
}

.confirmation-next {
    margin-top: 26px;
    padding: 30px;
    border: 1px solid #333;
    border-radius: 14px;
    background: #111;
}

.confirmation-next h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
}

.confirmation-next p {
    margin: 0;
    color: #aaa;
    font-size: 15px;
    line-height: 1.7;
}

.confirmation-actions {
    margin-top: 30px;
}

.confirmation-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


/* MOBILE */

@media (max-width:800px) {

    .saas-quote-app {
        padding: 20px 12px;
    }

    .quote-shell {
        padding: 38px 22px;
        border-radius: 18px;
    }

    .quote-progress {
        margin-bottom: 45px;
    }

    .progress-item {
        width: 58px;
        flex-basis: 58px;
    }

    .progress-number {
        width: 38px;
        height: 38px;
    }

    .progress-label {
        font-size: 11px;
    }

    .progress-line {
        margin-top: 19px;
    }

    .quote-grid.two-column,
    .choice-grid,
    .quote-summary-grid,
    .confirmation-reference-grid {
        grid-template-columns: 1fr;
    }

    .step-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .quote-primary-button,
    .quote-secondary-button {
        width: 100%;
    }
}
