/* ==========================================================
   MdM Academy — stylesheet
   ========================================================== */
:root {
  --ink: #0b1b33;
  --ink-2: #1c2f4d;
  --navy: #0f2a4f;
  --muted: #5a6a82;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --cream: #faf7f2;
  --accent: #e8743b;
  --accent-dark: #c95a24;
  --accent-soft: #fdeee5;
  --blue: #3a6df0;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(11, 27, 51, .06), 0 8px 24px rgba(11, 27, 51, .06);
  --shadow-lg: 0 2px 4px rgba(11, 27, 51, .05), 0 24px 60px rgba(11, 27, 51, .12);
  --max: 1180px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
em.hl { font-style: italic; color: var(--accent); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #dfe6f1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-dark); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: #f2a274; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 640px; }
.section--dark .lead { color: #a9b6ca; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer; transition: all .2s ease; white-space: nowrap;
  font-family: inherit;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 6px 18px rgba(232, 116, 59, .3); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent-soft); }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 20px rgba(11, 27, 51, .04); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 10px; background: var(--ink); color: #fff;
  display: grid; place-items: center; font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  position: relative; overflow: hidden;
}
.logo-mark::after {
  content: ""; position: absolute; right: -6px; bottom: -6px; width: 16px; height: 16px;
  background: var(--accent); border-radius: 50%;
}
.logo small { display: block; font-size: .68rem; font-weight: 500; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--ink-2); position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .btn { padding: 11px 20px; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; border-radius: 2px; }

/* Hero */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 10%, rgba(232, 116, 59, .12), transparent 60%),
    radial-gradient(700px 500px at 100% 80%, rgba(58, 109, 240, .08), transparent 60%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--accent); }

.hero-visual { position: relative; }
.roadmap-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 28px; border: 1px solid var(--line); position: relative; z-index: 2;
}
.rc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.rc-title { font-weight: 600; font-size: 1rem; }
.rc-sub { font-size: .8rem; color: var(--muted); }
.rc-badge { font-size: .72rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #e7f6ee; color: #1d8a52; }
.rc-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rc-steps li {
  display: grid; grid-template-columns: 34px 1fr auto; gap: 14px; align-items: center;
  padding: 14px; border-radius: 12px; background: var(--bg-soft); font-size: .92rem;
}
.rc-steps .dot {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; font-size: .85rem; background: #fff; border: 1px solid var(--line); color: var(--muted);
}
.rc-steps li.done .dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.rc-steps li.now { background: var(--accent-soft); }
.rc-steps li.now .dot { background: var(--accent); color: #fff; border-color: var(--accent); }
.rc-steps b { display: block; font-weight: 600; }
.rc-steps small { color: var(--muted); font-size: .8rem; }
.rc-steps .tag { font-size: .75rem; color: var(--muted); }
.rc-progress { margin-top: 22px; }
.rc-progress-top { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-bottom: 8px; }
.bar { height: 8px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 62%; background: linear-gradient(90deg, var(--ink), var(--accent)); border-radius: 999px; }
.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: .85rem; border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
.float-card .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-dark); }
.float-card .ic svg { width: 18px; height: 18px; }
.float-card b { display: block; font-size: 1.05rem; }
.float-card small { color: var(--muted); }
.float-card.fc-1 { left: -48px; bottom: -34px; }
.float-card.fc-2 { right: -36px; top: -54px; animation-delay: -3s; }
.hero-blob {
  position: absolute; inset: 30px -30px -30px 30px; border-radius: var(--radius-lg);
  background: repeating-linear-gradient(135deg, rgba(15, 42, 79, .06) 0 2px, transparent 2px 12px); z-index: 1;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 44px 36px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 4.5vw, 3.4rem); line-height: 1; color: var(--ink); margin-bottom: 12px; }
.stat-num span { color: var(--accent); }
.stat p { color: var(--muted); font-size: .95rem; margin: 0 0 10px; max-width: 300px; }
.stat cite { font-style: normal; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a97ab; }

/* Approach / pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar { padding: 34px 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); position: relative; }
.pillar-num { font-family: var(--serif); font-size: 1rem; color: var(--accent-dark); margin-bottom: 26px; display: block; }
.pillar-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.pillar-icon svg { width: 24px; height: 24px; }
.pillar p { color: var(--muted); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.service {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  padding: 36px 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service--featured { background: var(--ink); color: #c9d4e4; border-color: var(--ink); }
.service--featured h3 { color: #fff; }
.service--featured .service-meta div { background: rgba(255, 255, 255, .06); color: #e7ecf4; }
.service--featured .service-meta small { color: #93a3bb; }
.service--featured .checks li::before { background-color: var(--accent); }
.service--featured .service-desc { color: #a9b6ca; }
.ribbon {
  position: absolute; top: 22px; right: 22px; font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  background: var(--accent); color: #fff; padding: 5px 11px; border-radius: 999px;
}
.service-kicker { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px; }
.service--featured .service-kicker { color: #f2a274; }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; margin-bottom: 12px; }
.service-desc { color: var(--muted); font-size: .98rem; margin-bottom: 24px; }
.service-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.service-meta div { background: var(--bg-soft); border-radius: 10px; padding: 12px 14px; font-size: .9rem; font-weight: 600; }
.service-meta small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 12px; font-size: .95rem; flex: 1; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 27px; left: 12%; right: 12%; height: 2px; background: rgba(255, 255, 255, .12); }
.step { text-align: center; padding: 0 20px; position: relative; }
.step-dot {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 24px; display: grid; place-items: center;
  background: var(--ink-2); border: 2px solid rgba(255, 255, 255, .15); color: #fff; font-family: var(--serif); font-size: 1.2rem;
  position: relative; z-index: 1;
}
.step:first-child .step-dot { background: var(--accent); border-color: var(--accent); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: #a9b6ca; font-size: .94rem; margin: 0; }

/* About teaser */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: center; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy), var(--ink));
  position: relative; overflow: hidden; display: grid; place-items: center; color: #fff;
}
.portrait::before {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 116, 59, .55), transparent 70%); top: -10%; right: -15%;
}
.portrait-initials { font-family: var(--serif); font-size: 7rem; line-height: 1; opacity: .95; position: relative; }
.portrait-caption {
  position: absolute; left: 20px; right: 20px; bottom: 20px; background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 14px; padding: 16px 18px;
}
.portrait-caption b { display: block; font-size: 1.05rem; }
.portrait-caption small { color: #c4cfdf; }
.quote { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.4; color: var(--ink); border-left: 3px solid var(--accent); padding-left: 24px; margin: 28px 0; font-style: italic; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 36px; }
.value { padding: 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.value b { display: block; margin-bottom: 4px; font-size: .98rem; }
.value small { color: var(--muted); font-size: .86rem; line-height: 1.5; display: block; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 1.08rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center/14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center/2px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 48px; margin: -6px 0 22px; }

/* CTA band */
.cta-band {
  background: var(--ink); border-radius: 28px; padding: 72px 64px; color: #fff; position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta-band::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(232, 116, 59, .45), transparent 65%);
}
.cta-band h2 { color: #fff; margin-bottom: 12px; position: relative; }
.cta-band p { color: #b8c4d6; margin: 0; font-size: 1.1rem; position: relative; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; position: relative; }

/* Page hero (subpages) */
.page-hero { padding: 96px 0 72px; background: var(--cream); position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 116, 59, .16), transparent 65%);
}
.page-hero .lead { max-width: 720px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent-dark); }

/* Story */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.mv { display: grid; gap: 18px; }
.mv-card { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.mv-card h3 { display: flex; align-items: center; gap: 12px; }
.mv-card h3 i { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.mv-card h3 svg { width: 18px; height: 18px; }
.mv-card p { color: var(--muted); margin: 0; }
.prose p { color: var(--ink-2); font-size: 1.08rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 14px; }
.contact-list li a, .contact-list li > div {
  display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.contact-list li a:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.contact-list .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; flex: none; }
.contact-list .ic svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list b { font-weight: 600; }
.company-data { font-size: .88rem; color: var(--muted); line-height: 1.8; }
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 40px; border: 1px solid var(--line); }
.form-card h2 { font-size: 1.9rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: .98rem;
  color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(232, 116, 59, .12); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; padding: 16px; border-radius: 10px; background: #e7f6ee; color: #1d6b43; font-size: .92rem; margin-top: 16px; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); margin-top: 0; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; filter: grayscale(.3); }

/* Footer */
.site-footer { background: var(--ink); color: #9fadc2; padding: 80px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer .logo-mark { background: #fff; color: var(--ink); }
.site-footer .logo small { color: #7f8ea6; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 28px; font-size: .84rem; color: #7f8ea6; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-card { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .services, .pillars { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .process { grid-template-columns: 1fr 1fr; gap: 48px 0; }
  .process::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; padding: 56px 40px; }
  .portrait { max-width: 420px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11, 27, 51, .08);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav-links li a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { margin-top: 18px; }
  .nav-links .btn { width: 100%; }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 80px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px 0; }
  .stat:last-child { border-bottom: 0; }
  .values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .float-card.fc-1 { left: -8px; } .float-card.fc-2 { right: -8px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 56px 0 72px; }
  .process { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .cta-band { padding: 44px 26px; border-radius: 22px; }
  .float-card { display: none; }
  .service-meta { grid-template-columns: 1fr; }
}

/* Contactkaarten */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.contact-card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.contact-card .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; margin-bottom: 24px; }
.contact-card .ic svg { width: 24px; height: 24px; }
.contact-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: 10px; }
.contact-card p { color: var(--muted); font-size: .98rem; flex: 1; }
.contact-value { display: block; font-weight: 600; font-size: 1.05rem; margin: 8px 0 24px; }
@media (max-width: 1024px) { .contact-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Foto */
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.portrait-caption { z-index: 2; }

/* Aanbod in groepen */
.service-group + .service-group { margin-top: 80px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 32px; }
.group-head h3 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin: 0; }
.group-head p { color: var(--muted); margin: 0; max-width: 520px; }

/* Kerncijfers in over-blok */
.value b.big { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--ink); line-height: 1.1; }

/* Modern Analytics Lab */
.mal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mal-grid .lead { margin-bottom: 30px; }
.mal-list { display: grid; gap: 14px; }
.mal-item { display: flex; gap: 18px; align-items: center; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; }
.mal-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.mal-item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.mal-item .ic svg { width: 22px; height: 22px; }
.mal-item b { display: block; font-size: 1.02rem; }
.mal-item small { color: var(--muted); font-size: .9rem; }

/* Tijdlijn */
.timeline { list-style: none; padding: 0; margin: 0 auto; max-width: 820px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 132px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 112px 1fr; gap: 40px; padding: 0 0 36px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 126px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); }
.tl-year { font-weight: 600; font-size: .9rem; color: var(--accent-dark); text-align: right; padding-top: 2px; }
.timeline b { display: block; font-size: 1.1rem; }
.timeline small { display: block; color: var(--ink-2); font-weight: 500; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; font-size: .96rem; }
@media (max-width: 1024px) { .mal-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) {
  .timeline::before { left: 6px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .timeline li::before { left: 0; }
  .tl-year { text-align: left; }
}
.portrait-caption { background: rgba(11, 27, 51, .78); border-color: rgba(255, 255, 255, .12); }

/* Brede kaart AI voor data-analyse */
.service--wide {
  grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, var(--accent-soft), #fff 70%); border-color: #f6d3bf;
}
.service--wide h3 { font-size: 2.1rem; }
.service--wide .service-meta { margin-bottom: 0; max-width: 360px; }
.service--wide .service-meta div { background: #fff; }
.service--wide .checks { margin-bottom: 26px; }
.service--wide .checks li::before { background-color: var(--accent); }
@media (max-width: 1024px) { .service--wide { grid-template-columns: 1fr; gap: 24px; } }
