.contacts {
    position: relative;
    background-color: #150836;
    padding-bottom: 150px;
    .hero {
        border-bottom: 1px solid #fff;
    }
    .hero__heading {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        padding: 124px 0 40px;
    }
    @media (max-width: 1128px) {
        .hero__heading {
            align-items: flex-start;
            flex-direction: column;
        }
    }
    @media (max-width: 768px) {
        .hero__heading {
            padding: 120px 0 40px;
        }
    }
    @media (max-width: 480px) {
        .hero__heading {
            padding: 80px 0 40px;
        }
    }
    .hero__title {
        font-size: 128px;
        line-height: 1.2;
        color: rgb(233, 234, 255);
    }
    @media (max-width: 768px) {
        .hero__title {
            font-size: 72px;
        }
    }
    @media (max-width: 480px) {
        .hero__title {
            font-size: 48px;
        }
    }
    .hero__sub-title {
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.03em;
        color: rgb(183, 184, 255);
        max-width: 670px;
    }
    @media (max-width: 768px) {
        .hero__sub-title {
            font-size: 24px;
            max-width: 100%;
        }
    }
    @media (max-width: 480px) {
        .hero__sub-title {
            font-size: 20px;
        }
    }
    .info-contacts {
        padding: 150px 0;
    }
    @media (max-width: 768px) {
        .info-contacts {
            padding: 120px 0;
        }
    }
    @media (max-width: 480px) {
        .info-contacts {
            padding: 80px 0;
        }
    }
    .info-contacts__inner + .info-contacts__inner {
        padding-top: 150px;
    }
    @media (max-width: 768px) {
        .info-contacts__inner + .info-contacts__inner {
            padding-top: 120px;
        }
    }
    @media (max-width: 480px) {
        .info-contacts__inner + .info-contacts__inner {
            padding-top: 80px;
        }
    }
    .info-contacts__inner:nth-child(3) .info-contacts__column-left {
        margin-bottom: 40px;
    }
    .info-contacts__container-small {
        max-width: 785px;
        margin: auto;
    }
    .info-contacts__wrapper {
        display: flex;
        gap: 56px;
        margin-top: 40px;
    }
    @media (max-width: 820px) {
        .info-contacts__wrapper {
            flex-direction: column;
            gap: 20px;
        }
    }
    .info-contacts__title {
        font-family: 'Manrope', sans-serif;
        font-size: 32px;
        line-height: 1.2;
        letter-spacing: -0.03em;
        color: rgb(183, 184, 255);
        font-weight: 400;
    }
    @media (max-width: 768px) {
        .info-contacts__title {
            font-size: 24px;
        }
    }
    .info-contacts__day,
    .info-contacts__time {
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: -0.01em;
        color: #fff;
        font-weight: 500;
        background-color: #261A45;
        border: 2px solid #463B60;
        border-radius: 20px;
        padding: 12px 20px;
        display: inline-block;
    }
    @media (max-width: 480px) {
        .info-contacts__day,
        .info-contacts__time {
            font-size: 16px;
            padding: 10px 16px;
        }
    }
    .info-contacts__text {
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: -0.01em;
        color: #fff;
        font-weight: 500;
    }
    @media (max-width: 480px) {
        .info-contacts__text {
            font-size: 16px;
        }
    }
    .info-contacts__item {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .contact-list__item-wrapper {
        display: inline-flex;
        gap: 10px;
    }
    .contact-list__item--contact {
        width: fit-content;
        background-color: #261A45;
        border: 2px solid #463B60;
        border-radius: 20px;
        padding: 12px 20px;
    }
    .info-contacts__item + .info-contacts__item {
        margin-top: 20px;
    }
    .contact-list__icon-wrapper {
        flex: 0 0 24px;
    }
    .contact-list__icon {
        width: 24px;
        height: 24px;
    }
    .contact-list__link {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .info-contacts__contact-list {
        margin-top: 40px;
    }

    .contact-form__title {
        font-size: 64px;
        line-height: 1;
        color: rgb(233, 234, 255);
        font-weight: 400;
        text-align: center;
    }
    @media (max-width: 768px) {
        .contact-form__title {
            font-size: 48px;
        }
    }
    @media (max-width: 480px) {
        .contact-form__title {
            font-size: 32px;
        }
    }
    .contact-form__form {
        max-width: 791px;
        margin: 48px auto 0 auto;
        background-color: #261A45;
        border: 2px solid #463B60;
        border-radius: 20px;
        padding: 40px;
    }
    @media (max-width: 768px) {
        .contact-form__form {
            padding: 30px;
        }
    }
    @media (max-width: 480px) {
        .contact-form__form {
            padding: 20px;
        }
    }
    input[type='text'],
    input[type='email'],
    input[type='tel'],
    textarea {
        width: 100%;
        background-color: #150836;
        border: 1px solid #463B60;
        border-radius: 8px;
        padding: 20px;
        font-size: 16px;
        line-height: 1;
        color: rgba(255, 255, 255, 0.6);
        box-shadow: rgb(0, 153, 255) 0px 0px 0px 0px inset, rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset;
        outline: none;
        transition: all 0.3s ease;
    }
    input[type='text']:focus,
    input[type='email']:focus,
    input[type='tel']:focus,
    textarea:focus {
        box-shadow:
                rgb(0, 153, 255) 0px 0px 0px 2px inset,
                rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset;
    }
    input[type='text']::placeholder,
    input[type='email']::placeholder,
    input[type='tel']::placeholder {
        color: rgba(255, 255, 255, 0.6);
    }
    label {
        display: inline-block;
        font-size: 16px;
        line-height: 1;
        font-weight: 400;
        color: rgb(255, 255, 255);
        margin-bottom: 10px;
    }
    input[type="submit"] {
        margin-top: 20px;
        padding: 22px 32px;
        border-radius: 59px;
        font-weight: 600;
        font-size: 16px;
        line-height: 1;
        background: rgb(21, 8, 54);
        color: rgb(255, 255, 255);
        box-shadow: rgba(255, 255, 255, 0.32) 0px 0px 0px 2px inset;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    input[type="submit"]:hover {
        background: rgb(255, 255, 255);
        color: rgb(21, 8, 54);
        box-shadow: rgba(21, 8, 54, 0.32) 0px 0px 0px 2px inset;
    }
    .form__inputs {
        display: flex;
        gap: 10px;
    }
    @media (max-width: 768px) {
        .form__inputs {
            flex-direction: column;
            gap: 0;
        }
    }
    .form__wrapper:not(:last-child) {
        margin-bottom: 20px;
    }
    .wpcf7-not-valid-tip {
        margin-top: 5px;
        font-size: 14px;
        line-height: 1;
        color: rgb(255, 0, 0);
    }
    .wpcf7 form.invalid .wpcf7-response-output {
        border: 2px solid rgb(255, 0, 0);
        background-color: rgba(255, 0, 0, 0.1);
        color: rgb(255, 0, 0);
        padding: 10px;
        border-radius: 8px;
        margin-top: 20px;
        text-align: center;
    }
    .wpcf7 form.sent .wpcf7-response-output {
        border: 2px solid rgb(0, 255, 0);
        background-color: rgba(0, 255, 0, 0.1);
        color: rgb(0, 255, 0);
        padding: 10px;
        border-radius: 8px;
        margin-top: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .contacts {
        padding-bottom: 80px;
    }
}

.contacts:after {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    width: 100%;
    height: 44px;
    background-color: #150836;
    border-bottom-left-radius: 36px;
    border-bottom-right-radius: 36px;
}
