.contact-heading, .contact-location, .contact-social, .contact-form-section {
    width: min(90%, 1240px);
    margin-inline: auto;
}
.contact-heading { padding-block: clamp(42px, 7vw, 96px) clamp(24px, 4vw, 55px); text-align: center; }
.contact-heading h1 { margin: 0 auto; font-size: clamp(2.65rem, 7vw, 6.2rem); line-height: 1.04; }
.contact-heading .lead { margin: 14px auto 0; }
.contact-location, .contact-form-section {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    border-radius: 18px;
}
.contact-location { overflow: hidden; background: #251b20; color: #fcfbf8; }
.contact-location-copy, .contact-form-section { padding: clamp(22px, 5vw, 60px); }
.contact-location h2, .contact-social h2, .contact-form-section h2 {
    margin: 0 0 12px;
    font-size: clamp(1.65rem, 4vw, 3.4rem);
    line-height: 1.15;
}
.contact-location address { margin-bottom: 20px; font-style: normal; }
.contact-map { align-content: center; min-height: 285px; background: linear-gradient(#eae4dbd9, #eae4dbd9), url('/media/wave-lines.svg') center bottom / 100% auto no-repeat, #eae4db; }
.contact-map-intro { padding: 18px; text-align: center; }
.contact-map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 430px); border: 0; }
.contact-map iframe[hidden] { display: none; }
.contact-map-intro p { margin: 0 0 .6rem; }
.contact-location :focus-visible { outline-color: #ffbdcc; }
.contact-map :focus-visible { outline-color: #176bc1; outline-offset: 3px; }
.contact-social { margin-block: clamp(36px, 6vw, 75px); }
.contact-social ul {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.contact-social li a {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fcfbf8;
    font-weight: 600;
    text-decoration: none;
}
.contact-social li a:hover { text-decoration: underline; }
.contact-social-network { display: flex; align-items: center; gap: 8px; color: #594b53; font-size: .83rem; }
.contact-form-section {
    gap: clamp(22px, 5vw, 64px);
    margin-bottom: clamp(38px, 7vw, 90px);
    background: #fcfbf8;
    border: 1px solid var(--line);
    scroll-margin-top: 24px;
}
.contact-form-section label { display: block; margin-top: 14px; font-weight: 600; }
.contact-form-section input:not([type=hidden]), .contact-form-section textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #897a7a;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
}
.contact-form-section textarea { resize: vertical; }
.contact-privacy {
    margin-block: 1.1rem;
    padding-inline: 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
}
.contact-privacy summary {
    align-content: center;
    min-height: 48px;
    padding-block: .5rem;
    color: var(--accent);
    cursor: pointer;
    font-weight: 600;
}
.contact-privacy h3 { margin-block: 1rem .25rem; font-size: 1rem; }
.contact-privacy p { margin-block: .25rem .9rem; }
.contact-form-section .button, .contact-form-section .cf-turnstile { margin-top: 16px; }
.contact-form-section .error-summary h2 { font-size: 1.15rem; }
.contact-form-section [aria-invalid=true] { border-color: var(--accent); border-width: 2px; }
@media (max-width: 900px) {
    .contact-social ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .contact-location, .contact-form-section { grid-template-columns: minmax(0, 1fr); }
    .contact-map { min-height: 115px; }
}
@media (forced-colors: active) {
    .contact-location, .contact-map, .contact-form-section { background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
    .contact-social-network { color: CanvasText; }
}
