body[data-view="contact"] { display: flex; flex-direction: column; min-height: 100svh; }
.contact-page { width: min(1152px, 90%); margin-inline: auto; padding: 26px 0 clamp(56px, 8vw, 100px); flex: 1; }
.contact-page :where(h1,h2,p,dl,dt,dd) { margin: 0; }
.contact-page .breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: clamp(36px, 5vw, 64px); color: var(--muted); font-size: 14px; }
.tp-contact-link[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 8vw, 112px); align-items: start; }
.contact-intro h1 { margin-bottom: 20px; font-size: clamp(48px, 6vw, 80px); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; }
.contact-lead { max-width: 35ch; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); line-height: 1.65; }
.contact-details { margin-top: 38px; border-top: 1px solid var(--line); }
.contact-details > div { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.contact-details dt { color: var(--muted); font-size: 14px; }
.contact-details dd { font-weight: 500; overflow-wrap: anywhere; }
.contact-page .contact-placeholder-note { margin-top: 13px; color: var(--muted); font-size: 13px; }
.contact-help { margin-top: 30px; font-size: 14px; }
.contact-help a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; }
.contact-form-section { border-top: 1px solid var(--ink); padding-top: 24px; }
.contact-form-section h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; line-height: 1.2; letter-spacing: -.025em; }
.contact-page .contact-direct-email { margin-top: 12px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.contact-direct-email a { display: inline-block; min-height: 44px; padding-block: 9px; font-weight: 600; text-decoration: underline; text-underline-offset: .2em; }
.contact-page .contact-form-note { margin: 10px 0 26px; max-width: 51ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.contact-form { display: grid; gap: 20px; }
.contact-field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-field { display: grid; align-content: start; gap: 7px; font-size: 14px; font-weight: 600; }
.contact-field :where(input,select,textarea) { display: block; width: 100%; min-width: 0; border: 1px solid #8b99a5; border-radius: 6px; padding: 11px 12px; min-height: 46px; font: 400 16px/1.4 'DM Sans', Arial, sans-serif; color: var(--ink); background: #fffefa; caret-color: var(--accent); }
.contact-field :where(input,select,textarea):hover { border-color: var(--ink); }
.contact-field textarea { resize: vertical; min-height: 134px; }
.contact-field ::placeholder { color: #647081; opacity: 1; }
.contact-form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.contact-form-actions .quote-button { padding-inline: 20px; }
.contact-form-actions .quote-button:disabled { opacity: .55; cursor: not-allowed; }
.contact-form-actions > span { color: var(--muted); font-size: 13px; }
.contact-status { padding: 14px 16px; background: #e9efeb; border-radius: 6px; color: #234839; font-size: 14px; line-height: 1.6; }
.contact-status:empty { display: none; }
.contact-status.is-error { background: #f8e9e5; color: #842e22; }
.contact-page .contact-privacy-note { color: var(--muted); font-size: 13px; line-height: 1.6; }
.contact-policy {
  max-width: 72ch;
  margin-top: clamp(40px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.contact-policy h2 {
  scroll-margin-top: calc(var(--head-height, 72px) + 32px);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
}
.contact-policy h3 { margin: 26px 0 8px; font-size: 19px; }
.contact-policy p { margin-block: 8px; line-height: 1.65; }
.contact-policy a, .contact-privacy-note a { text-decoration: underline; text-underline-offset: .2em; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.contact-form-section noscript p { margin-top: 20px; color: var(--accent); font-size: 14px; }
@media (max-width: 850px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-lead { max-width: 54ch; }
  .contact-details { margin-top: 26px; }
  .contact-help { margin-top: 16px; }
}
@media (max-width: 540px) {
  .contact-page { width: auto; margin-inline: 18px; padding-top: 20px; }
  .contact-field-row { grid-template-columns: 1fr; gap: 20px; }
  .contact-details > div { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; }
  .contact-form-actions { align-items: stretch; flex-direction: column; }
}
