/* shared-ux.css */
/* Shared navigation standard. Site palette is supplied at build time. */
/* Intrinsic HTML dimensions reserve space; authored image-frame heights still win. */
:where(img){height:auto}
/* Keep long Russian headings inside their existing cards without changing typography. */
:where(h1,h2,h3){overflow-wrap:anywhere}
:root{--cz-ux-ink:#432e25;--cz-ux-line:#dfd4c9;--cz-ux-surface:#f8f4ee;--cz-ux-offset:220px}
.cz-page-nav{display:block;box-sizing:border-box;max-width:1240px;margin:0 auto 24px;padding:12px 24px;border-block:1px solid var(--cz-ux-line);color:var(--cz-ux-ink);background:var(--cz-ux-surface)}
.cz-page-nav ul{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;list-style:none;margin:0;padding:0}
.cz-page-nav li{margin:0;padding:0;min-width:0}
.cz-page-nav a{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:44px;min-height:44px;padding:8px 4px;color:var(--cz-ux-ink);font:inherit;font-size:15px;line-height:1.4;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px;white-space:normal}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:3px solid var(--cz-ux-ink);outline-offset:4px}
section[id],h2[id],h3[id],main[id]{scroll-margin-top:var(--cz-ux-offset)}
.cz-about-brief{padding-block:32px}.cz-about-brief p{max-width:70ch}.cz-about-brief>a{display:inline-flex;align-items:center;min-height:44px}
@media(hover:hover) and (pointer:fine){
 .cz-page-nav a:hover{text-decoration-thickness:2px}
 :where(button,.btn,.button,.r-button,.ab-measure,a[class*="-button"],a[class*="-btn"]):not(:focus-visible){transition:scale 160ms cubic-bezier(.23,1,.32,1)}
 :where(button,.btn,.button,.r-button,.ab-measure,a[class*="-button"],a[class*="-btn"]):active:not(:focus-visible){scale:.97}
}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}:where(button,.btn,.button,.r-button,.ab-measure,a[class*="-button"],a[class*="-btn"]){transition:none!important;scale:none!important}}
@media(max-width:767px){:root{--cz-ux-offset:120px}.cz-page-nav{padding:8px 16px;margin-bottom:16px}.cz-page-nav ul{gap:2px 12px}.cz-page-nav a{font-size:14px}}




/* budget-repair.css */
/* Budget only: keep the first block legible and its reviews subordinate. */
.hero:has(.hero-copy){align-items:start}
.hero .hero-copy{min-width:0}
.hero .actions,.office-hero .actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
.hero .actions>a.button,.office-hero .actions>a.button{width:100%;min-width:0;height:100%;text-align:center}
.hero .hero-reviews{max-width:100%;margin-top:18px;order:9}
.hero-reviews .official-rating-trial{display:flex;flex-wrap:wrap;gap:12px 24px}
.hero-reviews .official-rating-item{border:0;padding:0;border-radius:0;background:transparent;gap:4px;flex:0 1 150px}
.hero-reviews .official-rating-item>strong{font-size:13px;line-height:1.4}
.hero-reviews .official-rating-item>a{font-size:12px;min-height:24px;display:inline-flex;align-items:center}
.hero-reviews h2{font-size:14px;margin-bottom:8px}
.hero .hero-reviews .official-badge{min-height:50px}
@media(min-width:601px) and (max-width:900px){
 .hero:has(.hero-copy){grid-template-columns:1fr}
 .sales-page .hero{display:flex;flex-direction:column;align-items:stretch;gap:0}
 .sales-page .hero-copy{display:contents}
 .sales-page .hero .eyebrow{order:0}
 .sales-page .hero h1{order:1;font-size:36px;margin:14px 0 20px}
 .sales-page .hero-photo{order:2;margin:0 0 20px}
 .sales-page .hero-photo img{height:360px;object-fit:contain}
 .sales-page .hero .lead{order:3}
 .sales-page .hero .hero-price,.sales-page .hero .hero-example{order:4}
 .sales-page .hero .hero-subline,.sales-page .hero .mount-tags{order:5}
 .sales-page .hero .hero-benefit{order:6}
 .sales-page .hero .actions{order:7}
 .sales-page .hero-copy>.fine:not(.hero-benefit){order:8}
}
.cz-photo-zoom{position:relative;display:block;cursor:zoom-in}
.cz-photo-zoom::after{content:"Увеличить";position:absolute;right:12px;bottom:12px;z-index:2;padding:6px 10px;border-radius:6px;background:#fffaf2;color:#432e25;font:600 13px/1.4 Arial,sans-serif;pointer-events:none;opacity:0}
.cz-photo-zoom:focus-visible::after{opacity:1}
.cz-photo-zoom:focus-visible{outline:3px solid #946126;outline-offset:3px}
@media(hover:hover) and (pointer:fine){
 .cz-photo-zoom img{transition:filter 180ms cubic-bezier(.23,1,.32,1)}
 .cz-photo-zoom::after{transition:opacity 180ms cubic-bezier(.23,1,.32,1)}
 .cz-photo-zoom:hover{outline:2px solid #946126;outline-offset:-2px}
 .cz-photo-zoom:hover img{filter:brightness(.94)}
 .cz-photo-zoom:hover::after{opacity:1}
}
@media(max-width:600px){
 .hero .actions,.office-hero .actions{grid-template-columns:1fr}
 .sales-page .hero .hero-reviews,.blackout-page .hero .hero-reviews{order:9}
 .hero .hero-reviews{align-self:stretch}
}
@media(prefers-reduced-motion:reduce){.cz-photo-zoom img,.cz-photo-zoom::after{transition:none!important}}

/* budget-photo-viewer.css */
.cz-viewer{box-sizing:border-box;position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#121211;color:#faf8f4;overflow:hidden;font:14px/1.5 Arial,sans-serif}
.cz-viewer[open]{display:grid;grid-template-rows:64px minmax(0,1fr) auto}
.cz-viewer::backdrop{background:#121211}
.cz-viewer-top{display:flex;align-items:center;justify-content:space-between;padding:8px 20px;gap:16px}
.cz-viewer-count{color:#d4d0c9;font-variant-numeric:tabular-nums}
.cz-viewer button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;min-height:48px;margin:0;padding:12px;border:0;border-radius:0;box-shadow:none;background:transparent;color:#faf8f4;cursor:pointer;transform:none;scale:none}
.cz-viewer svg{display:block;width:24px;height:24px;flex-shrink:0}
.cz-viewer-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:0 80px}
.cz-viewer-image{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border:0;border-radius:0;box-shadow:none;background:transparent;touch-action:pan-y pinch-zoom}
.cz-viewer .cz-viewer-prev,.cz-viewer .cz-viewer-next{position:absolute;top:50%;translate:0 -50%}
.cz-viewer-prev{left:16px}.cz-viewer-next{right:16px}
.cz-viewer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:16px 24px 22px;min-height:64px}
.cz-viewer-caption{max-width:80ch;margin:0;color:#e2ded6;font-size:14px;line-height:1.5}
.cz-viewer-original{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;white-space:nowrap;color:#d4d0c9;text-decoration:underline;text-underline-offset:4px;font-size:13px}
.cz-viewer-original svg{width:17px;height:17px}
.cz-viewer :is(button,a):focus-visible{outline:2px solid #f0c386;outline-offset:-3px}
.cz-viewer [hidden]{display:none!important}
@media(hover:hover) and (pointer:fine){.cz-viewer button:hover{background:#ffffff15}.cz-viewer-original:hover{color:white}}
@media(max-width:600px){.cz-viewer[open]{grid-template-rows:56px minmax(0,1fr) auto}.cz-viewer-top{padding:4px 8px}.cz-viewer-stage{padding:0 8px}.cz-viewer .cz-viewer-prev,.cz-viewer .cz-viewer-next{top:auto;bottom:8px;translate:none;background:#121211b3}.cz-viewer-prev{left:8px}.cz-viewer-next{right:8px}.cz-viewer-bottom{display:block;padding:12px 16px max(12px,env(safe-area-inset-bottom))}.cz-viewer-caption{font-size:13px}.cz-viewer-original{font-size:12px}.cz-viewer-image{max-height:100%}}

/* Images are media controls, not selectable document content. Captions remain copyable. */
.cz-viewer-image,.cz-viewer button{user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent}.cz-viewer-image{-webkit-user-drag:none}

/* consult-channels.css */
/* Compact contact choice; no data capture or transport. */
.channel-section{padding-block:48px!important;scroll-margin-top:32px}
.consult-layout{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);gap:48px;align-items:start}
.consult-layout>div>h2{font-size:clamp(28px,3.2vw,44px);line-height:1.12;margin:0 0 16px}
.consult-layout>div>p{font-size:17px;line-height:1.5;margin:0;max-width:32ch}
.consult-channels{box-sizing:border-box;min-width:0;padding:28px;background:#eee7dd;color:#30251d;text-align:left}
.consult-channels h3{font-size:24px!important;line-height:1.2;margin:0 0 14px!important;color:inherit!important}
.consult-channels p{font-size:16px!important;line-height:1.5!important;color:inherit!important;margin:0 0 18px!important;max-width:65ch}
.consult-channel-actions{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 20px}
.consult-channel-actions a{box-sizing:border-box;display:flex;flex:1 1 180px;flex-direction:column;justify-content:center;min-height:64px;max-width:100%;padding:12px 16px;background:#63432f;color:#fff!important;font-size:17px;font-weight:600;text-decoration:none!important;overflow-wrap:anywhere}
.consult-channel-actions a span{display:block;font-size:14px;font-weight:400;line-height:1.5}
.consult-channel-actions .consult-email{background:#fff;color:#30251d!important}
.consult-channel-actions a:hover{text-decoration:underline!important;text-underline-offset:4px}
.consult-channel-actions a:focus-visible{outline:3px solid currentColor;outline-offset:4px}
.consult-channels p.consult-region{font-size:14px!important;margin:0!important}
.consult-channels--premium{background:var(--cz-bg,#f6f1e8);color:var(--cz-text,#2d241e)}
.consult-channels--premium .consult-phone{background:var(--cz-accent-dark,#7c5634)}
.consult-channels--premium .consult-email{color:var(--cz-text,#2d241e)!important}
@media(max-width:800px){.consult-layout{grid-template-columns:1fr;gap:24px}.channel-section{padding-block:32px!important}}
@media(max-width:420px){.consult-channels{padding:20px}.consult-channel-actions{display:grid;grid-template-columns:minmax(0,1fr)}.consult-layout{gap:20px}.consult-channels h3{font-size:22px!important}}

.region-service-note{padding:16px max(20px,calc((100vw - 1184px)/2));background:#eee7dd;color:#30251d}.region-service-note p{max-width:80ch;margin:0;font-size:16px;line-height:1.5}

/* comparison-entry.css */
.cz-compare-entry{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-top:24px;margin-bottom:48px;padding:32px!important;background:#eee4d5;border-radius:16px;box-sizing:border-box}.cz-compare-copy{max-width:700px}.cz-compare-entry h2{font-size:30px;line-height:1.18;margin:0 0 14px;color:#302923}.cz-compare-entry p{font-size:16px;line-height:1.6;margin:0;color:#51463c}.cz-compare-button{display:inline-flex;align-items:center;justify-content:center;gap:18px;flex-shrink:0;background:#654830;color:#fff!important;border-radius:9px;padding:17px 22px;font-size:16px;font-weight:600;text-decoration:none!important}.cz-compare-button:hover{background:#4c3423}.cz-compare-button:focus-visible,.cz-compare-footer a:focus-visible{outline:3px solid #bf8e49;outline-offset:4px}.cz-compare-footer{padding:22px 0;margin:0;border-top:1px solid currentColor}.cz-compare-footer a{font:600 16px/1.5 Arial,sans-serif;color:inherit;text-decoration:underline;text-underline-offset:4px}@media(max-width:768px){.cz-compare-entry{flex-direction:column;align-items:flex-start;gap:24px;padding:24px!important}.cz-compare-entry h2{font-size:27px}.cz-compare-button{width:100%;box-sizing:border-box;flex-shrink:1}.cz-compare-footer{padding:20px 16px}}
.cz-comparison-shortcut{background:#eee4d5;border-bottom:1px solid #d8c8b1}.cz-comparison-shortcut a{display:flex;align-items:center;gap:20px;padding:13px 0;color:#513820;font-size:16px;font-weight:600;text-decoration:none}.cz-comparison-shortcut a span{font-size:14px;font-weight:400;color:#655444}.cz-comparison-shortcut a b{margin-left:auto;font-size:22px}.cz-comparison-shortcut a:hover{text-decoration:underline;text-underline-offset:4px}.cz-comparison-shortcut a:focus-visible{outline:3px solid #bf8e49;outline-offset:3px}@media(max-width:560px){.cz-comparison-shortcut a{font-size:15px;gap:8px}.cz-comparison-shortcut a span{display:none}}

.cz-compare-entry{padding:24px 28px!important;margin-bottom:32px;gap:24px}.cz-compare-entry h2{font-size:26px;margin-bottom:10px}.cz-compare-entry p{line-height:1.5}.cz-calc-compare{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 24px;margin-top:26px;background:#eee4d5;border-radius:12px;box-sizing:border-box}.cz-calc-compare h3{font-size:20px;line-height:1.25;margin:0 0 7px;color:#302923}.cz-calc-compare p{font-size:15px;line-height:1.45;margin:0;color:#51463c}.cz-calc-compare .cz-compare-button{font-size:15px;padding:13px 18px}@media(max-width:768px){.cz-calc-compare{flex-direction:column;align-items:stretch;gap:16px;padding:20px}.cz-compare-entry{padding:22px!important;gap:18px}.cz-compare-entry h2{font-size:25px}}

/* rating-on-demand.css */
.official-badge .cz-rating-load{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;width:150px;max-width:100%;height:50px;padding:4px 8px;border:1px solid #b59a7c;border-radius:6px;background:#fffaf2;color:#654431;font:inherit;font-size:13px;line-height:1.3;cursor:pointer;text-align:center}
.official-badge .cz-rating-load:focus-visible{outline:3px solid #946126;outline-offset:2px}

/* analytics-consent.css */
/* The popup has a reserved slot after the header; no overlay or scroll lock. */
.czap-slot { box-sizing:border-box; width:min(1240px,calc(100% - 24px)); margin:12px auto; scroll-margin-top:100px; }
.czap-slot[hidden] { display:none !important; }
.czap-panel { box-sizing:border-box; max-width:520px; margin-left:auto; padding:18px; border:1px solid #ddd2c5; border-radius:16px; background:#fffcf7; color:#342b24; box-shadow:0 8px 28px #342b2420; overflow-wrap:anywhere; font:inherit; }
.czap-panel .czap-title { margin:0 0 8px; font:inherit; font-weight:700; font-size:19px; line-height:1.3; }
.czap-panel p { margin:0 0 10px; font-size:14px; line-height:1.5; }
.czap-panel a { color:#6b4a2e; text-decoration:underline; }
.czap-actions { display:flex; flex-wrap:wrap; gap:10px; }
.czap-actions .czap-button { box-sizing:border-box; flex:1 1 110px; min-width:0; min-height:44px; padding:10px 16px; margin:0; border:1px solid #6b5e53; border-radius:10px; background:#fffcf7; color:#342b24; font:inherit; font-size:15px; font-weight:600; line-height:1.4; text-align:center; cursor:pointer; white-space:normal; }
.czap-actions .czap-button:hover { background:#eee6da; }
.czap-panel [data-cz-analytics-status]:empty { display:none; }
.czap-panel [data-cz-analytics-status] { margin:10px 0 0; }
.czap-panel :focus-visible,.czap-footer :focus-visible { outline:3px solid #6b4a2e; outline-offset:3px; }
.czap-footer { box-sizing:border-box; max-width:1240px; margin:0 auto; padding:12px 16px; }
.czap-footer .czap-settings { min-height:44px; padding:8px 0; margin:0; border:0; background:transparent; color:inherit; font:inherit; font-size:14px; line-height:1.5; text-decoration:underline; cursor:pointer; }
html[data-cz-analytics-site="premium"] .czap-panel { background:#f7f3ec; border-color:#cdbd9f; }
@media(max-width:540px) { .czap-panel { max-width:none; padding:14px; } .czap-panel p { font-size:14px; } }

/* Compact proposal shared visually by budget and PRO. */
.czap-slot{margin:8px auto;width:min(1240px,calc(100% - 24px))}
.czap-panel{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;max-width:none;margin:0;padding:12px 16px;border-radius:12px;background:#fff9f0;box-shadow:none}
.czap-panel .czap-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.czap-panel p{margin:0;font-size:14px;line-height:1.45}
.czap-panel p a{display:inline-block;text-underline-offset:3px}
.czap-actions{flex-wrap:nowrap;gap:8px}
.czap-actions .czap-button{flex:1 1 auto;min-height:44px;padding:9px 14px;font-size:14px;border-radius:9px}
.czap-panel [data-cz-analytics-status]{grid-column:1/-1;font-size:13px;margin:0}
html[data-cz-analytics-site="premium"] .czap-panel{background:#fff9f0;border-color:#ddd2c5}
@media(max-width:600px){.czap-panel{grid-template-columns:1fr;gap:10px;padding:12px}.czap-actions .czap-button{flex:1 1 0}}

/* assets/page-contents.css */
/* One contents surface on both sites. Existing page palettes cannot turn it dark. */
html body nav.cz-contents[data-cz-contents]{display:block!important;position:static!important;inset:auto!important;z-index:auto!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-bottom:1px solid #ded2c4!important;border-radius:0!important;background:#f8f4ee!important;color:#33261f!important;box-shadow:none!important;transform:none!important;text-align:left!important;backdrop-filter:none!important}
nav.cz-contents .cz-contents__inner{box-sizing:border-box;display:block;width:var(--cz-contents-width,min(1240px,calc(100% - 48px)));max-width:100%;margin:0 auto;padding:8px 0;text-align:left}
html body nav.cz-contents .cz-contents__links{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:0 24px!important;list-style:none!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;width:100%!important;max-width:none!important}
html body nav.cz-contents .cz-contents__links>li{list-style:none!important;padding:0!important;margin:0!important;min-width:0;flex:0 0 auto}
html body nav.cz-contents .cz-contents__links a{box-sizing:border-box;display:inline-flex!important;align-items:center;justify-content:flex-start;position:relative;min-height:44px!important;margin:0!important;padding:9px 0!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#33261f!important;font:600 15px/1.4 Arial,Helvetica,sans-serif!important;letter-spacing:normal!important;text-transform:none!important;text-decoration:none!important;text-align:left!important;white-space:normal!important;transform:none!important}
html body nav.cz-contents .cz-contents__links a:hover,html body nav.cz-contents .cz-contents__links a[aria-current="location"]{color:#795337!important;border-bottom-color:#795337!important}
nav.cz-contents a:focus-visible,nav.cz-contents button:focus-visible{outline:2px solid #795337!important;outline-offset:4px}
html body nav.cz-contents .cz-contents__toggle{display:none!important}
@media(max-width:700px){
 nav.cz-contents .cz-contents__inner{width:var(--cz-contents-width,calc(100% - 32px));padding:4px 0}
 html body nav.cz-contents[data-cz-contents-ready] .cz-contents__toggle{display:flex!important;align-items:center;justify-content:space-between;gap:16px;width:100%;min-height:44px;margin:0;padding:10px 0;border:0;border-radius:0;background:transparent;color:#33261f;font:600 15px/1.4 Arial,Helvetica,sans-serif;text-align:left;cursor:pointer;box-shadow:none}
 nav.cz-contents .cz-contents__toggle svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}
 nav.cz-contents .cz-contents__toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
 html body nav.cz-contents[data-cz-contents-ready] .cz-contents__links[hidden]{display:none!important}
 html body nav.cz-contents .cz-contents__links{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px!important;padding-bottom:8px!important}
 html body nav.cz-contents .cz-contents__links>li{min-width:0}
 html body nav.cz-contents .cz-contents__links a{font-size:14px!important;width:100%}
}
@media(prefers-reduced-motion:reduce){nav.cz-contents .cz-contents__toggle svg{transition:none}}

