/* Главная: единая сетка и ритм секций после расширения контента, 09.10.2026.
 * Область действия ограничена главной. Данные и порядок берутся из её редактора. */
html body.fg-preview.fg-home .fg-home2 {
  --home-gutter:max(24px,calc((100% - 1320px)/2));
  --home-space:clamp(56px,6vw,88px);
  --home-light:#fff;--home-dark:#111214;
  --hr-ink:#252824;--hr-muted:#626660;--hr-gold:#936929;
  display:block;gap:0;background:var(--home-light);
}
html body.fg-preview.fg-home .fg-home2> :is(.hr-section,.h2-cats,.hr-factory,.fg-geography) {
  --hr-ink:#252824;--hr-muted:#626660;--hr-paper:var(--home-light);--hr-line:#deded6;--hr-gold:#936929;
  margin:0;padding:var(--home-space) var(--home-gutter)!important;
  border:0;box-shadow:none;background-image:none;
  width:100%;max-width:none;box-sizing:border-box;color:var(--hr-ink);background:var(--hr-paper);
}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section h2,.h2-cats h2,.hr-factory h2,.fg-geography>h2) {
  font-family:Manrope,Inter,system-ui,sans-serif!important;font-size:clamp(30px,3.1vw,44px)!important;
  font-weight:500!important;line-height:1.14!important;letter-spacing:-.035em!important;
  text-transform:none!important;max-width:24ch;margin:0;padding:0;position:static!important;
  color:inherit;text-wrap:balance;
}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section h2,.h2-cats h2,.hr-factory h2,.fg-geography>h2)::after {display:none}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section h2,.h2-cats h2,.hr-factory h2,.fg-geography>h2) :is(em,i) {font:inherit;color:inherit}
html body.fg-preview.fg-home .fg-home2 .hr-eyebrow {font-size:11px;line-height:1.4;font-weight:600;letter-spacing:.12em;margin-bottom:16px;color:var(--hr-gold)}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section p,.h2-cats__sub,.fg-geography>p) {font-size:15px;line-height:1.65;color:var(--hr-muted)}
html body.fg-preview.fg-home .fg-home2 .hr-heading {align-items:flex-end;gap:28px;margin-bottom:32px}
html body.fg-preview.fg-home .fg-home2 .hr-heading>div {max-width:720px}
html body.fg-preview.fg-home .fg-home2 .hr-heading p {max-width:62ch;margin-top:18px}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section,.h2-cats,.hr-factory) .fg-button {
  border:1px solid #b7b9b0!important;border-radius:3px!important;background:transparent!important;color:inherit!important;
  min-height:48px;padding:14px 20px!important;font-size:13px!important;font-weight:600!important;
  letter-spacing:0!important;text-transform:none!important;line-height:1.35;box-shadow:none;white-space:normal;
}
html body.fg-preview.fg-home .fg-home2 .hr-section .fg-button-filled {background:#936929!important;border-color:#936929!important;color:#fff!important}
html body.fg-preview.fg-home .fg-home2 :is(.hr-section,.h2-cats) .fg-button:hover {border-color:#936929!important}
/* Короткая полоса фактов связывает первый экран с каталогом. */
html body.fg-preview.fg-home .fg-home2>.hr-facts {padding-block:32px!important;background:var(--home-light);border:0;gap:28px}
html body.fg-preview.fg-home .fg-home2 .hr-fact {padding-right:20px}
html body.fg-preview.fg-home .fg-home2 .hr-fact>strong {font-size:clamp(25px,2.6vw,36px);font-weight:500;color:#80602d;margin-bottom:10px;letter-spacing:-.04em}
html body.fg-preview.fg-home .fg-home2 .hr-fact h2 {font-size:14px!important;line-height:1.45!important;font-weight:600!important;letter-spacing:0!important;margin-bottom:6px;max-width:none}
html body.fg-preview.fg-home .fg-home2 .hr-fact p {font-size:12px;line-height:1.6}
/* Решения — лёгкие колонки; реальные изображения идут непосредственно следом. */
html body.fg-preview.fg-home .fg-home2>.hr-segments {padding-bottom:42px!important}
html body.fg-preview.fg-home .fg-home2 .hr-segment-grid {gap:24px}
html body.fg-preview.fg-home .fg-home2 .hr-segment {padding:24px 0 8px;border:0;border:0;background:none;gap:0}
html body.fg-preview.fg-home .fg-home2 .hr-index {font-size:12px;margin-bottom:20px;color:#936929}
html body.fg-preview.fg-home .fg-home2 .hr-segment h3 {font-size:22px;font-weight:500;letter-spacing:-.02em}
html body.fg-preview.fg-home .fg-home2 .hr-segment p {font-size:14px;margin-top:12px;max-width:44ch}
html body.fg-preview.fg-home .fg-home2 .hr-card-link {font-size:12px;letter-spacing:0;text-transform:none;padding-top:24px}
/* Каталог и портфолио используют одинаковые поля, заголовки и подписи. */
html body.fg-preview.fg-home .fg-home2>.h2-cats {padding-top:42px!important}
html body.fg-preview.fg-home .fg-home2 .h2-cats__head {border:0;padding:0;gap:28px;align-items:flex-end;flex-wrap:nowrap;margin-bottom:32px}
html body.fg-preview.fg-home .fg-home2 .h2-cats__sub {max-width:64ch;margin-top:18px}
html body.fg-preview.fg-home .fg-home2 .h2-cats__grid {margin:0;gap:24px}
html body.fg-preview.fg-home .fg-home2 .h2-cat {gap:0;min-width:0;justify-content:flex-start}
html body.fg-preview.fg-home .fg-home2 .h2-cat img {border-radius:4px;margin:0 0 18px;aspect-ratio:4/5;object-fit:cover;object-position:center;background:var(--home-light)}
html body.fg-preview.fg-home .fg-home2 .h2-cat__name {font-size:18px;font-weight:600;line-height:1.35}
html body.fg-preview.fg-home .fg-home2 .h2-cat .hr-cat-note {font-size:13px;line-height:1.55;margin-top:8px;color:var(--hr-muted);flex:1}
html body.fg-preview.fg-home .fg-home2 .h2-cat__price {font-size:16px;font-weight:600;line-height:1.5;margin-top:12px}
html body.fg-preview.fg-home .fg-home2 .hr-catalog-note {margin:28px 0 0;padding-top:18px;border:0;font-size:12px;color:var(--hr-muted);max-width:none}
html body.fg-preview.fg-home .fg-home2>.hr-portfolio {background:var(--home-light)}
html body.fg-preview.fg-home .fg-home2 .hr-project-grid {gap:24px}
html body.fg-preview.fg-home .fg-home2 .hr-project {background:transparent;border:0}
html body.fg-preview.fg-home .fg-home2 .hr-project-photo {background:var(--home-light);aspect-ratio:3/4;border-radius:4px}
html body.fg-preview.fg-home .fg-home2 .hr-project-photo>span {left:12px;top:12px;background:var(--home-light);padding:7px 10px;border-radius:2px}
html body.fg-preview.fg-home .fg-home2 .hr-project-body {padding:20px 0 0}
html body.fg-preview.fg-home .fg-home2 .hr-project-body h3 {font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.025em}
html body.fg-preview.fg-home .fg-home2 .hr-project-body p {font-size:13px;line-height:1.6;margin-top:10px}
html body.fg-preview.fg-home .fg-home2 .hr-project .hr-card-link {margin-top:auto;padding-top:22px}
/* Преимущества и бренды образуют один светлый разворот. */
html body.fg-preview.fg-home .fg-home2>.hr-benefits {padding-bottom:44px!important}
html body.fg-preview.fg-home .fg-home2 .hr-benefit-grid {gap:28px}
html body.fg-preview.fg-home .fg-home2 .hr-benefit {padding-top:20px;border:0}
html body.fg-preview.fg-home .fg-home2 .hr-benefit h3 {font-size:20px;font-weight:500;line-height:1.35}
html body.fg-preview.fg-home .fg-home2 .hr-benefit p {font-size:14px;line-height:1.65;margin-top:12px}
html body.fg-preview.fg-home .fg-home2>.hr-brands {padding-top:44px!important;border:0}
html body.fg-preview.fg-home .fg-home2 .hr-brands .hr-heading h2 {font-size:clamp(28px,2.5vw,36px)!important}
html body.fg-preview.fg-home .fg-home2 .hr-brand-list li {background:#fff;border:0;border-radius:4px}
html body.fg-preview.fg-home .fg-home2 .hr-brand-list img {filter:none}
html body.fg-preview.fg-home .fg-home2 .hr-motion-button {font-size:12px;color:#626660;min-height:44px}
/* Этапы читаются строками, без крупных декоративных кругов. */
html body.fg-preview.fg-home .fg-home2 .hr-steps {gap:32px}
html body.fg-preview.fg-home .fg-home2 .hr-steps li {display:grid;grid-template-columns:38px 1fr;column-gap:16px;align-content:start;border:0;padding-top:20px}
html body.fg-preview.fg-home .fg-home2 .hr-step-number {grid-row:1/3;margin:0;width:auto;height:auto;display:block;border:0;font-size:14px;line-height:28px;color:#936929}
html body.fg-preview.fg-home .fg-home2 .hr-steps h3 {font-size:20px;line-height:1.4;font-weight:500;grid-column:2}
html body.fg-preview.fg-home .fg-home2 .hr-steps p {font-size:14px;margin-top:8px;grid-column:2}
html body.fg-preview.fg-home .fg-home2 .hr-install-note {background:transparent;border:0;border-radius:0;padding:18px 0;font-size:14px}
/* Производство: нейтральный фон и видео в собственных пропорциях. */
html body.fg-preview.fg-home .fg-home2>.hr-factory {background:var(--home-dark);color:#f5f5f5;padding-block:44px!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-hero {grid-template-columns:280px minmax(0,1fr)!important;gap:64px!important;max-width:1000px;margin:0 auto!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-video-portrait {height:512px!important;width:280px!important;max-width:100%!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-video-portrait video {border:0!important;border-radius:0!important;box-shadow:none!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-head h2 {font-size:clamp(30px,3vw,42px)!important;max-width:22ch;color:#f5f5f5;margin-bottom:22px!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-head p {font-size:16px!important;line-height:1.6!important;color:#c5c5c5!important;max-width:46ch!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-button {color:#f5f5f5!important;border-color:#686868!important}
html body.fg-preview.fg-home .fg-home2 .hr-factory-caption {max-width:1000px;font-size:13px;color:#aaa;margin:18px auto 0;line-height:1.5}
/* Квиз: читаемые варианты и компактный прогресс без дополнительных панелей. */
html body.fg-preview.fg-home .fg-home2 .hr-estimate {gap:64px;align-items:center}
html body.fg-preview.fg-home .fg-home2 .hr-estimate-form {border:0;border-radius:4px;padding:32px;background:#fff!important}
html body.fg-preview.fg-home .fg-home2 .hr-estimate-intro h2 {max-width:20ch}
html body.fg-preview.fg-home .fg-home2 .hr-estimate-intro p {max-width:45ch}
html body.fg-preview.fg-home .fg-home2 .hr-estimate-form legend {font-size:23px;font-weight:500;letter-spacing:-.02em}
html body.fg-preview.fg-home .fg-home2 .hr-options label {border-color:#deded6;border-radius:3px;padding:14px 16px}
html body.fg-preview.fg-home .fg-home2 .hr-options label:has(input:checked) {background:#f5f1e8;border-color:#936929}
html body.fg-preview.fg-home .fg-home2 .hr-estimate-form .hr-quiz-hint {font-size:13px}
/* География возвращена в ту же ширину, что каталог, а не от края до края. */
html body.fg-preview.fg-home .fg-home2>.fg-geography {display:block;background:var(--home-light);text-align:left;height:auto}
html body.fg-preview.fg-home .fg-home2 .fg-geography>h2 {width:auto;max-width:26ch;text-align:left;margin:0}
html body.fg-preview.fg-home .fg-home2 .fg-geography>p {width:auto;max-width:62ch;margin:20px 0 32px;text-align:left}
html body.fg-preview.fg-home .fg-home2 .fg-geography .fg-live-map {position:relative;inset:auto;width:100%;height:auto;margin:0!important;border:0;border-radius:4px;overflow:hidden}
html body.fg-preview.fg-home .fg-home2 .fg-geography :is(.fg-statement-base,.fg-star) {display:none}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo {padding:0!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-grid {max-width:none;width:100%;padding:0;margin:0}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-mapwrap {height:420px!important;min-height:0!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {padding:28px!important;background:#fff!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard {padding:0!important;background:var(--home-light)!important;border:0!important;box-shadow:none!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard blockquote {font-size:14px;line-height:1.65}
html body.fg-preview.fg-home .fg-home2 .hr-regions {max-width:none;margin:26px 0 0;padding:0}
html body.fg-preview.fg-home .fg-home2 .hr-regions p {font-size:13px;max-width:85ch}
html body.fg-preview.fg-home .fg-home2 .hr-regions nav {gap:10px}
html body.fg-preview.fg-home .fg-home2 .hr-regions a {padding:8px 16px;border:1px solid #c5c8bd;border-radius:3px;text-decoration:none;color:#464c43;min-height:40px;display:inline-flex;align-items:center}
/* Понятный переход от выбора к идее и заявке. */
html body.fg-preview.fg-home .fg-home2>#ai.hr-ai-banner {display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:48px;background:var(--home-light);padding-block:44px!important;border:0;border-bottom:0;text-align:left}
html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner h2 {width:auto;max-width:28ch;font-size:clamp(28px,2.6vw,38px)!important}
html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner p {font-size:16px;max-width:65ch;margin:16px 0 0}
html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner>.fg-button {margin:0;justify-self:end}
html body.fg-preview.fg-home .fg-home2>.hr-final {padding:0!important;background:var(--home-dark);--hr-ink:#f5f5f5;--hr-muted:#bfc1c5;color:#f5f5f5;gap:0;align-items:stretch}
html body.fg-preview.fg-home .fg-home2 .hr-final-photo {border-radius:0;min-height:480px;max-height:none}
html body.fg-preview.fg-home .fg-home2 .hr-final-photo img {object-fit:cover;object-position:center;height:100%;width:100%}
html body.fg-preview.fg-home .fg-home2 .hr-final-form {padding:clamp(32px,4.5vw,72px);align-self:center}
html body.fg-preview.fg-home .fg-home2 .hr-final h2 {color:#f5f5f5;font-size:clamp(28px,2.6vw,38px)!important;max-width:22ch;margin-bottom:28px}
html body.fg-preview.fg-home .fg-home2 .hr-final .lead-field :is(input,textarea) {background:#212225!important;border:1px solid #55575c!important;color:#f5f5f5!important;border-radius:3px}
html body.fg-preview.fg-home .fg-home2 .hr-final .lead-field :is(input,textarea)::placeholder {color:#a4a7ac!important}
html body.fg-preview.fg-home .fg-home2 .hr-final :is(.lead-field>span,.lead-agree,.lead-alt) {color:#bfc1c5!important}
html body.fg-preview.fg-home .fg-home2 .hr-final :is(.lead-agree a,.lead-alt a) {color:#e1e2e5!important}
html body.fg-preview.fg-home .fg-home2 .hr-final .lead-alt {margin-top:28px;font-size:12px;letter-spacing:.03em;line-height:1.6}
html body.fg-preview.fg-home .fg-home2 .hr-final .btn-dark {background:#936929!important;color:#fff!important;border-color:#936929!important;letter-spacing:0;text-transform:none;font-size:14px}
@media(max-width:1100px) {
 html body.fg-preview.fg-home .fg-home2 {--home-gutter:32px}
 html body.fg-preview.fg-home .fg-home2 .hr-heading {flex-direction:row;align-items:flex-end}
 html body.fg-preview.fg-home .fg-home2 .hr-heading>div {max-width:65%}
 html body.fg-preview.fg-home .fg-home2 .hr-estimate {gap:32px}
 html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-hero {gap:40px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-project-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
 html body.fg-preview.fg-home .fg-home2 .hr-project-photo {aspect-ratio:4/3}
 html body.fg-preview.fg-home .fg-home2 .hr-ai-banner {grid-template-columns:minmax(0,1fr) auto}
}
/* На планшете форма получает полную ширину для полей и текста согласия. */
@media(min-width:701px) and (max-width:900px) {
 html body.fg-preview.fg-home .fg-home2>.hr-final {grid-template-columns:1fr}
 html body.fg-preview.fg-home .fg-home2 .hr-final-photo {height:380px;min-height:0}
 html body.fg-preview.fg-home .fg-home2 .hr-final-form {padding:36px 32px}
}
@media(max-width:700px) {
 html body.fg-preview.fg-home .fg-home2 {--home-gutter:20px;--home-space:48px}
 html body.fg-preview.fg-home .fg-home2 :is(.hr-section h2,.h2-cats h2,.hr-factory h2,.fg-geography>h2) {font-size:30px!important;line-height:1.16!important;letter-spacing:-.03em!important;max-width:24ch}
 html body.fg-preview.fg-home .fg-home2 :is(.hr-heading,.h2-cats__head) {flex-direction:column;align-items:stretch;gap:20px;margin-bottom:28px}
 html body.fg-preview.fg-home .fg-home2 .hr-heading>div {max-width:none}
 html body.fg-preview.fg-home .fg-home2 .hr-heading p {font-size:14px;line-height:1.6;margin-top:14px}
 html body.fg-preview.fg-home .fg-home2 .hr-heading>.fg-button {width:auto;align-self:flex-start}
 html body.fg-preview.fg-home .fg-home2>.hr-facts {padding-block:26px!important;gap:24px 18px}
 html body.fg-preview.fg-home .fg-home2 .hr-fact {padding-right:8px}
 html body.fg-preview.fg-home .fg-home2 .hr-fact>strong {font-size:25px;margin-bottom:8px}
 html body.fg-preview.fg-home .fg-home2 .hr-fact h2 {font-size:13px!important;line-height:1.4!important}
 html body.fg-preview.fg-home .fg-home2 .hr-fact p {font-size:12px;line-height:1.5}
 html body.fg-preview.fg-home .fg-home2>.hr-segments {padding-bottom:28px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-segment-grid {gap:20px}
 html body.fg-preview.fg-home .fg-home2 .hr-segment {display:grid;grid-template-columns:28px 1fr;column-gap:12px;padding-top:20px;padding-bottom:0}
 html body.fg-preview.fg-home .fg-home2 .hr-segment .hr-index {grid-row:1/4;margin:0;line-height:28px}
 html body.fg-preview.fg-home .fg-home2 .hr-segment h3 {font-size:20px;grid-column:2}
 html body.fg-preview.fg-home .fg-home2 .hr-segment p {font-size:13px;margin-top:8px;grid-column:2}
 html body.fg-preview.fg-home .fg-home2 .hr-segment .hr-card-link {grid-column:2;padding-top:14px}
 html body.fg-preview.fg-home .fg-home2>.h2-cats {padding-top:28px!important}
 html body.fg-preview.fg-home .fg-home2 .h2-cats__head .fg-button {align-self:flex-start}
 html body.fg-preview.fg-home .fg-home2 .h2-cats__grid {gap:26px 14px}
 html body.fg-preview.fg-home .fg-home2 .h2-cat img {margin-bottom:12px}
 html body.fg-preview.fg-home .fg-home2 .h2-cat__name {font-size:15px;line-height:1.35}
 html body.fg-preview.fg-home .fg-home2 .h2-cat .hr-cat-note {font-size:12px;line-height:1.5}
 html body.fg-preview.fg-home .fg-home2 .h2-cat__price {font-size:14px;margin-top:10px}
 html body.fg-preview.fg-home .fg-home2 .hr-project-grid {display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding-bottom:18px;scrollbar-width:thin;scrollbar-color:#a6a99f #dcded5}
 html body.fg-preview.fg-home .fg-home2 .hr-project {flex:0 0 88%;scroll-snap-align:start}
 html body.fg-preview.fg-home .fg-home2 .hr-project-photo {aspect-ratio:1/1}
 html body.fg-preview.fg-home .fg-home2 .hr-project-body h3 {font-size:21px}
 html body.fg-preview.fg-home .fg-home2 .hr-project-body p {font-size:13px}
 html body.fg-preview.fg-home .fg-home2 .hr-benefit-grid {grid-template-columns:1fr;gap:24px}
 html body.fg-preview.fg-home .fg-home2 .hr-benefit {display:grid;grid-template-columns:28px 1fr;column-gap:12px;padding-top:18px}
 html body.fg-preview.fg-home .fg-home2 .hr-benefit .hr-index {grid-row:1/3;margin:0;line-height:27px}
 html body.fg-preview.fg-home .fg-home2 .hr-benefit h3 {grid-column:2;font-size:20px}
 html body.fg-preview.fg-home .fg-home2 .hr-benefit p {grid-column:2;font-size:13px;line-height:1.6;margin-top:8px}
 html body.fg-preview.fg-home .fg-home2>.hr-benefits {padding-bottom:28px!important}
 html body.fg-preview.fg-home .fg-home2>.hr-brands {padding-top:28px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-brands .hr-heading {gap:8px}
 html body.fg-preview.fg-home .fg-home2 .hr-motion-button {align-self:flex-start}
 html body.fg-preview.fg-home .fg-home2 .hr-brand-list li {width:155px;height:80px}
 html body.fg-preview.fg-home .fg-home2 .hr-steps {grid-template-columns:1fr;gap:20px}
 html body.fg-preview.fg-home .fg-home2 .hr-steps li {grid-template-columns:28px 1fr;gap:0 12px;padding-top:18px}
 html body.fg-preview.fg-home .fg-home2 .hr-steps h3 {font-size:20px}
 html body.fg-preview.fg-home .fg-home2 .hr-steps p {font-size:13px}
 html body.fg-preview.fg-home .fg-home2 .hr-install-note {font-size:13px!important;line-height:1.6;padding:16px 0}
 html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-hero {grid-template-columns:1fr!important;gap:28px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-head h2 {font-size:30px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-factory .fg-factory-video-portrait {height:440px!important;width:241px!important;max-width:100%!important;grid-row:2;margin:0 auto!important}
 html body.fg-preview.fg-home .fg-home2 .hr-estimate {gap:28px;align-items:start}
 html body.fg-preview.fg-home .fg-home2 .hr-estimate-form {padding:22px 18px}
 html body.fg-preview.fg-home .fg-home2 .hr-estimate-form legend {font-size:21px}
 html body.fg-preview.fg-home .fg-home2 .fg-geography>h2 br {display:none}
 html body.fg-preview.fg-home .fg-home2 .fg-geography>p {font-size:14px;margin:18px 0 28px}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-mapwrap {height:260px!important}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {padding:20px 16px!important}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard {padding:0!important}
 html body.fg-preview.fg-home .fg-home2 .hr-regions nav {gap:8px}
 html body.fg-preview.fg-home .fg-home2 .hr-regions a {font-size:12px;padding:8px 12px}
 html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner {grid-template-columns:1fr;gap:24px;padding-block:36px!important}
 html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner h2 {font-size:30px!important}
 html body.fg-preview.fg-home .fg-home2>.hr-final {gap:0}
 html body.fg-preview.fg-home .fg-home2 .hr-final-photo {min-height:0;height:auto;aspect-ratio:4/3}
 html body.fg-preview.fg-home .fg-home2 .hr-final h2 {font-size:30px!important}
 html body.fg-preview.fg-home .fg-home2 .hr-final-form {padding:32px 20px 40px}
}
html body.fg-preview.fg-home .fg-home2 #ai.hr-ai-banner>.fg-button {justify-self:start}
/* Карта занимает всю высоту соседнего отзыва, без пустой полосы снизу. */
@media(min-width:701px) {
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-mapwrap {position:relative;height:auto!important;min-height:420px!important;align-self:stretch}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-map {position:absolute;inset:0;height:100%!important;min-height:0!important}
}

/* Два формата секций: белый информационный и чёрный акцентный.
 * Границы остаются у интерактивных элементов, но не разделяют секции. */
html body.fg-preview.fg-home {background:#fff}
html body.fg-preview.fg-home footer.site {background:#111214}
html body.fg-preview.fg-home .fg-home2 .hr-fact {border:0}

/* 10.10: первый экран занимает окно, отзывы не растягиваются по высоте карты. */
html body.fg-preview.fg-home .h2-hero.hs-hero {
 min-height:calc(100svh - var(--vt-nav-h,80px))!important;max-height:none!important;
}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-grid.has-rev {grid-auto-rows:auto;border:0;box-shadow:none}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-mapwrap {aspect-ratio:auto!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {height:auto;min-height:0;overflow:visible;gap:28px;border:0;box-shadow:none;padding:32px!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews-head {display:flex;flex-wrap:wrap;align-items:center;gap:16px;margin:0}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-rev-track {display:flex;flex-direction:row;align-items:flex-start;gap:28px;width:100%;height:auto;min-height:0;max-height:none;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;background:transparent;border:0;box-shadow:none;mask-image:none;-webkit-mask-image:none;padding:0}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard {flex:0 0 100%!important;scroll-snap-align:start;width:100%;min-width:0;max-width:100%;height:auto;min-height:0;margin:0;gap:12px;justify-content:flex-start;border:0!important;box-shadow:none!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard blockquote {margin:0;flex:0 0 auto;display:block;overflow:visible;-webkit-line-clamp:unset}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard .geo-revcard-name {margin:8px 0 0}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-rev-meta {flex-wrap:wrap;gap:8px 16px}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-rev-link {align-self:flex-start;width:auto;margin-top:4px}
@media(max-width:700px) {
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {padding:24px 0!important}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-rev-track {flex-direction:row;overflow-x:auto;overflow-y:hidden;max-height:none;scroll-snap-type:x mandatory}
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-revcard {flex:0 0 100%!important;scroll-snap-align:start}
}

/* Общая чёткая рамка связывает карту и отзывы в один блок. */
html body.fg-preview.fg-home .fg-home2 .fg-geography .fg-live-map {border:1px solid #959595!important;border-radius:0!important;box-shadow:none!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography :is(.geo-mapwrap,.geo-map) {border:0!important;border-radius:0!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {border-left:1px solid #959595!important;margin:0!important}
@media(max-width:1000px) {
 html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {border-left:0!important;border-top:1px solid #959595!important;padding:24px!important}
}

/* Более свободный ритм первого экрана и плавное соединение с фотографией. */
html body.fg-preview.fg-home .hs-hero__copy {gap:clamp(32px,5vh,60px)}
/* Неподвижная чёрная подложка: сплошная слева, длинный прозрачный край.
   Кадры свечения находятся под одним общим затемнением. */
@media(min-width:901px) {
 html body.fg-preview.fg-home .h2-hero.hs-hero {position:relative;isolation:isolate}
 html body.fg-preview.fg-home .hs-hero__photo {
  position:absolute;inset:0 0 0 20%;margin:0;min-height:0;z-index:0;
  -webkit-mask-image:none;mask-image:none;
 }
 html body.fg-preview.fg-home .hs-hero__photo::after {content:none}
 html body.fg-preview.fg-home .h2-hero.hs-hero::before {
  --hero-fade-width:45vw;
  content:"";position:absolute;top:-1px;bottom:-1px;left:0;right:auto;width:70vw;
  pointer-events:none;z-index:1;
  background:linear-gradient(to right,#0b1016 0,#0b1016 calc(100% - var(--hero-fade-width)),rgba(11,16,22,0) 100%);
 }
 html body.fg-preview.fg-home .hs-hero__copy {z-index:2}
}
@media(max-width:900px) {
 html body.fg-preview.fg-home .hs-hero__copy {gap:24px}
}

/* Тот же тёмный призыв, что на внутренних страницах. */
html body.fg-home .fg-home2>#ai.home-cta-slot {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#16181c!important}
html body.fg-home #ai.home-cta-slot .cta-band {padding:44px 0!important;margin:0!important;background:#16181c!important;color:#f4f3ef!important;border-block:1px solid #343638!important}
html body.fg-home #ai.home-cta-slot .wrap {width:100%!important;max-width:none!important;padding-inline:3.75vw!important;box-sizing:border-box}
html body.fg-home #ai.home-cta-slot .cb-in {display:flex!important;justify-content:space-between!important;align-items:center!important;gap:28px!important}
html body.fg-home #ai.home-cta-slot .eyebrow {display:none!important}
html body.fg-home #ai.home-cta-slot h2 {font:700 clamp(24px,2vw,32px)/1.25 Manrope,Inter,sans-serif!important;color:#f4f3ef!important;margin:0!important;text-transform:uppercase!important;letter-spacing:-.02em!important}
html body.fg-home #ai.home-cta-slot .cb-act {display:flex!important;gap:12px!important;flex:none}
html body.fg-home #ai.home-cta-slot .btn {min-height:46px!important;height:auto!important;padding:13px 22px!important;font:600 12px/1.5 Inter,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;border-radius:3px!important;text-decoration:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:20px!important}
html body.fg-home #ai.home-cta-slot .btn-amber {color:#151715!important;background:#a17b3c!important;border:1px solid #a17b3c!important}
html body.fg-home #ai.home-cta-slot .btn-ghost {color:#f4f3ef!important;-webkit-text-fill-color:#f4f3ef!important;background:transparent!important;border:1px solid #777970!important}
@media(max-width:850px){html body.fg-home #ai.home-cta-slot .cb-in {flex-direction:column!important;align-items:flex-start!important}}
@media(max-width:600px){html body.fg-home #ai.home-cta-slot .cta-band {padding-block:32px!important}html body.fg-home #ai.home-cta-slot .wrap {padding-inline:20px!important}html body.fg-home #ai.home-cta-slot .cb-act {display:grid!important;width:100%;grid-template-columns:1fr!important}}

/* На телефоне реальные работы показаны четырьмя плитками, как каталог. */
@media(max-width:700px) {
 html body.fg-preview.fg-home .fg-home2 .hr-project-grid {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 14px!important;overflow:visible!important;scroll-snap-type:none;padding-bottom:0}
 html body.fg-preview.fg-home .fg-home2 .hr-project {min-width:0;width:auto;scroll-snap-align:none}
 html body.fg-preview.fg-home .fg-home2 .hr-project-photo {aspect-ratio:3/4!important}
 html body.fg-preview.fg-home .fg-home2 .hr-project-body {padding-top:12px}
 html body.fg-preview.fg-home .fg-home2 .hr-project-body h3 {font-size:15px!important;line-height:1.35!important}
 html body.fg-preview.fg-home .fg-home2 .hr-project-body p {font-size:12px!important;line-height:1.5!important;margin-top:8px}
 html body.fg-preview.fg-home .fg-home2 .hr-project .hr-card-link {font-size:12px!important;line-height:1.5;padding-top:14px;gap:8px}
}
/* Главная использует ту же полноширинную полосу, что «Все решения». */
html body.fg-home .fg-home2>#ai.home-cta-slot {display:block!important;min-height:0!important;height:auto!important}
html body.fg-home #ai.home-cta-slot>.cta-band {display:block!important;width:100%!important;max-width:none!important;min-height:0!important;height:auto!important;box-sizing:border-box!important}
html body.fg-home #ai.home-cta-slot .wrap {max-width:1920px!important;margin-inline:auto!important;padding-inline:clamp(20px,4.166667vw,80px)!important}
html body.fg-home #ai.home-cta-slot h2 {max-width:600px!important;letter-spacing:.04em!important}
html body.fg-home #ai.home-cta-slot .btn {padding:.85rem 1.6rem!important;font:600 .78rem/1.5 Inter,system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:.09em!important;gap:8px!important}
html body.fg-home #ai.home-cta-slot .btn-amber {color:#14100a!important;background:#a9762a!important;border-color:#a9762a!important}
@media(max-width:900px){html body.fg-home #ai.home-cta-slot .wrap {padding-inline:24px!important}html body.fg-home #ai.home-cta-slot .cb-in {flex-direction:column!important;align-items:flex-start!important}}
@media(max-width:600px){html body.fg-home #ai.home-cta-slot .wrap {padding-inline:20px!important}html body.fg-home #ai.home-cta-slot .btn {width:100%!important}}
/* Единый масштаб заголовков секций главной, включая материалы и производство. */
html body.fg-preview.fg-home .fg-home2.fg-home2 :is(.hr-heading h2,.h2-cats__head h2,.fg-factory-head h2,.hr-estimate-intro h2,.fg-geography>h2,.hr-final h2) {
 font-family:Manrope,Inter,system-ui,sans-serif!important;font-size:clamp(30px,3.1vw,44px)!important;font-weight:500!important;line-height:1.14!important;letter-spacing:-.035em!important;text-transform:none!important;
}
@media(max-width:700px){html body.fg-preview.fg-home .fg-home2.fg-home2 :is(.hr-heading h2,.h2-cats__head h2,.fg-factory-head h2,.hr-estimate-intro h2,.fg-geography>h2,.hr-final h2) {font-size:30px!important;line-height:1.16!important;letter-spacing:-.03em!important}}

html body.fg-preview.fg-home .fg-home2 #factory .fg-factory-head h2 {font-size:clamp(30px,3.1vw,44px)!important;line-height:1.14!important;letter-spacing:-.035em!important}
@media(max-width:700px){html body.fg-preview.fg-home .fg-home2 #factory .fg-factory-head h2 {font-size:30px!important;line-height:1.16!important;letter-spacing:-.03em!important}}

/* Этапы: 1–3 слева, 4–6 справа; на телефоне естественный порядок 1–6. */
html body.fg-preview.fg-home .fg-home2 .hr-process-columns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px;align-items:start}
html body.fg-preview.fg-home .fg-home2 .hr-process-columns .hr-steps {margin:0!important;min-width:0}
@media(max-width:700px){html body.fg-preview.fg-home .fg-home2 .hr-process-columns {grid-template-columns:1fr;gap:0}}

/* Общий вертикальный ритм: одинаковые поля секций и границы одноцветных блоков. */
html body.fg-preview.fg-home main.fg-home2.fg-home2 {--section-pad:48px;--section-head-gap:28px}
html body.fg-preview.fg-home main.fg-home2.fg-home2>section:not(#top):not(#contact) {
 margin-block:0!important;padding-block:var(--section-pad)!important;border-top:0!important;border-bottom:0!important;
}
html body.fg-preview.fg-home main.fg-home2.fg-home2>section:not(#top):not(#contact):is(.hr-facts,.hr-segments,.hr-benefits,.hr-process,.hr-estimate,.fg-geography)+section:is(.hr-facts,.hr-segments,.hr-benefits,.hr-process,.hr-estimate,.fg-geography) {border-top:1px solid #deded6!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2>section:not(#top):not(#contact):is(.h2-cats,.hr-portfolio,.hr-factory,.hr-brands)+section:is(.h2-cats,.hr-portfolio,.hr-factory,.hr-brands) {border-top:1px solid #343638!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2 :is(.hr-heading,.h2-cats__head) {margin-block:0 var(--section-head-gap)!important;padding-block:0!important}
@media(max-width:700px){html body.fg-preview.fg-home main.fg-home2.fg-home2 {--section-pad:32px;--section-head-gap:24px}}

/* Поля считаются от границы содержимого, без добавочного воздуха у крайних элементов. */
html body.fg-preview.fg-home main.fg-home2.fg-home2>section:not(#top):not(#contact)>:first-child {margin-top:0!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2>section:not(#top):not(#contact)>:last-child {margin-bottom:0!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2 .hr-install-note {padding-block:0!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2 #contact .hr-final-form {padding-block:var(--section-pad)!important}
html body.fg-preview.fg-home main.fg-home2.fg-home2 #contact .lead-form>:last-child {margin-bottom:0!important}

/* Тёмная надпись основной кнопки читается плотнее на золотом фоне. */
html body.fg-preview.fg-home .fg-home2 .hs-hero__act>.fg-button-filled .vm-label {font-weight:700!important}

/* Карточки решений: ясная иерархия и заметное действие без наведения. */
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment {display:flex!important;flex-direction:column!important;align-items:flex-start!important;padding:28px!important;gap:0!important;min-width:0}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment .hr-index {display:none!important}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment h3 {font:500 24px/1.3 Manrope,Inter,sans-serif!important;letter-spacing:-.025em!important;margin:0!important}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment p {font:400 16px/1.6 Inter,system-ui,sans-serif!important;margin:12px 0 24px!important;max-width:44ch;color:#626971!important;flex:1}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment .hr-card-link {display:inline-flex!important;align-items:center;justify-content:space-between;gap:20px;padding:10px 16px!important;margin-top:auto!important;border:1px solid #b5a280!important;border-radius:4px;background:#f3f1ec;color:#292b27!important;font:600 14px/1.5 Inter,system-ui,sans-serif!important;letter-spacing:0!important;text-transform:none!important}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment:hover .hr-card-link,
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment:focus-visible .hr-card-link {background:#e9e1d2;border-color:#936929!important}
@media(max-width:700px){
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment {padding:24px!important}
html body.fg-preview.fg-home .fg-home2 #solutions .hr-segment h3 {font-size:22px!important}
}

html body.fg-preview.fg-home .fg-home2 #estimate.hr-estimate {background:#fff!important}

/* Небольшой зазор отделяет карту от карточки отзывов. */
html body.fg-preview.fg-home .fg-home2 .fg-geography .fg-live-map {border:0!important;border-radius:0!important;clip-path:none!important;overflow:visible}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-grid.has-rev {gap:16px!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-mapwrap {border:1px solid #e2ded5!important;border-radius:12px!important;overflow:hidden}
html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {border:1px solid #e2ded5!important;border-top:3px solid #a47d3b!important;border-radius:12px!important;overflow:hidden}

@media(max-width:1000px){html body.fg-preview.fg-home .fg-home2 .fg-geography .geo-reviews--side {margin-top:16px!important}}

/* Подводка стоит между заголовком и карточками с равными отступами. */
html body.fg-preview.fg-home .fg-home2>.fg-geography>p:not(#geography-spacing-unused) {margin-top:24px!important;margin-bottom:24px!important}
html body.fg-preview.fg-home .fg-home2 .fg-geography .fg-live-map>.geo {border-top:0!important}
@media(max-width:700px){
 html body.fg-preview.fg-home .fg-home2>.fg-geography>p:not(#geography-spacing-unused) {margin-top:20px!important;margin-bottom:20px!important}
}

/* Основной призыв первого экрана: немного крупнее надпись на золотом фоне. */
html body.fg-preview.fg-home:not(#vt-type-a):not(#vt-type-b) .fg-home2 #top .hs-hero__act>.fg-button-filled,
html body.fg-preview.fg-home:not(#vt-type-a):not(#vt-type-b) .fg-home2 #top .hs-hero__act>.fg-button-filled .vm-label {font-size:14px!important}

/* Мобильный расчёт занимает высоту открытого шага, без резерва под контакты. */
@media(max-width:700px) {
 html body.fg-preview.fg-home .fg-home2 #estimate .hr-estimate-form.is-enhanced:not(.is-sent)>fieldset[hidden] {display:none!important}
 html body.fg-preview.fg-home .fg-home2 #estimate .hr-quiz-error:empty {display:none!important}
}
