.home-search {
  position: relative;
  z-index: 5;
  padding: 28px 0 34px;
  background: #f5f9fc;
  color: #09263f;
  font-family: Inter, Montserrat, sans-serif;
}

.home-search-inner { max-width: 960px; }
.home-search h2 { margin: 0 0 14px; font: 700 clamp(1.25rem, 2vw, 1.7rem)/1.3 Montserrat, Inter, sans-serif; }
.home-search-form { position: relative; }
.home-search-label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; }
.home-search-field { display: flex; align-items: stretch; min-height: 58px; border: 1px solid #b7ccdb; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgb(9 38 63 / 6%); overflow: hidden; }
.home-search-field:focus-within { border-color: #20a3d0; box-shadow: 0 0 0 3px rgb(32 163 208 / 18%); }
.home-search input { flex: 1; width: 100%; min-width: 0; padding: 0 18px; border: 0; outline: 0; background: transparent; color: #09263f; font: inherit; font-size: 1rem; }
.home-search input::placeholder { color: #60798c; opacity: 1; }
.home-search input::-webkit-search-cancel-button { display: none; }
.home-search button { cursor: pointer; }
.home-search-clear { width: 44px; border: 0; background: #fff; color: #4b6679; }
.home-search-clear[hidden] { display: none; }
.home-search-clear:hover { color: #09263f; }
.home-search-submit { width: 58px; border: 0; background: #09263f; color: #fff; font-size: 1.1rem; transition: background-color .18s ease; }
.home-search-submit:hover { background: #127fa8; }
.home-search button:focus-visible, .home-search-option:focus-visible, .home-search-catalogue:focus-visible { outline: 3px solid #20a3d0; outline-offset: -3px; }
.home-search-hint { margin: 8px 2px 0; color: #527086; font-size: .82rem; }
.home-search-panel { position: absolute; top: calc(100% - 2px); left: 0; right: 0; z-index: 10; max-height: min(440px, 65vh); overflow-y: auto; border: 1px solid #c8d8e3; border-radius: 12px; background: #fff; box-shadow: 0 18px 42px rgb(9 38 63 / 17%); }
.home-search-panel[hidden] { display: none; }
.home-search-group { padding: 10px 16px 5px; color: #53758a; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-search-option { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 55px; padding: 9px 16px; border: 0; border-top: 1px solid #edf2f5; background: #fff; color: #09263f; text-align: left; text-decoration: none; transition: background-color .16s ease; }
.home-search-option:hover, .home-search-option[aria-selected="true"] { background: #eaf7fc; }
.home-search-option-main { min-width: 0; font-weight: 650; line-height: 1.35; }
.home-search-option-meta { flex: 0 0 auto; color: #587589; font-size: .77rem; }
.home-search-option mark { padding: 0; background: #c8edf9; color: inherit; font-weight: 800; }
.home-search-status { margin: 0; padding: 12px 16px; color: #466378; font-size: .9rem; }
.home-search-status:empty { display: none; }
.home-search-catalogue { display: inline-block; margin: 0 16px 14px; color: #087ba5; font-weight: 700; }

@media (max-width: 640px) {
  .home-search { padding: 24px 0 29px; }
  .home-search-inner { padding-left: 16px; padding-right: 16px; }
  .home-search h2 { font-size: 1.22rem; }
  .home-search-field { min-height: 52px; }
  .home-search input { padding-left: 12px; font-size: .94rem; }
  .home-search-submit { width: 52px; }
  .home-search-option { align-items: flex-start; flex-direction: column; gap: 2px; }
  .home-search-option-meta { flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .home-search-submit, .home-search-option { transition: none; }
}
