body { margin: 0; background: #fff; color: #333; font-family: "Montserrat", sans-serif; }
.complex-hero { padding: 58px 0 52px; background: linear-gradient(135deg, #f2f7fa 0%, #fff 75%); }
.complex-breadcrumb { margin-bottom: 30px; font-size: .85rem; }
.complex-breadcrumb a { color: #66727a; text-decoration: none; }
.complex-breadcrumb .active { color: #003c67; }
.complex-hero h1 { max-width: 900px; margin: 0; color: #003c67; font-size: clamp(2rem, 5vw, 3.45rem); font-weight: 700; letter-spacing: -.035em; }
.complex-hero p { max-width: 760px; margin: 18px 0 0; color: #5d6971; font-size: clamp(1rem, 2vw, 1.18rem); }
.complex-catalog-section { padding: 48px 0 84px; }
.complex-filter { padding: 28px; border: 1px solid #e0e9ee; border-radius: 24px; background: #fff; box-shadow: 0 14px 38px rgba(0,60,103,.07); }
.complex-filter .form-label { margin-bottom: 8px; color: #48545c; font-size: .79rem; font-weight: 600; }
.complex-filter .form-control, .complex-filter .form-select { min-height: 50px; border-color: #dce5eb; border-radius: 12px; }
.complex-filter .form-control:focus, .complex-filter .form-select:focus { border-color: #003c67; box-shadow: 0 0 0 .2rem rgba(0,60,103,.1); }
.metro-suggestions { position: absolute; top: calc(100% + 6px); left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5); z-index: 1060; max-height: 280px; overflow-y: auto; padding: 7px; border: 1px solid #dce5eb; border-radius: 14px; background: #fff; box-shadow: 0 16px 38px rgba(0,60,103,.14); }
.metro-suggestion { display: block; width: 100%; padding: 11px 12px; border: 0; border-radius: 9px; background: transparent; color: #333; text-align: left; font-size: .88rem; }
.metro-suggestion:hover, .metro-suggestion.is-active { background: #edf4f7; color: #003c67; }
.metro-suggestion-empty { padding: 12px; color: #68747c; font-size: .84rem; }
.infrastructure-options { display: flex; flex-wrap: wrap; gap: 12px; }
.infrastructure-options label { cursor: pointer; }
.infrastructure-options input { position: absolute; opacity: 0; pointer-events: none; }
.infrastructure-options span { display: block; padding: 11px 17px; border: 1px solid #d7e2e9; border-radius: 999px; color: #4f5d66; font-size: .87rem; transition: .15s; }
.infrastructure-options input:checked + span { border-color: #003c67; background: #003c67; color: #fefefe; }
.infrastructure-options input:focus-visible + span { outline: 3px solid rgba(0,60,103,.18); }
.complex-reset-button, .complex-load-more { min-height: 48px; padding: 10px 24px; border: 1px solid #cddbe4; border-radius: 999px; color: #003c67; font-weight: 600; }
.complex-reset-button:hover, .complex-load-more:hover { border-color: #003c67; background: #eef5f8; color: #003c67; }
.complex-results-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 54px 0 24px; }
.complex-results-head h2 { margin: 0; color: #003c67; font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; }
.complex-results-head span { color: #647078; font-size: .88rem; font-weight: 600; }
.complex-loader { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 240px; color: #003c67; }
.complex-loader .spinner-border { width: 1.6rem; height: 1.6rem; }
.complex-message { margin-bottom: 24px; padding: 15px 18px; border-radius: 14px; background: #fff1f1; color: #8a2424; }
.complex-row { margin-bottom: 30px; padding: 18px; border: 1px solid #e1e9ee; border-radius: 26px; background: #fff; box-shadow: 0 12px 34px rgba(0,60,103,.06); }
.complex-strip { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 12px; scroll-snap-type: x proximity; scrollbar-color: #a9bdca transparent; }
.complex-strip > * { flex: 0 0 auto; scroll-snap-align: start; }
.complex-main-card { width: 320px; overflow: hidden; border-radius: 18px; background: #003c67; color: #fefefe; text-decoration: none; }
.complex-main-card:hover { color: #fefefe; }
.complex-main-image { width: 100%; height: 185px; object-fit: cover; background: #edf2f5; }
.complex-main-content { padding: 20px; }
.complex-main-content h3 { margin: 0 0 8px; font-size: 1.25rem; font-weight: 700; }
.complex-main-address { min-height: 42px; margin-bottom: 14px; color: rgba(254,254,254,.74); font-size: .78rem; }
.complex-main-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.complex-main-meta span { padding: 5px 9px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .7rem; }
.complex-flat-card { display: flex; flex-direction: column; width: 235px; overflow: hidden; border: 1px solid #e1e9ee; border-radius: 18px; background: #fff; color: #333; text-decoration: none; }
.complex-flat-card:hover { color: #333; border-color: #b9ccd8; }
.complex-flat-image { width: 100%; height: 160px; padding: 12px; object-fit: contain; background: #f5f7f8; }
.complex-flat-content { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.complex-flat-title { margin-bottom: 8px; font-size: .92rem; font-weight: 600; }
.complex-flat-price { margin-bottom: 12px; color: #003c67; font-size: 1.08rem; font-weight: 700; }
.complex-flat-meta { margin-top: auto; color: #68747c; font-size: .72rem; }
.complex-cta-card { display: flex; flex-direction: column; justify-content: center; width: 230px; padding: 24px; border-radius: 18px; background: #edf4f7; color: #003c67; text-decoration: none; }
.complex-cta-card:hover { color: #003c67; background: #e3eef3; }
.complex-cta-card strong { font-size: 1.1rem; line-height: 1.35; }
.complex-cta-card span { margin-top: 12px; font-size: .82rem; font-weight: 600; }
.complex-empty { padding: 64px 24px; border-radius: 24px; background: #f5f8fa; text-align: center; }
.complex-empty h3 { color: #003c67; font-size: 1.35rem; font-weight: 700; }
.complex-empty p { color: #657079; }
@media (max-width: 767.98px) {
    .complex-hero { padding: 38px 0 34px; }
    .complex-catalog-section { padding: 30px 0 60px; }
    .complex-filter { padding: 20px; border-radius: 18px; }
    .complex-results-head { align-items: flex-start; flex-direction: column; margin-top: 38px; }
    .complex-row { margin-right: -12px; padding: 14px; border-radius: 20px 0 0 20px; }
    .complex-main-card { width: 282px; }
    .complex-flat-card { width: 218px; }
}
