/* Композиция главной. #414042 и #FEBE33 взяты из образца брендбука. */
@font-face { font-family:'Onest'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/onest-regular.ttf') format('truetype'); }
@font-face { font-family:'Onest'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/onest-medium.ttf') format('truetype'); }
@font-face { font-family:'Onest'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/onest-semibold.ttf') format('truetype'); }
@font-face { font-family:'Onest'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/onest-bold.ttf') format('truetype'); }
.logo__official { display:block; width:132px; height:66px; object-fit:contain; }
body.roi-home { --rh-bg:#414042; --rh-soft:#4b4a4c; --rh-soft-2:#575658; --rh-yellow:#febe33; --rh-paper:#f8f8f7; --rh-ink:#414042; --rh-muted:#62666e; --accent:var(--rh-yellow); --accent-hi:#ffd26c; --f-body:'Onest','Segoe UI',Arial,sans-serif; --f-display:var(--f-body); background:var(--rh-bg); color:var(--rh-ink); font-family:var(--f-body); }
.roi-home #app-header { display:block; }
.roi-home #app-footer { display:block; }
.roi-home #main { padding:0; }
.rh-shell { max-width:1512px; margin:0 auto; padding:0 40px 28px; }
.rh-shell h1,.rh-shell h2,.rh-shell h3 { font-family:var(--f-body); font-weight:500; letter-spacing:-.052em; text-wrap:initial; }
.rh-shell svg { width:23px; height:23px; flex:0 0 auto; }
.rh-shell button,.rh-shell a,.rh-shell input,.rh-shell select { -webkit-tap-highlight-color:transparent; }
.rh-shell :focus-visible { outline:3px solid var(--rh-yellow); outline-offset:5px; }
.rh-shell .rh-panel { background:var(--rh-paper); border-radius:22px; }
.rh-header { display:flex; align-items:center; gap:26px; min-height:96px; color:#fff; }
.rh-logo { display:inline-flex; align-items:center; gap:10px; color:var(--rh-yellow); flex:0 0 auto; }
.rh-logo > img { width:132px; height:70px; object-fit:contain; }
.rh-logo > svg { width:44px; height:44px; }
.rh-logo > span { font-size:32px; font-weight:750; line-height:.95; letter-spacing:-.04em; }
.rh-logo small { display:block; font-size:8px; font-weight:450; line-height:1.25; letter-spacing:.015em; margin-top:6px; color:#fff; }
.rh-nav { display:flex; justify-content:center; align-items:center; gap:16px; flex:1; font-size:12px; }
.rh-nav a:hover,.rh-footer a:hover { text-decoration:underline; text-underline-offset:5px; }
.rh-header-phone { display:none; font-size:14px; white-space:nowrap; }
.rh-button { min-height:50px; padding:14px 20px; border-radius:10px; display:inline-flex; align-items:center; justify-content:space-between; gap:24px; font-size:14px; line-height:1.25; font-weight:550; text-align:left; }
.rh-button svg { width:19px; height:19px; }
.rh-button--yellow { background:var(--rh-yellow); color:#29282a; }
.rh-button--dark { background:var(--rh-bg); color:#fff; }
.rh-button:hover { filter:brightness(.95); }
.rh-menu-toggle { display:none; width:44px; height:44px; border:1px solid #ffffff50; border-radius:8px; align-items:center; justify-content:center; flex-direction:column; gap:6px; }
.rh-menu-toggle span { width:20px; height:1px; background:#fff; }
.rh-mobile-nav[hidden] { display:none; }
.rh-mobile-nav { background:var(--rh-soft); color:#fff; border-radius:12px; padding:14px 24px; margin-bottom:20px; }
.rh-mobile-nav a { display:block; padding:12px 0; border-bottom:1px solid #ffffff20; }
.rh-hero { display:grid; grid-template-columns:29% 1fr; gap:18px; }
.rh-hero-aside { --rh-diagonal-rise:48px; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:1fr var(--rh-diagonal-rise) 1.1fr; gap:0; min-width:0; }
.rh-hero-aside > .rh-panel { grid-column:1; }
.rh-history { grid-row:1/3; padding:32px 34px 42px; clip-path:polygon(0 0,100% 0,100% calc(100% - var(--rh-diagonal-rise)),0 100%); }
.rh-history > span,.rh-intro > span { font-size:12px; }
.rh-since { font-size:clamp(38px,4vw,62px); font-weight:500; letter-spacing:-.065em; line-height:1.05; margin:17px 0; }
.rh-history > p:not(.rh-since) { font-size:14px; line-height:1.55; max-width:28ch; }
.rh-text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:25px; font-size:14px; }
.rh-history .rh-text-link { margin-top:20px; font-size:12px; }
.rh-history .rh-text-link svg { width:17px; height:17px; }
.rh-shell .rh-intro { grid-row:2/4; background:var(--rh-yellow); color:#29282a; padding:80px 34px 30px; margin-top:0; clip-path:polygon(0 var(--rh-diagonal-rise),100% 0,100% 100%,0 100%); display:flex; flex-direction:column; align-items:flex-start; justify-content:space-between; gap:20px; }
.rh-intro > p { font-size:13px; line-height:1.55; }
.rh-intro-owner { font-size:12px; display:flex; align-items:center; gap:16px; }
.rh-intro-owner svg { width:16px; height:16px; }
.rh-intro h2 { color:var(--rh-bg); font-size:clamp(30px,3vw,44px); line-height:1.08; }
.rh-intro .rh-button { font-size:12px; width:100%; gap:12px; }
.rh-hero-main { min-width:0; padding:38px 34px 24px; display:flex; flex-direction:column; gap:30px; }
.rh-hero-main h1 { font-size:clamp(52px,6.25vw,92px); line-height:1.035; }
.rh-hero-stage { position:relative; width:100%; height:520px; }
.rh-search { margin-top:18px; padding:27px 34px 30px; }
.rh-search-top { display:flex; align-items:center; gap:35px; margin-bottom:25px; }
.rh-search-top h2 { font-size:30px; }
.rh-segments { display:flex; gap:4px; padding:4px; border-radius:8px; background:#eaeae7; }
.rh-segments button { padding:9px 16px; font-size:13px; border-radius:5px; }
.rh-segments button[aria-pressed="true"] { background:var(--rh-bg); color:#fff; }
.rh-search-fields { display:grid; grid-template-columns:1.2fr 1fr 1fr auto; gap:25px; align-items:end; }
.rh-search-fields > label,.rh-search-fields legend { font-size:11px; color:var(--rh-muted); }
.rh-search-fields select { display:block; width:100%; min-width:0; border:0; border-bottom:1px solid #d4d5d4; background:transparent; padding:12px 20px 12px 0; font-size:14px; color:var(--rh-ink); border-radius:0; }
.rh-search-fields fieldset { padding:0; margin:0; border:0; min-width:0; }
.rh-search-fields fieldset > div { display:flex; align-items:center; border-bottom:1px solid #d4d5d4; gap:10px; }
.rh-search-fields input { min-width:0; width:50%; border:0; padding:12px 0; background:transparent; font-size:14px; }
.rh-search-fields input::-webkit-inner-spin-button { -webkit-appearance:none; }
.rh-search-error { color:#a92d12; grid-column:1/-1; font-size:13px; }
.rh-search-error[hidden] { display:none; }
.rh-about { display:grid; grid-template-columns:29% 1fr; gap:18px; margin-top:52px; }
.rh-about-photo { overflow:hidden; border-radius:22px; position:relative; min-height:500px; }
.rh-about-photo img { width:100%; height:100%; object-fit:cover; position:absolute; }
.rh-about-photo::after { content:''; position:absolute; inset:45% 0 0; background:linear-gradient(transparent,#0009); }
.rh-about-photo > span { position:absolute; left:28px; bottom:28px; max-width:12ch; color:#fff; font-size:24px; line-height:1.2; z-index:1; letter-spacing:-.025em; }
.rh-about-copy { padding:38px 44px 40px; display:flex; flex-direction:column; justify-content:space-between; gap:45px; }
.rh-about-top { display:flex; justify-content:space-between; gap:20px; font-size:12px; }
.rh-about-top span:last-child { color:var(--rh-muted); }
.rh-about-copy h2 { font-size:clamp(36px,4vw,60px); line-height:1.08; }
.rh-about-bottom { display:flex; align-items:end; gap:30px; justify-content:space-between; }
.rh-about-bottom p { max-width:47ch; font-size:14px; line-height:1.6; }
.rh-square-link { width:54px; height:54px; display:grid; place-items:center; background:var(--rh-yellow); border-radius:10px; flex-shrink:0; }
.rh-properties { margin-top:52px; padding:42px 34px 30px; }
.rh-section-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:34px; }
.rh-section-heading h2 { font-size:clamp(36px,4vw,60px); }
.rh-category-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.rh-category { min-width:0; }
.rh-category > img { width:100%; height:240px; object-fit:cover; border-radius:12px; }
.rh-category > div { display:flex; justify-content:space-between; align-items:start; gap:16px; margin:20px 0 12px; }
.rh-category h3 { font-size:28px; line-height:1.08; min-height:60px; }
.rh-category > div > svg { margin-top:5px; }
.rh-category > p { font-size:13px; color:var(--rh-muted); }
.rh-category:hover h3 { text-decoration:underline; text-underline-offset:5px; }
.rh-more-types { margin-top:32px; border-top:1px solid #dededb; padding-top:24px; display:flex; gap:24px; justify-content:space-between; }
.rh-more-types > a { font-size:12px; display:flex; align-items:center; gap:15px; }
.rh-more-types svg { width:16px; height:16px; }
.rh-services { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:52px; }
.rh-service { padding:38px 40px; border-radius:22px; display:flex; align-items:flex-start; flex-direction:column; }
.rh-service--yellow { background:var(--rh-yellow); color:#29282a; }.rh-service--white { background:var(--rh-paper); }
.rh-service > span { font-size:12px; margin-bottom:32px; }
.rh-service h2 { font-size:clamp(34px,3.6vw,54px); line-height:1.08; }
.rh-service p { margin:26px 0 30px; font-size:14px; max-width:41ch; line-height:1.6; flex:1; }
.rh-footer { background:var(--rh-soft); color:#fff; margin-top:52px; border-radius:22px; padding:54px 46px 22px; }
.rh-footer-cta { display:flex; justify-content:space-between; align-items:start; gap:40px; }
.rh-footer-cta h2 { font-size:clamp(46px,5.8vw,86px); line-height:1.04; }
.rh-footer-cta p { font-size:16px; margin-top:28px; color:#ffffffba; }
.rh-contact-square { width:172px; height:172px; border-radius:18px; background:var(--rh-yellow); color:#29282a; padding:22px; display:flex; flex-direction:column-reverse; justify-content:space-between; align-items:flex-start; font-size:14px; flex:0 0 auto; }
.rh-contact-square svg { align-self:flex-end; width:30px; height:30px; }
.rh-footer-links { margin:65px 0 45px; display:flex; gap:35px; align-items:center; justify-content:space-between; }
.rh-footer-phone { font-size:28px; letter-spacing:-.04em; }
.rh-footer-links p { font-size:12px; line-height:1.7; color:#ffffffba; }
.rh-footer-links > a:last-child { display:flex; align-items:center; gap:20px; font-size:14px; }
.rh-footer-links svg { width:18px; height:18px; }
.rh-footer-bar { display:flex; justify-content:space-between; align-items:center; gap:30px; background:var(--rh-soft-2); padding:20px 28px; border-radius:12px; }
.rh-footer-bar nav { display:flex; gap:28px; font-size:12px; }
.rh-legal { display:flex; justify-content:space-between; gap:20px; padding:22px 2px 0; font-size:10px; color:#ffffffaa; }
.roi-home .modal { --accent:#febe33; --ink:#414042; --surface:#fff; --r:10px; --r-lg:18px; }
.roi-home .modal .btn--accent { background:#febe33; color:#29282a; border-color:#febe33; }
@media (min-width:1550px) { .rh-shell { padding-top:8px; } }
@media (max-width:1200px) {
  .rh-shell { padding-inline:24px; }.rh-header { gap:20px; }.rh-nav { gap:18px; }.rh-header-phone { display:none; }
  .rh-history { padding:28px 25px 40px; }.rh-shell .rh-intro { padding:48px 25px 25px; }.rh-hero-main { padding:32px 26px 22px; }.rh-hero-main h1 { font-size:6.3vw; }.rh-hero-photo { min-height:320px; }
  .rh-search-fields { gap:18px; grid-template-columns:1.2fr 1fr 1fr; }.rh-search-fields > button { grid-column:1/-1; justify-self:end; }.rh-about-copy { padding:32px; }.rh-category > img { height:200px; }
}
@media (max-width:800px) {
  .rh-shell { padding-inline:18px; }.rh-header { min-height:90px; }.rh-nav { display:none; }.rh-header-cta { margin-left:auto; }.rh-menu-toggle { display:flex; }
  .rh-hero { grid-template-columns:32% 1fr; gap:12px; }.rh-hero-aside { gap:0; }.rh-history { padding:24px 20px 40px; }.rh-history > span { font-size:10px; }.rh-history > p:not(.rh-since) { font-size:12px; }.rh-history .rh-text-link { gap:12px; }
  .rh-shell .rh-intro { padding:45px 20px 24px; }.rh-intro > span { font-size:10px; }.rh-intro h2 { font-size:29px; }.rh-intro .rh-button { gap:8px; padding:13px; font-size:11px; }
  .rh-hero-main { padding:30px 22px 20px; gap:25px; }.rh-hero-main h1 { font-size:6.3vw; }.rh-hero-photo { min-height:340px; }.rh-photo-link { font-size:12px; padding-left:12px; left:12px; right:12px; bottom:12px; }
  .rh-search { padding:25px; }.rh-search-fields { grid-template-columns:1fr 1fr; }.rh-search-fields > button { grid-column:auto; justify-self:stretch; }
  .rh-about { grid-template-columns:30% 1fr; gap:12px; margin-top:32px; }.rh-about-photo { min-height:430px; }.rh-about-copy { padding:30px 26px; gap:30px; }.rh-about-copy h2 { font-size:36px; }.rh-about-top { flex-direction:column; gap:4px; }.rh-about-bottom { gap:15px; }.rh-about-bottom p { font-size:12px; }.rh-square-link { width:42px; height:42px; }.rh-about-photo > span { font-size:19px; left:20px; }
  .rh-properties { padding:30px 25px; margin-top:32px; }.rh-category-grid { gap:16px; }.rh-category > img { height:150px; }.rh-category h3 { font-size:23px; min-height:50px; }.rh-category > p { font-size:11px; }.rh-more-types { flex-wrap:wrap; }
  .rh-services { gap:12px; margin-top:32px; }.rh-service { padding:30px 25px; }.rh-service h2 { font-size:34px; }.rh-service p { font-size:13px; }.rh-service .rh-button { font-size:12px; padding:14px; gap:14px; }
  .rh-footer { padding:38px 30px 22px; margin-top:32px; }.rh-footer-cta h2 { font-size:49px; }.rh-contact-square { width:130px; height:145px; }.rh-footer-links { flex-wrap:wrap; margin-top:45px; gap:24px; }.rh-footer-phone { font-size:25px; }.rh-footer-bar { padding:20px; }.rh-footer-bar nav { flex-wrap:wrap; justify-content:flex-end; gap:14px 20px; }
}
@media (max-width:560px) {
  .rh-shell { padding:0 12px 12px; }
  .rh-header { min-height:86px; gap:12px; }.rh-logo { gap:7px; }.rh-logo > svg { width:35px; height:35px; }.rh-logo > span { font-size:26px; }.rh-logo small { font-size:6px; }.rh-header-cta { min-height:42px; padding:11px 12px; gap:10px; font-size:11px; }.rh-header-cta svg { width:16px; height:16px; }.rh-menu-toggle { width:40px; height:42px; flex-shrink:0; }
  .rh-shell .rh-panel { border-radius:16px; }.rh-hero { display:flex; flex-direction:column; gap:12px; }.rh-hero-main { order:-1; padding:28px 20px 16px; gap:24px; }.rh-hero-main h1 { font-size:clamp(39px,10.5vw,59px); }.rh-hero-photo { min-height:280px; border-radius:10px; }.rh-photo-link { font-size:11px; }.rh-photo-link b { width:34px; height:34px; }
  .rh-hero-aside { grid-template-columns:1fr 1fr; grid-template-rows:auto; gap:12px; }.rh-hero-aside > .rh-panel { grid-column:auto; }.rh-history { grid-row:auto; clip-path:none; padding:22px 18px; }.rh-history > span { font-size:10px; }.rh-since { font-size:35px; margin:16px 0; }.rh-history > p:not(.rh-since) { font-size:11px; }.rh-history .rh-text-link { font-size:10px; margin-top:18px; gap:5px; }
  .rh-shell .rh-intro { grid-row:auto; clip-path:none; margin-top:0; padding:22px 17px; gap:20px; }.rh-intro h2 { font-size:clamp(25px,6.8vw,36px); }.rh-intro .rh-button { min-height:43px; font-size:10px; padding:10px; gap:5px; }.rh-intro .rh-button svg { width:14px; height:14px; }
  .rh-search { margin-top:12px; padding:24px 20px; }.rh-search-top { justify-content:space-between; gap:10px; margin-bottom:24px; }.rh-search-top h2 { font-size:27px; white-space:nowrap; }.rh-segments button { padding:8px 10px; font-size:11px; }.rh-search-fields { grid-template-columns:1fr; gap:20px; }.rh-search-fields select,.rh-search-fields input { font-size:16px; }.rh-search-fields > button { margin-top:2px; }
  .rh-about { margin-top:28px; grid-template-columns:1fr; }.rh-about-photo { min-height:220px; border-radius:16px; }.rh-about-photo img { object-position:center 42%; }.rh-about-photo > span { max-width:20ch; bottom:22px; font-size:22px; }.rh-about-copy { padding:26px 22px; gap:30px; }.rh-about-top { flex-direction:row; font-size:10px; }.rh-about-copy h2 { font-size:clamp(34px,9vw,48px); }.rh-about-bottom p { font-size:13px; }
  .rh-properties { margin-top:28px; padding:26px 20px; }.rh-section-heading { margin-bottom:26px; align-items:end; gap:10px; }.rh-section-heading h2 { font-size:33px; max-width:6ch; }.rh-section-heading .rh-text-link { font-size:11px; gap:10px; white-space:nowrap; }.rh-text-link svg { width:18px; height:18px; }.rh-category-grid { grid-template-columns:1fr; gap:30px; }.rh-category > img { height:230px; }.rh-category h3 { font-size:28px; min-height:auto; }.rh-category h3 br { display:none; }.rh-category > div { margin:16px 0 10px; align-items:center; }.rh-category > p { font-size:13px; }.rh-more-types { display:grid; gap:19px; }.rh-more-types > a { font-size:13px; justify-content:space-between; }
  .rh-services { grid-template-columns:1fr; margin-top:28px; }.rh-service { border-radius:16px; padding:28px 24px; }.rh-service > span { margin-bottom:28px; }.rh-service h2 { font-size:38px; }.rh-service p { font-size:14px; }.rh-service .rh-button { min-height:48px; }
  .rh-footer { border-radius:16px; margin-top:28px; padding:32px 22px 20px; }.rh-footer-cta { flex-direction:column; gap:28px; }.rh-footer-cta h2 { font-size:clamp(39px,10vw,54px); }.rh-footer-cta p { font-size:14px; margin-top:22px; }.rh-contact-square { width:100%; height:64px; padding:18px; flex-direction:row; align-items:center; border-radius:10px; }.rh-contact-square svg { align-self:center; width:24px; height:24px; }.rh-footer-links { display:grid; gap:22px; margin:38px 0 32px; }.rh-footer-phone { font-size:27px; }.rh-footer-links > a:last-child { justify-content:space-between; }.rh-footer-bar { flex-direction:column; align-items:flex-start; gap:25px; padding:22px; }.rh-footer-bar nav { justify-content:flex-start; gap:18px 22px; font-size:11px; }.rh-legal { font-size:9px; flex-direction:column; gap:10px; }
}

/* Наполнение и поведение блоков — из актуального home.js. Меняется только оформление. */
.roi-home {
  --bg:var(--rh-bg); --surface:var(--rh-paper); --surface-2:#efefec;
  --ink:var(--rh-ink); --ink-2:var(--rh-ink); --muted:#62666e; --muted-2:#74777d;
  --line:#d8d8d4; --line-2:#e4e4df; --accent-soft:#fff1cc; --accent-ink:#414042;
  --navy:var(--rh-soft); --navy-2:var(--rh-soft-2); --navy-3:var(--rh-soft-2);
  --on-navy:#fff; --on-navy-muted:#d8d8dc; --r:14px; --r-lg:22px; --r-sm:8px;
  --f-mono:var(--f-body);
}
.rh-prototype .container { padding:0; max-width:none; }
.rh-prototype .quick { margin-top:18px; }
.rh-prototype .quick__card { border:0; border-radius:22px; padding:30px 34px; }
.rh-prototype .quick__head h2 { font-size:28px; font-weight:500; letter-spacing:-.04em; }
.rh-prototype .section { padding:44px 34px; margin-top:48px; border-radius:22px; background:var(--rh-paper); }
.rh-prototype .section-head { gap:24px; }
.rh-prototype .h2 { font-size:clamp(30px,3.6vw,52px); line-height:1.09; letter-spacing:-.045em; }
.rh-prototype .lead { font-size:17px; line-height:1.65; color:var(--rh-muted); }
.rh-prototype .eyebrow { text-transform:none; letter-spacing:0; font-family:var(--f-body); font-size:12px; font-weight:400; }
.rh-prototype .btn:not(:where(.gis-summary .btn)) { border-radius:10px; font-family:var(--f-body); font-weight:500; background:var(--rh-bg); border-color:var(--rh-bg); color:#fff; }
.rh-prototype .btn--accent,.rh-prototype .quick__grid .btn { background:var(--rh-yellow); border-color:var(--rh-yellow); color:#29282a; }
.rh-prototype .btn--ghost:not(:where(.gis-summary .btn)) { background:transparent; color:var(--rh-ink); border-color:var(--line); }
.rh-prototype .seg { background:#eaeae7; border:0; padding:4px; border-radius:9px; }
.rh-prototype .seg button { border:0; border-radius:6px; }
.rh-prototype .seg button[aria-pressed="true"] { background:var(--rh-bg); color:#fff; }
.rh-prototype .chip { border-radius:8px; font-family:var(--f-body); }
.rh-prototype .chip.is-active,.rh-prototype .chip[aria-pressed="true"] { background:var(--rh-bg); color:#fff; border-color:var(--rh-bg); }
.rh-prototype .input,.rh-prototype .select,.rh-prototype .textarea { font-family:var(--f-body); background:#fff; border-radius:8px; }
.roi-home .input:focus,.roi-home .select:focus,.roi-home .textarea:focus {
  outline:none; border-color:#414042; box-shadow:0 0 0 3px var(--rh-yellow);
}
.roi-home ::selection { background:var(--rh-yellow); color:#414042; }
/* Нативный select сохраняет выбор с клавиатуры и интеграцию с формой. */
@supports (appearance:base-select) {
  .rh-prototype .quick__card select,
  .rh-prototype .quick__card select::picker(select) { appearance:base-select; }
  .rh-prototype #q-type { anchor-name:--rh-q-type; }
  .rh-prototype #q-type::picker(select) { position-anchor:--rh-q-type; }
  .rh-prototype #q-district { anchor-name:--rh-q-district; }
  .rh-prototype #q-district::picker(select) { position-anchor:--rh-q-district; }
  .rh-prototype .quick__card select {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    min-width:0; padding:12px 14px; background-image:none;
    color:#414042; font-size:15px; line-height:1.4;
  }
  .rh-prototype .quick__card select > button {
    display:flex; align-items:center; gap:12px; width:100%; min-width:0;
    padding:0; border:0; background:none; color:inherit; font:inherit; text-align:left;
  }
  .rh-prototype .quick__card selectedcontent {
    display:block; flex:1; min-width:0; overflow:hidden; white-space:nowrap; text-overflow:ellipsis;
  }
  .rh-prototype .quick__card select:open { border-color:#414042; box-shadow:0 0 0 3px var(--rh-yellow); }
  .rh-prototype .quick__card select::picker-icon {
    content:''; flex:0 0 auto; width:8px; height:8px; margin-inline:6px 2px;
    border-right:1.5px solid #414042; border-bottom:1.5px solid #414042;
    transform:translateY(-2px) rotate(45deg);
  }
  .rh-prototype .quick__card select:open::picker-icon { transform:translateY(2px) rotate(225deg); }
  .rh-prototype .quick__card select::picker(select) {
    position-area:none; position-try-fallbacks:none; position-try-order:normal;
    inset:auto; top:anchor(bottom); left:anchor(left);
    inline-size:anchor-size(width); min-inline-size:240px; max-inline-size:calc(100vw - 32px);
    max-block-size:min(300px,42dvh); margin:7px 0 0; padding:6px;
    background:#fff; color:#414042; border:1px solid var(--line); border-radius:12px;
    box-shadow:0 12px 30px rgb(65 64 66 / .14);
    font-family:var(--f-body); font-size:15px; line-height:1.4;
    scrollbar-width:thin; scrollbar-color:#b9bab5 transparent;
  }
  .rh-prototype .quick__card select option {
    display:flex; align-items:center; gap:12px; min-height:44px; padding:11px 12px;
    border-radius:7px; background:#fff; color:#414042; font:inherit;
    white-space:normal; cursor:pointer;
  }
  .rh-prototype .quick__card select option:hover,
  .rh-prototype .quick__card select option:focus { outline:none; background:#eeefec; color:#414042; }
  .rh-prototype .quick__card select option:checked { background:var(--rh-yellow); color:#414042; font-weight:500; }
  .rh-prototype .quick__card select option::checkmark { order:1; margin-inline-start:auto; color:#414042; font-weight:700; }
}
@media (max-width:560px) {
  .rh-prototype .quick__card select,.rh-prototype .quick__card select::picker(select) { font-size:16px; }
}
.rh-prototype .about-split { gap:12px; }
.rh-prototype .dirs { gap:12px; border:0; }
.rh-prototype .dirs li { min-width:0; padding:22px 20px; border:0; border-radius:12px; background:#efefec; }
.rh-prototype .dirs h3 { font-size:23px; font-weight:500; letter-spacing:-.025em; }
.rh-prototype .dirs .hexicon { background:var(--rh-yellow); color:#414042; }
.rh-prototype .principles { margin-top:40px; gap:12px; border:0; border-radius:0; background:transparent; overflow:visible; }
.rh-prototype .principles > div { min-width:0; background:#efefec; padding:26px 20px; border-radius:12px; }
.rh-prototype .principles h3 { font-size:18px; font-weight:500; line-height:1.25; letter-spacing:-.02em; }
.rh-prototype .principles p { font-size:13px; }
.rh-prototype .hexicon--accent { background:var(--rh-yellow); color:#414042; }
.rh-prototype .pcard,.rh-prototype .ccard { border-radius:14px; box-shadow:none; }
.rh-prototype .pcard__media { aspect-ratio:4/3; }
.rh-prototype .pcard__title,.rh-prototype .ccard__title { font-size:20px; font-weight:500; line-height:1.25; letter-spacing:-.025em; }
.rh-prototype .pcard__specs dt,.rh-prototype .ccard__type,.rh-prototype .ccard__result b { text-transform:none; letter-spacing:0; font-family:var(--f-body); }
.rh-prototype .pcard__specs dd { font-family:var(--f-body); font-size:18px; font-weight:500; }
.rh-prototype .pcard__specs .pcard__ppm { font-size:12px; font-weight:400; }
.rh-prototype .badge { background:var(--rh-paper); color:var(--rh-ink); font-family:var(--f-body); border:0; }
.rh-prototype .badge--rent { background:var(--rh-yellow); color:#414042; }
.rh-prototype .badge--sale { background:var(--rh-bg); color:#fff; }
.rh-prototype .services { --service-cut:80px; --service-gap:18px; --service-inset:34px; --service-cut-axis:vertical; grid-template-columns:minmax(0,1fr) var(--service-cut) minmax(0,1fr); gap:0; }
.rh-prototype .service { border:0; border-radius:14px; padding:var(--service-inset); min-width:0; }
.rh-prototype .services > .service:first-child { grid-column:1/3; grid-row:1; padding-right:calc(var(--service-inset) + var(--service-cut)); clip-path:polygon(0 0,100% 0,calc(100% - var(--service-cut)) 100%,0 100%); }
.rh-prototype .services > .service:last-child { grid-column:2/4; grid-row:1; padding-left:calc(var(--service-inset) + var(--service-cut) + var(--service-gap)); clip-path:polygon(calc(var(--service-cut) + var(--service-gap)) 0,100% 0,100% 100%,var(--service-gap) 100%); }
@media (min-width:901px) and (max-width:1100px) {
  .rh-prototype .services { --service-cut:56px; }
}
.rh-prototype .service--dark { background:var(--rh-bg); color:#fff; }
.rh-prototype .service--accent { background:var(--rh-yellow); color:#29282a; }
.rh-prototype .service__bg { display:none; }
.rh-prototype .service h3 { font-size:34px; line-height:1.12; font-weight:500; letter-spacing:-.04em; }
.rh-prototype .service p { font-size:15px; line-height:1.6; }
.rh-prototype .service li { font-size:14px; }
.rh-prototype .service--dark .btn--accent { background:var(--rh-yellow); color:#29282a; }
.rh-prototype .service--accent .btn { background:var(--rh-bg); color:#fff; }
/* Отзывы и рейтинг 2ГИС используют общие стили страницы «Кейсы и отзывы». */
.rh-prototype .section--navy { background:var(--rh-soft); color:#fff; }
.rh-prototype .section--navy .lead { color:var(--on-navy-muted); }
.rh-prototype .form-card { border:0; border-radius:14px; padding:28px; color:var(--rh-ink); }
.rh-prototype .field__label,.rh-prototype .field > label { font-family:var(--f-body); text-transform:none; letter-spacing:0; }
.rh-prototype .tile input:checked + span { background:var(--rh-bg); color:#fff; }
.rh-prototype .cta-block { gap:40px; }
.roi-home .footer { max-width:1432px; width:calc(100% - 80px); margin:20px auto 28px; padding:38px 34px 26px; border:0; border-radius:22px; background:var(--rh-soft); color:#fff; }
.roi-home .footer > .container { padding:0; }
.roi-home .footer__grid { gap:28px; grid-template-columns:1.2fr 1fr 1fr 1fr; }
.roi-home .footer h4 { color:var(--on-navy-muted); text-transform:none; letter-spacing:0; }
.roi-home .footer a:hover { color:var(--rh-yellow); }
.roi-home .footer .msgr__btn { color:#fff; border-color:#ffffff55; background:transparent; }
.roi-home .footer__about,.roi-home .footer__contact { font-size:13px; }
.roi-home .footer ul { font-size:13px; }
@media (max-width:1200px) {
  .rh-nav { display:none; }.rh-header-cta { margin-left:auto; }.rh-menu-toggle { display:flex; }
  .rh-shell .rh-intro { padding:80px 25px 25px; }.rh-intro > p { font-size:12px; }
  .roi-home .footer { width:calc(100% - 48px); }
  .rh-prototype .quick__grid { grid-template-columns:1fr 1fr; }.rh-prototype .quick__grid .btn { grid-column:1/-1; }
}
@media (max-width:900px) {
  .rh-prototype .services { --service-cut:32px; --service-gap:12px; --service-inset:26px; --service-cut-axis:horizontal; grid-template-columns:minmax(0,1fr); grid-template-rows:auto var(--service-cut) auto; }
  .rh-prototype .services > .service:first-child { grid-column:1; grid-row:1/3; padding:var(--service-inset) var(--service-inset) calc(var(--service-inset) + var(--service-cut)); clip-path:polygon(0 0,100% 0,100% calc(100% - var(--service-cut)),0 100%); }
  .rh-prototype .services > .service:last-child { grid-column:1; grid-row:2/4; padding:calc(var(--service-inset) + var(--service-cut) + var(--service-gap)) var(--service-inset) var(--service-inset); clip-path:polygon(0 calc(var(--service-cut) + var(--service-gap)),100% var(--service-gap),100% 100%,0 100%); }
}
@media (max-width:800px) {
  .rh-logo > img { width:120px; height:64px; }
  .rh-shell .rh-intro { padding:76px 20px 24px; gap:16px; }.rh-intro h2 { font-size:27px; }.rh-intro-owner { font-size:11px; }
  .rh-prototype .section { padding:32px 26px; margin-top:32px; }.rh-prototype .quick__card { padding:26px; }
  .rh-prototype .about-split,.rh-prototype .cta-block { grid-template-columns:1fr; gap:30px; }
  .rh-prototype .grid-cards { grid-template-columns:1fr 1fr; gap:16px; }
  .roi-home .footer { width:calc(100% - 36px); padding:30px 26px; }.roi-home .footer__grid { grid-template-columns:1fr 1fr; }
}
@media (max-width:560px) {
  .rh-logo > img { width:100px; height:54px; }.rh-header { gap:10px; }.rh-header-cta { font-size:10px; gap:10px; }
  .rh-prototype .dirs li { gap:12px; padding:18px 16px; }
  .rh-shell .rh-intro { padding:22px 17px; }.rh-intro h2 { font-size:29px; }.rh-intro > p { font-size:11px; }.rh-intro-owner { font-size:10px; gap:6px; }.rh-intro-owner svg { width:13px; height:13px; }
  .rh-prototype .section { padding:28px 20px; margin-top:28px; border-radius:16px; }.rh-prototype .quick__card { padding:24px 20px; border-radius:16px; }
  .rh-prototype .quick__grid,.rh-prototype .grid-cards,.rh-prototype .reviews,.rh-prototype .principles { grid-template-columns:1fr; }
  .rh-prototype .quick__head h2 { font-size:25px; }.rh-prototype .h2 { font-size:33px; }.rh-prototype .lead { font-size:15px; }
  .rh-prototype .section-head { align-items:flex-start; flex-direction:column; gap:20px; }.rh-prototype .link-arrow { font-size:13px; }
  .rh-prototype .services { --service-inset:22px; }.rh-prototype .service h3 { font-size:30px; }
  .rh-prototype .input,.rh-prototype .select,.rh-prototype .textarea { font-size:16px; }.rh-prototype .form-card { padding:22px 18px; }
  .roi-home .footer { width:calc(100% - 24px); padding:28px 22px; border-radius:16px; margin-bottom:12px; }.roi-home .footer__grid { grid-template-columns:1fr; }
}

/* Первый экран: свободный контейнер с заголовком. */
.rh-shell .rh-hero-main { display:block; }
.rh-shell .rh-hero-main h1 { position:relative; width:52%; max-width:100%; z-index:1; font-size:clamp(42px,5.25vw,80px); line-height:1.06; }
@media (min-width:1001px) and (max-height:760px) {
  .rh-shell .rh-hero-main { padding:28px 28px 20px; }
}
@media (min-width:601px) and (max-width:1000px) {
  .rh-hero { display:flex; flex-direction:column; }
  .rh-shell .rh-hero-main { order:-1; }
  .rh-shell .rh-hero-main h1 { font-size:clamp(44px,7vw,66px); }
}
@media (max-width:600px) {
  .rh-hero { display:flex; flex-direction:column; }
  .rh-shell .rh-hero-main { order:-1; }
  .rh-shell .rh-hero-main h1 { width:100%; font-size:clamp(39px,10.5vw,59px); }
}

/* В узком первом экране карточки сохраняют общий диагональный стык. */
@media (max-width:1000px) {
  .rh-shell .rh-hero .rh-hero-aside { --rh-card-inset:28px; grid-template-columns:minmax(0,1fr); grid-template-rows:auto var(--rh-diagonal-rise) auto; gap:0; }
  .rh-shell .rh-hero-aside > .rh-history { grid-column:1; grid-row:1/3; padding:var(--rh-card-inset) var(--rh-card-inset) calc(var(--rh-card-inset) + var(--rh-diagonal-rise)); clip-path:polygon(0 0,100% 0,100% calc(100% - var(--rh-diagonal-rise)),0 100%); }
  .rh-shell .rh-hero-aside > .rh-intro { grid-column:1; grid-row:2/4; padding:calc(var(--rh-card-inset) + var(--rh-diagonal-rise) + 18px) var(--rh-card-inset) var(--rh-card-inset); clip-path:polygon(0 calc(var(--rh-diagonal-rise) + 18px),100% 18px,100% 100%,0 100%); }
  .rh-history > span { font-size:12px; }
  .rh-history > p:not(.rh-since) { max-width:38ch; font-size:14px; }
  .rh-history .rh-text-link { font-size:13px; }
  .rh-since { font-size:clamp(38px,7vw,52px); }
  .rh-intro h2 { font-size:36px; }
  .rh-intro > p { font-size:14px; }
  .rh-intro .rh-button { min-height:50px; font-size:13px; padding:14px 16px; }
}
@media (max-width:600px) {
  .rh-shell .rh-hero .rh-hero-aside { --rh-card-inset:24px; }
}

/* На телефоне факты о компании раскрываются после трёх направлений. */
/* Два равноправных действия рядом, без обводки у кнопки собственника. */
.rh-shell .rh-intro-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%; margin-top:auto; }
.rh-shell .rh-intro-actions .rh-button { width:100%; min-width:0; min-height:64px; padding:12px; gap:8px; border:0; font-size:14px; font-weight:500; line-height:1.3; }
.rh-shell .rh-intro-actions .rh-button span { min-width:0; }
.rh-shell .rh-intro-actions .rh-button svg { width:16px; height:16px; }
.rh-shell .rh-intro-actions .rh-intro-owner { background:var(--rh-paper); color:var(--rh-ink); }
.rh-shell .rh-intro-actions .rh-button--dark:hover { background:#626164; filter:none; }
@media (min-width:1001px) { .rh-hero { grid-template-columns:minmax(330px,29%) minmax(0,1fr); } }
@media (max-width:600px) {
  .rh-shell .rh-intro-actions { grid-template-columns:minmax(0,1fr); }
  .rh-shell .rh-intro-actions .rh-button { min-height:50px; padding:14px 16px; }
  .rh-shell .rh-intro-actions .rh-button svg { display:block; width:19px; height:19px; }
}

.home-about-toggle { display:none; }
@media (max-width:600px) {
  .home-about-link { display:none; }
  .home-about-toggle { display:flex; width:100%; justify-content:space-between; min-height:50px; margin-top:28px; text-align:left; }
  .home-about-toggle[aria-expanded="true"] svg { transform:rotate(180deg); }
  .home-about-more .principles { opacity:1; transform:none; transition:none; }
}

/* Кнопка каталога рядом с заголовком первого экрана. */
.rh-shell .rh-hero-heading { position:relative; z-index:2; display:flex; align-items:flex-end; justify-content:space-between; gap:16px; }
.rh-shell .rh-hero-heading h1 { flex:0 1 52%; min-width:0; }
.rh-shell .rh-hero-catalog { flex:0 0 clamp(130px, 12vw, 180px); min-height:64px; padding:12px; gap:8px; border:1px solid var(--rh-ink); color:var(--rh-ink); font-size:14px; font-weight:500; line-height:1.3; }
.rh-shell .rh-hero-catalog svg { width:16px; height:16px; }
.rh-shell .rh-hero-catalog:hover { background:#e5e5e4; filter:none; }
@media (max-width:600px) {
  .rh-shell .rh-hero-heading { flex-wrap:wrap; justify-content:flex-start; }
  .rh-shell .rh-hero-heading h1 { flex-basis:100%; }
  .rh-shell .rh-hero-catalog { flex-basis:160px; }
}

/* Быстрый выбор типа недвижимости в первом экране. */
.rh-shell .rh-intro-types { display:flex; flex-wrap:wrap; gap:6px; width:100%; }
.rh-shell .rh-intro-types a { display:inline-flex; align-items:center; gap:5px; min-height:32px; padding:5px 10px; border:1px solid currentColor; border-radius:9px; color:inherit; font-size:12px; font-weight:500; line-height:1.2; text-decoration:none; }
.rh-shell .rh-intro-types a svg { width:12px; height:12px; flex:none; }
.rh-shell .rh-intro-types a:hover { background:rgba(41,40,42,.1); }
.rh-shell .rh-intro-types a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }

/* На телефоне кейсы и отзывы листаются пальцем; край следующей карточки подсказывает направление. */
@media (max-width:720px) {
  .rh-prototype .home-cases .grid-cards,
  .rh-prototype .home-reviews .reviews {
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:calc(100% - 48px);
    grid-template-columns:none;
    gap:16px;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .rh-prototype .home-cases .grid-cards::-webkit-scrollbar,
  .rh-prototype .home-reviews .reviews::-webkit-scrollbar { display:none; }
  .rh-prototype .home-cases .grid-cards > *,
  .rh-prototype .home-reviews .reviews > * { min-width:0; scroll-snap-align:start; }
}
