/* Dutch Safe Security — styles */
:root {
  --navy: #122235;
  --navy-2: #1b2f47;
  --yellow: #ffd124;
  --yellow-soft: #ffecb8;
  --ink: #122235;
  --muted: #5d6b7a;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --line: #dfe5eb;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(18, 34, 53, .10);
  --container: 1200px;
  --font-body: 'Segoe UI', Arial, Helvetica, sans-serif;
  --font-head: 'Arial Narrow', 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
section[id] { scroll-margin-top: 92px; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.sr-only {
  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 {
  position: absolute; left: 12px; top: -60px; z-index: 3000;
  background: var(--yellow); color: var(--navy); padding: 10px 16px;
  border-radius: var(--radius); text-decoration: none; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.18; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 3.3vw, 38px); color: var(--navy); }
h3 { font-size: 21px; }
p { color: var(--muted); margin: 0 0 16px; }
ul { margin: 0; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--navy);
  padding: 14px 26px;
  border: 0;
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--yellow-soft); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .65); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--sm { padding: 10px 16px; font-size: 12px; }
.btn--outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 24px;
  min-height: 82px; display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 40px; height: 48px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-family: var(--font-head); font-size: 19px; letter-spacing: .04em; }
.brand-text span { margin-top: 6px; font-size: 10px; letter-spacing: .30em; color: var(--yellow); }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; gap: 24px; list-style: none; padding: 0; }
.main-nav > li > a {
  display: inline-block; padding: 30px 0; color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.main-nav > li > a:hover { color: var(--yellow); }
.has-sub { position: relative; }
.submenu {
  position: absolute; top: 100%; left: 0; z-index: 5;
  min-width: 250px; background: #fff; border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
  list-style: none; padding: 8px 0; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 9px 16px; color: var(--navy); text-decoration: none; font-size: 14px; }
.submenu a:hover { background: var(--bg-soft); color: #9a7b00; }
.submenu-toggle, .btn-nav-mobile { display: none; }
.btn-header { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 0; color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer; padding: 8px;
}

/* Hero */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18,34,53,.96) 0%, rgba(18,34,53,.82) 45%, rgba(18,34,53,.28) 100%);
}
.hero .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.hero-content { max-width: 720px; color: #fff; }
.eyebrow { color: var(--yellow); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 62px); line-height: 1.05; margin-bottom: 20px; }
.hero .lead { color: rgba(255, 255, 255, .9); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; margin-bottom: 30px; }

/* Breadcrumb */
.breadcrumb { background: var(--bg-soft); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.breadcrumb .container { padding-top: 13px; padding-bottom: 13px; }
.breadcrumb a { color: var(--navy); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; color: #a8b2bd; }

/* Sections */
.section { padding: 76px 0; }
.section--soft { background: var(--bg-soft); }
.section-head { max-width: 780px; margin-bottom: 38px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }
.note { font-size: 13px; font-style: italic; color: var(--muted); margin-top: 22px; }

/* Emergency band */
.emergency { position: relative; overflow: hidden; background: var(--navy); color: #fff; padding: 56px 0; }
.emergency::before {
  content: ''; position: absolute; right: -90px; top: -110px;
  width: 340px; height: 340px; border-radius: 50%; background: rgba(255, 209, 36, .08);
}
.emergency-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.emergency h2 { color: #fff; }
.emergency p { color: rgba(255, 255, 255, .84); }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 10px; color: rgba(255, 255, 255, .9); }
.check-list li::before { content: '\2713'; position: absolute; left: 0; top: 0; color: var(--yellow); font-weight: 700; }

/* Service cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(18, 34, 53, .16); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card h3 { color: var(--navy); margin-bottom: 10px; }
.card p { font-size: 15px; margin-bottom: 18px; }
.card-link {
  align-self: flex-start; margin-top: auto; padding-bottom: 3px;
  color: var(--navy); font-size: 14px; font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--yellow);
}
.card-link:hover { color: #967800; }

/* Testimonials */
.testimonial {
  background: #fff; padding: 28px; border-left: 4px solid var(--yellow);
  border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
}
.quote-mark { font-family: Georgia, serif; font-size: 52px; line-height: .55; color: var(--yellow); }
.testimonial p { font-style: italic; color: var(--navy); font-size: 16px; margin-bottom: 18px; }
.testimonial footer { font-size: 14px; font-weight: 700; color: var(--muted); }

/* Split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.split-images { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.split-images img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; border-radius: var(--radius); }

/* Sectors / partners */
.partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.partner {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; text-align: center; color: var(--navy);
  font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: .02em;
}
.credentials { text-align: center; border-top: 1px solid var(--line); margin-top: 44px; padding-top: 30px; }
.credentials p { margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .74); padding-top: 64px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 30px; padding-bottom: 48px; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 16px; }
.site-footer p { color: rgba(255, 255, 255, .74); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .14); padding: 22px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px;
}
.footer-bottom a { color: rgba(255, 255, 255, .66); text-decoration: none; margin-left: 14px; }
.footer-bottom a:hover { color: var(--yellow); }
.socials { display: flex; gap: 10px; list-style: none; padding: 0; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%; color: #fff; text-decoration: none; font-size: 12px; font-weight: 700;
}
.socials a:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* Cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2000;
  background: #fff; border-top: 3px solid var(--yellow);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .18);
}
.cookie-banner[hidden] { display: none; }
.cookie-inner {
  max-width: var(--container); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.cookie-inner p { margin: 0; font-size: 13px; max-width: 760px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* Back to top */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 900;
  width: 46px; height: 46px; border: 0; border-radius: var(--radius);
  background: var(--yellow); color: var(--navy); font-size: 22px; cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, bottom .25s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
body.cookie-visible .back-to-top { bottom: 150px; }

/* Inner pages */
.hero--page { min-height: 380px; }
.hero--page .container { padding-top: 52px; padding-bottom: 52px; }
.hero--page h1 { font-size: clamp(34px, 4.6vw, 52px); }
.breadcrumb-inline { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.breadcrumb-inline a { color: var(--yellow); text-decoration: none; }
.breadcrumb-inline a:hover { text-decoration: underline; }
.breadcrumb-inline span { margin: 0 9px; opacity: .55; }
.main-nav a.active { color: var(--yellow); }
.submenu a.active { color: #8a6d00; background: #fff8dd; }
.check-list--dark li { color: var(--muted); }
.check-list--dark li::before { color: #c39c00; }
.page-visual img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* Contact form */
.contact-form { max-width: 860px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 7px; font-size: 14px; font-weight: 600; color: var(--navy); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 15px; color: var(--ink); background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 209, 36, .28);
}
.form-note { margin-top: 16px; font-weight: 600; color: #1d6b3f; }
.form-note[hidden] { display: none; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Responsive */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .btn-header { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    margin: 0; background: var(--navy); box-shadow: 0 12px 24px rgba(0, 0, 0, .22);
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; gap: 0; padding: 8px 24px 4px; }
  .main-nav > li > a { padding: 12px 0; width: 100%; display: block; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .submenu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-left: 8px; padding: 0;
    background: rgba(255, 255, 255, .08); color: #fff;
    border: 1px solid rgba(255, 255, 255, .28); border-radius: 6px;
    font-size: 22px; line-height: 1; cursor: pointer; flex: none;
  }
  .submenu-toggle:hover, .submenu-toggle[aria-expanded="true"] {
    color: var(--yellow); border-color: var(--yellow);
  }
  .submenu {
    position: static; display: none; flex-basis: 100%; min-width: 0;
    padding: 0 0 8px 14px; margin-top: -4px;
    background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub.open > .submenu { display: block; }
  .submenu a { color: rgba(255, 255, 255, .78); padding: 8px 0; }
  .submenu a:hover { background: transparent; color: var(--yellow); }
  .btn-nav-mobile {
    display: block; margin: 12px 24px 20px; text-align: center;
  }
  .emergency-grid, .split { grid-template-columns: 1fr; }
  .split-images { max-width: 640px; }
}
@media (max-width: 680px) {
  .hero { min-height: 460px; }
  .hero .container { padding-top: 68px; padding-bottom: 68px; }
  .section { padding: 56px 0; }
  .grid-3, .partners { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-images { grid-template-columns: 1fr; }
  .split-images img { min-height: 220px; }
  .form-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; }
  body.cookie-visible .back-to-top { bottom: 210px; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
}

/* ---------- Polished mobile pass ---------- */
@media (max-width: 680px) {
  :root { --radius: 10px; }
  section[id] { scroll-margin-top: 72px; }
  .container, .header-inner { padding-left: 20px; padding-right: 20px; }

  /* Header */
  .header-inner { min-height: 64px; gap: 12px; }
  .brand-mark { width: 34px; height: 40px; }
  .brand-text strong { font-size: 16px; letter-spacing: .03em; }
  .brand-text span { font-size: 9px; letter-spacing: .24em; margin-top: 4px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; padding: 0; font-size: 26px;
  }

  /* Mobile menu */
  .main-nav { box-shadow: 0 16px 30px rgba(0, 0, 0, .3); }
  .main-nav > ul { padding: 8px 0 4px; }
  .main-nav > li > a {
    display: flex; align-items: center; min-height: 48px;
    padding: 12px 20px; font-size: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .has-sub { padding: 0; }
  .submenu-toggle {
    width: 44px; height: 44px; margin: 0 20px 0 8px; font-size: 24px;
  }
  .submenu {
    padding: 4px 20px 10px 34px; margin-top: 0;
    border-left: 2px solid rgba(255, 209, 36, .45);
  }
  .submenu a {
    display: flex; align-items: center; min-height: 40px;
    padding: 8px 0; font-size: 14px;
  }
  .btn-nav-mobile {
    margin: 16px 20px 24px; min-height: 48px; font-size: 13px;
  }

  /* Buttons */
  .btn { min-height: 48px; padding: 12px 22px; font-size: 13px; letter-spacing: .03em; }
  .btn--sm { min-height: 42px; padding: 10px 14px; font-size: 11.5px; }
  .hero .btn, .btn-row .btn { width: 100%; text-align: center; }

  /* Hero and page intros: stack the full illustration above the text on phones */
  .hero { min-height: 0; display: block; }
  .hero::after { display: none; }
  .hero-media { position: relative; inset: auto; width: 100%; height: auto; background: var(--navy); }
  .hero-media img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; }
  .hero .container {
    padding-top: 24px; padding-bottom: 40px;
    background: linear-gradient(180deg, var(--navy) 0%, #0e1c2c 100%);
  }
  .hero h1 { font-size: clamp(32px, 9vw, 38px); line-height: 1.08; margin-bottom: 14px; }
  .hero .lead { font-size: 16px; line-height: 1.6; margin-bottom: 24px; }
  .eyebrow { font-size: 12px; margin-bottom: 12px; }
  .hero--page { min-height: 0; }
  .hero--page .container { padding-top: 24px; padding-bottom: 32px; }
  .hero--page h1 { font-size: clamp(30px, 8vw, 36px); }
  .breadcrumb { font-size: 12px; }
  .breadcrumb .container { padding-top: 8px; padding-bottom: 8px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 32px; }
  .breadcrumb-inline { font-size: 12px; margin-bottom: 16px; }
  .breadcrumb-inline a { display: inline-flex; align-items: center; min-height: 32px; }

  /* Content rhythm */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: 26px; margin-bottom: 12px; }
  h3 { font-size: 20px; }
  p { line-height: 1.65; }
  .emergency { padding: 44px 0; }
  .emergency h2 { font-size: 26px; }
  .check-list { margin: 18px 0 24px; }
  .check-list li { padding-left: 30px; margin-bottom: 12px; line-height: 1.5; }

  /* Cards and images */
  .grid-3 { gap: 18px; }
  .card { border-radius: 10px; }
  .card-media { aspect-ratio: 4 / 3; }
  .card-media img { object-fit: contain; }
  .card:hover .card-media img { transform: none; }
  .card-body { padding: 20px; }
  .card h3 { margin-bottom: 8px; }
  .card p { font-size: 15px; margin-bottom: 14px; }
  .card-link {
    display: inline-flex; align-items: center; min-height: 40px;
    font-size: 14px; padding-bottom: 0;
  }
  .page-visual img { aspect-ratio: 4 / 3; object-fit: contain; border-radius: 10px; }
  .split-images img { width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; border-radius: 10px; }

  /* Contact form */
  .contact-form label { font-size: 15px; }
  .contact-form input, .contact-form select, .contact-form textarea {
    min-height: 48px; font-size: 16px; padding: 12px 14px;
  }
  .contact-form textarea { min-height: 130px; }
  .contact-form .btn { width: 100%; margin-top: 4px; }

  /* Footer */
  .site-footer { padding-top: 48px; font-size: 14px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; padding-bottom: 32px; }
  .footer-col h3 { font-size: 15px; margin-bottom: 10px; }
  .footer-col li { margin-bottom: 0; }
  .footer-col li a {
    display: flex; align-items: center; min-height: 36px;
    padding: 6px 0; line-height: 1.35;
  }
  .footer-col p { font-size: 14px; line-height: 1.5; margin-bottom: 10px; overflow-wrap: anywhere; }
  .footer-col p a { display: inline-block; max-width: 100%; min-height: 32px; padding: 4px 0; overflow-wrap: anywhere; word-break: break-word; }
  .socials { gap: 8px; margin-top: 12px; }
  .socials a { width: 40px; height: 40px; font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 8px; padding: 20px 0; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; margin-left: 12px; }

  /* Cookie banner and back-to-top */
  .cookie-inner { padding: 16px 20px; gap: 14px; }
  .cookie-inner p { font-size: 14px; line-height: 1.5; }
  .cookie-actions { gap: 8px; }
  body.cookie-visible .back-to-top { bottom: 190px; }
  .back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 32px; }
  .hero--page h1 { font-size: 30px; }
  .section { padding: 44px 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; }
  .footer-col li a { font-size: 13px; }
}
