/* ========== КОНТАКТЫ ========== */
.contacts {
    padding: 100px 0;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 60px;
}

.contacts-header {
    text-align: center;
    margin-bottom: 60px;
}

.title-1 {
    font-family: 'Gilroy-Bold', serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 42px;
    color: #070707;
    margin: 0 0 24px 0;
}

.contacts-subtitle {
    font-family: 'Gilroy-Medium', serif;
    font-size: 18px;
    line-height: 1.5;
    color: #828282;
    margin: 0;
}

/* Список контактов */
.contacts-content {
    max-width: 600px;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Элемент контакта */
.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background-color: #F6F6F6;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Иконка */
.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 16px;
    flex-shrink: 0;
}

.contact-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Информация */
.contact-info {
    flex: 1;
}

.contact-label {
    font-family: 'Gilroy-Medium', serif;
    font-size: 14px;
    color: #828282;
    margin-bottom: 6px;
}

.contact-value {
    font-family: 'Gilroy-Bold', serif;
    font-size: 18px;
    font-weight: 700;
    color: #070707;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    display: inline-block;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #070707;
    opacity: 0.8;
}

/* Подсказка при наведении */
.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    background-color: #070707;
    color: #fff;
    font-family: 'Gilroy-Medium', serif;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
    margin-bottom: 8px;
}

.copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: #070707 transparent transparent transparent;
}

.contact-value:hover .copy-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Уведомление об успешном копировании */
.copy-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #070707;
    color: #fff;
    font-family: 'Gilroy-Medium', serif;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 40px;
    z-index: 1000;
    animation: fadeInOut 2s ease forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    15% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    85% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
        visibility: hidden;
    }
}

/* Кнопка отправки сообщения */
.contacts-button {
    text-align: center;
}

.btn-send {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Gilroy-Bold', serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    background-color: #070707;
    color: #fff;
    border-radius: 40px;
    transition: all 0.3s ease;
    border: 2px solid #070707;
}

.btn-send:hover {
    background-color: transparent;
    color: #070707;
    transform: translateY(-2px);
}

/* ========== АДАПТИВНОСТЬ ========== */

@media (max-width: 768px) {
    .contacts {
        padding: 70px 0;
    }
    
    .contacts-header {
        margin-bottom: 40px;
    }
    
    .title-1 {
        font-size: 28px;
    }
    
    .contacts-subtitle {
        font-size: 16px;
    }
    
    .contacts-content {
        gap: 24px;
        margin-bottom: 40px;
    }
    
    .contact-item {
        padding: 16px 20px;
        gap: 16px;
    }
    
    .contact-icon {
        width: 44px;
        height: 44px;
    }
    
    .contact-icon img {
        width: 24px;
        height: 24px;
    }
    
    .contact-value {
        font-size: 16px;
    }
    
    .copy-tooltip {
        font-size: 10px;
        padding: 4px 10px;
    }
}

@media (max-width: 480px) {
    .contacts {
        padding: 50px 0;
    }
    
    .title-1 {
        font-size: 24px;
    }
    
    .contacts-subtitle {
        font-size: 14px;
    }
    
    .contact-item {
        padding: 14px 16px;
        gap: 12px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon img {
        width: 22px;
        height: 22px;
    }
    
    .contact-value {
        font-size: 14px;
        word-break: break-all;
    }
    
    .btn-send {
        padding: 12px 32px;
        font-size: 14px;
    }
    
    .copy-tooltip {
        display: none; /* На мобильных убираем тултип, чтобы не мешал */
    }
}