:root {
  --ink: #14202b;
  --muted: #5b6875;
  --line: #d8e0e6;
  --paper: #f7f9fb;
  --white: #ffffff;
  --navy: #0f2b46;
  --blue: #197d3a;
  --cyan: #4caf36;
  --green: #5abf3a;
  --shadow: 0 18px 45px rgba(20, 32, 43, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 128px;
  padding: 16px clamp(20px, 5vw, 64px) 56px;
  color: var(--white);
  overflow: hidden;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--white);
  background: rgba(25, 125, 58, 0.20);
  box-shadow: 0 10px 35px rgba(20, 32, 43, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-logo {
  width: clamp(152px, 17vw, 236px);
  height: auto;
  opacity: 1;
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 20, 31, 0.14);
}

.brand-text {
  display: grid;
  gap: 3px;
  min-width: 220px;
}

.brand-text strong,
.brand-text small {
  display: block;
  text-shadow: 0 2px 12px rgba(8, 20, 31, 0.24);
}

.brand-text strong {
  font-size: clamp(18px, 2.1vw, 30px);
  font-weight: 900;
  line-height: 1.02;
}

.brand-text small {
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 800;
  opacity: 0.86;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  opacity: 0.86;
}

.site-nav a:hover {
  opacity: 1;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.language-switch a,
.language-switch span {
  display: inline-grid;
  min-width: 34px;
  min-height: 30px;
  place-items: center;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  opacity: 1;
}

.language-switch span {
  color: var(--ink);
  background: var(--white);
}

.site-header.is-scrolled .language-switch span,
.site-header.is-open .language-switch span {
  color: var(--ink);
  background: var(--white);
}

.nav-toggle {
  position: relative;
  z-index: 3;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

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

.container-runner {
  position: relative;
  height: 54px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.container-runner-bottom {
  background: transparent;
}

.container-runner::before {
  content: none;
}

.moving-container {
  position: absolute;
  z-index: 1;
  top: var(--runner-top, 15px);
  left: 0;
  width: 76px;
  height: 24px;
  border: 2px solid rgba(8, 20, 31, 0.78);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.20), transparent 24%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.24) 0 3px, transparent 3px 12px),
    var(--container-color, var(--green));
  box-shadow: 0 8px 16px rgba(8, 20, 31, 0.16);
  pointer-events: none;
  transform: translateX(-110px) scale(var(--container-scale, 1));
  animation: container-drive var(--container-duration, 18s) linear infinite;
  animation-delay: var(--container-delay, 0s);
}

.moving-container::before,
.moving-container::after {
  content: "";
  position: absolute;
  bottom: -8px;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(8, 20, 31, 0.78);
  border-radius: 50%;
  background: var(--paper);
}

.moving-container::before {
  left: 13px;
}

.moving-container::after {
  right: 13px;
}

.moving-container.is-logo-container {
  width: 96px;
  height: 32px;
  border-color: rgba(76, 175, 54, 0.38);
  background: #ffffff url("assets/els-logo.png") center / 88px auto no-repeat;
}

.moving-container.is-logo-container::before,
.moving-container.is-logo-container::after {
  bottom: -7px;
  width: 9px;
  height: 9px;
}

.moving-container.is-reverse {
  animation-name: container-drive-reverse;
}

.site-header > .moving-container {
  top: calc(100% - 40px + ((var(--runner-top, 12px) - 12px) / 2));
  width: 68px;
  height: 22px;
  opacity: 1;
  box-shadow: 0 8px 16px rgba(8, 20, 31, 0.16);
}

.site-header > .moving-container.is-logo-container {
  width: 88px;
  height: 28px;
  background-size: 80px auto;
}

@keyframes container-drive {
  from {
    transform: translateX(-120px) scale(var(--container-scale, 1));
  }

  to {
    transform: translateX(calc(100vw + 120px)) scale(var(--container-scale, 1));
  }
}

@keyframes container-drive-reverse {
  from {
    transform: translateX(calc(100vw + 120px)) scale(var(--container-scale, 1));
  }

  to {
    transform: translateX(-120px) scale(var(--container-scale, 1));
  }
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero picture,
.hero img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.22) contrast(1.04) saturate(0.84);
}

.hero-shade {
  z-index: 1;
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.36), transparent 30%),
    linear-gradient(90deg, rgba(7, 28, 18, 0.92) 0%, rgba(8, 38, 23, 0.74) 44%, rgba(8, 20, 31, 0.20) 100%),
    linear-gradient(0deg, rgba(8, 20, 31, 0.34), rgba(8, 20, 31, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 86px);
  padding-top: clamp(220px, 24vh, 290px);
}

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

.hero .eyebrow {
  color: #b6f0a6;
}

.hero-slogan {
  max-width: 880px;
  margin: 0 0 16px;
  color: #4fd45b;
  font-size: clamp(28px, 5vw, 58px);
  font-weight: 300;
  line-height: 1.05;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 6.4vw, 78px);
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
}

h3 {
  font-size: 22px;
}

.hero-copy {
  max-width: 630px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-logo-lockup {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 5vw, 74px);
  bottom: clamp(24px, 7vw, 88px);
  width: clamp(170px, 19vw, 310px);
  opacity: 1;
}

.hero-logo-lockup img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  filter: none;
  box-shadow: 0 18px 45px rgba(8, 20, 31, 0.22);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 20px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

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

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

.button.full {
  width: 100%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 118px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--white);
}

.metrics strong {
  display: block;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.section,
.split-section,
.contact-section,
.process-band {
  padding: clamp(70px, 9vw, 120px) clamp(20px, 5vw, 64px);
}

.section-head {
  max-width: 830px;
  margin-bottom: 36px;
}

.section-head p:not(.eyebrow),
.split-section p,
.contact-copy p {
  max-width: 700px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head.compact {
  margin-bottom: 26px;
}

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

.service-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 32, 43, 0.05);
}

.service-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--green);
  font-size: 14px;
  font-weight: 900;
}

.service-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.process-band {
  color: var(--white);
  background:
    radial-gradient(circle at 82% 10%, rgba(76, 175, 54, 0.18), transparent 32%),
    linear-gradient(135deg, #071c12 0%, #0f2b46 52%, #123451 100%);
}

.process-band .eyebrow {
  color: #a8e69b;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.16);
}

.process-list li {
  min-height: 260px;
  padding: 26px;
  background: rgba(20, 58, 88, 0.84);
  backdrop-filter: blur(8px);
}

.process-list span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 48px;
  border-radius: 50%;
  color: var(--navy);
  background: var(--green);
  font-weight: 900;
}

.process-list p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: var(--white);
}

.capability-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.depot-side {
  display: grid;
  gap: 18px;
}

.capability-list div {
  padding: 24px;
  background: var(--paper);
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list span {
  margin-top: 8px;
  color: var(--muted);
}

.map-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(20, 32, 43, 0.06);
}

.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.map-card-head a {
  color: var(--blue);
  font-weight: 900;
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  background: #edf4f6;
}

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

.company-address {
  margin-top: 28px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.7;
}

.contact-lines a {
  border-bottom: 2px solid var(--cyan);
  font-weight: 900;
}

.quote-form {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c6d2db;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfdff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(30, 102, 245, 0.14);
}

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

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  color: rgba(255, 255, 255, 0.72);
  background: #08141f;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    display: none;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav a {
    padding: 12px;
  }

  .brand-text {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand-text small {
    font-size: 12px;
  }

  .language-switch {
    justify-self: start;
    margin: 8px 12px 0;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 28, 18, 0.92) 0%, rgba(8, 38, 23, 0.76) 58%, rgba(8, 20, 31, 0.36) 100%),
      linear-gradient(0deg, rgba(8, 20, 31, 0.26), rgba(8, 20, 31, 0.08));
  }

  .hero-logo-lockup {
    display: none;
  }

  .metrics,
  .service-grid,
  .process-list,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .process-list li,
  .service-card {
    min-height: auto;
  }

  .service-icon,
  .process-list span {
    margin-bottom: 24px;
  }

  .map-card iframe {
    height: 280px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 112px;
    padding: 12px 16px 48px;
  }

  .brand-logo {
    width: 116px;
  }

  .brand {
    gap: 10px;
  }

  .brand-text strong {
    max-width: 180px;
    font-size: 15px;
  }

  .brand-text small {
    max-width: 180px;
    font-size: 11px;
  }

  .hero {
    min-height: 82vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding-top: 210px;
  }

  h1 {
    font-size: 40px;
  }

  .button {
    width: 100%;
  }

  .metrics div,
  .section,
  .split-section,
  .contact-section,
  .process-band {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quote-form {
    padding: 18px;
  }

  .site-footer {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moving-container {
    animation: none;
    transform: translateX(var(--container-static-left, 12vw)) scale(var(--container-scale, 1));
  }
}
