/* =========================================================================
   MRA Advies — stylesheet
   Palet: diep marineblauw + goud + crème (afgeleid van het logo)
   ========================================================================= */

:root {
  --navy-900: #0a1424;
  --navy-850: #0c1828;
  --navy-800: #0f1e33;
  --navy-700: #15263f;
  --navy-600: #1d3251;
  --gold:      #c9a24b;
  --gold-300:  #e2c87f;
  --gold-600:  #a9863a;
  --cream:     #f6f1e7;
  --cream-200: #efe7d6;
  --paper:     #fbf9f4;
  --ink:       #14202e;
  --ink-soft:  #43526a;
  --line:      #e4ddcd;
  --on-dark:        #eef2f8;
  --on-dark-soft:   #a9b8cc;

  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 50px -24px rgba(10, 20, 36, .45);
  --shadow-gold: 0 18px 50px -20px rgba(201, 162, 75, .5);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, 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-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy-900);
  padding: .6rem 1rem; z-index: 999; border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem; justify-content: center;
  font-family: var(--font-sans); font-weight: 600; font-size: .98rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-gold { background: linear-gradient(135deg, var(--gold-300), var(--gold)); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 60px -18px rgba(201,162,75,.65); }
.btn-navy { background: var(--navy-800); color: var(--on-dark); }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-3px); }
.btn-ghost { background: transparent; border-color: var(--gold); color: var(--gold-600); }
.btn-ghost:hover { background: var(--gold); color: var(--navy-900); }
.btn-ghost-light { background: transparent; border-color: rgba(238,242,248,.35); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-300); }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 20, 36, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,75,.18);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.6); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.brand-logo { height: 50px; width: auto; border-radius: 6px; }
.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .35rem; }
.nav-list a {
  color: var(--on-dark-soft); font-weight: 500; font-size: .96rem; padding: .5rem .85rem;
  border-radius: 8px; transition: color .2s, background .2s; position: relative;
}
.nav-list a:hover { color: var(--on-dark); }
.nav-list a[aria-current="page"] { color: var(--gold-300); }
.nav-cta { margin-left: .6rem; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--on-dark); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: var(--on-dark);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(201,162,75,.20), transparent 60%),
    radial-gradient(800px 600px at 10% 110%, rgba(29,50,81,.7), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-850) 55%, var(--navy-800));
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 70% 20%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding: 5.5rem 0 5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-300); margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4rem); color: #fff; margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--gold-300); }
.hero-lead { font-size: 1.18rem; color: var(--on-dark-soft); max-width: 33rem; margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-usps { display: flex; gap: 1.8rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-usps li { display: flex; align-items: center; gap: .55rem; color: var(--on-dark-soft); font-size: .95rem; }
.hero-usps .icon { width: 20px; height: 20px; color: var(--gold-300); }

.hero-card {
  position: relative; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(201,162,75,.28); border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow);
}
.hero-card img { border-radius: 12px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); }
.hero-card .ribbon {
  position: absolute; top: -14px; right: 22px; background: linear-gradient(135deg, var(--gold-300), var(--gold));
  color: var(--navy-900); font-weight: 700; font-size: .82rem; padding: .45rem 1rem; border-radius: 999px;
}
.hero-card h3 { color: #fff; margin: 1.2rem 0 .3rem; font-size: 1.35rem; }
.hero-card p { color: var(--on-dark-soft); font-size: .95rem; }

/* ---------- sections ---------- */
section { padding: 5rem 0; }
.section-head { max-width: 44rem; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--gold-600); }
.section-head .eyebrow::before { background: var(--gold-600); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.85rem); color: var(--navy-900); margin-bottom: .9rem; }
.section-head p { font-size: 1.1rem; color: var(--ink-soft); }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-900); color: var(--on-dark); }
.bg-navy h2 { color: #fff; }
.bg-navy .section-head p { color: var(--on-dark-soft); }

/* ---------- service grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem 1.5rem; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.svc-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); color: var(--gold-300); margin-bottom: 1.1rem;
}
.svc-icon .icon { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.18rem; color: var(--navy-900); margin-bottom: .5rem; }
.svc-card p { font-size: .96rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- packs ---------- */
.pack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; align-items: stretch; }
.pack {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 2rem 1.7rem; position: relative; transition: transform .3s var(--ease), box-shadow .3s;
}
.pack:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pack.featured { background: linear-gradient(170deg, var(--navy-800), var(--navy-900)); border-color: var(--gold); color: var(--on-dark); box-shadow: var(--shadow); }
.pack.featured h3, .pack.featured .pack-price { color: #fff; }
.pack.featured .pack-tagline { color: var(--gold-300); }
.pack.featured .pack-list li { color: var(--on-dark-soft); }
.pack-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-300), var(--gold)); color: var(--navy-900);
  font-weight: 700; font-size: .76rem; letter-spacing: .04em; padding: .4rem 1rem; border-radius: 999px; text-transform: uppercase;
}
.pack h3 { font-size: 1.4rem; color: var(--navy-900); margin-bottom: .25rem; }
.pack-tagline { font-size: .92rem; color: var(--gold-600); font-weight: 500; margin-bottom: 1.2rem; }
.pack-price { font-family: var(--font-serif); font-size: 2.6rem; font-weight: 600; color: var(--navy-900); line-height: 1; }
.pack-price small { font-size: .85rem; font-family: var(--font-sans); font-weight: 500; color: var(--ink-soft); display: block; margin-top: .4rem; }
.pack-desc { font-size: .94rem; color: var(--ink-soft); margin: 1.1rem 0 1.2rem; }
.pack.featured .pack-desc { color: var(--on-dark-soft); }
.pack-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.6rem; flex-grow: 1; }
.pack-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .94rem; color: var(--ink-soft); }
.pack-list .icon { width: 18px; height: 18px; color: var(--gold); flex: 0 0 auto; margin-top: .2rem; }
.pack.featured .pack-list .icon { color: var(--gold-300); }
.pack-note { font-size: .82rem; color: var(--ink-soft); margin-top: .9rem; font-style: italic; }

/* ---------- steps / werkwijze ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; padding: 2.2rem 1.5rem 1.6rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-size: 2.6rem; color: var(--gold); opacity: .55; display: block; margin-bottom: .6rem; line-height: 1;
}
.step h3 { font-size: 1.15rem; color: var(--navy-900); margin-bottom: .5rem; }
.step p { font-size: .94rem; color: var(--ink-soft); }
.bg-navy .step { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.08); }
.bg-navy .step h3 { color: #fff; }
.bg-navy .step p { color: var(--on-dark-soft); }

/* ---------- split / feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split.reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature-list { display: flex; flex-direction: column; gap: 1.2rem; margin-top: 1.6rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .icon-wrap { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; }
.feature-list .icon { width: 20px; height: 20px; }
.feature-list strong { display: block; color: var(--navy-900); font-family: var(--font-serif); font-size: 1.1rem; }
.feature-list p { font-size: .94rem; color: var(--ink-soft); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: 2.8rem; color: var(--gold-300); font-weight: 600; }
.stat .lbl { color: var(--on-dark-soft); font-size: .98rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 85% 0%, rgba(201,162,75,.18), transparent 60%),
    linear-gradient(135deg, var(--navy-800), var(--navy-900));
  border-radius: var(--radius-lg); padding: 3.2rem; text-align: center; color: var(--on-dark);
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: .8rem; }
.cta-band p { color: var(--on-dark-soft); max-width: 36rem; margin: 0 auto 1.8rem; font-size: 1.08rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- page hero (sub-pages) ---------- */
.page-hero { background:
    radial-gradient(900px 400px at 80% -20%, rgba(201,162,75,.16), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800)); color: var(--on-dark); padding: 4rem 0 3.6rem; }
.page-hero .eyebrow { color: var(--gold-300); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.3rem); color: #fff; margin-bottom: 1rem; max-width: 22ch; }
.page-hero p { color: var(--on-dark-soft); font-size: 1.15rem; max-width: 46rem; }
.crumbs { font-size: .85rem; color: var(--on-dark-soft); margin-bottom: 1.4rem; }
.crumbs a:hover { color: var(--gold-300); }

/* ---------- prose ---------- */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.7rem; color: var(--navy-900); margin: 2.4rem 0 .9rem; }
.prose h3 { font-size: 1.25rem; color: var(--navy-900); margin: 1.8rem 0 .6rem; }
.prose p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.prose ul { margin: 0 0 1.2rem; display: flex; flex-direction: column; gap: .5rem; }
.prose ul li { position: relative; padding-left: 1.5rem; color: var(--ink-soft); }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--gold); border-radius: 2px; transform: rotate(45deg); }
.prose a { color: var(--gold-600); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.contact-card .icon-wrap { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; }
.contact-card h3 { font-size: 1.05rem; color: var(--navy-900); margin-bottom: .15rem; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-size: .96rem; }
.contact-card a:hover { color: var(--gold-600); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy-900); margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-soft); margin-top: .8rem; }
.alert { padding: 1rem 1.2rem; border-radius: 10px; margin-bottom: 1.4rem; font-size: .96rem; }
.alert-success { background: #eaf6ec; border: 1px solid #bfe3c4; color: #1f5c2c; }
.alert-error { background: #fbeaea; border: 1px solid #efc4c4; color: #8a2222; }

/* ---------- checkout summary ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2.5rem; align-items: start; }
.order-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; position: sticky; top: 96px; }
.order-line { display: flex; justify-content: space-between; padding: .55rem 0; font-size: .96rem; color: var(--ink-soft); }
.order-total { display: flex; justify-content: space-between; border-top: 1.5px solid var(--line); margin-top: .6rem; padding-top: .9rem; font-family: var(--font-serif); font-size: 1.3rem; color: var(--navy-900); }
.pay-methods { display: flex; gap: .6rem; align-items: center; margin-top: 1.2rem; flex-wrap: wrap; }
.pay-methods span { font-size: .8rem; color: var(--ink-soft); }
.pay-chip { font-size: .78rem; font-weight: 600; color: var(--navy-800); background: var(--cream-200); padding: .3rem .65rem; border-radius: 6px; }

/* ---------- status page ---------- */
.status-box { max-width: 40rem; margin: 0 auto; text-align: center; padding: 3rem 2rem; }
.status-icon { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.5rem; }
.status-icon.ok { background: #eaf6ec; color: #2c8a43; }
.status-icon.wait { background: var(--cream); color: var(--gold-600); }
.status-icon.fail { background: #fbeaea; color: #b23b3b; }
.status-icon .icon { width: 40px; height: 40px; stroke-width: 2; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark-soft); padding-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { height: 56px; width: auto; border-radius: 6px; margin-bottom: 1rem; }
.footer-tag { font-size: .95rem; max-width: 24rem; }
.footer-col h3 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold-300); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a:hover { color: var(--on-dark); }
.footer-contact address { font-style: normal; font-size: .95rem; line-height: 1.9; }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: var(--on-dark-soft); }

/* ---------- reveal animation (alleen actief mét JavaScript) ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .svc-grid, .pack-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-card { max-width: 30rem; }
  .split, .contact-grid, .checkout-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .split.reverse .split-media { order: 0; }
  .order-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; z-index: 110; }
  .nav-list {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start;
    background: var(--navy-850); padding: 6rem 1.6rem 2rem; gap: .4rem;
    transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px -20px rgba(0,0,0,.7);
  }
  .nav-list.open { transform: none; }
  .nav-list a { width: 100%; font-size: 1.05rem; padding: .7rem .5rem; }
  .nav-cta { margin: .6rem 0 0; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 560px) {
  .svc-grid, .pack-grid, .steps, .stats, .form-row { grid-template-columns: 1fr; }
  section { padding: 3.4rem 0; }
  .cta-band { padding: 2.2rem 1.4rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn, .cta-actions .btn { flex: 1 1 auto; }
}
