/* Hallmark · shape: service directory · genre: editorial · theme: brand · scope: page · mode: audit fixes · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H5 E4 S4 R5 V4 · weakest: E, larger text must still leave directions reachable on a narrow screen */
/* Audit follow-up: responsive text and early directions retained; original facility cards restored by request with tighter spacing. */
:root { --contact-text-label: .875rem; --contact-text-body: 1rem; --contact-text-heading: 1.25rem; --contact-on-accent: #fdfefd; }
.contact-page { background: var(--white); }
#main-content .contact-page .page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 22px 0 32px; border-bottom: 0; background: var(--white); text-align: center; }
.contact-page .page-hero h1 { max-width: none; margin: 0; }
.contact-page__body { max-width: 1120px; padding-bottom: 56px; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.contact-page h2 { color: var(--green-deep); font-size: 22px; font-weight: 650; line-height: 1.35; letter-spacing: -.025em; }
.contact-channels { display: flex; flex-direction: column; min-width: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.contact-channels__list { list-style: none; margin: 0; padding: 0; }
.contact-channels__list > li { margin: 0; }
.contact-channels__list > li + li { border-top: 1px solid var(--line); }
.contact-channels__list > li:first-child + li { border-top: 0; margin-top: 6px; }
.contact-page .ui-button { min-height: 48px; min-width: 0; max-width: 100%; font-size: var(--contact-text-body); white-space: normal; }
.contact-page .ui-button--primary { background: var(--green); color: var(--contact-on-accent); border-color: var(--green); }
.contact-page .ui-button--primary:hover { background: var(--green-dark); border-color: var(--green-dark); }
.contact-page__icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; width: 42px; height: 42px; border-radius: 10px; background: var(--mint); color: var(--green); }
.contact-location { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.contact-location__photo { flex: 1; min-height: 220px; background: var(--mint); position: relative; }
.contact-location__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.contact-location__body { position: relative; isolation: isolate; padding: 24px; }
.contact-location__address { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.contact-location__address > div { min-width: 0; }
.contact-location h2 { margin: 0 0 8px; font-size: 18px; }
.contact-location address { color: var(--ui-muted); font-size: var(--contact-text-body); font-style: normal; line-height: 1.6; overflow-wrap: anywhere; }
.contact-location .ui-button { margin-left: 56px; }
.contact-report { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--mint); }
.contact-report__copy { flex: 1; min-width: 0; }
.contact-report h2 { margin: 0 0 6px; font-size: 18px; }
.contact-report p { margin: 0; color: var(--ui-muted); font-size: var(--contact-text-body); line-height: 1.6; }
.contact-report .contact-page__icon { background: var(--white); }
.contact-facilities { position: relative; isolation: isolate; margin-top: 32px; }
.contact-page .contact-facilities > h2 { margin: 0 0 16px; font-size: 21px; }
.contact-page a:not(.facility-list-item):focus-visible { outline: 3px solid var(--ui-focus); outline-offset: 4px; border-radius: 6px; }
.contact-page .contact-channel .contact-channel__label { font-size: var(--contact-text-label); }
.contact-page .contact-channel .contact-channel__value { font-size: var(--contact-text-body); }
.contact-page .contact-channel--primary .contact-channel__label,
.contact-page .contact-channel--label-only .contact-channel__label { font-size: var(--contact-text-body); }
.contact-page .contact-channel { gap: 12px; padding: 12px; }
.contact-page .contact-channel--primary { padding: 16px; }
.contact-page .contact-facilities__grid { gap: 16px; }
.contact-page .contact-facilities__link { min-height: 104px; gap: 12px; padding: 16px; font-size: var(--contact-text-body); }
@media (max-width: 980px) {
    .contact-page__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .contact-location__photo { flex: none; aspect-ratio: 16 / 9; min-height: 0; max-height: 320px; }
    .contact-location__body { padding: 24px; display: flex; align-items: center; gap: 20px; }
    .contact-location__address { flex: 1; margin-bottom: 0; }
    .contact-location .ui-button { margin-left: 0; flex-shrink: 0; }
    .contact-report { flex-wrap: wrap; }
    .contact-report .ui-button { margin-left: 60px; }
}
@media (max-width: 720px) {
    #main-content .contact-page .page-hero { padding: 16px 0 24px; }
    .contact-page__body { padding-bottom: 36px; }
    .contact-page h2 { font-size: var(--contact-text-heading); }
    .contact-channels { padding: 16px; border-radius: 12px; }
    .contact-channels__list { margin-bottom: 0; }
    .contact-location { border-radius: 12px; }
    .contact-location__photo { max-height: 160px; }
    .contact-location__body { display: block; padding: 16px; }
    .contact-location__address { margin-bottom: 16px; gap: 12px; }
    .contact-location .ui-button { width: 100%; }
    .contact-report { padding: 18px; gap: 12px; margin-top: 24px; align-items: flex-start; }
    .contact-report h2 { font-size: var(--contact-text-heading); }
    .contact-report .ui-button { width: 100%; margin-left: 0; }
    .contact-facilities { margin-top: 32px; }
    .contact-facilities > h2 { margin-bottom: 16px; }
}
@media (max-width: 620px) {
    .contact-page .contact-facilities > h2 { font-size: var(--contact-text-heading); }
    .contact-page .contact-facilities__grid { gap: 12px; }
    .contact-page .contact-facilities__link { min-height: 88px; padding: 12px; }
}
.contact-social { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.contact-social > li { flex: 1 1 8.5em; min-width: 0; max-width: 100%; }
.contact-page .contact-social__link { width: 100%; gap: 8px; padding: 12px 8px; border-color: var(--line); background: var(--white); }
.contact-page .ui-button--secondary:is(:hover, :focus-visible) { background: var(--facility-icon-hover-surface); border-color: var(--facility-icon-hover-surface); color: var(--green-deep); }
.contact-page .contact-channel[href]:is(:hover, :focus-visible) { background: var(--ui-surface); }
.contact-page .contact-channel--primary[href]:is(:hover, :focus-visible) { background: var(--green-dark); color: var(--contact-on-accent); }
.contact-page .contact-channel--primary[href]:is(:hover, :focus-visible) :is(.contact-channel__label, .contact-channel__value) { color: var(--contact-on-accent); }
.contact-page .contact-channel[href]:is(:hover, :focus-visible) .contact-channel__icon { background: var(--facility-icon-hover-surface); color: var(--green-deep); }
