/* Sergey workshop. Design-only layer; booking and city logic remain upstream. */
body.sergey-refresh {--sg-paper:#f6f3eb;--sg-white:#fffdf7;--sg-forest:#18382d;--sg-ink:#172e25;--sg-muted:#52635a;--sg-line:#d8ded2;--sg-light:#e4eedf;--sg-orange:#f2a067;--green-dark:var(--sg-forest);--green:#31644e;--text:var(--sg-ink);color:var(--sg-ink);background:var(--sg-paper);line-height:1.55;-webkit-font-smoothing:antialiased;}
.sergey-refresh .wrap{max-width:1220px;}
.sergey-refresh a:focus-visible,.sergey-refresh button:focus-visible,.sergey-refresh summary:focus-visible{outline:3px solid #aa502e;outline-offset:3px}
.sergey-refresh .reference-hero.sg-hero{position:relative;display:grid;grid-template-columns: minmax(0,1.08fr) minmax(0,1fr);align-items:stretch;min-height:0;isolation:isolate;overflow:hidden;border:0;border-radius:26px;background:var(--sg-forest);margin:14px 0 0;width:100%;color:#fffdf7}
.sergey-refresh .sg-hero .hero-text{position:relative;z-index:2;grid-area:1/1;display:flex;flex-direction:column;justify-content:center;max-width:none;padding:clamp(28px,5vw,77px);min-width:0}
.sergey-refresh .sg-hero h1{color:#fffdf7;font:800 clamp(2.2rem,4.7vw,4.7rem)/.99 system-ui,sans-serif;letter-spacing:-.063em;text-wrap:balance;max-width:16ch;margin:0 0 18px;word-break:normal;overflow-wrap:normal;hyphens:none}
.sergey-refresh .sg-hero h1::after{display:none}
.sergey-refresh .sg-hero h1 .at-home{display:inline}
.sergey-refresh .sg-hero .hero-intro{font-size:clamp(1rem,1.45vw,1.2rem);line-height:1.5;color:#edf2e8;max-width:42ch;margin:0 0 20px}
.sergey-refresh .sg-hero .hero-city{color:#f5d6b7;font-weight:650;font-size:.84rem;margin:0 0 10px;width:fit-content}
.sergey-refresh .sg-hero .hero-city::before{color:inherit}
.sergey-refresh .sg-hero .hero-name{display:none}
.sergey-refresh .sg-hero .checks{margin:0 0 20px;color:#e3edde;padding:0;display:grid;gap:6px;max-width:100%;font-size:.90rem}
.sergey-refresh .sg-hero .checks li{color:inherit}
.sergey-refresh .sg-hero .checks li::before{color:#f2a067}
.sergey-refresh .sg-hero .hero-figure{grid-area:1/2;position:relative;inset:auto;z-index:1;margin:0;width:100%;height:auto;min-width:0;min-height:390px;overflow:hidden;background:#d3d5c6}
.sergey-refresh .sg-hero .hero-figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:var(--sg-crop,50% 42%);mask-image:none;-webkit-mask-image:none;opacity:1}
.sergey-refresh .sg-hero .hero-figure::after{display:block;position:absolute;content:"";inset:0;pointer-events:none;background:linear-gradient(90deg,#18382d38,transparent 34%),linear-gradient(0deg,#11251b72,transparent 21%);z-index:1}
.sergey-refresh .sg-hero .hero-figure figcaption{position:absolute;z-index:2;bottom:15px;right:15px;left:auto;max-width:none;padding:5px 10px;background:#152e24e8;color:#fffdf7;font-size:.71rem;font-weight:600;line-height:1.3;border-radius:20px}
.sergey-refresh .sg-kicker,.sergey-refresh .sg-label{display:flex;align-items:center;gap:9px;min-width:0;width:max-content;max-width:100%;font:750 .73rem/1.35 system-ui,sans-serif;letter-spacing:.11em;text-transform:uppercase}
.sergey-refresh .sg-kicker{color:#f2c99e;margin:0 0 16px}
.sergey-refresh .sg-kicker::before,.sergey-refresh .sg-label::before{display:block;content:"";width:9px;height:9px;border-radius:50%;background:#c76641;flex:none}
.sergey-refresh .sg-kicker::before{background:var(--sg-orange)}
.sergey-refresh .sg-label{color:var(--sg-forest);margin:0 0 10px}
.sergey-refresh .sg-actions{display:flex;flex-wrap:wrap;align-items:center;gap:9px 16px;margin:2px 0 0}
.sergey-refresh .sg-actions .sg-primary{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:8px 17px;border-radius:7px;background:var(--sg-orange);color:#182a1f;font-weight:800;text-decoration:none}
.sergey-refresh .sg-actions .sg-primary:hover{background:#ffbb89}
.sergey-refresh .sg-actions .sg-secondary{color:#f2f5ee;font-weight:670;text-underline-offset:4px;}
.sergey-refresh .sg-route-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:14px 0 0}
.sergey-refresh .sg-route{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center;padding:17px 18px;background:var(--sg-white);border:1px solid var(--sg-line);border-radius:16px;color:var(--sg-ink);text-decoration:none}
.sergey-refresh .sg-route:hover{background:var(--sg-light);border-color:#9bb39f}
.sergey-refresh .sg-route-no{font-weight:780;color:#7a482e;font-size:.79rem;letter-spacing:.08em}
.sergey-refresh .sg-route strong{display:block;font-size:clamp(1rem,1.75vw,1.32rem);line-height:1.15;}
.sergey-refresh .sg-route small{display:block;margin-top:3px;color:var(--sg-muted);font-size:.8rem}
.sergey-refresh .sg-route-arrow{font-size:1.35rem}
.sergey-refresh main > section:not(.sg-hero):not(.sg-route-grid){margin-block:clamp(28px,5vw,68px)}
.sergey-refresh main > section h2{color:var(--sg-ink);font-weight:790;letter-spacing:-.049em;line-height:1.09;font-size:clamp(1.7rem,3.8vw,3rem);text-wrap:balance;}
.sergey-refresh main > section :is(.booking, .route, .work-example-card){min-width:0}
.sergey-refresh .booking,.sergey-refresh .landing-conditions,.sergey-refresh .landing-city-picker{border-radius:19px;border:1px solid var(--sg-line);background:#e8efe2}
.sergey-refresh .booking .button,.sergey-refresh .bottom-call .button{border-radius:7px;background:var(--sg-forest);color:#fffdf7;}
.sergey-refresh .booking input:not([type=checkbox]){background:var(--sg-white);border-color:#789881;border-radius:7px}
.sergey-refresh .work-examples img,.sergey-refresh .landing-section img{object-fit:cover;border-radius:10px;}
.sergey-refresh :is(.work-example-card,.work-card,.landing-card,.appliance-card,.price-card){border-radius:14px;background:var(--sg-white);border-color:var(--sg-line);box-shadow:none}
.sergey-refresh .reference-faq details{border-radius:10px;background:var(--sg-white);border:1px solid var(--sg-line)}
.sergey-refresh .reference-faq details + details{margin-top:7px}
.sergey-refresh .landing-cross,.sergey-refresh .bottom-call{border-radius:18px;background:#e6eddf;border:1px solid var(--sg-line)}
.sergey-refresh .sg-hero[data-sg-photo="electrical"]{--sg-crop:63% 45%}
.sergey-refresh .sg-hero[data-sg-photo="handyman"]{--sg-crop:50% 29%}
.sergey-refresh .sg-hero[data-sg-photo="washer"]{--sg-crop:50% 38%}
.sergey-refresh .sg-hero[data-sg-photo="installation"]{--sg-crop:50% 37%}
@media (min-width:701px){.sergey-refresh .sg-hero .hero-text > *{max-width:100%}.sergey-refresh .sg-hero .hero-text h1{max-width:16ch}}
@media (max-width:700px){
 .sergey-refresh .reference-hero.sg-hero{border-radius:18px;margin:10px 0 0;grid-template-columns:1fr;min-height:0}
 .sergey-refresh .sg-hero .hero-text{grid-area:1/1;display:block;padding:24px 20px 20px}
 .sergey-refresh .sg-hero .hero-text > :not(.hero-actions){max-width:100%;width:auto}
 .sergey-refresh .sg-hero h1{font-size:clamp(1.92rem,8.35vw,3rem);margin-bottom:13px;letter-spacing:-.053em}
 .sergey-refresh .sg-hero .hero-intro{font-size:.95rem;margin-bottom:15px}
 .sergey-refresh .sg-kicker{margin-bottom:10px;font-size:.66rem}
 .sergey-refresh .sg-hero .hero-city{margin-bottom:8px}
 .sergey-refresh .sg-hero .checks{display:none}
 .sergey-refresh .sg-hero .hero-figure{grid-area:2/1;min-height:0;height:clamp(185px,57vw,315px);width:100%;bottom:auto;}
 .sergey-refresh .sg-hero .hero-figure img{object-position:var(--sg-crop,50% 36%);mask-image:none;-webkit-mask-image:none}
 .sergey-refresh .sg-hero .hero-figure::after{background:linear-gradient(180deg,#18382d38,transparent 27%),linear-gradient(0deg,#11251b62,transparent 29%);}
 .sergey-refresh .sg-hero .hero-figure figcaption{right:11px;bottom:10px}
 .sergey-refresh .sg-route-grid{gap:7px}
 .sergey-refresh .sg-route{grid-template-columns:1fr auto;align-content:center;gap:3px 4px;padding:12px 9px;border-radius:11px}
 .sergey-refresh .sg-route-no{grid-column:1/-1;font-size:.66rem}
 .sergey-refresh .sg-route small{display:none}
 .sergey-refresh .sg-route-arrow{font-size:.9rem}
 .sergey-refresh .sg-route strong{font-size:.85rem}
}
.sergey-refresh :is(.top,.topbar,.site-header){background:var(--sg-paper);border-color:var(--sg-line)}
.sergey-refresh .top-city{color:var(--sg-forest);font-weight:750;background:var(--sg-light);border:1px solid var(--sg-line);border-radius:8px;padding:7px 10px}
.sergey-refresh .sg-field-gallery{padding:clamp(16px,3vw,34px);background:#e8e8d8;border:1px solid var(--sg-line);border-radius:18px}
.sergey-refresh .sg-field-gallery h2{margin:0 0 16px}
.sergey-refresh .sg-field-gallery .sg-field-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.sergey-refresh .sg-field-gallery figure{margin:0;min-width:0;background:#f8f6ed;border:1px solid var(--sg-line);border-radius:12px;overflow:hidden}
.sergey-refresh .sg-field-gallery img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:50% 32%;display:block}
.sergey-refresh .sg-field-gallery figcaption{font-size:.87rem;font-weight:650;line-height:1.35;padding:9px 10px}
@media (max-width:530px){.sergey-refresh .sg-field-gallery .sg-field-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.sergey-refresh .sg-field-gallery figcaption{font-size:.72rem;padding:6px;overflow-wrap:anywhere}}
.sergey-refresh .sg-actions a:not(.sg-primary){color:#f2f5ee;text-underline-offset:4px;}
.sergey-refresh .sg-hero .hero-name[hidden]{display:none}
.sergey-refresh .booking .booking-status,.sergey-refresh .booking .booking-copy,.sergey-refresh .booking .booking-copy p{color:var(--sg-ink)}
.sergey-refresh .booking .booking-status.error{color:#7d3b27}
.sergey-refresh .section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:12px}
.sergey-refresh .section-head .sg-label{grid-column:1/-1;margin-bottom:0}
.sergey-refresh .section-head h2{margin:0}
.sergey-refresh .section-head a{text-align:right}
.sergey-refresh .work-example,.sergey-refresh .appliance{border-radius:14px;background:var(--sg-white);border-color:var(--sg-line);overflow:hidden}
.sergey-refresh .work-example img,.sergey-refresh .landing-card img{border-radius:0}
.sergey-refresh .landing-cards,.sergey-refresh .appliance-grid{gap:14px}
.sergey-refresh .landing-card > a:hover{background:#e8efe2}
@media(min-width:701px){
 .sergey-refresh .sg-hero .hero-text h1{max-width:18ch;font-size:clamp(2.15rem,4.35vw,4.1rem)}
 .sergey-refresh .sg-hero .hero-figure::after{background:linear-gradient(90deg,#18382d95 0%,#18382d28 7%,transparent 19%),linear-gradient(0deg,#11251b51,transparent 19%)}
}
@media(max-width:700px){.sergey-refresh .landing-cards,.sergey-refresh .appliance-grid{gap:8px}.sergey-refresh .section-head{gap:4px 8px}}

.sergey-refresh .sg-route[hidden]{display:none}
