/* ==========================================================================
   contacts.css
   --------------------------------------------------------------------------
   Contacts page: cards + map, aligned with global system
   ========================================================================== */

.contacts-hero__inner.reveal{
    padding-top: 50px;
}

.about-main {
    position: relative; /* REQUIRED for ::before */
    overflow: hidden;   /* prevents bleed if image is large */
}

/* background image + opacity */
.about-main::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: url('../assets/img/on_road.png');
    /* background-image: url('../assets/img/tires.png'); */

    background-repeat: no-repeat;
    background-position: calc(100% + 500px) 20px;
    background-size: inherit;

    opacity: 0.2; /* ✅ 50% image transparency */

    pointer-events: none;
    z-index: 0;
}

/* keep page content above background */
.about-main > * {
    position: relative;
    z-index: 1;
}










.contacts-main {
    position: relative;
}

.contacts-hero {
    padding-top: 20px;
    padding-bottom: 24px;
}

.contacts-hero__lead {
    max-width: 72ch;
}

.contacts-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 18px;
    align-items: start;
}

/* Contact list */
.contacts-list {
    display: grid;
    gap: 14px;
}

.contacts-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: start;
    padding: 10px 0;
    border-top: 1px solid var(--border);
}

.contacts-item:first-child {
    border-top: none;
    padding-top: 0;
}

.contacts-item__label {
    font-weight: 900;
    color: var(--text);
}

.contacts-item__value {
    color: var(--text-muted);
    font-weight: 700;
    line-height: 1.55;
}

.contacts-item__hint {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-muted);
    opacity: 0.9;
}

.contacts-link {
    color: var(--text);
    font-weight: 900;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 51, 160, 0.22);
}

.contacts-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Map */
.contacts-map-wrap {
    border-radius: var(--r-2);
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.contacts-map {
    width: 100%;
    height: 420px;
}

.contacts-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* CTA strip */
.contacts-strip__inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
    align-items: center;
}

.contacts-strip__title {
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.2px;
}

.contacts-strip__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.leaflet-control-attribution.leaflet-control{
    display: none;
}


/* Responsive */
@media (max-width: 980px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contacts-strip__inner {
        grid-template-columns: 1fr;
    }

    .contacts-strip__actions {
        justify-content: flex-start;
    }

    .contacts-map {
        height: 380px;
    }
    /* .about-main {
        background-position: right top;
        background-size: 100%;
    }     */
    h4.contacts-hero__lead{
        max-width: unset;
        width: 100%;
    }
    .contacts-hero{
        text-align: center;
    }
}

@media (max-width: 520px) {
    .contacts-item {
        grid-template-columns: 1fr;
    }

    /* .about-main {
        background-position: right top;
        background-size: 100%;
    } */
}
