/* Dedicated Contact page; reuse the shared header and contact info styles. */
.contact-page .contact-intro {
    background: #f2f4f8 linear-gradient(135deg, transparent 64%, rgba(255, 255, 255, 0.55) 64%, rgba(255, 255, 255, 0.55) 78%, transparent 78%);
}

.contact-page .contact-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.contact-page h1 {
    margin: 0 0 20px;
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.contact-page .contact-intro p {
    max-width: 52rem;
    margin: 0;
    color: #566779;
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 32px;
}

.contact-page .info-box {
    padding: clamp(24px, 3vw, 40px);
}

.contact-page .info-box h2 {
    margin: 0 0 16px;
    color: var(--contrast-color);
    font-size: clamp(1.5rem, 2vw, 1.875rem);
    font-weight: 700;
}

.contact-page .info-item {
    gap: 18px;
}

.contact-page .info-item h3 {
    margin: 0 0 8px;
    color: var(--contrast-color);
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-page .info-item p,
.contact-page .info-item a {
    overflow-wrap: anywhere;
    line-height: 1.7;
}

.contact-page .info-item a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-page .contact-map {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 16px;
    background: #ffffff;
}

.contact-page .contact-map-heading {
    padding: 28px;
}

.contact-page .contact-map h2 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.contact-page .contact-map p {
    margin: 0;
    color: #566779;
    line-height: 1.7;
}

.contact-page .contact-map-canvas {
    position: relative;
    flex: 1 0 350px;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
    background: #f2f4f8;
}

.contact-page .contact-map-surface,
.contact-page .contact-map-tiles {
    position: absolute;
    inset: 0;
}

.contact-page .contact-map-tiles {
    opacity: 0;
    filter: saturate(0.25);
    pointer-events: none;
    user-select: none;
}

.contact-page .contact-map-tiles img {
    position: absolute;
    width: 256px;
    height: 256px;
    max-width: none;
}

.contact-page .contact-map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    display: none;
    width: 40px;
    height: 52px;
    transform: translate(-50%, -100%);
    color: var(--accent-color);
    filter: drop-shadow(0 3px 5px rgba(25, 43, 91, 0.2));
    pointer-events: none;
}

.contact-page .contact-map-pin span {
    position: absolute;
    top: 10px;
    left: calc(100% + 6px);
    padding: 5px 10px;
    border: 1px solid #dfe6ee;
    border-radius: 6px;
    background: #ffffff;
    color: #1c2752;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.contact-page .is-ready .contact-map-tiles {
    opacity: 1;
}

.contact-page .is-ready .contact-map-pin {
    display: block;
}

.contact-page .contact-map-status,
.contact-page .contact-map-noscript {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    margin: 0;
    padding: 32px;
    background: #f2f4f8;
    color: #566779;
    font-size: 0.9375rem;
    text-align: center;
}

.contact-page .contact-map-status[hidden] {
    display: none;
}

.contact-page .has-error .contact-map-surface {
    visibility: hidden;
}

.contact-page .contact-map-credit {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 3px 6px;
    background: rgba(255, 255, 255, 0.95);
    color: #344455;
    font-size: 11px;
    line-height: 1.5;
}

.contact-page .contact-map-credit a {
    color: inherit;
    text-decoration: underline;
}

.contact-page .contact-directions {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 18px 28px;
    font-weight: 600;
}

.contact-page .contact-directions:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-page main a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.contact-page .contact-next-step {
    padding: 36px 0;
    border-block: 1px solid #e1e9f2;
    background: #f1f7fd;
}

.contact-page .contact-next-step-content,
.contact-page .contact-next-step-copy {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-page .contact-next-step-content {
    justify-content: space-between;
}

.contact-page .contact-next-step-copy {
    gap: 18px;
}

.contact-page .contact-next-step-icon {
    display: inline-flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    height: 52px;
    border: 1px solid #dfe6ee;
    border-radius: 14px;
    background: #ffffff;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.contact-page .contact-next-step h2 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
}

.contact-page .contact-next-step p {
    max-width: 64ch;
    margin: 0;
    color: #566779;
    line-height: 1.7;
}

.contact-page .contact-projects-button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 40px;
    background: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
}

.contact-page .contact-projects-button:hover {
    background: #2c3c70;
    color: #ffffff;
}

@media (max-width: 991px) {
    .contact-page .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-page .contact-next-step-content {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .contact-page .contact-map-heading,
    .contact-page .contact-directions {
        padding: 22px;
    }

    .contact-page .info-item .icon-box {
        width: 44px;
        height: 44px;
    }

    .contact-page .info-item {
        gap: 14px;
    }

    .contact-page .contact-map-canvas {
        flex-basis: 300px;
        min-height: 300px;
    }

    .contact-page .contact-next-step-copy {
        align-items: flex-start;
        gap: 14px;
    }

    .contact-page .contact-projects-button {
        width: 100%;
    }
}
