/* Service offer, live examples and project references. */
.service-landing {
  --hero-canvas: #080e1e;
  --landing-width: 1240px;
  --landing-gutter: clamp(18px, 3.8vw, 56px);
}
.service-landing .header-inner,
.landing-hero__layout {
  width: min(var(--landing-width), calc(100% - 2 * var(--landing-gutter)));
}
.service-landing .header-inner { min-height: 68px; }
.service-landing #content > .breadcrumbs {
  width: 100%;
  margin: 0;
  padding: 10px max(var(--landing-gutter), calc((100% - var(--landing-width)) / 2)) 0;
  color: var(--muted);
  background: var(--hero-canvas);
}
.service-page .landing-hero {
  isolation: isolate;
  overflow: clip;
  padding: clamp(22px, 3.6vw, 48px) 0 clamp(22px, 3.2vw, 42px);
  background: radial-gradient(ellipse at 78% 66%, #132339 0, transparent 50%), var(--hero-canvas);
  color: var(--ink);
}
.landing-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  row-gap: clamp(16px, 2.8vw, 34px);
}
.landing-hero__copy { position: relative; z-index: 1; }
.service-page .landing-hero h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
}
.landing-hero__title-detail {
  display: block;
  margin-top: clamp(12px, 1.4vw, 20px);
  font-size: clamp(20px, 2.1vw, 30px);
  font-weight: 550;
  line-height: 1.16;
  letter-spacing: -.02em;
  text-transform: none;
}
.service-page .landing-hero__copy p {
  max-width: 46ch;
  margin: clamp(16px, 2vw, 25px) 0;
  color: #cedced;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.36;
  letter-spacing: -.014em;
}
.landing-hero__art {
  width: 115%;
  max-width: 750px;
  margin: 0 0 0 -4%;
  pointer-events: none;
}
.landing-hero__art img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: lighten;
  mask-image: linear-gradient(90deg,transparent,#000 10%,#000 94%,transparent),
              linear-gradient(0deg,transparent,#000 12%,#000 95%,transparent);
  mask-composite: intersect;
}
.service-landing #service-practice + section {
  position: relative;
  z-index: 1;
  background-color: var(--site-canvas);
  box-shadow: 0 -10px 18px -10px #040713b8;
}
.service-landing #service-practice .section-heading p { margin-top: 16px; }
.service-landing .section-title { text-wrap: balance; }
.service-landing #service-faq { scroll-margin-top: 72px; }
.service-proof-letters {
  position: relative;
  z-index: 1;
  padding: 20px 0 clamp(24px,4vw,48px);
  background: var(--site-section);
}
.service-proof-letters h3 { margin: 0 0 12px; font-size: var(--site-h3); }
.service-proof-letters .service-client-letters { margin: 0; }
.service-proof-letters .service-letter-list { justify-content: start; gap: 8px; }
.service-proof-letters .service-letter-list > li { flex: 0 1 auto; max-width: 100%; }
.service-proof-letters .service-letter-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
}
.service-proof-letters .service-letter-link img {
  flex: none;
  width: 42px;
  height: 34px;
  padding: 3px;
  object-fit: contain;
}
.service-proof-letters .service-letter-link span { align-items: center; }

.landing-offer { scroll-margin-top: 68px; }
.landing-offer .miniapp-offer__intro { display: block; max-width: 920px; }
.landing-offer #app-types { scroll-margin-top: calc(var(--site-header-height, 68px) + 16px); }
.landing-offer .landing-types {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-block: 20px 24px;
}
.landing-switcher { grid-template-columns: repeat(3,minmax(0,1fr)); }
.service-page--pwa-apps .landing-switcher {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}
.service-page--pwa-apps .landing-switcher button {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 10px clamp(10px, 1.6vw, 20px);
  text-align: left;
}
.service-page--pwa-apps .landing-switcher small {
  font-size: 0.86em;
  font-weight: 450;
  line-height: 1.25;
}
.landing-scenario {
  display: grid;
  grid-template-columns: minmax(0,1.22fr) minmax(0,.88fr);
  align-items: center;
  gap: clamp(28px,5.6vw,80px);
  margin-top: clamp(28px,4vw,52px);
}
.landing-scenario[hidden], .example-frame [hidden] { display: none; }
.landing-scenario:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 6px; }
.landing-scenario__copy h3 {
  max-width: 26ch;
  margin: 0;
  font-size: clamp(24px,2.6vw,36px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.landing-tasks {
  display: grid;
  margin: 20px 0 25px;
  padding: 0;
  list-style: none;
}
.landing-tasks li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: #d5e2f5;
  font-size: clamp(14px,1.2vw,17px);
  line-height: 1.38;
}
.landing-tasks li::before { content: "›"; color: var(--site-accent); font-weight: 650; }

.landing-example {
  --example-ink: #242731;
  --example-soft: #596373;
  --example-edge: #dedfe4;
  --example-control: #283549;
  width: min(100%,325px);
  min-width: 0;
  justify-self: center;
  margin: 0;
}
.landing-example figcaption {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}
.example-frame {
  display: flex;
  flex-direction: column;
  height: 414px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #d3d7df;
  border-radius: 17px;
  background: #f4f4f1;
  color: var(--example-ink);
  color-scheme: light;
  text-align: left;
  box-shadow: 0 18px 42px #02071966;
}
.example-bar {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--example-edge);
  background: #fff;
  color: #283141;
  font-size: 14px;
  line-height: 1.2;
}
.example-bar > div { display: grid; gap: 2px; }
.example-bar small { color: var(--example-soft); font-size: 11px; }
.example-mark, .example-done {
  display: grid;
  flex: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #e8ebef;
}
.example-mark svg { width: 18px; height: 18px; }
.example-flow { display: flex; flex: 1 0 auto; flex-direction: column; gap: 11px; padding: 13px; }
.example-record {
  overflow: hidden;
  border: 1px solid var(--example-edge);
  border-radius: 11px;
  background: #fff;
}
.example-record__body { padding: 12px; }
.example-record h4, .example-result h4 {
  margin: 0;
  color: var(--example-ink);
  font-size: 22px;
  font-weight: 680;
  line-height: 1.12;
  letter-spacing: -.035em;
}
.example-facts { display: grid; margin: 10px 0 0; }
.example-facts > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 9px;
  padding: 6px 0;
  border-top: 1px solid var(--example-edge);
  font-size: 13px;
  line-height: 1.3;
}
.example-facts dt { color: var(--example-soft); }
.example-facts dd { margin: 0; font-weight: 610; text-align: right; font-variant-numeric: tabular-nums; }
.example-facts input {
  width: 78px;
  min-height: 38px;
  padding: 3px 9px;
  border: 1px solid #a3aab2;
  border-radius: 6px;
  background: #fff;
  color: var(--example-ink);
  font-size: 16px;
}
.example-action:disabled { opacity: .55; cursor: default; }
.example-photo { display: block; width: 100%; height: 101px; object-fit: cover; }
.example-action, .example-result button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 9px 13px;
  border: 0;
  border-radius: 8px;
  background: var(--example-control);
  color: white;
  font: 620 14px/1.3 var(--site-font-family);
}
.example-action { margin-top: auto; }
.example-action svg { width: 16px; }
.example-action:hover { filter: brightness(1.14); }
.example-frame :is(button,[tabindex]):focus-visible { outline: 2px solid #28496e; outline-offset: -3px; }
.example-result {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  text-align: center;
}
.example-result p { margin: 0; color: var(--example-soft); font-size: 14px; line-height: 1.4; }
.example-done { width: 44px; height: 44px; border-radius: 50%; background: #dfe8ec; color: #22465c; }
.example-done svg { width: 24px; }
.example-result button { color: var(--example-control); background: #fff; border: 1px solid #c6cdd9; }
.example-result button:hover { border-color: var(--example-control); }

.landing-example--chat .example-frame {
  background: radial-gradient(ellipse at bottom right,#b4cbd6,transparent 72%),#d8e4e8;
}
.landing-example--chat .example-flow { gap: 12px; }
.landing-example--chat .example-mark { border-radius: 50%; background: #e1eaf0; }
.example-question {
  align-self: end;
  max-width: 85%;
  margin: 2px 0 0;
  padding: 8px 12px;
  border-radius: 12px 12px 2px 12px;
  background: #c1dbea;
  color: #233443;
  font-size: 14px;
}
.landing-example--chat .example-record { margin-right: 12px; border: 0; border-radius: 12px 12px 12px 2px; }
.landing-example--chat .example-record h4 { font-size: 20px; }
.landing-example--chat .example-action { background: #f9fcff; color: #264964; border: 1px solid #b3c7d2; }
.service-page--max-bots .example-frame { background: linear-gradient(145deg,#e7e6f2,#cbd5ee); }
.service-page--max-bots .example-question { color: #303158; background: #d2cef0; }
.service-page--max-bots .example-action { color: #42416c; }
.landing-example--browser { width: min(100%, 458px); }
.landing-example--browser .example-frame { height: 348px; border-radius: 13px; background: #f5f3ed; }
.landing-example--browser .example-bar { padding-block: 7px; }
.example-window { width: 28px; height: 7px; background: radial-gradient(circle at 3px 50%,#aeb8c3 3px,transparent 3.5px) 0 0 / 10px 7px repeat-x; }
.landing-example--browser .example-mark { margin-left: 3px; width: 22px; height: 22px; background: none; }
.landing-example--browser .example-mark svg { width: 16px; height: 16px; }
.landing-example--browser .example-record:has(.example-photo),
.landing-example--browser .example-record:has(.example-document) {
  display: grid;
  grid-template-columns: minmax(0,.73fr) minmax(0,1fr);
  flex: 1;
}
.landing-example--browser .example-photo { width: 100%; height: 100%; min-height: 120px; object-position: 36% 50%; }
.landing-example--browser .example-record__body { align-self: center; }
.landing-example--browser .example-facts > div { flex-wrap: wrap; gap: 1px 7px; }
.landing-example--browser .example-action { align-self: end; }
.service-page--custom-it-solutions .example-frame { background: #eef1f5; }
.service-page--custom-it-solutions .example-record__body { padding: 19px; }
.service-page--custom-it-solutions .example-facts > div { padding-block: 9px; }
.service-page--custom-it-solutions .example-facts dd { color: #2f4960; }
.example-route, .example-progress {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 12px 16px;
  list-style: none;
  background: #e2e9f1;
  color: #33475d;
  font-size: 12px;
}
.example-route li + li::before { content: "›"; margin-inline-end: 8px; color: #64768a; }
.example-route li[aria-current="step"] { font-weight: 750; color: #26374b; }
.example-progress { justify-content: space-between; }
.example-progress progress { width: 34%; height: 7px; accent-color: #516780; }
.example-document, .example-room, .example-offline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 78px;
  padding: 12px;
  color: #453a30;
  background: #eae5d9;
}
.example-document {
  flex-direction: column;
  align-items: start;
  background: repeating-linear-gradient(0deg,#e1dacd 0 1px,transparent 1px 17px),#f3eee4;
  border-left: 5px solid #b48c59;
}
.example-document span { padding: 3px 7px; border: 1px solid; border-radius: 3px; font-size: 10px; font-weight: 750; }
.example-document strong { max-width: 12ch; font-size: 18px; line-height: 1.2; }
.example-room b { font-size: 32px; letter-spacing: -.06em; }
.example-room span { font-size: 12px; line-height: 1.3; }
.example-room strong { display: block; font-size: 22px; }
.example-offline { background: #eee4c8; color: #57431b; }
.example-offline svg { width: 23px; }
.case-diagram > div { width: min(100%,340px); padding: 14px; }
.case-diagram b { display: block; margin-bottom: 10px; font-size: 21px; }
.case-diagram ol { margin: 0; padding-left: 1.6em; }
.case-diagram li { margin: 10px 0; padding-left: 4px; color: var(--muted); line-height: 1.4; }
.case-diagram li::marker { color: var(--site-accent); font-weight: 650; }

@media (min-width: 761px) and (max-height: 740px) {
  .service-page .landing-hero { padding-block: 18px 24px; }
  .landing-hero__art { max-width: min(690px,79svh); }
}
@media (max-width: 850px) {
  .landing-scenario { gap: 26px; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
  .landing-tasks li { padding-block: 9px; }
}
@media (max-width: 760px) {
  .service-landing .header-inner { min-height: 61px; }
  .landing-hero__layout { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .landing-hero__art { width: min(100%,560px); margin: 0; justify-self: center; }
  .service-page .landing-hero__copy p { margin: 12px 0 16px; }
  .landing-offer { scroll-margin-top: 61px; }
  .landing-scenario { grid-template-columns: minmax(0,1fr); }
  .landing-example { justify-self: start; }
  .landing-switcher button { justify-content: center; text-align: center; padding: 6px; }
  .landing-switcher { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-page--pwa-apps .landing-switcher { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .service-page--telegram-bots .miniapp-case-files {
    --folder-inset: clamp(22px,6vw,32px);
  }
}
@media (max-width: 520px) {
  .landing-scenario { gap: 21px; }
  .landing-scenario__copy h3 { font-size: 23px; }
  .landing-tasks { margin-block: 15px 20px; }
  .landing-tasks li { gap: 5px; font-size: 14px; }
  .landing-example { justify-self: center; }
  .landing-switcher button { font-size: 13px; line-height: 1.2; overflow-wrap: anywhere; }
  .landing-example--browser .example-frame { height: 360px; }
}
@media (max-width: 360px) {
  .landing-example--browser .example-record__body { padding: 9px; }
}
