/* UltraDomSpb — palette shared by public page templates */
:root {
  --ud-cream: #f6f2ea;
  --ud-sand: #e9e1d2;
  --ud-line: #ddd3c0;
  --ud-graphite: #22262a;
  --ud-text: #383838;
  --ud-muted: #515c55;
  --ud-control: #1b563e;
  --ud-control-hover: #14432f;
  --ud-control-pale: #e2eee5;
  --ud-paper: #fff;
}
body:is(.front,.page) { background:var(--ud-cream); color:var(--ud-text); }
body.front header,body.front header .ud-hero,body.page .contentPage,body.page .showroom { background:var(--ud-cream); }
body.page > header.page { background:var(--ud-paper); }
body .top-head-wrap,body .top-head-wrap .top-header,body footer { background-color:var(--ud-paper); }
@media (min-width: 991px) and (max-width: 1100px) {
  .top-header .top-menu ul li { padding-inline: 4px; }
}
body footer {border-top:1px solid var(--ud-line)}
body .ud-hero h1,body .ud-stock h2,body .roof-catalog h2,body .roof-card .roof-name,body .page-wrap-plan h1,body .options-bl__title,body .model-top__title,body .title-map,body #about .built-homes-heading,body.front #advantage .t-title,body.front #modules .modules>.title,body.front #about>.container>.title {color:var(--ud-graphite)}
body.front .ud-stock {background:var(--ud-control-pale); color:var(--ud-graphite)}
body.front .roof-catalog {background:var(--ud-cream)}
body.front .roof-card {background:var(--ud-paper);border-color:var(--ud-line)}
body.front .roof-card .roof-action {color:var(--ud-control);border-color:var(--ud-line)}
body.front .roof-card .roof-details,body .ud-hero .ud-lead {color:var(--ud-text)}
body .ud-hero figcaption{color:var(--ud-control);border-color:var(--ud-control)}
body.front #advantage,body.front #modules,body.front #additions,body #about,body.front .videos,body .faq,body .seo-links {background:var(--ud-cream)}
body.front #tehnology,body.front #complects,body.front #subscribe,body.page .foundation {background:var(--ud-sand)}
body.front #tehnology .tehno {background:var(--ud-graphite);border-radius:12px}
body.front #tehnology .tehno .t-title {color:var(--ud-cream)}
body.front #tehnology .tehno .text-tehno .item {color:var(--ud-cream);background:var(--ud-graphite);border-color:#65716c}
body.front #tehnology .tehno .text-tehno .item-3 {border-color:#b7cfbe}
body.front #subscribe .built-homes-heading {color:var(--ud-graphite)}
body #dopolnitelnye-uslugi {--ink:var(--ud-graphite);--muted:var(--ud-muted);--blue:var(--ud-control);--line:var(--ud-line)}
body #dopolnitelnye-uslugi .uds-feature, body .ud-trust .ut-warranty,body .ud-trust .ut-card {background:var(--ud-paper);border-color:var(--ud-line);color:var(--ud-text)}
body #dopolnitelnye-uslugi .uds-included,body .ud-trust .ut-score,body .ud-trust .ut-avatar {background:var(--ud-control-pale);color:var(--ud-control)}
body .ud-trust .ut-reviews {background:var(--ud-cream)}
body .ud-trust :is(.ut-terms h2,.ut-coverage,.ut-duration,.ut-number) {color:var(--ud-graphite)}
body .ud-trust :is(.ut-standard,.ut-count,.ut-date,.ut-context,.ut-photo figcaption){color:var(--ud-muted)}
body .ud-trust :is(.ut-term,.ut-pair){border-color:var(--ud-line)}
body .ud-trust .ut-all {background:var(--ud-control);color:white}body .ud-trust .ut-all:hover {background:var(--ud-control-hover)}
body :is(#ud-projects,#ud-cost) {--ink:var(--ud-graphite);--green:var(--ud-control);--muted:var(--ud-muted);--line:var(--ud-line);--pale:var(--ud-control-pale);background:var(--ud-cream);color:var(--ud-text)}
body #ud-projects .udc-card {background:var(--ud-paper);border-color:var(--ud-line)}
body #ud-projects .udc-switch,body #ud-cost .uc-summary {background:var(--ud-control-pale)}
body #ud-projects .udc-price,body #ud-cost .uc-money,body .page-wrap-plan .title-top .price,body .types-svai .item .item-top .price,body .options-bl .item .price,body .model-house__wrap .item .price {color:var(--ud-graphite)}
body #ultra54-v-nalichii {background:var(--ud-control-pale)!important;color:var(--ud-graphite)!important;border-color:var(--ud-control)!important}
body #model-delivery summary {color:var(--ud-control);background:var(--ud-paper);border-color:var(--ud-control)}
body .page-wrap-plan .characteristics .table .row .value,body .model-house__wrap .item .table .row .value {color:var(--ud-graphite)}
body :is(.seo-text,.seo-page,.seo-links,.faq,.ud-agree) a:any-link,body .top-header .top-phone .callback,body .top-footer .contact .email,body .submenu .wrapper .subscr .contact .email,body .more-photo span,body .page .files .file-text a,body .files .file-text a,body .model-similar .link-more span,body .accepts a,body .tabs-block .item.active .top .name,body .showroom .tab:is(.active,:hover) span {color:var(--ud-control);border-bottom-color:currentColor}
body .seo-page th{background:var(--ud-sand)}body .seo-page :is(th,td){border-color:var(--ud-line)}
body .top-header .top-menu ul li a:is(:hover,:focus-visible),body .footer-bottom .links ul li a:is(:hover,:focus-visible){color:var(--ud-control)}
body .modules .wrapper .text-block .text span,body .wrap-company :is(.green-line,.text1) span, body .callback-wrap .title span,body .fancycallback .text-colomn .title span,body .text-block-show p span {color:var(--ud-control)}
body .wrap-company .green-line::before {background:var(--ud-control)}
body .callback-wrap .item-list.scrollbar-inner.radio .item:is(.checked,:hover) span{color:var(--ud-control)}
body .form-group input:focus,body .form-group textarea:focus {border-color:var(--ud-control)}
body .footer-bottom :is(.copyright,.policy a) {color:var(--ud-muted)}
body :is(.top-footer,.submenu,.callback-wrap,.more-photo,.showroom) svg [fill="#257FA4" i],body :is(.top-footer,.submenu,.callback-wrap,.more-photo,.showroom) svg [fill="#67B5C4" i] {fill:var(--ud-control)}
body :is(.top-footer,.submenu,.callback-wrap,.more-photo,.showroom) svg [stroke="#257FA4" i],body :is(.top-footer,.submenu,.callback-wrap,.more-photo,.showroom) svg [stroke="#67B5C4" i] {stroke:var(--ud-control)}
body .showroom .tab.active svg path {fill:var(--ud-control)}
body.page .page-wrap-plan .files .file-text a:any-link {color:var(--ud-control)}
body #modules .modules .s-block .label {background:var(--ud-control);color:white;border-radius:5px}
body :is(.top-footer,.submenu) .subscr svg circle[fill="#DCEFF3" i] {fill:var(--ud-control-pale)}
body :is(.top-footer,.submenu) .subscr a:is(:hover,:focus-visible) svg circle {fill:var(--ud-control)}
body :is(.top-footer,.submenu) .subscr a:is(:hover,:focus-visible) svg path {fill:white}

/* Shared footer */
footer.ud-footer { margin:0; padding:0; border:0; background:var(--ud-paper); color:var(--ud-text); }
.ud-footer .udf-panel { border-top:3px solid var(--ud-control); }
.udf-panel, .udf-panel * { box-sizing:border-box; }
.udf-panel p, .udf-panel ul { margin:0; padding:0; }
.udf-panel ul { list-style:none; }
.udf-inner { width:calc(100% - 88px); max-width:1170px; margin-inline:auto; }
.udf-main { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1.45fr) minmax(0,1fr); align-items:start; gap:42px; padding-block:42px 36px; }
.udf-logo { display:inline-flex; vertical-align:top; }
.udf-logo svg { display:block; width:149px; height:auto; }
.udf-social { display:flex; align-items:center; gap:10px; margin-top:24px; }
.udf-social a { display:grid; place-items:center; width:36px; height:36px; color:var(--ud-control); border:1px solid #cfdcd2; border-radius:50%; }
.udf-social a:hover { background:var(--ud-control-pale); }
.udf-social svg { width:100%; height:100%; }
.udf-social circle { fill:none; }
.udf-social path { fill:currentColor; }
.udf-nav { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.udf-nav h2 { margin:0 0 14px; font:400 25px/1.15 Georgia,'Times New Roman',serif; letter-spacing:-.035em; color:var(--ud-dark,#21372a); }
.udf-nav a { display:inline-flex; align-items:center; min-height:31px; font-size:15px; line-height:1.45; color:#26372e; text-decoration:none; }
.udf-contact { justify-self:end; }
.udf-contact .udf-phone { display:inline-block; color:#21372a; font-size:25px; line-height:1.2; font-weight:700; letter-spacing:-.035em; white-space:nowrap; text-decoration:none; }
.udf-contact .udf-mail { display:block; margin-top:6px; color:#43594b; font-size:15px; line-height:1.45; text-decoration:none; }
.udf-contact .udf-hours { margin-top:10px; font-size:14px; line-height:1.5; color:#506359; }
.udf-contact .udf-cta { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:8px 16px; margin-top:17px; border-radius:5px; background:var(--ud-control); color:white; text-decoration:none; font-size:14px; line-height:1.35; font-weight:600; }
.udf-contact .udf-cta:hover { background:var(--ud-control-hover); }
.udf-cta span { font-size:21px; font-weight:400; }
.udf-nav a:hover, .udf-contact .udf-mail:hover, .udf-contact .udf-phone:hover { color:var(--ud-control); text-decoration:underline; text-underline-offset:3px; }
.udf-bottom { background:#edf3ee; border-top:1px solid #dce6dd; color:#40574a; }
.udf-fine { display:grid; grid-template-columns:1fr auto; align-items:center; gap:18px; padding-block:19px; font-size:14px; line-height:1.5; }
.udf-entity strong { font-weight:600; color:#2e4536; }
.udf-entity small { display:flex; flex-wrap:wrap; column-gap:6px; font-size:14px; margin-top:3px; }
.udf-entity small span:nth-child(2) { order:-1; }
.udf-entity small span:first-child:nth-last-child(2)::before { content:'·'; margin-inline-end:6px; }
@media (min-width:651px) {
  .udf-fine { padding-inline-end:clamp(0px,calc((1394px - 100vw) / 2),68px); }
}
@media (min-width:651px) and (max-width:991px) {
  .udf-fine { padding-inline-end:40px; }
}
@media (max-width:480px) {
  .udf-entity small { flex-direction:column; }
  .udf-entity small span:first-child:nth-last-child(2)::before { content:none; }
}
@media (max-width:360px) {
  .udf-bottom .udf-fine { padding-bottom:60px; }
}
.udf-legal { display:flex; flex-wrap:wrap; gap:22px; align-items:center; }
.udf-legal a, .udf-legal .ud-cookie-settings { background:none; border:0; margin:0; padding:0; color:inherit; font:inherit; text-decoration:underline; text-decoration-color:#9eafa3; text-underline-offset:4px; }
.udf-legal .ud-cookie-settings[hidden] { display:none; }
.udf-panel :is(a,button):focus-visible { outline:2px solid var(--ud-control); outline-offset:3px; }
@media (max-width:870px) {
  .udf-inner { width:calc(100% - 48px); }
  .udf-main { gap:22px; }
  .udf-nav { gap:16px; }
  .udf-contact .udf-phone { font-size:21px; }
  .udf-legal { flex-direction:column; align-items:flex-start; gap:7px; }
}
@media (max-width:650px) {
  .udf-inner { width:calc(100% - 40px); }
  .udf-main { grid-template-columns:minmax(0,1fr); gap:0; padding-block:22px 18px; }
  .udf-brand { display:flex; align-items:center; justify-content:space-between; gap:12px; }
  .udf-logo svg { width:106px; }
  .udf-social { gap:7px; margin-top:0; }
  .udf-social a { width:44px; height:44px; }
  .udf-contact { grid-row:2; justify-self:stretch; border-block:1px solid #dce6dd; margin:18px 0; padding:17px 0 18px; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 8px; }
  .udf-contact .udf-phone { font-size:clamp(20px,5.9vw,23px); }
  .udf-contact .udf-hours { grid-column:2; grid-row:1/3; font-size:13px; max-width:90px; text-align:right; margin:0; }
  .udf-contact .udf-mail { margin:0; font-size:14px; }
  .udf-contact .udf-cta { grid-column:1/-1; margin-top:10px; padding-inline:14px; }
  .udf-nav h2 { font-size:23px; margin-bottom:4px; }
  .udf-nav a { min-height:44px; font-size:14px; }
  .udf-fine { padding-block:14px max(16px,env(safe-area-inset-bottom)); display:block; }
  .udf-entity small { font-size:14px; line-height:1.6; }
  .udf-legal { flex-direction:row; align-items:center; gap:1px 18px; margin-top:6px; }
  .udf-legal a, .udf-legal .ud-cookie-settings { min-height:44px; display:inline-flex; align-items:center; font-size:14px; }
}

@media (min-width: 1200px) {
  body.front .roof-catalog {
    padding-bottom: 0;
  }

  body.front .videos {
    margin-top: 64px;
    margin-bottom: 56px;
  }

  body.front .videos > .container {
    box-sizing: border-box;
    width: min(64vw, 840px);
    max-width: 840px;
    margin-inline: auto;
    padding: 0;
  }

  body.front #tehnology {
    padding-bottom: 0;
  }

  body.front #modules {
    margin-top: 0;
    padding-top: 44px;
  }
  /* Keep the decoration in the outer gutter beside the technology cards. */
  body.front #modules > .chip {
    width: min(231px, calc((100% - 1170px) / 2));
    pointer-events: none;
  }

  body.front #modules > .chip img {
    display: block;
    width: 100%;
    height: auto;
  }
}
