:root {
  color-scheme: light;
  --ink: #13232a;
  --muted: #5d6b72;
  --line: #d9e3e1;
  --paper: #ffffff;
  --wash: #eef5f3;
  --wash-2: #f7faf9;
  --teal: #007f7a;
  --teal-dark: #006763;
  --green: #55a846;
  --blue: #256487;
  --charcoal: #14242c;
  --charcoal-2: #0e1b21;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--wash-2);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

body.menu-open {
  overflow: hidden;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 249, 0.94);
  border-bottom: 1px solid rgba(19, 35, 42, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand-logo {
  display: block;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  color: white;
  background: var(--charcoal);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #31464e;
  font-size: 15px;
}

.site-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.header-cta.is-active {
  background: var(--teal-dark);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.header-cta,
.button.primary {
  color: white;
  background: var(--teal);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.09);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  max-height: 860px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(48px, 8vw, 96px) clamp(18px, 7vw, 92px);
  overflow: hidden;
  background: var(--charcoal);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(10, 24, 30, 0.94) 0%, rgba(10, 24, 30, 0.78) 42%, rgba(10, 24, 30, 0.34) 100%),
    linear-gradient(0deg, rgba(10, 24, 30, 0.32), rgba(10, 24, 30, 0.12));
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 780px;
  color: white;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 11px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-card,
.dashboard-panel {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(238, 245, 243, 0.95);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-card {
  align-self: end;
  padding: 24px;
  color: var(--ink);
}

.hero-card-top,
.panel-top,
.gauge-row,
.hero-kpis {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.hero-card-top,
.panel-top {
  margin-bottom: 22px;
}

.hero-card-top span,
.panel-top span {
  color: var(--green);
  font-weight: 900;
}

.hero-kpis > div,
.gauge-row > div {
  flex: 1;
  padding: 16px;
  border-radius: 7px;
  background: white;
}

.hero-kpis small,
.gauge-row small {
  display: block;
  color: var(--muted);
}

.hero-kpis strong,
.gauge-row strong {
  font-size: clamp(24px, 3vw, 34px);
}

.mini-chart,
.line-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 16px;
  border-radius: 7px;
  background: white;
}

.mini-chart {
  height: 150px;
  margin-top: 20px;
}

.line-chart {
  height: 190px;
  margin: 26px 0;
}

.mini-chart span,
.line-chart span {
  flex: 1;
  min-width: 16px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--green), var(--teal));
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.proof-band > div {
  padding: 28px clamp(18px, 4vw, 56px);
  background: white;
}

.proof-band span {
  display: block;
  margin-bottom: 10px;
  color: var(--teal);
  font-weight: 900;
}

.proof-band strong {
  display: block;
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
}

.proof-band p {
  margin: 10px 0 0;
  color: var(--muted);
}

.section,
.split-section,
.process-section,
.machine-section,
.case-section,
.contact-section {
  padding: clamp(72px, 9vw, 124px) clamp(18px, 6vw, 88px);
}

.page-hero {
  padding: clamp(86px, 11vw, 150px) clamp(18px, 7vw, 92px) clamp(70px, 8vw, 110px);
  color: white;
  background:
    linear-gradient(135deg, rgba(14, 27, 33, 0.95), rgba(23, 61, 69, 0.92)),
    url("assets/hero-industrial-automation.png") center / cover;
}

.page-hero h1 {
  max-width: 940px;
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(18px, 2vw, 22px);
}

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

.section-heading.wide {
  max-width: 1040px;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow),
.split-section p,
.machine-copy p,
.contact-copy p {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.intro-section {
  background: #fbfdfc;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  align-items: center;
  gap: clamp(36px, 7vw, 96px);
  color: white;
  background: var(--charcoal);
}

.split-section.light {
  color: var(--ink);
  background: #fbfdfc;
}

.split-section p {
  color: rgba(255, 255, 255, 0.75);
}

.split-section.light p {
  color: var(--muted);
}

.dashboard-panel {
  padding: 28px;
  color: var(--ink);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.9);
}

.check-list.dark li {
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.status-list {
  display: grid;
  gap: 10px;
}

.status-list p {
  display: flex;
  gap: 10px;
  margin: 0;
  color: #33444b;
  font-size: 15px;
}

.status-list span {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--green);
}

.module-grid,
.service-grid,
.approach-grid,
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.module-card,
.service-card,
.approach-grid article,
.case-grid article {
  min-height: 238px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.module-card p,
.service-card p,
.approach-grid p,
.case-grid p,
.machine-list p {
  color: var(--muted);
}

.module-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--teal);
  font-weight: 900;
}

.module-icon,
.index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 36px;
  margin-bottom: 28px;
  padding: 0 12px;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-size: 13px;
  font-weight: 900;
}

.index {
  color: var(--blue);
  background: #e6f0f3;
}

.product-showcase {
  background: #f5f9f8;
}

.screenshot-feature,
.screenshot-grid {
  display: grid;
  gap: 22px;
}

.screenshot-feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
}

.screenshot-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.screenshot-feature figure,
.screenshot-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(19, 35, 42, 0.08);
}

.screenshot-feature img,
.screenshot-grid img {
  display: block;
  width: 100%;
  height: auto;
  background: #eef2f6;
}

.screenshot-feature img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
}

.screenshot-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.screenshot-feature figcaption,
.screenshot-grid figcaption {
  padding: 16px 18px 18px;
  color: #40525b;
  font-size: 15px;
  line-height: 1.45;
}

.machine-gallery-section {
  background: white;
}

.machine-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 22px;
}

.machine-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
  box-shadow: 0 18px 48px rgba(19, 35, 42, 0.08);
}

.machine-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  padding: 18px;
  background: white;
}

.machine-gallery figcaption {
  padding: 16px 18px 18px;
  color: #40525b;
  font-size: 15px;
  line-height: 1.45;
}

.control-tech-section {
  background: #fbfdfc;
}

.control-tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.control-tech-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(19, 35, 42, 0.08);
}

.control-tech-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  background: #eef5f3;
}

.control-tech-card > div {
  padding: 30px;
}

.control-tech-card p {
  color: var(--muted);
}

.architecture-section {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 1.24fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  color: white;
  background: var(--charcoal);
}

.architecture-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.architecture-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #102128;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
}

.architecture-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.application-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.application-strip article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 36px rgba(19, 35, 42, 0.06);
}

.application-strip span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.application-strip p {
  color: var(--muted);
}

.silo-control-section {
  background: #fbfdfc;
}

.silo-control-layout,
.auxiliary-grid {
  display: grid;
  gap: 22px;
}

.silo-control-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.silo-control-layout figure,
.auxiliary-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: 0 18px 48px rgba(19, 35, 42, 0.08);
}

.silo-control-layout img,
.auxiliary-grid img {
  display: block;
  width: 100%;
  background: #eef5f3;
}

.silo-control-layout img {
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.silo-control-layout figcaption,
.auxiliary-grid figcaption {
  padding: 16px 18px 18px;
  color: #40525b;
  font-size: 15px;
  line-height: 1.45;
}

.auxiliary-section {
  background: white;
}

.auxiliary-section.light {
  background: #f5f9f8;
}

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

.auxiliary-grid img {
  aspect-ratio: 16 / 10;
  object-fit: contain;
  padding: 14px;
}

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

.enmair-grid figure:nth-child(4),
.enmair-grid figure:nth-child(5) {
  grid-column: span 2;
}

.enmair-grid img {
  aspect-ratio: 4 / 3;
}

.muted {
  background: var(--wash);
}

.process-section {
  color: white;
  background: linear-gradient(135deg, #102128, #173d45 58%, #1f5c55);
}

.process-section .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.75);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.timeline article {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--charcoal);
  background: white;
  font-weight: 900;
}

.timeline p {
  color: rgba(255, 255, 255, 0.75);
}

.machine-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background: #fbfdfc;
}

.machine-list {
  display: grid;
  gap: 14px;
}

.machine-list > div {
  padding: 24px;
  border-left: 4px solid var(--teal);
  background: white;
  box-shadow: 0 16px 40px rgba(19, 35, 42, 0.06);
}

.approach-grid {
  grid-template-columns: repeat(4, 1fr);
}

.approach-grid article {
  min-height: 190px;
}

.approach-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.case-section {
  background: var(--wash);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
  color: white;
  background: var(--charcoal-2);
}

.contact-section.compact {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.contact-section.contact-page {
  min-height: calc(100vh - 72px);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-direct {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact-direct a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: white;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: #31464e;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 12px 13px;
  color: var(--ink);
  background: #f8fbfa;
}

.contact-form textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 28px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #091319;
}

.site-footer strong {
  color: white;
}

.site-footer p {
  margin: 0;
}

.site-footer div:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .brand {
    min-width: 240px;
  }

  .site-nav {
    gap: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    max-height: none;
  }

  .hero-card {
    max-width: 620px;
  }

  .timeline,
  .approach-grid,
  .screenshot-feature,
  .screenshot-grid,
  .machine-gallery,
  .control-tech-grid,
  .application-strip,
  .silo-control-layout,
  .auxiliary-grid,
  .enmair-grid,
  .architecture-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .enmair-grid figure:nth-child(4),
  .enmair-grid figure:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: white;
    box-shadow: 0 24px 70px rgba(19, 35, 42, 0.18);
  }

  .site-nav.is-open a {
    padding: 14px;
    border-bottom: 0;
    border-radius: 6px;
  }

  .site-nav.is-open a:hover {
    background: var(--wash);
  }

  .proof-band,
  .split-section,
  .module-grid,
  .service-grid,
  .machine-section,
  .case-grid,
  .screenshot-feature,
  .screenshot-grid,
  .machine-gallery,
  .control-tech-grid,
  .application-strip,
  .silo-control-layout,
  .auxiliary-grid,
  .enmair-grid,
  .architecture-section,
  .contact-section,
  .contact-section.compact,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .split-section,
  .machine-section,
  .contact-section {
    gap: 42px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding: 42px 16px 64px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 24, 30, 0.92), rgba(10, 24, 30, 0.58));
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  .hero-card-top,
  .hero-kpis,
  .panel-top,
  .gauge-row,
  .contact-direct {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .dashboard-panel,
  .module-card,
  .service-card,
  .control-tech-card > div,
  .approach-grid article,
  .case-grid article,
  .contact-form {
    padding: 22px;
  }

  .timeline,
  .approach-grid {
    grid-template-columns: 1fr;
  }
}
