/* =========================================================
   iAccess — base styles (shared across all templates)
   ========================================================= */

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

:root {
	--ink: #0d0f14;
	--ink-2: #1c1f28;
	--ink-3: #2a2e3d;
	--ink-light: #6b7080;
	--ink-muted: #9298a8;
	--surface: #111318;
	--surface-2: #181b23;
	--surface-3: #1f2230;
	--edge: rgba(255,255,255,0.07);
	--edge-2: rgba(255,255,255,0.04);

	--blue: #2563eb;
	--blue-d: #1d4ed8;
	--blue-light: #3b82f6;
	--blue-glow: rgba(37,99,235,0.15);
	--blue-glow-soft: rgba(37,99,235,0.08);

	--amber: #d97706;
	--amber-glow: rgba(217,119,6,0.1);
	--green: #059669;
	--green-glow: rgba(5,150,105,0.1);

	/* Legacy aliases used throughout the original HTML */
	--trust: #2563eb;
	--trust-deep: #1d4ed8;
	--trust-glow: rgba(37,99,235,0.12);
	--warmth: #d97706;
	--warmth-glow: rgba(217,119,6,0.08);
	--safe: #059669;
	--safe-glow: rgba(5,150,105,0.08);
	--cloud: #181b23;
	--sky: #111318;
	--border: rgba(255,255,255,0.07);
	--border-light: rgba(255,255,255,0.04);

	--font-display: 'DM Serif Display', Georgia, serif;
	--font-body: 'DM Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
	--max-w: 1100px;
	--radius: 14px;
	--radius-sm: 9px;
	--radius-lg: 20px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
	font-family: var(--font-body);
	background: var(--ink);
	color: rgba(255,255,255,0.82);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
	font-size: 16px;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; border-radius: 4px; }

/* ==================== Page top line ==================== */
.page-top-line {
	position: fixed; top: 0; left: 0; right: 0; height: 1px;
	background: linear-gradient(90deg, transparent 0%, var(--blue) 30%, var(--blue-light) 50%, var(--blue) 70%, transparent 100%);
	background-size: 300% 100%;
	animation: iaccessShimmerLine 4s linear infinite;
	z-index: 1001;
}
@keyframes iaccessShimmerLine {
	0%   { background-position: 100% 0; }
	100% { background-position: -100% 0; }
}

/* ==================== Nav ==================== */
.site-nav {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	background: rgba(13,15,20,0.7);
	backdrop-filter: saturate(180%) blur(24px);
	-webkit-backdrop-filter: saturate(180%) blur(24px);
	border-bottom: 1px solid var(--edge);
	height: 60px;
	transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.site-nav.scrolled {
	background: rgba(13,15,20,0.92);
	box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 8px 32px rgba(0,0,0,0.4);
}
.nav-inner {
	max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
	height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
	display: flex; align-items: center; gap: 10px;
	text-decoration: none; color: #fff;
}
.nav-logo-icon {
	width: 34px; height: 34px;
	background: var(--blue);
	border-radius: 9px; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset;
}
.nav-logo-text {
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
	font-size: 20px; letter-spacing: -0.4px; font-weight: 600; color: #fff;
}
.nav-logo-text b { color: var(--blue-light); font-weight: 600; }
.nav-links {
	display: flex; gap: 6px; list-style: none; align-items: center;
}
.nav-links a {
	font-size: 14px; font-weight: 450; color: rgba(255,255,255,0.5);
	text-decoration: none; padding: 6px 12px; border-radius: 7px;
	transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.06); }
.nav-cta {
	font-size: 13px; font-weight: 600;
	background: var(--blue); color: #fff;
	padding: 8px 18px; border-radius: 8px; text-decoration: none;
	transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.nav-cta:hover {
	background: var(--blue-light);
	box-shadow: 0 4px 16px rgba(37,99,235,0.4);
	transform: translateY(-1px);
}
.mobile-toggle {
	display: none; background: none; border: none; cursor: pointer;
	padding: 8px; color: rgba(255,255,255,0.6);
}
.nav-links.mobile-open {
	display: flex !important; flex-direction: column;
	position: absolute; top: 60px; left: 0; right: 0;
	background: rgba(13,15,20,0.97); backdrop-filter: blur(20px);
	padding: 16px 24px; border-bottom: 1px solid var(--edge); gap: 4px; z-index: 999;
}
.nav-links.mobile-open a { border-radius: 8px; padding: 10px 14px; }

/* ==================== Buttons ==================== */
.btn-primary {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--blue); color: #fff; padding: 14px 28px;
	border-radius: 10px; font-size: 15px; font-weight: 600;
	text-decoration: none; transition: all 0.2s; border: none; cursor: pointer;
	font-family: var(--font-body);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset, 0 8px 24px rgba(37,99,235,0.25);
}
.btn-primary:hover {
	background: var(--blue-light);
	transform: translateY(-1px);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.1) inset, 0 12px 32px rgba(37,99,235,0.4);
}
.btn-outline {
	display: inline-flex; align-items: center; gap: 7px;
	background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.7);
	padding: 14px 26px;
	border-radius: 10px; font-size: 15px; font-weight: 500;
	text-decoration: none; border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s;
}
.btn-outline:hover {
	background: rgba(255,255,255,0.08);
	border-color: rgba(255,255,255,0.18);
	color: #fff;
}

/* ==================== Reveal (scroll-in) ==================== */
.reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1), transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.28s; }
.reveal-d4 { transition-delay: 0.38s; }
.reveal-d5 { transition-delay: 0.48s; }
.reveal-d6 { transition-delay: 0.58s; }

/* ==================== Footer ==================== */
.site-footer {
	background: var(--ink-2);
	border-top: 1px solid var(--edge);
	padding: 56px 24px 0;
}
.footer-inner {
	max-width: var(--max-w); margin: 0 auto;
	display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
	padding-bottom: 48px;
}
.footer-brand p {
	font-size: 14px; color: rgba(255,255,255,0.32);
	line-height: 1.7; margin-top: 12px;
}
.footer-kvk { font-size: 12px; color: rgba(255,255,255,0.22); margin-top: 8px !important; }
.footer-kvk a { color: rgba(255,255,255,0.38); }
.footer-col h4 {
	font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
	text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 16px;
}
.footer-col a {
	display: block; font-size: 14px; color: rgba(255,255,255,0.38);
	margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom {
	max-width: var(--max-w); margin: 0 auto; padding: 20px 0;
	border-top: 1px solid var(--edge);
	display: flex; justify-content: space-between; align-items: center;
	font-size: 12px; color: rgba(255,255,255,0.2);
}
.footer-badges { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.footer-badge {
	display: inline-flex; align-items: center; gap: 5px;
	font-size: 11px; color: rgba(255,255,255,0.3);
	border: 1px solid rgba(255,255,255,0.08);
	border-radius: 6px; padding: 4px 10px;
}

/* ==================== Trust marquee (used by home + aanvraag) ==================== */
.trust-marquee-wrap {
	background: var(--surface);
	border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge);
	overflow: hidden; position: relative; padding: 14px 0;
}
.trust-marquee-wrap::before,
.trust-marquee-wrap::after {
	content: ''; position: absolute; top: 0; bottom: 0; width: 80px;
	z-index: 2; pointer-events: none;
}
.trust-marquee-wrap::before { left: 0; background: linear-gradient(to right, var(--surface), transparent); }
.trust-marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--surface), transparent); }
.trust-marquee-track {
	display: flex; width: max-content;
	animation: iaccessMarqueeScroll 32s linear infinite;
}
.trust-marquee-track:hover { animation-play-state: paused; }
@keyframes iaccessMarqueeScroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}
.trust-marquee-item {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 28px;
	font-size: 12px; font-weight: 600; color: rgba(255,255,255,0.3);
	white-space: nowrap; border-right: 1px solid var(--edge);
}
.trust-marquee-item svg { color: var(--blue-light); flex-shrink: 0; }

/* ==================== Responsive base ==================== */
@media (max-width: 1024px) {
	.footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
	.nav-links { display: none; }
	.mobile-toggle { display: block; }
	.footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ==================== Reduced motion ==================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
	.trust-marquee-track,
	.page-top-line { animation: none !important; }
	.reveal { opacity: 1 !important; transform: none !important; }
}
