:root {
  --ink: #102332;
  --muted: #657485;
  --line: #dbe7f2;
  --paper: #fbfdff;
  --panel: #ffffff;
  --blue: #1648df;
  --cyan: #14bce8;
  --green: #6ccd42;
  --yellow: #ffd642;
  --orange: #ff7a35;
  --deep-blue: #12345d;
  --sky: #e8f6ff;
  --shadow: 0 24px 70px rgba(22, 72, 223, 0.12);
  --flag-gradient: linear-gradient(105deg, var(--blue), var(--cyan), var(--green), var(--yellow), var(--orange));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 252, 248, 0.92);
  border-bottom: 1px solid rgba(219, 231, 242, 0.9);
  backdrop-filter: blur(18px);
}

.site-nav,
.site-footer,
main > section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.contact-actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: 0;
}

.brand-logo {
  width: 220px;
  height: auto;
  display: block;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.nav-links {
  gap: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  min-height: 40px;
  padding: 8px 12px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--blue);
  background: var(--sky);
  outline: none;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding-left: 8px;
  border-left: 1px solid var(--line);
}

.language-option {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  background: var(--sky);
  border-color: rgba(22, 72, 223, 0.22);
  outline: none;
}

.flag {
  width: 22px;
  height: 15px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 50, 0.18);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(16, 35, 50, 0.08);
}

.flag-nl {
  background: linear-gradient(180deg, #ae1c28 0 33.33%, #fff 33.33% 66.66%, #21468b 66.66% 100%);
}

.flag-en {
  background: transparent;
}

.nav-toggle {
  display: none;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--deep-blue);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
}

.hero-section {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(360px, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.1vw, 3.05rem);
  line-height: 1.12;
  letter-spacing: 0;
  max-width: 560px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: 0;
  max-width: 700px;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.lead {
  max-width: 560px;
  color: #425468;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: linear-gradient(105deg, var(--blue), var(--cyan));
  box-shadow: 0 12px 28px rgba(22, 72, 223, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(105deg, #123ec1, #08a7d3);
}

.button-secondary {
  color: var(--deep-blue);
  background: transparent;
  border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 46%, rgba(12, 44, 92, 0.2) 100%);
  z-index: 1;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  display: block;
  object-fit: cover;
}

.hero-visual figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  top: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  color: #15324f;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(57, 142, 213, 0.26);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  font-weight: 700;
}

.status-dot {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
  flex: 0 0 auto;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(255, 209, 51, 0.22);
}

.status-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(108, 205, 66, 0.42);
  border-radius: 50%;
  animation: statusPulse 1.9s ease-out infinite;
}

@keyframes statusPulse {
  0% {
    opacity: 0.78;
    transform: scale(0.58);
  }

  70% {
    opacity: 0;
    transform: scale(1.35);
  }

  100% {
    opacity: 0;
    transform: scale(1.35);
  }
}

.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--flag-gradient);
}

.service-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 34px;
  color: var(--deep-blue);
  background: linear-gradient(145deg, #eff9ff, #fff8d8);
  border-radius: 8px;
  font-weight: 850;
}

.service-card p,
.approach p,
.contact-section p,
.text-page p {
  color: var(--muted);
}

.text-page h2 {
  margin: 34px 0 10px;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.35;
}

.knowledge-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

.knowledge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 920px;
}

.knowledge-list span {
  padding: 8px 12px;
  color: var(--deep-blue);
  background: #f4fbff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 750;
}

.knowledge-list span:nth-child(5n + 1) {
  border-color: rgba(22, 72, 223, 0.28);
  background: rgba(22, 72, 223, 0.07);
}

.knowledge-list span:nth-child(5n + 2) {
  border-color: rgba(20, 188, 232, 0.32);
  background: rgba(20, 188, 232, 0.08);
}

.knowledge-list span:nth-child(5n + 3) {
  border-color: rgba(108, 205, 66, 0.32);
  background: rgba(108, 205, 66, 0.08);
}

.knowledge-list span:nth-child(5n + 4) {
  border-color: rgba(255, 214, 66, 0.42);
  background: rgba(255, 214, 66, 0.14);
}

.knowledge-list span:nth-child(5n) {
  border-color: rgba(255, 122, 53, 0.32);
  background: rgba(255, 122, 53, 0.09);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.approach {
  max-width: 680px;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 13px;
  height: 9px;
  border-left: 3px solid var(--cyan);
  border-bottom: 3px solid var(--cyan);
  transform: rotate(-45deg);
}

.contact-section {
  grid-template-columns: minmax(300px, 0.72fr) minmax(560px, 1.28fr);
  position: relative;
  align-items: center;
  margin-top: 28px;
  padding: 34px 42px;
  color: #fff;
  overflow: hidden;
  background: #12345d;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.contact-section::before,
.contact-section::after {
  content: "";
  position: absolute;
  inset: 0;
}

.contact-section::before {
  z-index: -2;
  background: url("/images/consultancy-hero.png") right center / cover;
  transform: scaleX(-1);
}

.contact-section::after {
  z-index: -1;
  background: linear-gradient(90deg, rgba(18, 52, 93, 0.78) 0%, rgba(22, 72, 223, 0.48) 46%, rgba(255, 255, 255, 0.06) 100%);
}

.contact-section .eyebrow {
  color: #ffe36f;
}

.contact-section p,
.contact-section label {
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.social-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  color: #fff;
  background: rgba(10, 102, 194, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(18, 52, 93, 0.18), 0 0 0 1px rgba(10, 102, 194, 0.18);
  font-weight: 800;
  text-decoration: none;
}

.social-link:hover,
.social-link:focus-visible {
  background: #0a66c2;
  outline: 3px solid rgba(255, 255, 255, 0.28);
  outline-offset: 2px;
}

.social-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  padding: 3px;
  color: #0a66c2;
  background: #fff;
  border-radius: 4px;
  fill: currentColor;
}

.social-link span {
  font-size: 0.98rem;
  line-height: 1;
}

.contact-form {
  display: grid;
  gap: 9px;
  width: min(100%, 780px);
  max-width: none;
  justify-self: end;
  padding: 16px;
  color: var(--deep-blue);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(18, 52, 93, 0.18);
}

.form-field {
  display: grid;
  gap: 5px;
}

.form-field label {
  color: var(--deep-blue);
  font-size: 0.94rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 8px 10px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c6d9ea;
  border-radius: 8px;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(20, 188, 232, 0.16);
  outline: none;
}

.form-field textarea {
  min-height: 84px;
  resize: vertical;
}

.form-field span {
  color: #b9411f;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-field span:empty {
  display: none;
}

.form-message {
  margin: 0;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 750;
}

.form-message-success {
  color: #174218;
  background: rgba(108, 205, 66, 0.16);
  border: 1px solid rgba(108, 205, 66, 0.34);
}

.form-message-error {
  color: #7a230d;
  background: rgba(255, 122, 53, 0.14);
  border: 1px solid rgba(255, 122, 53, 0.34);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-section .button-primary {
  min-height: 42px;
  padding: 9px 16px;
  color: var(--deep-blue);
  background: linear-gradient(105deg, var(--yellow), #fff0a5);
  border-color: rgba(255, 214, 66, 0.7);
  box-shadow: none;
}

.contact-section .button-primary:hover,
.contact-section .button-primary:focus-visible {
  background: linear-gradient(105deg, #ffe05b, #fff7c7);
}

.text-page {
  max-width: 820px;
  min-height: calc(100vh - 177px);
}

.site-footer {
  justify-content: space-between;
  gap: 24px;
  min-height: 100px;
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer span {
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer span:last-child {
  font-size: 0.84rem;
  color: #7b8796;
}

.site-footer a {
  color: var(--blue);
  font-weight: 750;
}

.section,
.service-card,
.hero-visual {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.section.is-visible,
.service-card.is-visible,
.hero-visual.is-visible,
.no-js .section,
.no-js .service-card,
.no-js .hero-visual {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  .site-nav,
  .site-footer,
  main > section {
    width: min(100% - 28px, 1120px);
  }

  .site-nav {
    min-height: 66px;
  }

  .brand-logo {
    width: 170px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 66px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-section,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    gap: 28px;
    padding: 44px 0 48px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 320px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .contact-section {
    padding: 24px 16px;
  }

  .contact-section::before {
    background-position: right center;
  }

  .contact-section::after {
    background: linear-gradient(120deg, rgba(18, 52, 93, 0.82), rgba(22, 72, 223, 0.52));
  }

  .contact-form {
    width: 100%;
    justify-self: stretch;
    padding: 14px;
  }

  .service-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 130px;
  }
}

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

  .section,
  .service-card,
  .hero-visual {
    transition: none;
  }

  .status-dot::after {
    animation: none;
  }
}
