:root {
  color-scheme: dark;
  --black: #050505;
  --panel: #111315;
  --panel-2: #171b1f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(0, 183, 255, 0.42);
  --text: #f7fbff;
  --muted: #aeb8c5;
  --dim: #6f7a86;
  --accent: #00b7ff;
  --accent-2: #74f2ce;
  --warn: #ffc857;
  --danger: #ff5d73;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(0, 183, 255, 0.08) 0%, transparent 22rem),
    linear-gradient(180deg, #050505 0%, #080a0d 42%, #050505 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

img,
iframe {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

::selection {
  background: rgba(0, 183, 255, 0.4);
  color: #fff;
}

.scanline {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 4px;
  mix-blend-mode: screen;
  opacity: 0.24;
}

.site-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 80;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1260px);
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(118px, auto) minmax(0, 1fr) minmax(132px, auto);
  align-items: center;
  gap: clamp(10px, 1.3vw, 22px);
  margin-top: 14px;
  padding: 0 clamp(12px, 1.35vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  overflow: clip;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
}

.brand img {
  width: clamp(126px, 10vw, 156px);
  height: 54px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.35vw, 6px);
  min-width: 0;
  overflow: hidden;
}

.main-nav a,
.header-contact,
.header-search input,
.filter-row a,
.button,
.text-link {
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav a {
  padding: 10px clamp(8px, 0.72vw, 12px);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: clamp(0.78rem, 0.78vw, 0.88rem);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
  border-color: rgba(0, 183, 255, 0.32);
  background: rgba(0, 183, 255, 0.08);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(0, 183, 255, 0.36);
  border-radius: var(--radius);
  color: var(--accent);
  background: rgba(0, 183, 255, 0.075);
  font-size: clamp(0.76rem, 0.74vw, 0.86rem);
  font-weight: 800;
  white-space: nowrap;
}

.header-contact:hover,
.header-contact:focus-visible {
  color: #001017;
  background: var(--accent);
  border-color: var(--accent);
}

.header-search input,
.search-page-form input {
  width: clamp(116px, 10vw, 168px);
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}

.header-search input:focus,
.search-page-form input:focus,
.form-panel input:focus,
.form-panel textarea:focus,
.form-panel select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.14);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero,
.page-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 160px 24px 54px;
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.48) 48%, rgba(5, 5, 5, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, #050505 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-carousel {
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.48) 48%, rgba(5, 5, 5, 0.78) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.1) 0%, #050505 100%),
    var(--hero-image);
}

.hero-slides,
.hero-slide,
.hero-slide iframe,
.erp-film-bg,
.erp-film-bg iframe {
  position: absolute;
  inset: 0;
}

.hero-slides {
  z-index: -2;
}

.hero-slide {
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.34) 52%, rgba(5, 5, 5, 0.78)),
    var(--slide-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: opacity 1100ms ease, transform 7000ms ease;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-film {
  background: #050505;
}

.hero-slide-film iframe,
.erp-film-bg iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(1.06) contrast(1.08);
  transform: scale(1.08);
}

.hero-slide-film::after,
.erp-film-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.42) 48%, rgba(5, 5, 5, 0.9)),
    radial-gradient(circle at 50% 40%, rgba(0, 183, 255, 0.18), transparent 34%);
}

.page-hero.slim {
  min-height: 58svh;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(0, 183, 255, 0.18), transparent 38%),
    linear-gradient(180deg, #050505 0%, #0a0d10 100%);
}

.service-hero {
  min-height: 76svh;
}

.neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.76;
  pointer-events: none;
  transform: translateZ(0);
  will-change: transform;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  background: linear-gradient(180deg, transparent, #050505);
  z-index: 1;
  pointer-events: none;
}

.hero-content,
.page-hero > div {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  min-width: 0;
  margin: 0 auto;
}

.hero-content {
  padding-bottom: 72px;
}

.hero-copy-slide {
  display: none;
  width: 100%;
  max-width: 760px;
}

.hero-copy-slide.is-active {
  display: block;
}

.hero-carousel-controls {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: -46px auto 22px;
  display: flex;
  gap: 10px;
}

.hero-carousel-controls button {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  cursor: pointer;
}

.hero-carousel-controls button.is-active {
  background: var(--accent);
  box-shadow: 0 0 18px rgba(0, 183, 255, 0.58);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: Orbitron, Inter, sans-serif;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

h1 {
  max-width: 920px;
  font-size: 4.7rem;
}

.hero h1 span,
.erp-hero h1 span,
.hero-copy span,
.erp-hero-copy p:not(.eyebrow) span {
  display: block;
}

h2 {
  font-size: 2.45rem;
}

h3 {
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy,
.page-hero p {
  max-width: 720px;
  font-size: 1.18rem;
}

.cta-row,
.filter-row,
.metrics-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #001017;
  border-color: var(--accent);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.text-link {
  display: inline-flex;
  color: var(--accent-2);
  font-weight: 800;
}

.hero-status {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-status span,
.filter-row a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.filter-row a.active,
.filter-row a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(0, 183, 255, 0.09);
}

.section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 24px;
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}

.section-heading {
  max-width: 840px;
  margin-bottom: 42px;
}

.section-heading.compact {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  max-width: none;
}

.section-heading.compact .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.timeline-item {
  min-height: 260px;
  padding: 24px;
  background: rgba(17, 19, 21, 0.88);
}

.timeline-item span,
.solution-card span,
.case-card span,
.job-row span,
.article-meta {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.story-news-swiper {
  width: min(100%, var(--max));
  margin: 48px auto 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

.swiper-copy {
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.88), rgba(5, 5, 5, 0.62));
}

.swiper-copy h3 {
  font-size: clamp(1.35rem, 2vw, 2.15rem);
  margin-bottom: 14px;
}

.swiper-copy p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.swiper-frame {
  position: relative;
  min-height: clamp(560px, 64vw, 760px);
  overflow: hidden;
  border: 1px solid rgba(0, 183, 255, 0.24);
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 183, 255, 0.12), transparent 48%),
    linear-gradient(180deg, rgba(17, 19, 21, 0.88), #050505);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42);
}

.swiper-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 800ms ease, transform 1100ms ease;
}

.story-news-swiper .swiper-slide {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px;
}

.swiper-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 18px;
}

.story-news-swiper .swiper-slide img {
  min-height: 0;
  padding: 0;
}

.swiper-slide figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(14px);
  color: var(--text);
  font-weight: 700;
}

.story-news-swiper .swiper-slide figcaption {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
}

.solution-grid,
.case-grid,
.process-grid,
.stats-grid,
.feature-grid,
.growth-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.solution-card,
.case-card,
.process-grid article,
.stats-grid article,
.feature-grid article,
.growth-grid article,
.three-column > section,
.three-column > article,
.form-panel,
.contact-aside,
.content-band,
.job-row,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.solution-card,
.case-card,
.process-grid article,
.feature-grid article,
.growth-grid article,
.stats-grid article {
  min-height: 230px;
  padding: 24px;
}

.growth-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.95), rgba(0, 183, 255, 0.07), rgba(5, 5, 5, 0.95)),
    var(--growth-image);
  background-size: cover;
  background-position: center;
}

.growth-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
}

.growth-grid span {
  color: var(--accent-2);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
}

.growth-grid .text-link {
  margin-top: auto;
}

.solution-card:hover,
.case-card:hover,
.job-row:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(180deg, rgba(0, 183, 255, 0.11), rgba(255, 255, 255, 0.025));
}

.media-band {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
  gap: 56px;
  align-items: center;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, transparent, rgba(0, 183, 255, 0.05), transparent);
}

.media-visual,
.chip-visual {
  min-height: 620px;
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), rgba(5, 5, 5, 0.7)),
    var(--media-image);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.media-copy {
  max-width: 620px;
}

.industrial-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: stretch;
}

.chip-visual {
  min-height: 560px;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article,
.list-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.feature-list span,
.process-grid span {
  color: var(--accent-2);
  font-family: Orbitron, Inter, sans-serif;
  font-weight: 800;
}

.tech-separator {
  height: 180px;
  background-image: var(--separator-image);
  background-size: cover;
  background-position: center;
  opacity: 0.82;
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}

.case-card {
  overflow: hidden;
  padding: 0;
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.case-card span,
.case-card h2,
.case-card h3,
.case-card p {
  display: block;
  margin-left: 22px;
  margin-right: 22px;
}

.case-card span {
  margin-top: 20px;
}

.case-card p {
  margin-bottom: 24px;
}

.global-section {
  width: 100%;
  max-width: none;
  min-height: 680px;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
  gap: 48px;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  background-image:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.9)),
    var(--global-image);
  background-size: cover;
  background-position: center;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-grid strong {
  display: block;
  font-family: Orbitron, Inter, sans-serif;
  font-size: 2.2rem;
  color: var(--text);
}

.stats-grid span {
  color: var(--accent);
  font-weight: 800;
}

.partner-swiper {
  width: min(100%, var(--max));
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.partner-card {
  min-height: 150px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.86), rgba(5, 5, 5, 0.74));
  opacity: 0.64;
  transition: opacity 500ms ease, border-color 500ms ease, transform 500ms ease;
}

.partner-card.is-active {
  opacity: 1;
  border-color: rgba(0, 183, 255, 0.48);
  transform: translateY(-4px);
  box-shadow: 0 20px 56px rgba(0, 183, 255, 0.08);
}

.partner-card img {
  width: 100%;
  height: 68px;
  object-fit: contain;
}

.partner-card strong {
  font-family: Orbitron, Inter, sans-serif;
  text-align: center;
}

.partner-card span {
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

.split-panel,
.contact-layout,
.three-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.three-column > section,
.three-column > article,
.contact-aside,
.content-band {
  padding: 26px;
}

.list-link {
  grid-template-columns: 1fr auto;
  color: var(--text);
}

.list-link span {
  max-width: 260px;
  color: var(--muted);
  text-align: right;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 900px;
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
}

.service-body {
  display: grid;
  gap: 32px;
}

.rich-copy {
  max-width: 860px;
}

.rich-copy p,
.article-body p {
  font-size: 1.05rem;
}

.metrics-row article {
  min-width: 180px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.metrics-row strong {
  display: block;
  font-size: 1.8rem;
  font-family: Orbitron, Inter, sans-serif;
}

.job-list {
  display: grid;
  gap: 12px;
}

.job-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px;
}

.form-panel {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.form-panel label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 700;
}

.form-panel input,
.form-panel textarea,
.form-panel select,
.search-page-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 12px;
  outline: none;
}

.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--danger);
}

.contact-aside {
  align-self: start;
  display: grid;
  gap: 18px;
}

.map-shell {
  min-height: 300px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.map-shell iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.article-body {
  max-width: 920px;
}

.search-page-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 42px;
}

.news-popup {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: min(390px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid rgba(0, 183, 255, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(0, 183, 255, 0.16), transparent 42%),
    rgba(8, 10, 12, 0.94);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(18px);
  transform: translateY(22px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
}

.news-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.news-popup h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.news-popup p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.news-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.erp-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  padding: 170px 24px 70px;
  overflow: hidden;
  background: #050505;
}

.erp-film-bg {
  z-index: -2;
  background: #050505;
}

.erp-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.93), rgba(5, 5, 5, 0.46) 52%, rgba(5, 5, 5, 0.9)),
    linear-gradient(180deg, transparent 0%, #050505 100%);
}

.erp-hero-copy {
  width: min(100%, var(--max));
  margin: 0 auto;
  max-width: 820px;
}

.erp-hero-copy p:not(.eyebrow),
.erp-intro p,
.erp-film-copy p,
.erp-ai-section p {
  color: #bed0e5;
  line-height: 1.75;
}

.erp-feature-grid,
.erp-split {
  width: min(100%, var(--max));
  margin: 36px auto 0;
  display: grid;
  gap: 16px;
}

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

.erp-feature-grid article,
.erp-stack article,
.erp-code-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(17, 19, 21, 0.9), rgba(5, 5, 5, 0.7));
}

.erp-feature-grid article {
  min-height: 260px;
  padding: 24px;
}

.erp-feature-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-weight: 800;
}

.erp-feature-grid h3,
.erp-stack strong {
  display: block;
  margin-bottom: 12px;
  font-family: Orbitron, Inter, sans-serif;
}

.erp-feature-grid p,
.erp-stack span {
  color: var(--muted);
  line-height: 1.68;
}

.erp-film-section {
  width: 100%;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
}

.erp-film-shell {
  min-height: 520px;
  border: 1px solid rgba(0, 183, 255, 0.3);
  background: #050505;
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.erp-film-shell iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: 0;
}

.erp-film-copy {
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
}

.erp-split {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
}

.erp-stack {
  display: grid;
  gap: 12px;
}

.erp-stack article {
  padding: 22px;
}

.erp-code-panel {
  margin: 0;
  min-height: 100%;
  padding: 26px;
  overflow: auto;
  color: #9fe9ff;
  font-size: 0.95rem;
  line-height: 1.75;
  box-shadow: inset 0 0 42px rgba(0, 183, 255, 0.05);
}

.system-messages {
  position: fixed;
  top: 102px;
  right: 24px;
  z-index: 100;
  width: min(420px, calc(100vw - 48px));
}

.system-messages p {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(5, 5, 5, 0.88);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 70px 24px 28px;
  background: #050505;
}

.footer-grid,
.footer-bottom {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(4, 1fr);
  gap: 28px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  color: var(--muted);
}

.footer-slogan {
  color: var(--accent);
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--dim);
}

[data-reveal] {
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
}

@keyframes rail {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-420px);
  }
}

@media (max-width: 1240px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    min-height: 70px;
    overflow: visible;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .main-nav,
  .header-search,
  .header-contact {
    display: none;
  }

  .site-header.nav-open {
    height: auto;
    grid-template-columns: 1fr auto;
    padding-top: 10px;
    padding-bottom: 16px;
    background: rgba(5, 5, 5, 0.94);
  }

  .site-header.nav-open .main-nav,
  .site-header.nav-open .header-search,
  .site-header.nav-open .header-contact {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  .site-header.nav-open .main-nav {
    gap: 8px;
    padding-top: 8px;
    overflow: visible;
  }

  .site-header.nav-open .main-nav a {
    width: 100%;
    padding: 13px 12px;
    border-color: rgba(255, 255, 255, 0.09);
    background: rgba(255, 255, 255, 0.035);
    font-size: 0.92rem;
  }

  .site-header.nav-open .header-search input {
    width: 100%;
  }

  .site-header.nav-open .header-contact {
    min-height: 44px;
    align-content: center;
    text-align: center;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2rem;
  }

  .timeline,
  .solution-grid,
  .case-grid,
  .process-grid,
  .stats-grid,
  .feature-grid,
  .growth-grid,
  .partner-swiper,
  .erp-feature-grid,
  .three-column,
  .split-panel,
  .contact-layout,
  .industrial-layout,
  .media-band,
  .story-news-swiper,
  .erp-film-section,
  .erp-split,
  .global-section,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading.compact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    min-height: 64px;
  }

  .brand img {
    width: 122px;
    height: 44px;
  }

  .nav-toggle {
    width: 40px;
    height: 40px;
  }

  .hero,
  .page-hero {
    min-height: 92svh;
    padding: 132px 18px 42px;
  }

  .page-hero.slim {
    min-height: 52svh;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-content,
  .page-hero > div {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-copy-slide,
  .hero-copy,
  .erp-hero-copy {
    width: calc(100vw - 36px);
    max-width: 100%;
    min-width: 0;
  }

  .hero h1,
  .erp-hero h1 {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
    overflow-wrap: anywhere;
  }

  .hero h1 {
    font-size: 2.08rem;
  }

  .erp-hero h1 {
    font-size: 2.2rem;
  }

  .hero .cta-row,
  .erp-hero .cta-row {
    width: 100%;
    align-items: stretch;
  }

  .hero .button,
  .erp-hero .button {
    width: min(100%, 360px);
  }

  .section {
    padding: 76px 18px;
  }

  .timeline,
  .solution-grid,
  .case-grid,
  .process-grid,
  .stats-grid,
  .feature-grid,
  .growth-grid,
  .partner-swiper,
  .erp-feature-grid,
  .three-column,
  .split-panel,
  .contact-layout,
  .industrial-layout,
  .media-band,
  .story-news-swiper,
  .erp-film-section,
  .erp-split,
  .global-section,
  .footer-grid,
  .job-row,
  .search-page-form {
    grid-template-columns: 1fr;
  }

  .hero-carousel-controls {
    margin-top: -30px;
  }

  .story-news-swiper,
  .erp-feature-grid,
  .erp-split {
    width: 100%;
  }

  .swiper-frame {
    min-height: clamp(520px, 136vw, 650px);
  }

  .partner-swiper {
    gap: 10px;
  }

  .partner-card {
    min-height: 126px;
  }

  .erp-hero {
    min-height: 92svh;
    padding: 132px 18px 48px;
  }

  .erp-film-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .erp-film-copy {
    padding-right: 0;
  }

  .erp-film-shell,
  .erp-film-shell iframe {
    min-height: 360px;
    height: 360px;
  }

  .news-popup {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    max-width: none;
    padding: 18px;
  }

  .news-popup h2,
  .news-popup p,
  .news-popup .text-link {
    overflow-wrap: anywhere;
  }

  .news-popup h2 {
    font-size: 1rem;
    line-height: 1.16;
  }

  .media-band,
  .growth-section,
  .global-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .media-visual,
  .chip-visual {
    min-height: 380px;
  }

  .timeline-item,
  .solution-card,
  .process-grid article,
  .feature-grid article,
  .stats-grid article {
    min-height: auto;
  }

  .list-link {
    grid-template-columns: 1fr;
  }

  .list-link span {
    text-align: left;
  }

  .footer-bottom {
    display: grid;
  }
}

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

  [data-reveal] {
    transform: none;
    opacity: 1;
  }
}
