/* Щёлк - электрик в Минске. Стили демо-лендинга, собраны из дизайн-системы. */

:root {
  --bg-page: #ffffff;
  --bg-soft: #f5f4ef;
  --bg-ink: #16181d;
  --text-primary: #16181d;
  --text-secondary: #5c6068;
  --text-muted: #8b9098;
  --text-on-ink: #ffffff;
  --text-on-ink-secondary: #9aa0a8;
  --accent-yellow: #ffd23f;
  --accent-yellow-hover: #f5c400;
  --accent-yellow-soft: #fff4cc;
  --state-alarm: #d93a26;
  --state-success: #1f9d55;
  --line-default: #e4e2db;
  --line-strong: #16181d;
  --switch-off: #c9c7c0;
  --scene-wall: #edebe4;
  --scene-dark: #2b2d33;
  --scene-bulb: #ffe27a;
  --font-sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-96: 96px;
  --space-128: 128px;
  --radius-8: 8px;
  --radius-12: 12px;
  --radius-16: 16px;
  --radius-24: 24px;
  --radius-pill: 999px;
  --shadow-raised: 0 8px 24px rgba(22, 24, 29, 0.08);
  --container: 1200px;
  --gutter: 24px;
  --gutter-m: 12px;
  --page-margin-m: 16px;
  --section-gap: 96px;
  --section-gap-m: 64px;
  --control-h: 56px;
  --control-h-m: 52px;
  --tap-min: 44px;
  --icon-size: 24px;
  --icon-tile: 48px;
  --measure: 68ch;
}

/* Shchelk components. Colors, spacing, radii, shadow come from tokens.css; type sizes mirror tokens.json type styles. */
:root {
  --sh-h1: 56px; --sh-h2: 40px; --sh-h3: 24px; --sh-price: 32px; --sh-text-l: 18px; --sh-text-m: 16px;
  --sh-caption: 14px; --sh-button: 17px; --sh-trust: 48px; --sh-ctl: var(--control-h, 56px);
  --sh-pad: var(--space-24); --sh-ease: 160ms ease;
}
.sh-m {
  --sh-h1: 34px; --sh-h2: 28px; --sh-h3: 20px; --sh-price: 26px; --sh-text-l: 17px; --sh-text-m: 16px;
  --sh-caption: 13px; --sh-button: 16px; --sh-trust: 36px; --sh-ctl: var(--control-h-m, 52px); --sh-pad: var(--space-16);
}
@media (max-width: 767px) {
  :root {
    --sh-h1: 34px; --sh-h2: 28px; --sh-h3: 20px; --sh-price: 26px; --sh-text-l: 17px;
    --sh-caption: 13px; --sh-button: 16px; --sh-trust: 36px; --sh-ctl: var(--control-h-m, 52px); --sh-pad: var(--space-16);
  }
}
body { margin: 0; font-family: var(--font-sans); background: var(--bg-page); color: var(--text-primary); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
.sh-root, .sh-root * { box-sizing: border-box; }
[class^="sh-"], [class*=" sh-"] { box-sizing: border-box; }
.sh-h1 { font-size: var(--sh-h1); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.sh-h2 { font-size: var(--sh-h2); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.sh-h3 { font-size: var(--sh-h3); line-height: 1.25; font-weight: 600; margin: 0; }
.sh-text-l { font-size: var(--sh-text-l); line-height: 1.5; max-width: var(--measure, 68ch); }
.sh-text-m { font-size: var(--sh-text-m); line-height: 1.5; max-width: var(--measure, 68ch); }
.sh-caption { font-size: var(--sh-caption); line-height: 1.4; color: var(--text-secondary); }
.sh-price { font-size: var(--sh-price); line-height: 1.1; font-weight: 800; }
.sh-icon { flex: none; display: block; }
.sh-focus:focus-visible, .sh-btn:focus-visible, .sh-tab:focus-visible, .sh-faq__q:focus-visible, .sh-link:focus-visible, .sh-iconbtn:focus-visible, .sh-seg button:focus-visible, .sh-pricerow__head:focus-visible, .sh-card--link:focus-visible {
  outline: 2px solid var(--line-strong); outline-offset: 2px;
}
.sh-ink .sh-btn:focus-visible, .sh-ink .sh-link:focus-visible, .sh-ink .sh-iconbtn:focus-visible, .sh-ink .sh-focus:focus-visible { outline-color: var(--text-on-ink); }
@keyframes sh-spin { to { transform: rotate(360deg); } }
.sh-spin { animation: sh-spin 0.9s linear infinite; }

/* Button */
.sh-btn { font: inherit; font-size: var(--sh-button); font-weight: 600; line-height: 1; height: var(--sh-ctl); padding: 0 var(--space-24); border-radius: var(--radius-12); border: 2px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color var(--sh-ease), border-color var(--sh-ease), color var(--sh-ease), transform var(--sh-ease); }
.sh-btn--m { --sh-ctl: var(--control-h-m, 52px); --sh-button: 16px; }
.sh-btn--block { width: 100%; }
.sh-btn--primary { background: var(--accent-yellow); color: var(--text-primary); }
.sh-btn--primary:hover, .sh-btn--primary.is-hover { background: var(--accent-yellow-hover); }
.sh-btn--secondary { background: transparent; border-color: var(--line-strong); color: var(--text-primary); }
.sh-btn--secondary:hover, .sh-btn--secondary.is-hover { background: var(--bg-soft); }
.sh-btn--call { background: var(--bg-ink); color: var(--text-on-ink); }
.sh-btn--call .sh-icon { color: var(--accent-yellow); }
.sh-btn--call:hover, .sh-btn--call.is-hover { background: #2a2d34; }
.sh-btn--alarm { background: var(--state-alarm); color: var(--text-on-ink); }
.sh-btn--alarm:hover, .sh-btn--alarm.is-hover { background: #c23320; }
.sh-btn--text { background: none; height: auto; min-height: var(--tap-min, 44px); padding: 0; border: 0; color: var(--text-primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: var(--line-default); }
.sh-btn--text:hover, .sh-btn--text.is-hover { text-decoration-color: var(--text-primary); }
.sh-btn--text .sh-btn__arrow { transition: transform var(--sh-ease); }
.sh-btn--text:hover .sh-btn__arrow, .sh-btn--text.is-hover .sh-btn__arrow { transform: translateX(3px); }
.sh-btn:active, .sh-btn.is-active { transform: translateY(1px); }
.sh-btn--primary:active, .sh-btn--primary.is-active { background: #ebbc00; }
.sh-btn.is-focus { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-btn:disabled, .sh-btn.is-disabled { background: var(--bg-soft); border-color: transparent; color: var(--text-muted); cursor: default; transform: none; }
.sh-btn--text:disabled { background: none; }
.sh-btn--call:disabled .sh-icon { color: var(--text-muted); }
.sh-btn.is-loading { cursor: progress; }
.sh-btn--primary.is-loading { background: var(--accent-yellow); color: var(--text-primary); }

/* Field */
.sh-field { display: flex; flex-direction: column; gap: var(--space-8); min-width: 0; }
.sh-field__label { font-size: var(--sh-caption); font-weight: 600; color: var(--text-primary); }
.sh-field__control { font: inherit; font-size: 16px; color: var(--text-primary); background: var(--bg-page); width: 100%; height: var(--sh-ctl); padding: 0 var(--space-16); border: 1.5px solid var(--line-default); border-radius: var(--radius-8); outline: none; transition: border-color var(--sh-ease), box-shadow var(--sh-ease); appearance: none; -webkit-appearance: none; }
textarea.sh-field__control { height: auto; min-height: 96px; padding: var(--space-12) var(--space-16); resize: vertical; line-height: 1.5; }
.sh-field__control::placeholder { color: var(--text-muted); }
.sh-field__control:hover { border-color: var(--text-muted); }
.sh-field__control:focus, .sh-field__control.is-focus { border-color: var(--line-strong); box-shadow: 0 0 0 1px var(--line-strong); }
.sh-field.is-error .sh-field__control { border-color: var(--state-alarm); box-shadow: 0 0 0 1px var(--state-alarm); }
.sh-field__msg { font-size: var(--sh-caption); color: var(--text-secondary); }
.sh-field.is-error .sh-field__msg { color: var(--state-alarm); }
.sh-field.is-disabled .sh-field__control { background: var(--bg-soft); color: var(--text-muted); border-color: var(--line-default); cursor: default; }
.sh-field.is-disabled .sh-field__label { color: var(--text-secondary); }
.sh-field__select { position: relative; }
.sh-field__select select { padding-right: 48px; cursor: pointer; }
.sh-field__select select.is-empty { color: var(--text-muted); }
.sh-field__select .sh-icon { position: absolute; right: var(--space-16); top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Checkbox */
.sh-check { display: flex; gap: var(--space-12); align-items: flex-start; font-size: var(--sh-caption); line-height: 1.4; color: var(--text-secondary); cursor: pointer; min-height: var(--tap-min, 44px); }
.sh-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sh-check__box { flex: none; width: 24px; height: 24px; border-radius: var(--radius-8); border: 1.5px solid var(--text-secondary); background: var(--bg-page); display: grid; place-items: center; color: var(--text-primary); transition: background-color var(--sh-ease), border-color var(--sh-ease); }
.sh-check__box .sh-icon { opacity: 0; }
.sh-check input:checked + .sh-check__box { background: var(--accent-yellow); border-color: var(--text-primary); }
.sh-check input:checked + .sh-check__box .sh-icon { opacity: 1; }
.sh-check input:focus-visible + .sh-check__box { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-check.is-error .sh-check__box { border-color: var(--state-alarm); }
.sh-check a { color: var(--text-primary); }
.sh-check__text { padding-top: 2px; }

/* ToggleBadge */
.sh-toggle { display: inline-flex; align-items: center; gap: var(--space-12); font-weight: 600; font-size: var(--sh-text-m); line-height: 1.25; color: var(--text-primary); }
.sh-toggle__track { flex: none; display: inline-flex; width: 44px; height: 24px; padding: 3px; border-radius: var(--radius-pill); background: var(--bg-ink); transition: background-color 200ms ease; transition-delay: inherit; }
.sh-toggle__knob { width: 18px; height: 18px; border-radius: var(--radius-pill); background: var(--accent-yellow); transform: translateX(20px); transition: transform 220ms cubic-bezier(.5, 1.6, .5, 1), background-color 200ms ease; transition-delay: inherit; }
.sh-toggle.is-off .sh-toggle__track { background: var(--switch-off); }
.sh-toggle.is-off .sh-toggle__knob { background: var(--bg-page); transform: none; }
.sh-toggle--sm { gap: var(--space-8); font-weight: 400; font-size: var(--sh-text-m); }
.sh-toggle--sm .sh-toggle__track { width: 32px; height: 18px; padding: 3px; }
.sh-toggle--sm .sh-toggle__knob { width: 12px; height: 12px; transform: translateX(14px); }
.sh-toggle--sm.is-off .sh-toggle__knob { transform: none; }

/* LightScene - «щёлк - свет» */
.sh-scene { position: relative; height: 560px; border-radius: var(--radius-24); overflow: hidden; background: var(--scene-wall); isolation: isolate; }
.sh-scene.sh-m { height: 420px; }
.sh-scene > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-scene__dark { position: absolute; inset: 0; background: var(--scene-dark); transition: opacity 350ms; }
.sh-scene__glow { position: absolute; left: 50%; top: -232px; width: 1000px; height: 800px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 214, 90, .75), rgba(255, 214, 90, .28) 30%, rgba(255, 214, 90, .08) 65%, rgba(255, 214, 90, 0) 100%); opacity: 0; transition: opacity 350ms; pointer-events: none; }
.sh-scene__lampwrap { position: absolute; top: 0; width: 180px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.sh-scene__lamp { position: relative; display: block; }
.sh-scene__bulb { transition: fill 200ms, filter 300ms; }
.sh-scene.is-lit .sh-scene__bulb { filter: drop-shadow(0 0 10px rgba(255, 214, 90, .95)); }
.sh-scene__halo { position: absolute; left: 50%; width: 120px; height: 120px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 236, 160, .95), rgba(255, 214, 90, .35) 55%, rgba(255, 214, 90, 0)); opacity: 0; transition: opacity 300ms; }
.sh-scene.is-lit .sh-scene__halo { opacity: 1; }
/* photo mode: the photo itself is the room - dark and grey until the click, then lit and warm */
.sh-scene__photo { filter: brightness(.28) saturate(.3); transition: filter 450ms ease; }
.sh-scene.is-lit .sh-scene__photo { filter: brightness(1.03) saturate(1.06); }
.sh-scene.is-flick .sh-scene__photo { animation: sh-flick-p 500ms steps(1) forwards; }
@keyframes sh-flick-p { 0% { filter: brightness(.95) saturate(1) } 18% { filter: brightness(.38) saturate(.4) } 30%, 100% { filter: brightness(1.03) saturate(1.06) } }
.sh-scene__beam { position: absolute; left: 50%; transform: translateX(-50%); mix-blend-mode: screen; opacity: 0; transition: opacity 400ms ease 100ms; overflow: visible; }
.sh-scene.is-lit .sh-scene__beam { opacity: 1; }
.sh-scene.is-flick .sh-scene__beam, .sh-scene.is-flick .sh-scene__halo { animation: sh-flick-g 500ms steps(1) forwards; }
.sh-scene--photo .sh-scene__click { background: var(--bg-page); border-radius: var(--radius-12); padding: 2px 12px; }
.sh-scene--photo .sh-scene__switch { z-index: 3; }
.sh-scene__bulb { fill: #5a5c62; transition: fill 200ms; }
.sh-scene.is-lit .sh-scene__bulb { fill: var(--scene-bulb); }
.sh-scene.is-lit .sh-scene__dark { opacity: 0; }
.sh-scene.is-lit .sh-scene__glow { opacity: 1; }
.sh-scene.is-flick .sh-scene__dark { animation: sh-flick 500ms steps(1) forwards; }
.sh-scene.is-flick .sh-scene__glow { animation: sh-flick-g 500ms steps(1) forwards; }
.sh-scene.is-flick .sh-scene__bulb { animation: sh-flick-b 500ms steps(1) forwards; }
@keyframes sh-flick { 0% { opacity: .15 } 18% { opacity: .85 } 30%, 100% { opacity: 0 } }
@keyframes sh-flick-g { 0% { opacity: .7 } 18% { opacity: .1 } 30%, 100% { opacity: 1 } }
@keyframes sh-flick-b { 0% { fill: #ffe27a } 18% { fill: #7a7b80 } 30%, 100% { fill: #ffe27a } }
.sh-scene__switch { position: absolute; right: 28px; bottom: 28px; width: 84px; height: 120px; border-radius: 18px; background: var(--bg-page); border: 0; cursor: pointer; box-shadow: 0 8px 24px rgba(22, 24, 29, .12); display: flex; align-items: center; justify-content: center; padding: 0; }
.sh-scene__switch:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 3px; }
.sh-scene__key { width: 48px; height: 84px; border-radius: 10px; border: 3px solid var(--text-primary); position: relative; overflow: hidden; transition: transform 120ms; }
.sh-scene__key i { position: absolute; left: 4px; right: 4px; height: 34px; border-radius: 5px; background: var(--switch-off); bottom: 4px; transition: bottom 140ms cubic-bezier(.5, 1.6, .5, 1), background-color 140ms; }
.sh-scene.is-lit .sh-scene__key i { bottom: 39px; background: var(--accent-yellow); }
.sh-scene__switch:active .sh-scene__key { transform: scale(.94); }
.sh-scene__click { position: absolute; right: 122px; bottom: 84px; font-weight: 800; font-size: 28px; letter-spacing: -.02em; color: var(--text-primary); opacity: 0; transform: translateY(8px) rotate(-6deg); pointer-events: none; }
.sh-scene.is-lit .sh-scene__click { animation: sh-pop 900ms ease-out; }
@keyframes sh-pop { 0% { opacity: 0; transform: translateY(8px) rotate(-6deg) } 15% { opacity: 1; transform: translateY(0) rotate(-6deg) } 70% { opacity: 1 } 100% { opacity: 0; transform: translateY(-6px) rotate(-6deg) } }
.sh-scene__cap { position: absolute; left: 28px; bottom: 28px; right: 140px; color: var(--text-primary); font-size: var(--sh-caption); opacity: 0; transition: opacity 400ms 300ms; }
.sh-scene.is-lit .sh-scene__cap { opacity: 1; }
.sh-scene__cap b { display: block; font-size: 20px; margin-bottom: 4px; }
.sh-scene.sh-m .sh-scene__switch { right: 16px; bottom: 16px; width: 64px; height: 92px; }
.sh-scene.sh-m .sh-scene__key { width: 36px; height: 64px; }
.sh-scene.sh-m .sh-scene__key i { height: 26px; }
.sh-scene.sh-m.is-lit .sh-scene__key i { bottom: 29px; }
.sh-scene.sh-m .sh-scene__click { right: 92px; bottom: 60px; }
.sh-scene.sh-m .sh-scene__cap { left: 16px; bottom: 16px; right: 96px; }
@media (prefers-reduced-motion: reduce) {
  .sh-scene.is-flick .sh-scene__dark, .sh-scene.is-flick .sh-scene__glow, .sh-scene.is-flick .sh-scene__bulb, .sh-scene.is-lit .sh-scene__click, .sh-scene.is-flick .sh-scene__photo, .sh-scene.is-flick .sh-scene__beam, .sh-scene.is-flick .sh-scene__halo { animation: none; }
  .sh-scene *, .sh-toggle *, .sh-card, .sh-tile { transition-duration: 0s !important; transition-delay: 0s !important; }
}
.sh-ink .sh-toggle { color: var(--text-on-ink); }
.sh-ink .sh-toggle__track { background: var(--text-on-ink-secondary); }
.sh-ink .sh-toggle__knob { background: var(--bg-ink); }

/* Logo */
.sh-logo { display: inline-block; line-height: 0; }
.sh-logo svg { height: 100%; width: auto; display: block; }

/* Header */
.sh-header { background: var(--bg-page); border-bottom: 1px solid var(--line-default); transition: box-shadow var(--sh-ease); }
.sh-header__in { max-width: var(--container, 1200px); box-sizing: content-box; margin: 0 auto; height: 96px; display: flex; align-items: center; gap: var(--space-32); padding: 0 var(--space-24); }
.sh-header.is-compact { box-shadow: var(--shadow-raised); border-bottom-color: transparent; }
.sh-header.is-compact .sh-header__in { height: 80px; }
.sh-nav { display: flex; gap: var(--space-24); margin-right: auto; margin-left: var(--space-16); margin-top: 13px; } /* 13px: puts the menu baseline on the wordmark baseline of the 40px header logo */
.sh-link { color: var(--text-primary); text-decoration: none; font-size: var(--sh-text-m); font-weight: 600; padding: var(--space-8) 0; border-bottom: 2px solid transparent; transition: border-color var(--sh-ease); }
.sh-link:hover, .sh-link.is-active { border-bottom-color: var(--accent-yellow); }
.sh-header__contact { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.sh-header__phone { font-size: 20px; font-weight: 800; color: var(--text-primary); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.sh-header__hours { display: flex; align-items: center; gap: 6px; margin-left: 1px; font-size: var(--sh-caption); color: var(--text-secondary); white-space: nowrap; }
.sh-header--m .sh-header__in { height: 64px; padding: 0 var(--space-16); gap: var(--space-8); }
.sh-header--m .sh-logo { margin-right: auto; }
.sh-iconbtn { flex: none; width: var(--tap-min, 44px); height: var(--tap-min, 44px); border-radius: var(--radius-12); border: 0; display: grid; place-items: center; background: var(--bg-soft); color: var(--text-primary); cursor: pointer; text-decoration: none; transition: background-color var(--sh-ease); }
.sh-iconbtn:hover { background: var(--line-default); }
.sh-iconbtn--yellow { background: var(--accent-yellow); }
.sh-iconbtn--yellow:hover { background: var(--accent-yellow-hover); }

/* Cards (shared) */
.sh-card { background: var(--bg-page); border: 1px solid var(--line-default); border-radius: var(--radius-16); padding: var(--sh-pad); display: flex; flex-direction: column; gap: var(--space-16); transition: border-color var(--sh-ease), transform var(--sh-ease), box-shadow var(--sh-ease); color: var(--text-primary); text-decoration: none; }
.sh-card--link { cursor: pointer; }
.sh-card--link:hover, .sh-card.is-hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.sh-tile { width: var(--icon-tile, 48px); height: var(--icon-tile, 48px); border-radius: var(--radius-12); display: grid; place-items: center; flex: none; background: var(--accent-yellow); color: var(--text-primary); transition: background-color 150ms ease, color 150ms ease; }
.sh-service .sh-tile { background: var(--bg-soft); color: var(--text-secondary); }
.sh-card--link.sh-service:hover .sh-tile, .sh-service.is-hover .sh-tile { background: var(--accent-yellow); color: var(--text-primary); }
.sh-tile--soft { background: var(--bg-soft); }
.sh-tile--alarm { background: var(--state-alarm); color: var(--text-on-ink); }
.sh-tile--success { background: var(--state-success); color: var(--text-on-ink); }
.sh-pricepill { display: inline-flex; align-self: flex-start; align-items: baseline; gap: var(--space-4); background: var(--accent-yellow-soft); border-radius: var(--radius-8); padding: var(--space-4) var(--space-12); font-weight: 800; font-size: 20px; line-height: 1.3; }
.sh-pricepill small { font-size: var(--sh-caption); font-weight: 600; }
.sh-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-8); font-size: var(--sh-text-m); color: var(--text-secondary); }
.sh-list li { display: flex; gap: var(--space-8); align-items: flex-start; }
.sh-list .sh-icon { color: var(--state-success); margin-top: 2px; }

/* ServiceCard */
.sh-service__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: var(--space-12); }
.sh-service__order { height: 44px; padding: 0 var(--space-16); }
.sh-service .sh-pricepill { height: 44px; align-items: center; padding: 0 var(--space-12); }
.sh-service__img { margin: calc(var(--sh-pad) * -1) calc(var(--sh-pad) * -1) 0; }
.sh-service__img .sh-l-pic, .sh-service__img img { border-radius: var(--radius-16) var(--radius-16) 0 0; display: block; width: 100%; }
.sh-service--img { overflow: hidden; }
.sh-order { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 var(--space-16) 0 10px; border: 2px solid var(--line-strong); border-radius: var(--radius-12); background: var(--bg-page); font: inherit; font-size: 16px; font-weight: 600; color: var(--text-primary); cursor: pointer; transition: background-color 150ms ease, border-color 150ms ease; }
.sh-order__track { display: inline-flex; width: 36px; height: 20px; padding: 2px; border-radius: var(--radius-pill); background: var(--switch-off); transition: background-color 180ms ease; }
.sh-order__track i { width: 16px; height: 16px; border-radius: 50%; background: var(--bg-page); transition: transform 220ms cubic-bezier(.5, 1.6, .5, 1), background-color 180ms ease; }
.sh-order:hover, .sh-order.is-on, .sh-service.is-hover .sh-order, .sh-card--link.sh-service:hover .sh-order { background: var(--accent-yellow); border-color: var(--accent-yellow); }
.sh-order:hover .sh-order__track, .sh-order.is-on .sh-order__track, .sh-service.is-hover .sh-order__track, .sh-card--link.sh-service:hover .sh-order__track { background: var(--bg-ink); }
.sh-order:hover .sh-order__track i, .sh-order.is-on .sh-order__track i, .sh-service.is-hover .sh-order__track i, .sh-card--link.sh-service:hover .sh-order__track i { transform: translateX(16px); background: var(--accent-yellow); }
.sh-order:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sh-order__track, .sh-order__track i { transition: none; } }
.sh-service__arrow { width: var(--tap-min, 44px); height: var(--tap-min, 44px); border-radius: var(--radius-12); display: grid; place-items: center; background: var(--bg-soft); transition: background-color var(--sh-ease); }
.sh-card--link:hover .sh-service__arrow, .sh-card.is-hover .sh-service__arrow { background: var(--line-default); }

/* Tabs + PriceTable */
.sh-tabs { display: flex; gap: var(--space-8); overflow-x: auto; scrollbar-width: none; padding: 2px; }
.sh-tabs::-webkit-scrollbar { display: none; }
.sh-tab { font: inherit; font-size: var(--sh-text-m); font-weight: 600; white-space: nowrap; border: 0; border-radius: var(--radius-12); background: var(--bg-soft); color: var(--text-primary); height: 48px; padding: 0 var(--space-16); cursor: pointer; transition: background-color var(--sh-ease); }
.sh-tab:hover { background: var(--line-default); }
.sh-tab[aria-selected="true"] { background: var(--accent-yellow); }
.sh-tab[aria-selected="true"]:hover { background: var(--accent-yellow-hover); }
.sh-pricetable { display: flex; flex-direction: column; gap: var(--space-24); min-width: 0; }
.sh-calc, .sh-scene, .sh-alarm, .sh-card { min-width: 0; }
.sh-pricetable__list { border: 1px solid var(--line-default); border-radius: var(--radius-16); overflow: hidden; background: var(--bg-page); }
.sh-pricetable__cols, .sh-pricerow__head { display: grid; grid-template-columns: 1fr 140px 180px 44px; gap: var(--space-16); align-items: center; padding: 0 var(--space-24); }
.sh-pricetable__cols { height: 48px; font-size: var(--sh-caption); color: var(--text-secondary); background: var(--bg-soft); }
.sh-pricerow { border-top: 1px solid var(--line-default); }
.sh-pricerow__head { width: 100%; min-height: 64px; font: inherit; font-size: var(--sh-text-m); text-align: left; background: none; border: 0; color: var(--text-primary); cursor: pointer; transition: background-color var(--sh-ease); }
.sh-pricerow__head:hover { background: var(--bg-soft); }
.sh-pricerow.is-open .sh-pricerow__head { background: var(--accent-yellow-soft); }
.sh-pricerow__work { font-weight: 600; }
.sh-pricerow__unit { color: var(--text-secondary); }
.sh-pricerow__price { font-weight: 800; white-space: nowrap; }
.sh-chev { transition: transform var(--sh-ease); justify-self: end; }
.is-open > * > .sh-chev, .is-open .sh-chev { transform: rotate(180deg); }
.sh-pricerow__body { padding: var(--space-16) var(--space-24) var(--space-24); background: var(--accent-yellow-soft); }
.sh-pricecards { display: flex; flex-direction: column; gap: var(--space-12); }
.sh-pricecard { border: 1px solid var(--line-default); border-radius: var(--radius-16); background: var(--bg-page); }
.sh-pricecard .sh-pricerow__head { grid-template-columns: 1fr 44px; padding: var(--space-16); gap: var(--space-4) var(--space-12); }
.sh-pricecard__meta { display: flex; gap: var(--space-8); align-items: baseline; grid-column: 1; }
.sh-pricecard.is-open .sh-pricerow__head { background: var(--accent-yellow-soft); border-radius: var(--radius-16) var(--radius-16) 0 0; }
.sh-pricecard .sh-pricerow__body { padding: 0 var(--space-16) var(--space-16); border-radius: 0 0 var(--radius-16) var(--radius-16); }

/* Segmented control (calculator) */
.sh-seg { display: flex; gap: var(--space-4); background: var(--bg-soft); border-radius: var(--radius-12); padding: var(--space-4); }
.sh-seg button { flex: 1; font: inherit; font-size: var(--sh-text-m); font-weight: 600; height: 44px; border: 0; border-radius: var(--radius-8); background: transparent; color: var(--text-primary); cursor: pointer; transition: background-color var(--sh-ease); }
.sh-seg button:hover { background: var(--line-default); }
.sh-seg button[aria-checked="true"] { background: var(--bg-page); box-shadow: 0 0 0 1.5px var(--line-strong); }

/* WiringCalculator */
.sh-calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--space-24); background: var(--bg-soft); border-radius: var(--radius-24); padding: var(--space-32); }
.sh-calc.sh-m { grid-template-columns: 1fr; padding: var(--space-16); gap: var(--space-16); }
.sh-calc__controls { display: flex; flex-direction: column; gap: var(--space-24); }
.sh-calc__group { display: flex; flex-direction: column; gap: var(--space-8); }
.sh-calc__label { font-size: var(--sh-caption); font-weight: 600; }
.sh-calc__area { display: flex; gap: var(--space-16); align-items: center; }
.sh-calc__area input[type="range"] { flex: 1; accent-color: var(--text-primary); height: 44px; cursor: pointer; }
.sh-calc__area .sh-field__control { width: 112px; text-align: center; font-weight: 600; }
.sh-calc__unit { color: var(--text-secondary); font-size: var(--sh-caption); }
.sh-calc__result { background: var(--bg-page); border-radius: var(--radius-16); padding: var(--space-24); display: flex; flex-direction: column; gap: var(--space-16); justify-content: space-between; }
.sh-calc__sum { background: var(--accent-yellow-soft); border-radius: var(--radius-12); padding: var(--space-16); }

/* SymptomCard */
.sh-symptom__cause { font-size: var(--sh-text-m); color: var(--text-secondary); margin: 0; }
.sh-symptom__cause b { color: var(--text-primary); font-weight: 600; }
.sh-symptom__foot { margin-top: auto; padding-top: var(--space-16); border-top: 1px solid var(--line-default); display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-8); font-size: var(--sh-caption); color: var(--text-secondary); }
.sh-symptom__foot strong { color: var(--text-primary); font-size: var(--sh-text-m); font-weight: 800; white-space: nowrap; }

/* TrustNumber */
.sh-trust { display: flex; flex-direction: column; gap: var(--space-8); }
.sh-trust__value { font-size: var(--sh-trust); font-weight: 800; line-height: 1; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: var(--space-4); }
.sh-trust__unit { font-size: 0.5em; font-weight: 800; }
.sh-trust__label { font-size: var(--sh-text-m); color: var(--text-secondary); max-width: 220px; }
.sh-ink .sh-trust__value { color: var(--text-on-ink); }
.sh-ink .sh-trust__label { color: var(--text-on-ink-secondary); }

/* ProcessStep */
.sh-step { display: flex; flex-direction: column; gap: var(--space-12); min-width: 0; }
.sh-step__top { display: flex; align-items: center; gap: var(--space-12); }
.sh-step__line { flex: 1; height: 2px; background: var(--line-default); border-radius: 2px; }
.sh-step__num { font-size: var(--sh-caption); font-weight: 800; color: var(--text-primary); background: var(--accent-yellow-soft); border-radius: var(--radius-8); padding: 2px var(--space-8); align-self: flex-start; }
.sh-step__text { margin: 0; font-size: var(--sh-text-m); color: var(--text-secondary); }
.sh-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-24); }
.sh-steps.sh-m { grid-template-columns: 1fr; }

/* Photo placeholder */
.sh-photo { position: relative; background: var(--line-default); border-radius: var(--radius-24); overflow: hidden; display: flex; align-items: flex-end; width: 100%; }
.sh-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-photo__cap { position: relative; margin: var(--space-16); font-size: var(--sh-caption); line-height: 1.4; color: var(--text-secondary); background: var(--bg-page); border-radius: var(--radius-8); padding: var(--space-8) var(--space-12); }
.sh-photo--r16 { border-radius: var(--radius-16); }

/* MasterCard */
.sh-master { padding: 0; overflow: hidden; gap: 0; }
.sh-master .sh-photo { border-radius: 0; }
.sh-master__body { padding: var(--sh-pad); display: flex; flex-direction: column; gap: var(--space-12); }
.sh-master__facts { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-8); font-size: var(--sh-text-m); color: var(--text-secondary); }
.sh-master__facts li { display: flex; gap: var(--space-8); align-items: center; }
.sh-rating { display: inline-flex; align-items: center; gap: var(--space-4); font-weight: 800; color: var(--text-primary); }
.sh-star { color: var(--text-primary); fill: var(--accent-yellow); }
.sh-star.is-empty { fill: none; color: var(--text-muted); }

/* WorkCard */
.sh-work__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); }
.sh-work__tag { position: absolute; top: var(--space-12); left: var(--space-12); background: var(--bg-ink); color: var(--text-on-ink); font-size: var(--sh-caption); font-weight: 600; border-radius: var(--radius-8); padding: 2px var(--space-8); }
.sh-work__meta { display: flex; flex-wrap: wrap; gap: var(--space-8); }
.sh-chip { display: inline-flex; align-items: center; gap: var(--space-4); background: var(--bg-soft); border-radius: var(--radius-8); padding: var(--space-4) var(--space-8); font-size: var(--sh-caption); color: var(--text-primary); font-weight: 600; }

/* Review */
.sh-review__head { display: flex; justify-content: space-between; gap: var(--space-12); align-items: flex-start; }
.sh-review__name { font-weight: 600; font-size: var(--sh-text-m); }
.sh-review__stars { display: flex; gap: 2px; }
.sh-review__text { margin: 0; font-size: var(--sh-text-m); line-height: 1.5; }
.sh-review__src { font-size: var(--sh-caption); color: var(--text-secondary); display: flex; gap: var(--space-4); align-items: center; }
.sh-review__src a { color: var(--text-primary); }

/* FAQ */
.sh-faq { border-top: 1px solid var(--line-default); }
.sh-faq__item { border-bottom: 1px solid var(--line-default); }
.sh-faq__q { width: 100%; font: inherit; font-size: var(--sh-h3); font-weight: 600; line-height: 1.25; color: var(--text-primary); background: none; border: 0; padding: var(--space-24) var(--space-16); display: flex; justify-content: space-between; gap: var(--space-16); align-items: center; text-align: left; cursor: pointer; border-radius: var(--radius-12); transition: background-color var(--sh-ease); }
.sh-faq__q:hover, .sh-faq__q.is-hover { background: var(--bg-soft); }
.sh-faq__mark { flex: none; width: 40px; height: 40px; border-radius: var(--radius-12); display: grid; place-items: center; background: var(--bg-soft); transition: background-color var(--sh-ease), transform var(--sh-ease); }
.sh-faq__item.is-open .sh-faq__mark { background: var(--accent-yellow); transform: rotate(180deg); }
.sh-faq__a { padding: 0 var(--space-16) var(--space-24); font-size: var(--sh-text-m); color: var(--text-secondary); max-width: var(--measure, 68ch); margin: 0; }

/* EmergencyBar */
.sh-ink { background: var(--bg-ink); color: var(--text-on-ink); }
.sh-alarm { border-radius: var(--radius-24); padding: var(--space-32); display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-24); align-items: center; }
.sh-alarm.sh-m { grid-template-columns: 1fr; padding: var(--space-24) var(--space-16); gap: var(--space-16); }
.sh-alarm__badge { display: inline-flex; align-items: center; gap: var(--space-8); font-size: var(--sh-caption); font-weight: 600; color: var(--text-on-ink); }
.sh-alarm__dot { width: 8px; height: 8px; border-radius: var(--radius-pill); background: var(--state-alarm); }
.sh-alarm__text { margin: var(--space-8) 0 0; color: var(--text-on-ink-secondary); font-size: var(--sh-text-m); }
.sh-alarm__act { display: flex; flex-direction: column; align-items: flex-end; gap: var(--space-12); }
.sh-alarm.sh-m .sh-alarm__act { align-items: stretch; }
.sh-alarm__phone { font-size: var(--sh-price); font-weight: 800; color: var(--text-on-ink); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }

/* Modal */
.sh-overlay { position: fixed; inset: 0; background: rgba(22, 24, 29, 0.48); display: grid; place-items: center; padding: var(--space-16); z-index: 50; }
.sh-modal { position: relative; width: 100%; max-width: 480px; background: var(--bg-page); border-radius: var(--radius-24); padding: var(--space-32); display: flex; flex-direction: column; gap: var(--space-16); box-shadow: var(--shadow-raised); }
.sh-modal.sh-m { padding: var(--space-24) var(--space-16); }
.sh-modal__close { position: absolute; top: var(--space-16); right: var(--space-16); }
.sh-modal__lead { margin: 0; color: var(--text-secondary); font-size: var(--sh-text-m); }
.sh-modal__sent { align-items: flex-start; text-align: left; }

/* MobileBar */
.sh-mbar { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: var(--space-8); padding: var(--space-8) var(--space-16) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)); background: var(--bg-page); border-top: 1px solid var(--line-default); box-shadow: var(--shadow-raised); }
.sh-mbar--fixed { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; }
.sh-mbar .sh-btn { padding: 0 var(--space-12); }
.sh-mbar .sh-iconbtn { width: var(--control-h-m, 52px); height: var(--control-h-m, 52px); }

/* Footer */
.sh-footer { padding: var(--space-64) 0 var(--space-32); }
.sh-footer__in { max-width: var(--container, 1200px); box-sizing: content-box; padding: 0 var(--space-24); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1.2fr 1fr; gap: var(--space-32); }
.sh-footer.sh-m { padding: var(--space-48) 0 var(--space-24); }
.sh-footer.sh-m .sh-footer__in { padding: 0 var(--space-16); }
.sh-footer.sh-m .sh-footer__bottom { margin: var(--space-32) var(--space-16) 0; padding: var(--space-24) 0 0; }
.sh-footer.sh-m .sh-footer__in { grid-template-columns: 1fr; gap: var(--space-24); }
.sh-footer__title { font-size: var(--sh-caption); line-height: 20px; font-weight: 600; color: var(--text-on-ink-secondary); margin: 0 0 var(--space-12) !important; }
.sh-footer__in > div:first-child .sh-logo { margin-top: -4px; }
.sh-footer__phone { display: block; font-size: 20px; line-height: 28px; font-weight: 800; color: var(--text-on-ink); text-decoration: none; white-space: nowrap; margin: 0 0 var(--space-8); }
.sh-footer__about { margin-top: var(--space-16) !important; max-width: 280px; }
.sh-footer p, .sh-footer li { margin: 0; font-size: var(--sh-caption); line-height: 1.6; color: var(--text-on-ink-secondary); }
.sh-footer ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: var(--space-16); }
.sh-footer a.sh-link { color: var(--text-on-ink); font-size: var(--sh-caption); font-weight: 400; text-decoration: underline; text-underline-offset: 3px; border: 0; }
.sh-footer__bottom { margin: var(--space-48) max(var(--space-24), calc(50% - 600px)) 0; padding: var(--space-24) 0 0; border-top: 1px solid #2c2f36; display: flex; justify-content: space-between; gap: var(--space-16); flex-wrap: wrap; font-size: var(--sh-caption); color: var(--text-on-ink-secondary); }

/* Preview helpers */
.sh-demo { padding: var(--space-24); display: flex; flex-wrap: wrap; gap: var(--space-16); align-items: center; }
.sh-demo--col { flex-direction: column; align-items: stretch; }
.sh-demo--soft { background: var(--bg-soft); }
.sh-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-24); }
.sh-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-24); }

/* ===== Landing (sh-l-*) ===== */
.sh-l { background: var(--bg-page); }
.sh-l-wrap { max-width: var(--container, 1200px); margin: 0 auto; box-sizing: content-box; }
.sh-l-sec { position: relative; overflow: hidden; overflow: clip; }
.sh-l-sec > .sh-l-wrap { position: relative; z-index: 1; }
.sh-l-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-24); margin-bottom: var(--space-48); flex-wrap: wrap; }
.sh-m .sh-l-head { margin-bottom: var(--space-32); }
.sh-l-head__main { min-width: 0; max-width: 760px; }
.sh-l-eyebrow { display: flex !important; margin-bottom: var(--space-16); font-size: var(--sh-caption) !important; font-weight: 600 !important; color: var(--text-secondary) !important; }
.sh-l-lead { color: var(--text-secondary); margin: var(--space-16) 0 0; }
.sh-l-rule { display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--accent-yellow); }
.sh-l-rating { display: inline-flex; align-self: flex-start; align-items: center; gap: var(--space-12); background: var(--bg-soft); border-radius: var(--radius-12); padding: 0 var(--space-16); height: 52px; }

.sh-l-hero-d { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: var(--space-48); align-items: stretch; }
/* hero */
.sh-l-hero__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-24); min-width: 0; }

/* picture slot */
.sh-l-pic { position: relative; overflow: hidden; border-radius: var(--radius-16); background: var(--bg-soft); width: 100%; }
.sh-l-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-l-pic__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-8); padding: var(--space-16); text-align: center; color: var(--text-secondary); font-size: var(--sh-caption); line-height: 1.4; background: repeating-linear-gradient(135deg, #f1efe8 0 14px, #ebe9e1 14px 28px); }
.sh-l-pic__ph b { color: var(--text-primary); font-size: var(--sh-text-m); }
.sh-l-pic__ph span { max-width: 280px; }
.sh-l-lampicon { color: var(--text-secondary); }

/* deco */
.sh-l-lamp { position: absolute; z-index: 0; color: var(--switch-off); pointer-events: none; }
.sh-l-lamp svg { display: block; position: relative; }
.sh-l-lamp__bulb { fill: var(--switch-off); transition: fill 300ms ease 300ms; }
.sh-l-lamp.is-on .sh-l-lamp__bulb { fill: var(--scene-bulb); }
.sh-l-lamp__glow { position: absolute; left: 50%; bottom: -150px; width: 420px; height: 360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 214, 90, .42), rgba(255, 214, 90, .12) 55%, rgba(255, 214, 90, 0)); opacity: 0; transition: opacity 500ms ease 300ms; }
.sh-l-lamp.is-on .sh-l-lamp__glow { opacity: 1; }
.sh-l-zap { position: absolute; color: var(--switch-off); pointer-events: none; z-index: 0; }


/* order builder: one panel, fixed columns */
.sh-l-builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; background: var(--bg-page); border-radius: var(--radius-24); overflow: hidden; overflow: clip; }
.sh-l-builder.sh-m { grid-template-columns: 1fr; }
.sh-l-builder__list { padding: var(--space-8) var(--space-32); }
.sh-m .sh-l-builder__list { padding: var(--space-4) var(--space-16); }
.sh-l-brow { display: grid; grid-template-columns: minmax(0, 1fr) 168px 96px; align-items: center; gap: var(--space-24); height: 64px; border-bottom: 1px solid var(--line-default); }
.sh-l-brow:last-child { border-bottom: 0; }
.sh-m .sh-l-brow { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "sw price" "qty qty"; height: auto; gap: var(--space-8) var(--space-12); padding: var(--space-12) 0; }
.sh-m .sh-l-switch { grid-area: sw; }
.sh-m .sh-l-qty { grid-area: qty; margin-left: 56px; justify-self: start; }
.sh-m .sh-l-brow__price { grid-area: price; }
.sh-l-switch { display: flex; align-items: center; gap: var(--space-12); background: none; border: 0; padding: 0; font: inherit; font-size: var(--sh-text-m); font-weight: 600; color: var(--text-primary); cursor: pointer; height: 44px; text-align: left; min-width: 0; }
.sh-l-switch:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 4px; border-radius: 8px; }
.sh-l-brow:not(.is-on) .sh-toggle__track { background: var(--switch-off); }
.sh-l-brow:not(.is-on) .sh-toggle__knob { background: var(--bg-page); transform: none; }
.sh-l-brow:not(.is-on) .sh-l-brow__name { color: var(--text-secondary); font-weight: 400; }
.sh-l-brow__price { text-align: right; font-weight: 800; white-space: nowrap; }
.sh-l-brow:not(.is-on) .sh-l-brow__price { color: var(--text-muted); font-weight: 600; }
.sh-l-qty { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 40px; width: 168px; background: var(--bg-soft); border-radius: var(--radius-8); }
.sh-l-qty button { height: 40px; border: 0; border-radius: var(--radius-8); background: transparent; font: inherit; font-size: 20px; line-height: 1; font-weight: 600; color: var(--text-primary); cursor: pointer; }
.sh-l-qty button:hover:not(:disabled) { background: var(--line-default); }
.sh-l-qty button:disabled { color: var(--switch-off); cursor: default; }
.sh-l-qty span { text-align: center; font-size: var(--sh-caption); font-weight: 600; }
.sh-l-qty.is-off span { color: var(--text-muted); }
.sh-m .sh-l-qty--fixed { justify-content: flex-start; width: auto; height: auto; }
.sh-l-qty--fixed { display: flex; justify-content: center; font-size: var(--sh-caption); font-weight: 600; color: var(--text-secondary); background: none; }
.sh-l-builder__sum { background: var(--accent-yellow-soft); padding: var(--space-32); display: flex; flex-direction: column; gap: var(--space-16); }
.sh-l-builder__sum .sh-list { gap: var(--space-4); }
.sh-m .sh-l-builder__sum { padding: var(--space-24) var(--space-16); }
.sh-l-builder__label { font-size: var(--sh-caption); font-weight: 600; color: var(--text-secondary); }
.sh-l-builder__total { font-size: var(--sh-trust); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.sh-l-builder__total small { font-size: 0.45em; }
.sh-l-builder__sum .sh-btn { margin-top: auto; }

/* emergency */
.sh-l-alarm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-48); align-items: stretch; background: var(--accent-yellow-soft); border-radius: var(--radius-24); padding: var(--space-48); }
.sh-l-alarm.sh-m { grid-template-columns: 1fr; padding: var(--space-24) var(--space-16); gap: var(--space-24); }
.sh-l-alarm__text { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-24); min-width: 0; }
.sh-l-alarm__text .sh-h2 { margin-top: -0.175em; } /* cap height of Onest 800 at line-height 1.1 starts 0.175em below the box: puts the letters on the photo's top edge */
.sh-l-hero__text .sh-h1 { margin-top: -0.15em; } /* same for line-height 1.05 */
.sh-l-alarm__btns { display: flex; gap: var(--space-12); }
.sh-m .sh-l-alarm__btns { flex-direction: column; }
.sh-l-alarm__phone { font-size: var(--sh-price); font-weight: 800; color: var(--text-primary); text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }

/* steps */
.sh-l-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-24); }
.sh-l-steps.sh-m { grid-template-columns: 1fr; gap: var(--space-12); }
.sh-l-step { background: var(--bg-page); border-radius: var(--radius-16); overflow: hidden; box-shadow: var(--shadow-raised); }
.sh-l-step__head { display: flex; align-items: center; border-bottom: 1px solid var(--line-default); }
.sh-l-step__num { flex: none; width: 72px; height: 72px; display: grid; place-items: center; background: var(--switch-off); color: var(--bg-page); font-size: 28px; font-weight: 800; letter-spacing: -0.02em; transition: background-color 250ms ease, color 250ms ease; }
.sh-l-steps.is-on .sh-l-step__num { background: var(--accent-yellow); color: var(--text-primary); }
.sh-l-step__title { margin: 0; padding: 0 var(--space-16) 0 var(--space-24); font-size: 20px; line-height: 1.2; font-weight: 600; }
.sh-l-step__text { margin: 0; padding: var(--space-24); color: var(--text-secondary); font-size: var(--sh-text-m); line-height: 1.5; }
.sh-m .sh-l-step__num { width: 56px; height: 56px; font-size: 22px; }
.sh-m .sh-l-step__text { padding: var(--space-16); }

/* why */
.sh-l-why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-48); align-items: stretch; }
.sh-l-why.sh-m { grid-template-columns: 1fr; gap: var(--space-32); }
.sh-l-why__text { display: flex; flex-direction: column; justify-content: center; gap: var(--space-48); }
.sh-m .sh-l-why__text { gap: var(--space-32); }
.sh-l-why__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-32) var(--space-24); }
.sh-m .sh-l-why__grid { grid-template-columns: 1fr; gap: var(--space-16); }
.sh-l-why__item { display: flex; gap: var(--space-16); align-items: center; }
.sh-l-why__item b { display: block; font-size: 18px; line-height: 1.3; font-weight: 600; }
.sh-l-why__item span { display: block; font-size: var(--sh-caption); color: var(--text-secondary); margin-top: 2px; }
.sh-l-why__pic { border-radius: var(--radius-24); min-height: 480px; }
.sh-m .sh-l-why__pic { min-height: 0; }
.sh-l-seal { position: absolute; left: var(--space-24); bottom: var(--space-24); background: var(--accent-yellow); border-radius: var(--radius-16); padding: var(--space-16) var(--space-24); display: flex; flex-direction: column; }
.sh-m .sh-l-seal { left: var(--space-16); bottom: var(--space-16); padding: var(--space-12) var(--space-16); }
.sh-l-seal b { font-size: 40px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.sh-l-seal span { font-size: var(--sh-caption); font-weight: 600; }

/* guarantees */
.sh-l-guar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-48); align-items: stretch; }
.sh-l-guar.sh-m { grid-template-columns: 1fr; gap: var(--space-24); }
.sh-l-guar__pic { border-radius: var(--radius-24); min-height: 420px; }
.sh-m .sh-l-guar__pic { min-height: 0; }
.sh-l-guar__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: center; }
.sh-l-guar__list li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-16); align-items: start; padding: var(--space-24) 0; border-bottom: 1px solid var(--line-default); }
.sh-l-guar__list li:last-child { border-bottom: 0; }
.sh-l-guar__list .sh-toggle { margin-top: 5px; }
.sh-l-guar__list b { display: block; font-size: var(--sh-h3); line-height: 1.25; font-weight: 600; margin-bottom: var(--space-4); }
.sh-l-guar__list span { color: var(--text-secondary); font-size: var(--sh-text-m); }

/* works slider */
.sh-l-works { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-16) var(--space-24); }
.sh-l-works.sh-m { grid-template-columns: minmax(0, 1fr); }
.sh-l-works__nums { display: flex; flex-direction: column; gap: var(--space-8); padding-top: var(--space-48); }
.sh-m .sh-l-works__nums { flex-direction: row; padding-top: 0; }
.sh-l-works__nums button { position: relative; height: 44px; border: 0; background: none; font: inherit; font-size: var(--sh-text-m); color: var(--text-muted); font-weight: 600; cursor: pointer; text-align: right; padding: 0 var(--space-4); }
.sh-l-works__nums button::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 2px; background: var(--switch-off); transition: background-color 150ms, width 150ms; }
.sh-l-works__nums button[aria-selected="true"] { color: var(--text-primary); font-weight: 800; }
.sh-l-works__nums button[aria-selected="true"]::before { background: var(--accent-yellow); width: 22px; height: 3px; }
.sh-m .sh-l-works__nums button { width: 56px; text-align: center; }
.sh-m .sh-l-works__nums button::before { left: 50%; top: auto; bottom: 4px; transform: translateX(-50%); }
.sh-l-works__frame { position: relative; padding: var(--space-16); }
.sh-m .sh-l-works__frame { padding: var(--space-8); }
.sh-l-works__frame::before, .sh-l-works__frame::after { content: ""; position: absolute; width: 32%; height: 70%; background: var(--accent-yellow); border-radius: var(--radius-16); }
.sh-l-works__frame::before { left: 0; top: 0; }
.sh-l-works__frame::after { right: 0; bottom: 0; }
.sh-l-works__card { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--bg-page); border-radius: var(--radius-16); overflow: hidden; min-height: 460px; box-shadow: var(--shadow-raised); }
.sh-m .sh-l-works__card { grid-template-columns: 1fr; height: auto; }
.sh-m .sh-l-works__card > .sh-l-works__pic { order: -1; }
.sh-l-works__text { padding: var(--space-48); display: flex; flex-direction: column; gap: var(--space-16); min-width: 0; }
.sh-m .sh-l-works__text { padding: var(--space-24) var(--space-16); }
.sh-l-works__meta { margin-top: auto; padding-top: var(--space-24); border-top: 1px solid var(--line-default); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-16); }
.sh-l-works__meta div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-l-works__meta b { font-weight: 800; white-space: nowrap; }
.sh-m .sh-l-works__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sh-l-works__pic { border-radius: 0; height: 100%; }
.sh-m .sh-l-works__pic { height: auto; }
.sh-l-works__nav { grid-column: 2; display: flex; gap: var(--space-16); padding-left: var(--space-16); }
.sh-m .sh-l-works__nav { grid-column: 1; padding-left: 0; }
.sh-m .sh-l-works__nav .sh-btn { flex: 1; padding: 0 var(--space-8); font-size: 15px; }

/* reviews slider */
.sh-l-reviews { position: relative; padding-bottom: var(--space-32); }
.sh-l-reviews__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-24); }
.sh-m .sh-l-reviews__row { grid-template-columns: 1fr; }
.sh-l-rev { display: grid; grid-template-columns: 42% minmax(0, 1fr); background: var(--bg-page); border-radius: var(--radius-16); box-shadow: var(--shadow-raised); height: 380px; margin-top: var(--space-16); }
.sh-m .sh-l-rev { grid-template-columns: 1fr; height: auto; }
.sh-l-rev__photo { position: relative; }
.sh-l-rev__tab { position: absolute; left: var(--space-24); top: -12px; width: 64%; height: 16px; background: var(--accent-yellow); border-radius: var(--radius-8) var(--radius-8) 0 0; }
.sh-l-rev__photo .sh-l-pic { height: 100%; border-radius: var(--radius-16) 0 0 var(--radius-16); }
.sh-m .sh-l-rev__photo .sh-l-pic { border-radius: var(--radius-16) var(--radius-16) 0 0; }
.sh-l-rev__body { padding: var(--space-32); display: flex; flex-direction: column; gap: var(--space-16); min-width: 0; }
.sh-m .sh-l-rev__body { padding: var(--space-24) var(--space-16); }
.sh-l-rev__foot { margin-top: auto; display: flex; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.sh-l-arrow { position: absolute; bottom: 0; width: 56px; height: 56px; border-radius: var(--radius-12); border: 2px solid var(--accent-yellow); background: var(--bg-page); display: grid; place-items: center; cursor: pointer; color: var(--text-primary); transition: background-color 150ms; z-index: 2; }
.sh-l-arrow:hover:not(:disabled) { background: var(--accent-yellow); }
.sh-l-arrow:disabled { border-color: var(--line-default); color: var(--text-muted); cursor: default; }
.sh-l-arrow:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-l-arrow--prev { left: var(--space-16); }
.sh-l-arrow--next { right: var(--space-16); }
.sh-m .sh-l-reviews { padding-bottom: 72px; }

/* final request */
.sh-l-final { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--bg-page); border-radius: var(--radius-24); overflow: hidden; }
.sh-l-final.sh-m { grid-template-columns: 1fr; }
.sh-l-final__main { padding: var(--space-48); display: flex; flex-direction: column; justify-content: center; gap: var(--space-24); min-width: 0; }
.sh-l-final__main .sh-h2 + .sh-text-l { margin-top: calc(var(--space-8) * -1) !important; }
.sh-m .sh-l-final__main { padding: var(--space-24) var(--space-16); order: 2; }
.sh-l-final__form { display: flex; flex-direction: column; gap: var(--space-16); }
.sh-l-final__scene { border-radius: 0; }
.sh-m .sh-l-final__scene { order: 1; }
.sh-l-final__areas { display: flex; gap: var(--space-12); align-items: flex-start; margin-top: var(--space-24); font-size: var(--sh-text-m); line-height: 1.5; }
.sh-l-final__areas .sh-icon { margin-top: 2px; }
.sh-l-final__areas.sh-m { margin-top: var(--space-16); }
/* discount toggles inside the calculator */
.sh-l-builder__totalrow { display: flex; align-items: baseline; gap: var(--space-12); flex-wrap: wrap; }
.sh-l-builder__old { font-size: 18px; font-weight: 600; color: var(--text-secondary); }
.sh-l-bdisc { display: flex; flex-direction: column; gap: 2px; padding: var(--space-12) 0; border-top: 1px solid rgba(22, 24, 29, .12); border-bottom: 1px solid rgba(22, 24, 29, .12); }
.sh-l-bdisc .sh-l-builder__label { margin-bottom: var(--space-4); }
.sh-l-bdisc__row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: var(--space-12); height: 40px; padding: 0; background: none; border: 0; font: inherit; font-size: var(--sh-caption); color: var(--text-primary); text-align: left; cursor: pointer; border-radius: var(--radius-8); }
.sh-l-bdisc__row:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-l-bdisc__row .sh-toggle--sm.is-off .sh-toggle__track { background: var(--switch-off); }
.sh-l-bdisc__row b { font-weight: 800; font-size: var(--sh-text-m); }
.sh-l-bdisc__row:not(.is-on) b { color: var(--text-secondary); }
.sh-l-bdisc__row.is-on .sh-l-bdisc__name { font-weight: 600; }
.sh-l-builder__sum .sh-list { gap: var(--space-4); }

/* mobile menu */
.sh-header--m { position: relative; }
.sh-mmenu { position: absolute; left: 0; right: 0; top: 100%; background: var(--bg-page); border-top: 1px solid var(--line-default); box-shadow: var(--shadow-raised); padding: var(--space-8) var(--space-16) var(--space-16); display: flex; flex-direction: column; z-index: 40; }
.sh-mmenu__link { display: flex; align-items: center; justify-content: space-between; height: 52px; border-bottom: 1px solid var(--line-default); color: var(--text-primary); text-decoration: none; font-size: 18px; font-weight: 600; }
.sh-mmenu__link:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-mmenu__contact { display: flex; flex-direction: column; gap: 2px; padding: var(--space-16) 0; }
.sh-mmenu__phone { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 800; color: var(--text-primary); text-decoration: none; }

/* bigger tap areas on phones without moving the layout */
.sh-m .sh-l-alarm__phone, .sh-m .sh-l-final__call a, .sh-footer.sh-m .sh-footer__phone { display: inline-flex; align-items: center; min-height: 44px; }
.sh-m .sh-check a, .sh-m .sh-l-rev__foot a, .sh-footer.sh-m a.sh-link { display: inline-block; padding: 12px 0; margin: -12px 0; }
.sh-header--m .sh-logo { padding: 6px 0; box-sizing: content-box; }

/* discount that needs a work switched on */
.sh-l-bdisc__row.is-na { cursor: default; color: var(--text-muted); }
.sh-l-bdisc__row.is-na b { color: var(--text-muted); }
.sh-l-bdisc__name small { display: block; font-size: 13px; line-height: 1.2; color: var(--text-muted); }

/* works: what was done */
.sh-l-works__points { gap: var(--space-8); }
.sh-l-works__points li { color: var(--text-primary); }

/* messengers */
.sh-mbar { position: relative; }
.sh-mbar__chat { position: absolute; right: var(--space-16); bottom: calc(100% + var(--space-8)); background: var(--bg-page); border-radius: var(--radius-16); box-shadow: var(--shadow-raised), 0 0 0 1px var(--line-default); padding: var(--space-8); display: flex; flex-direction: column; min-width: 220px; }
.sh-mbar__chatlink { display: flex; align-items: center; gap: var(--space-12); height: 48px; padding: 0 var(--space-12); border-radius: var(--radius-8); color: var(--text-primary); text-decoration: none; font-weight: 600; }
.sh-mbar__chatlink:hover { background: var(--bg-soft); }
.sh-mbar .sh-iconbtn.is-open { background: var(--accent-yellow); }

/* request: call / write lines on one grid (labels right, values left) */
.sh-l-final__call { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: center; column-gap: var(--space-12); row-gap: 0; margin: 0; font-size: var(--sh-text-m); }
.sh-l-final__call dt { color: var(--text-secondary); text-align: right; }
.sh-l-final__call dd { margin: 0; display: flex; align-items: center; gap: var(--space-16); min-height: 44px; }
.sh-l-final__call a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text-primary); font-weight: 800; text-decoration: none; white-space: nowrap; }
.sh-l-final__call a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sh-l-final__msgr a { font-weight: 600; }

/* messenger buttons: header, footer, mobile menu */
.sh-msgr-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-8); width: 40px; height: 40px; border-radius: var(--radius-12); background: var(--bg-soft); color: var(--text-primary); text-decoration: none; font-weight: 600; transition: background-color 150ms ease; }
.sh-msgr-btn:hover { background: var(--accent-yellow); }
.sh-msgr-btn:focus-visible { outline: 2px solid var(--line-strong); outline-offset: 2px; }
.sh-msgr-btn--ink { width: 44px; height: 44px; background: rgba(255, 255, 255, .08); color: var(--text-on-ink); }
.sh-msgr-btn--ink:hover { background: var(--accent-yellow); color: var(--text-primary); }
.sh-msgr-btn--ink:focus-visible { outline-color: var(--text-on-ink); }
.sh-msgr-btn--wide { width: auto; height: 44px; padding: 0 var(--space-16); flex: 1; }
.sh-header__msgr { display: flex; gap: var(--space-8); margin-right: calc(var(--space-8) * -1); }
.sh-footer__msgr { display: flex; gap: var(--space-8); margin-top: var(--space-12); }
.sh-mmenu__msgr { display: flex; gap: var(--space-8); margin-top: var(--space-12); }

/* footer without districts column */
.sh-footer--3 .sh-footer__in { grid-template-columns: 1.4fr 1fr 1fr; }
.sh-footer--3.sh-m .sh-footer__in { grid-template-columns: 1fr; }

/* mobile header: logo + menu, then phone and messengers */
.sh-header__logo { margin-right: auto; display: inline-flex; }
.sh-header__sub { display: flex; align-items: center; gap: var(--space-8); height: 52px; padding: 0 var(--space-16); border-top: 1px solid var(--line-default); }
.sh-header__subphone { display: inline-flex; align-items: center; gap: var(--space-8); min-height: 44px; margin-right: var(--space-4); font-size: 17px; font-weight: 800; color: var(--text-primary); text-decoration: none; white-space: nowrap; }
.sh-header__subphone .sh-icon { color: var(--text-primary); background: var(--accent-yellow); border-radius: var(--radius-8); padding: 5px; box-sizing: content-box; }
.sh-header__sub .sh-msgr-btn { width: 40px; height: 40px; }

/* mobile hero: title, photo and promises in one screen */
.sh-l-hero-m { display: flex; flex-direction: column; gap: var(--space-16); }
.sh-l-hero-m__scene { position: relative; }
.sh-l-hero-m__rating { position: absolute; left: var(--space-12); top: var(--space-12); z-index: 3; display: inline-flex; align-items: center; gap: var(--space-8); background: var(--bg-page); border-radius: var(--radius-12); padding: 6px var(--space-12); box-shadow: var(--shadow-raised); font-size: var(--sh-caption); }
.sh-l-hero-m__rating .sh-rating { font-size: 16px; }
.sh-l-hero-m__btns { display: flex; flex-direction: column; gap: var(--space-12); margin-top: var(--space-4); }
.sh-scene.sh-m.sh-scene--compact .sh-scene__switch { right: 12px; bottom: 12px; width: 52px; height: 74px; border-radius: 14px; }
.sh-scene.sh-m.sh-scene--compact .sh-scene__key { width: 30px; height: 52px; border-width: 2.5px; border-radius: 8px; }
.sh-scene.sh-m.sh-scene--compact .sh-scene__key i { height: 21px; left: 3px; right: 3px; bottom: 3px; }
.sh-scene.sh-m.sh-scene--compact.is-lit .sh-scene__key i { bottom: 25px; }
.sh-scene.sh-m.sh-scene--compact .sh-scene__click { right: 72px; bottom: 36px; font-size: 22px; }

/* mobile calculator: floating total above the bottom bar (sticky needs overflow: clip on ancestors) */
.sh-l-bsticky { position: sticky; bottom: 80px; z-index: 5; margin: 0 var(--space-8) var(--space-8); display: flex; align-items: center; justify-content: space-between; gap: var(--space-12); padding: var(--space-8) var(--space-8) var(--space-8) var(--space-16); background: var(--bg-ink); color: var(--text-on-ink); border-radius: var(--radius-16); box-shadow: 0 8px 24px rgba(22, 24, 29, .24); transition: opacity 200ms ease, transform 200ms ease; }
.sh-l-bsticky.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
.sh-l-bsticky__info { display: flex; flex-direction: column; min-width: 0; }
.sh-l-bsticky__label { font-size: 13px; color: var(--text-on-ink-secondary); }
.sh-l-bsticky__total { font-size: 22px; line-height: 1.2; font-weight: 800; border-radius: 6px; padding: 0 4px; margin-left: -4px; animation: sh-total-flash 600ms ease-out; }
@keyframes sh-total-flash { 0% { background: var(--accent-yellow); color: var(--text-primary); } 100% { background: transparent; color: var(--text-on-ink); } }
.sh-l-bsticky .sh-btn { flex: none; padding: 0 var(--space-24); }
.sh-l-bsticky .sh-btn:disabled { background: #2c2f36; color: var(--text-on-ink-secondary); }
@media (prefers-reduced-motion: reduce) { .sh-l-bsticky__total { animation: none; } .sh-l-bsticky { transition: none; } }

.sh-l-alarm-m { display: flex; flex-direction: column; gap: var(--space-16); }
.sh-l-alarm-m .sh-l-alarm__btns { margin-top: var(--space-4); }

/* mobile: horizontal swipe for services and masters; counters only for switched-on works */
.sh-l-swipe { display: flex; gap: var(--space-12); overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--space-16) * -1); padding: 4px var(--space-16) var(--space-16); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.sh-l-swipe::-webkit-scrollbar { display: none; }
.sh-l-swipe > * { flex: 0 0 84%; scroll-snap-align: start; scroll-margin-left: var(--space-16); }
.sh-m .sh-l-brow:not(.is-on) .sh-l-qty { display: none; }

@media (prefers-reduced-motion: reduce) { .sh-l-lamp__bulb, .sh-l-lamp__glow, .sh-l-step__num { transition: none; } }

/* ===== Responsive tiers =====
   >= 1200: desktop as designed
   1024-1199: desktop layout, compact header
   < 1024: phone layout (Landing gets mobile=true); 600-1023 = tablet tweaks of the phone layout */
@media (max-width: 1239px) {
  .sh-header:not(.sh-header--m) .sh-header__in { gap: var(--space-24); }
  .sh-header:not(.sh-header--m) .sh-nav { gap: var(--space-20, 20px); margin-left: var(--space-8); }
  .sh-header:not(.sh-header--m) .sh-header__msgr { display: none; }
}
@media (max-width: 1199px) {
  .sh-l-hero-d { grid-template-columns: minmax(0, 1fr) 420px; gap: var(--space-32); }
  .sh-header:not(.sh-header--m) .sh-header__hours { display: none; }
  .sh-header:not(.sh-header--m) .sh-header__phone { font-size: 18px; }
  .sh-header:not(.sh-header--m) .sh-btn { padding: 0 var(--space-16); }
  .sh-header:not(.sh-header--m) .sh-nav { gap: var(--space-16); }
  .sh-l-step__title { font-size: 18px; padding: 0 var(--space-12) 0 var(--space-16); }
  .sh-l-builder { grid-template-columns: minmax(0, 1fr) 320px; }
  .sh-l-builder__list { padding: var(--space-8) var(--space-24); }
}
@media (min-width: 600px) and (max-width: 1023px) {
  .sh-l-swipe > * { flex-basis: calc(50% - 6px); }
  .sh-l-hero-m__scene .sh-scene { height: 360px !important; }
  .sh-l-alarm-m .sh-scene { height: 340px !important; }
  .sh-l-final__scene.sh-m { height: 380px !important; }
  .sh-l-why.sh-m .sh-l-why__pic { aspect-ratio: 4 / 3 !important; }
  .sh-l-why.sh-m .sh-l-why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-l-guar.sh-m .sh-l-guar__pic { aspect-ratio: 16 / 9 !important; }
  .sh-l-reviews.sh-m .sh-l-reviews__row { grid-template-columns: 1fr; }
  .sh-l-rev { min-height: 0; }
  .sh-l-steps.sh-m { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-l-works.sh-m .sh-l-works__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .sh-l-works.sh-m .sh-l-works__card > .sh-l-works__pic { order: 0; height: 100%; aspect-ratio: auto !important; }
  .sh-l-disc__grid, .sh-l-builder.sh-m { max-width: none; }
  .sh-l-bsticky { max-width: 560px; margin-left: auto; margin-right: auto; }
  .sh-l-reviews.sh-m .sh-l-rev { grid-template-columns: 38% minmax(0, 1fr); }
  .sh-l-reviews.sh-m .sh-l-rev .sh-l-pic { aspect-ratio: auto !important; height: 100%; border-radius: var(--radius-16) 0 0 var(--radius-16); }
  .sh-footer--3.sh-m .sh-footer__in { grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-24); }
}
.sh-header__sub .sh-msgr-btn { flex: none; }
.sh-m .sh-l-works__nav .sh-btn { min-width: 0; }
@media (max-width: 359px) {
  .sh-header__subphone { font-size: 15px; }
  .sh-l-works__meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

html { scroll-behavior: smooth; }
