/* ========================================
   CONTACTS PAGE
======================================== */

.contacts-page {
    padding: 70px 0 90px;
}


/* ========================================
   HEADER
======================================== */

.contacts-page__header {
    margin-bottom: 55px;
}

.contacts-page__header h1 {
    margin: 0 0 18px;
    font-size: 48px;
    line-height: 1.15;
    color: #202637;
}

.contacts-page__header p {
    margin: 0;
    font-size: 20px;
    line-height: 1.6;
    color: #687994;
}


/* ========================================
   CONTACT CARDS
======================================== */

.contacts-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 70px;
}

.contacts-card {
    padding: 32px 28px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(32, 38, 55, 0.08);
}

.contacts-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;
    margin-bottom: 24px;

    background: #e77b2c;
    border-radius: 14px;

    color: #ffffff;
    font-size: 25px;
}

.contacts-card h2 {
    margin: 0 0 12px;

    font-size: 22px;
    line-height: 1.3;
    color: #202637;
}

.contacts-card p {
    margin: 0;

    font-size: 17px;
    line-height: 1.5;
    color: #687994;
}


/* ========================================
   CATALOG BLOCK
======================================== */

.contacts-catalog {
    margin-bottom: 70px;
    padding: 60px 40px;

    background: #242a3a;
    border-radius: 24px;

    text-align: center;
}

.contacts-catalog h2 {
    margin: 0 0 20px;

    font-size: 34px;
    line-height: 1.25;
    color: #ffffff;
}

.contacts-catalog p {
    max-width: 850px;
    margin: 0 auto 32px;

    font-size: 18px;
    line-height: 1.6;
    color: #b8c3d5;
}

.contacts-catalog__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 56px;
    padding: 0 32px;

    background: #d98a3f;
    border-radius: 12px;

    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;

    transition: 0.25s ease;
}

.contacts-catalog__button:hover {
    background: #c77932;
    transform: translateY(-2px);
}


/* ========================================
   SOCIAL
======================================== */

.contacts-social {
    padding: 10px 0 20px;
    text-align: center;
}

.contacts-social h2 {
    margin: 0 0 16px;

    font-size: 32px;
    line-height: 1.3;
    color: #202637;
}

.contacts-social p {
    max-width: 750px;
    margin: 0 auto 30px;

    font-size: 18px;
    line-height: 1.6;
    color: #687994;
}

.contacts-social__links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contacts-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 130px;
    height: 50px;
    padding: 0 22px;

    border: 1px solid #d8dee8;
    border-radius: 12px;

    color: #202637;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;

    transition: 0.25s ease;
}

.contacts-social__link:hover {
    background: #e77b2c;
    border-color: #e77b2c;
    color: #ffffff;
    transform: translateY(-2px);
}


/* ========================================
   TABLET
======================================== */

@media (max-width: 1000px) {

    .contacts-info {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   MOBILE
======================================== */

@media (max-width: 600px) {

    .contacts-page {
        padding: 45px 0 60px;
    }

    .contacts-page__header h1 {
        font-size: 36px;
    }

    .contacts-page__header p {
        font-size: 17px;
    }

    .contacts-info {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 45px;
    }

    .contacts-card {
        padding: 26px 22px;
    }

    .contacts-catalog {
        padding: 45px 22px;
        margin-bottom: 50px;
    }

    .contacts-catalog h2 {
        font-size: 27px;
    }

    .contacts-catalog p {
        font-size: 16px;
    }

    .contacts-social h2 {
        font-size: 27px;
    }

    .contacts-social p {
        font-size: 16px;
    }

    .contacts-social__links {
        flex-direction: column;
        align-items: stretch;
    }

    .contacts-social__link {
        width: 100%;
    }

}