/* Contact is a task: direct details and a usable form share the first view. */
.contact-body { margin: 0; color: #17243b; background: #fff; font: 400 16px/1.65 Inter, system-ui, sans-serif; }
.contact-body *, .contact-body *::before, .contact-body *::after { box-sizing: border-box; }
.contact-body :where(h1,h2,h3,p,dl,dd) { margin: 0; }
.contact-body [hidden] { display: none !important; }
.contact-page { padding-block: 16px 64px; }
.contact-page a, .contact-footer a { color: #1d4ed8; text-underline-offset: .22em; }
.contact-page a:hover, .contact-footer a:hover { color: #153da8; text-decoration-thickness: 2px; }
.contact-page :focus-visible, .contact-footer :focus-visible { outline: 3px solid #2563eb; outline-offset: 4px; }
.contact-page ::selection { background: #dbeafe; color: #17243b; }
.contact-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 8px 24px; font-size: 14px; color: #506079; }
.contact-breadcrumbs a { color: #506079; }
.contact-primary { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); grid-template-rows: auto 1fr; gap: 32px 64px; align-items: start; }
.contact-intro { grid-column: 1; grid-row: 1; min-width: 0; padding-top: 8px; }
.contact-intro h1 { font-size: clamp(36px,4vw,48px); line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin-bottom: 20px; }
.contact-intro > p { max-width: 39ch; font-size: 18px; line-height: 1.65; color: #475569; }
.contact-person { font-style: normal; margin-top: 32px; display: grid; justify-items: start; gap: 8px; }
.contact-person strong { font-weight: 600; }
.contact-person a { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.contact-person a[href^="tel:"] { color: #17243b; font-size: 20px; }
.contact-direct { grid-column: 1; grid-row: 2; min-width: 0; max-width: 43ch; padding-top: 8px; }
.contact-direct h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 12px; }
.contact-direct p { color: #475569; margin-bottom: 12px; }
.contact-direct a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.contact-writing-tip { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d5deea; }
.contact-writing-tip p { font-size: 15px; }
.contact-form-panel { grid-column: 2; grid-row: 1 / span 2; min-width: 0; padding: 32px; border: 1px solid #d5deea; border-radius: 16px; background: #f8fafc; }
.contact-form-panel h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; margin-bottom: 8px; }
.contact-form-intro { color: #506079; font-size: 14px; margin-bottom: 24px !important; }
.contact-form { display: grid; gap: 20px; }
.contact-fields { display: grid; gap: 20px; min-width: 0; margin: 0; padding: 0; border: 0; }
.contact-field-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 16px; }
.contact-field { min-width: 0; }
.contact-field label { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; margin-bottom: 8px; }
.contact-field label span { color: #506079; font-weight: 400; }
.contact-field :is(input,textarea) { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #7c8a9b; border-radius: 8px; font: inherit; font-size: 16px; line-height: 1.5; color: #17243b; background: #fff; caret-color: #1d4ed8; }
.contact-field textarea { min-height: 144px; resize: vertical; }
.contact-field :is(input,textarea)::placeholder { color: #64748b; opacity: 1; }
.contact-field :is(input,textarea):hover { border-color: #506079; }
.contact-field :is(input,textarea)[aria-invalid="true"] { border: 2px solid #b91c1c; padding: 10px 11px; }
.contact-field-error { color: #b91c1c; font-size: 14px; line-height: 1.5; margin-top: 6px !important; }
.contact-optional { border-top: 1px solid #d5deea; border-bottom: 1px solid #d5deea; padding-block: 4px; }
.contact-optional summary { min-height: 44px; padding-block: 10px; cursor: pointer; font-size: 14px; font-weight: 600; color: #40506a; }
.contact-optional[open] summary { margin-bottom: 12px; }
.contact-optional .contact-field-row { padding-bottom: 16px; }
.contact-consent { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; }
.contact-consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: #2563eb; }
.contact-consent label { font-size: 13px; line-height: 1.6; color: #475569; cursor: pointer; }
.contact-submit, .contact-again { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font: 600 16px/1.5 Inter,system-ui,sans-serif; cursor: pointer; transition: background-color 140ms ease; }
.contact-submit { width: 100%; }
.contact-submit:hover, .contact-again:hover { background: #1d4ed8; }
.contact-submit:active, .contact-again:active { background: #1e40af; }
.contact-submit:disabled { background: #506079; cursor: wait; }
.contact-status { font-size: 14px; line-height: 1.6; color: #475569; overflow-wrap: anywhere; }
.contact-status:empty { display: none; }
.contact-status[data-state="error"] { color: #991b1b; }
.contact-preview-note { padding: 12px 16px; margin-bottom: 20px !important; background: #eff6ff; color: #1e40af; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.contact-success { padding-block: 24px; }
.contact-success h3 { font-size: 24px; line-height: 1.35; margin-bottom: 12px; }
.contact-success p { color: #475569; margin-bottom: 24px; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-details { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; border-top: 1px solid #d5deea; margin-top: 64px; padding-top: 40px; }
.contact-details > section { min-width: 0; }
.contact-details h2 { font-size: 20px; line-height: 1.35; letter-spacing: -.015em; margin-bottom: 16px; }
.contact-details :where(p,dl) { font-size: 15px; color: #475569; }
.contact-details p + p { margin-top: 12px; }
.contact-details a { overflow-wrap: anywhere; }
.contact-company { margin-top: 16px !important; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.contact-company dt { font-weight: 600; color: #17243b; }
.contact-help { border-top: 1px solid #d5deea; margin-top: 48px; padding-top: 32px; max-width: 74ch; }
.contact-help h2 { font-size: 24px; line-height: 1.35; letter-spacing: -.02em; margin-bottom: 20px; }
.contact-help h3 { font-size: 16px; line-height: 1.5; margin-top: 24px; margin-bottom: 8px; }
.contact-help p { color: #475569; }
.contact-footer { padding-block: 32px; border-top: 1px solid #d5deea; background: #f8fafc; font-size: 14px; color: #506079; }
.contact-footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 12px; }
.contact-footer-links a { display: inline-flex; min-height: 44px; align-items: center; }
@media (max-width: 1000px) { .contact-primary { column-gap: 32px; } .contact-form-panel { padding: 24px; } .contact-field-row { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 767px) {
  .contact-page { padding-block: 12px 40px; }
  .contact-primary { display: flex; flex-direction: column; gap: 28px; }
  .contact-primary > * { width: 100%; }
  .contact-intro { padding-top: 0; }
  .contact-intro h1 { margin-bottom: 12px; }
  .contact-intro > p { font-size: 16px; max-width: 48ch; }
  .contact-person { margin-top: 20px; gap: 0; }
  .contact-person a { font-size: 20px; }
  .contact-person a[href^="tel:"] { font-size: 18px; }
  .contact-form-panel { padding: 24px 20px; }
  .contact-direct { max-width: none; padding-top: 4px; }
  .contact-details { grid-template-columns: minmax(0,1fr); gap: 32px; margin-top: 40px; padding-top: 32px; }
  .contact-help { margin-top: 32px; padding-top: 28px; }
}
@media (max-width: 360px) { .contact-form-panel { padding: 20px 16px; } }
@media (prefers-reduced-motion: reduce) { .contact-submit, .contact-again { transition: none; } }
