/* === Страница контактов === */
.contacts-container {
    display: flex;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
}

.contacts-info h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 24px;
    border-bottom: 2px solid var(--btn-gradient-start);
    padding-bottom: 10px;
}

.contact-item {
    display: flex;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-icon {
    font-size: 28px;
    min-width: 50px;
    text-align: center;
}

.details h3 {
    margin: 0 0 8px;
    color: var(--text-primary);
    font-size: 18px;
}

.details p {
    margin: 4px 0;
    color: var(--text-primary);
    opacity: 0.9;
    font-size: 15px;
}

.details small {
    color: var(--text-primary);
    opacity: 0.7;
    font-size: 13px;
}

.social-links {
    margin-top: 24px;
}

.social-links h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 12px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var();
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(106, 17, 203, 0.3);
}

.map-section {
    margin: 40px 20px;
    text-align: center;
}

.map-section h2 {
    font-size: 24px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.map-container {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
}

.map-button {
    padding: 10px 20px;
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
/* Специфичные стили для каждой карты */
.yandex-maps {
    background: linear-gradient(135deg, #ffcc00, #ff9900);
    color: #000;
}
.gis-maps {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

/* Используем настоящие иконки через <img> — самый простой и надёжный способ */
.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}


/* Адаптивность */
@media (max-width: 768px) {
    .contacts-container {
        flex-direction: column;
        padding: 20px;
    }

    .contact-item {
        gap: 12px;
        padding: 16px 0;
    }

    .icon {
        min-width: 40px;
        font-size: 24px;
    }

    .details p,
    .details small {
        font-size: 14px;
    }

    .map-button {
        padding: 10px 20px;
        font-size: 14px;
    }
}