/* =========================================
   KD MOBILE DETAILING
   STEP BOOKING FORM
========================================= */

.booking-section {
    width: 100%;
    padding: 100px 20px;
    background: transparent;
}

.booking-wrap {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.booking-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.booking-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: .65;
}

.booking-header h1 {
    margin: 0;

    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

.booking-header p {
    margin: 18px auto 0;

    max-width: 600px;

    color: rgba(255,255,255,.65);

    line-height: 1.7;
}


/* =========================================
   MAIN CARD
========================================= */

.booking-card {
    position: relative;

    width: 100%;
    box-sizing: border-box;

    padding: 42px;

    border-radius: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.08),
            rgba(255,255,255,.025)
        );

    border: 1px solid rgba(255,255,255,.10);

    box-shadow:
        0 25px 80px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.06);

    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}


/* =========================================
   PROGRESS
========================================= */

.booking-progress {
    margin-bottom: 45px;
}

.booking-progress-bar {
    width: 100%;
    height: 4px;

    overflow: hidden;

    border-radius: 20px;

    background: rgba(255,255,255,.08);
}

#bookingProgress {
    width: 10%;
    height: 100%;

    border-radius: 20px;

    background: #fff;

    transition:
        width .45s cubic-bezier(.4,0,.2,1);
}

#bookingStep {
    display: block;

    margin-top: 12px;

    font-size: 13px;

    color: rgba(255,255,255,.45);
}


/* =========================================
   STEPS
========================================= */

.booking-step {
    display: none;
}

.booking-step.active {
    display: block;

    animation:
        bookingStepIn
        .45s ease both;
}

@keyframes bookingStepIn {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================
   STEP CONTENT
========================================= */

.step-number {
    display: block;

    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;

    color: rgba(255,255,255,.45);
}

.booking-step h2 {
    margin: 0;

    font-size: clamp(28px, 4vw, 42px);

    line-height: 1.1;

    letter-spacing: -1px;
}

.booking-step > p {
    margin: 14px 0 32px;

    color: rgba(255,255,255,.55);

    line-height: 1.6;
}


/* =========================================
   FIELDS
========================================= */

.booking-field {
    width: 100%;

    display: flex;
    flex-direction: column;

    margin-bottom: 18px;
}

.booking-field label {
    margin-bottom: 9px;

    font-size: 13px;
    font-weight: 700;

    color: rgba(255,255,255,.78);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 17px 18px;

    border: 1px solid rgba(255,255,255,.10);

    border-radius: 17px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

    color: #fff;

    outline: none;

    font-family: inherit;
    font-size: 15px;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
    color: rgba(255,255,255,.30);
}

.booking-field input:hover,
.booking-field select:hover,
.booking-field textarea:hover {
    border-color: rgba(255,255,255,.20);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
    border-color: rgba(255,255,255,.32);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.11),
            rgba(255,255,255,.04)
        );

    box-shadow:
        0 0 0 3px rgba(255,255,255,.04);
}

.booking-field textarea {
    min-height: 160px;

    resize: vertical;

    line-height: 1.6;
}

.booking-terms {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    color: rgba(255,255,255,.65);
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.booking-terms input[type="checkbox"] {
    position: relative;
    z-index: 2;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    cursor: pointer;
    accent-color: #fff;
}

.booking-terms-box {
    display: none;
}

.booking-terms-text {
    position: relative;
    z-index: 1;
}

.booking-terms-text a {
    color: #fff;
    font-weight: 700;
}


/* =========================================
   SELECT
========================================= */

.booking-field select {
    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    background-image:
        linear-gradient(
            45deg,
            transparent 50%,
            rgba(255,255,255,.55) 50%
        ),
        linear-gradient(
            135deg,
            rgba(255,255,255,.55) 50%,
            transparent 50%
        );

    background-position:
        calc(100% - 20px) 50%,
        calc(100% - 15px) 50%;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;
}

.booking-field select option {
    background: #151515;
    color: #fff;
}


/* =========================================
   OPTIONAL REGISTRATION
========================================= */

.optional-field {
    margin-top: 8px;
}


/* =========================================
   NAVIGATION
========================================= */

.booking-navigation {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-top: 30px;
}

.booking-back,
.booking-next {
    min-height: 52px;

    padding: 14px 22px;

    border-radius: 15px;

    font-family: inherit;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform .2s ease,
        opacity .2s ease,
        background .2s ease,
        border-color .2s ease;
}


/* BACK */

.booking-back {
    background: rgba(255,255,255,.055);

    color: #fff;

    border: 1px solid rgba(255,255,255,.10);
}

.booking-back:hover {
    transform: translateY(-2px);

    background: rgba(255,255,255,.09);

    border-color: rgba(255,255,255,.20);
}


/* NEXT */

.booking-next {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-width: 150px;

    background: #fff;

    color: #000;

    border: none;
}

.booking-next strong {
    font-size: 19px;

    transition:
        transform .2s ease;
}

.booking-next:hover {
    transform: translateY(-3px);

    opacity: .9;

    box-shadow:
        0 12px 30px rgba(0,0,0,.25);
}

.booking-next:disabled {
    cursor: not-allowed;
    background: rgba(255,255,255,.28);
    color: rgba(255,255,255,.55);
    opacity: 1;
    box-shadow: none;
    transform: none;
}

.booking-next:hover strong {
    transform: translateX(4px);
}

.booking-next:active,
.booking-back:active {
    transform: scale(.98);
}


/* =========================================
   FINAL MESSAGE
========================================= */

.booking-final {
    display: none;

    margin-top: 25px;
    padding: 22px;

    text-align: center;

    border-radius: 18px;

    background: rgba(255,255,255,.04);

    border: 1px solid rgba(255,255,255,.07);
}

.booking-final.active {
    display: block;

    animation:
        bookingStepIn
        .45s ease both;
}

.booking-final-icon {
    width: 55px;
    height: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 17px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.10);

    font-size: 24px;
}

.booking-final strong {
    display: block;

    margin-bottom: 7px;

    font-size: 16px;
}

.booking-final p {
    max-width: 550px;

    margin: 0 auto;

    color: rgba(255,255,255,.50);

    font-size: 13px;

    line-height: 1.6;
}

.booking-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.booking-summary > div {
    padding: 16px 18px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    background: rgba(255,255,255,.05);
}

.booking-summary span,
.booking-summary strong {
    display: block;
}

.booking-summary span {
    margin-bottom: 6px;
    color: rgba(255,255,255,.48);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.booking-summary strong {
    color: #fff;
    font-size: 18px;
}

@media (max-width: 560px) {
    .booking-summary {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   STATUS
========================================= */

.form-status {
    margin-top: 15px;

    text-align: center;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {

    .booking-section {
        padding: 70px 15px;
    }

    .booking-card {
        padding: 25px 22px;

        border-radius: 22px;
    }

    .booking-header h1 {
        font-size: 34px;
    }

    .booking-header p {
        font-size: 14px;
    }

    .booking-step h2 {
        font-size: 29px;
    }

    .booking-field input,
    .booking-field select,
    .booking-field textarea {
        padding: 15px;
    }

    .booking-navigation {
        gap: 10px;
    }

    .booking-back,
    .booking-next {
        flex: 1;

        min-width: 0;
    }

}

/* =========================================
   BOOKING SERVICE CARDS
========================================= */

.booking-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 5px;
}

.booking-service-card {
    position: relative;

    width: 100%;
    min-height: 210px;

    padding: 24px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    text-align: left;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.075),
            rgba(255,255,255,.025)
        );

    color: #fff;

    font-family: inherit;

    cursor: pointer;

    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;
}

.booking-service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255,255,255,.28);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.13),
            rgba(255,255,255,.045)
        );

    box-shadow:
        0 15px 35px rgba(0,0,0,.25);
}

.booking-service-card:active {
    transform: scale(.98);
}

.booking-service-card.selected {
    border-color: rgba(255,255,255,.55);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.16),
            rgba(255,255,255,.055)
        );

    box-shadow:
        0 15px 40px rgba(0,0,0,.3),
        inset 0 1px 0 rgba(255,255,255,.08);
}


/* ICON */

.booking-service-card .service-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 16px;

    background: rgba(255,255,255,.08);

    border: 1px solid rgba(255,255,255,.08);

    font-size: 25px;
}


/* TITLE */

.booking-service-card h3 {
    margin: 0 0 7px;

    font-size: 18px;
    font-weight: 700;
}


/* DESCRIPTION */

.booking-service-card p {
    margin: 0;

    color: rgba(255,255,255,.48);

    font-size: 13px;
    line-height: 1.5;
}


/* BOTTOM */

.booking-service-card .service-foot {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: auto;
    padding-top: 20px;
}

.booking-service-card .service-price {
    font-size: 18px;
    font-weight: 800;
}

.booking-service-card .service-select {
    font-size: 13px;
    font-weight: 700;

    color: rgba(255,255,255,.55);

    transition:
        color .2s ease,
        transform .2s ease;
}

.booking-service-card:hover .service-select {
    color: #fff;

    transform: translateX(3px);
}


/* TAG */

.booking-service-card .tag {
    position: absolute;

    top: 15px;
    right: 15px;

    padding: 5px 9px;

    border-radius: 8px;

    font-size: 10px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 650px) {

    .booking-service-grid {
        grid-template-columns: 1fr;
    }

    .booking-service-card {
        min-height: 185px;
    }

}