/* Searchable country and consistent sector menus, with native-select fallback. */
.contact-form--refined select { appearance: none; padding-right: 35px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23596a7d' stroke-width='1.6'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; }
.im-select { position: relative; min-width: 0; width: 100%; }
.im-select [hidden], .contact-form--refined select[hidden] { display: none !important; }
.im-select__trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; min-height: 46px; padding: 12px 13px; border: 1px solid #ced8e3; border-radius: 7px; background: #f8fafc; color: #223248; font-size: 14px; text-align: left; cursor: pointer; }
.im-select__value { display: flex; align-items: center; gap: 9px; min-width: 0; line-height: 20px; }
.im-select__trigger.is-placeholder { color: #687b91; }
.im-select__trigger > svg { width: 18px; height: 18px; color: #60758e; flex-shrink: 0; transition: transform .15s; }
.im-select__trigger:hover { border-color: #8ca8c7; background: #fff; }
.im-select__trigger:focus-visible, .im-select.is-open .im-select__trigger { border-color: #648ab2; background: #fff; outline: 2px solid #adc4dd; outline-offset: 1px; }
.im-select.is-open { z-index: 40; }
.im-select.is-open .im-select__trigger > svg { transform: rotate(180deg); }
.im-select__panel { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; padding: 6px; background: #fff; border: 1px solid #ced8e3; border-radius: 10px; box-shadow: 0 14px 35px rgba(0, 41, 93, .14); }
.im-select.is-up .im-select__panel { top: auto; bottom: calc(100% + 8px); }
.im-select__options { list-style: none; margin: 0; padding: 0; max-height: var(--select-list-height, 240px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #b6c5d7 #f8fafc; outline: none; }
.im-select__option { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 10px; min-height: 44px; border-radius: 6px; font-size: 13px; line-height: 1.5; color: #334a63; cursor: pointer; }
.im-select__option:hover, .im-select__option.is-active { background: #f0f4f9; }
.im-select__option[aria-selected="true"] { color: #00295d; background: #e7eff8; font-weight: 600; }
.im-select:not(.im-select--country) .im-select__option[aria-selected="true"]::after { content: "✓"; color: #00295d; }
.im-select__options:focus-visible .is-active { box-shadow: inset 0 0 0 2px #adc4dd; }
.im-select__code { font-size: 12px; color: #687b91; font-variant-numeric: tabular-nums; }
.im-select__country { display: grid; place-items: center; width: 27px; height: 21px; border-radius: 4px; background: #e7edf5; color: #31516f; font-size: 10px; font-weight: 600; letter-spacing: .03em; flex-shrink: 0; }
.phone-row .im-select--country { flex: 0 0 132px; width: 132px; }
.im-select--country .im-select__panel { width: 320px; max-width: calc(100vw - 80px); }
.im-select__search { padding: 5px 5px 10px; }
.contact-form--refined .im-select__search input { width: 100%; min-height: 40px; padding: 9px 11px; font-size: 13px; background: #f8fafc; }
.im-select__empty { padding: 14px 10px; font-size: 12px; line-height: 1.6; color: #687b91; margin: 0; }
@media (max-width: 650px) {
  .im-select__trigger, .contact-form--refined .im-select__search input { font-size: 16px; }
  .phone-row .im-select--country { flex-basis: 124px; width: 124px; }
  .im-select__option { font-size: 14px; }
  .im-select--country .im-select__trigger { padding-inline: 10px; gap: 6px; }
  .im-select--country .im-select__value { gap: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .im-select__trigger > svg { transition: none; }
}
