.svc-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav-h) + clamp(40px, 4vw, 56px)) 0 clamp(44px, 5vw, 64px);
  background:
    radial-gradient(circle at 82% 20%, rgba(14, 127, 166, .11), transparent 32%),
    radial-gradient(circle at 16% 10%, rgba(36, 85, 181, .12), transparent 36%),
    #0b1424;
  color: #fff;
}

.svc-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .85fr);
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
}

.svc-hero h1 {
  max-width: 16ch;
  margin: 0;
  color: #fff;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(36px, 4.2vw, 56px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
}

.svc-hero__lead {
  max-width: 52ch;
  margin: 20px 0 0;
  color: #bfcee3;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
}

.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.svc-map {
  position: relative;
  min-height: 0;
  padding: 24px;
  border: 1px solid #304968;
  border-radius: 14px;
  background: #111f34;
}

.svc-map__label { position: relative; z-index: 1; color: #b5c8e1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.svc-map__flow { position: relative; z-index: 1; display: grid; gap: 0; margin-top: 18px; border-top: 1px solid #304968; }
.svc-map__node { display: flex; gap: 14px; align-items: center; padding: 18px 2px; border: 0; border-bottom: 1px solid #304968; border-radius: 0; background: transparent; }
.svc-map__node:last-child { border-bottom: 0; }
.svc-map__node i { width: 9px; height: 9px; flex: 0 0 auto; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 5px rgba(96, 165, 250, .10); }
.svc-map__node:nth-child(3) i { background: #39b9ec; box-shadow: 0 0 0 5px rgba(57, 185, 236, .10); }
.svc-map__node:nth-child(5) i { background: #50d3ad; box-shadow: 0 0 0 5px rgba(80, 211, 173, .10); }
.svc-map__node strong { display: block; color: #fff; font-size: 15px; }
.svc-map__node span { display: block; margin-top: 3px; color: #b5c8e1; font-size: 13px; }
.svc-map__line { display: none; }

.svc-section {
  --ink: #142441;
  --ink-soft: #4b5d76;
  --line: #d8e0eb;
  padding: clamp(56px, 6vw, 76px) 0;
  color: var(--ink);
  background: #f5f5f2;
}

.svc-section--soft {
  --ink: #eaf0fb;
  --ink-soft: #a7b4cc;
  --line: rgba(148, 163, 184, .16);
  color: var(--ink);
  background: #0b1424;
}

.svc-section h2 {
  max-width: 18ch;
  margin: 0 0 18px;
  color: #142441;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(27px, 2.8vw, 36px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.025em;
}

.svc-section__intro {
  max-width: 68ch;
  color: #4b5d76;
  font-size: 16.5px;
  line-height: 1.68;
}

.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid #d8e0eb; border-bottom: 1px solid #d8e0eb; }
.svc-point { min-width: 0; padding: 24px 28px; border: 0; border-inline-end: 1px solid #d8e0eb; border-radius: 0; background: transparent; }
.svc-point:last-child { border-inline-end: 0; }
.svc-point strong { display: flex; gap: 10px; align-items: center; margin-bottom: 9px; color: #142441; font-size: 17px; }
.svc-point strong::before { content: ""; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #60a5fa; }
.svc-point:nth-child(2) strong::before { background: #39b9ec; }
.svc-point:nth-child(3) strong::before { background: #50d3ad; }
.svc-point p { margin: 0; color: #4b5d76; font-size: 15.5px; line-height: 1.65; }

.svc-section--soft h2 { color: #eaf0fb; }
.svc-section--soft .svc-section__intro { color: #a7b4cc; }

.svc-architecture { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 7vw, 88px); align-items: start; }
.svc-checks { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(148, 163, 184, .18); }
.svc-checks li { position: relative; padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(148, 163, 184, .14); color: #a7b4cc; line-height: 1.55; }
.svc-checks li::before { content: ""; position: absolute; left: 2px; top: 22px; width: 14px; height: 8px; border-left: 2px solid #50d3ad; border-bottom: 2px solid #50d3ad; transform: rotate(-45deg); }

.svc-section.rx-dark {
  --ink: #eaf0fb;
  --ink-soft: #a7b4cc;
  --line: rgba(148, 163, 184, .16);
  color: var(--ink);
  background: #0b1424;
}

.svc-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 42px; border-top: 1px solid rgba(147, 197, 253, .25); }
.svc-path__step { position: relative; padding: 28px 24px 0 0; }
.svc-path__step::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #60a5fa; box-shadow: 0 0 0 5px rgba(96, 165, 250, .10); }
.svc-path__step:nth-child(2)::before { background: #39b9ec; box-shadow: 0 0 0 5px rgba(57, 185, 236, .10); }
.svc-path__step:nth-child(3)::before { background: #50d3ad; box-shadow: 0 0 0 5px rgba(80, 211, 173, .10); }
.svc-path__step:nth-child(4)::before { background: #d49a36; box-shadow: 0 0 0 5px rgba(212, 154, 54, .10); }
.svc-path__step strong { display: block; color: #fff; font-size: 18px; }
.svc-path__step span { display: block; margin-top: 9px; color: #9eb2cf; line-height: 1.55; }

#main .svc-section.rx-faq {
  --ink: #142441;
  --ink-soft: #4b5d76;
  --line: #d8e0eb;
  color: var(--ink);
  background: #f5f5f2;
}

#main .svc-section.rx-faq .rx-faq__item {
  border-color: #d8e0eb;
  background: transparent;
}

#main .svc-section.rx-faq h2,
#main .svc-section.rx-faq .rx-faq__item summary { color: #142441; }
#main .svc-section.rx-faq .rx-faq__answer { color: #4b5d76; }
.svc-faq { max-width: 880px; margin-top: 34px; }

html[dir="rtl"] .svc-map__node, html[dir="rtl"] .svc-hero__actions { direction: rtl; }
html[dir="rtl"] .svc-hero h1 { font-family: 'Cairo', sans-serif; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.3; letter-spacing: 0; }
html[dir="rtl"] .svc-section h2 { font-family: 'Cairo', sans-serif; line-height: 1.4; letter-spacing: 0; }
html[dir="rtl"] .svc-map__line { margin-left: 0; margin-right: 23px; }
html[dir="rtl"] .svc-checks li { padding-left: 0; padding-right: 34px; }
html[dir="rtl"] .svc-checks li::before { left: auto; right: 2px; transform: rotate(-45deg) scaleX(-1); }
html[dir="rtl"] .svc-path__step { padding-right: 0; padding-left: 24px; }
html[dir="rtl"] .svc-path__step::before { left: auto; right: 0; }

@media (max-width: 860px) {
  .svc-hero__grid, .svc-architecture { grid-template-columns: 1fr; }
  .svc-map { min-height: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-point { border-inline-end: 0; border-bottom: 1px solid #d8e0eb; }
  .svc-point:last-child { border-bottom: 0; }
  .svc-path { grid-template-columns: 1fr 1fr; row-gap: 28px; }
}

@media (max-width: 560px) {
  .svc-hero { padding-top: calc(var(--nav-h) + 28px); }
  .svc-hero h1 { max-width: 100%; font-size: clamp(32px, 9vw, 40px); line-height: 1.08; }
  html[dir="rtl"] .svc-hero h1 { font-size: clamp(30px, 8.4vw, 38px); line-height: 1.35; }
  .svc-hero__actions > * { width: 100%; justify-content: center; }
  .svc-map { padding: 22px; }
  .svc-path { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .svc-map__node i { box-shadow: none; }
}
