/* services: стили services. */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 4px 28px rgba(26, 172, 170, 0.1);
}


:root {
  --dc-menu-width: 260px;
  --dc-page-pad: clamp(44px, 4.7vw, 76px);
}

.dc-page {
  padding-left: var(--dc-menu-width);
}
.dc-slide-nav {
  position: fixed;
  z-index: 115;
  top: 50%;
  right: 22px;
  left: auto;
  bottom: auto;
  width: auto;
  height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}
.dc-slide-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(13, 122, 120, 0.23);
  border-radius: 50%;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.72);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s,
    box-shadow 0.25s;
}
.dc-slide-nav span {
  font-family: var(--font-display);
  font-size: 7px;
  color: var(--accent-dark);
}
.dc-slide-nav a:hover {
  border-color: var(--accent);
  background: #fff;
}
.dc-slide-nav a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.18);
  box-shadow: 0 0 0 5px rgba(26, 172, 170, 0.13);
}
.dc-slide-nav a.is-active span {
  color: #fff;
}
.dc-screen {
  position: relative;
  isolation: isolate;
  height: 100svh;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  padding: clamp(34px, 5vh, 56px) var(--dc-page-pad) 46px;
  background: var(--bg);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.dc-screen::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.62;
  pointer-events: none;
}
.dc-screen::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 44vw;
  height: 44vw;
  right: -12vw;
  top: -18vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 196, 168, 0.13), rgba(46, 196, 168, 0) 68%);
  pointer-events: none;
}
.dc-standards::after,
.dc-cycle::after,
.dc-design::after,
.dc-launch::after {
  display: none;
}
.dc-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3vh, 34px);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.dc-label::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--accent);
}
.dc-title,
.dc-section-title {
  font-family: var(--font-display);
  letter-spacing: -0.025em;
  color: var(--text);
}
.dc-title {
  max-width: 1120px;
  font-size: clamp(45px, 5.2vw, 82px);
  line-height: 1.03;
  font-weight: 800;
}
.dc-title span {
  color: var(--accent);
}
.dc-title .dc-title-dark {
  color: var(--text);
}
.dc-section-title,
.dc-section-title span {
  color: var(--text);
}
.dc-section-title {
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.08;
}
.dc-section-copy {
  max-width: 650px;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dim);
}
.dc-intro {
  display: flex;
  align-items: center;
}
.dc-intro-copy {
  position: relative;
  z-index: 3;
  width: min(64%, 960px);
}
.dc-lead {
  max-width: 790px;
  margin-top: clamp(30px, 4vh, 48px);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.7;
  color: var(--text-dim);
}
.dc-system-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.dc-system-list span {
  padding: 9px 16px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.72);
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
}
.dc-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.98) 5%,
    rgba(255, 255, 255, 0.82) 60%,
    rgba(232, 245, 244, 0.8)
  );
}
.dc-intro-visual {
  position: absolute;
  z-index: 1;
  right: clamp(42px, 4vw, 76px);
  top: 50%;
  width: min(36vw, 620px);
  aspect-ratio: 560/620;
  transform: translateY(-50%);
  pointer-events: none;
}
.dc-intro-visual svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.dc-visual-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(34px);
}
.dc-visual-glow--one {
  width: 62%;
  height: 56%;
  left: 19%;
  top: 22%;
  background: rgba(32, 181, 177, 0.18);
}
.dc-visual-glow--two {
  width: 25%;
  height: 25%;
  right: 0;
  top: 8%;
  background: rgba(73, 217, 188, 0.2);
}
.dc-visual-glow--three {
  width: 22%;
  height: 22%;
  left: 2%;
  bottom: 7%;
  background: rgba(16, 124, 122, 0.16);
}
.dc-orbit {
  fill: none;
  stroke: rgba(22, 151, 149, 0.3);
  stroke-width: 1.2;
  transform-origin: 280px 310px;
}
.dc-orbit circle {
  fill: var(--accent);
  stroke: none;
}
.dc-orbit--outer {
  animation: dc-orbit-turn 22s linear infinite;
}
.dc-orbit--middle {
  display: none;
}
.dc-automation-scheme {
  transform-origin: 280px 310px;
  animation: dc-scheme-drift 7s ease-in-out infinite;
}
.dc-hmi-unit rect {
  fill: rgba(255, 255, 255, 0.76);
  stroke: var(--accent-dark);
  stroke-width: 1.6;
}
.dc-hmi-unit path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dc-hmi-unit circle {
  fill: var(--accent);
}
.dc-hmi-unit text,
.dc-plc-unit text {
  fill: var(--accent-dark);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 1px;
}
.dc-automation-links {
  fill: none;
  stroke: rgba(13, 122, 120, 0.65);
  stroke-width: 1.8;
  stroke-dasharray: 5 6;
  animation: dc-signal-flow 5s linear infinite;
}
.dc-plc-unit > rect:first-child {
  fill: rgba(23, 153, 150, 0.12);
  stroke: var(--accent-dark);
  stroke-width: 1.8;
}
.dc-plc-unit > rect:not(:first-child) {
  fill: rgba(255, 255, 255, 0.76);
  stroke: rgba(13, 122, 120, 0.56);
  stroke-width: 1;
}
.dc-plc-unit circle {
  fill: var(--accent);
  animation: dc-nodes-pulse 1.7s ease-in-out infinite alternate;
}
.dc-field-units {
  fill: rgba(255, 255, 255, 0.72);
  stroke: var(--accent-dark);
  stroke-width: 1.5;
}
.dc-field-units path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
}
.dc-field-units polygon {
  fill: rgba(46, 196, 168, 0.38);
}
.dc-scheme-label {
  fill: rgba(13, 122, 120, 0.62);
  font-family: var(--font-display);
  font-size: 7px;
  letter-spacing: 1.5px;
}
.dc-scan-lines {
  fill: none;
  stroke: rgba(13, 122, 120, 0.42);
  stroke-width: 1;
  stroke-dasharray: 159;
  animation: dc-scan-draw 4.8s ease-in-out infinite;
}
.dc-visual-code {
  fill: rgba(13, 122, 120, 0.62);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 2px;
}
@keyframes dc-orbit-turn {
  to {
    transform: rotate(360deg);
  }
}
@keyframes dc-signal-flow {
  to {
    stroke-dashoffset: -56;
  }
}
@keyframes dc-nodes-pulse {
  from {
    opacity: 0.42;
  }
  to {
    opacity: 1;
  }
}
@keyframes dc-scan-draw {
  0%,
  100% {
    stroke-dashoffset: 159;
    opacity: 0.2;
  }
  45%,
  70% {
    stroke-dashoffset: 0;
    opacity: 0.8;
  }
}
@keyframes dc-scheme-drift {
  0%,
  100% {
    transform: translate(-2px, -33px);
  }
  50% {
    transform: translate(3px, -37px);
  }
}
.dc-standards {
  background: var(--bg2);
}
.dc-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(560px, 1.08fr);
  gap: clamp(48px, 6vw, 100px);
  align-items: center;
  height: calc(100% - 46px);
}
.dc-two-column--table-left {
  grid-template-columns: minmax(560px, 1.08fr) minmax(0, 0.92fr);
}
.dc-standards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.dc-standard {
  min-height: 145px;
  padding: 28px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.68);
}
.dc-standard b {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent-dark);
}
.dc-standard span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}
.dc-cycle {
  background: #fff;
}
.dc-cycle .dc-section-title {
  max-width: 620px;
}
.dc-cycle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.dc-cycle-card {
  min-height: 210px;
  padding: 26px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.76);
}
.dc-card-number {
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--accent);
}
.dc-cycle-card h3 {
  min-height: 2.9em;
  margin-bottom: 16px;
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.45;
  color: var(--text);
}
.dc-cycle-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
}
.dc-design {
  background: var(--bg3);
}
.dc-design .dc-section-title {
  max-width: 720px;
}
.dc-launch {
  background: var(--bg2);
}
.dc-launch .dc-section-title {
  max-width: 620px;
}
.dc-launch-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.dc-launch-card {
  position: relative;
  min-height: 220px;
  padding: 26px 30px;
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}
.dc-launch-index {
  position: absolute;
  right: 20px;
  top: -0.22em;
  font-family: var(--font-display);
  font-size: 110px;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.08;
}
.dc-launch-card h3 {
  max-width: 520px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.35;
  color: var(--text);
}
.dc-launch-card ul {
  list-style: none;
}
.dc-launch-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-dim);
}
.dc-launch-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 18px;
  width: 7px;
  height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}
.dc-support {
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #071919, #0b2929 58%, #061616);
  color: #fff;
}
.dc-support::before {
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(77, 217, 172, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 217, 172, 0.12) 1px, transparent 1px);
}
.dc-support::after {
  background: radial-gradient(circle, rgba(46, 196, 168, 0.18), transparent 68%);
}
.dc-support .dc-section-title {
  color: #fff;
}
.dc-support .dc-section-title span {
  color: var(--accent3);
}
.dc-label-light {
  color: var(--accent3);
}
.dc-support-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(70px, 8vw, 130px);
  align-items: center;
  flex: 1;
}
.dc-support-list {
  list-style: none;
  margin-top: 42px;
  max-width: 620px;
  border-top: 1px solid rgba(77, 217, 172, 0.28);
}
.dc-support-list li {
  padding: 19px 0;
  border-bottom: 1px solid rgba(77, 217, 172, 0.2);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.76);
}
.dc-price-card {
  padding: clamp(36px, 4vw, 60px);
  border: 1px solid rgba(77, 217, 172, 0.42);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(8px);
}
.dc-price-kicker {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent3);
}
.dc-price {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.72);
}
.dc-price strong {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1.1;
  color: #fff;
}
.dc-price-card > p {
  max-width: 650px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.62);
}
.dc-price-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 22px;
  align-items: center;
  margin-top: 34px;
}
.dc-contact-button {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 20px;
  background: var(--accent);
  border: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.dc-contact-button:hover {
  background: #fff;
  border-color: #fff;
  color: var(--accent-dark);
}
.dc-phone,
.dc-mail {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}
.dc-phone:hover,
.dc-mail:hover {
  color: var(--accent3);
}
.dc-design .dc-two-column {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 1fr);
  gap: clamp(36px, 4vw, 72px);
}
.dc-design .dc-section-title {
  font-size: clamp(28px, 3.2vw, 44px);
}
@media (max-width: 1500px) {
  .dc-design .dc-section-title {
    font-size: clamp(24px, 1.9vw, 32px);
  }
}

.service-page .dc-standards::after,
.service-page .dc-cycle::after,
.service-page .dc-design::after,
.service-page .dc-launch::after {
  display: none;
}

.service-page .dc-intro-copy {
  width: min(62%, 930px);
}
.service-page .dc-title {
  font-size: clamp(40px, 4.6vw, 72px);
}
.service-page .dc-title .accent {
  color: var(--accent);
}
.service-page .dc-title .dark {
  color: var(--text);
}
.service-page .dc-section-title {
  max-width: 660px;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border-strong);
  border-left: 1px solid var(--border-strong);
}
.svc-card {
  min-height: 178px;
  padding: 25px 26px;
  background: rgba(255, 255, 255, 0.76);
  border-right: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}
.svc-card b {
  display: block;
  margin-bottom: 13px;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.45;
  color: var(--accent-dark);
}
.svc-card p,
.svc-card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
}
.svc-card ul {
  list-style: none;
}
.svc-card li {
  position: relative;
  padding: 7px 0 7px 18px;
  border-top: 1px solid var(--border);
}
.svc-card li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 16px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
}
.svc-card--wide {
  grid-column: 1/-1;
  min-height: 132px;
}

.svc-price-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}
.svc-price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid rgba(77, 217, 172, 0.22);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}
.svc-price-row strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
}
.svc-placeholder {
  display: block !important;
  color: #ff5a5f !important;
  font-family: var(--font-display);
  letter-spacing: 0.12em;
}
.svc-visual {
  position: absolute;
  z-index: 1;
  right: clamp(42px, 4vw, 76px);
  top: 50%;
  width: min(36vw, 620px);
  aspect-ratio: 560/620;
  transform: translateY(-50%);
  pointer-events: none;
}
.svc-visual svg {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.svc-visual .visual-frame {
  fill: rgba(255, 255, 255, 0.7);
  stroke: rgba(13, 122, 120, 0.48);
  stroke-width: 1.4;
}
.svc-visual .visual-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.svc-visual .visual-muted {
  fill: none;
  stroke: rgba(13, 122, 120, 0.34);
  stroke-width: 1.3;
}
.svc-visual .visual-fill {
  fill: rgba(26, 172, 170, 0.14);
  stroke: var(--accent-dark);
  stroke-width: 1.4;
}
.svc-visual .visual-dot {
  fill: var(--accent);
}
.svc-visual .visual-label,
.dc-intro-visual .visual-label {
  fill: rgba(13, 122, 120, 0.72);
  font-family: var(--font-display);
  font-size: 8px;
  letter-spacing: 1.7px;
}
.svc-glow {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(38px);
}
.svc-glow--main {
  inset: 19% 12% 18% 18%;
  background: rgba(32, 181, 177, 0.17);
}
.svc-glow--top {
  width: 23%;
  height: 23%;
  right: 5%;
  top: 8%;
  background: rgba(73, 217, 188, 0.17);
}
.svc-glow--bottom {
  width: 20%;
  height: 20%;
  left: 3%;
  bottom: 8%;
  background: rgba(16, 124, 122, 0.13);
}
.svc-code-window {
  animation: svc-float 7s ease-in-out infinite;
  transform-origin: 280px 310px;
}
.svc-code-window .code-row {
  fill: none;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-dasharray: 190;
  animation: svc-type 4.8s ease-in-out infinite;
}
.svc-code-window .code-row:nth-of-type(2n) {
  animation-delay: -1.1s;
}
.svc-code-window .code-row:nth-of-type(3n) {
  animation-delay: -2.3s;
}
.svc-code-window .code-caret {
  fill: var(--accent);
  animation: svc-blink 0.8s steps(1) infinite;
}
.svc-code-tags {
  animation: svc-orbit 20s linear infinite;
  transform-origin: 280px 310px;
}
.svc-cabinet {
  animation: svc-float 7.8s ease-in-out infinite;
  transform-origin: 280px 315px;
}
.svc-cabinet .cabinet-door {
  animation: svc-door 5.6s ease-in-out infinite;
  transform-origin: 163px 310px;
}
.svc-cabinet .module-a {
  animation: svc-module-a 5.6s ease-in-out infinite;
}
.svc-cabinet .module-b {
  animation: svc-module-b 5.6s ease-in-out infinite;
}
.svc-cabinet .wire {
  stroke-dasharray: 8 7;
  animation: svc-flow 5s linear infinite;
}
.svc-bpm-chart .chart-line {
  opacity: 0;
  stroke-linecap: round;
  animation: none;
}
.svc-bpm-chart .bar {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: svc-bpm-bar-enter 0.75s cubic-bezier(.2,.8,.2,1) forwards;
}
.svc-bpm-chart .bar:nth-child(2) {animation-delay:.15s;}
.svc-bpm-chart .bar:nth-child(3) {animation-delay:.3s;}
.svc-bpm-chart .bar:nth-child(4) {animation-delay:.45s;}
.svc-bpm-flow {
  animation: svc-float 7.2s ease-in-out infinite;
}
.svc-bpm-flow .flow-path {
  stroke-dasharray: 6 7;
  animation: svc-flow 4s linear infinite;
}
.svc-maint-ring {
  transform-origin: 280px 310px;
  animation: svc-orbit 18s linear infinite;
}
.svc-maint-scan {
  animation: svc-scan 4.4s ease-in-out infinite;
}
.svc-maint-module {
  animation: svc-float 7s ease-in-out infinite;
}
.svc-maint-status {
  animation: svc-pulse 1.8s ease-in-out infinite alternate;
}
.svc-shield {
  animation: svc-float 7.6s ease-in-out infinite;
  transform-origin: 280px 310px;
}
.svc-security-rotation {
  transform-origin: 280px 306px;
  animation: svc-orbit 5s linear infinite;
}
.svc-security-scan {
  animation: svc-security-scan-length 4.2s ease-in-out infinite;
}
.svc-security-path {
  stroke-dasharray: 7 8;
  animation: svc-flow 4.4s linear infinite;
}
.svc-security-node {
  animation: svc-pulse 2s ease-in-out infinite alternate;
}

@keyframes svc-float {
  0%,
  100% {
    transform: translateY(-4px);
  }
  50% {
    transform: translateY(5px);
  }
}
@keyframes svc-type {
  0%,
  12% {
    stroke-dashoffset: 190;
  }
  48%,
  82% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -190;
  }
}
@keyframes svc-blink {
  0%,
  48% {
    opacity: 1;
  }
  49%,
  100% {
    opacity: 0;
  }
}
@keyframes svc-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes svc-door {
  0%,
  100% {
    transform: translateX(0);
  }
  45%,
  70% {
    transform: translateX(-28px);
  }
}
@keyframes svc-module-a {
  0%,
  100% {
    transform: translateX(0);
  }
  45%,
  70% {
    transform: translateX(18px);
  }
}
@keyframes svc-module-b {
  0%,
  100% {
    transform: translateX(0);
  }
  45%,
  70% {
    transform: translateX(34px);
  }
}
@keyframes svc-flow {
  to {
    stroke-dashoffset: -60;
  }
}
@keyframes svc-draw {
  0%,
  12% {
    stroke-dashoffset: 520;
  }
  58%,
  88% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -520;
  }
}
@keyframes svc-bar {
  0%,
  100% {
    transform: scaleY(0.72);
  }
  50% {
    transform: scaleY(1);
  }
}
@keyframes svc-scan {
  0%,
  100% {
    transform: translateY(-55px);
    opacity: 0.2;
  }
  50% {
    transform: translateY(62px);
    opacity: 0.9;
  }
}
@keyframes svc-pulse {
  from {
    opacity: 0.38;
  }
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-visual * {
    animation: none !important;
  }
}

/* Более спокойное движение терминала на странице разработки ПО. */
.service-development-implementation .svc-code-window {animation-duration:11s;}

@keyframes svc-security-scan-length {
  0%, 100% {stroke-dasharray:45 655;opacity:.55;}
  50% {stroke-dasharray:190 510;opacity:1;}
}

@keyframes svc-bpm-bar-enter {
  from {opacity:0;transform:scaleY(0);}
  to {opacity:1;transform:scaleY(1);}
}
@keyframes svc-bpm-line-cycle {
  0%, 3% {opacity:0;stroke-dashoffset:520;}
  4% {opacity:1;stroke-dashoffset:520;}
  45%, 50% {opacity:1;stroke-dashoffset:0;}
  94% {opacity:1;stroke-dashoffset:-520;}
  95%, 100% {opacity:0;stroke-dashoffset:-520;}
}

/* Service pages: continuous, text-first layout on phones and tablets. */
@media (max-width: 960px), (max-width: 1480px) and (pointer: coarse) {
  .service-responsive .dc-slide-nav { display: none; }
  .service-responsive .dc-screen.page-screen {
    height: auto !important;
    min-height: 0;
    max-height: none;
    overflow: visible !important;
    padding: 44px clamp(20px, 4vw, 48px) !important;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
  }
  .service-responsive .dc-screen::after { display: none; }
  .service-responsive .dc-two-column,
  .service-responsive .dc-support-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    gap: 28px;
  }
  .service-responsive .dc-two-column > *,
  .service-responsive .dc-support-grid > * {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .service-responsive .dc-two-column--table-left > :last-child { order: -1; }
  .service-responsive .svc-grid,
  .service-responsive .dc-standards-grid,
  .service-responsive .dc-cycle-grid,
  .service-responsive .dc-launch-grid { grid-template-columns: minmax(0, 1fr); }
  .service-responsive .svc-card,
  .service-responsive .dc-standard,
  .service-responsive .dc-cycle-card,
  .service-responsive .dc-launch-card {
    min-height: 0;
    padding: 24px;
  }
  .service-responsive .dc-cycle-card h3 { min-height: 0; }
  .service-responsive .dc-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .service-responsive .dc-intro-copy { width: 100%; max-width: 100%; }
  .service-responsive .svc-visual,
  .service-responsive .dc-intro-visual {
    position: relative;
    inset: auto;
    transform: none;
    width: min(100%, 400px);
    align-self: center;
    aspect-ratio: 560 / 620;
  }
  .service-responsive .dc-title {
    font-size: clamp(22px, 3.6vw, 44px);
    line-height: 1.2;
  }
  .service-responsive .dc-section-title {
    font-size: clamp(20px, 3vw, 34px);
    line-height: 1.25;
  }
  .service-responsive .dc-title,
  .service-responsive .dc-section-title {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
  }
  .service-responsive .dc-title br,
  .service-responsive .dc-section-title br { display: none; }
  .service-responsive .dc-section-copy,
  .service-responsive .dc-lead {
    max-width: 100%;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.65;
  }
  .service-responsive .dc-label {
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .14em;
    margin-bottom: 24px;
  }
  .service-responsive .dc-label::before { flex: 0 0 28px; }
  .service-responsive .dc-support-list { margin-top: 24px; }
  .service-responsive .dc-price-card { padding: 24px; }
  .service-responsive .dc-price-actions { grid-template-columns: minmax(0, 1fr); }
  .service-responsive .svc-price-row { flex-wrap: wrap; gap: 8px 20px; }
  .service-responsive .dc-price strong { font-size: clamp(28px, 5vw, 46px); }
  .service-responsive .dc-contact-button { letter-spacing: .05em; gap: 12px; }
  .service-responsive .dc-screen .reveal { opacity: 1; transform: none; }
}
@media (max-width: 540px) {
  .service-responsive .dc-title { font-size: clamp(20px, 5.7vw, 30px); }
  .service-responsive .dc-section-title { font-size: clamp(18px, 5.1vw, 26px); }
  .service-responsive .svc-card,
  .service-responsive .dc-standard,
  .service-responsive .dc-cycle-card,
  .service-responsive .dc-launch-card { padding: 22px 20px; }
}