/* Feedback appears only after a submission requires it. */
.field-validation-valid { display: none; }
.field-validation-error { display: block; margin-top: 10px; color: #8b2036; font-size: 13px; line-height: 1.6; }
.field [aria-invalid="true"] { border-bottom-color: #8b2036; }
.inquiry-errors { margin: 0 0 30px; padding: 16px 20px; border: 1px solid #a83e53; color: #7a2033; font-size: 14px; line-height: 1.7; }
.inquiry-errors ul { margin: 0; padding-left: 20px; }
.section-alias { display: block; height: 0; }
#form-status[data-form-feedback] { display: flex; align-items: flex-start; gap: 9px; color: #274c7c; }
.success-icon { flex: 0 0 20px; width: 20px; height: 20px; }
.form-bottom button.profile-link { border: 1px solid #1769ff40; transition: color .3s, border-color .3s, box-shadow .3s; }
.form-bottom button.profile-link:is(:hover,:focus-visible) { background: #10243b; border-color: #1769ff; transform: none; }
.form-bottom button.profile-link:disabled::before { transform: translateX(-103%) skewX(-12deg); }

/* Retain the existing social and back-to-top controls at the footer edge. */
.footer-actions { display: flex; gap: .6rem; margin-left: auto; }
.footer-icon { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid #9aadc4; border-radius: 50%; color: var(--blue); background: transparent; }
.footer-icon:hover { color: white; transform: translateY(-4px); }

/* Keep mobile navigation available when scripting is disabled. */
@media (max-width: 700px) {
  html:not(.js) header { height: auto; min-height: 80px; flex-wrap: wrap; padding-top: 16px; }
  html:not(.js) nav { display: flex; position: static; width: 100%; padding-inline: 0; border-bottom: 0; }
  html:not(.js) .menu { display: none; }
}
