/* ============================================
   EM HR — stylesheet
   ============================================ */

:root {
  --navy-dark: #101d3a;
  --navy: #1b2d54;
  --navy-light: #2d4373;
  --silver: #aab1c0;
  --silver-light: #e8eaef;
  --bg: #f6f7f9;
  --white: #ffffff;
  --text: #262b36;
  --text-light: #5b6172;
  --border: #e2e4ea;
  --shadow: 0 10px 30px rgba(16, 29, 58, 0.08);
  --radius: 14px;
  --max-width: 1180px;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", "Segoe UI", Arial, sans-serif;
  --font-script: "Dancing Script", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.2;
  font-weight: 700;
}

p { margin: 0 0 1em; color: var(--text-light); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  font-weight: 600;
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 56px 0; }

.section--alt {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p { margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(27, 45, 84, 0.25);
}

.btn--ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--ghost:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}
.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 72px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-serif);
  color: var(--navy);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.main-nav a.active { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--navy);
  display: block;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(170, 177, 192, 0.25), transparent 55%);
}

.hero .container {
  position: relative;
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--silver);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: block;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.hero .script {
  font-family: var(--font-script);
  color: var(--silver-light);
  font-size: 1.5em;
  display: block;
  font-weight: 400;
}

.hero p.lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  padding-left: 56px;
}

.hero-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--white);
  font-weight: 600;
  font-size: 1.2rem;
}

.hero-card .icon-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-card .icon-dot svg { width: 22px; height: 22px; stroke: var(--white); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto; }
.page-hero .eyebrow { color: var(--silver); }

/* ---------- USP / feature cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16,29,58,0.12);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card .icon svg { width: 26px; height: 26px; stroke: var(--navy); }

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p { margin: 0; font-size: 0.95rem; }

/* Kaarten zonder kader (home) */
.card-grid--plain .card {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.card-grid--plain .card:hover {
  transform: none;
  box-shadow: none;
}

.card-grid--plain { row-gap: 40px; }

/* ---------- Kenmerken (home: "Eén aanspreekpunt") ---------- */
.section--features {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(45, 67, 115, 0.07), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(170, 177, 192, 0.18), transparent 50%),
    var(--bg);
}

.section--features .section-head h2::after,
.section--features-head .section-head h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--navy), var(--silver));
}

.section--features .section-head,
.section--features-head .section-head { margin-bottom: 64px; }

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.feature {
  position: relative;
  padding: 8px 32px 8px 32px;
  border-left: 1px solid var(--border);
}

.feature:first-child { border-left-color: transparent; }

/* Variant met 3 kolommen (Ons aanbod) */
.features--3 {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 56px;
}

.features--3 .feature:nth-child(3n+1) { border-left-color: transparent; }

.feature .icon {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  box-shadow: 0 10px 22px rgba(27, 45, 84, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature .icon svg { width: 24px; height: 24px; stroke: var(--white); }

.feature h3 {
  position: relative;
  font-size: 1.12rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

.feature h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--silver);
  transition: width 0.3s ease, background 0.3s ease;
}

.feature p { margin: 0; font-size: 0.95rem; }

.feature:hover .icon {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(27, 45, 84, 0.32);
}

.feature:hover h3::after {
  width: 56px;
  background: var(--navy);
}

@media (max-width: 980px) {
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .feature:nth-child(3) { border-left-color: transparent; }
  .features--3 .feature { border-left-color: var(--border); }
  .features--3 .feature:nth-child(odd) { border-left-color: transparent; }
}

@media (max-width: 600px) {
  .features { grid-template-columns: 1fr; row-gap: 40px; }
  .feature { border-left: none; padding: 0; }
}

/* ---------- Services (diensten) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 44px 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .icon svg { width: 28px; height: 28px; stroke: var(--white); }

.service-card h3 { margin-bottom: 4px; font-size: 1.15rem; }
.service-card p { margin: 0; font-size: 0.95rem; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
}

.stat span {
  color: var(--text-light);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Timeline (werkwijze) ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
}

.timeline-step {
  position: relative;
}

.timeline-step::before {
  counter-increment: step;
  content: counter(step);
  margin-bottom: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-serif);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step h3 { margin-top: 10px; font-size: 1.05rem; }
.timeline-step p { margin: 0; font-size: 0.92rem; }

/* ---------- Two-column layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img, .split .split-visual {
  border-radius: var(--radius);
}

.split-visual {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.split-visual img {
  max-height: 300px;
  width: auto;
  filter: drop-shadow(0 12px 28px rgba(16, 29, 58, 0.18));
}

.value-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 600;
  color: var(--text);
}

.value-list .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.value-list .check svg { width: 14px; height: 14px; stroke: var(--white); }
.value-list span.desc { display: block; font-weight: 400; color: var(--text-light); font-size: 0.92rem; margin-top: 2px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
  text-align: center;
  padding: 64px 0;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,0.6); color: var(--white); }
.cta-band .btn--ghost:hover { background: var(--white); color: var(--navy); }

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}

.contact-info h3 { color: var(--white); }

.contact-info ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-info .icon-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info .icon-dot svg { width: 18px; height: 18px; stroke: var(--white); }

.contact-info .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--silver);
  margin-bottom: 2px;
}

.contact-info .value {
  font-weight: 600;
}

.contact-info .placeholder {
  color: var(--silver-light);
  font-style: italic;
  font-weight: 400;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 34px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.form-note {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 6px;
}

/* ---------- Map placeholder ---------- */
.map-placeholder {
  margin-top: 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  height: 280px;
  background: var(--silver-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 600;
  text-align: center;
  flex-direction: column;
  gap: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand strong {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.1rem;
}

.site-footer h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.site-footer p { color: rgba(255,255,255,0.65); font-size: 0.92rem; }

.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

.tagline-script {
  font-family: var(--font-script);
  color: var(--silver-light);
  font-size: 1.1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-card { padding-left: 0; }
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav ul { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
