:root {
  --ink: #101819;
  --graphite: #172022;
  --graphite-2: #233033;
  --steel: #5d696b;
  --muted: #63706d;
  --line: #d7dfdc;
  --paper: #f4f7f5;
  --white: #ffffff;
  --green: #2f9b5f;
  --green-dark: #1d6f43;
  --amber: #dca925;
  --blue: #2d6f8f;
  --shadow: 0 18px 45px rgba(16, 24, 25, 0.16);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 82px;
  padding: 14px 5vw;
  color: var(--white);
  background: rgba(16, 24, 25, 0.94);
  border-bottom: 3px solid var(--amber);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
}

.brand span {
  font-size: 23px;
}

#site-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
}

#site-nav a {
  color: #eef4f0;
  text-decoration: none;
}

#site-nav a:hover {
  color: var(--amber);
}

.nav-toggle {
  display: none;
}

.language-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #d6dfdc;
}

.language-picker span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.language-picker select {
  min-height: 38px;
  padding: 0 34px 0 12px;
  color: var(--white);
  background: var(--graphite-2);
  border: 1px solid #405052;
  border-radius: 6px;
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(320px, 720px) minmax(300px, 520px);
  align-items: center;
  gap: 36px;
  padding: 88px 5vw 38px;
  color: var(--white);
  background-image: url("/assets/hero-yard.webp");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 25, 0.9) 0%, rgba(16, 24, 25, 0.7) 42%, rgba(16, 24, 25, 0.25) 100%),
    linear-gradient(0deg, rgba(16, 24, 25, 0.82) 0%, rgba(16, 24, 25, 0) 48%);
}

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

.hero h1 {
  margin: 0 0 22px;
  font-size: 72px;
  line-height: 0.95;
  font-weight: 880;
}

.hero-content p {
  max-width: 700px;
  margin: 0;
  color: #eef4f1;
  font-size: 21px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--green-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dbe5e1;
  font-weight: 750;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-inline-end: 8px;
  background: var(--amber);
}

.hero-control {
  align-self: end;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.control-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  color: var(--white);
  background: var(--graphite);
  border-bottom: 3px solid var(--amber);
}

.control-head span {
  color: #d7dfdc;
  font-size: 13px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

td {
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

td:first-child {
  font-weight: 800;
}

.section {
  padding: 74px 5vw;
}

.section-copy {
  max-width: 720px;
}

.section-copy.wide {
  max-width: 940px;
}

h2 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.08;
  font-weight: 860;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

p {
  color: #42504d;
  font-size: 17px;
  line-height: 1.6;
}

.workflow-section {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(8, minmax(90px, 1fr));
  gap: 0;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  background: var(--white);
}

.workflow li {
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 14px;
  border-inline-end: 1px solid var(--line);
}

.workflow li:last-child {
  border-inline-end: 0;
}

.workflow span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 850;
}

.workflow strong {
  font-size: 15px;
}

.roles-section {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 48px;
}

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

.role-card {
  min-height: 240px;
  padding: 22px;
  background: var(--white);
}

.role-card h3 {
  color: var(--green-dark);
}

.role-card p,
.feature-card p,
.trust-grid p {
  margin: 0;
  font-size: 15px;
}

.split-section,
.plant-section,
.certificate-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.split-section {
  background: var(--white);
}

.plant-section,
.certificate-section,
.trust-section {
  background: var(--paper);
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--graphite);
}

.image-frame.large img,
.image-frame img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature-card {
  min-height: 160px;
  padding: 20px;
  background: var(--white);
}

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

.check-list li {
  color: #33413e;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-end: 10px;
  border: 2px solid var(--green);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.portal-driver {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  gap: 1px;
  padding-top: 0;
  background: var(--line);
}

.portal-driver article {
  padding: 44px;
  background: var(--white);
}

.portal-driver img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 26px;
  border-radius: var(--radius);
}

.esg-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: start;
}

.esg-table {
  border: 1px solid var(--line);
  background: var(--white);
}

.esg-table div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
}

.esg-table div:first-child {
  border-top: 0;
}

.esg-table span {
  color: #40504c;
  font-weight: 700;
}

.esg-table strong {
  color: var(--green-dark);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.trust-grid article {
  min-height: 180px;
  padding: 24px;
  background: var(--white);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 520px);
  gap: 48px;
  color: var(--white);
  background: var(--graphite);
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #e7eeeb;
  font-size: 14px;
  font-weight: 750;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #9aa8a4;
  border-radius: 6px;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-status {
  margin: 0;
  color: #dce8e3;
  font-size: 14px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(260px, 460px) 1fr;
  gap: 40px;
  padding: 42px 5vw;
  color: var(--white);
  background: #0c1213;
}

.site-footer p {
  max-width: 520px;
  color: #b9c5c1;
  font-size: 14px;
}

.footer-languages {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  align-content: start;
}

.footer-languages a {
  color: #dbe4df;
  font-size: 14px;
  text-decoration: none;
}

[dir="rtl"] .site-header,
[dir="rtl"] .roles-section,
[dir="rtl"] .split-section,
[dir="rtl"] .plant-section,
[dir="rtl"] .certificate-section,
[dir="rtl"] .esg-section,
[dir="rtl"] .cta-section,
[dir="rtl"] .site-footer {
  direction: rtl;
}

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

  .nav-toggle {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    padding: 0 12px;
    color: var(--white);
    background: var(--graphite-2);
    border: 1px solid #405052;
    border-radius: 6px;
    font: inherit;
    font-weight: 800;
  }

  #site-nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 18px 5vw;
    justify-content: flex-start;
    flex-wrap: wrap;
    background: var(--graphite);
    border-bottom: 1px solid #354346;
  }

  #site-nav.open {
    display: flex;
  }

  .language-picker {
    justify-self: end;
  }

  .hero,
  .roles-section,
  .split-section,
  .plant-section,
  .certificate-section,
  .esg-section,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .roles-grid,
  .trust-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .workflow {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
  }

  .footer-languages {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header {
    gap: 12px;
    min-height: 72px;
    padding: 10px 18px;
  }

  .brand span {
    font-size: 19px;
  }

  .language-picker select {
    max-width: 130px;
  }

  #site-nav {
    top: 72px;
    padding: 16px 18px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 82px 18px 22px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero-control {
    display: none;
  }

  .section {
    padding: 48px 18px;
  }

  h2 {
    font-size: 31px;
  }

  p {
    font-size: 16px;
  }

  .workflow,
  .roles-grid,
  .feature-grid,
  .trust-grid,
  .portal-driver {
    grid-template-columns: 1fr;
  }

  .workflow li,
  .role-card,
  .feature-card,
  .trust-grid article {
    min-height: auto;
  }

  .portal-driver article {
    padding: 32px 18px;
  }

  .image-frame img,
  .image-frame.large img {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
