:root {
  --nav-bg: #606e5a;
  --nav-text: #f8f4ec;
  --nav-shadow: 0 10px 26px rgba(24, 30, 24, 0.16);
  --nav-h: 60px;
  --max-width: 1100px;
  --underline-h: 4px;
  --underline-gap: 10px;

  --green: #606e5a;
  --green-soft: #e1e5da;
  --green-line: rgba(96, 110, 90, 0.14);

  --accent: #b79d76;
  --accent-soft: #d2c3a8;

  --text-main: #54564d;
  --text-soft: #72746b;
  --text-heading: #46483f;
  --text-title: #62645b;

  --section-light: #f1f3ed;
  --card-bg: #f7f8f2;
  --footer-bg: #e2e4da;
}

body {
  background: #f7f8f2;
  color: #54564d;
}

.page {
  min-height: 100vh;
  padding-top: calc(var(--nav-h) + 54px);
  display: flex;
  align-items: flex-start;
}

.hero-wrap {
  width: min(1280px, calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 88px;
  display: grid;
  grid-template-columns: minmax(560px, 720px) 320px;
  justify-content: space-between;
  align-items: start;
  column-gap: 40px;
  row-gap: 40px;
}

.side-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding-top: 74px;
}

.left-images {
  display: none;
}

.image-card {
  background: var(--card-bg);
  box-shadow: 0 18px 40px rgba(46, 40, 30, 0.08);
  border: 1px solid rgba(96, 110, 90, 0.09);
}

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

.image-1 {
  width: 220px;
  height: 320px;
}

.image-2 {
  width: 220px;
  height: 220px;
}

.image-3 {
  width: 320px;
  height: 500px;
}

.image-3--verkoop {
  width: 320px;
  height: 500px;
}

.image-3--training {
  width: 480px;
  height: 320px;
}

.center-copy {
  max-width: 640px;
  margin: 0;
  text-align: left;
  padding: 18px 0 0;
  position: relative;
}

.center-copy::before {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-bottom: 22px;
  background: rgba(183, 155, 108, 0.9);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.center-copy h1 {
  margin: 0 0 26px;
  color: var(--text-heading);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  max-width: 12ch;
}

.service-title-single-line {
  max-width: none;
  white-space: nowrap;
}

.center-copy h1.service-title-wide {
  max-width: 24ch;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
}

.service-image--verkoop {
  object-position: center 18%;
}

.service-image--training {
  object-position: center 42%;
}

.hero-wrap--training {
  grid-template-columns: minmax(480px, 600px) 480px;
}

.hero-wrap--ems {
  grid-template-columns: minmax(560px, 700px) 420px;
}

.right-image--training {
  padding-top: 86px;
}

.right-image--ems {
  padding-top: 58px;
}

.hero-wrap--verkoop {
  grid-template-columns: minmax(560px, 720px) 320px;
  column-gap: 40px;
}

.right-image--verkoop {
  padding-top: 74px;
}

@keyframes serviceImageSlideIn {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.right-image .image-card {
  animation: serviceImageSlideIn 0.8s ease 0.08s both;
}

.ems-image-card {
  width: 420px;
  overflow: hidden;
}

.ems-image-card--wide {
  height: 178px;
}

.ems-image-card--portrait {
  height: 420px;
}

.ems-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ems-image-card--wide img {
  object-position: center center;
}

.ems-image-card--portrait img {
  object-position: center center;
}

.copy-block {
  max-width: 620px;
  margin: 0;
  padding-left: 28px;
  border-left: 1px solid rgba(96, 110, 90, 0.14);
}

.copy-block p {
  margin: 0 0 18px;
  color: var(--text-main);
  font-size: 1.02rem;
  line-height: 1.9;
}

.copy-block h2 {
  margin: 34px 0 12px;
  color: var(--text-heading);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.copy-block .italic {
  margin-top: 8px;
  margin-bottom: 28px;
  color: var(--text-soft);
  font-style: italic;
}

.service-note {
  margin: 32px 0 30px;
  padding: 24px 26px;
  background: var(--section-light);
  border: 1px solid var(--green-line);
}

.service-note h2 {
  margin-top: 0;
}

.service-note p {
  margin-bottom: 16px;
}

.service-note-link {
  display: inline-flex;
  align-items: center;
  color: var(--accent);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.service-note-link:hover {
  color: var(--green);
}

.ems-highlight {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--section-light);
  border: 1px solid var(--green-line);
}

.ems-highlight p {
  margin-bottom: 0;
}

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

.ems-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-main);
  line-height: 1.65;
}

.ems-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  background: var(--accent);
  transform: rotate(45deg);
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 52px;
  margin-top: 8px;
  padding: 14px 24px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--accent);
  font-family: "Barlow Semi Condensed", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.hero-button:hover {
  background: var(--nav-bg);
  color: #f8f4ec;
  border-color: var(--nav-bg);
  transform: translateY(-1px);
}

@media (max-width: 1200px) {
  .hero-wrap {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 24px;
  }

  .hero-wrap--verkoop {
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 24px;
  }

  .hero-wrap--training {
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 24px;
  }

  .hero-wrap--ems {
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 24px;
  }

  .image-3 {
    width: 260px;
    height: 410px;
  }

  .image-3--verkoop {
    width: 260px;
    height: 410px;
  }

  .image-3--training {
    width: 340px;
    height: 235px;
  }

  .ems-image-card {
    width: 340px;
  }

  .ems-image-card--wide {
    height: 144px;
  }

  .ems-image-card--portrait {
    height: 340px;
  }
}

@media (max-width: 900px) {
  .page {
    padding-top: calc(var(--nav-h) + 28px);
    align-items: flex-start;
  }

  .hero-wrap {
    width: min(760px, calc(100% - 32px));
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 34px;
    padding: 28px 0 50px;
  }

  .side-stack {
    gap: 22px;
    padding-top: 0;
  }

  .left-images {
    order: 2;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .center-copy {
    order: 1;
    max-width: 100%;
    padding-top: 0;
  }

  .center-copy::before {
    margin-bottom: 18px;
  }

  .right-image {
    order: 2;
  }

  .image-3 {
    width: min(100%, 320px);
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .copy-block {
    max-width: 100%;
    padding-left: 0;
    border-left: 0;
  }

  .hero-wrap--verkoop .image-3--verkoop {
    animation: none;
  }

  .hero-wrap--training .image-3--training {
    width: min(100%, 340px);
    aspect-ratio: 16 / 10;
    animation: none;
  }

  .hero-wrap--ems .ems-image-card {
    width: min(100%, 420px);
    animation: none;
  }

  .hero-wrap--ems .ems-image-card--wide {
    height: auto;
    aspect-ratio: 2.7 / 1;
  }

  .hero-wrap--ems .ems-image-card--portrait {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .right-image .image-card {
    animation: none;
  }

  .side-stack {
    padding-top: 0;
  }

  .right-image--verkoop {
    padding-top: 0;
  }

  .right-image--training {
    padding-top: 0;
  }
}
