/* Contact and Footer are isolated from the production website. */
.hx-contact, .hx-footer { background: var(--hx-paper); color: var(--hx-ink); font-family: var(--hx-ui); }
.hx-contact { padding: 80px var(--hx-pad) 64px; scroll-margin-top: var(--hx-nav-h); overflow-x: clip; }
.hx-contact__inner { max-width: 1200px; margin-inline: auto; }
.hx-footer__inner { max-width: 1328px; margin-inline: auto; }
.hx-contact__header { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 48px; align-items: center; padding-bottom: 40px; position: relative; }
.hx-contact__header::after { content: ''; position: absolute; inset: auto 0 0; height: 1px; background: var(--hx-hairline); transform-origin: left; }
.hx-contact__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .08em; color: #E3010C; }
.hx-contact__eyebrow::before { content:''; width:28px; height:2px; background:currentColor; }
.hx-contact__title-mask { overflow: clip; padding-bottom: 3px; margin-bottom: -3px; }
.hx-contact h2 { margin: 0; font-size: 36px; line-height: 42px; font-weight: 600; letter-spacing: -.04em; }
.hx-contact__title-text { display: block; }
.hx-contact__intro { max-width: 620px; margin: 12px 0 0; font-size: 18px; line-height: 28px; }
.hx-contact .hx-contact__phone { display: inline-flex; align-items: baseline; gap: 16px; color: var(--hx-ink); font-size: clamp(24px,2.35vw,34px); line-height: 1.3; font-weight: 600; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.hx-contact__phone .hx-contact__arrow { color: #E3010C; font-size: 24px; }
.hx-contact__body { display: grid; grid-template-columns: minmax(0,.38fr) minmax(0,.62fr); gap: 56px; margin-top: 36px; align-items: start; }
.hx-contact__info { display: grid; gap: 0; }
.hx-contact__column-title { margin:0 0 24px; font-size:20px; line-height:28px; font-weight:600; letter-spacing:-.025em; }
.hx-contact__info-group { display:grid; grid-template-columns:64px minmax(0,1fr); column-gap:20px; margin: 0; padding:20px 0; border-bottom:1px solid var(--hx-hairline); }
.hx-contact__info-group:last-child { border-bottom:0; }
.hx-contact__info dt { padding-top:2px; font-size: 14px; line-height: 22px; color: #56585E; }
.hx-contact__info dd { margin: 0; font-size: 17px; line-height: 27px; overflow-wrap:anywhere; }
.hx-contact a { color: inherit; }
.hx-contact__form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px 24px; min-width: 0; border-left:1px solid var(--hx-hairline); padding-left:36px; }
.hx-contact__form-heading { grid-column:1/-1; }
.hx-contact__form-heading .hx-contact__column-title { margin-bottom:6px; }
.hx-contact__form-hint { margin: 0; color: #56585E; font-size: 14px; line-height: 22px; }
.hx-contact__required { color: #E3010C; }
.hx-contact__field { min-width: 0; }
.hx-contact__field label { display: block; margin-bottom:8px; font-size: 16px; font-weight: 500; line-height: 24px; }
.hx-contact__field input, .hx-contact__field select, .hx-contact__field textarea { display: block; width: 100%; min-height: 50px; border: 1px solid #ABADA8; border-radius: 0; padding: 11px 12px; background: transparent; color: var(--hx-ink); font: 400 17px/26px var(--hx-ui); }
.hx-contact__field input::placeholder, .hx-contact__field textarea::placeholder { color: #686B70; opacity: 1; }
.hx-contact__field select { cursor: pointer; padding-right: 28px; }
.hx-contact__field select:invalid { color: #686B70; }
.hx-contact__field option { color: var(--hx-ink); background: var(--hx-paper); }
.hx-contact__field textarea { min-height: 112px; resize: vertical; }
.hx-contact__field input:focus, .hx-contact__field select:focus, .hx-contact__field textarea:focus { outline: 2px solid #E3010C; outline-offset: 4px; border-bottom-color: #E3010C; }
.hx-contact__field [aria-invalid=true] { border-color: #E3010C; }
.hx-contact__error { margin: 8px 0 0; color: #B10009; font-size: 14px; line-height: 22px; }
.hx-contact__full { grid-column: 1/-1; }
.hx-contact__summary, .hx-contact__handoff { margin: 0; font-size: 16px; line-height: 25px; }
.hx-contact__summary { padding-left: 14px; border-left: 2px solid #E3010C; }
.hx-contact__submit-row { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.hx-contact__delivery { max-width: 520px; margin: 0; color: #56585E; font-size: 14px; line-height: 22px; }
.hx-contact__submit { display: inline-flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 54px; padding: 15px 22px; border: 1px solid var(--hx-ink); border-radius: 0; background: var(--hx-ink); color: var(--hx-paper); font: 500 16px/22px var(--hx-ui); text-align: left; cursor: pointer; transition: background-color 180ms ease, border-color 180ms ease; }
.hx-contact__submit .hx-contact__arrow { color: #FF434B; }
.hx-contact__submit:disabled { cursor: default; opacity: .65; }
.hx-contact__map { margin: 40px 0 0; }
.hx-contact__map-window { position: relative; height: 280px; background: #E5E5DF; overflow: hidden; }
.hx-contact__map iframe { display: block; width: 100%; height: 100%; border: 0; pointer-events: none; }
.hx-contact__map.is-active iframe { pointer-events: auto; }
.hx-contact__map-toggle { position: absolute; right: 16px; top: 16px; z-index: 1; border: 1px solid #8C8E8B; padding: 10px 14px; min-height: 44px; color: var(--hx-ink); background: var(--hx-paper); font: 500 14px/22px var(--hx-ui); cursor: pointer; }
.hx-contact__map figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding-top: 16px; font-size: 15px; line-height: 24px; }
.hx-contact__map figcaption p { margin: 0; max-width: 720px; }
.hx-contact__map-fallback { font-size: 14px; line-height: 22px; color: #56585E; margin: 12px 0 0; }
.hx-contact .hx-contact__link, .hx-footer__link { width: fit-content; text-decoration: none; background: linear-gradient(currentColor,currentColor) left bottom / 100% 1px no-repeat; padding-bottom: 3px; transition: background-size 180ms ease, color 180ms ease; }
.hx-contact__arrow { display: inline-block; transition: transform 180ms ease; }
.hx-contact :is(a,button):focus-visible, .hx-footer a:focus-visible { outline: 2px solid #E3010C; outline-offset: 5px; }
.hx-contact [hidden] { display: none !important; }
.hx-contact__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hx-footer { padding: 0 var(--hx-pad) 28px; }
.hx-footer__inner { border-top: 1px solid #0B0C0E; padding-top: 40px; }
.hx-footer__main { display: grid; grid-template-columns: minmax(160px,.38fr) minmax(0,.4fr) minmax(160px,.22fr); gap: 48px; align-items: start; }
.hx-footer__logo { display: block; width: 176px; }
.hx-footer__logo img { display: block; width: 100%; height: auto; }
.hx-footer__nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 32px; }
.hx-footer a { color: var(--hx-ink); }
.hx-footer__nav a, .hx-footer__social a, .hx-footer__top { font-size: 15px; line-height: 24px; }
.hx-footer__nav a { text-decoration: none; width: fit-content; }
.hx-footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 30px; }
.hx-footer__social { display: flex; gap: 22px; }
.hx-footer__top { text-decoration: none; }
.hx-footer__legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hx-hairline); color: #56585E; font-size: 14px; line-height: 22px; }
.hx-footer__legal p { margin: 0; }
.hx-footer__credit { white-space: nowrap; }
.hx-footer__credit a { margin-left: 5px; }
@media (hover:hover) and (pointer:fine) {
 .hx-contact a:hover .hx-contact__arrow, .hx-contact__submit:hover .hx-contact__arrow, .hx-footer a:hover .hx-contact__arrow { transform: translate(3px,-3px); }
 .hx-contact .hx-contact__link:hover, .hx-footer__link:hover { background-size: 65% 1px; }
 .hx-contact__submit:hover { background: #E3010C; border-color: #E3010C; }
 .hx-contact__submit:hover .hx-contact__arrow { color: var(--hx-paper); }
 .hx-footer__nav a:hover, .hx-footer__top:hover { text-decoration: underline; text-underline-offset: 5px; }
}
/* Enhance only after the observer exists; readable without animation or JavaScript. */
.hx-contact[data-contact-entrance] .hx-contact__title-text { transform: translateX(-36px); transition: transform 400ms cubic-bezier(.16,1,.3,1); }
.hx-contact[data-contact-entrance] .hx-contact__phone { transform: translateX(36px); transition: transform 400ms cubic-bezier(.16,1,.3,1); }
.hx-contact[data-contact-entrance] .hx-contact__header::after { transform: scaleX(0); transition: transform 420ms ease; }
.hx-contact [data-contact-rise] { --contact-delay: 0ms; }
.hx-contact[data-contact-entrance] [data-contact-rise] { transform: translateY(20px); transition: transform 400ms cubic-bezier(.16,1,.3,1); transition-delay: var(--contact-delay); }
.hx-contact[data-contact-entrance] .hx-contact__map-window { clip-path: inset(0 0 14%); transition: clip-path 450ms cubic-bezier(.16,1,.3,1); }
.hx-contact.is-visible .hx-contact__title-text, .hx-contact.is-visible .hx-contact__phone, .hx-contact.is-visible .hx-contact__header::after, .hx-contact.is-visible [data-contact-rise] { transform: none; }
.hx-contact.is-visible .hx-contact__map-window { clip-path: inset(0); }
.hx-contact.is-instant *, .hx-contact.is-instant *::after { transition: none !important; }
@media (min-width:768px) and (max-width:1099px) {
 .hx-contact { padding-inline: 32px; }
 .hx-contact__header { gap: 28px; }
 .hx-contact__body { gap: 32px; }
 .hx-contact__form { padding-left:24px; }
 .hx-contact__info-group { display:block; }
 .hx-contact__info dt { margin-bottom:6px; }
 .hx-footer { padding-inline: 32px; }
 .hx-footer__main { grid-template-columns: 160px minmax(0,1fr); gap: 32px; }
 .hx-footer__right { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width:767px) {
 .hx-contact { padding: 64px 24px 56px; }
 .hx-contact__header { grid-template-columns: minmax(0,1fr); gap: 24px; padding-bottom: 28px; }
 .hx-contact__eyebrow { margin-bottom: 12px; font-size: 12px; line-height: 18px; }
 .hx-contact h2 { font-size: 30px; line-height: 36px; }
 .hx-contact__intro { font-size: 16px; line-height: 25px; margin-top: 10px; }
 .hx-contact .hx-contact__phone { font-size: clamp(24px,7vw,28px); gap: 12px; white-space: normal; width: fit-content; max-width: 100%; }
 .hx-contact__body { display: flex; flex-direction: column; gap: 40px; margin-top: 28px; }
 .hx-contact__form { order: -1; width: 100%; grid-template-columns: minmax(0,1fr); gap: 20px; border-left:0; padding-left:0; }
 .hx-contact__field input, .hx-contact__field select, .hx-contact__field textarea { font-size: 16px; line-height: 25px; }
 .hx-contact__delivery { font-size: 14px; line-height: 22px; }
 .hx-contact__submit { width: 100%; padding-inline: 18px; gap: 12px; }
 .hx-contact__info { width: 100%; }
 .hx-contact__column-title { margin-bottom:8px; }
 .hx-contact__info-group { grid-template-columns:64px minmax(0,1fr); gap:16px; padding-block:16px; }
 .hx-contact__info dd { font-size: 16px; line-height: 25px; }
 .hx-contact__map { margin-top: 36px; }
 .hx-contact__map-window { height: 260px; }
 .hx-contact__map figcaption { flex-direction: column; gap: 12px; font-size: 16px; line-height: 25px; }
 .hx-contact__map-toggle { top: 12px; right: 12px; }
 .hx-footer { padding: 0 24px 28px; }
 .hx-footer__inner { padding-top: 32px; }
 .hx-footer__main { display: flex; flex-direction: column; gap: 28px; }
 .hx-footer__logo { width: 152px; }
 .hx-footer__nav { width: 100%; gap: 14px 24px; }
 .hx-footer__nav a, .hx-footer__social a, .hx-footer__top { font-size: 16px; line-height: 25px; }
 .hx-footer__right { align-items: flex-start; gap: 24px; }
 .hx-footer__legal { flex-direction: column; gap: 12px; margin-top: 28px; padding-top: 22px; font-size: 14px; line-height: 23px; }
}
@media (prefers-reduced-motion:reduce) {
 .hx-contact *, .hx-contact *::after, .hx-footer * { transition: none !important; }
 .hx-contact[data-contact-entrance] .hx-contact__title-text, .hx-contact[data-contact-entrance] .hx-contact__phone, .hx-contact[data-contact-entrance] .hx-contact__header::after, .hx-contact[data-contact-entrance] [data-contact-rise] { transform: none; }
 .hx-contact[data-contact-entrance] .hx-contact__map-window { clip-path: none; }
}
