/* Capture M Group — homepage
   Tokens from the brandbook. Desktop-first at 1280–1440, responsive below 1024. */

:root {
  --navy: #14264B;
  --blue: #1E6FE0;
  --ink: #0B1630;
  --navy-card: #1B3160;
  --sky: #7FB0F5;
  --slate: #5A6579;
  --muted: #9AA4B5;
  --line-light: #C9D0DC;
  --mist: #F5F7FB;
  --line: #E6EAF2;
  --white: #FFFFFF;

  --font-head: 'Outfit', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Instrument Sans', 'Segoe UI', Arial, sans-serif;

  --pad-x: 72px;
  --pad-y: 120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -100px;
  background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 4px; z-index: 100;
}
.skip-link:focus { top: 16px; }

/* ---------- Shared building blocks ---------- */

.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  margin-bottom: 24px;
}
.label--top { align-items: flex-start; margin-bottom: 0; }
.label--top .label__line { margin-top: 9px; }
.label__line { flex: 0 0 36px; width: 36px; height: 2px; background: var(--blue); }
.label--blue { color: var(--blue); }
.label--sky { color: var(--sky); }

.label-text {
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
}
.label-text--sky { color: var(--sky); }
.label-text--card { letter-spacing: .18em; }

.text-sky { color: var(--sky); }

.h2 {
  font-family: var(--font-head); font-weight: 500;
  font-size: 48px; line-height: 1.1; letter-spacing: -.02em; margin: 0;
}

.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end;
  margin-bottom: 72px;
}
.section-head__text {
  font-size: 17px; line-height: 1.7; color: var(--slate); margin: 0; max-width: 520px;
}
.section-head--dark .section-head__text { color: rgba(255,255,255,.7); }

.btn {
  display: inline-block; border-radius: 4px; font-weight: 600; font-size: 15px;
  padding: 16px 28px; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: #fff; color: var(--navy); }
.btn--nav { padding: 12px 22px; font-size: 14px; }
.btn--lg { padding: 18px 32px; flex-shrink: 0; }

.link-underline {
  color: #fff; font-weight: 500; font-size: 15px; padding: 16px 8px;
  border-bottom: 1px solid rgba(255,255,255,.4);
  transition: border-color .2s ease;
}
.link-underline:hover, .link-underline:focus-visible { color: #fff; border-color: #fff; }
.link-underline--sm {
  font-size: 14px; font-weight: 600; padding: 0 0 4px;
  border-bottom-color: rgba(255,255,255,.5);
}

/* ---------- Hero ---------- */

.hero {
  position: relative; height: 760px; overflow: hidden; background: var(--navy);
  color: #fff;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 30%;
}
.hero__overlay { position: absolute; inset: 0; pointer-events: none; }
.hero__overlay--h {
  background: linear-gradient(90deg, rgba(11,22,48,.88) 0%, rgba(11,22,48,.72) 45%, rgba(11,22,48,.25) 100%);
}
.hero__overlay--v {
  background: linear-gradient(180deg, rgba(11,22,48,.55) 0%, rgba(11,22,48,0) 30%, rgba(11,22,48,.35) 100%);
}

.header {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px var(--pad-x);
}
.header__logo img { height: 52px; width: auto; }

.nav {
  display: flex; align-items: center; gap: 36px;
  font-size: 14px; font-weight: 500;
}
.nav > a:not(.btn) { color: rgba(255,255,255,.85); transition: color .2s ease; }
.nav > a:not(.btn):hover, .nav > a:not(.btn):focus-visible { color: #fff; }
.nav__lang { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .06em; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer;
  width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero__content {
  position: relative; z-index: 1;
  padding: 120px var(--pad-x) 0; max-width: calc(820px + var(--pad-x));
}
.hero__content .label { margin-bottom: 28px; }
.hero__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: 64px; line-height: 1.06; letter-spacing: -.02em;
  margin: 0 0 28px; color: #fff; text-wrap: balance;
}
.hero__intro {
  font-size: 19px; line-height: 1.6; color: rgba(255,255,255,.8);
  max-width: 560px; margin: 0 0 40px; text-wrap: pretty;
}
.hero__actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- Visie ---------- */

.vision {
  padding: var(--pad-y) var(--pad-x);
  display: grid; grid-template-columns: 280px 1fr; gap: 64px;
  border-bottom: 1px solid var(--line);
}
.vision__body { max-width: 860px; }
.vision__statement {
  font-family: var(--font-head); font-weight: 400;
  font-size: 34px; line-height: 1.35; letter-spacing: -.01em;
  margin: 0 0 32px; color: var(--navy); text-wrap: pretty;
}
.vision__text { font-size: 18px; line-height: 1.7; color: var(--slate); margin: 0; max-width: 720px; }

/* ---------- Diensten ---------- */

.services { background: var(--mist); padding: var(--pad-y) var(--pad-x); }

.tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--line);
}
.tabs__panel {
  position: relative; min-height: 620px; overflow: hidden; background: var(--navy); color: #fff;
}
.tabs__media { position: absolute; inset: 0; }
.tabs__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 250ms ease;
}
.tabs__img.is-active { opacity: 1; }
.tabs__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,22,48,0) 40%, rgba(11,22,48,.9) 100%);
}
.tabs__caption { position: absolute; left: 48px; right: 48px; bottom: 48px; }
.tabs__caption .label-text { margin-bottom: 14px; }
.tabs__title {
  font-family: var(--font-head); font-weight: 500;
  font-size: 32px; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 16px;
}
.tabs__desc { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,.82); margin: 0 0 24px; max-width: 480px; }

.tabs__list { display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.tab {
  display: grid; grid-template-columns: 48px 1fr 24px; align-items: center; gap: 16px;
  padding: 22px 48px; background: transparent; border: 0; border-left: 3px solid transparent;
  text-align: left; cursor: pointer; color: var(--navy); width: 100%;
  transition: background-color .15s ease, border-color .15s ease;
}
.tab:hover, .tab:focus-visible { background: var(--mist); }
.tab:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
.tab__num { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); transition: color .15s ease; }
.tab__body { display: flex; flex-direction: column; gap: 4px; }
.tab__title { font-family: var(--font-head); font-size: 22px; font-weight: 500; color: var(--navy); line-height: 1.2; transition: color .15s ease; }
.tab__short { font-size: 14px; color: var(--slate); line-height: 1.5; }
.tab__arrow { font-size: 18px; color: var(--line-light); transition: color .15s ease; }

.tab.is-active { background: var(--mist); border-left-color: var(--blue); }
.tab.is-active .tab__num,
.tab.is-active .tab__title,
.tab.is-active .tab__arrow { color: var(--blue); }

/* ---------- Cases ---------- */

.cases { background: var(--navy); padding: var(--pad-y) var(--pad-x); color: #fff; }
.cases .section-head { margin-bottom: 64px; }
.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case {
  background: var(--navy-card); border: 1px solid rgba(255,255,255,.08);
  padding: 40px; min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .2s ease;
}
.case:hover, .case:focus-within { border-color: var(--blue); }
.case .label-text { margin-bottom: 20px; }
.case__title { font-family: var(--font-head); font-weight: 500; font-size: 26px; line-height: 1.25; margin: 0 0 16px; }
.case__text { font-size: 15px; line-height: 1.65; color: rgba(255,255,255,.7); margin: 0; }
.case__link { color: #fff; font-size: 14px; font-weight: 600; margin-top: 32px; }
.case__link:hover, .case__link:focus-visible { color: var(--sky); }

/* ---------- Over ons ---------- */

.about { position: relative; height: 720px; overflow: hidden; background: var(--navy); color: #fff; }
.about__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,22,48,.35) 0%, rgba(11,22,48,.85) 100%); }
.about__content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad-x) 80px;
}
.about__head { margin-bottom: 64px; }
.about__text { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,.8); margin: 0 0 24px; max-width: 480px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  border-top: 1px solid rgba(255,255,255,.2); padding-top: 40px; margin: 0;
}
.stat__value { font-family: var(--font-head); font-size: 52px; font-weight: 400; color: var(--sky); line-height: 1; }
.stat__label { font-size: 15px; color: rgba(255,255,255,.75); margin: 8px 0 0; }

/* ---------- CTA + footer ---------- */

.footer {
  background: var(--ink); color: #fff;
  padding: 96px var(--pad-x) 0; position: relative; overflow: hidden;
}
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 48px;
  padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.cta__title { font-family: var(--font-head); font-weight: 500; font-size: 40px; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
.cta__text { font-size: 16px; color: rgba(255,255,255,.65); margin: 0; }

.footer__cols {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px;
  padding: 64px 0; font-size: 14px; line-height: 2; color: rgba(255,255,255,.7);
  position: relative; z-index: 1;
}
.footer__col { display: flex; flex-direction: column; }
.footer__col .label-text { margin-bottom: 12px; line-height: 1.5; }
.footer__col a { color: rgba(255,255,255,.7); transition: color .15s ease; }
.footer__col a:hover, .footer__col a:focus-visible { color: #fff; }

.footer__bottom {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: rgba(255,255,255,.45); padding-bottom: 24px;
  position: relative; z-index: 1;
}

.footer__wordmark {
  font-family: var(--font-head); font-weight: 500;
  font-size: 236px; line-height: .78; letter-spacing: -.04em;
  color: rgba(255,255,255,.06); white-space: nowrap;
  margin: 0 -8px -40px; user-select: none; pointer-events: none;
}
.footer__wordmark span { color: rgba(30,111,224,.35); }

/* ---------- Responsive ---------- */

@media (max-width: 1279px) {
  :root { --pad-x: 48px; }
  .hero__title { font-size: 56px; }
  .tab { padding: 18px 32px; }
  .tabs__caption { left: 32px; right: 32px; bottom: 32px; }
}

@media (max-width: 1023px) {
  :root { --pad-x: 24px; --pad-y: 80px; }

  .hero { height: auto; min-height: 640px; }
  .hero__content { padding: 64px var(--pad-x) 80px; max-width: none; }
  .hero__title { font-size: 40px; }
  .hero__intro { font-size: 17px; }

  .header { padding: 20px var(--pad-x); }
  .header__logo img { height: 40px; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--ink); padding: 16px var(--pad-x) 24px;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 10px 0; font-size: 16px; }
  .nav .btn--nav { margin-top: 12px; }
  .nav__lang { margin-top: 12px; }

  .h2 { font-size: 36px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }

  .vision { grid-template-columns: 1fr; gap: 24px; }
  .vision__statement { font-size: 26px; }
  .vision__text { font-size: 17px; }

  .tabs { grid-template-columns: 1fr; }
  .tabs__panel { order: 2; min-height: 460px; }
  .tabs__list { order: 1; padding: 8px 0; }
  .tab { padding: 16px var(--pad-x); grid-template-columns: 36px 1fr 20px; gap: 12px; }
  .tab__title { font-size: 19px; }
  .tabs__caption { left: var(--pad-x); right: var(--pad-x); bottom: 32px; }
  .tabs__title { font-size: 26px; }

  .cases .section-head { margin-bottom: 40px; }
  .cases__grid { grid-template-columns: 1fr; }
  .case { min-height: 0; padding: 32px; }

  .about { height: auto; }
  .about__content { padding: 96px var(--pad-x) 64px; height: auto; }
  .about__head { margin-bottom: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat__value { font-size: 40px; }

  .footer { padding-top: 64px; }
  .cta { flex-direction: column; align-items: flex-start; gap: 24px; padding-bottom: 48px; }
  .cta__title { font-size: 30px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); padding: 48px 0; }
  .footer__wordmark { font-size: 120px; margin-bottom: -20px; }
}

@media (max-width: 480px) {
  .hero__actions .link-underline { padding-left: 0; padding-right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer__wordmark { font-size: 84px; }
}
