/* Contact Us page: form states the design does in React (focus/error borders). */
.ex-contact-input { color: rgb(58, 64, 71); }
.ex-contact-input::placeholder { color: rgba(58, 64, 71, 0.45); }
.ex-contact-input:focus { border-color: rgb(214, 173, 96); }
.ex-contact-input.is-invalid,
.ex-contact-input.is-invalid:focus { border-color: var(--color-red-400, #f87171); }
.ex-contact-email { overflow-wrap: anywhere; }
.ex-contact-card { scroll-margin-top: 90px; }

/* Styled "Area of interest" dropdown (contact.js enhances select[data-ex-select]). */
.ex-select { position: relative; }
.ex-select .ex-select-native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.ex-select .ex-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; user-select: none; text-align: left; }
.ex-select .ex-select-trigger:focus,
.ex-select.is-open .ex-select-trigger { border-color: rgb(214, 173, 96); outline: none; }
.ex-select .ex-select-trigger.is-invalid { border-color: var(--color-red-400, #f87171); }
.ex-select .ex-select-trigger.is-placeholder .ex-select-value { color: rgba(58, 64, 71, 0.55); }
.ex-select .ex-select-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ex-select .ex-select-chevron { flex-shrink: 0; color: rgb(214, 173, 96); transition: transform 0.25s ease; }
.ex-select.is-open .ex-select-chevron { transform: rotate(180deg); }

.ex-select .ex-select-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  margin: 0; padding: 8px; list-style: none;
  max-height: 300px; overflow-y: auto;
  background: #fff; border: 1px solid rgb(232, 228, 220); border-radius: 18px;
  box-shadow: 0 18px 40px -12px rgba(58, 64, 71, 0.28);
  animation: ex-select-in 0.16s ease-out;
}
.ex-select .ex-select-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0; padding: 11px 14px; border-radius: 12px;
  font-size: 14px; line-height: 1.4; color: rgb(58, 64, 71); cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease;
}
.ex-select .ex-select-option.is-active { background-color: rgb(251, 240, 216); }
.ex-select .ex-select-option[aria-selected="true"] { color: rgb(184, 140, 60); font-weight: 600; }
.ex-select .ex-select-check { flex-shrink: 0; opacity: 0; color: rgb(214, 173, 96); }
.ex-select .ex-select-option[aria-selected="true"] .ex-select-check { opacity: 1; }
@keyframes ex-select-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .ex-select .ex-select-list { animation: none; }
  .ex-select .ex-select-chevron { transition: none; }
}
