.home-main { overflow: hidden; }
.home-hero { padding: 46px 0 38px; }
.home-hero__heading { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 46px; align-items: stretch; margin-bottom: 34px; }
.home-hero__heading h1 { margin: 0; font-size: 43px; line-height: 1.16; font-weight: 720; letter-spacing: 0; }
.home-hero__intro { display: flex; flex-direction: column; justify-content: space-between; padding: 4px 0 2px; }
.home-hero__heading > div p { max-width: 390px; margin: 0; font-size: 19px; line-height: 1.45; }
.home-hero__links { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 12px; }
.home-hero__heading > div a { display: grid; min-height: 52px; place-items: center; padding: 12px 18px; border-radius: 7px; background: #20242d; color: #fff; font-size: 15px; font-weight: 600; text-align: center; }
.home-hero__heading > div a.secondary { background: #dfe7f3; color: #20242d; }
.home-hero__visual { position: relative; height: 510px; overflow: hidden; border-radius: 28px; background: #111820; }
.home-hero__slides,.home-hero__slide { position: absolute; inset: 0; }
.home-hero__slide { opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s ease; }
.home-hero__slide.is-active { opacity: 1; visibility: visible; }
.home-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.home-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,24,32,.18), transparent 55%); pointer-events: none; }
.home-hero__frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; pointer-events: none; }
.home-hero__frame path { fill: none; stroke: rgba(255,255,255,.95); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.home-hero__down { position: absolute; left: 40px; bottom: 42px; z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 8px; background: #fff; color: #1f2631; font-size: 28px; line-height: 1; }
.home-hero__dots { position: absolute; left: 52%; bottom: 39px; z-index: 3; display: flex; gap: 8px; transform: translateX(-50%); }
.home-hero__dots button { width: 10px; height: 10px; border: 0; border-radius: 50%; padding: 0; background: rgba(255,255,255,.55); }
.home-hero__dots button.is-active { background: #fff; }
.home-hero__stats { position: absolute; right: 24px; bottom: 24px; z-index: 3; display: grid; gap: 8px; }
.home-hero__stats span { min-width: 310px; padding: 13px 18px; border-radius: 16px; background: rgba(255,255,255,.95); color: #50596a; }
.home-hero__stats strong { display: inline-block; min-width: 75px; color: #1f2631; font-size: 20px; }
.home-popular { padding: 62px 0 76px; }
.home-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.home-section-heading h2,.home-faq h2 { margin: 0; font-size: 28px; font-weight: 700; }
.home-section-heading p { margin: 6px 0 0; color: #747f91; font-size: 13px; }
.home-section-heading > a,.home-popular__more a { padding: 11px 16px; border-radius: 7px; background: #dfe7f3; font-size: 13px; }
.home-listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px 20px; }
.home-listing-card__image { aspect-ratio: 1 / 1.05; overflow: hidden; border-radius: 9px; background: #edf2f7; }
.home-listing-card__image img { width: 100%; height: 100%; object-fit: cover; }
.home-listing-card p { margin: 12px 0 4px; font-size: 13px; }
.home-listing-card h3 { margin: 0 0 12px; font-size: 14px; text-decoration: underline dotted; text-underline-offset: 5px; }
.home-listing-card strong { display: inline-block; padding: 5px 7px; background: #ffe21b; font-size: 15px; }
.home-empty { grid-column: 1/-1; padding: 50px; color: #7c8799; text-align: center; }
.home-popular__more { margin-top: 45px; text-align: center; }
.home-map-search { padding: 70px 0; background: #f3f7fd url('/theme/img/bgmap.png') center / cover; }
.home-map-search__inner { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 38px; align-items: stretch; }
.home-map-column h2 { margin: 0 0 25px; font-size: 26px; line-height: 1.2; }
#home-map { height: 650px; border-radius: 10px; background: #eaf0f7; }
.home-quick-filter { align-self: end; padding: 32px; border-radius: 9px; background: #fff; box-shadow: 0 12px 40px rgba(48,70,105,.08); color: #20242d; }
.home-quick-filter h2 { margin: 0 0 29px; font-size: 28px; line-height: 1.3; }
.home-quick-filter fieldset { min-width: 0; margin: 0 0 20px; padding: 0; border: 0; }
.home-quick-filter legend,.home-filter-select { display: block; margin: 0 0 9px; padding: 0; color: #20242d; font-size: 15px; line-height: 1.3; }
.home-filter-select { position: relative; margin-bottom: 20px; }
.home-filter-select select { width: 100%; height: 46px; margin-top: 9px; border: 1px solid #c7d3e2; border-radius: 7px; padding: 0 15px; background: #fff; color: #7d8796; font-size: 15px; }
.home-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.home-filter-chips label { position: relative; margin: 0; }
.home-filter-chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.home-filter-chips span { height: 46px; display: grid; place-items: center; padding: 0 13px; border: 1px solid #c7d3e2; border-radius: 7px; color: #30394a; font-size: 15px; white-space: nowrap; cursor: pointer; }
.home-filter-chips input:checked + span { border-color: #303c50; background: #303c50; color: #fff; }
.home-filter-chips--rooms label:nth-child(1) span { width: 82px; }
.home-filter-chips--rooms label:nth-child(n+2):nth-child(-n+5) span { width: 52px; padding: 0; }
.home-filter-chips--rooms label:nth-child(6) span { width: 132px; }
.home-filter-chips--rooms label:nth-child(7) span { width: 168px; }
.home-filter-chips--years { flex-wrap: nowrap; }
.home-filter-chips--years label { flex: 1 1 0; }
.home-filter-chips--years span { padding: 0 9px; }
.home-filter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-filter-pair label { display: block; min-width: 0; margin: 0; }
.home-filter-field { position: relative; display: block; }
.home-filter-field input { width: 100%; height: 46px; border: 1px solid #c7d3e2; border-radius: 7px; padding: 0 45px 0 15px; background: #fff; color: #20242d; font-size: 15px; }
.home-filter-field input[type="number"] { appearance: textfield; }
.home-filter-field input[type="number"]::-webkit-inner-spin-button,.home-filter-field input[type="number"]::-webkit-outer-spin-button { margin: 0; appearance: none; }
.home-filter-field b { position: absolute; top: 50%; right: 16px; transform: translateY(-50%); font-size: 15px; font-weight: 500; pointer-events: none; }
.home-quick-filter footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 51px; }
.home-quick-filter footer button { min-width: 191px; height: 53px; padding: 0 18px; border: 0; border-radius: 7px; background: #20242d; color: #fff; font-size: 15px; font-weight: 600; }
.home-quick-filter footer a { padding: 15px 13px; font-size: 15px; font-weight: 600; }
.home-interest { padding: 74px 0; }
.home-interest h2 { margin-bottom: 28px; }
.home-interest__grid { display: grid; grid-template-columns: 1.75fr .65fr .65fr; gap: 16px; }
.home-interest-card { position: relative; height: 330px; overflow: hidden; border-radius: 12px; color: #fff; }
.home-interest-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9,16,24,.65), transparent 55%, rgba(9,16,24,.2)); }
.home-interest-card img { width: 100%; height: 100%; object-fit: cover; }
.home-interest-card > strong,.home-interest-card > span { position: absolute; top: 23px; left: 23px; z-index: 1; font-size: 20px; }
.home-interest-card > span { display: flex; flex-direction: column; }
.home-interest-card > span small { margin-top: 8px; font-size: 13px; font-weight: 400; }
.home-interest-card > b { position: absolute; right: 18px; bottom: 18px; z-index: 1; padding: 10px 13px; border-radius: 7px; background: #fff; color: #252c37; font-size: 12px; }
.home-trust { padding: 90px 0; }
.home-trust .site-container { max-width: 1100px; display: grid; grid-template-columns: 480px 520px; justify-content: center; gap: 64px; align-items: start; }
.home-trust__content { padding-top: 29px; }
.home-trust h2 { margin: 0 0 31px; color: #20242d; font-size: 38px; line-height: 1.1; font-weight: 700; }
.home-trust mark { padding: 0 4px; background: #ffe21b; color: inherit; }
.home-trust p { margin: 0; color: #20242d; font-size: 16px; line-height: 1.39; }
.home-trust img { width: 100%; max-width: 520px; aspect-ratio: 65 / 49; border-radius: 12px; object-fit: cover; }
.home-page .about-consultation__title { max-width: 480px; font-size: 34px; line-height: 1.24; z-index: 4; }
.home-page .about-consultation__decor { z-index: 0; }
.home-faq { padding: 25px 0 100px; }
.home-faq .site-container { max-width: 900px; }
.home-faq h2 { margin-bottom: 20px; }
.home-faq details { border-bottom: 1px solid #d5deea; }
.home-faq summary { padding: 18px 35px 18px 0; cursor: pointer; font-weight: 600; list-style: none; }
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after { content: "+"; float: right; color: #7d899b; }
.home-faq details[open] summary::after { content: "−"; }
.home-faq details p { max-width: 760px; margin: 0 0 20px; color: #586274; font-size: 13px; line-height: 1.55; }

@media (max-width: 991.98px) {
    .home-hero__heading { grid-template-columns: 1fr; }
    .home-hero__heading h1 { font-size: 36px; }
    .home-listing-grid { grid-template-columns: repeat(2, 1fr); }
    .home-map-search__inner { grid-template-columns: 1fr; }
    .home-quick-filter { align-self: auto; }
    .home-interest__grid { grid-template-columns: 1fr 1fr; }
    .home-interest-card--wide { grid-column: 1 / -1; }
    .home-trust .site-container { grid-template-columns: 1fr; gap: 35px; }
    .home-trust__content { padding-top: 0; }
}

@media (max-width: 767.98px) {
    .home-hero { padding-top: 28px; }
    .home-hero__heading { gap: 25px; }
    .home-hero__heading h1 { font-size: 29px; }
    .home-hero__visual { height: 410px; border-radius: 16px; }
    .home-hero__down { left: 24px; bottom: 24px; width: 44px; height: 44px; }
    .home-hero__dots { left: 50%; bottom: 26px; }
    .home-hero__stats { right: 12px; bottom: 12px; left: 12px; }
    .home-hero__stats span { min-width: 0; padding: 10px 13px; }
    .home-section-heading { align-items: flex-start; flex-direction: column; }
    .home-listing-grid { gap: 25px 12px; }
    .home-listing-card p,.home-listing-card h3 { font-size: 12px; }
    #home-map { height: 420px; }
    .home-interest__grid { grid-template-columns: 1fr 1fr; }
    .home-interest-card { height: 250px; }
    .home-interest-card--wide { height: 290px; }
    .home-trust h2 { font-size: 31px; }
    .home-trust img { height: 330px; }
    .home-page .about-consultation__title { font-size: 28px; }
}
