.contact-form {
    padding-bottom: 40px;
    position: relative;
}

.contact-form__decor {
    position: absolute;
    width: 68%;
    height: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.contact-form__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.contact-form__heading {
    margin-bottom: 20px;
}

.contact-form__text-content {
    flex-basis: 364px;
    flex-grow: 1;
}

.contact-form__text-content-top {
    margin-bottom: 50px;
}

.contact-form__text {
    letter-spacing: 0.005rem;
    max-width: 400px;
}

.contact-form__form {
    padding-top: 30px;
    flex-basis: 670px;
    flex-grow: 1;
}

.contact-form__contact-wrapper {
    margin-bottom: 30px;
}

.contact-form__logos {
    margin-bottom: 30px;
    display: flex;
    column-gap: 15px;
    row-gap: 20px;
    flex-wrap: wrap;
}

.contact-form__logo {
    width: 138px;
    height: 34px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact-form__name {
    margin-bottom: 10px;
}

.contact-form__email,
.contact-form__phone {
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.3s ease;
}
.contact-form__email {
    margin-bottom: 6px;
}

.contact-form__email,
.contact-form__phone {
    color: #21201e;
}

.contact-form__email-icon,
.contact-form__phone-icon {
    width: 22px;
    height: 22px;
}

.contact-form__form-heading {
    margin-bottom: 30px;
}

.contact-form__delivered-wrapper {
    margin-top: 105px;
}

.contact-form__delivered {
    margin-bottom: 10px;
}

.contact-form__delivered-logo {
    width: 147px;
    height: 34px;
    object-fit: contain;
}

.contact-form__bottom-text {
    display: block;
    margin-top: 89px;
    font-size: 20px;
    color: #5f5f60;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.007rem;
    width: fit-content;
}

.contact-form__bottom-text svg {
    flex-shrink: 0;
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
}

.contact-form__bottom-text:hover {
    text-decoration: underline;
}

.contact-form__bottom-text:hover,
.contact-form__bottom-text:visited,
.contact-form__bottom-text:focus,
.contact-form__bottom-text:active{
    color: #5f5f60;
}

.contact-form-text-content-top-mobile {
    display: none;
}

@media screen and (max-width: 1599.98px) {
    .contact-form__bottom-text {
        font-size: 16px;
    }

    .contact-form__wrapper {
        gap: 50px;
    }

    .contact-form__text-content,
    .contact-form__form {
        flex-grow: 0;
    }
}

@media screen and (max-width: 1024.98px) {
.contact-form__wrapper {
    flex-direction: column-reverse;
    gap: 50px;
}

    .contact-form__form {
        padding-top: 0;
    }

    .contact-form__text-content-top.contact-form-text-content-top-mobile {
        display: block;
    }

    .contact-form__text-content-top {
        display: none;
    }

    .contact-form__text-content,
    .contact-form__form {
        flex-basis: 100%;
    }

    .contact-form__heading {
        margin-bottom: 10px;
    }

    .contact-form__text-content-top {
        margin-bottom: 40px;
    }

    .contact-form__form-heading {
        margin-bottom: 20px;
    }


    .contact-form__logos {
        margin-bottom: 20px;
        max-width: 50%;
    }

    .contact-form__logo {
        width: 114px;
        height: 30px;
    }

    .contact-form__contact-wrapper {
        margin-bottom: 20px;
    }

    .contact-form__delivered-wrapper {
        margin-top: 30px;
    }

    .contact-form__delivered-logo {
        width: 125px;
        height: 30px;
    }

    .contact-form__bottom-text {
        margin-top: 30px;
    }

    .contact-form__bottom-text svg {
        width: 30px;
        height: 30px;
        gap: 10px;
        right: -40px;
    }

    .contact-form {
        padding-bottom: 52px;
    }

    .contact-form__decor {
        display: none;
    }
}

@media screen and (max-width: 599.98px) {
    .contact-form__text-content-top {
        margin-bottom: 30px;
    }


    .contact-form__logos {
        max-width: 40%;
        row-gap: 12px;
        flex-direction: column;
		 align-items: flex-start; /* prevents full-width stacking */
    }



    .contact-form__logo {
        width: 104px;
        height: 26px;
    }

    .contact-form__email-icon, .contact-form__phone-icon {
        width: 20px;
        height: 20px;
    }

    .contact-form__delivered-logo {
        width: 115px;
        height: 27px;
    }

.contact-form__bottom-text {
    max-width: 200px;
    font-size: 12px;
    margin-top: 23px;
}
}

