/* ============================================================
   Mamuth — AI Specialist
   Stylesheet
   ============================================================ */

:root {
  --navy:      #0b1322;
  --navy-2:    #111c33;
  --ink:       #1a2435;
  --bg:        #f5f6f9;
  --bg-2:      #eef0f5;
  --card:      #ffffff;
  --muted:     #59647a;
  --line:      #e2e5ec;
  --brand:     #4f6bff;
  --brand-d:   #3a52e0;
  --brand-2:   #00bfa6;
  --accent:    #ffb020;
  --ok:        #2bb673;
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 10px 30px rgba(15, 25, 55, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 25, 55, 0.16);
  --maxw:      1180px;
  --font:      "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-d); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { padding-left: 1.1rem; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.2rem; }

/* ---------- language utility ---------- */
html[lang="nl"] [data-lang="en"] { display: none !important; }
html[lang="en"] [data-lang="nl"] { display: none !important; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-2); }
.section--dark { background: var(--navy); color: #cdd6e6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: 44px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-d);
  margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--brand-2); }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 14px; }
.section--dark .lead { color: #aab6cc; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(79,107,255,.35); }
.btn--primary:hover { background: var(--brand-d); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-d); }
.btn--light { background: #fff; color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand__mark { width: 36px; height: 36px; flex: none; }
.brand__name {
  font-size: 1.32rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--ink);
}
.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 9px 13px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 0.96rem;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav__link:hover { background: var(--bg-2); text-decoration: none; color: var(--brand-d); }
.nav__link.is-active { color: var(--brand-d); }
.nav__link--cta {
  background: var(--brand); color: #fff; margin-left: 8px;
}
.nav__link--cta:hover { background: var(--brand-d); color: #fff; }
.nav__item { position: relative; }
.nav__dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none;
}
.nav__item.is-open .nav__dropdown { display: block; }
.nav__dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 600; font-size: 0.94rem;
}
.nav__dropdown a:hover { background: var(--bg-2); text-decoration: none; }
.nav__dropdown small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }
.lang-toggle {
  display: flex; margin-left: 10px;
  border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-btn {
  border: none; background: #fff; cursor: pointer;
  padding: 6px 11px; font-weight: 700; font-size: 0.8rem;
  color: var(--muted); font-family: inherit;
}
html[lang="nl"] .lang-btn[data-lang-set="nl"],
html[lang="en"] .lang-btn[data-lang-set="en"] { background: var(--brand); color: #fff; }
.nav__toggle {
  display: none; margin-left: auto;
  width: 42px; height: 42px; border: 1px solid var(--line);
  background: #fff; border-radius: 9px; cursor: pointer;
  flex-direction: column; gap: 4px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 19px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  background: radial-gradient(900px 500px at 80% -10%, rgba(79,107,255,.30), transparent 60%),
              radial-gradient(700px 500px at 5% 110%, rgba(0,191,166,.22), transparent 55%),
              var(--navy);
  color: #e7ecf6; overflow: hidden;
}
.hero__inner { padding: 96px 0 104px; max-width: 760px; }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--brand-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: 1.18rem; color: #b3bfd6; margin: 22px 0 32px; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  font-size: 0.85rem; font-weight: 600; color: #cdd6e6; margin-bottom: 22px;
}
.hero__pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 38px; margin-top: 52px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 30px;
}
.hero__stat .num {
  font-size: 1.9rem; font-weight: 800; color: #fff; letter-spacing: -0.02em;
}
.hero__stat .lbl { font-size: 0.88rem; color: #97a3bd; }

/* ============================================================
   Cards / grids
   ============================================================ */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #cdd3e0; text-decoration: none; }
.card__num { font-size: 0.82rem; font-weight: 700; color: var(--brand-d); }
.card__icon {
  width: 50px; height: 50px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.97rem; }
.card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; font-weight: 700; font-size: 0.9rem; color: var(--brand-d);
}

/* service cards (numbered) */
.service {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px;
}
.service__no {
  flex: none; width: 46px; height: 46px; border-radius: 11px;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.05rem;
}
.service h3 { margin-bottom: 6px; }
.service p { color: var(--muted); font-size: 0.97rem; }

/* sector cards */
.sector {
  position: relative; display: block;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .16s ease, box-shadow .16s ease;
}
.sector:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.sector__top { height: 116px; display: flex; align-items: center; justify-content: center; }
.sector--energie .sector__top { background: linear-gradient(135deg, #ffb020, #ff7a45); }
.sector--zorg .sector__top    { background: linear-gradient(135deg, #00bfa6, #2f80ff); }
.sector--maak .sector__top    { background: linear-gradient(135deg, #4f6bff, #8e7cff); }
.sector__top svg { width: 52px; height: 52px; color: #fff; }
.sector__body { padding: 22px 24px 26px; }
.sector__body h3 { margin-bottom: 6px; }
.sector__body p { color: var(--muted); font-size: 0.95rem; }
.sector__body .card__more { color: var(--ink); }

/* feature list with check */
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; font-size: 0.99rem; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%; background: var(--brand-2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* steps */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 24px 24px 76px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 22px; top: 22px;
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* split section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split__media {
  border-radius: var(--radius); padding: 34px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  color: #cdd6e6;
}

/* stat strip */
.statstrip { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.statstrip .num { font-size: 2rem; font-weight: 800; color: var(--brand-d); }
.statstrip .lbl { color: var(--muted); font-size: 0.92rem; }

/* tags */
.taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.8rem; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; background: var(--bg-2); color: var(--muted);
  border: 1px solid var(--line);
}

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  background: radial-gradient(700px 380px at 88% -30%, rgba(79,107,255,.28), transparent 60%),
              var(--navy);
  color: #e7ecf6; padding: 70px 0 78px;
}
.page-hero .crumbs { font-size: 0.85rem; color: #8b97b3; margin-bottom: 16px; }
.page-hero .crumbs a { color: #b9c3da; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero p { color: #aeb9d2; max-width: 660px; margin-top: 16px; font-size: 1.1rem; }
.page-hero__tags { margin-top: 24px; }
.page-hero__tags .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #cdd6e6; }

/* problem cards */
.problem {
  background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm); padding: 22px 24px;
}
.problem h3 { font-size: 1.05rem; margin-bottom: 6px; }
.problem p { color: var(--muted); font-size: 0.95rem; }

/* cta band */
.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-2));
  color: #fff; border-radius: 20px; padding: 52px 46px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: 8px; max-width: 460px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--navy); color: #9aa6c0; padding: 64px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.site-footer .brand__name { color: #fff; }
.footer-about { color: #8d99b5; font-size: 0.95rem; margin-top: 14px; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; color: #9aa6c0; font-size: 0.94rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  padding-top: 24px; font-size: 0.86rem; color: #75809b;
}

/* ============================================================
   AI Catalogue
   ============================================================ */
.catalog-controls {
  position: sticky; top: 70px; z-index: 20;
  background: var(--bg); padding: 20px 0 14px;
  border-bottom: 1px solid var(--line);
}
.search-wrap { position: relative; margin-bottom: 14px; }
.search-wrap svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; color: var(--muted);
}
.search-input {
  width: 100%; padding: 14px 16px 14px 46px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 1rem; font-family: inherit; background: #fff;
}
.search-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,107,255,.15); }
.filter-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.filter-group { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.filter-group__label { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.chip {
  border: 1.5px solid var(--line); background: #fff;
  border-radius: 999px; padding: 6px 13px;
  font-size: 0.84rem; font-weight: 600; color: var(--ink);
  cursor: pointer; font-family: inherit;
  transition: all .12s ease;
}
.chip:hover { border-color: var(--brand); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--deploy.is-active { background: var(--brand-2); border-color: var(--brand-2); }
.catalog-meta { font-size: 0.88rem; color: var(--muted); margin: 16px 0; }
.catalog-meta b { color: var(--ink); }

/* category section */
.cat-block { margin-bottom: 14px; }
.cat-block__head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0 10px; margin-top: 18px;
}
.cat-block__chip {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.82rem; color: #fff;
  background: var(--cat);
}
.cat-block__title { font-size: 1.16rem; }
.cat-block__count { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.cat-block__desc { font-size: 0.9rem; color: var(--muted); margin-top: 2px; }

/* element grid */
.element-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
  gap: 10px;
}
.element {
  position: relative; cursor: pointer;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: 1.5px solid color-mix(in srgb, var(--cat) 45%, white);
  background: color-mix(in srgb, var(--cat) 12%, white);
  padding: 9px;
  display: flex; flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
  text-align: left;
}
.element:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 26px rgba(15,25,55,.18);
  z-index: 2;
}
.element__num { font-size: 0.68rem; font-weight: 700; color: color-mix(in srgb, var(--cat) 70%, black); }
.element__deploy {
  position: absolute; top: 7px; right: 8px;
  font-size: 0.6rem; font-weight: 800; letter-spacing: .03em;
  padding: 2px 6px; border-radius: 6px;
}
.dep-cloud     { background: #dbe6ff; color: #2747b8; }
.dep-soeverein { background: #d2f3e7; color: #0a7d5e; }
.dep-beide     { background: #ece2ff; color: #6a3fc0; }
.element__sym {
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--cat) 78%, black);
  margin: auto 0 2px;
}
.element__name {
  font-size: 0.72rem; font-weight: 600; line-height: 1.25;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.element__type {
  position: absolute; bottom: 7px; right: 8px;
  width: 8px; height: 8px; border-radius: 2px;
}
.no-results { padding: 40px; text-align: center; color: var(--muted); }

/* legend */
.legend {
  display: flex; flex-wrap: wrap; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 8px;
}
.legend__item { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.legend__sw { width: 16px; height: 16px; border-radius: 5px; }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,19,34,.62); backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center; padding: 22px;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  background: #fff; border-radius: 18px; max-width: 540px; width: 100%;
  box-shadow: var(--shadow-lg); overflow: hidden;
  max-height: 88vh; overflow-y: auto;
}
.modal__head { padding: 26px 28px; color: #fff; }
.modal__cat { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.modal__sym { font-size: 2.4rem; font-weight: 800; margin: 4px 0; }
.modal__name { font-size: 1.25rem; font-weight: 700; }
.modal__body { padding: 24px 28px 28px; }
.modal__desc { color: var(--ink); margin-bottom: 18px; }
.modal__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.modal__close {
  position: absolute; top: 16px; right: 18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: none; cursor: pointer;
  color: #fff; font-size: 1.3rem; line-height: 1;
}
.modal__tools-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .statstrip { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav__toggle { display: flex; }
  .nav__menu {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 14px; gap: 4px; display: none;
    box-shadow: var(--shadow);
  }
  .nav__menu.is-open { display: flex; }
  .nav__link { padding: 12px 13px; }
  .nav__link--cta { margin: 6px 0 0; justify-content: center; }
  .nav__dropdown { position: static; display: none; box-shadow: none; border: none; padding: 4px 0 4px 14px; }
  .nav__item.is-open .nav__dropdown { display: block; }
  .lang-toggle { margin: 8px 0 0; align-self: flex-start; }
  .catalog-controls { position: static; }
}
@media (max-width: 580px) {
  .section { padding: 58px 0; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 36px 26px; }
  .hero__inner { padding: 64px 0 70px; }
  .element-grid { grid-template-columns: repeat(auto-fill, minmax(98px,1fr)); }
}
