.catalog-hero { color: #fff; background-color: #294b84; background-image: linear-gradient(90deg, rgba(27, 57, 105, .98) 0%, rgba(35, 69, 122, .94) 38%, rgba(35, 69, 122, .48) 70%, rgba(35, 69, 122, .18) 100%), url('../images/catalog-hero.webp'); background-position: center; background-size: cover; background-repeat: no-repeat; }
.catalog-hero__inner { min-height: 355px; display: flex; align-items: center; padding-block: 48px; }
.catalog-hero__content { width: min(690px, 100%); }
.catalog-hero__eyebrow { display: block; margin-bottom: 12px; color: #f4c4ca; font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.catalog-hero h1 { margin: 0 0 12px; color: #fff; font-size: clamp(38px, 5vw, 60px); }
.catalog-hero p { margin: 0 0 25px; color: #eef3fc; font-size: 17px; }
.catalog-search { display: flex; align-items: center; gap: 12px; max-width: 640px; padding: 6px 6px 6px 18px; background: #fff; border-radius: 10px; box-shadow: 0 12px 35px rgba(12, 34, 66, .2); }
.catalog-search:focus-within { outline: 3px solid #a9c8f8; outline-offset: 3px; }
.catalog-search svg { flex: 0 0 21px; width: 21px; height: 21px; color: #60728c; }
.catalog-search input { flex: 1; min-width: 0; height: 46px; padding: 0; color: #213655; background: transparent; border: 0; outline: 0; font-size: 15px; }
.catalog-search input::placeholder { color: #708099; opacity: 1; }
.catalog-search select { flex: 0 0 auto; max-width: 165px; height: 46px; padding: 0 28px 0 12px; border: 0; border-left: 1px solid #e0e6ed; outline: 0; color: #2b4b87; background-color: #fff; font-size: 14px; cursor: pointer; }
.catalog-search select:focus-visible { outline: 2px solid #2b4b87; outline-offset: -2px; }
.catalog-search button { min-height: 46px; padding: 0 24px; border: 0; border-radius: 7px; color: #fff; background: #d83c4c; font-weight: 700; cursor: pointer; }
.catalog-search button:hover { background: #bb3040; }
.default-service-list article[hidden], .catalog-search__empty[hidden] { display: none; }
.catalog-search__empty { margin-top: 20px; }
@media (max-width: 600px) {
  .catalog-hero { background-position: 64% center; }
  .catalog-hero__inner { min-height: 300px; padding-block: 40px; }
  .catalog-hero p { font-size: 15px; }
  .catalog-search { gap: 8px; padding-left: 12px; }
  .catalog-search input { font-size: 14px; }
  .catalog-search button { padding-inline: 15px; }
  .catalog-search:has(select) { flex-wrap: wrap; padding: 8px; }
  .catalog-search:has(select) svg { margin-left: 8px; }
  .catalog-search:has(select) input { flex: 1 1 calc(100% - 48px); }
  .catalog-search select { flex: 1 1 auto; max-width: none; border-left: 0; border-top: 1px solid #e0e6ed; }
}
.catalog-view-controls { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 16px; color: var(--default-muted); font-size: 14px; }
.catalog-view-switch { display: inline-flex; gap: 3px; padding: 4px; border: 1px solid #e1e8f1; border-radius: 10px; background: #f4f7fb; }
.catalog-view-switch button { min-height: 34px; padding: 6px 13px; border: 0; border-radius: 7px; background: transparent; color: #5b708b; font-size: 13px; font-weight: 700; cursor: pointer; }
.catalog-view-switch button[aria-pressed="true"] { background: #fff; color: #2b4b87; box-shadow: 0 2px 7px rgba(33,62,105,.12); }
.catalog-view-switch button:focus-visible { outline: 2px solid #2b4b87; }
.default-service-list.default-service-list--grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; overflow: visible; border: 0; border-radius: 0; }
.default-service-list.default-service-list--grid[hidden] { display: none; }
.default-service-list--grid article, .default-service-list--grid article:has(.default-service-list__image) { display: flex; flex-direction: column; gap: 0; min-width: 0; padding: 0; overflow: hidden; background: #fff; border: 1px solid var(--default-line); border-radius: 16px; }
.default-service-list--grid article { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.default-service-list--grid article:hover, .default-service-list--grid article:focus-within { transform: translateY(-4px); border-color: #9db6da; box-shadow: 0 12px 28px rgba(35, 65, 110, .15); }
@media (prefers-reduced-motion: reduce) { .default-service-list--grid article { transition: none; } .default-service-list--grid article:hover, .default-service-list--grid article:focus-within { transform: none; } }
.default-service-list--grid article[hidden] { display: none; }
.default-service-list--grid .default-service-list__image { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; border-radius: 0; }
.default-service-list--grid .default-service-list__image img { width: 100%; height: 100%; object-fit: cover; }
.default-service-list--grid .default-service-list__body { flex: 1; min-width: 0; padding: 20px 22px 12px; }
.default-service-list--grid .default-service-list__body h3 { font-size: 20px; line-height: 1.25; }
.default-service-list--grid .default-service-list__action { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 22px 20px; text-align: left; }
@media(max-width:900px) { .default-service-list.default-service-list--grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media(max-width:600px) { .default-catalog__top { align-items: flex-start; flex-wrap: wrap; } .catalog-view-controls { justify-content: flex-start; } .default-service-list.default-service-list--grid { grid-template-columns: 1fr; gap: 14px; } }
.catalog-hero--services { position: relative; z-index: 2; }
.catalog-hero--services .catalog-hero__content, .catalog-hero--services .catalog-search { width: 100%; max-width: none; }
.catalog-filter { position: relative; flex: 0 0 185px; }
.catalog-filter summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 46px; padding: 0 12px 0 16px; border-left: 1px solid #e0e6ed; border-radius: 7px; color: #2b4b87; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.catalog-filter summary::-webkit-details-marker { display: none; }
.catalog-filter summary:hover, .catalog-filter[open] summary { background: #f0f4fa; }
.catalog-filter summary:focus-visible { outline: 2px solid #2b4b87; outline-offset: -2px; }
.catalog-filter summary svg { flex: 0 0 16px; width: 16px; height: 16px; color: #2b4b87; transition: transform .2s; }
.catalog-filter[open] summary svg { transform: rotate(180deg); }
.catalog-filter__menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 10; width: 220px; padding: 7px; border: 1px solid #e0e8f1; border-radius: 13px; background: #fff; box-shadow: 0 14px 36px rgba(17, 39, 70, .2); }
.catalog-filter__menu label { position: relative; display: block; cursor: pointer; }
.catalog-search .catalog-filter__menu input { position: absolute; width: 1px; height: 1px; padding: 0; opacity: 0; }
.catalog-filter__menu label span { display: block; padding: 10px 12px; border-radius: 8px; color: #314d71; font-size: 14px; line-height: 1.35; }
.catalog-filter__menu label:hover span, .catalog-filter__menu input:focus-visible + span { background: #f0f4fa; outline: 2px solid transparent; }
.catalog-filter__menu input:checked + span { color: #244b89; background: #e9f0fa; font-weight: 700; }
.catalog-filter__menu input:focus-visible + span { outline: 2px solid #2b4b87; }
@media (max-width: 600px) {
  .catalog-hero--services .catalog-search { flex-wrap: wrap; padding: 8px; }
  .catalog-hero--services .catalog-search > svg { margin-left: 8px; }
  .catalog-hero--services .catalog-search > input { flex: 1 1 calc(100% - 48px); }
  .catalog-filter { flex: 1 1 auto; min-width: 0; border-top: 1px solid #e0e6ed; }
  .catalog-filter summary { border-left: 0; }
  .catalog-filter__menu { left: 0; right: auto; max-width: min(280px, calc(100vw - 44px)); }
}

.catalog-hero--services { position: relative; overflow: hidden; background-image: none; }
.catalog-hero--services .catalog-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.catalog-hero--services::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27,57,105,.98) 0%, rgba(35,69,122,.94) 38%, rgba(35,69,122,.48) 70%, rgba(35,69,122,.18) 100%); pointer-events: none; }
.catalog-hero--services .catalog-hero__inner { position: relative; z-index: 1; }
