.contact-map-container {
    padding: 40px 50px; /* reduced top/bottom spacing from var(--container-padding) */
    width: 100%;
    position: relative;
}

.map-container {
    width: 100%;
    border: 0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    position: relative;
}
.contact-map-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: 0px;

}

.map-wrapper {
    width: 100%;
    height: 300px; /* default desktop map height */
    border: 0;
    flex: 1 1 auto;
    display: block;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-map-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    /* flex: 0 0 320px; fixed width on desktop */
    max-width: 35%;
    padding: var(--space-lg); /* reduce internal top/bottom padding */
    gap: var(--space-md);

}

.contact-map-right h3 {
    font-size: var(--small-head);
    color: var(--medium-font);
    font-weight: 600;
}

.contact-map-right h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 5px;
    background-color: var(--light-blue-bg);
    -webkit-mask: url('../../images/icons/hero-horizontal-seperator.svg') no-repeat center/contain;
    mask: url('../../images/icons/hero-horizontal-seperator.svg') no-repeat center/contain;
    transform: rotate(180deg);
    margin-top: 14px;
}

.contact-map-right p {
    margin: 0;
    color: var(--light-font);
    font-size: var(--small-para);
    line-height: 1.7;
    opacity: 0.8;
}

.contact-map-right a {
    color: var(--light-blue-bg);
    font-weight: 600;
    text-decoration: none;
    font-size: var(--small-para);
    border: 1px solid var(--light-blue-bg);
    width: fit-content;
    padding: 12px 28px;
    border-radius: 8px;
    text-transform: uppercase;
    align-items: center;
    display: inline-flex;
    gap: 8px;
    transition: all 0.2s ease;
}

.contact-map-right a:hover {
    background-color: var(--light-blue-bg);
    color: #fff;
}

/* responsive */
@media (max-width: 950px) {
    .contact-map-content {
        flex-direction: column;
        
    }

    .contact-map-right {
        width: 100%;
        min-width: unset;
    }
    .map-wrapper{
        height: 300px;
    }
    .contact-map-right{
        width: 100%;
        max-width: unset;
    }


}

@media (max-width: 768px) {
    .contact-map-container{
        padding: 40px 20px;
    }
    
    .contact-map-right h3{
        font-size: 20px;
    }
    .contact-map-right a{
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
}

@media (max-width: 576px) {
    .contact-map-container{
        padding: 30px 16px;
    }
    .map-wrapper{
        height: 300px;
    }
    .contact-map-right{
        padding: var(--space-sm);
        gap: var(--space-md);
        align-items: stretch;
    }
    .contact-map-right h3{
        font-size: 18px;
    }
    .contact-map-right a{
        width: 100%;
        padding: 10px 14px;
        font-size: 14px;
    }
}