/* -------------------------------------------------------------------------
   Self-hosted webfonts
   -------------------------------------------------------------------------
   Merriweather and Source Sans 3, served from /fonts/ instead of Google.
   Both are SIL Open Font License, so redistribution is permitted.

   Why self-hosted:
     - No third-party connection, so no visitor IP is sent to Google. Serving
       Google Fonts client-side has been ruled a GDPR/AVG violation in the EU.
     - Removes two DNS + TLS handshakes (fonts.googleapis.com, fonts.gstatic.com)
       from the critical path.
     - Removes the reason the media="print" + onload trick existed at all. That
       trick never worked here — the CSP sets script-src-attr 'none' — and had
       to be compensated for in js/app.js and in the prerender script.

   These are VARIABLE fonts: one file covers weights 400-700, which is why the
   same file backs 400, 600 and 700. The unicode-range split means a browser
   only downloads latin-ext if the page actually contains those characters —
   for Dutch content that is normally just the latin file.

   To update: refetch from Google Fonts with a modern User-Agent, keep only the
   latin and latin-ext subsets, and bump the ?v= on styles.css in src/head.html.
   ------------------------------------------------------------------------- */

@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: optional;
  src: url("/fonts/merriweather-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: optional;
  src: url("/fonts/merriweather-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("/fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

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

:root {
  --navy: #1c4a12;
  --navy-light: #2d6318;
  --navy-mid: #3d7c28;
  --orange: #c24416;
  --orange-dark: #b53f18;
  --orange-tint: #fcece6;
  --ink: #1b3010;
  --ink-mid: #4d5e48;
  --ink-soft: #61735c;
  --dark: #1b3010;
  --surface: #f4f7f3;
  --border: #dfe8dc;
  --white: #ffffff;
  /* Brand green aliases — required by contact, prose, and hover states */
  --green: #2d6318;
  --green-light: #eef5eb;
  --max-w: 1200px;
  --pad-x: 32px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --sh-sm: 0 2px 10px rgba(0, 0, 0, 0.07);
  --sh-md: 0 12px 32px rgba(0, 0, 0, 0.11);
  --header-h: 80px;
  --topbar-h: 36px;
  --offset: calc(var(--topbar-h) + var(--header-h));
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--offset);
}
[id] {
  scroll-margin-top: var(--offset);
}

body {
  font-family: "Source Sans 3", "Source Sans 3 Fallback", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  font-size: 16px;
}

h1,
h2,
h3,
h4 {
  font-family: "Merriweather", "Merriweather Fallback", Georgia, serif;
  color: var(--ink);
  line-height: 1.3;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

/* ── Pages ── */
.page {
  display: none;
}
.page.active {
  display: block;
}

/* ── Page header (inner pages only — replaces hero) ── */
.page-header {
  border-bottom: 1px solid var(--border);
  padding: 52px 32px 44px;
  background: var(--white);
}

.page-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.page-header-text {
  flex: 1;
  min-width: 0;
}

.page-header-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 12px;
  display: block;
}

.page-header h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--navy-light);
  margin-bottom: 10px;
  border-left: 4px solid var(--orange);
  padding-left: 18px;
}

.page-header .ph-subtitle {
  font-size: 18px;
  color: var(--ink-mid);
  padding-left: 22px;
  line-height: 1.6;
}

.page-header .btn {
  flex-shrink: 0;
  align-self: flex-start;
  margin-left: 22px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  line-height: 1.3;
}

/* ── Top bar ── */
.top-bar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}

.top-bar-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.top-bar-links {
  display: flex;
  gap: 18px;
  flex-shrink: 0;
}
.top-bar-links a {
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  transition: color 0.15s;
}
.top-bar-links a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Header (single-row, logo left) ── */
header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo row (single row) */
.header-top {
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.brand img {
  height: 64px;
  width: auto;
}

/* Nav — right side */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-mid);
  padding: 5px 11px;
  border-radius: var(--r-sm);
  transition:
    color 0.2s,
    background 0.2s;
  cursor: pointer;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--orange);
  background: var(--orange-tint);
}
.nav-link.active {
  color: var(--orange-dark);
  background: var(--orange-tint);
}

/* Hamburger — visible only on mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--r-sm);
  transition: background 0.2s;
}

.menu-toggle:hover {
  background: var(--orange-tint);
}
.menu-toggle:hover span {
  background: var(--orange-dark);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: calc(var(--topbar-h) + var(--header-h));
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--sh-md);
  z-index: 190;
  padding: 12px 20px 20px;
  flex-direction: column;
  gap: 2px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav .nav-link {
  font-size: 16px;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--r-sm);
  color: var(--ink);
}

.mobile-nav .nav-link:last-of-type {
  border-bottom: none;
}
.mobile-nav .nav-link:hover {
  background: var(--orange-tint);
  color: var(--orange-dark);
}

.mobile-nav .btn {
  margin-top: 10px;
  width: 100%;
  justify-content: center;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  white-space: nowrap;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 78, 31, 0.32);
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 78, 31, 0.48);
}

.btn-secondary {
  background: var(--navy-mid);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(28, 74, 18, 0.24);
}

.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(28, 74, 18, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none !important;
}

/* Loading + resilient request UI */
.loading-spinner {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(28, 74, 18, 0.2);
  border-top-color: var(--navy);
  border-radius: 50%;
  animation: ncl-spin 0.8s linear infinite;
  display: inline-block;
}
.loading-spinner--sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
  border-top-color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
@keyframes ncl-spin {
  to {
    transform: rotate(360deg);
  }
}

.request-state {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  padding: 1rem 1.1rem;
  display: flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
}
.request-state p {
  margin: 0;
  color: var(--ink-mid);
  font-size: 0.95rem;
}
.request-state--loading {
  justify-content: flex-start;
}
.request-state--error {
  border-color: #f2c5bb;
  background: #fff6f4;
}
.request-state--warning {
  margin-top: 0.9rem;
  border-color: #eadfbe;
  background: #fffbe9;
}

.network-status-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  bottom: 16px;
  z-index: 99999;
  background: #1b3010;
  color: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  line-height: 1.3;
  padding: 0.55rem 0.95rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.network-status-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(120deg, rgba(28, 74, 18, 0.93), rgba(194, 68, 22, 0.82));
  min-height: 520px;
  display: flex;
  align-items: center;
  border-bottom: 4px solid var(--orange);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 32px 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  color: var(--white);
  margin-bottom: 12px;
}

.hero-subtitle {
  font-size: clamp(17px, 2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
}

.quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.quick-links a {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.quick-links a:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  color: var(--ink);
  box-shadow: var(--sh-md);
}

.hero-card h2 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--navy-light);
}
.hero-card p {
  color: var(--ink-mid);
  font-size: 15.5px;
  line-height: 1.65;
}
.hero-card p + p {
  margin-top: 10px;
}

/* ── Trust row (open, no box) ── */
.trust-row {
  max-width: 1200px;
  margin: 56px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.trust-item {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--border);
}

.trust-item:first-child {
  padding-left: 0;
}
.trust-item:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 32px;
}
.trust-item:nth-child(2) {
  padding-left: 32px;
}

.trust-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.trust-item h2 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--ink);
}
.trust-item p {
  font-size: 14.5px;
  color: var(--ink-mid);
  line-height: 1.55;
}

/* ── Layout ── */
.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 32px;
}

/* Alternating tinted sections */
.stripe {
  background: var(--surface);
}

.stripe .layout {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section + .section {
  margin-top: 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.2vw, 38px);
  margin-bottom: 16px;
  color: var(--navy-light);
}

.section-lead {
  font-size: 19px;
  color: var(--ink-mid);
  max-width: 780px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.body-text {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.75;
  max-width: 740px;
}

.body-text + .body-text {
  margin-top: 14px;
}

.body-text a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── Split layout ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}
.split.reverse > * {
  direction: ltr;
}

.media {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

/* ── Open content (replaces .panel) ── */
.content-block {
  max-width: 740px;
}

.content-block h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 14px;
}

.content-block p {
  font-size: 17px;
  color: var(--ink-mid);
  line-height: 1.75;
}
.content-block p + p {
  margin-top: 12px;
}

.wat-is-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.intro-media .section-image-wrap {
  margin: 0;
  border-radius: var(--r-md) var(--r-md) 0 0;
  box-shadow: var(--sh-md);
}

.info-box {
  margin-top: 0;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 14px 12px;
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.info-item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 2px;
}

.info-item span {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.4;
}

.info-item {
  padding: 6px 8px;
  border-right: 1px solid #dde2e8;
}

.info-item:last-child {
  border-right: none;
}

.direction-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.direction-cards .compare-col {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 20px;
  background: var(--white);
}

.direction-cards .compare-col.afname {
  background: #fff2f2;
  border-color: #f3cccc;
}

.direction-cards .compare-col.teruglevering {
  background: #f0faf2;
  border-color: #cde8d1;
}

.dir-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.dir-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.dir-icon.down {
  background: #ce2b2b;
}
.dir-icon.up {
  background: #1f8c44;
}

.list.afname-list li::before {
  content: "\2193";
  position: absolute;
  left: 0;
  top: 4px;
  color: #ce2b2b;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.list.terug-list li::before {
  content: "\2191";
  position: absolute;
  left: 0;
  top: 4px;
  color: #1f8c44;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

/* Left-accent callout (replaces boxed panel for key lists) */
.callout {
  padding-left: 22px;
  border-left: 3px solid var(--orange);
  margin-top: 24px;
}

.callout h3 {
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 10px;
}
.callout p {
  font-size: 17px;
  color: var(--ink-mid);
}

/* ── CTA stripe (replaces cta-band box) ── */
.cta-stripe {
  margin-top: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-stripe p {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

/* ── Comparison columns (cards without box) ── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 4px;
}

.compare.compare-with-media {
  grid-template-columns: 1fr minmax(220px, 320px) 1fr;
  align-items: stretch;
  margin-top: 28px;
}

.compare-col {
  padding: 28px 32px;
}

.compare-col:first-child {
  background: var(--orange-tint);
  border-radius: var(--r-md) 0 0 var(--r-md);
}

.compare-col:last-child {
  background: #eef3f8;
  border-radius: 0 var(--r-md) var(--r-md) 0;
}

.compare-col h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}

.compare-col .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 14px;
}

.compare-col p {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 14px;
}

.compare-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(180deg, #f7f8fa 0%, #eef3f8 100%);
}

.compare-media .section-image-wrap {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}

.compare-media .section-image-wrap.section-image-wrap--afname-teruglevering {
  max-width: 420px;
}

.compare-media .section-image {
  width: 100%;
  aspect-ratio: 1024 / 683;
  object-fit: cover;
}

.compare-media .section-image.section-image--afname-teruglevering {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
}

@media (max-width: 768px) {
  .compare-media .section-image-wrap.section-image-wrap--afname-teruglevering {
    max-width: 340px;
  }
}

/* ── Meta row (replaces context cards) ── */
.meta-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.meta-item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 3px;
}

.meta-item span {
  font-size: 15px;
  color: var(--ink-mid);
}

/* ── List ── */
.list {
  list-style: none;
  margin-top: 14px;
}

.list li {
  position: relative;
  padding-left: 20px;
  color: var(--ink-mid);
  font-size: 17px;
  margin-bottom: 9px;
  line-height: 1.6;
}

.list li::before {
  content: "›";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
}

/* ── Inline actions ── */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: #f6f8f9;
}

.partner-badge span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}

.partner-badge img {
  height: 28px;
  width: auto;
  display: block;
}

/* ── External link ── */
.ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange);
  font-weight: 700;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 20px;
  transition:
    color 0.2s,
    text-underline-offset 0.2s;
}

.ext-link:hover {
  color: var(--orange-dark);
  text-underline-offset: 5px;
}

.map-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.map-media {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
  background: var(--white);
}

.map-media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}

.map-media img.map-image--capaciteitskaart {
  object-fit: contain;
  min-height: 320px;
  background: #fff;
}

.congestion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.congestion-item {
  display: flex;
  flex-direction: column;
}

.congestion-card {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-sm);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.congestion-card--afname {
  border-color: #e8b4a0;
}
.congestion-card--teruglevering {
  border-color: #c8b870;
}

.congestion-card-header {
  color: #fff;
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 54px;
  line-height: 1.35;
}

.congestion-card-header--afname {
  background: #c24416;
}
.congestion-card-header--teruglevering {
  background: #766817;
}

.congestion-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block;
  flex-shrink: 0;
}

.congestion-card-media {
  aspect-ratio: 4 / 3;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.congestion-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.congestion-note {
  font-size: 0.8rem;
  color: var(--ink-mid);
  margin-top: 0.5rem;
  line-height: 1.5;
  min-height: 2.4rem;
}

.contact-wrap {
  max-width: 860px;
}

.contact-form {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px;
  background: var(--surface);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field textarea,
.field select {
  border: 1px solid #ccd3dc;
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field small {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

.help-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.help-cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  box-shadow: var(--sh-sm);
  position: sticky;
  top: calc(var(--offset) + 16px);
}

.help-cta-card p {
  font-size: 16px;
  color: var(--ink-mid);
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ── Image ── */
.section-image-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  margin: 24px 0 32px;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Divider ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 56px 0;
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 60px 32px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 48px;
}

.footer-block h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.footer-block p,
.footer-block a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
  line-height: 1.6;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.footer-block a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding-left: 4px;
}

.footer-divider {
  max-width: 1200px;
  margin: 36px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-divider span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ── Responsive: tablet ── */
@media (max-width: 1024px) {
  .header-inner {
    padding: 0 20px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .top-bar-inner {
    padding: 0 20px;
  }
  .top-bar-inner > span {
    display: none;
  }
  .top-bar-links {
    margin-left: auto;
    gap: 12px;
  }

  .hero-inner,
  .split,
  .footer-inner,
  .compare {
    grid-template-columns: 1fr;
  }

  .wat-is-intro,
  .direction-cards,
  .map-section,
  .help-layout {
    grid-template-columns: 1fr;
  }

  .help-cta-card {
    position: static;
  }

  .info-box {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .info-item {
    border-right: none;
    border-bottom: 1px solid #dde2e8;
  }

  .info-item:last-child {
    border-bottom: none;
  }

  .compare.compare-with-media {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }
  .hero-inner {
    padding: 64px 24px 52px;
    gap: 32px;
  }
  .hero-card {
    max-width: 600px;
  }

  .trust-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .trust-item {
    border-right: none;
    padding: 0 !important;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px !important;
  }
  .trust-item:last-child {
    border-bottom: none;
  }

  .compare-col:first-child {
    border-radius: var(--r-md) var(--r-md) 0 0;
  }
  .compare-col:last-child {
    border-radius: 0 0 var(--r-md) var(--r-md);
  }

  .layout {
    padding: 56px 24px;
  }
}

/* ── Responsive: mobile ── */
@media (max-width: 768px) {
  :root {
    --topbar-h: 0px;
    --header-h: 60px;
  }

  .top-bar {
    display: none;
  }
  .header-inner {
    padding: 0 16px;
  }
  .brand img {
    height: 40px;
  }
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .page-header {
    padding: 36px 16px 30px;
  }
  .page-header h1 {
    padding-left: 14px;
  }
  .page-header .ph-subtitle {
    padding-left: 18px;
    font-size: 16px;
  }
  .page-header .btn {
    margin-left: 0;
    width: 100%;
    max-width: none;
    justify-content: center;
    align-self: stretch;
  }

  .hero-inner {
    padding: 48px 16px 40px;
    gap: 24px;
  }
  .hero h1 {
    font-size: clamp(26px, 7vw, 36px);
  }

  .trust-row {
    padding: 0 16px;
    margin-top: 40px;
  }

  .layout {
    padding: 44px 16px;
  }
  .stripe .layout {
    padding: 44px 16px;
  }

  .section-lead {
    font-size: 17px;
  }

  .split {
    gap: 28px;
  }

  .cta-stripe {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn,
  .actions .btn,
  .cta-stripe .btn {
    width: 100%;
    justify-content: center;
  }

  .compare {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .compare-col {
    padding: 22px 20px;
  }
  .compare-media {
    padding: 20px;
  }
  .compare-col:first-child {
    border-radius: var(--r-md) var(--r-md) 0 0;
  }
  .compare-col:last-child {
    border-radius: 0 0 var(--r-md) var(--r-md);
  }

  .meta-row {
    gap: 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  footer {
    padding: 44px 16px 24px;
  }

  .divider {
    margin: 40px 0;
  }
  .section + .section {
    margin-top: 44px;
  }

  .quick-links a {
    font-size: 12px;
    padding: 5px 11px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 25px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section-title {
    font-size: 23px;
  }
}

/* ── Image placeholder ── */
.img-placeholder {
  width: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--orange) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  font-style: italic;
  letter-spacing: 0.03em;
}

.img-placeholder--card {
  min-height: 160px;
}

/* ── Page quick links (white background variant of hero quick-links) ── */
.page-quick-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}

.page-quick-links a {
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--orange-dark);
  transition:
    background 0.2s,
    color 0.2s;
  cursor: pointer;
}

.page-quick-links a:hover {
  background: var(--orange-tint);
}

/* ── Audience cards (3-column grid) ── */
.audience-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.audience-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--orange);
  border-radius: var(--r-md);
  padding: 24px 26px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.audience-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}

.audience-card h3 {
  font-size: 19px;
  color: var(--navy-light);
  margin-bottom: 10px;
}

.audience-card p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ── Quote callout block ── */
.quote-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 22px;
}

.quote-block p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.65;
}

.quote-block p + p {
  margin-top: 10px;
}
.quote-block strong {
  color: var(--navy-light);
}

/* ── Actueel news grid ── */
.actueel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.actueel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}

.actueel-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-2px);
}
.actueel-card:focus {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  box-shadow: var(--sh-md);
}
.actueel-card:focus:not(:focus-visible) {
  outline: none;
}
.actueel-card:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.actueel-card-body {
  padding: 20px 22px;
}

.actueel-card-date {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.actueel-card h2 {
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.actueel-card p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* ── Responsive overrides for new components ── */
@media (max-width: 1024px) {
  .audience-cards {
    grid-template-columns: 1fr;
  }
  .actueel-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .audience-cards {
    gap: 14px;
  }
  .actueel-grid {
    grid-template-columns: 1fr;
  }
  .page-quick-links a {
    font-size: 12.5px;
    padding: 6px 13px;
  }
}

/* ── Cookie consent banner ─────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 32px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.22);
  display: none;
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 220px;
}
.cookie-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
  color: var(--white);
  font-family: "Source Sans 3", "Source Sans 3 Fallback", sans-serif;
}
.cookie-text p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}
.cookie-text a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-text a:hover {
  color: var(--white);
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.btn-sm {
  padding: 9px 20px;
  font-size: 14px;
}

.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
  font-family: inherit;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-col {
}
.contact-info-col {
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.5rem 1.75rem;
}
.contact-info-card h3 {
  font-family: "Merriweather", "Merriweather Fallback", Georgia, serif;
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: 1rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.contact-detail:last-child {
  margin-bottom: 0;
}
.contact-icon {
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-mid);
  margin-bottom: 0.15rem;
}
.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
}
.contact-detail a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* ── Contact form fields ─────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(28, 74, 18, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input.input-invalid,
.form-group textarea.input-invalid,
.form-group select.input-invalid {
  border-color: #d9482f;
  box-shadow: 0 0 0 3px rgba(217, 72, 47, 0.14);
}

/* Postcode and plaats are short and belong to one answer. Stacked full-width
   they read as two unrelated questions and lengthen an already long form.
   auto-fit collapses them back to one column on a narrow screen by itself. */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  column-gap: 1rem;
}

.form-group-consent {
  gap: 0.55rem;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}

.checkbox-field input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  flex: 0 0 auto;
  accent-color: var(--green);
}

.checkbox-field a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-field.is-invalid {
  color: #9b2c2c;
}

.field-error-message {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #9b2c2c;
  font-weight: 600;
}

/* Scheduler modal (Pipedrive iframe) */
.scheduler-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  background: rgba(0, 0, 0, 0.62);
  padding: 2vh 2vw;
}
.scheduler-modal.is-open {
  display: block;
}
.scheduler-modal-panel {
  position: relative;
  width: min(1060px, 94vw);
  height: min(90vh, 860px);
  height: min(90svh, 860px);
  margin: 2vh auto;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}
.scheduler-modal-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
.scheduler-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.scheduler-modal-link {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 768px) {
  .scheduler-modal {
    padding: 0;
  }
  .scheduler-modal-panel {
    width: 100vw;
    height: 100vh;
    height: 100svh;
    margin: 0;
    border-radius: 0;
  }
  .scheduler-modal-close {
    top: 8px;
    right: 8px;
    width: 36px;
    height: 36px;
  }
  .scheduler-modal-link {
    top: 10px;
    left: 10px;
    font-size: 11px;
    padding: 7px 10px;
  }
}

/* ══════════════════════════════════════════════
   PROSE (privacy / long text pages)
   ══════════════════════════════════════════════ */
.prose h2 {
  font-family: "Merriweather", "Merriweather Fallback", Georgia, serif;
  font-size: 1.25rem;
  color: var(--dark);
  margin: 2rem 0 0.6rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-family: "Merriweather", "Merriweather Fallback", Georgia, serif;
  font-size: 1.05rem;
  color: var(--dark);
  margin: 1.5rem 0 0.5rem;
}
.prose p,
.prose .body-text {
  margin-bottom: 1rem;
}
.prose ul.list {
  margin-bottom: 1rem;
}
.prose ol.ncl-ordered {
  counter-reset: ncl-step;
  list-style: none;
  margin-top: 14px;
  margin-bottom: 1rem;
}
.prose ol.ncl-ordered li {
  position: relative;
  padding-left: 28px;
  color: var(--ink-mid);
  font-size: 17px;
  margin-bottom: 9px;
  line-height: 1.6;
}
.prose ol.ncl-ordered li::before {
  counter-increment: ncl-step;
  content: counter(ncl-step) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--orange);
  font-weight: 700;
}
.prose a {
  color: var(--green);
}
.prose a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════════════
   SITE FOOTER
   ══════════════════════════════════════════════ */
/* Site-wide search */
.search-layout {
  min-height: 62vh;
  padding-top: 64px;
}
.search-section {
  max-width: 800px;
  margin: 0 auto;
}
.search-section > h1 {
  margin-bottom: 1.5rem;
  color: var(--navy-light);
  font-size: clamp(28px, 3.5vw, 40px);
}
.site-search-form {
  width: 100%;
}
.site-search-form label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}
.site-search-controls {
  display: flex;
  gap: 0.65rem;
}
.site-search-controls input {
  min-width: 0;
  flex: 1;
  min-height: 56px;
  padding: 0.9rem 1.1rem;
  border: 2px solid #71806d;
  border-radius: var(--r-sm);
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 1.05rem;
}
.site-search-controls input:focus {
  outline: 3px solid rgba(194, 68, 22, 0.3);
  outline-offset: 2px;
  border-color: var(--orange);
}
.search-status {
  margin-top: 0.7rem;
  color: var(--ink-mid);
  font-size: 0.92rem;
}
.search-suggestions {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 1rem;
}
.search-suggestions > p {
  flex-shrink: 0;
  margin: 0;
  color: var(--ink-mid);
  font-size: 0.9rem;
}
.search-suggestion-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.search-suggestion {
  padding: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  color: var(--green);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}
.search-suggestion:hover {
  color: var(--orange-dark);
  background: transparent;
  transform: none;
}
.search-suggestion:focus-visible {
  outline: 3px solid rgba(194, 68, 22, 0.3);
  outline-offset: 2px;
}
.search-status {
  min-height: 1.5rem;
  font-weight: 600;
}
.search-results {
  max-width: 860px;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.search-result {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.search-result-type {
  display: inline-block;
  margin-bottom: 0.35rem;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.search-result h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
}
.search-result h3 a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.search-result p {
  color: var(--ink-mid);
  line-height: 1.65;
}
.search-empty {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
}
.search-empty h3 {
  margin-bottom: 0.35rem;
  color: var(--navy-light);
  font-size: 1.2rem;
}
.search-empty p {
  margin-bottom: 1rem;
  color: var(--ink-mid);
}
@media (max-width: 560px) {
  .search-layout {
    padding-top: 40px;
  }
  .site-search-controls {
    flex-direction: column;
  }
  .site-search-controls .btn {
    width: 100%;
  }
  .search-suggestions {
    display: block;
  }
  .search-suggestions > p {
    margin-bottom: 0.55rem;
  }
}

.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  line-height: 1.4;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: center;
}
.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-contact a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-contact a:hover {
  color: #fff;
}
