h1, h3 {
    font-size: 3.75rem;
    color: #145397;
    margin-bottom: 0
}

h1 + p, h1 + time, h3 + p, h3 + time {
    font-size: 2.125rem;
    color: #3e4e57;
    margin-bottom: 60px
}

time {
    display: inline-block
}

h2 {
    font-size: 1.5rem;
    font-weight: 500
}

h3 {
    padding-top: 0
}

.contacts {
    display: flex;
    justify-content: space-between;
    color: #6a7884;
    padding-bottom: 100px
}

.contacts h2 {
    margin-bottom: 10px
}

.contact-item p {
    margin: 20px 0 8px 0;
    font-size: 1rem;
    line-height: 160%
}

.contact-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 1.25rem;
    line-height: 160%;
    color: #34bfbd
}

.contact-item a:hover {
    text-decoration: underline
}

.whatsapp-message-header {
    margin-top: 20px
}

.map {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 40px;
    border: 1px solid #cfd3d7;
    width: min(95%, 500px)
}

.map img {
    border-radius: 20px;
    width: 100%
}

.map:hover a {
    text-decoration: underline
}

.address {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    font-style: normal
}

.address svg {
    width: 40px;
    height: 40px;
    color: #34bfbd
}

.address svg use {
    width: 100%;
    height: 100%
}

.address span {
    font-size: 1.25rem;
    line-height: 160%;
    color: #3e4e57
}

.contact-us-section {
    margin-bottom: 60px
}

.form-list {
    padding: 6px;
    border: 1px solid #cfd3d7;
    background-color: #f6f5f5;
    border-radius: 30px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 30px
}

.form-item {
    width: 100%;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: #34bfbd;
    cursor: pointer;
    transition: all .5s ease;
    border: 1px solid rgba(0, 0, 0, 0);
    border-radius: 30px;
    padding: 8px 16px;
    text-wrap: nowrap
}

.form-item.active, .form-item:hover {
    border: 1px solid #cfd3d7;
    color: #4b707e;
    background-color: rgba(52, 191, 189, .1)
}

.form-wrapper {
    display: block
}

.form-wrapper.hidden {
    display: none
}

.field-wrapper {
    margin-bottom: 30px
}

.field-wrapper label, .field-wrapper p {
    display: block;
    color: #312e38;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 160%;
    text-indent: 1em;
    position: relative;
    margin-bottom: 8px;
    transition: all .5s ease
}

.field-wrapper:last-child {
    margin-bottom: 0
}

.field-wrapper input::placeholder, .field-wrapper textarea::placeholder {
    color: #a8cee3
}

.field-wrapper.attention label, .checkbox-wrapper.attention label {
    color: red;
    transform: translateX(10%)
}

.required label::before {
    position: absolute;
    content: "*";
    color: #34bfbd;
    left: -0.6em;
    top: 0
}

.contact-form-field-wrapper {
    display: flex;
    gap: 30px;
    margin-bottom: 60px
}

.contact-form-field-column {
    width: 45%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.contact-form-field-column input[type=text], .contact-form-field-column input[type=email], .contact-form-field-column input[type=tel], .contact-form-field-column textarea, .contact-form-field-column select {
    width: 100%;
    border-radius: 40px;
    padding: 16px 24px;
    font-size: 1.25rem;
    line-height: 160%;
    border: 1px solid #cfd3d7
}

.contact-form-field-column textarea {
    flex-shrink: 1;
    resize: none
}

.contact-form-field-column select {
    appearance: none;
    color: #34bfbd;
    margin-bottom: 0
}

.select-wrapper {
    position: relative;
    flex-grow: 1
}

.select-wrapper::after {
    position: absolute;
    content: "";
    width: 20px;
    height: 20px;
    border-right: 2px solid #34bfbd;
    border-bottom: 2px solid #34bfbd;
    transform: rotate(45deg);
    right: 24px;
    top: 18px;
    pointer-events: none
}

.checkbox-package {
    display: flex;
    gap: 8px
}

.checkbox-package label {
    margin-bottom: 0;
    text-indent: 0
}

.checkbox-package .checkbox-wrapper:last-of-type {
    margin-bottom: 0
}

.radio-package {
    display: flex;
    gap: 30px;
    padding: 16px 0
}

.checkbox-wrapper, .radio-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 8px
}

.checkbox-wrapper input, .radio-wrapper input {
    appearance: none
}

.checkbox-wrapper::before, .radio-wrapper::before {
    position: absolute;
    content: "";
    border: 2px solid #34bfbd;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    left: 10px;
    cursor: pointer
}

.checkbox-wrapper::after, .radio-wrapper::after {
    position: absolute;
    content: "";
    border-radius: 2px;
    width: 10px;
    height: 10px;
    left: 15px;
    background-color: #34bfbd;
    display: none;
    cursor: pointer
}

.checkbox-wrapper label, .radio-wrapper label {
    position: relative;
    padding-left: 44px;
    font-size: 1.25rem;
    line-height: 160%;
    font-weight: 500;
    z-index: 1;
    color: #6a7884;
    transition: all .5s ease
}

.checkbox-wrapper label a, .radio-wrapper label a {
    color: #34bfbd
}

.checkbox-wrapper label a:hover, .radio-wrapper label a:hover {
    text-decoration: underline
}

.checkbox-wrapper label::before, .radio-wrapper label::before {
    left: unset;
    right: -1em
}

.checkbox-wrapper:last-of-type, .radio-wrapper:last-of-type {
    margin-bottom: 30px
}

.checkbox-wrapper.checked::after, .radio-wrapper.checked::after {
    display: block
}

.radio-wrapper {
    margin-bottom: 0
}

.radio-wrapper::before {
    border-radius: 9999px
}

.radio-wrapper::after {
    border-radius: 9999px;
    display: none
}

.radio-wrapper:last-of-type {
    margin-bottom: 0
}

.radio-wrapper.checked::after {
    display: block
}

.radio-wrapper label {
    margin-bottom: 0;
    text-indent: 0
}

.send-request {
    font-weight: normal;
    color: #fafafa;
    background-color: #145397;
    border: 1px solid #fafafa;
    display: block;
    margin: 0 0 0 auto;
}

.send-request:hover:not(:disabled) {
    background-color: #2987c4;
}

.send-request:disabled {
    background-color: #f6f5f5;
    color: #6a7884;
    border-color: #145397;
    cursor: not-allowed;
}

.request-modal {
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    z-index: 110;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #f6f5f5;
    transition: all .5s ease;
    opacity: 0
}

.request-modal.active {
    display: flex;
    opacity: 1
}

.request-modal svg {
    color: #145397;
    width: 100px;
    height: 100px;
    padding: 10px
}

.request-modal h2 {
    color: #145397;
    font-size: 3.75rem;
    font-weight: normal;
    text-align: center
}

.request-modal p {
    color: #3e4e57;
    font-size: 2.125rem;
    text-align: center
}

.request-modal button {
    position: absolute;
    top: 40px;
    right: 40px;
    border: 1px solid #cfd3d7;
    border-radius: 9999px;
    background-color: #fafafa;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: all .5s ease
}

.request-modal button::before, .request-modal button::after {
    position: absolute;
    content: "";
    border-radius: 9999px;
    width: 30px;
    height: 2px;
    background-color: #34bfbd;
    transform: translate(-15px, -1px) rotate(45deg);
    transition: all .5s ease
}

.request-modal button::after {
    width: 2px;
    height: 30px;
    transform: translate(-1px, -15px) rotate(45deg)
}

.request-modal button:hover {
    border-color: #a8cee3;
    background-color: #edf5f9
}

.request-modal button:hover::before, .request-modal button:hover::after {
    background-color: #7acdcf
}

.request-modal button:hover::before {
    transform: translate(-15px, -1px) rotate(135deg)
}

.request-modal button:hover::after {
    transform: translate(-1px, -15px) rotate(135deg)
}

.g-recaptcha {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px
}

@media (max-width: 1279px) {
    h1 {
        padding-top: 30px
    }

    h1 + time {
        margin-bottom: 30px
    }

    .contacts {
        flex-wrap: wrap;
        justify-content: center;
        gap: 50px;
        padding-bottom: 50px
    }

    .contacts a {
        text-decoration: underline
    }

    .form-list {
        overflow-x: auto
    }

    .form-item {
        text-wrap: nowrap
    }

    .contact-us-section {
        margin-bottom: 30px
    }

    .request-modal h2 {
        font-size: 3rem
    }

    .request-modal p {
        font-size: 1.75rem
    }
}

@media (max-width: 1023px) {
    .contact-form-field-wrapper {
        flex-direction: column;
        margin-bottom: 30px
    }

    .contact-form-field-column {
        width: min(480px, 100%)
    }
}

@media (max-width: 799px) {
    .request-modal h2 {
        font-size: 2.5rem
    }

    .request-modal p {
        font-size: 1.5rem
    }

    .request-modal button {
        top: 20px;
        right: 20px
    }
}

@media (max-width: 479px) {
    h1, h3 {
        font-size: 2.75rem
    }

    h1 + p, h1 + time, h3 + p, h3 + time {
        font-size: 1.75rem
    }

    .contacts {
        justify-content: start;
        padding: 0 20px 50px 20px
    }
}

@media (max-width: 400px) {
    h1, h3 {
        font-size: 2.5rem
    }

    h1 + p, h1 + time, h3 + p, h3 + time {
        font-size: 1.5rem
    }
}
