.enquire-form {

}

.enquire-form h1 {
    font-family: 'Panama', sans-serif;
    font-weight: 400;
    font-size: 50px;
    line-height: 90%;
    text-align: center;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: #0D0D0D;
}

.enquire-form .subtitle {
    max-width: 500px;
    margin: 0 auto;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    color: #0D0D0D;
}

.enquire-form form {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.enquire-form__steps {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.enquire-form__steps-counter {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin: 0 auto 40px;
    position: relative;
}

.enquire-form__steps-counter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-bottom: .5px dashed #0D0D0D;
    opacity: .2;
    z-index: 0;
}

.enquire-form__steps-counter .step {
    font-family: 'Panama', sans-serif;
    font-weight: 400;
    font-size: 32px;
    line-height: 140%;
    text-align: right;
    text-transform: uppercase;
    color: #0d0d0d33;
    position: relative;
    z-index: 1;
    background-color: #F2EEE6;
    padding: 0 10px;
}

.enquire-form__steps-counter .step.active {
    color: #0D0D0D;
}

.enquire-form__step {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    width: 100%;
}

.enquire-form__step.active {
    display: flex;
}

.enquire-form__field {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.enquire-form__field label,
.enquire-form__field .label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-transform: uppercase;
    color: #0D0D0D;
    margin-bottom: 8px;
}

.enquire-form__field input:not([type="checkbox"]),
.enquire-form__field textarea,
.enquire-form__field select {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: #0D0D0D;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #0D0D0D;
    padding: 8px 0;
    width: 100%;
    border-radius: 0;
}

.enquire-form__field textarea {
    resize: none;
}

.enquire-form__field input:focus,
.enquire-form__field textarea:focus {
    outline: none;
    border-bottom: 1px solid #0D0D0D;
}

.enquire-form__field a {
    text-decoration: underline;
}

.enquire-form__field a:hover {
    text-decoration: none;
}

.enquire-form__field .not-valid-tip {
    color: #AC0003;
    padding-top: 8px;
    display: none;
}

.enquire-form__field select {

}

.enquire-form__field .checkbox-group.centered {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.enquire-form__field .checkbox-group__column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.enquire-form__field .checkbox-group label {
    display: inline-flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
    cursor: pointer;
    margin: 0;
}

.enquire-form__field .checkbox-group .label {
    margin-bottom: 20px;
}

.enquire-form__field .checkbox-group label span {
    text-transform: none;
}

.enquire-form__field .checkbox-group label::before {
    content: '';
    width: 15px;
    height: 15px;
    border: 1px solid #0D0D0D;
    margin-right: 10px;
    display: block;
    margin-top: 2px;
}

.enquire-form__field .checkbox-group input {
    display: none;
    font-size: 15px;
}

.enquire-form__field .checkbox-group input:checked + label::before {
    background-color: #0D0D0D;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath fill='none' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 4l2.5 2.5L9 1'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 10px 8px;
}

.enquire-form__step-actions {
    display: flex;
    flex-direction: row;
    gap: 24px;
}

.enquire-form__step-actions button.submit {
    order: 2;
}

.enquire-form__step-actions button.submit.loading {
    pointer-events: none;
    position: relative;
}

.enquire-form__step-actions button.submit.loading .label {
    opacity: 0;
}

.enquire-form__step-actions button.submit.loading .loader {
    display: inline-block;
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: wave-loader 1.6s ease-in-out infinite;
    animation-delay: 0.53s;
    position: absolute;
    left: 50%;
    margin-left: -3px;
    top: 50%;
    margin-top: -3px;
}

.enquire-form__step-actions button.submit.loading .loader::before,
.enquire-form__step-actions button.submit.loading .loader::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: currentColor;
    animation: wave-loader 1.6s ease-in-out infinite;
}

.enquire-form__step-actions button.submit.loading .loader::before {
    left: -11px;
    animation-delay: 0s;
}

.enquire-form__step-actions button.submit.loading .loader::after {
    right: -11px;
    animation-delay: 1.07s;
}

@keyframes wave-loader {
    0% {
        opacity: 0.2;
    }
    20% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
    80% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.2;
    }
}

.enquire-form__step-actions button.submit.loading + button[type="button"] {
    pointer-events: none;
}

.enquire-form__row {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
}

.enquire-form__row.nowrap {
    flex-wrap: nowrap;
}

@media screen and (min-width: 768px) {
    .enquire-form h1 {
        font-size: 60px;
    }

    .enquire-form__steps {
        margin-top: 60px;
    }

    .enquire-form__step {

    }

    .enquire-form__row {
        flex-wrap: nowrap;
    }
}