/* Shared visual system for Shahulov Lab service landings. */
body.shl-service-refresh {
  --sl-ink: #101a2d;
  --sl-copy: #46556b;
  --sl-muted: #718097;
  --sl-line: #e3eaf3;
  --sl-paper: #ffffff;
  --sl-soft: #f5f8fc;
  --sl-blue: #2864e8;
  --sl-blue-dark: #1749bd;
  --sl-blue-soft: #edf3ff;
  --sl-shadow: 0 22px 64px rgba(25, 48, 87, .09);
  margin: 0;
  background: var(--sl-paper);
  color: var(--sl-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.shl-service-refresh *,
body.shl-service-refresh *::before,
body.shl-service-refresh *::after { box-sizing: border-box; }

body.shl-service-refresh .service-page { overflow: clip; }
body.shl-service-refresh .service-shell { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
body.shl-service-refresh a { color: inherit; }
body.shl-service-refresh a:focus-visible,
body.shl-service-refresh button:focus-visible,
body.shl-service-refresh input:focus-visible,
body.shl-service-refresh textarea:focus-visible,
body.shl-service-refresh summary:focus-visible { outline: 3px solid #8db2ff; outline-offset: 3px; }

.sl-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: #52647d; font-size: 11px; font-weight: 700; letter-spacing: .14em;
  line-height: 1.3; text-transform: uppercase;
}
.sl-eyebrow::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: var(--sl-blue); content: ""; }
.sl-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; color: var(--sl-muted); font-size: 13px; }
.sl-breadcrumbs a { text-decoration: none; }
.sl-breadcrumbs a:hover { color: var(--sl-blue); }
.sl-breadcrumbs span[aria-hidden="true"] { color: #aeb9c8; }

.sl-hero {
  position: relative; padding: clamp(42px, 6vw, 78px) 0 42px;
  background:
    radial-gradient(ellipse at 79% 14%, rgba(40, 100, 232, .08), transparent 34%),
    linear-gradient(180deg, #f8faff 0%, #fff 100%);
}
.sl-hero::after {
  position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, #e4eaf3 18%, #e4eaf3 82%, transparent); content: "";
}
.sl-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr); align-items: center; gap: clamp(32px, 6vw, 82px); }
.sl-hero-copy { max-width: 620px; }
.sl-hero h1 { max-width: 720px; margin: 16px 0 20px; font-size: clamp(42px, 5.3vw, 72px); font-weight: 650; letter-spacing: -.065em; line-height: 1.02; }
.sl-hero h1 em { color: var(--sl-blue); font-style: normal; }
.sl-lead { max-width: 610px; margin: 0; color: var(--sl-copy); font-size: clamp(17px, 1.55vw, 20px); line-height: 1.65; }
.sl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
.sl-button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px;
  padding: 0 21px; border: 1px solid transparent; border-radius: 13px;
  background: var(--sl-blue); color: #fff !important; font-size: 14px; font-weight: 700;
  text-decoration: none; transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 9px 24px rgba(40, 100, 232, .18);
}
.sl-button:hover { transform: translateY(-2px); background: var(--sl-blue-dark); box-shadow: 0 13px 28px rgba(40, 100, 232, .24); }
.sl-button--quiet { border-color: var(--sl-line); background: #fff; color: var(--sl-ink) !important; box-shadow: none; }
.sl-button--quiet:hover { border-color: #b9c9e2; background: #f9fbff; box-shadow: none; }
.sl-button:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.sl-button__arrow { font-size: 18px; line-height: 1; }
.sl-hero-notes { display: flex; flex-wrap: wrap; gap: 11px 18px; margin: 24px 0 0; padding: 0; color: #68788e; font-size: 12px; list-style: none; }
.sl-hero-notes li { display: inline-flex; align-items: center; gap: 7px; }
.sl-hero-notes li::before { width: 5px; height: 5px; border-radius: 50%; background: #80a4f7; content: ""; }

.sl-visual {
  position: relative; min-height: 344px; padding: 22px; overflow: hidden;
  border: 1px solid #dfe7f2; border-radius: 24px;
  background:
    radial-gradient(circle at 86% 15%, rgba(87, 133, 235, .13), transparent 28%),
    linear-gradient(140deg, #fff 0%, #f4f7fc 100%);
  box-shadow: var(--sl-shadow);
}
.sl-visual::before { position: absolute; inset: 0; opacity: .44; background-image: linear-gradient(rgba(40,100,232,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(40,100,232,.045) 1px, transparent 1px); background-size: 30px 30px; content: ""; pointer-events: none; }
.sl-visual-head, .sl-visual-body, .sl-visual-foot { position: relative; z-index: 1; }
.sl-visual-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--sl-line); }
.sl-visual-label { color: #74849b; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sl-visual-mark { display: inline-flex; align-items: center; gap: 7px; color: #596b83; font-size: 11px; }
.sl-visual-mark::before { width: 7px; height: 7px; border: 1px solid #7f98bf; border-radius: 50%; content: ""; }
.sl-visual-body { display: grid; gap: 11px; padding: 23px 0 18px; }
.sl-visual-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 60px; padding: 10px 13px; border: 1px solid rgba(220, 229, 241, .95); border-radius: 13px; background: rgba(255,255,255,.91); }
.sl-visual-index { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: var(--sl-blue-soft); color: var(--sl-blue); font-size: 11px; font-weight: 800; }
.sl-visual-row strong { display: block; font-size: 13px; font-weight: 700; line-height: 1.35; }
.sl-visual-row small { display: block; margin-top: 3px; color: var(--sl-muted); font-size: 11px; line-height: 1.4; }
.sl-visual-state { color: #6c7d94; font-size: 10px; white-space: nowrap; }
.sl-visual-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 15px; border-top: 1px solid var(--sl-line); color: #718097; font-size: 11px; }
.sl-visual-foot strong { color: #33445b; font-weight: 650; }

.sl-proof { position: relative; z-index: 1; margin-top: -1px; border-block: 1px solid var(--sl-line); background: #fff; }
.sl-proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sl-proof-item { min-height: 92px; padding: 20px 22px; border-right: 1px solid var(--sl-line); }
.sl-proof-item:first-child { border-left: 1px solid var(--sl-line); }
.sl-proof-item strong { display: block; font-size: 13px; font-weight: 700; }
.sl-proof-item span { display: block; margin-top: 5px; color: var(--sl-muted); font-size: 12px; line-height: 1.45; }

.sl-page-nav { display: flex; gap: 8px; overflow-x: auto; padding: 18px 0 3px; scrollbar-width: thin; }
.sl-page-nav a { flex: 0 0 auto; padding: 8px 12px; border: 1px solid var(--sl-line); border-radius: 999px; color: #566780; font-size: 12px; text-decoration: none; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.sl-page-nav a:hover { border-color: #c2d2ee; background: var(--sl-blue-soft); color: var(--sl-blue-dark); }

.sl-section { padding: clamp(62px, 8vw, 104px) 0; }
.sl-section, .sl-related { scroll-margin-top: 124px; }
.sl-section--soft { background: var(--sl-soft); }
.sl-section-head { display: grid; grid-template-columns: minmax(0, .88fr) minmax(280px, .7fr); align-items: end; gap: 30px; margin-bottom: 34px; }
.sl-section-head h2 { max-width: 680px; margin: 11px 0 0; font-size: clamp(30px, 3.6vw, 48px); font-weight: 620; letter-spacing: -.055em; line-height: 1.1; }
.sl-section-head p { max-width: 460px; margin: 0; color: var(--sl-copy); font-size: 15px; line-height: 1.7; }
.sl-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sl-card { position: relative; min-height: 190px; padding: 24px; border: 1px solid var(--sl-line); border-radius: 18px; background: #fff; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.sl-card:hover { transform: translateY(-3px); border-color: #cbd9ee; box-shadow: 0 16px 32px rgba(25, 48, 87, .07); }
.sl-card-index { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sl-blue-soft); color: var(--sl-blue); font-size: 11px; font-weight: 800; }
.sl-card h3 { margin: 17px 0 8px; font-size: 19px; font-weight: 680; letter-spacing: -.025em; line-height: 1.3; }
.sl-card p { max-width: 520px; margin: 0; color: var(--sl-copy); font-size: 14px; line-height: 1.65; }
.sl-card-note { display: block; margin-top: 14px; color: #718097; font-size: 12px; }

.sl-tool-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(320px, .75fr); gap: 22px; align-items: stretch; }
.sl-tool-panel, .sl-tool-result { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--sl-line); border-radius: 20px; background: #fff; }
.sl-tool-panel h3, .sl-tool-result h3 { margin: 0 0 7px; font-size: 20px; letter-spacing: -.03em; }
.sl-tool-panel > p, .sl-tool-result > p { margin: 0 0 22px; color: var(--sl-copy); font-size: 13px; line-height: 1.65; }
.sl-field-range { margin-top: 20px; }
.sl-field-range-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; color: #586a83; font-size: 12px; }
.sl-field-range-head output { color: var(--sl-ink); font-weight: 750; }
.sl-field-range input[type="range"] { display: block; width: 100%; height: 24px; margin: 0; accent-color: var(--sl-blue); cursor: pointer; }
.sl-range-limits { display: flex; justify-content: space-between; color: #8492a5; font-size: 10px; }
.sl-tool-result { display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(150deg, #f5f8ff, #fff 78%); }
.sl-result-label { color: #6e7e94; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sl-result-primary { margin: 10px 0 3px; color: var(--sl-ink); font-size: clamp(32px, 4vw, 48px); font-weight: 690; letter-spacing: -.06em; line-height: 1.05; }
.sl-result-secondary { margin: 0; color: var(--sl-copy); font-size: 14px; }
.sl-result-note { margin-top: 26px; padding-top: 17px; border-top: 1px solid var(--sl-line); color: #718097; font-size: 11px; line-height: 1.6; }

.sl-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--sl-line); border-radius: 18px; overflow: hidden; background: #fff; }
.sl-step { min-height: 205px; padding: 22px; border-right: 1px solid var(--sl-line); }
.sl-step:last-child { border-right: 0; }
.sl-step-num { color: var(--sl-blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.sl-step h3 { margin: 20px 0 9px; font-size: 17px; line-height: 1.35; }
.sl-step p { margin: 0; color: var(--sl-copy); font-size: 13px; line-height: 1.65; }

.sl-note { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; margin-top: 22px; padding: 18px 20px; border: 1px solid #dfe8f6; border-radius: 14px; background: #f8faff; color: #52647c; font-size: 13px; line-height: 1.6; }
.sl-note-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: #eaf1ff; color: var(--sl-blue); font-size: 15px; font-weight: 800; }
.sl-note p { margin: 0; }

.sl-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sl-check { display: flex; min-height: 56px; align-items: flex-start; gap: 11px; padding: 14px; border: 1px solid var(--sl-line); border-radius: 12px; background: #fff; color: #40516a; font-size: 13px; line-height: 1.5; cursor: pointer; }
.sl-check input { flex: 0 0 auto; width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--sl-blue); }
.sl-check-summary { min-height: 23px; margin: 13px 0 0; color: #718097; font-size: 12px; }
.sl-tool-panel .sl-button { margin-top: 13px; }

.sl-faq-list { border-top: 1px solid var(--sl-line); }
.sl-faq-list details { border-bottom: 1px solid var(--sl-line); }
.sl-faq-list summary { position: relative; padding: 21px 40px 21px 0; color: var(--sl-ink); font-size: 16px; font-weight: 650; line-height: 1.4; cursor: pointer; list-style: none; }
.sl-faq-list summary::-webkit-details-marker { display: none; }
.sl-faq-list summary::after { position: absolute; top: 20px; right: 4px; color: var(--sl-blue); font-size: 22px; font-weight: 400; content: "+"; }
.sl-faq-list details[open] summary::after { content: "−"; }
.sl-faq-answer { max-width: 780px; padding: 0 40px 22px 0; color: var(--sl-copy); font-size: 14px; line-height: 1.75; }
.sl-faq-answer p { margin: 0; }

.sl-brief { padding: clamp(48px, 6vw, 76px); border-radius: 24px; background: #101b31; color: #fff; box-shadow: 0 24px 58px rgba(13, 26, 49, .16); }
.sl-brief-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(360px, 1fr); gap: clamp(28px, 6vw, 82px); align-items: start; }
.sl-brief .sl-eyebrow { color: #a9b9d2; }
.sl-brief .sl-eyebrow::before { background: #88aaff; }
.sl-brief h2 { max-width: 420px; margin: 14px 0 14px; font-size: clamp(32px, 4vw, 50px); font-weight: 620; letter-spacing: -.055em; line-height: 1.08; }
.sl-brief-copy { max-width: 430px; margin: 0; color: #c1cee0; font-size: 15px; line-height: 1.7; }
.sl-brief-meta { display: grid; gap: 10px; margin-top: 24px; color: #c1cee0; font-size: 12px; }
.sl-brief-meta a { color: #fff; text-underline-offset: 3px; }
.sl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.sl-form-field { display: grid; gap: 6px; }
.sl-form-field--wide { grid-column: 1 / -1; }
.sl-form label { color: #e9eef6; font-size: 12px; font-weight: 620; }
.sl-form input[type="text"], .sl-form input[type="email"], .sl-form input[type="tel"], .sl-form textarea {
  width: 100%; min-height: 48px; padding: 12px 13px; border: 1px solid #3b4a64; border-radius: 10px;
  background: #17243b; color: #fff; font: inherit; font-size: 14px; line-height: 1.45;
}
.sl-form input::placeholder, .sl-form textarea::placeholder { color: #97a6bb; }
.sl-form textarea { min-height: 102px; resize: vertical; }
.sl-consent { display: flex; grid-column: 1 / -1; align-items: flex-start; gap: 9px; color: #c1cee0 !important; font-size: 11px !important; font-weight: 400 !important; line-height: 1.55; cursor: pointer; }
.sl-consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #83a6ff; }
.sl-consent a { color: #fff; text-underline-offset: 2px; }
.sl-form .sl-button { grid-column: 1 / -1; justify-self: start; min-width: 190px; margin-top: 2px; background: #fff; color: #12213b !important; box-shadow: none; }
.sl-form .sl-button:hover { background: #eaf1ff; }
.sl-notification { display: none; grid-column: 1 / -1; margin: 0; padding: 11px 13px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.sl-notification_success { border: 1px solid #82d1aa; background: #eafbf2; color: #17613d; }
.sl-notification_error { border: 1px solid #f0a0a0; background: #fff0f0; color: #8b2727; }
.sl-form-hint { grid-column: 1 / -1; margin: -2px 0 0; color: #aab8cc; font-size: 11px; line-height: 1.5; }

.sl-related { padding: 64px 0; }
.sl-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sl-related a { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 14px; padding: 17px 18px; border: 1px solid var(--sl-line); border-radius: 14px; background: #fff; color: var(--sl-ink); font-size: 13px; font-weight: 650; text-decoration: none; transition: border-color .18s ease, background .18s ease; }
.sl-related a:hover { border-color: #b7c9ec; background: #f7f9ff; }
.sl-related a span { color: var(--sl-blue); font-size: 18px; }
.sl-endline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 25px; padding-top: 17px; border-top: 1px solid var(--sl-line); color: #77869a; font-size: 11px; }
.sl-endline a { color: #546781; text-underline-offset: 3px; }

@media (max-width: 900px) {
  body.shl-service-refresh .service-shell { width: min(100% - 40px, 720px); }
  .sl-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .sl-hero-copy { max-width: 720px; }
  .sl-visual { min-height: 0; }
  .sl-section-head { grid-template-columns: 1fr; gap: 15px; }
  .sl-tool-grid { grid-template-columns: 1fr; }
  .sl-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sl-step:nth-child(2) { border-right: 0; }
  .sl-step:nth-child(-n+2) { border-bottom: 1px solid var(--sl-line); }
  .sl-brief-grid { grid-template-columns: 1fr; }
  .sl-brief h2, .sl-brief-copy { max-width: 650px; }
  .sl-brief-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  body.shl-service-refresh { font-size: 15px; }
  body.shl-service-refresh .service-shell { width: calc(100% - 36px); }
  .sl-hero { padding-top: 30px; }
  .sl-breadcrumbs { margin-bottom: 20px; font-size: 12px; }
  .sl-hero h1 { margin-top: 14px; font-size: clamp(38px, 11vw, 52px); }
  .sl-lead { font-size: 16px; }
  .sl-actions { align-items: stretch; }
  .sl-actions .sl-button { flex: 1 1 100%; }
  .sl-hero-notes { gap: 9px 13px; }
  .sl-visual { padding: 16px; border-radius: 18px; }
  .sl-visual-row { grid-template-columns: 30px minmax(0,1fr); gap: 10px; padding: 10px; }
  .sl-visual-state { grid-column: 2; }
  .sl-visual-foot { align-items: flex-start; flex-direction: column; }
  .sl-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .sl-proof-item { min-height: 82px; padding: 15px 12px; }
  .sl-proof-item:nth-child(2) { border-right: 0; }
  .sl-proof-item:nth-child(-n+2) { border-bottom: 1px solid var(--sl-line); }
  .sl-proof-item:first-child { border-left: 0; }
  .sl-page-nav { margin-inline: -18px; padding-inline: 18px; }
  .sl-section { padding: 58px 0; }
  .sl-section-head h2 { font-size: 34px; }
  .sl-card-grid, .sl-check-grid { grid-template-columns: 1fr; }
  .sl-card { min-height: 0; padding: 20px; }
  .sl-steps { grid-template-columns: 1fr; }
  .sl-step, .sl-step:nth-child(2) { min-height: 0; padding: 19px; border-right: 0; border-bottom: 1px solid var(--sl-line); }
  .sl-step:last-child { border-bottom: 0; }
  .sl-step h3 { margin-top: 12px; }
  .sl-brief { padding: 28px 19px; border-radius: 19px; }
  .sl-brief-meta { grid-template-columns: 1fr; }
  .sl-form { grid-template-columns: 1fr; }
  .sl-form-field, .sl-form-field--wide, .sl-consent, .sl-form .sl-button, .sl-notification, .sl-form-hint { grid-column: 1; }
  .sl-form .sl-button { width: 100%; }
  .sl-related-grid { grid-template-columns: 1fr; }
  .sl-related { padding: 44px 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.shl-service-refresh *, body.shl-service-refresh *::before, body.shl-service-refresh *::after {
    scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
