body.lead-modal-open {
    overflow: hidden;
}

.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow-y: auto;
    background: rgba(10, 10, 10, 0.82);
    backdrop-filter: blur(6px);
}

.lead-modal__panel {
    position: relative;
    width: min(100%, 620px);
    padding: 42px;
    border-top: 5px solid var(--vivid);
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    clip-path: polygon(24px 0, 100% 0, 100% calc(100% - 24px), calc(100% - 24px) 100%, 0 100%, 0 24px);
}

.lead-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    color: #202020;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.lead-modal__header {
    margin-bottom: 28px;
}

.lead-modal__header h2,
.lead-modal__success h2 {
    margin: 6px 0 12px;
    line-height: 1.25;
}

.lead-modal__eyebrow,
.lead-cta__eyebrow {
    color: var(--vivid);
    font-family: "Commissioner-SemiBold";
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lead-form {
    display: grid;
    gap: 18px;
}

.lead-form__field {
    display: grid;
    gap: 8px;
    font-family: "Commissioner-Regular";
    font-size: 13px;
}

.lead-form__field input {
    box-sizing: border-box;
    width: 100%;
    min-height: 30px;
    padding: 12px 15px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    color: #202020;
    font-family: "Commissioner-Regular";
    font-size: 16px;
    user-select: text;
}

.lead-form__field input:focus {
    border-color: var(--vivid);
    outline: 3px solid rgba(220, 43, 27, 0.14);
}

.lead-form__schedule {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.lead-form__consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    cursor: pointer;
    font-family: "Commissioner-Regular";
    font-size: 12px;
    line-height: 1.45;
}

.lead-form__consent input {
    width: 18px;
    height: 18px;
    accent-color: var(--vivid);
}

.lead-form__error {
    color: #c52016;
    font-family: "Commissioner-Regular";
    font-size: 12px;
}

.lead-form__error--block {
    margin-top: -10px;
}

.lead-form__alert {
    padding: 12px 14px;
    border-left: 3px solid var(--vivid);
    background: #fff0ef;
    color: #8d1710;
    font-family: "Commissioner-Regular";
    font-size: 13px;
}

.lead-form__submit {
    min-height: 52px;
    padding: 12px 28px;
    border-radius: 30px;
    cursor: pointer;
}

.lead-form__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.lead-form__honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-modal__success {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 28px 0 10px;
    text-align: center;
}

.lead-modal__success-icon {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--vivid);
    color: #fff;
    font-size: 38px;
}

.lead-cta {
    padding: 72px 0;
    background:
        linear-gradient(100deg, rgba(18, 18, 18, 0.97), rgba(44, 44, 44, 0.88)),
        url('/storage/images/leather.png') center/cover;
    color: #fff;
}

.lead-cta__content {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.lead-cta__copy {
    max-width: 720px;
}

.lead-cta__title {
    margin: 8px 0 14px;
    line-height: 1.25;
}

.lead-cta__text {
    max-width: 640px;
    color: #d6d6d6;
    line-height: 1.5;
}

.lead-cta__button {
    flex: 0 0 auto;
    cursor: pointer;
    white-space: nowrap;
}

.service-booking {
    max-width: 1040px;
    margin-top: 34px;
    color: #fff;
}

.service-booking__title {
    margin-bottom: 16px;
    color: #fff;
    font-family: "Commissioner-SemiBold";
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: uppercase;
}

.service-booking__form {
    gap: 12px;
}

.service-booking__row {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(145px, 0.75fr) minmax(120px, 0.6fr) minmax(165px, 0.75fr);
    gap: 12px;
    align-items: start;
}

.service-booking__field {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #fff;
    font-family: "Commissioner-Regular";
    font-size: 12px;
}

.service-booking__field input {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    min-height: 30px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    outline: none;
    background: rgba(20, 20, 20, 0.62);
    color: #fff;
    font-family: "Commissioner-Regular";
    font-size: 15px;
    user-select: text;
}

.service-booking__field input::placeholder {
    color: rgba(255, 255, 255, 0.72);
}

.service-booking__field input:focus {
    border-color: var(--vivid);
    box-shadow: 0 0 0 3px rgba(220, 43, 27, 0.28);
}

.service-booking__field input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.service-booking__submit {
    box-sizing: border-box;
    min-height: 46px;
    margin-top: 21px;
    padding: 10px 28px;
    border-radius: 24px;
    cursor: pointer;
    white-space: nowrap;
}

.service-booking__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.service-booking__consent {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: "Commissioner-Regular";
    font-size: 12px;
    line-height: 1.4;
}

.service-booking__consent input {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--vivid);
}

.service-booking .lead-form__error {
    color: #ffaea7;
}

.service-booking__alert {
    padding: 10px 12px;
    border-left: 3px solid var(--vivid);
    background: rgba(75, 8, 5, 0.84);
    color: #fff;
    font-family: "Commissioner-Regular";
    font-size: 13px;
}

.service-booking__success {
    display: flex;
    gap: 16px;
    align-items: center;
    max-width: 720px;
    padding: 20px 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 16px;
    background: rgba(20, 20, 20, 0.68);
}

.service-booking__success h2 {
    margin-bottom: 6px;
    color: #fff;
    font-size: 20px;
}

.service-booking__success p {
    font-family: "Commissioner-Regular";
    line-height: 1.4;
}

.service-booking__success-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--vivid);
    font-size: 24px;
}

@media (max-width: 768px) {
    .lead-modal {
        align-items: start;
        padding: 15px;
    }

    .lead-modal__panel {
        margin: 15px 0;
        padding: 36px 22px 28px;
    }

    .lead-modal__header h2,
    .lead-modal__success h2,
    .lead-cta__title {
        font-size: 24px;
    }

    .lead-cta {
        padding: 52px 0;
    }

    .lead-cta__content {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-booking__row {
        grid-template-columns: 1fr 1fr;
    }

    .service-booking__field--phone,
    .service-booking__submit {
        grid-column: 1 / -1;
    }

    .service-booking__submit {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .lead-form__schedule {
        grid-template-columns: 1fr;
    }

    .lead-cta__button {
        width: 100%;
    }

    .service-booking__row {
        grid-template-columns: 1fr;
    }

    .service-booking__field--phone,
    .service-booking__submit {
        grid-column: auto;
    }

    .service-booking__submit {
        width: 100%;
    }
}
