/* ============================================================
   WISENET — Stylesheet  (WiseDesk-inspired)
   ============================================================ */

/* ── Local fonts (geen externe requests) ── */
/* Inter — weight 400 & 700 zijn preloaded in HTML voor zero-FOIT op first paint */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: block; src: url('/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: fallback; src: url('/fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: fallback; src: url('/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: block; src: url('/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: fallback; src: url('/fonts/inter-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 900; font-display: fallback; src: url('/fonts/inter-latin-900-normal.woff2') format('woff2'); }

/* Karla — weight 600 is preloaded (nav-font) */
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 400; font-display: fallback; src: url('/fonts/karla-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 500; font-display: fallback; src: url('/fonts/karla-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 600; font-display: block; src: url('/fonts/karla-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Karla'; font-style: normal; font-weight: 700; font-display: fallback; src: url('/fonts/karla-latin-700-normal.woff2') format('woff2'); }

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

:root {
  /* Brand */
  --navy:     #131d43;
  --navy-mid: #1a3466;
  --navy-lt:  #253f7a;
  --red:      #e5173f;
  --red-dk:   #c21235;

  /* UI */
  --white:    #ffffff;
  --bg:       #f0f4fa;
  --bg-card:  #ffffff;
  --text:     #131d43;
  --muted:    #5a6a8a;
  --border:   #dde4f0;

  /* Misc */
  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 2px 8px rgba(15,32,72,.06);
  --shadow:     0 6px 32px rgba(15,32,72,.10);
  --shadow-lg:  0 16px 56px rgba(15,32,72,.16);
  --max-w:      1280px;
  --transition: .22s ease;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dk); }
img { max-width: 100%; display: block; }

h1,h2,h3,h4 { line-height: 1.2; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4vw, 1.90rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-sm { padding: 60px 0; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  font-weight: 700; font-size: .95rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dk); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(229,23,63,.35); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: #edf2ff; color: var(--navy); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); color: var(--white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg); }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(221,228,240,.7);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.45rem; font-weight: 900;
  color: var(--navy); letter-spacing: -.03em;
}
.logo svg { flex-shrink: 0; }
.logo img { max-width: 140px; width: 140px; display: block; height: auto; }
.logo span { color: var(--red); }
.logo:hover { color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block; padding: 10px 14px;
  font-family: 'Karla', system-ui, sans-serif;
  font-weight: 600; font-size: .92rem; color: rgb(19,29,67);
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav > li > a:hover,
.main-nav > li > a.active { color: rgb(19,29,67); background: var(--bg); }

/* Dropdown */
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-width: 220px; list-style: none; padding: 6px; z-index: 200;
  padding-top: 14px;
}
/* Invisible bridge so hover doesn't break */
.dropdown-menu::before {
  content: '';
  position: absolute; top: -10px; left: 0; right: 0; height: 14px;
}
.has-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
  display: block; padding: 9px 14px;
  font-family: 'Karla', system-ui, sans-serif;
  color: var(--muted); font-size: .88rem; font-weight: 400; border-radius: 8px;
}
.dropdown-menu li a:hover { background: var(--bg); color: var(--navy); }
.nav-arrow { opacity: .5; font-size: .68rem; }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
  margin-left: auto;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--navy);
  min-height: 60vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

/* Background video — full opacity, visible */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}

/* Lichte donkere overlay zodat tekst leesbaar blijft maar video zichtbaar is */
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(19,29,67,.62) 0%,
    rgba(26,52,102,.52) 55%,
    rgba(37,63,122,.48) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Decorative blobs — same technique as WiseDesk */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}
.hero::before {
  width: 680px; height: 680px;
  background: rgba(255,255,255,.055);
  top: -180px; right: -160px;
}
.hero::after {
  width: 480px; height: 480px;
  background: rgba(229,23,63,.15);
  bottom: -180px; left: -100px;
}
.hero-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 320px; height: 320px;
  background: rgba(255,255,255,.04);
  bottom: 60px; right: 220px;
  z-index: 2;
}

.hero .container { position: relative; z-index: 3; text-align: center; }
.hero h1 { color: var(--white); margin-bottom: 10px; }
.hero h1 .sub { display: block; color: rgba(255,255,255,.45); font-weight: 900; }
.hero-desc {
  color: rgba(255,255,255,.7);
  font-size: 1.15rem;
  max-width: 580px; margin: 20px auto 40px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Services strip inside hero */
.hero-services {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 64px;
}
.hero-service-chip {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.85);
  font-size: .85rem; font-weight: 600;
  padding: 9px 18px; border-radius: 50px;
  display: flex; align-items: center; gap: 8px;
  transition: all var(--transition);
  text-decoration: none;
}
.hero-service-chip:hover {
  background: rgba(255,255,255,.18); color: var(--white);
  transform: translateY(-2px);
}

/* ── Section labels ──────────────────────────────────────── */
.label {
  display: inline-block;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.label-navy { color: var(--navy); }

.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--text); margin-bottom: 14px; }
.section-header p {
  color: var(--muted); font-size: 1.05rem;
  max-width: 580px; margin: 0 auto;
}

/* ── Services list (homepage) ────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-item {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 30px;
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition);
}
.service-item:hover {
  background: var(--bg);
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: all var(--transition);
}
.service-item:hover .service-icon {
  background: var(--navy);
  color: var(--white);
}
.service-text { flex: 1; min-width: 0; }
.service-text h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--text); }
.service-text p { font-size: .88rem; color: var(--muted); margin: 0; line-height: 1.5; }
.service-arrow {
  font-size: 1.1rem; color: var(--muted);
  opacity: 0; transform: translateX(-6px);
  transition: all var(--transition);
  flex-shrink: 0;
}
.service-item:hover .service-arrow {
  opacity: 1; transform: translateX(0);
  color: var(--navy);
}

/* ── CTA section ────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px; right: -100px;
  pointer-events: none;
}
.cta-section::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(229,23,63,.12);
  bottom: -100px; left: -60px;
  pointer-events: none;
}

/* ── Feature / service cards ─────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: #c5d0e8;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 22px;
}
.card h3 { color: var(--text); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.card-link {
  font-size: .88rem; font-weight: 700; color: var(--navy);
  display: inline-flex; align-items: center; gap: 5px;
}
.card-link::after { content: '→'; transition: transform var(--transition); }
.card:hover .card-link::after { transform: translateX(4px); }

/* Featured card */
.card-featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
}
.card-featured .card-icon { background: rgba(255,255,255,.12); }
.card-featured h3 { color: var(--white); }
.card-featured p { color: rgba(255,255,255,.65); }
.card-featured .card-link { color: rgba(255,255,255,.9); }
.card-featured:hover { box-shadow: 0 16px 48px rgba(15,32,72,.35); }

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  padding: 72px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px; right: -100px;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.45);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero > .container > p {
  color: rgba(255,255,255,.65);
  font-size: 1.05rem; max-width: 580px;
}

/* ── Content layout (inner pages) ───────────────────────── */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 52px;
  align-items: start;
}
.content-body h2 { margin-bottom: 18px; color: var(--text); }
.content-body h3 { margin: 36px 0 14px; color: var(--text); font-size: 1.15rem; }
.feature-list { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.feature-list li {
  display: flex; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text); font-size: .95rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .ck { color: var(--red); font-weight: 700; flex-shrink: 0; margin-top: 2px; }

/* Sidebar */
.sidebar-box {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.sidebar-box h4 { color: var(--text); margin-bottom: 16px; font-size: .95rem; }
.sidebar-box ul { list-style: none; padding: 0; }
.sidebar-box ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
}
.sidebar-box ul li:last-child { border-bottom: none; }
.sidebar-box ul li a { color: var(--muted); font-weight: 500; }
.sidebar-box ul li a:hover { color: var(--red); }
.sidebar-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 30px; text-align: center;
}
.sidebar-cta h4 { color: var(--white); margin-bottom: 10px; }
.sidebar-cta p  { color: rgba(255,255,255,.65); font-size: .88rem; margin-bottom: 22px; }

/* ── Stats ───────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
}
.stat-card .num {
  font-size: 3rem; font-weight: 900;
  color: var(--navy); line-height: 1;
  margin-bottom: 8px;
}
.stat-card .num span { color: var(--red); }
.stat-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ── Pricing ─────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
}
.pricing-card.featured {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 50px;
  margin-bottom: 14px;
}
.pricing-card h3 { margin-bottom: 6px; }
.pricing-card.featured h3 { color: var(--white); }
.pricing-sub { color: var(--muted); font-size: .88rem; margin-bottom: 20px; }
.pricing-card.featured .pricing-sub { color: rgba(255,255,255,.55); }
.pricing-price { font-size: 1.5rem; font-weight: 800; color: var(--navy); margin-bottom: 24px; }
.pricing-card.featured .pricing-price { color: var(--white); }
.pricing-card ul { list-style: none; padding: 0; margin-bottom: 28px; }
.pricing-card ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: .88rem; display: flex; gap: 8px;
  color: var(--muted);
}
.pricing-card.featured ul li { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.7); }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li .ck { color: var(--red); font-weight: 700; }
.pricing-card.featured ul li .ck { color: #ff8fa3; }

/* ── Nieuws ──────────────────────────────────────────────── */
.news-feed {
  min-width: 0;
}
.news-article {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.news-article:first-child { padding-top: 0; }
.news-article:last-child { border-bottom: none; }
.news-article-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.news-article-meta .news-cat {
  background: rgba(229,23,63,.1);
  color: var(--red);
  font-weight: 700;
  font-size: .75rem;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}
.news-article-meta .news-date {
  font-size: .82rem;
  color: var(--muted);
}
.news-article h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.news-article p {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info p { color: var(--muted); margin-bottom: 36px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-item .icon-box {
  width: 46px; height: 46px;
  background: var(--bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item h4 { margin-bottom: 2px; font-size: .95rem; }
.contact-item p  { color: var(--muted); font-size: .88rem; margin: 0; }

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.contact-form h3 { margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .85rem; color: var(--text); margin-bottom: 7px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: inherit; font-size: .93rem; color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15,32,72,.08);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ── Contact hero (split layout) ─────────────────────────── */
.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 210px;
}
.contact-hero-text {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  padding: 48px 56px 48px max(56px, calc((100vw - var(--max-w)) / 2 + 28px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative; overflow: hidden;
}
.contact-hero-text::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  top: -200px; right: -100px;
  pointer-events: none;
}
.contact-hero-text h1 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.contact-hero-text p {
  color: rgba(255,255,255,.65);
  font-size: .95rem;
  margin-bottom: 6px;
}
.contact-hero-text .btn {
  padding: 11px 24px;
  font-size: .88rem;
}
.contact-hero-img {
  overflow: hidden;
}
.contact-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact details grid */
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 64px;
}
.contact-detail-block h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text);
}
.contact-detail-block p {
  color: var(--muted);
  font-size: .95rem;
  margin-bottom: 4px;
}
.contact-detail-block a {
  color: var(--text);
}
.contact-detail-block a:hover {
  color: var(--red);
}

/* ── Clients bar ─────────────────────────────────────────── */
.clients-bar {
  background: var(--white);
  padding: 56px 0;
}
.clients-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 28px;
}
.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}
.clients-logos img {
  max-height: 40px;
  width: auto;
  opacity: .5;
  filter: grayscale(100%);
  transition: all var(--transition);
}
.clients-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: .88rem; margin-top: 16px; line-height: 1.75; }
.footer-col h4 { color: var(--white); font-size: .9rem; margin-bottom: 18px; letter-spacing: .02em; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.5); font-size: .88rem; }
.footer-col ul li a:hover { color: var(--white); }
.f-contact { display: flex; gap: 10px; margin-bottom: 12px; font-size: .88rem; }
.f-contact .ic { flex-shrink: 0; margin-top: 1px; }
.f-contact a { color: rgba(255,255,255,.6); }
.f-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: .82rem; color: rgba(255,255,255,.35);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .cards-grid    { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card.featured { transform: none; }
  .content-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  /* Layout */
  .container { padding: 0 20px; }
  .section    { padding: 56px 0; }
  .section-sm { padding: 40px 0; }
  .section-header { margin-bottom: 36px; }

  /* Grids */
  .cards-grid    { grid-template-columns: 1fr; }
  .news-grid     { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid   { grid-template-columns: 1fr; gap: 32px; }
  .form-row      { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .services-grid { grid-template-columns: 1fr; }

  /* Hero */
  .hero          { min-height: auto; padding: 56px 0 48px; }
  .hero-services { display: none; }
  .hero-actions  { flex-direction: column; align-items: center; gap: 10px; }
  .hero-actions .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero-desc     { margin: 16px auto 28px; }

  /* Cards */
  .card { padding: 28px 22px; }

  /* Contact */
  .contact-form  { padding: 24px 20px; }
  .contact-hero  { grid-template-columns: 1fr; max-height: none; grid-template-rows: auto auto; }
  .contact-hero-text { padding: 36px 20px; }
  .contact-hero-img  { max-height: 200px; }
  .contact-details-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Clients */
  .clients-logos { gap: 28px; }
  .clients-logos img { max-height: 30px; }
  .clients-bar   { padding: 40px 0; }

  /* Footer */
  .footer-bottom {
    flex-direction: column; gap: 8px; text-align: center;
  }
  .site-footer   { padding: 56px 0 0; }

  /* Page hero (inner pages) */
  .page-hero     { padding: 48px 0 40px; }

  /* Content pages */
  .content-body h3 { margin: 26px 0 10px; }
  .sidebar-box     { padding: 20px; }
  .contact-form h3 { margin-bottom: 20px; }

  /* Nav — mobile overlay */
  .main-nav {
    display: none;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    flex-direction: column;
    padding: 10px;
    gap: 2px;
    box-shadow: var(--shadow);
    /* Smooth open/close */
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .main-nav.open {
    display: flex;
    max-height: 80vh;
    overflow-y: auto;
  }
  .main-nav > li { width: 100%; }
  .main-nav > li > a { width: 100%; padding: 12px 14px; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--bg); padding: 4px 0; }
  .has-dropdown:hover .dropdown-menu { display: none; }
  .has-dropdown.open .dropdown-menu  { display: block; }
  .nav-toggle    { display: flex; }

  /* Header blijft sticky op mobiel */
  .site-header {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 480px) {
  /* Extra kleine schermen */
  .container { padding: 0 16px; }
  .section    { padding: 44px 0; }
  .btn        { padding: 12px 22px; }
  .hero       { padding: 44px 0 40px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-card  { padding: 24px 16px; }
  .card       { padding: 22px 18px; }
  .clients-logos { gap: 20px; }
  .contact-form  { padding: 20px 16px; }
  .pricing-grid  { max-width: 100%; }
  .footer-grid   { gap: 24px; }
  .page-hero     { padding: 36px 0 30px; }
  .section-header { margin-bottom: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT MODAL
   ═══════════════════════════════════════════════════════════ */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10,18,40,.72);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  /* Hidden by default */
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 92vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr;
  position: relative;
  box-shadow: 0 32px 80px rgba(10,18,40,.38);
  transform: translateY(16px) scale(.96);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
}
.modal-backdrop.is-open .modal-box {
  transform: translateY(0) scale(1);
}

/* ── Close button ── */
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition);
}
.modal-close:hover { background: rgba(255,255,255,.28); }

/* ── Left panel ── */
.modal-left {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-lt) 100%);
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 480px;
}
.modal-left::before {
  content: '';
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -100px; right: -100px;
  pointer-events: none;
}
.modal-left::after {
  content: '';
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(229,23,63,.14);
  bottom: -60px; left: -60px;
  pointer-events: none;
}
.modal-left-inner {
  position: relative;
  z-index: 2;
  padding: 36px 28px;
}
.modal-logo {
  max-width: 110px;
  margin-bottom: 40px;
  display: block;
}
.modal-tagline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 32px;
}
.modal-meta {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.modal-meta div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.65);
  font-size: .85rem;
}
.modal-meta svg { flex-shrink: 0; opacity: .75; }

/* ── Right panel ── */
.modal-right {
  padding: 40px 36px;
  overflow-y: auto;
}
.modal-right h2 {
  font-size: 1.45rem;
  color: var(--text);
  margin-bottom: 6px;
}
.modal-intro {
  color: var(--muted);
  font-size: .88rem;
  margin-bottom: 24px;
}

.mf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mf-group {
  margin-bottom: 14px;
}
.mf-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 5px;
}
.mf-req { color: var(--red); }
.mf-group input,
.mf-group select,
.mf-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.mf-group input:focus,
.mf-group select:focus,
.mf-group textarea:focus {
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(19,29,67,.08);
}
.mf-group textarea { resize: vertical; min-height: 100px; }

.mf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.mf-privacy { font-size: .75rem; color: var(--muted); margin: 0; }
.mf-privacy a { color: var(--navy); text-decoration: underline; }

.mf-submit { border: none; gap: 8px; }

/* Success */
.mf-success {
  text-align: center;
  padding: 48px 20px;
}
.mf-success svg { margin: 0 auto 16px; display: block; }
.mf-success h3 { color: var(--text); margin-bottom: 8px; }
.mf-success p { color: var(--muted); font-size: .9rem; }

/* Responsive */
@media (max-width: 700px) {
  .modal-box { grid-template-columns: 1fr; }
  .modal-left { display: none; }
  .modal-close { color: var(--navy); background: var(--bg); }
  .modal-right { padding: 28px 20px; }
  .mf-row { grid-template-columns: 1fr; }
  .mf-footer { flex-direction: column; align-items: flex-start; }
}

/* Footer address blocks */
.f-address { align-items: flex-start; }
.f-address div { color: rgba(255,255,255,.55); font-size: .85rem; line-height: 1.7; }
.f-address strong { color: rgba(255,255,255,.75); font-weight: 600; }

/* reCAPTCHA widget */
#mf-recaptcha { margin-bottom: 6px; }
.g-recaptcha { transform-origin: left top; }
@media (max-width: 400px) {
  .g-recaptcha { transform: scale(.88); }
}


/* Spin animatie voor laad-knop */
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Touch-apparaten: hover-effecten uitschakelen ─────── */
@media (hover: none) {
  .service-item:hover { background: var(--white); }
  .service-arrow      { opacity: 1; transform: none; color: var(--muted); }
  .btn-primary:hover  { transform: none; box-shadow: none; }
  .btn-white:hover    { transform: none; }
  .btn-navy:hover     { transform: none; }
  .card:hover         { transform: none; box-shadow: none; }
  .hero-service-chip:hover { transform: none; }
  .clients-logos img:hover { opacity: .5; filter: grayscale(100%); }
}

/* ── Verbeterde tap-targets op mobiel ─────────────────── */
@media (max-width: 768px) {
  .service-item    { padding: 20px 18px; min-height: 72px; }
  .footer-col ul li a { padding: 4px 0; display: inline-block; }
  .dropdown-menu li a { padding: 11px 14px; }
  .breadcrumb a       { padding: 4px 0; }
}
