/* Contact-only surfaces: white, pale blue and the existing brand blue. */
.contact-office {
  --section-scroll: #378aca;
  padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
  background-image: radial-gradient(ellipse at 8% 40%, #e7f3ff 0, transparent 55%), linear-gradient(180deg, #fff 0%, #f2f9ff 100%);
}
.contact-section-heading { max-width: 690px; margin: 0 auto 32px; text-align: center; }
.contact-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: #1676bc; font-size: .85rem; font-weight: 700; margin-bottom: 12px; }
.contact-section-heading h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.4; margin: 0 0 12px; color: #203d50; }
.contact-section-heading p { margin: 0; color: #657d90; line-height: 1.85; }
.contact-channel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 28px; }
.contact-channel {
  display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 26px 22px;
  color: #29485f; background: #fff; border: 1px solid #dceaf5; border-radius: 18px;
  box-shadow: 0 6px 24px #174d7610; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-channel:hover { color: #176fba; text-decoration: none; border-color: #9dcef3; transform: translateY(-3px); box-shadow: 0 12px 28px #174d7618; }
.contact-channel:focus-visible, .contact-directions:focus-visible { outline: 3px solid #2e99ed; outline-offset: 4px; }
.contact-channel-icon { display: grid; place-items: center; flex: 0 0 44px; height: 44px; border: 1px solid #dcefff; border-radius: 13px; color: #1686da; background: linear-gradient(145deg, #e9f5ff, #f5fbff); }
.contact-channel-copy { display: grid; gap: 6px; min-width: 0; }
.contact-channel-label { font-size: .9rem; color: #637f92; }
.contact-channel-copy strong { display: inline-block; width: fit-content; max-width: 100%; font-size: 1.08rem; line-height: 1.55; color: #203d50; overflow-wrap: anywhere; }
.contact-channel-note { font-size: .8rem; line-height: 1.7; color: #7890a2; }
.contact-channel-arrow { display: none; color: #459bdd; align-self: center; margin-inline-start: auto; }
[dir="rtl"] :is(.contact-channel-arrow, .contact-directions) > svg { transform: rotate(180deg); }
.contact-location { display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; border: 1px solid #dceaf5; border-radius: 24px; background: #fff; box-shadow: 0 12px 38px #174d7610; }
.contact-location-copy { padding: clamp(28px, 4vw, 44px); align-self: center; }
.contact-location-copy h2 { margin: 0 0 20px; color: #203d50; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.5; }
.contact-location-copy address { display: grid; gap: 3px; font-size: 1rem; font-style: normal; line-height: 1.75; color: #3f6179; margin-bottom: 16px; }
.contact-location-copy p { font-size: .9rem; line-height: 1.9; color: #7890a2; margin-bottom: 22px; }
.contact-directions { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px; border-radius: 12px; font-size: .95rem; }
.contact-directions svg { width: 19px; height: 19px; }
.contact-map-panel { display: flex; flex-direction: column; min-width: 0; background: #f0f7fd; border-inline-start: 1px solid #e2edf6; }
.contact-map-caption { display: flex; align-items: center; gap: 9px; padding: 16px 22px; font-size: .85rem; color: #426a87; background: #f8fbff; border-bottom: 1px solid #e2edf6; }
.contact-map-caption svg { width: 18px; height: 18px; color: #2389d1; }
.contact-location .contact-map { flex: 1; width: 100%; min-height: 340px; height: 100%; }
.contact-message { --section-scroll: #4599db; padding-top: clamp(36px, 5vw, 64px); background-image: linear-gradient(180deg, #f2f9ff 0%, #f9fcff 60%, #fff 100%); }
.contact-message .section-title { margin-bottom: 28px; }
.contact-message .section-title h3 { color: #203d50; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.4; margin-bottom: 12px; }
.contact-message .section-title .lead { color: #657d90; font-size: 1rem; }
.contact-message .contact-form { border-color: #d9e8f4; border-radius: 22px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 12px 40px #174d7610; scroll-margin-top: 110px; }
.contact-message .contact-form .form-group { margin-bottom: 22px; }
.contact-message .contact-form label { font-size: .9rem; margin-bottom: 9px; color: #3e5e76; }
.contact-message .contact-form .form-control { background: #fbfdff; border-color: #d9e5ef; min-height: 50px; border-radius: 11px; padding: 12px 14px; font-size: .95rem; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.contact-message .contact-form .form-control:focus { background: #fff; border-color: #65b0e9; box-shadow: 0 0 0 3px #258fdf18; }
.contact-message .contact-form textarea.form-control { min-height: 155px; resize: vertical; line-height: 1.8; }
.contact-message .contact-form button[type="submit"] { min-height: 49px; padding: 12px 30px; border-radius: 11px; box-shadow: 0 6px 18px #168bee24; }
.contact-message .contact-form .alert { border-radius: 11px; }
.contact-form-mark { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; background: linear-gradient(145deg, #e1f1ff, #fff); border: 1px solid #d4e8f8; border-radius: 16px; color: #1686da; }
.contact-input { position: relative; }
.contact-input-icon { position: absolute; inset-inline-start: 15px; top: 15px; display: flex; color: #6b99ba; pointer-events: none; }
.contact-input-icon svg { width: 20px; height: 20px; }
.contact-message .contact-input .form-control { padding-left: 46px; padding-right: 14px; }
[dir="rtl"] .contact-message .contact-input .form-control { padding-left: 14px; padding-right: 46px; }
.contact-input:focus-within .contact-input-icon { color: #178bdc; }
.contact-message #msg { scroll-margin-top: 105px; }
.contact-message > .divider { margin-top: 32px; }
@media (max-width: 991.98px) {
  .contact-channel-grid { gap: 14px; }
  .contact-channel { flex-direction: column; padding: 22px 18px; }
  .contact-channel-copy strong { font-size: .98rem; }
  .contact-location { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767.98px) {
  .contact-channel-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-channel { flex-direction: row; align-items: center; padding: 20px; gap: 16px; }
  .contact-channel-copy strong { font-size: 1.05rem; }
  .contact-channel-arrow { display: block; }
  .contact-location { grid-template-columns: 1fr; border-radius: 20px; }
  .contact-map-panel { border-inline-start: 0; border-top: 1px solid #e2edf6; }
  .contact-location .contact-map { min-height: 290px; height: 290px; }
  .contact-section-heading { margin-bottom: 26px; }
  .contact-message .contact-form { border-radius: 18px; }
}
@media (max-width: 575.98px) {
  .contact-message .contact-form button[type="submit"] { width: 100%; }
  .contact-message .contact-form .d-flex.justify-content-end { width: 100%; }
  .contact-message .contact-form .form-group { margin-bottom: 18px; }
  .contact-channel-arrow svg { width: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-channel, .contact-message .contact-form .form-control { transition: none; }
  .contact-channel:hover { transform: none; }
}
