:root {
  --green: #009f4d;
  --ink: #101315;
  --graphite: #4a4f52;
  --muted: #717b80;
  --line: #dfe4e5;
  --soft: #f4f7f6;
  --white: #ffffff;
  --dark: #111719;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

img,
video {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-height: 46px;
  padding: 6px clamp(18px, 4vw, 54px);
  color: var(--ink);
  background: linear-gradient(180deg, rgba(242, 243, 241, 0.96), rgba(216, 218, 216, 0.9));
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.brand img {
  width: 142px;
  height: 28px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.language-select {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--white);
  font-size: 9px;
  font-weight: 780;
}

.language-select select {
  min-width: 72px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  outline: 0;
}

.language-select option {
  color: var(--ink);
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: currentColor;
  transition: color 160ms ease, transform 160ms ease, background 160ms ease;
}

.social-links a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.social-links svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.header-social {
  justify-self: end;
  color: rgba(16, 19, 21, 0.72);
}

.header-social a {
  background: rgba(255, 255, 255, 0.28);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 4px;
  place-items: center;
  gap: 5px;
}

.menu-button span {
  width: 18px;
  height: 2px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 74px 16px auto;
  z-index: 40;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.mobile-nav.open {
  display: grid;
  gap: 12px;
}

.hero-agfa {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76) 0%, rgba(0, 0, 0, 0.42) 42%, rgba(0, 0, 0, 0.04) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.68) 0%, rgba(0, 0, 0, 0.02) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 5vw, 70px) clamp(54px, 9vw, 110px);
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(46px, 8vw, 96px);
  line-height: 0.9;
  letter-spacing: 0;
}

.hero-content p:not(.section-kicker) {
  max-width: 650px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(14px, 1.45vw, 18px);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 820;
  transition: transform 160ms ease, background 160ms ease;
}

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

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.button.secondary.light {
  border-color: rgba(255, 255, 255, 0.72);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.quick-nav {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 52px);
  padding: 0;
  background: transparent;
  border: 0;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.quick-nav a {
  color: var(--ink);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 86px) 20px;
}

.split {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.section h2,
.detail-hero h2 {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.14;
  letter-spacing: 0;
  text-align: center;
}

.section p:not(.section-kicker),
.detail-hero p:not(.section-kicker) {
  color: var(--graphite);
  font-size: 14px;
  line-height: 1.65;
}

.overview .section-kicker,
.overview h2,
.overview p:not(.section-kicker) {
  text-align: left;
}

.machine-plate {
  display: grid;
  place-items: center;
  min-height: 500px;
  background: linear-gradient(180deg, #f8faf9, #edf2f0);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.machine-plate img {
  width: 95%;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 560px;
  margin-top: 30px;
  background: var(--line);
  border: 1px solid var(--line);
}

.metric-row div {
  display: grid;
  gap: 8px;
  align-content: center;
  justify-items: center;
  min-height: 78px;
  padding: 13px 10px;
  background: var(--white);
  text-align: center;
}

.metric-row strong {
  display: block;
  color: var(--green);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.08;
  font-variant-numeric: tabular-nums;
}

.metric-row span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-head.narrow {
  grid-template-columns: 1fr;
  max-width: 760px;
}

.feature-video {
  width: 100%;
  max-height: 720px;
  background: var(--ink);
  border-radius: 5px;
}

.detail-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.detail-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.08));
}

.detail-hero div {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 clamp(20px, 5vw, 70px) clamp(54px, 8vw, 92px);
}

.detail-hero p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
}

.detail-hero .section-kicker,
.detail-hero h2 {
  text-align: left;
}

.feature-matrix {
  max-width: 1280px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
}

.feature-grid article {
  display: grid;
  grid-template-rows: 190px auto auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
}

.feature-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.feature-grid span {
  padding: 22px 22px 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 850;
}

.feature-grid h3 {
  margin: 10px 22px 0;
  font-size: 15px;
  line-height: 1.16;
}

.feature-grid p {
  margin: 14px 22px 24px;
  color: var(--graphite);
  font-size: 13px;
  line-height: 1.55;
}

.dark-band {
  max-width: none;
  padding-left: clamp(20px, 5vw, 70px);
  padding-right: clamp(20px, 5vw, 70px);
  background: var(--dark);
  color: var(--white);
}

.dark-band .section-head,
.workflow-list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.dark-band h2,
.dark-band h3 {
  color: var(--white);
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.workflow-list article {
  padding: 24px;
  background: #172023;
}

.workflow-list h3 {
  margin: 0 0 14px;
  font-size: 17px;
}

.workflow-list p,
.dark-band p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.operation-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--ink);
}

.operation-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  background: var(--ink);
}

.operation-grid span {
  position: absolute;
  top: 10px;
  left: 10px;
  min-width: 32px;
  padding: 5px 8px;
  border-radius: 3px;
  background: rgba(0, 159, 77, 0.92);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
  text-align: center;
}

.spec-table {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  overflow: hidden;
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(240px, 0.32fr) 1fr;
  min-height: 42px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.spec-table span {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-right: 1px solid var(--line);
  background: #f7f8f7;
  color: var(--graphite);
  font-size: 11px;
  font-weight: 780;
}

.spec-table strong {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 760;
}

.inquiry-divider {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px 46px;
}

.inquiry-divider::before {
  content: "";
  display: block;
  border-top: 1px solid var(--line);
}

.contact-widget h2 {
  margin: 0;
  font-size: clamp(15px, 1.5vw, 19px);
  line-height: 1.18;
}

.contact-widget p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.68);
}

.contact-widget .section-kicker,
.contact-widget h2,
.contact-widget p:not(.section-kicker) {
  text-align: left;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 760;
}

.contact-form label:has(textarea) {
  grid-column: 1 / span 3;
}

.contact-form button {
  grid-column: 4;
  align-self: end;
}

.form-status {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  min-height: 36px;
  padding: 9px 10px;
  font: inherit;
  font-size: 12px;
}

.contact-form textarea {
  min-height: 68px;
}

.contact-form select option {
  color: var(--ink);
}

.form-status {
  min-height: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.site-footer {
  display: block;
  padding: 32px clamp(20px, 5vw, 56px);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 12px;
  text-align: center;
}

.footer-brand {
  display: grid;
  gap: 10px;
  justify-items: center;
}

.footer-brand img {
  width: 148px;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand a {
  color: var(--white);
}

.footer-social {
  justify-content: center;
  color: rgba(255, 255, 255, 0.72);
}

.footer-social a {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
}

.contact-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: auto;
  color: var(--white);
}

.contact-widget.open {
  width: min(340px, calc(100vw - 28px));
}

.contact-widget-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 112px;
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  cursor: grab;
}

.contact-widget-toggle strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

.contact-widget-panel {
  display: none;
  overflow: hidden;
  max-height: min(560px, calc(100vh - 36px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

.contact-widget.open .contact-widget-toggle {
  display: none;
}

.contact-widget.open .contact-widget-panel {
  display: block;
  overflow-y: auto;
}

.contact-widget-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 14px 14px 8px;
  cursor: grab;
}

.contact-widget-close {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.contact-widget-copy {
  margin: 0;
  padding: 0 14px 10px;
  font-size: 11px;
  line-height: 1.45;
}

.floating-contact-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0 14px 14px;
}

.floating-contact-form label:has(textarea),
.floating-contact-form button,
.floating-contact-form .form-status {
  grid-column: 1 / -1;
}

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

  .desktop-nav {
    display: none;
  }

  .language-select {
    grid-column: 4;
    justify-self: end;
  }

  .header-social {
    grid-column: 3;
  }

  .menu-button {
    grid-column: 2;
    justify-self: end;
    display: grid;
    position: relative;
    z-index: 2;
  }

  .split,
  .operation-grid,
  .site-footer,
  .section-head {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .operation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .spec-table {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 10px;
    padding: 14px;
  }

  .brand img {
    width: 128px;
  }

  .header-social {
    display: none;
  }

  .language-select span {
    display: none;
  }

  .language-select {
    width: 88px;
    min-width: 0;
    padding: 0 8px;
  }

  .language-select select {
    width: 100%;
    min-width: 0;
    font-size: 12px;
  }

  .hero-content {
    margin: 0 18px 54px;
  }

  .quick-nav {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .metric-row,
  .feature-grid,
  .operation-grid {
    grid-template-columns: 1fr;
  }

  .machine-plate {
    min-height: 320px;
  }

  .feature-grid article {
    grid-template-rows: 220px auto auto 1fr;
  }

  .feature-grid img {
    height: 220px;
  }

  .spec-table div {
    grid-template-columns: 1fr;
  }

  .spec-table span {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 159, 77, 0.18);
  }

  .site-footer {
    padding: 40px 20px;
  }
}
