/* ═══════════════════════════════════════════
   CONTACTS.CSS — Страница контактов и карта
   ═══════════════════════════════════════════ */

.contacts-page {
    padding: 60px 0;
}

.contacts-header {
    margin-bottom: 48px;
    max-width: 700px;
}

.contacts-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    margin-bottom: 16px;
}

.contacts-header p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--white);
    padding: 28px 24px;
    border-radius: 28px;
    box-shadow: 0 15px 40px rgba(93, 88, 245, 0.08);
    display: flex;
    gap: 18px;
    align-items: center;
}

.contact-card__icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: var(--purple-soft);
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-card__info {
    flex: 1;
    min-width: 0;
}

.contact-card__info h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-card__info p {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 2px;
    color: var(--text);
    word-break: break-word;
}

.contact-card__info p a {
    font-size: 15px;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
}

.contact-card__info span {
    font-size: 12px;
    color: var(--muted);
    display: block;
    line-height: 1.4;
}
.contact-card__socials {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--purple);
    padding: 6px 16px;
    background: var(--purple-soft);
    border-radius: 999px;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--purple);
    color: #fff;
}

/* ── MAP ─────────────────────────────────── */
.map-section {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    position: relative;
    background: #e5e3df;
}

.map-overlay-card {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: var(--white);
    padding: 24px;
    border-radius: 35px;
    max-width: 320px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.map-overlay-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 10px;
}

.map-overlay-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--muted);
    margin-bottom: 16px;
}

/* ── CONTACTS RESPONSIVE ─────────────────── */
@media (max-width: 768px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .map-overlay-card {
        position: static;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }

    .map-section {
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .contacts-page {
        padding: 24px 0;
    }

    .contacts-header {
        margin-bottom: 24px;
    }

    .contacts-header h2 {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .contacts-header p {
        font-size: 14px;
    }

    .contacts-grid {
        gap: 14px;
        margin-bottom: 30px;
    }

    .contact-card {
        padding: 20px;
        border-radius: 18px;
        gap: 14px;
    }

    .contact-card__icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .contact-card__info p {
        font-size: 15px;
    }

    .map-overlay-card {
        padding: 16px;
        border-radius: 18px;
    }

    .map-overlay-card h4 {
        font-size: 16px;
    }

    .map-overlay-card .btn--tiny {
        width: 100%;
    }
}
