/* ===== Contacts Page Styles ===== */

/* Contacts Hero */
.contacts-hero {
    background: linear-gradient(135deg, #264892 0%, #282D4F 100%);
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contacts-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 60%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.contacts-hero__title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.contacts-hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

/* Contacts Content */
.contacts-content {
    padding: 80px 0;
}

.contacts-grid {
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Information */
.contacts-info {
    animation: fadeInLeft 1s ease;
}

.contacts-info__title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 32px;
}

/* Contact Item */
.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--bg-gray);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.contact-item:hover {
    background: #e8f0ff;
    transform: translateX(8px);
}

.contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(38, 72, 146, 0.1);
}

.contact-item__content {
    flex: 1;
}

.contact-item__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.contact-item__link {
    font-size: 18px;
    font-weight: 600;
    color: var(--secondary-color);
    transition: color var(--transition-base);
}

.contact-item__link:hover {
    color: var(--primary-color);
}

.contact-item__text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

/* Contact Social */
.contact-social {
    display: flex;
    gap: 16px;
}

.contact-social__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: white;
    border-radius: 8px;
    transition: all var(--transition-base);
}
.contact-social__link.is-placeholder {
    pointer-events: none;
    cursor: default;
}

.contact-social__link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(38, 72, 146, 0.3);
}

.contact-social__link img {
    width: 20px;
    height: 20px;
}

.contact-social__link:hover img {
    filter: brightness(0) invert(1);
}

/* Contact Partner */
.contact-partner {
    padding: 32px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e3e9f3 100%);
    border-radius: 16px;
    text-align: center;
    margin-top: 32px;
}

.contact-partner__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.contact-partner__link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: white;
    border-radius: 12px;
    transition: all var(--transition-base);
}

.contact-partner__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.contact-partner__link span {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
}

/* Active Link */
.header__links a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.header__links a.active::after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contacts-hero {
        padding: 80px 0 60px;
    }
    
    .contacts-hero__title {
        font-size: 36px;
    }
    
    .contacts-hero__subtitle {
        font-size: 18px;
    }
    
    .contacts-content {
        padding: 60px 0;
    }
    
    .contact-item {
        padding: 16px;
    }
    
    .contact-item__icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-social__link {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .contact-partner {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .contacts-hero__title {
        font-size: 28px;
    }
    
    .contacts-hero__subtitle {
        font-size: 16px;
    }
    
    .contacts-info__title {
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .contact-item__icon {
        margin: 0 auto;
    }
    
    .contact-social {
        flex-direction: column;
    }
    
    .contact-partner__link {
        flex-direction: column;
        padding: 16px 24px;
    }
}
