.contact-page {
    background: #c8d3dc;
    color: var(--text-color);
}

.contact-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.contact-hero {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #c8d3dc;
    background-position: 100% 40%;
    background-size: cover;
    background-repeat: no-repeat;
}

.contact-hero-inner {
    width: 90%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(20px, 2.4vw, 32px);
    padding-bottom: clamp(20px, 2.4vw, 32px);
}

.contact-hero-title {
    color: var(--primary-blue);
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    line-height: 1.08;
    max-width: none;
    text-wrap: balance;
}

.contact-panel {
    margin-top: clamp(22px, 3vw, 36px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    gap: clamp(20px, 2.8vw, 42px);
    align-items: center;
}

.contact-details {
    display: grid;
    gap: clamp(14px, 2vw, 24px);
}

.contact-detail {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    text-decoration: none;
    color: var(--primary-blue);
}

.contact-detail img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-top: 2px;
}

.contact-detail span {
    font-size: clamp(1rem, 1.2vw, 1.45rem);
    line-height: 1.15;
    font-weight: 700;
}

a.contact-detail:hover span,
a.contact-detail:focus-visible span {
    color: var(--primary-orange);
}

.contact-map-wrap {
    width: 100%;
    max-width: 360px;
    justify-self: end;
}

.contact-map-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media (min-width: 1200px) {
    .contact-hero-inner {
        padding-left: clamp(24px, 7vw, 140px);
        padding-right: clamp(24px, 3vw, 48px);
    }
}

@media (max-width: 900px) {
    .contact-container {
        width: min(1400px, calc(100% - 32px));
    }

    .contact-hero {
        min-height: 100vh;
        height: auto;
        background-position: center;
    }

    .contact-panel {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-map-wrap {
        max-width: 100%;
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .contact-hero-title {
        font-size: clamp(2rem, 10vw, 2.9rem);
    }

    .contact-detail {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 12px;
    }

    .contact-detail img {
        width: 24px;
        height: 24px;
    }

    .contact-detail span {
        font-size: clamp(1.08rem, 5.6vw, 1.35rem);
        line-height: 1.24;
    }
}
