.contacts {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.contact-text {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 70px;
    padding: 20px;
}
.contact-text h2{
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 44px;
    line-height: 166%;
    text-align: center;
    color: var(--black);
}
.contact-text p a,
.contact-text ul li,
.contact-text p{
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 17px;
    line-height: 200%;
    color: var(--black);
}
.contact-text ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 0 ;
}

.contact-text ul li::before {
    content: '•';
    color: var(--red);
    font-weight: bold;
    display: inline-block;
    width: 10px;
    padding-right: 15px;
    
}
.contacts__container {
    padding: 30px 0 70px 0;
    max-width: 1290px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-block__list {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    row-gap: 50px;
}

.contact-block__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 20px;
}

.contact-block__icon {
    border-radius: 20px;
    width: 80px;
    height: 80px;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 350ms ease-in-out;
}

.contact-block__icon:hover {
    background: #f0cdcd;
}

.contact-block__icon--phone {}

.contact-block__icon--telegram {}

.contact-block__icon--whatsapp {}

.contact-block__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 34px;
    line-height: 156%;
    text-align: center;
    color: var(--black);
    text-decoration: none;
}

.contact-block__image-wrapper {
    max-width: 542px;
}

.contact-block__image {
    width: 100%;
    height: 100%;
}


@media (max-width: 1280px) {
    .contacts__container {
        padding: 30px 20px 70px 20px;
    }
    .contact-block__image-wrapper {
        max-width: 445px;
    }
}


@media (max-width: 1000px) {
    .contacts__container {
       flex-direction: column; 
       row-gap: 20px;
        column-gap: 50px;
    }

    .contact-block__list {
        max-width: 660px;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        row-gap: 20px;
    }

    .contact-block__item {
        max-width: max-content;
    }


    .contact-block__text {
        font-size: 28px;
        line-height: 100%;
    }
    .contact--whatsapp {
        order: 2;
    }
    .contact--telegram {
        order: 3;
    }
    .contact--phone {
        order: 1;
    }
}

@media (max-width: 500px) {
    .contacts__container {
        padding: 15px 15px 40px 15px;
    }
    .contact-block__list {
        column-gap: 10px;
    }
    .contact-block__icon {
        border-radius: 14px;
        width: 60px;
        height: 60px;
    }
    .contact-block__item  {
        column-gap: 15px;
    }
    .contact-block__text {
        font-size: 18px;
    }
}