/* ELC Netherlands — gedeelde stylesheet voor de NL- en UK-site */

:root {
  --navy: #1d3b5c;
  --navy-900: #10243a;
  --navy-700: #24476c;
  --green: #008a53;
  --green-700: #006e42;
  --green-50: #e9f6ef;
  --ink: #1c2733;
  --muted: #5a6675;
  --line: #e2e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 36, 58, .06), 0 10px 30px rgba(16, 36, 58, .08);
  --shadow-lg: 0 2px 6px rgba(16, 36, 58, .08), 0 24px 60px rgba(16, 36, 58, .18);
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1; }

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

a { color: var(--green-700); text-underline-offset: .2em; }
a:hover { color: var(--green); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 750; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 650; }
p { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; gap: 24px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-size: 1.2rem; font-weight: 750; letter-spacing: .02em; line-height: 1.1; }
.brand-name span { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 550; font-size: .98rem;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--navy); }
.main-nav a[aria-current="page"] { background: var(--green-50); color: var(--green-700); }

.lang-switch {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px;
  font-size: .85rem; font-weight: 650; letter-spacing: .06em; color: var(--navy); text-decoration: none;
}
.lang-switch:hover { border-color: var(--green); color: var(--green-700); }
.lang-switch svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; padding: 0; align-items: center; justify-content: center; color: var(--navy);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 72px;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 12px 16px 16px; }
  .main-nav a { border-radius: var(--radius-sm); padding: 12px 14px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 650; font-size: 1rem; text-decoration: none; line-height: 1.2;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--green); color: var(--green-700); }

.link-arrow { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link-arrow::after { content: "\2192"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(0, 138, 83, .55), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(36, 71, 108, .9), transparent 70%),
    linear-gradient(135deg, var(--navy-900), var(--navy));
}
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero .container {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px;
  align-items: center; padding-top: 88px; padding-bottom: 104px;
}
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3vw, 3.5rem); }
.hero .lead { font-size: 1.2rem; color: rgba(255, 255, 255, .85); max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green); margin-bottom: 14px;
}
.hero .eyebrow { color: #7fe0b3; }

.hero-visual { position: relative; }
.hero-visual .shot {
  border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, .25); background: #fff;
}
.hero-visual .shot-main { transform: perspective(1400px) rotateY(-8deg) rotateX(3deg); }
.hero-visual .shot-float {
  position: absolute; width: 58%; right: -6%; bottom: -14%;
  transform: perspective(1400px) rotateY(-8deg) rotateX(3deg);
}

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 72px; gap: 40px; }
  .hero-visual { max-width: 560px; margin-bottom: 40px; }
  .hero-visual .shot-float { right: -2%; }
}

/* ---------- Stats ---------- */

.stats {
  position: relative; z-index: 2; margin-top: -48px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line);
}
.stat { padding: 26px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-size: 2rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Page header (subpages) ---------- */

.page-hero {
  background:
    radial-gradient(600px 260px at 90% 0%, rgba(0, 138, 83, .12), transparent 70%),
    linear-gradient(180deg, var(--bg-soft), #fff);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 48px;
}
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; margin: 0; }

.breadcrumb { font-size: .9rem; margin-bottom: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green-700); text-decoration: underline; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 46em; margin-bottom: 36px; }
.section-head p { color: var(--muted); }

.prose { max-width: 46em; }
.prose p { color: #2e3a47; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.split-wide { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards ---------- */

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  box-shadow: 0 1px 2px rgba(16, 36, 58, .04);
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
a.card { display: block; color: inherit; text-decoration: none; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cfe7da; }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--muted); margin-bottom: .8em; }
.card p:last-child { margin-bottom: 0; }

.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-50); color: var(--green); margin-bottom: 18px;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Lists ---------- */

ul.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.checklist li { position: relative; padding-left: 32px; margin-bottom: .55em; }
ul.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23008a53' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 10.5l3 3 6-7'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Services (accordion) ---------- */

.service { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 56px 0; border-top: 1px solid var(--line); }
.service:first-child { border-top: 0; padding-top: 0; }
.service-num { font-size: .85rem; font-weight: 800; letter-spacing: .12em; color: var(--green); display: block; margin-bottom: 8px; }
.service-intro p { color: #2e3a47; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; } }

.accordion { display: grid; gap: 12px; }
.accordion details {
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.accordion details[open] { border-color: #cfe7da; box-shadow: var(--shadow); }
.accordion summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 650; color: var(--navy);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%;
  background: var(--bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231d3b5c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.accordion details[open] summary::after { transform: rotate(180deg); background-color: var(--green-50); }
.accordion .panel { padding: 0 22px 18px; color: #2e3a47; }
.accordion .panel p:last-child { margin-bottom: 0; }

/* ---------- Products ---------- */

.product { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); }
.product:first-of-type { border-top: 0; }
.product:nth-of-type(even) .product-media { order: 2; }
.product-media .shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.product .tag {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-50); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.product h4 { margin: 1.2em 0 .6em; font-size: 1rem; color: var(--navy); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .product:nth-of-type(even) .product-media { order: 0; }
}

/* ---------- Galleries + lightbox ---------- */

.feature { padding: 36px 0; border-top: 1px solid var(--line); }
.feature:first-of-type { border-top: 0; padding-top: 0; }
.feature h2 { font-size: 1.25rem; display: flex; gap: 14px; align-items: baseline; }
.feature h2 .n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--green-50); color: var(--green-700); font-size: .9rem; font-weight: 800;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; margin-top: 18px; }
.gallery a {
  display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #fff;
  box-shadow: 0 1px 2px rgba(16, 36, 58, .05); transition: box-shadow .25s, transform .25s; position: relative;
}
.gallery a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.gallery a::after {
  content: ""; position: absolute; right: 10px; bottom: 10px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(16, 36, 58, .75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='9' cy='9' r='5'/%3E%3Cpath d='M13 13l3.5 3.5M9 7v4M7 9h4'/%3E%3C/svg%3E") center / 18px no-repeat;
  opacity: 0; transition: opacity .2s;
}
.gallery a:hover::after, .gallery a:focus-visible::after { opacity: 1; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top left; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 94vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(10, 22, 36, .85); backdrop-filter: blur(4px); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: var(--shadow-lg); background: #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 14px; font-size: .95rem; }
.lightbox figcaption small { display: block; color: rgba(255, 255, 255, .65); }
.lightbox button {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .28); }
.lightbox button svg { width: 24px; height: 24px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 18px; top: 50%; margin-top: -24px; }

/* ---------- Screencasts ---------- */

.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.tabs a { padding: 8px 20px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 650; }
.tabs a:hover { color: var(--navy); }
.tabs a[aria-current="page"] { background: #fff; color: var(--green-700); box-shadow: 0 1px 3px rgba(16, 36, 58, .12); }

.video-frame { aspect-ratio: 5 / 4; width: 100%; max-width: 1000px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--bg-soft); }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- References ---------- */

.ref-grid { columns: 3 300px; column-gap: 24px; }
.ref-grid .card { break-inside: avoid; margin-bottom: 24px; }
.ref-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ref-grid li {
  padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .92rem; color: var(--ink);
}
.ref-grid h2 { font-size: 1.15rem; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ref-grid h2 small { font-size: .85rem; font-weight: 600; color: var(--muted); }

/* ---------- Contact ---------- */

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { margin: 0; flex: none; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list address { font-style: normal; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--bg-soft); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-link { display: inline-block; margin-top: 12px; font-size: .95rem; }

/* ---------- CTA band ---------- */

.cta {
  border-radius: 20px; padding: 44px 48px; color: #fff;
  background: radial-gradient(500px 240px at 100% 0%, rgba(0, 138, 83, .6), transparent 70%), linear-gradient(135deg, var(--navy-900), var(--navy));
  display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 40em; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); font-size: .95rem; margin-top: 0; }
.site-footer .container { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer h2 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer address { font-style: normal; }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 750; font-size: 1.15rem; margin-bottom: 14px; }
.footer-brand img { width: 36px; height: 36px; background: #fff; border-radius: 8px; padding: 3px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: block; padding-top: 18px; padding-bottom: 22px; font-size: .85rem; color: rgba(255, 255, 255, .55); }
@media (max-width: 760px) { .site-footer .container { grid-template-columns: 1fr; gap: 28px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
