﻿/*
 * Apex Critical Services — Main Stylesheet
 *
 * Design System:
 *   Font:        Plus Jakarta Sans (Google Fonts)
 *   --navy:      #0F172A  Primary / Header background
 *   --navy-mid:  #1E293B  Card dark / Footer
 *   --slate:     #334155  Secondary text
 *   --blue:      #0369A1  CTA / Accent
 *   --blue-h:    #0284C7  Hover on CTA
 *   --bg:        #F8FAFC  Page background
 *   --white:     #FFFFFF  Card / surface
 *   --text:      #0F172A  Body text
 *   --muted:     #64748B  Muted / caption
 *   --border:    #E2E8F0  Borders
 *   --accent-bg: #F0F9FF  Light blue tint sections
 *
 * Signature element: Hero dot-grid overlay on dark navy.
 * Logo: Geometric building mark + "Apex Critical Services" wordmark.
 */

/* ─── Reset & Base ─────────────────────────────────────────────────── */

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

:root {
  --navy:      #0F172A;
  --navy-mid:  #1E293B;
  --slate:     #334155;
  --blue:      #0369A1;
  --blue-h:    #0284C7;
  --bg:        #F8FAFC;
  --white:     #FFFFFF;
  --text:      #0F172A;
  --muted:     #64748B;
  --border:    #E2E8F0;
  --accent-bg: #F0F9FF;
  --radius:    12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 20px rgba(0,0,0,.09);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.13);
  --nav-h:     70px;
  --max-w:     1160px;
  --transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ─── Language Toggle ───────────────────────────────────────────────── */

/* Dutch is default — English elements hidden */
.lang-en { display: none; }

/* ─── Typography ────────────────────────────────────────────────────── */

h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.about-layout h2 { margin-bottom: 18px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { max-width: 65ch; }
.lead { font-size: 1.15rem; color: var(--slate); line-height: 1.7; }

/* ─── Layout Helpers ────────────────────────────────────────────────── */

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--sm { padding: 48px 0; }
.section--dark { background: var(--navy-mid); color: var(--white); }
.section--blue { background: var(--accent-bg); }
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 10px;
}
.section-label::before {
  content: ''; width: 22px; height: 2px;
  background: var(--blue); border-radius: 2px;
}
.text-center .section-label { justify-content: center; }
.section-header { margin-bottom: 40px; }
.section-header p { color: var(--muted); margin-top: 10px; }

/* ─── Buttons ───────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px;
  font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, #0378B7 0%, var(--blue) 100%); color: #fff;
  box-shadow: 0 2px 8px rgba(3,105,161,.35);
}
.btn-primary:hover { background: linear-gradient(135deg, #0396DB 0%, var(--blue-h) 100%); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(3,105,161,.42); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent; color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue); color: #fff; }

.btn-white {
  background: #fff; color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.btn-white:hover { background: var(--accent-bg); transform: translateY(-1px); }

.btn-sm { padding: 9px 18px; font-size: .875rem; }

.btn:disabled { opacity: .75; cursor: not-allowed; }
.btn-spinner {
  width: 16px; height: 16px; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: btn-spin .6s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }

/* ─── Navigation ────────────────────────────────────────────────────── */

.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  height: var(--nav-h);
  display: flex; align-items: center;
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Logo */
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px; flex-shrink: 0;
}
.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1;
}
.nav-logo-name {
  font-size: 1.05rem; font-weight: 700; letter-spacing: .04em;
  color: #fff; text-transform: uppercase;
}
.nav-logo-sub {
  font-size: .625rem; font-weight: 500; letter-spacing: .18em;
  color: rgba(255,255,255,.5); text-transform: uppercase; margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.75);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: #fff; background: rgba(255,255,255,.1);
}

/* Nav actions */
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-toggle button {
  padding: 4px 12px;
  font-size: .8rem; font-weight: 600;
  border-radius: 16px;
  color: rgba(255,255,255,.65);
  transition: background var(--transition), color var(--transition);
}
.lang-toggle button.active {
  background: #fff; color: var(--navy);
}

/* Flag swap on hover — button text turns into its country flag */
.lang-toggle button {
  position: relative;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0 0;
  transition: background var(--transition), color var(--transition);
}
.lang-toggle button:hover {
  color: transparent;
  background-size: cover;
}
.lang-toggle button[data-lang="nl"]:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6' preserveAspectRatio='none'%3E%3Crect width='9' height='6' fill='%2321468B'/%3E%3Crect width='9' height='4' fill='%23FFFFFF'/%3E%3Crect width='9' height='2' fill='%23AE1C28'/%3E%3C/svg%3E");
}
.lang-toggle button[data-lang="en"]:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30' preserveAspectRatio='none'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z'/%3E%3C/clipPath%3E%3Cpath d='M0,0 v30 h60 v-30 z' fill='%23012169'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 v30 M0,15 h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
}

/* Mobile hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer;
}
.nav-burger span {
  display: block; width: 22px; height: 2px;
  background: rgba(255,255,255,.8); border-radius: 2px;
  transition: all 0.25s;
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  position: absolute; top: var(--nav-h); left: 0; right: 0;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 16px 24px 24px;
  z-index: 99;
}
.nav-drawer.open { display: flex; }
.nav-drawer .nav-links { flex-direction: column; align-items: flex-start; }
.nav-drawer .nav-links a { font-size: 1rem; padding: 10px 12px; width: 100%; }
.nav-drawer .nav-actions { margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }

/* ─── Scroll animations ─────────────────────────────────────────────── */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ─── Hero ──────────────────────────────────────────────────────────── */

.hero {
  background: var(--navy);
  background-image:
    radial-gradient(circle, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 110px 0 120px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Depth + legibility overlay above the hero photo */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(105deg, rgba(15,23,42,.92) 0%, rgba(15,23,42,.72) 45%, rgba(15,23,42,.55) 100%),
    radial-gradient(120% 120% at 0% 0%, rgba(3,105,161,.28) 0%, transparent 55%);
  pointer-events: none;
}
.hero .hero-bg-img { z-index: 0; opacity: 0.4; }
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: #7DD3FC; margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 24px; height: 2px; background: #0EA5E9;
}
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: #7DD3FC; }
.hero-lead {
  font-size: 1.15rem; color: rgba(255,255,255,.7);
  max-width: 52ch; margin-bottom: 36px; line-height: 1.7;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ─── Page Hero (inner pages) ───────────────────────────────────────── */

.page-hero {
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 28px 28px;
  padding: 48px 0 44px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-bg-img { opacity: 0.13; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 55ch; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ─── Trust strip ───────────────────────────────────────────────────── */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px;
}
.trust-item svg {
  width: 30px; height: 30px; flex-shrink: 0; color: var(--blue);
}
.trust-item div { display: flex; flex-direction: column; line-height: 1.35; }
.trust-item strong { font-size: .95rem; color: var(--navy); font-weight: 700; }
.trust-item span { font-size: .82rem; color: var(--muted); }

@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
}
@media (max-width: 420px) {
  .trust-grid { grid-template-columns: 1fr; }
}

/* ─── Cards ─────────────────────────────────────────────────────────── */

.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card-grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #38BDF8);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.card:hover::before { transform: scaleX(1); }
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #BAE6FD;
}
.card-icon {
  width: 52px; height: 52px;
  background: var(--accent-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background var(--transition), transform var(--transition);
}
.card:hover .card-icon {
  background: #DBEAFE;
  transform: scale(1.08);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: .9375rem; color: var(--muted); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .875rem; font-weight: 600; color: var(--blue);
  margin-top: 20px; cursor: pointer;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 12px; color: var(--blue-h); }
.card-link svg { width: 16px; height: 16px; }

/* Service/Product expanded cards */
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), #38BDF8);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
  z-index: 1;
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #BAE6FD; }
.service-card:hover .service-card-icon { background: #DBEAFE; }
.service-card-icon { transition: background var(--transition); }
.service-card-header {
  padding: 32px 32px 24px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: flex-start; gap: 16px;
}
.service-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  background: var(--accent-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.service-card-icon svg { width: 26px; height: 26px; }
.service-card { display: flex; flex-direction: column; }
.service-card-body { padding: 28px 32px 32px; display: flex; flex-direction: column; flex: 1; }
.service-card-body ul { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.service-card-body > .btn { margin-top: auto; align-self: flex-start; }
.service-card-body li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9375rem; color: var(--slate);
}
.service-card-body li::before {
  content: '';
  display: block; width: 6px; height: 6px;
  background: var(--blue); border-radius: 50%; flex-shrink: 0;
}

/* ─── Foto Placeholder ──────────────────────────────────────────────── */

.foto-placeholder {
  background: #E2E8F0;
  border-radius: var(--radius);
  border: 2px dashed #CBD5E1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 40px;
  color: var(--muted);
  font-size: .85rem; font-weight: 500;
  min-height: 220px;
}
.foto-placeholder svg { width: 32px; height: 32px; opacity: .4; }

/* ─── Site Images ───────────────────────────────────────────────────── */

.site-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  border-radius: var(--radius);
}
.sector-img {
  width: 100%; height: 220px;
  object-fit: cover; object-position: center;
  display: block;
}
.about-img {
  width: 100%; height: 340px;
  object-fit: cover; object-position: center;
  display: block;
  border-radius: var(--radius);
}

/* Hero background image */
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

/* ─── Sector Cards ──────────────────────────────────────────────────── */

.sector-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.sector-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: #BAE6FD; }
.sector-card .sector-img { transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.sector-card:hover .sector-img { transform: scale(1.04); }
.sector-card .foto-placeholder { border-radius: 0; border: none; border-bottom: 1px solid var(--border); min-height: 180px; }
.sector-card { display: flex; flex-direction: column; }
.sector-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.sector-card-body .category-tag { align-self: flex-start; }
.sector-card-body h3 { margin-bottom: 8px; }
.sector-card-body p { font-size: .9rem; color: var(--muted); margin-bottom: 24px; }
.sector-card-body > div:last-child { margin-top: auto !important; }

/* ─── Steps / How it works ──────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 28px; left: calc(16.6% + 28px); right: calc(16.6% + 28px);
  height: 2px; background: var(--border);
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 14px rgba(3,105,161,.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover .step-num {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(3,105,161,.45);
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .9375rem; color: var(--muted); max-width: 28ch; margin: 0 auto; }

/* ─── CTA Banner ────────────────────────────────────────────────────── */

.cta-banner {
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.65); margin: 0 auto 32px; max-width: 52ch; }

/* ─── Form ──────────────────────────────────────────────────────────── */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: .875rem; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--muted); font-size: .8rem; }
input, select, textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: .9375rem; font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(3,105,161,.12);
}
textarea { resize: vertical; min-height: 130px; }

input[type="file"] { padding: 10px 14px; cursor: pointer; }
input[type="file"]::file-selector-button {
  margin-right: 14px; padding: 8px 16px;
  border: none; border-radius: 6px;
  background: var(--accent-bg); color: var(--blue);
  font-family: inherit; font-weight: 600; font-size: .85rem;
  cursor: pointer; transition: background var(--transition);
}
input[type="file"]::file-selector-button:hover { background: #DBEAFE; }
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 40px;
}

.form-submit { display: flex; flex-direction: column; gap: 16px; }
.form-submit .btn { align-self: flex-start; }

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: .9rem; font-weight: 500;
}
.form-message.success {
  background: #DCFCE7; color: #166534; border: 1px solid #BBF7D0;
  display: flex; align-items: center; gap: 10px;
}
.form-message.error {
  background: #FEE2E2; color: #991B1B; border: 1px solid #FECACA;
  display: block;
}

.mailto-backup {
  font-size: .875rem; color: var(--muted); margin-top: 8px;
}
.mailto-backup a { color: var(--blue); font-weight: 500; }
.mailto-backup a:hover { text-decoration: underline; }

/* Contact page layout */
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: var(--accent-bg); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  transition: background var(--transition), transform var(--transition);
}
.contact-info-item:hover .contact-info-icon {
  background: #DBEAFE; transform: scale(1.06);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-item h4 { margin-bottom: 2px; }
.contact-info-item p, .contact-info-item a { font-size: .9375rem; color: var(--muted); }
.contact-info-item a:hover { color: var(--blue); }

.form-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), #38BDF8);
}

/* ─── Over Ons ──────────────────────────────────────────────────────── */

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.placeholder-block {
  background: var(--accent-bg);
  border: 1.5px dashed #BAE6FD;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: .875rem; color: var(--blue);
  font-style: italic; margin: 12px 0;
}
.placeholder-block strong { color: var(--navy); font-style: normal; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.value-item {
  padding: 24px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.value-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: #BAE6FD;
}
.value-item .icon {
  color: var(--blue); margin-bottom: 14px;
  transition: transform var(--transition);
}
.value-item:hover .icon { transform: scale(1.12); }
.value-item .icon svg { width: 28px; height: 28px; }
.value-item h4 { margin-bottom: 6px; }
.value-item p { font-size: .9rem; color: var(--muted); }

/* ─── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
  border-top: 3px solid var(--blue);
}
.footer-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {}
.footer-brand .nav-logo { margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 26ch; }
.footer-col h5 {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.4);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .9rem; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255,255,255,.35);
  line-height: 1.6;
}
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ─── Misc Utility ──────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.flex { display: flex; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }

/* Highlight strip on service/product category pages */
.category-tag {
  display: inline-block;
  background: var(--accent-bg); color: var(--blue);
  border: 1px solid #BAE6FD;
  border-radius: 20px; padding: 4px 14px;
  font-size: .8rem; font-weight: 600;
  margin-bottom: 12px;
}

/* Visually hidden (screen readers only) */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--blue); color: #fff;
  padding: 8px 16px; border-radius: 6px;
  font-weight: 600; z-index: 999;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Focus ring */
:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--5 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info { order: 2; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 44px 0; }
  .card-grid--2, .card-grid--3, .card-grid--4, .card-grid--5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .steps::before { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .nav-inner > ul.nav-links { display: none; }
  .nav-inner .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }
  .site-nav { position: sticky; }
  .hero { padding: 64px 0 72px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .service-card-header { padding: 20px 20px 16px; }
  .service-card-body { padding: 20px; }
  .card { padding: 24px; }
}

