/* ===== Tokens ===== */
:root {
  --navy: #0a1f44;
  --dark: #050b1a;
  --black: #04060f;
  --blue: #2f6bff;
  --blue-bright: #4d8bff;
  --blue-dark: #1d4ed8;
  --ink: #1a2230;
  --muted: #5b6675;
  --line: #e6e9ef;
  --bg: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(5, 11, 26, 0.16);
  --max: 1180px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; letter-spacing: -0.01em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-bright);
  margin-bottom: 18px;
}

/* Big thin titles (matches Wix light headings) */
.big-title { font-weight: 300; font-size: clamp(2.2rem, 5vw, 3.4rem); color: #fff; letter-spacing: -0.015em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.97rem;
  padding: 14px 30px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn-light { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.24); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 28px rgba(47,107,255,0.4); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.02rem; white-space: nowrap; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(8, 18, 38, 0.85);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.brand-logo { width: 40px; height: 40px; border-radius: 9px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; }
.brand-mark { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: #fff; }
.brand-sub { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 500; font-size: 0.98rem; color: rgba(255,255,255,0.92); transition: color 0.2s; }
.nav a:hover { color: var(--blue-bright); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: 0.25s; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px 0 200px;
  background: url("images/hero-desk.png") center/cover no-repeat;
  background-color: var(--navy);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4,8,20,0.78) 0%, rgba(4,8,20,0.45) 42%, rgba(4,8,20,0.2) 70%, rgba(4,8,20,0.35) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-text { max-width: 720px; }
.hero-kicker { color: rgba(255,255,255,0.92); font-size: 1.05rem; margin-bottom: 18px; }
.hero h1 {
  font-weight: 200; font-size: clamp(3rem, 8vw, 6rem); color: #fff;
  letter-spacing: 0.01em; margin-bottom: 26px;
}
.hero-sub { color: rgba(255,255,255,0.88); font-size: 1.15rem; line-height: 1.5; margin-bottom: 34px; }

.hero-cards {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: 70px;
}
.hero-card {
  background: rgba(10, 20, 40, 0.55);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px 24px;
  backdrop-filter: blur(10px);
  color: #fff;
}
.hc-icon {
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 16px;
  background: rgba(255,255,255,0.10); color: #fff;
}
.hc-icon svg { width: 24px; height: 24px; }
.hero-card h3 { font-weight: 600; font-size: 1.18rem; margin-bottom: 8px; }
.hero-card p { color: rgba(255,255,255,0.78); font-size: 0.95rem; }

/* ===== Services (dark) ===== */
.services {
  padding: 100px 0;
  background:
    radial-gradient(circle at 72% 16%, rgba(77,139,255,0.30), transparent 40%),
    radial-gradient(circle at 88% 30%, rgba(120,60,255,0.18), transparent 38%),
    linear-gradient(180deg, var(--navy) 0%, var(--dark) 100%);
}
.services-head { max-width: 620px; margin-bottom: 56px; }
.services-head h2 { font-weight: 300; font-size: clamp(2rem, 4.5vw, 3rem); color: #fff; margin-bottom: 22px; }
.services-intro { color: rgba(255,255,255,0.74); font-size: 1.05rem; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(77,139,255,0.55); }
.sc-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sc-icon {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 50% 35%, var(--blue-bright), var(--blue) 70%);
  box-shadow: 0 0 0 6px rgba(47,107,255,0.18);
}
.sc-icon svg { width: 22px; height: 22px; }
.sc-head h3 { color: var(--blue-bright); font-weight: 600; font-size: 1.18rem; }
.service-card > p { color: rgba(255,255,255,0.78); margin-bottom: 20px; font-size: 0.96rem; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.service-card li { position: relative; padding-left: 30px; font-size: 0.96rem; color: rgba(255,255,255,0.92); }
.service-card li::before {
  content: ""; position: absolute; left: 2px; top: 5px;
  width: 14px; height: 9px; border-left: 2.5px solid var(--blue-bright); border-bottom: 2.5px solid var(--blue-bright);
  transform: rotate(-45deg);
}

.services-cta {
  margin-top: 28px;
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px 38px;
}
.cta-icon {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 50% 35%, var(--blue-bright), var(--blue) 70%);
  box-shadow: 0 0 0 8px rgba(47,107,255,0.16);
}
.cta-icon svg { width: 28px; height: 28px; }
.cta-text { flex: 1; min-width: 240px; }
.cta-text h3 { color: #fff; font-weight: 600; font-size: 1.5rem; margin-bottom: 6px; }
.cta-text p { color: rgba(255,255,255,0.74); }

/* ===== Onderzoek + Contact (dark) ===== */
.dark-section { background: var(--black); color: #fff; padding: 96px 0; }
.rule { border: none; border-top: 1px solid rgba(255,255,255,0.16); margin: 28px 0 50px; }

.onderzoek-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.onderzoek-photo img { width: 100%; border-radius: var(--radius); display: block; }
.onderzoek-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ozf { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.onderzoek-features .ozf:nth-child(1), .onderzoek-features .ozf:nth-child(2) { padding-top: 0; }
.ozf h3 { font-weight: 500; font-size: 1.2rem; color: #fff; margin-bottom: 8px; }
.ozf p { color: rgba(255,255,255,0.66); font-size: 0.95rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 90px; align-items: start; }
.team { display: flex; flex-direction: column; gap: 28px; }
.person { display: flex; align-items: center; gap: 20px; }
.person-photo { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.person-info { display: flex; flex-direction: column; gap: 6px; }
.contact-link { color: rgba(255,255,255,0.9); font-size: 0.96rem; }
.contact-link:hover { color: var(--blue-bright); }
.li-link { width: 26px; height: 26px; color: rgba(255,255,255,0.8); }
.li-link svg { width: 22px; height: 22px; }
.li-link:hover { color: var(--blue-bright); }
.person-region { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.contact-company { color: rgba(255,255,255,0.85); font-family: var(--font-head); font-weight: 300; font-size: 1.5rem; margin-bottom: 28px; }
.contact-right .big-title { margin-bottom: 30px; }
.contact-form .field { margin-bottom: 28px; }
.contact-form label { display: block; color: rgba(255,255,255,0.85); font-size: 0.95rem; margin-bottom: 10px; }
.contact-form label span { color: var(--blue-bright); }
.contact-form input, .contact-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.35);
  color: #fff; font-family: var(--font-body); font-size: 1rem; padding: 8px 2px; resize: vertical;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--blue-bright); }
.contact-form .btn-light { margin-top: 6px; }
.form-note { margin-top: 16px; font-size: 0.92rem; min-height: 1.2em; }
.form-note.ok { color: var(--blue-bright); }
.form-note.err { color: #ff7b7b; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.72); padding: 56px 0 28px; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer-brand { max-width: 260px; }
.footer-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; margin-bottom: 12px; display: block; }
.footer-brand .brand-mark { color: #fff; font-size: 1.3rem; font-weight: 800; }
.footer-brand p { font-size: 0.88rem; margin-top: 4px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 0.93rem; color: rgba(255,255,255,0.72); transition: color 0.2s; }
.footer-col a:hover { color: var(--blue-bright); }
.footer-social { display: flex; gap: 14px; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.08);
  color: #fff; transition: background 0.2s, transform 0.2s;
}
.footer-social a:hover { background: var(--blue); transform: translateY(-2px); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom p { font-size: 0.85rem; }

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .hero-cards { grid-template-columns: 1fr; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .onderzoek-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .onderzoek-features { grid-template-columns: 1fr; }
  .onderzoek-features .ozf:nth-child(2) { padding-top: 22px; }
  .services-cta { flex-direction: column; align-items: flex-start; }

  .nav {
    position: fixed; inset: 78px 0 auto 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(8, 18, 38, 0.97); backdrop-filter: blur(12px);
    padding: 8px 0; box-shadow: var(--shadow);
    transform: translateY(-150%); transition: transform 0.3s ease; pointer-events: none;
  }
  .nav.open { transform: translateY(0); pointer-events: auto; }
  .nav a { padding: 15px 32px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .hero { min-height: auto; padding: 120px 0 70px; }
  .person { flex-direction: column; align-items: flex-start; }
}

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