/* Contact: the site's teal and orange palette, with compact, accessible fields. */
.contact-page { --contact-teal: var(--jcd-petrol, #04667c); --contact-ink: var(--jcd-deep, #034656); --contact-orange: var(--jcd-orange, #f39200); }
.contact-page-content { padding: clamp(36px, 5vw, 68px) 0; background: #f3f7f8; }
.contact-page-copy { max-width: 900px; margin-bottom: 28px; color: #596f77; font-size: 15px; line-height: 1.8; }
.contact-page-copy > :last-child { margin-bottom: 0; }
.jcd-contact { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 60px); align-items: start; }
.jcd-contact > * { min-width: 0; }
.contact-intro { margin-bottom: 28px; }
.contact-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 13px; color: var(--contact-teal); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-kicker::before { content: ''; width: 26px; height: 3px; border-radius: 3px; background: var(--contact-orange); }
.contact-intro h2 { margin: 0 0 16px; color: var(--contact-ink); font-size: clamp(28px, 3.1vw, 40px); font-weight: 750; letter-spacing: -.035em; line-height: 1.2; }
.contact-intro > p:last-child { max-width: 480px; margin: 0; color: #596f77; font-size: 15px; line-height: 1.8; }
.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.contact-detail { min-width: 0; padding: 20px; border: 1px solid #dce7e9; border-radius: 16px; background: #fff; }
.contact-detail-icon { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 15px; border-radius: 12px; color: var(--contact-teal); background: #e8f2f4; font-size: 17px; }
.contact-detail h3 { margin: 0 0 8px; color: var(--contact-ink); font-size: 14px; font-weight: 700; }
.contact-detail p { margin: 0; color: #596f77; font-size: 13px; line-height: 1.75; overflow-wrap: anywhere; white-space: pre-line; }
.contact-detail a { color: var(--contact-teal); text-decoration: none; }
.contact-detail a:hover { color: var(--contact-ink); text-decoration: underline; text-underline-offset: 4px; }
.contact-social { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.contact-social > p { margin: 0; color: #596f77; font-size: 12px; }
.contact-social-links { display: flex; gap: 8px; }
.contact-social-links a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #cbdde1; border-radius: 50%; color: var(--contact-teal); background: #fff; font-size: 14px; transition: background .2s, color .2s; }
.contact-social-links a:hover { background: var(--contact-teal); border-color: var(--contact-teal); color: #fff; }
.contact-form-card { overflow: hidden; border: 1px solid #dce7e9; border-radius: 20px; background: #fff; box-shadow: 0 16px 45px #0346560b; }
.contact-form-heading { display: flex; align-items: center; gap: 16px; padding: 26px 28px; border-bottom: 1px solid #dce7e9; background: #edf5f6; }
.contact-form-symbol { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 13px; background: var(--contact-teal); color: #fff; font-size: 19px; }
.contact-form-heading h2 { margin: 0 0 6px; color: var(--contact-ink); font-size: clamp(19px, 2vw, 23px); font-weight: 700; letter-spacing: -.025em; line-height: 1.35; }
.contact-form-heading p { margin: 0; color: #596f77; font-size: 11px; line-height: 1.6; }
.contact-message-form { padding: 28px; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.contact-field { min-width: 0; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field > label { display: block; margin-bottom: 8px; color: var(--contact-ink); font-size: 12px; font-weight: 650; }
.contact-field > label span { color: var(--contact-teal); }
.contact-page .contact-field .form-control { width: 100%; min-height: 46px; border: 1px solid #d6e2e5; border-radius: 9px; padding: 11px 13px; color: #304b55; background: #fbfcfd; font-size: 14px; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.contact-page .contact-field .form-control:focus { border-color: var(--contact-teal); background: #fff; box-shadow: 0 0 0 3px #04667c16; }
.contact-page .contact-field textarea.form-control { min-height: 150px; resize: vertical; }
.contact-page .contact-field .form-control.is-invalid { border-color: #b33f4a; padding-right: 32px; }
.contact-field .invalid-feedback, .contact-consent-error { margin-top: 7px; font-size: 12px; color: #b33f4a; }
.contact-consent { display: flex; align-items: flex-start; gap: 10px; margin: 20px 0; color: #596f77; font-size: 12px; line-height: 1.75; cursor: pointer; }
.contact-consent input { flex-shrink: 0; width: 17px; height: 17px; margin-top: 2px; accent-color: var(--contact-teal); }
.contact-consent-error { margin-top: -12px; margin-bottom: 18px; }
.contact-form-actions { display: flex; justify-content: flex-end; }
.public-site .contact-page .btn.contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 46px; padding-inline: 24px; border: 1px solid transparent; border-radius: 9px; background: var(--contact-orange); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 5px 14px #f392001a; }
.public-site .contact-page .btn.contact-submit:is(:hover, :focus-visible, :active) { border-color: transparent; background: #df8500; color: #fff; }
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .contact-information, .contact-form-card { animation: contact-enter .55s ease both; }
    .contact-form-card { animation-delay: .08s; }
    @keyframes contact-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
}
@media (max-width: 991.98px) { .jcd-contact { grid-template-columns: 1fr; gap: 28px; } .contact-intro > p:last-child { max-width: 650px; } }
@media (max-width: 575.98px) {
    .contact-page-content { padding: 30px 0; }
    .contact-intro { margin-bottom: 20px; }
    .contact-details { gap: 10px; }
    .contact-detail { padding: 16px 13px; border-radius: 13px; }
    .contact-detail-icon { width: 36px; height: 36px; margin-bottom: 12px; font-size: 15px; }
    .contact-detail p { font-size: 12px; }
    .contact-form-heading { gap: 12px; padding: 20px; }
    .contact-form-symbol { width: 38px; height: 38px; }
    .contact-message-form { padding: 20px; }
    .contact-fields { grid-template-columns: 1fr; gap: 16px; }
    .contact-page .btn.contact-submit { width: 100%; }
}
@media (max-width: 359.98px) { .contact-details { grid-template-columns: 1fr; } }
