
:root{
  --uristst-font:"Segoe UI",Arial,Helvetica,sans-serif;
  --uristst-gold:#e2b45d;
  --uristst-gold-dark:#c89434;
  --uristst-line:#ece7de;
  --uristst-footer:#17191b;
}
html,body,button,input,select,textarea,h1,h2,h3,h4,h5,h6,p,li,a,label,table,th,td,blockquote,summary,
.site-title,.site-description,.main-header-menu a,.ast-builder-menu-1 .menu-item>.menu-link,
.elementor-heading-title,.elementor-widget-text-editor,.elementor-button,.elementor-nav-menu a,
.wp-block-heading,.wp-block-button__link{
  font-family:var(--uristst-font)!important;
}
.site-header,.ast-primary-header-bar,.main-header-bar,.elementor-location-header,.hfe-header{background:#fff}
.site-header,.ast-primary-header-bar,.main-header-bar{border-bottom-color:var(--uristst-line)!important}
.main-header-bar,.ast-primary-header-bar{min-height:72px}
.main-header-menu>.menu-item>.menu-link,.ast-builder-menu-1 .menu-item>.menu-link,
.elementor-location-header .elementor-nav-menu a,.hfe-nav-menu a{
  font-size:15px!important;font-weight:600!important;letter-spacing:0!important;
  text-transform:none!important;color:#202326!important
}
.main-header-menu>.menu-item>.menu-link:hover,.ast-builder-menu-1 .menu-item>.menu-link:hover,
.elementor-location-header .elementor-nav-menu a:hover,.hfe-nav-menu a:hover{
  color:var(--uristst-gold-dark)!important
}
.ast-header-button-1 .ast-custom-button,.elementor-location-header .elementor-button,.hfe-header .elementor-button{
  border-radius:0!important;background:transparent!important;border:1px solid var(--uristst-gold)!important;
  color:#202326!important;font-size:13px!important;font-weight:700!important;text-transform:uppercase!important;
  letter-spacing:.02em!important;box-shadow:none!important
}

/* Pilot page */
.uristst-legacy{
  --bg:#fbfaf7;--paper:#fff;--text:#202326;--muted:#687078;--line:#eee8dc;--soft:#f6f3ed;--w:1120px;
  font-family:var(--uristst-font);color:var(--text);font-size:17px;line-height:1.68;background:var(--bg)
}
.uristst-legacy,.uristst-legacy *{box-sizing:border-box}
.uristst-legacy h1,.uristst-legacy h2,.uristst-legacy h3{
  font-family:var(--uristst-font)!important;font-weight:700;color:#17191b;letter-spacing:-.028em
}
.uristst-legacy h1{max-width:820px;margin:0 0 20px;font-size:clamp(2.55rem,4.8vw,4.35rem);line-height:1.04}
.uristst-legacy h2{margin-bottom:28px;font-size:clamp(1.85rem,3vw,2.65rem);line-height:1.12}
.uristst-legacy h3{font-size:1.18rem;line-height:1.3}
.uristst-legacy .ul-wrap{max-width:var(--w);margin:0 auto}
.uristst-legacy .ul-kicker{margin-bottom:14px;font-size:.74rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--uristst-gold-dark)}
.uristst-legacy .ul-hero{padding:clamp(48px,7vw,86px) 24px clamp(54px,7vw,82px);background:var(--bg);border-bottom:1px solid var(--line)}
.uristst-legacy .ul-lead{max-width:760px;margin-bottom:28px;font-size:clamp(1.08rem,2vw,1.26rem);line-height:1.58;color:#4d5358}
.uristst-legacy .ul-name{margin-top:38px;font-size:1.16rem;font-weight:700;color:#181a1c}
.uristst-legacy .ul-gold-line{width:54px;height:2px;margin:24px 0;background:var(--uristst-gold)}
.uristst-legacy .ul-button .wp-block-button__link{border-radius:0;padding:.88em 1.45em;background:transparent;border:1px solid var(--uristst-gold);color:#1e2124;font-weight:700;text-transform:uppercase;font-size:.84rem}
.uristst-legacy .ul-section{padding:clamp(52px,7vw,82px) 24px;background:var(--bg)}
.uristst-legacy .ul-section--white{background:var(--paper)}
.uristst-legacy .ul-section--soft{background:var(--soft)}
.uristst-legacy .ul-services{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.uristst-legacy .ul-services li{display:grid;grid-template-columns:44px 1fr;gap:18px;padding:20px 0;border-bottom:1px solid var(--line)}
.uristst-legacy .ul-index{font-size:.98rem;font-weight:700;color:var(--uristst-gold-dark)}
.uristst-legacy .ul-services strong{display:block;margin-bottom:4px;font-size:1.08rem;font-weight:700}
.uristst-legacy .ul-services span{color:var(--muted)}
.uristst-legacy .ul-price-grid{display:grid;grid-template-columns:1fr 1fr;gap:46px}
.uristst-legacy .ul-complex{padding:32px;border:1px solid var(--line);background:#fff}
.uristst-legacy .ul-price-big{margin:8px 0 12px;font-size:clamp(2rem,4vw,3.2rem);font-weight:800;line-height:1}
.uristst-legacy .ul-saving{margin-top:22px;padding-top:18px;border-top:1px solid var(--line);font-weight:700;color:var(--uristst-gold-dark)}
.uristst-legacy .ul-price-list{margin:0;padding:0;list-style:none;border-top:1px solid var(--line)}
.uristst-legacy .ul-price-list li{display:grid;grid-template-columns:1fr auto;gap:24px;padding:14px 0;border-bottom:1px solid var(--line)}
.uristst-legacy .ul-why{display:grid;grid-template-columns:repeat(3,1fr);gap:42px}
.uristst-legacy .ul-why-item{padding-top:22px;border-top:2px solid var(--uristst-gold)}
.uristst-legacy .ul-practice{display:grid;grid-template-columns:repeat(2,1fr);gap:28px}
.uristst-legacy .ul-case{padding:28px;border:1px solid var(--line);background:#fff}
.uristst-legacy .ul-case-label{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--uristst-gold-dark)}
.uristst-legacy .ul-faq details{border-bottom:1px solid var(--line)}
.uristst-legacy .ul-faq details:first-of-type{border-top:1px solid var(--line)}
.uristst-legacy .ul-faq summary{padding:20px 4px;cursor:pointer;font-size:1.08rem;font-weight:700}
.uristst-legacy .ul-faq details p{padding:0 4px 20px;color:var(--muted)}
.uristst-legacy .ul-cta{padding:clamp(52px,7vw,74px) 24px;background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center}

/* Процесс работы */
.uristst-legacy .ul-process{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.uristst-legacy .ul-step{padding:24px;border:1px solid var(--line);background:#fff}
.uristst-legacy .ul-step .ul-index{font-size:.98rem;font-weight:700;color:var(--uristst-gold-dark)}
.uristst-legacy .ul-step h3{margin:12px 0 8px;font-size:1.12rem;font-weight:700}
.uristst-legacy .ul-step p{margin:0;color:var(--muted);font-size:.98rem}

/* Ссылки в списке услуг */
.uristst-legacy .ul-services a{color:inherit;text-decoration:none}
.uristst-legacy .ul-services a:hover{color:var(--uristst-gold-dark)}

/* Контактные строки */
.uristst-legacy .ul-contact-line{font-size:1.08rem;line-height:1.5}
.uristst-legacy .ul-contact-line a{color:#17191b;text-decoration:underline}
.uristst-legacy .ul-contact-line a:hover{color:var(--uristst-gold-dark)}

/* FAQ на мягком фоне */
.uristst-legacy ul.ul-reset{margin:0;padding:0;list-style:none}

/* Footer (design/tokens) перенесён в assets/css/design.css — DESIGN LOCK v1. */

@media(max-width:781px){
 .uristst-legacy{font-size:16px}.uristst-legacy h1{font-size:clamp(2.15rem,10.5vw,3rem)}
 .uristst-legacy .ul-hero,.uristst-legacy .ul-section,.uristst-legacy .ul-cta{padding-left:20px;padding-right:20px}
 .uristst-legacy .ul-price-grid,.uristst-legacy .ul-practice,.uristst-legacy .ul-why{grid-template-columns:1fr;gap:26px}
 .uristst-legacy .ul-process{grid-template-columns:1fr;gap:16px}
 .uristst-legacy .ul-price-list li{grid-template-columns:1fr;gap:4px}
}

/* URISTST LOGO SIZE START */
.site-header .custom-logo-link img,
.site-header .custom-logo {
    width: 170px;
    max-width: 170px;
    height: auto;
    object-fit: contain;
}

@media (max-width: 921px) {
    .site-header .custom-logo-link img,
    .site-header .custom-logo {
        width: 150px;
        max-width: 150px;
    }
}

@media (max-width: 544px) {
    .site-header .custom-logo-link img,
    .site-header .custom-logo {
        width: 138px;
        max-width: 138px;
    }
}
/* URISTST LOGO SIZE END */
