/* ============================================================
   Kris Mampaey: site stylesheet
   People → Process → Technology
   ============================================================ */

:root {
  --navy: #14213d;
  --navy-light: #1f3157;
  --ink: #1a1a1a;
  --paper: #ffffff;
  --grey-bg: #e9e9e4;
  --grey-line: #e2e2de;
  --accent: #3f6e52;
  --accent-dark: #2c4f3a;
  --text-muted: #5a5a55;
  --max-width: 1080px;
  --radius: 4px;
  font-size: 16px;
}

/* Titels (H1) in DejaVu Sans, zelf gehost in /fonts */
@font-face {
  font-family: "DejaVu Sans";
  src: url("fonts/DejaVuSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
h1 {
  font-family: "DejaVu Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

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

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--grey-line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: 0.2px;
}
.logo span { color: var(--accent); }

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

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

nav.main-nav a {
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  min-width: 260px;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }

.dropdown a {
  display: block;
  padding: 10px 18px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.dropdown a:hover { background: var(--grey-bg); }

.nav-cta {
  background: var(--navy);
  color: var(--paper) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  nav.main-nav { display: none; }
  nav.main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--grey-line);
    padding: 16px 24px 24px;
    gap: 16px;
  }
  nav.main-nav.open ul { flex-direction: column; gap: 14px; }
  .dropdown { position: static; box-shadow: none; border: none; padding-left: 12px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
section.hero {
  padding: 96px 24px 80px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.8) 65%, var(--paper) 100%),
    url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center;
}
section.hero .wrap { max-width: 760px; }
section.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--navy);
}
section.hero p.subline {
  font-size: 1.2rem;
  color: #3a3a35;
  margin: 0 0 32px;
}
.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}
@media (max-width: 760px) {
  section.hero { padding: 60px 20px 50px; }
  section.hero h1 { font-size: 2.0rem; }
  section.hero p.subline { font-size: 1.05rem; }
}
.footer-mobile-only { display: none; }
@media (max-width: 760px) {
  footer.site-footer .footer-desktop-only { display: none; }
  footer.site-footer .footer-mobile-only { display: inline; }
}

.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary { background: var(--navy); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--paper); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Generic sections ---------- */
section { padding: 72px 24px; }
section.alt { background: var(--grey-bg); }
section.dark {
  background: var(--navy);
  color: var(--paper);
}
section.dark h2, section.dark h3 { color: var(--paper); }
section.dark p { color: #d6dae3; }

h2.section-title {
  font-size: 1.9rem;
  color: var(--navy);
  margin: 0 0 20px;
  text-align: center;
}
p.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.08rem;
}

/* ---------- Symptom / consequence blocks ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.block-card {
  padding: 32px;
  border-radius: var(--radius);
}
.block-card.light { background: var(--paper); border: 1px solid var(--grey-line); }
.block-card.contrast { background: var(--navy); color: var(--paper); }
.block-card.contrast li { color: #e3e6ec; }
.block-card h3 { margin-top: 0; color: inherit; }

.block-card ul { padding-left: 20px; margin: 0; }
.block-card li { margin-bottom: 10px; }

.bridge-line {
  text-align: center;
  max-width: 640px;
  margin: 36px auto 0;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.bridge-close {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ---------- Situation tiles ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
.tile {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-left: 4px solid var(--accent);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--ink);
}

/* ---------- Service tiles ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
a.service-card { color: inherit; text-decoration: none; }
.service-card:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.service-card h3 { color: var(--navy); font-size: 1.1rem; margin: 0 0 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; flex-grow: 1; }
.service-card a { font-weight: 600; font-size: 0.9rem; }
.service-card .read-more { font-weight: 600; font-size: 0.9rem; color: var(--navy); }

/* Homepage: vijf diensten naast elkaar */
#diensten .wrap { max-width: 1240px; }
.service-grid.service-grid-5 { grid-template-columns: repeat(5, 1fr); max-width: 1192px; gap: 16px; }
.service-grid-5 .service-card { padding: 24px 18px; }
.service-grid-5 .service-card h3 { font-size: 1.02rem; }
@media (max-width: 1100px) {
  .service-grid.service-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .service-grid-5 .service-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .service-grid.service-grid-5 { grid-template-columns: 1fr; }
}
.service-card:hover .read-more { color: var(--accent); }

/* ---------- PPT schema ---------- */
.ppt-schema {
  text-align: center;
  max-width: 420px;
  margin: 0 auto;
}
.ppt-step {
  background: var(--paper);
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius);
  margin-bottom: 6px;
}
.ppt-step.results { border-color: var(--accent); color: var(--accent-dark); }
.ppt-arrow { color: var(--text-muted); margin: 4px 0; font-size: 1.2rem; }
.ppt-caption {
  margin-top: 24px;
  font-style: italic;
  color: var(--text-muted);
}

.ppt-schema-h {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  max-width: 760px;
  margin: 0 auto;
}
.ppt-schema-h .ppt-step { margin-bottom: 0; min-width: 130px; }
.ppt-schema-h .ppt-arrow { margin: 0; }

/* ---------- Quote ---------- */
section.quote-block {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
  padding: 80px 24px;
}
section.quote-block blockquote {
  font-size: 1.6rem;
  font-weight: 600;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.4;
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 700px) { .testimonial-grid { grid-template-columns: 1fr; } }

.testimonial {
  background: var(--paper);
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 26px;
}
.testimonial p.quote { font-style: italic; margin: 0 0 12px; }
.testimonial p.source { font-weight: 600; color: var(--text-muted); margin: 0; font-size: 0.9rem; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testimonial-author p.source { margin: 0; }
.testimonial-author p.role { margin: 0; color: var(--text-muted); font-size: 0.85rem; font-weight: 400; }

/* ---------- Proof / numbers ---------- */
.proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}
@media (max-width: 760px) { .proof-layout { grid-template-columns: 1fr; } }

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.stat {
  background: var(--grey-bg);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  font-weight: 600;
  color: var(--navy);
  font-size: 0.92rem;
}

.logo-strip {
  margin-top: 18px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--grey-line);
  padding-top: 16px;
}

/* ---------- Why Kris / bio ---------- */
.bio-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 760px) { .bio-layout { grid-template-columns: 1fr; } }

.bio-layout.reverse-top {
  grid-template-columns: 1fr 280px;
  align-items: start;
}
.bio-layout.reverse-top .photo-frame { order: 2; }
@media (max-width: 760px) { .bio-layout.reverse-top { grid-template-columns: 1fr; } }

.photo-frame {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--grey-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  border: 1px dashed var(--grey-line);
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA dark block ---------- */
section.cta-block {
  background: var(--navy);
  color: var(--paper);
  text-align: center;
}
section.cta-block h2 { color: var(--paper); }
section.cta-block p { color: #d6dae3; margin-bottom: 28px; }
section.cta-block .btn-primary { background: var(--paper); color: var(--navy); }
section.cta-block .btn-primary:hover { background: var(--accent); color: var(--paper); }

/* ---------- Generic list / bullets ---------- */
.styled-list { max-width: 680px; margin: 0 auto; padding-left: 22px; }
.styled-list li { margin-bottom: 12px; }

/* ---------- Two col text ---------- */
.text-col {
  max-width: 700px;
  margin: 0 auto;
}
.text-col p { margin-bottom: 18px; color: var(--ink); }
.text-col h2.section-title { text-align: left; }
.text-col .bridge-close { text-align: left; }

/* ---------- Case cards ---------- */
.case-card {
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.case-card h3 { color: var(--navy); margin-top: 0; }
.case-card .case-sector {
  display: inline-block;
  background: var(--grey-bg);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.case-field { margin-bottom: 14px; }
.case-field h4 {
  margin: 0 0 4px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--accent-dark);
}
.placeholder-text { color: #999; font-style: italic; }

/* ---------- Contact form ---------- */
form.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  display: block;
}
form.contact-form input,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--grey-line);
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-family: inherit;
}
form.contact-form textarea { min-height: 140px; resize: vertical; }
form.contact-form button { align-self: flex-start; }
.hp-field { position: absolute; left: -9999px; }

.form-status {
  display: none;
  max-width: 560px;
  margin: 0 auto 20px;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-weight: 600;
}
.form-status:not(:empty) { display: block; }
.form-status-success { background: #eaf3ec; color: var(--accent-dark); border: 1px solid var(--accent); }
.form-status-error { background: #f7e9e7; color: #8a3226; border: 1px solid #c65b4a; }

.contact-info {
  text-align: center;
  margin-top: 32px;
  color: var(--text-muted);
}
.contact-info a { font-weight: 600; }

.email-highlight {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 8px 0 4px;
}
.email-highlight a { color: var(--navy); }
.email-highlight a:hover { color: var(--accent); }
@media (max-width: 480px) { .email-highlight { font-size: 1.25rem; } }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy);
  color: #cfd4de;
  padding: 48px 24px 28px;
  text-align: center;
  font-size: 0.88rem;
}
footer.site-footer a { color: #cfd4de; }
footer.site-footer a:hover { color: var(--accent); }
footer.site-footer .footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
footer.site-footer .copyright { color: #8d93a3; margin-top: 14px; }
footer.site-footer .footer-linkedin { display: inline-flex; align-items: center; line-height: 0; }

/* ---------- Scan CTA note ---------- */
.scan-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}
