/* ========================================
   CONTACTS SECTION
   ======================================== */

/* ===== SECTION STYLES ===== */
.contacts {
    width: 100%;
    padding: var(--section-padding-desktop) 20px;
    background-color: var(--color-bg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contacts__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    max-width: 642px;
}

.contacts__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
}

/* ===== TEXT AND IMAGES ===== */
.contacts__text-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.contacts__text {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 36px;
    line-height: 122%;
    letter-spacing: -0.03em;
    color: var(--color-white);
    text-align: center;
    max-width: 598px;
}

/* Team avatars */
.contacts__team {
    display: flex;
    align-items: center;
    gap: -8px;
}

.contacts__team-member {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--color-bg);
    margin-left: -8px;
}

.contacts__team-member:first-child {
    margin-left: 0;
}

/* Gradient border for last member */
.contacts__team-member:last-child {
    border: 2px solid var(--color-accent);
    border-radius: 50%;
}

/* ===== BUTTON ===== */
.contacts__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background-color: transparent;
    color: var(--color-white);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 1em;
    border: 1px solid var(--color-white);
    border-radius: 64px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.contacts__btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.contacts__btn svg {
    flex-shrink: 0;
}

/* ===== SOCIAL MEDIA ===== */
.contacts__social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contacts__social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all var(--transition-fast);
}

.contacts__social-link:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

/* ===== RESPONSIVE ===== */
/* Tablet */
@media (max-width: 992px) {
    .contacts {
        padding: var(--section-padding-tablet) 20px;
    }
    
    .contacts__container {
        gap: 48px;
    }
    
    .contacts__content {
        gap: 36px;
    }
    
    .contacts__text {
        font-size: 28px;
        max-width: 500px;
    }
    
    .contacts__team-member {
        width: 56px;
        height: 56px;
    }
    
    .contacts__btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .contacts__text {
        font-size: 24px;
    }
    
    .contacts__team-member {
        width: 48px;
        height: 48px;
    }
    
    .contacts__social-link {
        width: 42px;
        height: 42px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .contacts {
        padding: var(--section-padding-mobile) 20px;
    }
    
    .contacts__container {
        gap: 40px;
    }
    
    .contacts__content {
        gap: 32px;
    }
    
    .contacts__text-images {
        gap: 20px;
    }
    
    .contacts__text {
        font-size: 20px;
    }
    
    .contacts__team {
        gap: -6px;
    }
    
    .contacts__team-member {
        width: 44px;
        height: 44px;
        margin-left: -6px;
    }
    
    .contacts__btn {
        width: 100%;
        padding: 16px 24px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .contacts__text {
        font-size: 18px;
    }
    
    .contacts__team-member {
        width: 40px;
        height: 40px;
    }
}
