.factory-page {
  --factory-blue: #0455bf;
  --factory-blue-dark: #033b84;
  --factory-ink: #101114;
  --factory-muted: #69707a;
  --factory-line: #dfe4ec;
  --factory-soft: #e8ebef;
  --factory-white: #ffffff;
  --factory-hero-height: max(684px, calc(100svh - var(--factory-header-height, 111px)));
  --factory-process-sticky-top: 76px;
  background: var(--factory-soft);
  color: var(--factory-ink);
  overflow-x: clip;
}

.main:has(.factory-page) {
  overflow: visible;
}

.factory-page * {
  box-sizing: border-box;
}

.factory-page a {
  color: inherit;
}

.factory-container {
  width: min(100% - 64px, 1920px);
  margin: 0 auto;
}

.factory-page .header,
.factory-page .header._scroll {
  position: sticky;
  top: 0;
  z-index: 50;
  transform: translateY(var(--factory-header-shift, 0));
  transition: transform 0.28s ease;
  will-change: transform;
}

.factory-page.is-header-hidden .header {
  pointer-events: none;
}

.factory-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--factory-line);
  transform: translateY(var(--factory-header-shift, 0));
  transition: transform 0.28s ease;
  will-change: transform;
}

.factory-page.is-header-hidden .factory-header {
  pointer-events: none;
}

.factory-header__top {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--factory-line);
  font-size: 14px;
}

.factory-header__top a {
  color: #101114;
  text-decoration: none;
}

.factory-header__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.factory-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.factory-logo ._logo-small {
  width: 46px;
  height: 30px;
}

.factory-logo ._logo-text {
  width: 140px;
  height: 28px;
}

.factory-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.factory-nav a {
  text-decoration: none;
}

.factory-page .factory-header-action {
  min-width: 210px;
  min-height: 92px;
  display: inline-flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 18px;
  color: var(--factory-white);
  background: #111;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
}

.factory-page .factory-header-action span {
  position: relative;
  z-index: 1;
}

.factory-page .factory-header-action::after {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: auto;
  border-radius: 50%;
  background: var(--factory-blue);
  box-shadow: inset 0 0 0 5px #111;
}

.factory-hero {
  position: relative;
  overflow: hidden;
  min-height: var(--factory-hero-height);
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(0, 0.5fr);
  background: var(--factory-white);
}

.factory-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: var(--factory-hero-height);
  padding: 34px 56px 56px max(32px, calc((100vw - 1920px) / 2 + 32px));
  color: var(--factory-white);
  background: linear-gradient(135deg, #075fd0 0%, #0455bf 100%);
}

.factory-hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background: url("/assets/templates/public/assets/images/pattern-3.svg") left center / auto 100% no-repeat;
  pointer-events: none;
}

.factory-breadcrumbs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.factory-breadcrumbs a {
  text-decoration: none;
}

.factory-breadcrumbs span:not(:last-child)::after,
.factory-breadcrumbs a:not(:last-child)::after {
  content: "/";
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.36);
}

.factory-hero__main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 70px 0 42px;
}

.factory-hero h1 {
  margin: 0;
  font-size: clamp(48px, 5vw, 86px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: 0;
}

.factory-hero__lead {
  max-width: 560px;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  line-height: 1.5;
}

.factory-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.factory-button,
.factory-link-button {
  min-height: 68px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 18px 28px;
  border-radius: 6px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.factory-button {
  min-width: 230px;
  color: var(--factory-white);
  background: #111;
  border: 1px solid #111;
}

.factory-link-button {
  color: var(--factory-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.factory-button:hover,
.factory-link-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 19, 48, 0.18);
}

.factory-button:hover {
  background: #0455bf;
  border-color: #0455bf;
}

.factory-link-button:hover {
  color: #0455bf;
  background: var(--factory-white);
  border-color: var(--factory-white);
}

.factory-hero__stats {
  display: none;
}

.factory-stat {
  min-height: 126px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.factory-stat strong {
  display: block;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 300;
  line-height: 0.95;
}

.factory-stat span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.35;
}

.factory-hero__media {
  position: relative;
  min-height: var(--factory-hero-height);
  overflow: hidden;
}

.factory-hero__media img {
  width: 100%;
  height: 100%;
  min-height: var(--factory-hero-height);
  object-fit: cover;
  display: block;
}

.factory-hero__media::after { display: none; }

.factory-route-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 24px;
  color: var(--factory-white);
  background: rgba(10, 15, 23, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(18px);
}

.factory-route-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 500;
}

.factory-route-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.45;
}

.factory-route-card__pulse {
  width: 72px;
  height: 72px;
  align-self: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 7px, transparent 8px),
    radial-gradient(circle, rgba(4, 85, 191, 0.5), transparent 62%);
  animation: factoryPulse 2.2s ease-in-out infinite;
}

.factory-page .anchor-block.factory-anchor {
  position: sticky;
  top: var(--factory-anchor-top, var(--factory-header-height, 111px)) !important;
  z-index: 40;
  transition: none;
}

.factory-page.is-header-hidden .anchor-block.factory-anchor {
  top: var(--factory-anchor-top, 0px) !important;
}

.factory-anchor__links {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 58px;
  overflow-x: auto;
  scrollbar-width: none;
}

.factory-anchor__links::-webkit-scrollbar {
  display: none;
}

.factory-anchor__links a {
  flex: 0 0 auto;
  color: #101114;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
}

.factory-section {
  padding: clamp(76px, 7vw, 112px) 0;
  background: var(--factory-soft);
}

.factory-section._white {
  background: var(--factory-soft);
}

.factory-section._blue {
  color: var(--factory-white);
  background: var(--factory-blue);
}

.factory-section__header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.56fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 40px;
}

.factory-section__label {
  margin: 0 0 18px;
  color: var(--factory-blue);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.factory-section._blue .factory-section__label {
  color: rgba(255, 255, 255, 0.68);
}

.factory-section h2 {
  margin: 0;
  font-size: clamp(38px, 3.6vw, 64px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0;
}

.factory-section__text {
  margin: 0;
  color: var(--factory-muted);
  font-size: 18px;
  line-height: 1.55;
}

.factory-section._blue .factory-section__text {
  color: rgba(255, 255, 255, 0.78);
}

.factory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.factory-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  background: var(--factory-white);
  border: 1px solid var(--factory-line);
  border-radius: 8px;
}

.factory-card._dark {
  color: var(--factory-ink);
  background: var(--factory-white);
  border-color: var(--factory-line);
}

.factory-card__num {
  color: var(--factory-blue);
  font-size: 15px;
  font-weight: 800;
}

.factory-card._dark .factory-card__num {
  color: var(--factory-blue);
}

.factory-card h3 {
  margin: 34px 0 14px;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1.08;
}

.factory-card p,
.factory-card li {
  color: var(--factory-muted);
  font-size: 16px;
  line-height: 1.5;
}

.factory-card._dark p,
.factory-card._dark li {
  color: var(--factory-muted);
}

.factory-section--cps-intro .factory-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.factory-section--cps-intro .factory-card {
  min-height: 230px;
  padding: 24px;
}

.factory-section--cps-intro .factory-card h3 {
  margin-top: 30px;
  font-size: clamp(24px, 1.8vw, 32px);
}

.factory-counters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.factory-counter {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--factory-line);
  border-radius: 8px;
}

.factory-section--cps-intro .factory-counter {
  min-height: 172px;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 16px;
  row-gap: 14px;
  align-items: center;
  padding: 24px;
}

.factory-counter__icon {
  position: relative;
  width: 46px;
  height: 46px;
  display: block;
  border: 2px solid var(--factory-blue);
  border-radius: 50%;
  background: #edf4ff;
  transform: translateY(-10px);
}

.factory-counter__icon::before,
.factory-counter__icon::after {
  content: "";
  position: absolute;
  background: var(--factory-blue);
}

.factory-counter--object .factory-counter__icon::before {
  inset: 13px;
  border: 2px solid var(--factory-blue);
  border-radius: 4px;
  background: transparent;
}

.factory-counter--object .factory-counter__icon::after {
  width: 8px;
  height: 8px;
  right: 8px;
  top: 8px;
  border-radius: 50%;
}

.factory-counter--data .factory-counter__icon::before {
  width: 24px;
  height: 2px;
  left: 11px;
  top: 16px;
  box-shadow: 0 8px 0 var(--factory-blue), 0 16px 0 var(--factory-blue);
}

.factory-counter--data .factory-counter__icon::after {
  width: 6px;
  height: 6px;
  left: 11px;
  top: 14px;
  border-radius: 50%;
  box-shadow: 0 8px 0 var(--factory-blue), 0 16px 0 var(--factory-blue);
}

.factory-counter--control .factory-counter__icon::before {
  width: 24px;
  height: 2px;
  left: 12px;
  top: 23px;
}

.factory-counter--control .factory-counter__icon::after {
  width: 10px;
  height: 10px;
  right: 11px;
  top: 18px;
  border-top: 2px solid var(--factory-blue);
  border-right: 2px solid var(--factory-blue);
  background: transparent;
  transform: rotate(45deg);
}

.factory-counter strong {
  display: block;
  color: var(--factory-blue);
  font-size: clamp(54px, 6vw, 96px);
  font-weight: 300;
  line-height: 0.95;
  overflow-wrap: anywhere;
}

.factory-section--cps-intro .factory-counter strong {
  align-self: center;
  color: var(--factory-ink);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  line-height: 1;
}

.factory-counter span {
  display: block;
  max-width: 320px;
  margin-top: 20px;
  color: var(--factory-muted);
  font-size: 16px;
  line-height: 1.45;
}

.factory-section--cps-intro .factory-counter > span:not(.factory-counter__icon) {
  grid-column: 2;
  align-self: start;
  max-width: none;
  margin-top: 0;
}

.factory-card ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.factory-card li {
  position: relative;
  padding-left: 22px;
}

.factory-card li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--factory-blue);
}

.factory-process {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(340px, 0.62fr);
  gap: 16px;
  align-items: start;
}

.factory-process__visual {
  position: sticky;
  top: var(--factory-process-sticky-top);
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
  background: #11151c;
}

.factory-process__visual img,
.factory-process__video {
  width: 100%;
  height: 560px;
  object-fit: cover;
  display: block;
}

.factory-process__visual img {
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.factory-process__video {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.factory-process__visual.is-video-active img {
  opacity: 0;
  transform: scale(0.985);
}

.factory-process__visual.is-video-active .factory-process__video {
  opacity: 1;
  transform: scale(1);
}

.factory-process__visual._slide img {
  object-fit: contain;
  background: #101114;
}

.factory-process__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(4, 85, 191, 0.18));
  pointer-events: none;
}

.factory-process__marker {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--factory-white);
  box-shadow: 0 0 0 9px rgba(4, 85, 191, 0.44);
  animation: factoryPulse 2s ease-in-out infinite;
}

.factory-process__marker:nth-child(3) { left: 12%; top: 68%; }
.factory-process__marker:nth-child(4) { left: 30%; top: 54%; animation-delay: 0.2s; }
.factory-process__marker:nth-child(5) { left: 48%; top: 46%; animation-delay: 0.4s; }
.factory-process__marker:nth-child(6) { left: 68%; top: 58%; animation-delay: 0.6s; }
.factory-process__marker:nth-child(7) { left: 84%; top: 38%; animation-delay: 0.8s; }

.factory-steps {
  display: grid;
  gap: 10px;
}

.factory-step {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--factory-line);
  border-radius: 8px;
  background: var(--factory-white);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.factory-step:hover,
.factory-step.is-active {
  transform: none;
  border-color: rgba(4, 85, 191, 0.45);
  box-shadow: 0 18px 44px rgba(9, 23, 46, 0.09);
}

.factory-step__index {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--factory-blue);
  border: 1px solid rgba(4, 85, 191, 0.22);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 700;
}

.factory-step h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 500;
}

.factory-step p {
  margin: 0;
  color: var(--factory-muted);
  font-size: 15px;
  line-height: 1.45;
}

.factory-project {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 0;
  align-items: stretch;
  margin-top: 22px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.factory-project:first-of-type {
  margin-top: 0;
}

.factory-project__media {
  min-height: 520px;
  overflow: hidden;
  border-radius: 0;
  background: #11151c;
}

.factory-project__media._drone {
  padding: 8px;
}

.factory-project__media img,
.factory-project__media video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.factory-project__media._slide img {
  object-fit: contain;
  background: #101114;
}

.factory-drone-grid {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
  height: 100%;
  min-height: 504px;
}

.factory-drone-grid img {
  min-height: 0;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.factory-project__media._slide .factory-drone-grid img {
  object-fit: contain;
  background: #101114;
}

.factory-drone-grid img:first-child {
  grid-row: span 2;
}

.factory-drone-grid img:nth-child(2),
.factory-drone-grid img:nth-child(3) {
  grid-column: 2;
}

.factory-project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 0;
  background: var(--factory-white);
}

.factory-project__content h3 {
  margin: 0;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 300;
  line-height: 1.05;
}

.factory-project__content p {
  margin: 22px 0 0;
  color: var(--factory-muted);
  font-size: 17px;
  line-height: 1.55;
}

.factory-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.factory-tag {
  padding: 10px 12px;
  border-radius: 8px;
  color: #101114;
  background: #e1e4e9;
  font-size: 13px;
  font-weight: 700;
}

.factory-project__media video {
  pointer-events: none;
}

.factory-project__media video::-webkit-media-controls,
.factory-project__media video::-webkit-media-controls-panel,
.factory-project__media video::-webkit-media-controls-enclosure {
  display: none !important;
  opacity: 0 !important;
}

.factory-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.factory-gallery figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  background: var(--factory-white);
}

.factory-gallery img {
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.factory-gallery figure._slide img {
  object-fit: contain;
  background: #101114;
}

.factory-gallery figure:hover img {
  transform: scale(1.04);
}

.factory-gallery figcaption {
  min-height: 72px;
  padding: 16px;
  color: var(--factory-muted);
  font-size: 14px;
  line-height: 1.35;
}

.factory-capabilities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.factory-capability {
  min-height: 180px;
  padding: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.factory-capability h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 400;
}

.factory-capability p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.factory-section--light-cards .factory-capability {
  background: #fff;
  border-color: var(--factory-line);
}

.factory-section--light-cards .factory-capability h3 {
  color: var(--factory-ink);
}

.factory-section--light-cards .factory-capability p {
  color: var(--factory-muted);
}

.factory-final {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: clamp(36px, 6vw, 72px);
  color: var(--factory-white);
  background: #11151c;
}

.factory-final::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -160px;
  width: 420px;
  height: 460px;
  background: url("/assets/content/digital-factory/enhanced_08_stacker_cutout.png") center / contain no-repeat;
  opacity: 0.72;
}

.factory-final__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.factory-final h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 76px);
  font-weight: 300;
  line-height: 1.02;
}

.factory-final p {
  max-width: 660px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.55;
}

.factory-reveal {
  opacity: 1;
  transform: translateY(0);
}

.factory-page.has-reveal .factory-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.45s ease;
}

.factory-page.has-reveal .factory-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes factoryPulse {
  0% { transform: scale(0.92); opacity: 0.74; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.92); opacity: 0.74; }
}

@media (max-width: 1180px) {
  .factory-nav {
    display: none;
  }

  .factory-hero,
  .factory-project,
  .factory-process,
  .factory-section__header {
    grid-template-columns: 1fr;
  }

  .factory-hero__content,
  .factory-hero__media,
  .factory-hero__media img {
    min-height: auto;
  }

  .factory-hero__content {
    padding: 34px 32px 48px;
  }

  .factory-hero__media img {
    height: 54vw;
  }

  .factory-process__visual {
    position: relative;
    top: auto;
  }

  .factory-grid {
    grid-template-columns: 1fr;
  }

  .factory-section--cps-intro .factory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .factory-counters {
    grid-template-columns: 1fr;
  }

  .factory-section--cps-intro .factory-counters {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .factory-container {
    width: min(100% - 32px, 1920px);
  }

  .factory-header {
    position: relative;
  }

  .factory-header__top {
    display: none;
  }

  .factory-header__inner {
    min-height: 72px;
  }

  .factory-page .factory-header-action {
    display: none;
  }

  .factory-logo ._logo-text {
    width: 116px;
  }

  .factory-hero__content {
    min-height: auto;
    padding: 28px 16px 36px;
  }

  .factory-hero h1 {
    font-size: 48px;
    line-height: 1;
  }

  .factory-hero__lead {
    font-size: 17px;
  }

  .factory-hero__stats,
  .factory-gallery,
  .factory-capabilities,
  .factory-counters {
    grid-template-columns: 1fr;
  }

  .factory-section--cps-intro .factory-grid,
  .factory-section--cps-intro .factory-counters {
    grid-template-columns: 1fr;
  }

  .factory-anchor {
    position: sticky;
    top: 0;
  }

  .factory-anchor__links {
    min-height: 54px;
    gap: 20px;
  }

  .factory-anchor__links a {
    font-size: 14px;
  }

  .factory-section {
    padding: 64px 0;
  }

  .factory-step {
    grid-template-columns: 46px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .factory-step__index {
    width: 46px;
    height: 46px;
    font-size: 15px;
  }

  .factory-project__media,
  .factory-project__media img,
  .factory-project__media video,
  .factory-project__content {
    min-height: 320px;
  }

  .factory-drone-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    min-height: 0;
  }

  .factory-drone-grid img,
  .factory-drone-grid img:first-child {
    grid-column: auto;
    grid-row: auto;
    height: auto;
    min-height: 0;
  }

  .factory-drone-grid img:nth-child(2),
  .factory-drone-grid img:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .factory-project__content {
    padding: 28px 20px;
  }

  .factory-final::after {
    opacity: 0.24;
    right: -180px;
  }
}

.factory-page--omniverse .factory-anchor {
  z-index: 45;
}

.factory2-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.52fr) minmax(0, 0.48fr);
  min-height: 720px;
  background: var(--factory-white);
}

.factory2-hero__content {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 56px 56px max(32px, calc((100vw - 1920px) / 2 + 32px));
  color: var(--factory-white);
  background: #0455bf;
}

.factory2-hero__content::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 54px 54px;
  transform: perspective(800px) rotateX(62deg) translateY(-140px);
  transform-origin: center bottom;
}

.factory2-hero__main {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.factory2-hero__main h1 {
  margin: 22px 0 0;
  font-size: clamp(50px, 5.3vw, 96px);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: 0;
}

.factory2-hero__main p:not(.factory-section__label) {
  max-width: 680px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.48;
}

.factory2-hero__visual {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: #11151c;
}

.factory2-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  display: block;
}

.factory2-hero__chips {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.factory2-hero__chips span {
  padding: 11px 14px;
  border-radius: 8px;
  color: var(--factory-white);
  background: rgba(17, 21, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
  font-weight: 700;
}

.factory2-split,
.factory2-result {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: stretch;
}

.factory2-split__media,
.factory2-result__media {
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  background: #11151c;
}

.factory2-split__media video,
.factory2-result__media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  display: block;
}

.factory2-split__media video {
  pointer-events: none;
}

.factory2-panel,
.factory2-result__list {
  min-height: 520px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 8px;
  background: var(--factory-white);
}

.factory2-panel h3,
.factory2-result__list h3 {
  margin: 0 0 24px;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 300;
  line-height: 1.05;
}

.factory2-panel p {
  margin: 0 0 28px;
  color: var(--factory-muted);
  font-size: 17px;
  line-height: 1.55;
}

.factory2-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.factory2-list li {
  position: relative;
  padding-left: 28px;
  color: var(--factory-muted);
  font-size: 16px;
  line-height: 1.45;
}

.factory2-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--factory-blue);
}

.factory2-task-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.factory2-task {
  overflow: hidden;
  border-radius: 8px;
  background: var(--factory-white);
}

.factory2-task img {
  width: 100%;
  aspect-ratio: 1.65;
  object-fit: cover;
  display: block;
}

.factory2-task div {
  padding: 28px;
}

.factory2-task h3 {
  margin: 0;
  font-size: clamp(26px, 2vw, 36px);
  font-weight: 400;
  line-height: 1.12;
}

.factory2-task p {
  margin: 16px 0 0;
  color: var(--factory-muted);
  font-size: 16px;
  line-height: 1.5;
}

.factory2-components,
.factory2-omniverse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.factory2-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.factory2-compare__col {
  min-height: 420px;
  padding: clamp(28px, 4vw, 56px);
  border-radius: 8px;
  background: var(--factory-white);
}

.factory2-compare__col._accent {
  color: var(--factory-white);
  background: var(--factory-blue);
}

.factory2-compare__col h3 {
  margin: 0 0 28px;
  font-size: clamp(34px, 3vw, 54px);
  font-weight: 300;
  line-height: 1.05;
}

.factory2-compare__col._accent .factory2-list li {
  color: rgba(255, 255, 255, 0.82);
}

.factory2-compare__col._accent .factory2-list li::before {
  background: var(--factory-white);
}

.factory2-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.factory2-gallery {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.factory-page--omniverse .factory-final {
  background: #0455bf;
}

.factory-page--city .factory-hero__content {
  background: linear-gradient(135deg, #075fd0 0%, #0458c6 54%, #06439f 100%);
}

.factory-page--city .factory-hero__media img {
  object-position: center center;
}

.factory-page--city .factory-gallery figure._slide img {
  background: #fff;
}

.factory-page--city .factory-process__visual._slide img,
.factory-page--city .factory-project__media._slide img,
.factory-page--city .factory-project__media._slide .factory-drone-grid img {
  object-fit: cover;
  background: #11151c;
}

.factory-page--city .factory-process__visual {
  min-height: 0;
  aspect-ratio: 16 / 9;
}

.factory-page--city .factory-process__visual img {
  height: 100%;
  min-height: 0;
}

.factory-page--city .factory-process__visual._slide img {
  object-fit: contain;
  background: #071526;
}

.factory-page--city .factory-project__media._slide > img {
  object-fit: contain;
  object-position: center center;
  background: #eef3f8;
}

.factory-page--city .factory-gallery img,
.factory-page--city .factory-gallery figure._slide img,
.factory-page--city .factory-gallery figure:not(._slide) img {
  aspect-ratio: 16 / 9;
  padding: 0;
  object-fit: cover;
  background: #fff;
}

.factory-page--city .factory-process__visual .js-city-process-image {
  transition: opacity 0.18s ease, transform 0.24s ease;
}

.factory-page--city .factory-process__visual .js-city-process-image.is-changing {
  opacity: 0;
  transform: scale(0.992);
}

.factory-page--city .factory-step:focus-visible {
  outline: 2px solid rgba(4, 85, 191, 0.55);
  outline-offset: 3px;
}

.factory-page--city .factory-process__marker {
  display: none;
}

.factory-page--city .factory-process__marker:nth-child(8) {
  left: 56%;
  top: 30%;
  animation-delay: 1s;
}

.factory-page--city .factory-project__content h3 {
  max-width: 760px;
}

.factory-page--city #projects .factory-project__media {
  min-height: 460px;
  display: grid;
  place-items: center;
  background: #eef3f8;
}

.factory-page--city #projects .factory-project__media._slide > img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: contain;
  object-position: center center;
}

.factory-page--city #projects .factory-project__content {
  min-height: 460px;
  padding: clamp(28px, 3vw, 48px);
}

.factory-page--city .factory-section--city-architecture .factory-card {
  justify-content: flex-start;
  gap: 28px;
}

.factory-page--city .factory-section--city-architecture .factory-card h3 {
  margin-top: 0;
}

.factory-page--city .factory-final {
  background: #0455bf;
}

@media (max-width: 1180px) {
  .factory2-hero,
  .factory2-split,
  .factory2-result,
  .factory2-compare {
    grid-template-columns: 1fr;
  }

  .factory2-components,
  .factory2-omniverse,
  .factory2-task-grid,
  .factory2-timeline,
  .factory2-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .factory2-hero__content {
    padding: 28px 16px 40px;
  }

  .factory2-hero__main h1 {
    font-size: 48px;
  }

  .factory2-hero__visual,
  .factory2-hero__visual img {
    min-height: 420px;
  }

  .factory2-components,
  .factory2-omniverse,
  .factory2-task-grid,
  .factory2-timeline,
  .factory2-gallery {
    grid-template-columns: 1fr;
  }

  .factory2-split__media,
  .factory2-split__media video,
  .factory2-result__media,
  .factory2-result__media img,
  .factory2-panel,
  .factory2-result__list {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .factory-page--city #projects .factory-project__media,
  .factory-page--city #projects .factory-project__media._slide > img {
    min-height: 320px;
  }

  .factory-page--city #projects .factory-project__content {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .factory-reveal,
  .factory-route-card__pulse,
  .factory-process__marker {
    animation: none;
    transition: none;
  }
}
