/* ==========================================================================
   Kobalt IT B.V. — shared stylesheet
   Self-contained, system fonts only, no external requests.
   ========================================================================== */

:root {
  /* Palette */
  --cobalt: #1450E0;
  --cobalt-600: #103fb4;
  --navy: #0A2A6B;
  --cyan: #12B5C9;
  --cool-white: #F5F7FB;
  --border: #E1E7F2;
  --heading: #0E1A2B;
  --body: #33415A;
  --muted: #6A7690;
  --white: #ffffff;

  /* Typography (system sans only) */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

  /* Spacing & shape */
  --container: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(10, 42, 107, .06);
  --shadow: 0 8px 24px rgba(10, 42, 107, .10);
  --shadow-lg: 0 20px 48px rgba(10, 42, 107, .16);
  --ring: 0 0 0 3px rgba(20, 80, 224, .28);
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
strong { color: var(--heading); }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--cool-white); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.text-center { text-align: center; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.25rem;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--cobalt);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(20, 80, 224, .28);
}
.btn-primary:hover { background: var(--cobalt-600); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--cobalt); color: var(--cobalt); }
.btn-cyan { background: var(--cyan); color: #04323a; }
.btn-cyan:hover { background: #0fa1b3; color: #04323a; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.05rem; border-radius: 12px; }
.btn-block { width: 100%; }
/* On dark backgrounds */
.on-dark .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.35); }
.on-dark .btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* --------------------------------------------------------------------------
   Site header + nav
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 68px;
}
.brand { display: inline-flex; align-items: center; margin-right: auto; }
.brand img { height: 30px; width: auto; }
.brand:hover { text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--heading);
  border-radius: 2px;
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  color: var(--body);
  font-weight: 500;
  font-size: .96rem;
  padding: .35rem 0;
  position: relative;
}
.site-nav a:hover { color: var(--cobalt); text-decoration: none; }
.site-nav a.is-active { color: var(--heading); font-weight: 600; }
.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--cobalt);
  border-radius: 2px;
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding: .5rem 20px 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .site-nav li { border-bottom: 1px solid var(--border); }
  .site-nav a { display: block; padding: .85rem .25rem; }
  .site-nav a.is-active::after { display: none; }
  .site-nav .nav-cta { margin-top: 1rem; }
  .site-nav .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 68%);
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  text-align: center;
}
.hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .9;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { max-width: 780px; margin-inline: auto; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: var(--cyan); }
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: rgba(255, 255, 255, .85);
  margin: 1.25rem auto 2rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  gap: .9rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Generic page banner (interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--cobalt) 100%);
  color: var(--white);
  padding: clamp(2.75rem, 6vw, 4.5rem) 0;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 640px; margin-bottom: 0; }

/* --------------------------------------------------------------------------
   Stats band
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--cobalt);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat-label { color: var(--muted); font-size: .95rem; margin-top: .4rem; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Stats on dark backgrounds */
.on-dark .stat-num { color: var(--cyan); }
.on-dark .stat-label { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------------------
   Cards / feature grid
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  display: flex;
  flex-direction: column;
}
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d6ee; text-decoration: none; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .card-more { margin-top: auto; font-weight: 600; color: var(--cobalt); }

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(20, 80, 224, .08);
  color: var(--cobalt);
  margin-bottom: 1.1rem;
}
.icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------
   Process (Werkwijze) — numbered steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}
.step { position: relative; padding-top: .5rem; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cobalt);
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .steps { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Pricing table
   -------------------------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.price-card.is-popular {
  border-color: var(--cobalt);
  box-shadow: var(--shadow);
  position: relative;
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cobalt);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .8rem;
  border-radius: 999px;
}
.price-name { font-size: 1.2rem; font-weight: 700; color: var(--heading); }
.price-tag { margin: .75rem 0 .25rem; }
.price-amount { font-size: 2.1rem; font-weight: 700; color: var(--heading); letter-spacing: -0.02em; }
.price-period { color: var(--muted); font-size: .95rem; }
.price-desc { color: var(--muted); margin: .5rem 0 1.25rem; }
.price-features { list-style: none; padding: 0; margin: 0 0 1.75rem; }
.price-features li {
  position: relative;
  padding: .45rem 0 .45rem 1.75rem;
  border-top: 1px solid var(--border);
  color: var(--body);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0; top: .95rem;
  width: 12px; height: 7px;
  border-left: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.price-card .btn { margin-top: auto; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* --------------------------------------------------------------------------
   Prose (article typography)
   -------------------------------------------------------------------------- */
.prose { max-width: 720px; }
.prose h2 { margin-top: 2.5rem; }
.prose h3 { margin-top: 1.75rem; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { margin-bottom: 1.25rem; }
.prose li { margin-bottom: .4rem; }
.prose blockquote {
  margin: 1.75rem 0;
  padding: .5rem 0 .5rem 1.5rem;
  border-left: 3px solid var(--cobalt);
  color: var(--heading);
  font-size: 1.15rem;
  font-style: italic;
}
.prose figure { margin: 1.75rem 0; }
.prose figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; text-align: center; }
.prose a { text-decoration: underline; text-underline-offset: 2px; }
.prose code {
  background: var(--cool-white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .1rem .4rem;
  font-size: .9em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* --------------------------------------------------------------------------
   Blog list / cards + badges
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--cobalt);
  background: rgba(20, 80, 224, .08);
  border-radius: 999px;
  padding: .25rem .7rem;
}
.badge-cyan { color: #077785; background: rgba(18, 181, 201, .12); }
.post-meta { color: var(--muted); font-size: .9rem; }
.post-card { }
.post-card h3 { margin: .75rem 0 .5rem; font-size: 1.2rem; }
.post-card h3 a { color: var(--heading); }
.post-card h3 a:hover { color: var(--cobalt); text-decoration: none; }
.post-card p { color: var(--muted); }

/* --------------------------------------------------------------------------
   Testimonial / quote
   -------------------------------------------------------------------------- */
.quote {
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}
.quote blockquote {
  font-size: clamp(1.25rem, 3vw, 1.7rem);
  line-height: 1.4;
  color: var(--heading);
  font-weight: 500;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}
.quote-author { display: flex; align-items: center; justify-content: center; gap: .85rem; }
.quote-author .avatar { width: 46px; height: 46px; }
.quote-author .who { text-align: left; }
.quote-author .who strong { display: block; color: var(--heading); }
.quote-author .who span { color: var(--muted); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Team grid + monogram avatar
   -------------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.team-member { text-align: center; }
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cobalt), var(--navy));
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .02em;
  margin: 0 auto .9rem;
}
.avatar.avatar-cyan { background: linear-gradient(135deg, var(--cyan), var(--cobalt)); }
.team-member h3 { font-size: 1.1rem; margin-bottom: .15rem; }
.team-member .role { color: var(--cobalt); font-weight: 600; font-size: .9rem; }
@media (max-width: 820px) { .team { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.form { max-width: 620px; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 600; color: var(--heading); margin-bottom: .4rem; font-size: .95rem; }
.field .hint { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
select, textarea {
  width: 100%;
  font: inherit;
  color: var(--heading);
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: var(--ring);
}
textarea { min-height: 140px; resize: vertical; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; font-size: .92rem; color: var(--muted); }
.form-check input { width: auto; margin-top: .25rem; }

/* Notices / alerts */
.notice {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.15rem;
  background: var(--cool-white);
  color: var(--body);
}
.notice-success { border-color: rgba(18,181,201,.4); background: rgba(18,181,201,.1); color: #0a5a66; }
.notice-info { border-color: rgba(20,80,224,.3); background: rgba(20,80,224,.06); color: var(--navy); }
.notice-warn { border-color: #f0d68a; background: #fdf6e3; color: #7a5b12; }
.form-result { margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   Login card
   -------------------------------------------------------------------------- */
.login-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.login-card h1 { font-size: 1.5rem; }

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 1rem 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.breadcrumb li::after { content: "/"; margin-left: .4rem; color: var(--border); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--cobalt); }
.breadcrumb [aria-current="page"] { color: var(--body); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--cobalt) 0%, var(--navy) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 1.75rem; }

/* --------------------------------------------------------------------------
   Tables (responsive)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}
.table th, .table td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.table th { color: var(--heading); font-weight: 700; background: var(--cool-white); }
.table tr:last-child td { border-bottom: 0; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(4rem, 12vw, 8rem) 0; }
.error-code {
  font-size: clamp(4rem, 16vw, 8rem);
  font-weight: 800;
  line-height: 1;
  color: var(--cobalt);
  letter-spacing: -0.04em;
}

/* --------------------------------------------------------------------------
   Footer (dark)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  padding: 3.5rem 0 2rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
}
.footer-brand img { height: 28px; margin-bottom: 1rem; }
.footer-brand p { max-width: 30ch; color: rgba(255,255,255,.62); }
.site-footer h4 {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255, 255, 255, .72); }
.site-footer a:hover { color: var(--cyan); text-decoration: none; }
.site-footer address { font-style: normal; color: rgba(255,255,255,.62); line-height: 1.7; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.55);
  font-size: .85rem;
}
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-bottom a { color: rgba(255,255,255,.55); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 2rem; }
.stack > * + * { margin-top: 1rem; }
.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;
}
