:root{--red:#A83A36;--red-dark:#8E302D;--umber:#754D36;--green:#3F7058;--brass:#C08A4B;--ink:#2D2926;--muted:#665E57;--paper:#F3EEE7;--soft:#FBF2F0;--line:#D5CCC3;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font-family:Arial,"Helvetica Neue",sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}.header{height:82px;display:flex;align-items:center;gap:38px;padding:0 max(24px,calc((100vw - 1240px)/2));background:#fff;position:relative;z-index:10}.brand{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:-.8px;white-space:nowrap}.brand img{object-fit:contain}.brand>span>span{color:var(--red)}nav{display:flex;gap:28px;margin-left:auto;font-size:14px}nav a:hover{color:var(--red)}.phone{font-weight:700;font-size:16px}.hero{min-height:700px;position:relative;display:flex;align-items:center;overflow:hidden;background:#d9dfe4}.hero__image{position:absolute;inset:0;background:url('img/hero.png') center/cover no-repeat}.hero__shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(45,41,38,.88) 0%,rgba(45,41,38,.70) 35%,rgba(45,41,38,.12) 68%,rgba(45,41,38,.08))}.hero__content{position:relative;z-index:2;width:min(660px,calc(100% - 48px));margin-left:max(24px,calc((100vw - 1240px)/2));color:#fff;padding:70px 0}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:12px;font-weight:800;color:var(--red);margin:0 0 18px}.hero .eyebrow{color:#F4C5C1}.hero h1{font-family:Georgia,serif;font-size:clamp(52px,6.5vw,92px);line-height:.98;letter-spacing:-4px;margin:0 0 28px;font-weight:500}.hero__content>p:not(.eyebrow){font-size:19px;max-width:590px;color:#eee}.actions{display:flex;gap:12px;margin-top:34px}.button{display:inline-flex;align-items:center;justify-content:center;padding:16px 24px;border-radius:4px;font-weight:700;transition:.2s}.button--primary{background:var(--red);color:#fff}.button--primary:hover{background:var(--red-dark)}.button--ghost{border:1px solid rgba(255,255,255,.55);color:#fff}.hero__note{position:absolute;z-index:2;right:max(24px,calc((100vw - 1240px)/2));bottom:42px;background:rgba(255,255,255,.94);padding:20px 24px;width:270px;display:flex;flex-direction:column}.hero__note strong{font-family:Georgia,serif;font-size:24px}.hero__note span{color:var(--muted);font-size:13px}.section{max-width:1240px;margin:0 auto;padding:110px 24px}.section__head{display:flex;justify-content:space-between;gap:50px;align-items:end;margin-bottom:48px}.section__head h2,.about h2,.contact h2{font-family:Georgia,serif;font-weight:500;font-size:clamp(38px,5vw,62px);line-height:1.05;letter-spacing:-2px;margin:0}.section__head>p{max-width:460px;color:var(--muted);margin:0}.object-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.object-card{background:#fff;padding:30px;min-height:300px;display:flex;flex-direction:column;border-top:3px solid var(--red)}.object-card>span{color:var(--umber);font-size:12px}.object-card h3{font-family:Georgia,serif;font-size:30px;margin:70px 0 6px}.object-card p{color:var(--muted);margin:0}.object-card a{margin-top:auto;color:var(--red);font-weight:700;font-size:14px}.objects__status{text-align:center;color:var(--muted);margin:28px 0 0;font-size:14px}.services{background:var(--ink);color:#fff;max-width:none;padding-left:max(24px,calc((100vw - 1192px)/2));padding-right:max(24px,calc((100vw - 1192px)/2))}.service-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #625B55}.service-list article{display:flex;gap:28px;padding:34px 20px 34px 0;border-bottom:1px solid #625B55}.service-list article:nth-child(odd){border-right:1px solid #625B55}.service-list article:nth-child(even){padding-left:34px}.service-list b{color:#E2A19D}.service-list h3{margin:0 0 8px;font-size:21px}.service-list p{margin:0;color:#D5CCC3;max-width:420px}.about{display:grid;grid-template-columns:1.3fr .7fr;gap:90px}.about__lead{font-size:21px}.about__card>p:not(.eyebrow){max-width:680px;color:var(--muted)}.text-link{display:inline-block;color:var(--red);font-weight:700;margin-top:20px}.about__facts{border-left:1px solid var(--line);padding-left:48px}.about__facts div{padding:22px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column}.about__facts strong{font-family:Georgia,serif;font-size:29px;font-weight:500}.about__facts span{color:var(--muted);font-size:13px}.contact{max-width:none;background:var(--red);color:#fff;text-align:center}.contact .eyebrow{color:#F4C5C1}.contact h2{max-width:820px;margin:0 auto}.contact>p:not(.eyebrow){max-width:660px;margin:24px auto;color:#FBEAE7}.button--light{background:#fff;color:var(--red);margin-top:16px;font-size:18px}footer{background:var(--ink);color:#D5CCC3;padding:38px max(24px,calc((100vw - 1240px)/2));display:grid;grid-template-columns:1fr auto;align-items:center;font-size:12px}footer .brand{color:#fff;grid-row:1/3}footer p{margin:2px 0;text-align:right}@media(max-width:850px){.header{height:72px;padding:0 18px}.header nav{display:none}.phone{margin-left:auto;font-size:0}.phone:after{content:'Позвонить';font-size:14px;background:var(--red);color:#fff;padding:10px 13px;border-radius:3px}.brand{font-size:17px}.brand img{width:40px;height:40px}.hero{min-height:650px}.hero__shade{background:linear-gradient(90deg,rgba(45,41,38,.88),rgba(45,41,38,.50))}.hero h1{letter-spacing:-2px}.hero__note{display:none}.section{padding:78px 20px}.section__head{display:block}.section__head>p{margin-top:22px}.object-grid{grid-template-columns:1fr}.object-card{min-height:230px}.object-card h3{margin-top:40px}.service-list{grid-template-columns:1fr}.service-list article:nth-child(odd){border-right:0}.service-list article:nth-child(even){padding-left:0}.about{grid-template-columns:1fr;gap:40px}.about__facts{border-left:0;padding-left:0;border-top:1px solid var(--line)}footer{grid-template-columns:1fr;gap:18px}footer .brand{grid-row:auto}footer p{text-align:left}}@media(max-width:520px){.brand>span{display:none}.hero{min-height:690px}.hero__content{width:calc(100% - 36px);margin-left:18px}.hero h1{font-size:52px}.hero__content>p:not(.eyebrow){font-size:17px}.actions{flex-direction:column;align-items:stretch}.section__head h2,.about h2,.contact h2{font-size:40px}}

/* Витрина объектов агентства (SITE-CAT-4) — карточки, страницы категорий, карточка объекта */
.crumbs{max-width:1240px;margin:0 auto;padding:20px 24px 0;font-size:13px;color:var(--muted)}.crumbs a{color:var(--red)}
.catalog-head{max-width:1240px;margin:0 auto;padding:36px 24px 0}.catalog-head h1{font-family:Georgia,serif;font-size:clamp(30px,4vw,46px);letter-spacing:-1px;margin:10px 0 10px;font-weight:500}.catalog-head p{color:var(--muted);max-width:620px;margin:0}
.listing-grid,.preview-strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.preview-strip{margin-top:28px}
.listing-card{background:#fff;display:flex;flex-direction:column;border:1px solid var(--line);transition:.2s;overflow:hidden}
.listing-card:hover{border-color:var(--red)}
.listing-card__photo{aspect-ratio:4/3;background:#e4e0d8 center/cover no-repeat;position:relative}
.listing-card__photo--empty{display:flex;align-items:center;justify-content:center}
.listing-card__badge{position:absolute;top:10px;left:10px;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:2px;text-transform:uppercase;letter-spacing:.5px}
.listing-card__body{padding:16px;display:flex;flex-direction:column;gap:4px}
.listing-card__price{font-family:Georgia,serif;font-size:20px;font-weight:500}
.listing-card__title{font-size:14px;color:var(--ink)}
.listing-card__specs,.listing-card__address{font-size:13px;color:var(--muted)}
.listing-empty{color:var(--muted);text-align:center;padding:40px 24px;grid-column:1/-1}
.catalog-shell{max-width:1240px;margin:0 auto;padding:28px 24px 110px}
.catalog-toolbar{display:flex;flex-direction:column;align-items:center;gap:12px;margin-top:44px}
.catalog-toolbar .count{color:var(--muted);font-size:13px}
button.button{border:none;cursor:pointer;font:inherit;background:var(--red);color:#fff}
button.button:hover{background:var(--red-dark)}
button.button:disabled{opacity:.6;cursor:default}
.obyekt{max-width:1240px;margin:0 auto;padding:44px 24px 110px;display:grid;grid-template-columns:1.5fr 1fr;gap:56px}
.obyekt__gallery-main{aspect-ratio:4/3;background:#e4e0d8 center/cover no-repeat}
.obyekt__gallery-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:8px}
.obyekt__thumb{aspect-ratio:1/1;background:#e4e0d8 center/cover no-repeat}
.obyekt__badge{display:inline-block;background:var(--red);color:#fff;font-size:11px;font-weight:700;padding:4px 10px;border-radius:2px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:14px}
.obyekt__price{font-family:Georgia,serif;font-size:clamp(30px,4vw,42px);font-weight:500;margin:0 0 6px}
.obyekt__title{font-size:17px;margin:0 0 6px;color:var(--ink)}
.obyekt__address{font-size:14px;color:var(--muted);margin:0 0 24px}
.obyekt__specs-table{width:100%;border-collapse:collapse;margin-bottom:26px}
.obyekt__specs-table td{padding:10px 0;border-bottom:1px solid var(--line);font-size:14px}
.obyekt__specs-table td:first-child{color:var(--muted);width:50%}
.obyekt__description{font-size:14px;color:var(--ink);white-space:pre-line;line-height:1.65;margin-bottom:28px}
.obyekt__cta{background:#fff;border-top:3px solid var(--red);padding:26px;height:fit-content;position:sticky;top:24px}
.obyekt__cta h3{font-family:Georgia,serif;margin:0 0 6px;font-size:22px}
.obyekt__cta p{color:var(--muted);font-size:13px;margin:0 0 18px}
.obyekt__cta .button{width:100%;margin-bottom:10px}
.obyekt__status{color:var(--muted);padding:60px 24px;text-align:center;max-width:1240px;margin:0 auto}
@media(max-width:850px){.obyekt{grid-template-columns:1fr;gap:32px}.obyekt__cta{position:static}}
.object-card:nth-child(2){border-top-color:var(--umber)}.object-card:nth-child(2) a{color:var(--umber)}.object-card:nth-child(3){border-top-color:var(--green)}.object-card:nth-child(3) a{color:var(--green)}.brand img{filter:saturate(.5) brightness(1.25)}
.home-listings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.home-category{background:#fff;border-top:4px solid var(--red);padding:26px}.home-category--secondary{border-top-color:var(--umber)}.home-category--house{border-top-color:var(--green)}.home-category--auction{border-top-color:var(--brass)}.home-listings__head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.home-listings__head>div{display:flex;align-items:baseline;gap:12px}.home-listings__head span{font-size:11px;font-weight:800;color:var(--muted)}.home-listings__head h3{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:0}.home-listings__head a{font-size:13px;font-weight:700;color:var(--red);white-space:nowrap}.home-category--secondary .home-listings__head a{color:var(--umber)}.home-category--house .home-listings__head a{color:var(--green)}.home-category--auction .home-listings__head a{color:var(--brass)}.home-category .preview-strip{display:grid;grid-template-columns:1fr;gap:12px;margin:0}.home-category .listing-card{display:grid;grid-template-columns:148px minmax(0,1fr);min-height:112px}.home-category .listing-card__photo{aspect-ratio:auto;min-height:112px}.home-category .listing-card__body{padding:12px 14px;gap:2px;min-width:0}.home-category .listing-card__price{font-size:18px}.home-category .listing-card__title,.home-category .listing-card__specs,.home-category .listing-card__address{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.home-category .listing-empty{padding:32px 16px}@media(max-width:1000px){.home-listings{grid-template-columns:1fr}}@media(max-width:520px){.home-category{padding:18px}.home-listings__head{align-items:flex-start}.home-listings__head h3{font-size:26px}.home-category .listing-card{grid-template-columns:112px minmax(0,1fr)}.home-category .listing-card__photo{min-height:106px}.home-category .listing-card__address{display:none}}

/* Форма поиска в hero + унифицированная страница поиска nedvizhimost/ (SITE-SEARCH-1) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.smart-search{display:flex;flex-wrap:nowrap;align-items:stretch;gap:.5rem;padding:.55rem;border:1px solid rgba(255,255,255,.72);border-radius:6px;background:rgba(255,255,255,.96);margin-top:10px}
.smart-search select,.smart-search input{min-width:0;padding:.9rem 1rem;border:1px solid var(--line);border-radius:3px;background:var(--soft);color:var(--ink);font:inherit;font-size:1rem;outline:0}
.smart-search select{flex:1 1 130px;cursor:pointer}
.smart-search input{flex:2 1 170px}
.smart-search select:focus,.smart-search input:focus{border-color:var(--red)}
.smart-search:focus-within{outline:3px solid rgba(255,255,255,.7);outline-offset:4px}
.smart-search button{flex:0 0 auto;min-width:96px;padding:.9rem 1rem;border:0;border-radius:3px;background:var(--red);color:#fff;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap}
.smart-search button:hover{background:var(--red-dark)}
.hero-actions-row{display:flex;gap:22px;margin-top:22px;flex-wrap:wrap}
.hero-actions-row a{color:#fff;font-weight:700;font-size:14px;border-bottom:1px solid rgba(255,255,255,.6)}
.hero-actions-row a:hover{border-color:#fff}
@media(max-width:850px){.smart-search{display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"type rooms" "query query" "button button"}#search-property-type{grid-area:type}#search-rooms{grid-area:rooms}#search-query{grid-area:query}#property-search-button{grid-area:button}}

.map-shell{width:min(1240px,calc(100% - 48px));margin:24px auto 60px}
.search-head{width:100%;margin:0 0 20px}
.search-head h1{font-family:Georgia,serif;font-size:clamp(28px,4vw,42px);letter-spacing:-1px;margin:8px 0 0;font-weight:500}
.map-filters{position:sticky;top:0;z-index:8;padding:16px;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 10px 28px rgba(45,41,38,.08)}
.map-filter-top{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:10px}
.map-tabs{display:flex;gap:8px;overflow-x:auto}
.map-tabs button{min-height:38px;display:inline-flex;align-items:center;padding:9px 14px;border:1px solid var(--line);border-radius:3px;background:var(--soft);color:var(--ink);font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
.map-tabs button.is-active{background:var(--red);border-color:var(--red);color:#fff}
.map-filter-grid{display:grid;grid-template-columns:repeat(8,minmax(90px,1fr));gap:9px;align-items:end}
.map-filter-grid label{display:grid;gap:4px;color:var(--muted);font-size:12px;font-weight:700}
.map-filter-grid input,.map-filter-grid select{width:100%;min-height:40px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);font:inherit;font-size:14px}
.map-filter-grid .map-search{grid-column:span 2}
.map-filter-grid .map-check{min-height:40px;display:flex;flex-direction:row;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:3px;background:#fff;color:var(--ink);font-size:13px}
.map-filter-grid .map-check input{width:auto;min-height:0}
.list-shell{max-width:1240px}
.list-results{margin-top:16px;border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}
.map-results-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px}
.map-results-head strong{font-size:15px}
.map-results-head span{color:var(--muted);font-size:13px}
.listing-list{display:grid;gap:12px;padding:14px}
.listing-row{display:grid;grid-template-columns:minmax(190px,260px) minmax(0,1fr);gap:16px;padding:12px;border:1px solid transparent;border-radius:3px}
.listing-row:hover{border-color:var(--line);background:var(--soft)}
.listing-row-photo{display:block;width:100%;min-height:150px;aspect-ratio:4/3;border-radius:3px;background:#e4e0d8 center/cover no-repeat}
.listing-row-copy{min-width:0;align-self:center}
.listing-row-copy h2{margin:6px 0 4px;font-size:19px;font-weight:500;font-family:Georgia,serif}
.listing-row-copy h2 a{color:var(--ink);text-decoration:none}
.listing-row-copy h2 a:hover{color:var(--red)}
.listing-row-copy p{margin:0;color:var(--muted);font-size:14px}
.listing-row-copy small{display:block;margin-top:6px;color:var(--muted);font-size:13px}
.map-item-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
.map-item-top span{color:var(--red);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.map-item-top strong{color:var(--ink);font-size:16px}
@media(max-width:850px){.map-filter-top{display:grid;grid-template-columns:1fr}.map-filter-grid{grid-template-columns:repeat(4,minmax(90px,1fr))}}
@media(max-width:520px){.map-filters{position:relative;top:auto}.map-filter-grid{grid-template-columns:1fr 1fr}.map-filter-grid .map-search,.map-filter-grid .map-check{grid-column:1/-1}.listing-row{grid-template-columns:1fr}.listing-row-photo{min-height:200px}}
