/* Page-specific styles: contact */

.contact-layout {
    display: block;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 3rem;
}

.contact-layout > h2 {
    margin-bottom: 1.5rem;
    color: var(--ink);
    font-size: clamp(2rem, 3.5vw, 3rem);
    letter-spacing: -.035em;
}

.contact-feature {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 1.5rem;
    align-items: stretch;
}

.office-contact {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
    padding: 1.75rem;
    border: 1px solid rgba(17, 17, 17, .08);
    border-top: 4px solid var(--red);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(17, 17, 17, .05);
}

.office-contact .eyebrow {
    margin-bottom: 0;
}

.office-contact h3 {
    color: var(--ink);
    font-size: 1.5rem;
    line-height: 1.2;
}

.office-contact p {
    max-width: none;
    color: var(--muted);
    line-height: 1.7;
}

.office-contact a {
    color: #4b4b4b;
    line-height: 1.5;
    text-decoration: none;
}

.office-contact a:hover,
.office-contact a:focus-visible {
    color: var(--red);
}

.dubai-office {
    justify-content: center;
    padding: 2rem;
    background: linear-gradient(145deg, #fff 0%, #f8f5f3 100%);
}

.dubai-office h3 {
    font-size: clamp(1.7rem, 2.5vw, 2.2rem);
}

.contact-map {
    display: block;
    width: 100%;
    min-height: 350px;
    height: 100%;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(17, 17, 17, .09);
}

.office-map {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: .5rem;
}

.other-offices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.other-offices .office-contact h3 {
    font-size: 1.2rem;
}

@media (max-width: 760px) {
    .contact-layout {
        padding-top: 2.5rem;
    }

    .contact-feature,
    .other-offices {
        grid-template-columns: 1fr;
    }

    .contact-map {
        min-height: 300px;
    }

    .office-map {
        min-height: 0;
    }
}
