.contact-modern {
    background: linear-gradient(180deg, transparent 0%, rgba(244, 196, 48, 0.10) 100%);
}

.contact-head {
    text-align: center;
    margin-bottom: 18px;
}

.contact-subtitle {
    color: var(--color-text-soft);
    margin-top: 8px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 18px;
    align-items: stretch;
}

/* Левая карточка */
.contact-card {
    position: relative;
    background: var(--color-light);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 14px 30px var(--color-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 220px at 10% 0%, rgba(244, 196, 48, 0.20), transparent 60%);
    pointer-events: none;
}

.contact-card__title {
    margin: 0 0 14px;
    position: relative;
    z-index: 1;
}

.contact-badges {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    border-radius: 999px;
    background: rgba(244, 196, 48, 0.18);
    border: 1px solid rgba(244, 196, 48, 0.35);
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
}

.contact-pill span {
    font-weight: 700;
}

a.contact-pill:hover {
    transform: translateY(-1px);
}

/* Кнопки */
.contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}


.btn-secondary {
    background: var(--color-light);
    color: var(--color-text-main);
    border: 2px solid rgba(244, 196, 48, 0.55);
    border-radius: 999px;
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0,0,0,0.10);
}

.contact-note {
    margin-top: 14px;
    padding: 12px 12px;
    border-radius: 14px;
    background: rgba(0,0,0,0.03);
    color: var(--color-text-soft);
    position: relative;
    z-index: 1;
}

/* Правая карточка (карта) */
.map-card {
    background: var(--color-light);
    border-radius: 18px;
    box-shadow: 0 14px 30px var(--color-shadow);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
}

.map-card__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 16px 16px 10px;
    gap: 12px;
}

.map-card__head h3 {
    margin: 0;
}

.map-card__hint {
    font-size: 0.95rem;
    color: var(--color-text-soft);
    background: rgba(244, 196, 48, 0.18);
    border: 1px solid rgba(244, 196, 48, 0.30);
    padding: 8px 10px;
    border-radius: 999px;
    font-weight: 700;
}

.map-frame {
    padding: 0 12px 12px;
}

.map-frame iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 14px;
    display: block;
}

/* Адаптив */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .map-frame iframe {
        height: 360px;
    }
}