/* Local extension of the existing restoration service; visible SSR pair first. */
.sl-landing--retush-restavraciya-foto .sb-restoration {
  padding: clamp(48px, 6vw, 88px) 0;
  background: var(--paper-soft, #faf8f4);
  color: var(--ink, #2d2d2d);
  scroll-margin-top: 100px;
}
.sb-restoration [hidden] { display: none !important; }
.sb-restoration .sb-restoration__accent { color: var(--pink, #c2205f); font-family: Georgia, serif; font-style: italic; font-weight: 400; }
.sb-restoration .sb-restoration__intro { max-width: 70ch; margin: 22px 0 26px; line-height: 1.6; }
.sb-restoration .sb-restore-case + .sb-restore-case { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line, #ddd6ce); }
.sb-restoration .sb-restore-case__demo { margin: 0 0 28px; max-width: 74ch; color: #635a4e; font-size: 14px; line-height: 1.6; }
.sb-restoration .sb-restore-case__layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 52px); align-items: start; }
.sb-restoration .sb-restore-case__layout > * { min-width: 0; }
.sb-restoration .sb-restore-case__pair { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sb-restoration .sb-restore-case__photo { position: relative; margin: 0; min-width: 0; align-self: start; background: #e8e1d6; }
.sb-restoration .sb-restore-case__photo img { display: block; width: 100%; height: auto; max-width: 100%; user-select: none; }
.sb-restoration .sb-restore-case__photo figcaption { position: absolute; top: 14px; left: 14px; padding: 8px 12px; background: #faf8f4; color: #2d2d2d; font-size: 14px; line-height: 1.2; font-weight: 700; pointer-events: none; }
.sb-restoration .sb-restore-case__photo--after figcaption { left: auto; right: 14px; }
.sb-restoration .sb-restore-case__captions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 14px 0 8px; }
.sb-restoration .sb-restore-case__captions p { margin: 0; font-size: 13px; line-height: 1.6; color: #57514c; overflow-wrap: anywhere; }
.sb-restoration .sb-restore-case.is-overlay .sb-restore-case__pair { display: block; overflow: hidden; touch-action: pan-y pinch-zoom; cursor: ew-resize; }
.sb-restoration .sb-restore-case.is-overlay .sb-restore-case__photo--after { position: relative; }
.sb-restoration .sb-restore-case.is-overlay .sb-restore-case__photo--before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--restore-position, 50%)) 0 0); }
.sb-restoration .sb-restore-case.is-overlay .sb-restore-case__photo--before img { width: 100%; height: 100%; object-fit: contain; }
.sb-restoration .sb-restore-case__divider { position: absolute; inset: 0 auto 0 var(--restore-position, 50%); width: 2px; background: #fff; z-index: 2; pointer-events: none; }
.sb-restoration .sb-restore-case__divider > span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 48px; height: 48px; border: 2px solid #fff; border-radius: 50%; background: var(--pink, #c2205f); color: #fff; }
.sb-restoration .sb-restore-case__divider svg, .sb-restoration .sb-restore-case__divider path { color: #fff; stroke: #fff; }
.sb-restoration .sb-restore-case__controls { margin-top: 18px; }
.sb-restoration .sb-restore-case__range-label { display: block; font-size: 14px; font-weight: 600; line-height: 1.5; }
.sb-restoration .sb-restore-case__range { display: block; width: 100%; height: 44px; margin: 2px 0 10px; padding: 0; accent-color: var(--pink, #c2205f); cursor: ew-resize; }
.sb-restoration .sb-restore-case__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.sb-restoration .sb-restore-case__buttons button { appearance: none; min-height: 44px; padding: 10px 15px; border: 1px solid #91877d; border-radius: 4px; background: transparent; color: var(--ink, #2d2d2d); font: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; }
.sb-restoration .sb-restore-case__buttons button:hover { border-color: var(--pink, #c2205f); background: #f4e5eb; }
.sb-restoration .sb-restore-case__buttons button[aria-pressed="true"] { background: var(--pink, #c2205f); border-color: var(--pink, #c2205f); color: #fff; }
.sb-restoration :is(button, input, a):focus-visible { outline: 3px solid var(--ink, #2d2d2d); outline-offset: 4px; }
.sb-restoration .sb-restore-case__hint, .sb-restoration .sb-restore-case__status { color: #57514c; font-size: 13px; line-height: 1.6; margin: 14px 0 0; }
.sb-restoration .sb-restore-case__status { margin-top: 6px; font-weight: 600; }
.sb-restoration .sb-restore-case__links { display: flex; flex-wrap: wrap; column-gap: 22px; row-gap: 4px; margin-top: 14px; }
.sb-restoration a { color: #981849; text-decoration: underline; text-underline-offset: 4px; }
.sb-restoration a:hover { color: #721137; }
.sb-restoration .sb-restore-case__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; line-height: 1.6; }
.sb-restoration .sb-restore-case__description h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 700; line-height: 1.25; margin: 0 0 24px; }
.sb-restoration .sb-restore-case__list-title { font-size: 14px; font-weight: 600; line-height: 1.5; margin: 0 0 14px; }
.sb-restoration .sb-restore-case__description ul { list-style: disc; padding-left: 22px; margin: 0; }
.sb-restoration .sb-restore-case__description li { padding-left: 4px; margin: 0 0 14px; font-size: 15px; line-height: 1.6; }
.sb-restoration .sb-restore-case__limits { margin-top: 28px; padding-top: 24px; border-top: 1px solid #d8d0c7; }
.sb-restoration .sb-restore-case__limits h4 { font-size: 17px; line-height: 1.4; margin: 0 0 14px; }
.sb-restoration .sb-restore-case__limits p { font-size: 15px; line-height: 1.7; margin: 0 0 18px; }
.sb-restoration .sb-restore-case__cta { display: inline-flex; align-items: center; min-height: 44px; line-height: 1.5; }
.sb-restoration .sb-restore-case__error { font-size: 14px; line-height: 1.6; margin: 16px 0; }
.sb-restoration .sb-restoration__sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sb-restoration ::selection { background: #c2205f; color: #fff; }
@media (max-width: 760px) {
  .sb-restoration .sb-restore-case__layout { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .sb-restoration .sb-restore-case__pair { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* Keep text and controls clear of the site's existing fixed contact buttons. */
  .sb-restoration .sb-restore-case__captions { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sb-restoration .sb-restore-case__captions,
  .sb-restoration .sb-restore-case__controls,
  .sb-restoration .sb-restore-case__links,
  .sb-restoration .sb-restore-case__description { margin-right: 64px; }
  .sb-restoration .sb-restore-case__photo figcaption { top: 10px; left: 10px; padding: 6px 10px; }
  .sb-restoration .sb-restore-case__photo--after figcaption { left: auto; right: 10px; }
}
/* Comparison responds immediately, with no animation, including reduced motion. */
