/* ===== Контакты ===== */
.contacts__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.contacts__grid {
    display: grid;
    /*grid-template-columns: 1fr 1.5fr;*/
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
    margin-bottom: 20px;
}

/* === Блок контактов === */
.contacts__info {
    display: flex;
    /*flex-direction: column;*/
    gap: 1.2rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    border-radius: 1.2rem;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--primary);
    width: 40%;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
}

.contact-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-soft);
    color: var(--primary);
    font-size: 1.4rem;
}

.contact-card__body {
    flex: 1;
}

.contact-card__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.contact-card__text {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
}

.contact-card__text a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card__text a:hover {
    color: var(--primary);
}

/* Социальные ссылки */
.contact-card--social .contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    color: var(--primary);
    font-size: 1.1rem;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

/* === Карта === */
.contacts__map {
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
    min-height: 400px;
    background: #f0f0f0;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===== Адаптивность ===== */
@media (max-width: 992px) {
    .contacts__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 15px;
    }
    .contacts__map {
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-card {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 1rem;
        width: 100%;
    }
    .contact-card__icon {
        margin-bottom: 0.3rem;
    }
    .social-links {
        justify-content: center;
    }
    .contacts__title {
        font-size: 1.8rem;
    }
}