/* Scinov Africa – Contact section
   Uses the same colour variables as the other sections. */
.contact-section {
    --team-accent: #0d6efd;
    --team-accent-soft: #e8f0ff;
    --team-ink: #1b2430;
    --team-muted: #5b6675;

    padding: 4.5rem 0;
    background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

/* ---------- Header ---------- */
.contact-header { margin-bottom: 2.5rem; }
.contact-eyebrow {
    display: inline-block;
    padding: .3rem .85rem;
    border-radius: 999px;
    background: var(--team-accent-soft);
    color: var(--team-accent);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.contact-title {
    margin: 1rem 0 0;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--team-ink);
}
.contact-title::after {
    content: "";
    display: block;
    width: 56px;
    height: 4px;
    margin: .9rem auto 0;
    border-radius: 4px;
    background: var(--team-accent);
}

/* ---------- Map ---------- */
.contact-map {
    overflow: hidden;
    border-radius: 18px;
    border: 4px solid #fff;
    box-shadow: 0 10px 32px rgba(27, 36, 48, .12);
    line-height: 0;
}
.contact-map iframe {
    display: block;
    width: 100%;
    height: 380px;
    border: 0;
}

/* ---------- Info cards (overlap the map) ---------- */
.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
.contact-card {
    padding: 1.75rem 1.5rem;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(27, 36, 48, .06);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(27, 36, 48, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(27, 36, 48, .13);
}
.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--team-accent-soft);
    color: var(--team-accent);
    font-size: 1.5rem;
    transition: background-color .25s ease, color .25s ease;
}
.contact-card:hover .contact-icon { background: var(--team-accent); color: #fff; }
.contact-card h3 { margin: 0 0 .5rem; font-size: 1.1rem; font-weight: 700; color: var(--team-ink); }
.contact-card p { margin: 0; color: var(--team-muted); line-height: 1.7; font-size: .95rem; }
.contact-card a { color: var(--team-muted); text-decoration: none; word-break: break-word; }
.contact-card a:hover,
.contact-card a:focus-visible { color: var(--team-accent); text-decoration: underline; }

@media (min-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
        margin-top: -3.5rem;       /* overlap the map */
        position: relative;
        padding: 0 1rem;
    }
}
@media (max-width: 575.98px) {
    .contact-map iframe { height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-card, .contact-icon { transition: none; }
    .contact-card:hover { transform: none; }
}