.contacts {
    width: min(1200px, calc(100% - 80px));
    margin: 70px auto 100px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    background: #22242B;

    border-radius: 4px;

    overflow: hidden;
}


.contact-card {
    min-height: 180px;

    padding: 35px 40px;

    display: flex;
    align-items: flex-start;

    gap: 25px;

    position: relative;

    transition: background-color 0.3s ease;
}

.contact-card:hover {
    background: #292c34;
}


.contact-card:not(:last-child)::after {
    content: "";

    position: absolute;

    top: 35px;
    right: 0;

    width: 1px;
    height: calc(100% - 70px);

    background: rgba(255, 255, 255, 0.12);
}


.contact-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;
}

.contact-icon img {
    width: 22px;
    height: 22px;

    object-fit: contain;

    filter: brightness(0) invert(1);
}


.contact-content {
    display: flex;
    flex-direction: column;

    gap: 9px;
}

.contact-label {
    margin-bottom: 5px;

    font-family: "Onest", sans-serif;

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 1.5px;

    color: #858891;
}


.contact-content > a {
    font-family: "Onest", sans-serif;

    font-size: 17px;
    font-weight: 400;

    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.contact-content > a:hover {
    color: #b8b9bd;
}


.copy-email {
    font-family: "Onest", sans-serif;

    font-size: 15px;
    font-weight: 400;

    color: #ffffff;

    cursor: pointer;

    transition: color 0.25s ease;
}

.copy-email:hover {
    color: #b8b9bd;
}

.copy-notification {
    display: none;

    font-family: "Onest", sans-serif;

    font-size: 11px;

    color: #858891;
}


.social-symbol {
    color: #ffffff;

    font-family: "Onest", sans-serif;

    font-size: 22px;
}


.socials {
    display: flex;
    align-items: center;

    gap: 12px;

    margin-top: 3px;
}


.socials a {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}


.socials img {
    width: 19px;
    height: 19px;

    object-fit: contain;
}


.socials a:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.35);
}


@media (max-width: 900px) {

    .contacts {
        grid-template-columns: 1fr;
    }

    .contact-card {
        min-height: auto;
    }

    .contact-card:not(:last-child)::after {
        top: auto;
        right: 40px;
        bottom: 0;

        width: calc(100% - 80px);
        height: 1px;
    }
}


@media (max-width: 600px) {

    .contacts {
        width: calc(100% - 30px);

        margin-top: 40px;
    }

    .contact-card {
        padding: 30px 25px;
    }

    .contact-card:not(:last-child)::after {
        right: 25px;

        width: calc(100% - 50px);
    }
}

.address {
    grid-column: 1 / -1;

    min-height: 100px;

    padding: 25px 40px;

    display: flex;
    align-items: center;

    gap: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    background: #1e2026;

    transition: background-color 0.3s ease;
}

.address:hover {
    background: #292c34;
}


.address-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.2);

    border-radius: 50%;
}

.address-icon span {
    color: #ffffff;

    font-size: 24px;
    line-height: 1;

    transform: translateY(-1px);
}


.address-content {
    display: flex;
    flex-direction: column;

    gap: 6px;
}

.address-content a {
    font-family: "Onest", sans-serif;

    font-size: 16px;
    font-weight: 400;

    color: #ffffff;

    text-decoration: none;

    transition: color 0.25s ease;
}

.address-content a:hover {
    color: #b8b9bd;
}


@media (max-width: 600px) {

    .address {
        padding: 25px;

        align-items: flex-start;
    }

    .address-content a {
        font-size: 14px;

        line-height: 1.5;
    }
}