.contact-template {
    padding: 120px 0 80px;
    background: #f6f8f7;
}

.contact-template__hero {
    max-width: 980px;
    margin-bottom: 60px;
}

.contact-template__eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    color: #086176;
}

.contact-template__title {
    margin-bottom: 22px;
    color: #111;
}

.contact-template__hero p {
    max-width: 720px;
    margin: 0;
    color: #4c5352;
    font-size: 20px;
    line-height: 1.6;
}

.contact-template__form {
    padding: 46px;
    border: 1px solid #d9e2df;
    background: #fff;
}

.contact-template__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.contact-template__field,
.contact-template__group {
    margin-bottom: 34px;
}

.contact-template label {
    display: block;
    margin-bottom: 12px;
    color: #111;
    font-size: 17px;
    font-weight: 700;
}

.contact-template__field input,
.contact-template__field textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #bac8c4;
    border-radius: 0;
    background: transparent;
    color: #111;
    font-size: 18px;
    outline: none;
    padding: 13px 0;
}

.contact-template__field textarea {
    resize: vertical;
}

.contact-template__field input:focus,
.contact-template__field textarea:focus {
    border-color: #086176;
}

.contact-template__options {
    display: grid;
    gap: 14px;
}

.contact-template__options--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.contact-template__options--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-template__choice {
    position: relative;
    margin: 0;
}

.contact-template__choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-template__choice span {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9e2df;
    background: #fff;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.contact-template__choice input:checked + span {
    border-color: #086176;
    background: #086176;
    color: #fff;
}

.contact-template__budget {
    border: 1px solid #d9e2df;
    background: #f9fbfa;
    padding: 34px;
}

.budget-slider.noUi-target {
    height: 8px;
    border: 0;
    border-radius: 999px;
    background: #d9e2df;
    box-shadow: none;
}

.budget-slider .noUi-connect {
    background: #086176;
}

.budget-slider .noUi-handle {
    top: -9px;
    right: -12px;
    width: 26px;
    height: 26px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #086176;
    box-shadow: 0 8px 24px rgba(8, 97, 118, .25);
    cursor: grab;
}

.budget-slider .noUi-handle::before,
.budget-slider .noUi-handle::after {
    display: none;
}

.contact-template__budget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 26px;
    color: #4c5352;
}

.contact-template__budget-row strong {
    color: #086176;
    font-size: 34px;
}

.contact-template__submit button {
    min-width: 210px;
    border: 0;
    background: #086176;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    padding: 18px 26px;
}

.contact-template__locations {
    padding: 80px 0;
    background: #fff;
}

.contact-template__support {
    max-width: 820px;
    margin: 0 auto 46px;
    color: #111;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.contact-template__location {
    height: 100%;
    border: 1px solid #d9e2df;
    padding: 28px;
    background: #fff;
}

.contact-template__location img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 24px;
}

.contact-template__location h4 {
    margin-bottom: 12px;
    color: #111;
    font-size: 24px;
}

.contact-template__location a,
.contact-template__location p {
    display: block;
    margin-bottom: 8px;
    color: #4c5352;
}

.contact-template__map-link {
    margin-top: 16px;
    color: #086176 !important;
    font-weight: 800;
}

.contact-template__map {
    padding: 0 0 100px;
    background: #fff;
}

.contact-template__map iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
}

@media (max-width: 991px) {
    .contact-template {
        padding: 120px 0 70px;
    }

    .contact-template__form {
        padding: 30px;
    }

    .contact-template__options--four,
    .contact-template__options--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .contact-template {
        padding: 105px 0 56px;
    }

    .contact-template__hero {
        margin-bottom: 38px;
    }

    .contact-template__grid,
    .contact-template__options--four,
    .contact-template__options--three {
        grid-template-columns: 1fr;
    }

    .contact-template__form {
        padding: 22px 18px;
    }

    .contact-template__hero p {
        font-size: 17px;
    }

    .contact-template__choice span {
        min-height: 58px;
        padding: 12px;
    }

    .contact-template__budget {
        padding: 26px 18px;
    }

    .contact-template__submit button {
        width: 100%;
    }

    .contact-template__locations {
        padding: 56px 0;
    }

    .contact-template__support {
        font-size: 22px;
    }
}
