.apm-contact-page {
  --apm-contact-navy: #102b3e;
  --apm-contact-navy-2: #17394f;
  --apm-contact-blue: #08bfee;
  --apm-contact-blue-dark: #087fa1;
  --apm-contact-yellow: #ffd21f;
  --apm-contact-text: #263f50;
  --apm-contact-muted: #657986;
  --apm-contact-line: #dce5ea;
  --apm-contact-bg: #f5f8fa;
  --apm-contact-white: #fff;
  --apm-contact-danger: #b42318;
  --apm-contact-danger-bg: #fff4f2;
  --apm-contact-success: #16794a;
  --apm-contact-success-bg: #effaf4;
  color: var(--apm-contact-text);
  background: linear-gradient(180deg, #f7fafb 0, #fff 420px);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.7;
  padding: 28px 20px 76px;
  width: 100%;
  box-sizing: border-box;
}

.apm-contact-page *,
.apm-contact-page *::before,
.apm-contact-page *::after { box-sizing: border-box; }

.apm-contact-page :where(h1,h2,h3,p) { margin-top: 0; }
.apm-contact-page :where(p,h1,h2,h3,a,label,strong,span) { word-break: normal; overflow-wrap: break-word; }
.apm-contact-page svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.apm-contact-container { width: min(1200px, 100%); margin: 0 auto; }


.apm-contact-layout { display: grid; grid-template-columns: minmax(320px, .82fr) minmax(0, 1.35fr); gap: 28px; align-items: start; }
.apm-contact-sidebar,
.apm-contact-form-card { background: var(--apm-contact-white); border: 1px solid var(--apm-contact-line); border-radius: 18px; box-shadow: 0 10px 32px rgba(16,43,62,.055); }
.apm-contact-sidebar { padding: 22px; }
.apm-contact-channel-list { display: grid; gap: 14px; }
.apm-contact-channel-card,
.apm-contact-hours-card { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 18px 18px; border: 1px solid var(--apm-contact-line); border-radius: 16px; background: #fff; }
.apm-contact-channel-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #edf8fb; color: var(--apm-contact-blue-dark); }
.apm-contact-channel-body { min-width: 0; }
.apm-contact-channel-body h2 { margin: 0 0 4px; color: var(--apm-contact-navy); font-size: 20px; line-height: 1.35; font-weight: 700; }
.apm-contact-value { display: block; margin: 0; color: var(--apm-contact-navy-2); font-size: 15px; line-height: 1.6; font-weight: 650; }
.apm-contact-line-value,
.apm-contact-email-value { font-size: 14px; overflow-wrap: anywhere; }
.apm-contact-channel-action,
.apm-contact-location a,
.apm-contact-text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 10px; color: var(--apm-contact-blue-dark); font-size: 14px; line-height: 1.5; font-weight: 700; text-decoration: none; }
.apm-contact-channel-action:hover,
.apm-contact-location a:hover,
.apm-contact-text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.apm-contact-channel-action svg,
.apm-contact-location a svg { width: 16px; height: 16px; }
.apm-contact-hours-card { grid-template-columns: 24px 1fr; gap: 12px; padding: 16px 18px; background: #f7fafb; }
.apm-contact-hours-card > svg { color: var(--apm-contact-blue-dark); }
.apm-contact-hours-card strong { display: block; margin-bottom: 2px; color: var(--apm-contact-navy); font-size: 14px; }
.apm-contact-hours-card span { display: block; color: var(--apm-contact-muted); font-size: 14px; line-height: 1.6; }

.apm-contact-form-card { padding: 30px; scroll-margin-top: 110px; }
.apm-contact-form-head { margin-bottom: 18px; }
.apm-contact-form-alert { margin: 0 0 20px; padding: 13px 15px; border: 1px solid #f4c7c2; border-radius: 10px; background: var(--apm-contact-danger-bg); color: var(--apm-contact-danger); font-size: 14px; line-height: 1.65; }
.apm-contact-form { position: relative; }
.apm-contact-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.apm-contact-field { margin-bottom: 16px; }
.apm-contact-field label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; color: var(--apm-contact-navy); font-size: 15px; line-height: 1.5; font-weight: 650; }
.apm-contact-field label > span { color: var(--apm-contact-danger); }
.apm-contact-field label small { color: var(--apm-contact-muted); font-size: 12px; font-weight: 500; }
.apm-contact-field input,
.apm-contact-field textarea { display: block; width: 100%; min-height: 46px; margin: 0; padding: 11px 13px; border: 1px solid #cfdbe2; border-radius: 9px; outline: 0; background: #fff; color: var(--apm-contact-navy); font: inherit; font-size: 16px; line-height: 1.55; transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease; }
.apm-contact-field textarea { min-height: 170px; resize: vertical; }
.apm-contact-field input::placeholder,
.apm-contact-field textarea::placeholder { color: #8a9aa4; opacity: 1; }
.apm-contact-field input:hover,
.apm-contact-field textarea:hover { border-color: #aabdc8; }
.apm-contact-field input:focus,
.apm-contact-field textarea:focus { border-color: var(--apm-contact-blue-dark); box-shadow: 0 0 0 3px rgba(8,191,238,.14); }
.apm-contact-field input[aria-invalid="true"],
.apm-contact-field textarea[aria-invalid="true"] { border-color: #d64a40; background: #fffafa; }
.apm-contact-field-error { min-height: 19px; margin: 5px 0 0; color: var(--apm-contact-danger); font-size: 13px; line-height: 1.45; }
.apm-contact-field-hint { margin: 6px 0 0; color: var(--apm-contact-muted); font-size: 12px; line-height: 1.5; }
.apm-contact-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.apm-contact-turnstile { margin: 4px 0 14px; }
.apm-contact-turnstile .cf-turnstile,
.apm-contact-turnstile .apm-contact-turnstile-widget { max-width: 100%; min-height: 0; }
.apm-contact-turnstile .cf-turnstile-br { display: none; }
.apm-contact-security-text { margin: 4px 0 0; color: var(--apm-contact-muted); font-size: 12px; line-height: 1.45; }
.apm-contact-security-note { margin: 2px 0 21px; padding: 12px 14px; border-radius: 9px; font-size: 13px; line-height: 1.6; }
.apm-contact-security-note.is-error { border: 1px solid #f4c7c2; background: var(--apm-contact-danger-bg); color: var(--apm-contact-danger); }
.apm-contact-form-footer { display: flex; align-items: center; gap: 12px; }
.apm-contact-submit,
.apm-contact-quote-button { min-height: 46px; border: 0; border-radius: 9px; cursor: pointer; text-decoration: none; transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, opacity .16s ease; }
.apm-contact-submit { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-width: 150px; padding: 11px 20px; background: var(--apm-contact-yellow); color: #172a35; font: inherit; font-size: 15px; line-height: 1.45; font-weight: 750; }
.apm-contact-submit:hover:not(:disabled),
.apm-contact-quote-button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(16,43,62,.13); }
.apm-contact-submit:disabled { cursor: not-allowed; opacity: .52; transform: none; box-shadow: none; }
.apm-contact-submit.is-loading svg { animation: apm-contact-arrow-pulse .75s ease-in-out infinite alternate; }
.apm-contact-form-footer > p { display: none; }

.apm-contact-success { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 24px; border: 1px solid #bfe4cf; border-radius: 13px; background: var(--apm-contact-success-bg); outline: 0; }
.apm-contact-success.has-mail-warning { border-color: #f2d39a; background: #fff9ec; }
.apm-contact-success-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #d9f3e5; color: var(--apm-contact-success); }
.apm-contact-success.has-mail-warning .apm-contact-success-icon { background: #fff0c9; color: #9b6100; }
.apm-contact-success-icon svg { width: 24px; height: 24px; stroke-width: 2.2; }
.apm-contact-success h2 { margin: 0 0 7px; color: var(--apm-contact-navy); font-size: 23px; line-height: 1.35; }
.apm-contact-success p { margin: 0 0 14px; color: var(--apm-contact-text); font-size: 14px; line-height: 1.7; }
.apm-contact-reference { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.apm-contact-reference span { color: var(--apm-contact-muted); font-size: 12px; }
.apm-contact-reference strong { color: var(--apm-contact-navy); font-size: 15px; letter-spacing: .02em; }

.apm-contact-location { display: grid; grid-template-columns: 46px 1fr; gap: 16px; margin-top: 22px; padding: 24px 28px; border-top: 1px solid var(--apm-contact-line); }
.apm-contact-location-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: #edf8fb; color: var(--apm-contact-blue-dark); }
.apm-contact-location h2 { margin: 0 0 5px; color: var(--apm-contact-navy); font-size: 20px; }
.apm-contact-location p { margin: 0 0 8px; color: var(--apm-contact-muted); font-size: 14px; line-height: 1.75; }

.apm-contact-page a:focus-visible,
.apm-contact-page button:focus-visible,
.apm-contact-page input:focus-visible,
.apm-contact-page textarea:focus-visible { outline: 3px solid rgba(8,191,238,.32); outline-offset: 2px; }

@keyframes apm-contact-arrow-pulse { from { transform: translateX(0); } to { transform: translateX(3px); } }

@media (max-width: 960px) {
  .apm-contact-layout { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 720px) {
  .apm-contact-page { padding: 16px 16px 94px; }
  .apm-contact-sidebar { padding: 16px; }
  .apm-contact-channel-list { gap: 12px; }
  .apm-contact-channel-card { grid-template-columns: 46px 1fr; gap: 12px; padding: 16px; }
  .apm-contact-channel-icon { width: 46px; height: 46px; border-radius: 12px; }
  .apm-contact-channel-body h2 { font-size: 18px; }
  .apm-contact-form-card { padding: 23px 20px; }
  .apm-contact-two-col { grid-template-columns: 1fr; gap: 0; }
  .apm-contact-field label { display: block; }
  .apm-contact-field label small { margin-left: 6px; }
  .apm-contact-form-footer { align-items: stretch; flex-direction: column; }
  .apm-contact-submit { width: 100%; }
  .apm-contact-success { grid-template-columns: 1fr; padding: 21px 18px; }
  .apm-contact-location { padding: 22px 4px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .apm-contact-page *,
  .apm-contact-page *::before,
  .apm-contact-page *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
