/* ===================================================
   MENSURA ADVIES - COMPLETE STYLESHEET
   Modern redesign 2024
=================================================== */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* ── Mensura brand colours (extracted from logo & tarieven PDF) ── */
  --primary:       #3B3380;   /* rich brand purple                  */
  --primary-light: #6558B8;   /* medium purple – hover states       */
  --primary-dark:  #1E1A42;   /* deep navy-purple – headers/footer  */
  --accent:        #8878C8;   /* soft purple accent – badges, CTAs  */
  --accent-light:  #B8AEE4;   /* light purple                       */
  --accent-dark:   #5548A8;   /* darker accent                      */
  --teal:          #5870C8;   /* blue-purple complement             */
  --lavender:      #C5B8EA;   /* Mensura brand lavender (PDF bg)    */
  --lavender-light:#EDE9F8;   /* very light lavender – alt sections */
  --success:       #28B463;
  --white:         #FFFFFF;
  --off-white:     #F8F7FD;
  --gray-50:       #F2F0FA;
  --gray-100:      #E4E0F4;
  --gray-200:      #C8C4DC;
  --gray-400:      #9490B4;
  --gray-600:      #5A5575;
  --gray-800:      #2A2545;
  --text:          #1E1A42;
  --text-light:    #5A5575;

  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow:     0 4px 16px rgba(0,0,0,.10);
  --shadow-md:  0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:  0 20px 60px rgba(0,0,0,.15);
  --shadow-xl:  0 32px 80px rgba(0,0,0,.18);

  --transition: .3s cubic-bezier(.4,0,.2,1);
  --font-body: 'Inter', 'Segoe UI', Arial, sans-serif;
  --font-head: 'Poppins', 'Inter', Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--primary-dark);
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-light); }

.section-label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .5rem;
  display: block;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.75;
}

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.container--narrow {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: var(--lavender-light);
}

.section--dark {
  background: var(--primary-dark);
  color: var(--white);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--font-body);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(136,120,200,.4);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(136,120,200,.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- NAVIGATION ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: .6rem 0;
}

.navbar.hero-dark {
  background: transparent;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.navbar__logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.navbar.scrolled .navbar__logo img {
  height: 60px;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
  list-style: none;
}

.navbar__links a {
  padding: .5rem .9rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-400);
  transition: var(--transition);
}

.navbar.hero-dark .navbar__links a {
  color: rgba(255,255,255,.9);
}

.navbar__links a:hover,
.navbar__links a.active {
  background: var(--lavender-light);
  color: var(--primary);
}

.navbar.hero-dark .navbar__links a:hover,
.navbar.hero-dark .navbar__links a.active {
  background: rgba(255,255,255,.15);
  color: var(--white);
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.navbar__phone {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--lavender);
  transition: var(--transition);
}

.navbar.hero-dark .navbar__phone {
  color: rgba(255,255,255,.9);
}

.navbar__phone svg { width: 16px; height: 16px; }
.navbar__phone:hover { color: var(--accent); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.hero-dark .navbar__burger span {
  background: var(--white);
}

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
}

.navbar__mobile.open {
  display: flex;
}

.navbar__mobile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.navbar__mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.navbar__mobile-links a {
  display: block;
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-dark);
  border-radius: var(--radius);
  transition: var(--transition);
}

.navbar__mobile-links a:hover {
  background: var(--lavender-light);
  color: var(--primary);
}

.navbar__mobile-footer {
  padding-top: 2rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, #1A5C8A 100%);
  z-index: 0;
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.mensura-advies.nl/.cm4all/uproc.php/0/.bitmap2.png/picture-1200') center/cover no-repeat;
  opacity: .06;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
  z-index: 1;
}

/* Animated shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: .08;
  animation: float 8s ease-in-out infinite;
}

.hero__shape--1 {
  width: 600px;
  height: 600px;
  background: var(--accent);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.hero__shape--2 {
  width: 400px;
  height: 400px;
  background: var(--teal);
  bottom: 50px;
  left: -150px;
  animation-delay: -3s;
}

.hero__shape--3 {
  width: 200px;
  height: 200px;
  background: var(--white);
  top: 40%;
  right: 30%;
  animation-delay: -6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 0;
}

.hero__text {
  color: var(--white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: .4rem 1rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
  letter-spacing: .05em;
}

.hero__badge span {
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.3); }
}

.hero__title {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero__title .highlight {
  color: var(--accent-light);
  position: relative;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.15);
}

.hero__stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero__stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .2rem;
}

/* Hero visual card */
.hero__visual {
  position: relative;
  z-index: 2;
}

.hero__card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.hero__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
}

.hero__video-thumb {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.3);
  margin-bottom: 1.5rem;
}

.hero__video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero__play-btn span {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}

.hero__play-btn span svg {
  width: 24px;
  height: 24px;
  fill: var(--primary);
  margin-left: 3px;
}

.hero__play-btn:hover span {
  transform: scale(1.1);
  background: var(--accent);
}
.hero__play-btn:hover span svg { fill: var(--white); }

.hero__card-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero__card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.hero__card-text {
  color: rgba(255,255,255,.9);
}

.hero__card-text strong {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
}

.hero__card-text span {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* Floating badge */
.hero__float-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .75rem;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero__float-badge .badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--success), #34d399);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__float-badge .badge-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.hero__float-badge .badge-text strong {
  display: block;
  font-size: .9rem;
  color: var(--text);
}

.hero__float-badge .badge-text span {
  font-size: .75rem;
  color: var(--text-light);
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
  z-index: 5;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-600);
}

.trust-bar__item svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ---------- WHY US ---------- */
.why-us__header {
  text-align: center;
  margin-bottom: 4rem;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gray-200);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card__icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.why-card__icon svg {
  width: 28px;
  height: 28px;
}

.why-card:nth-child(1) .why-card__icon { background: rgba(59,51,128,.1); color: var(--primary); }
.why-card:nth-child(2) .why-card__icon { background: rgba(88,112,200,.1); color: var(--teal); }
.why-card:nth-child(3) .why-card__icon { background: rgba(136,120,200,.1); color: var(--accent); }
.why-card:nth-child(4) .why-card__icon { background: rgba(40,180,99,.1); color: var(--success); }
.why-card:nth-child(5) .why-card__icon { background: rgba(99,102,241,.1); color: #6366F1; }
.why-card:nth-child(6) .why-card__icon { background: rgba(239,68,68,.1); color: #EF4444; }

.why-card:hover .why-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.why-card h3 {
  font-size: 1.15rem;
  margin-bottom: .75rem;
  color: var(--primary-dark);
}

/* ---------- SERVICES ---------- */
.services__header {
  text-align: center;
  margin-bottom: 4rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gray-100);
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.08);
}

.service-card__body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59,51,128,.08);
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card__icon svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
}

.service-card p {
  font-size: .9rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.25rem;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition);
}

.service-card:hover .service-card__link {
  color: var(--accent);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* ---------- NUMBERS / STATS ---------- */
.stats {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
  text-align: center;
}

.stat-item__num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-item__num sup {
  font-size: 1.5rem;
  vertical-align: super;
}

.stat-item__label {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  font-weight: 500;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works__header {
  text-align: center;
  margin-bottom: 4rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  z-index: 0;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step__num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(59,51,128,.3);
  transition: var(--transition);
}

.step:hover .step__num {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  box-shadow: 0 8px 24px rgba(136,120,200,.4);
}

.step h4 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--primary-dark);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--lavender-light);
  padding: 100px 0;
  overflow: hidden;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials__slider {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial {
  display: none;
  animation: fadeIn .5s ease;
}

.testimonial.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.testimonial__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
}

.testimonial__card::before {
  content: '"';
  font-family: var(--font-head);
  font-size: 8rem;
  line-height: .7;
  color: var(--gray-100);
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-weight: 900;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: .3rem;
  margin-bottom: 1.5rem;
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
  color: var(--accent);
}

.testimonial__text {
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gray-100);
}

.testimonial__avatar-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial__name {
  font-weight: 700;
  color: var(--text);
  display: block;
}

.testimonial__role {
  font-size: .85rem;
  color: var(--text-light);
}

.testimonials__dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 2rem;
}

.testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-200);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.testimonials__dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

/* ---------- PRICING PREVIEW ---------- */
.pricing-preview__header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 2px solid var(--gray-100);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card--featured {
  border-color: var(--primary);
  box-shadow: 0 20px 60px rgba(59,51,128,.2);
  transform: scale(1.05);
}

.pricing-card:not(.pricing-card--featured):hover {
  border-color: var(--gray-200);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 50px;
}

.pricing-card__name {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .5rem;
}

.pricing-card__price {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: .25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-light);
  margin-left: .25rem;
}

.pricing-card__desc {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-light);
}

.pricing-card__features li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: .1rem;
}

.pricing-card__features li.disabled {
  opacity: .45;
}

.pricing-card__features li.disabled svg {
  color: var(--gray-400);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3C/g%3E%3C/svg%3E") repeat;
}

.cta-banner__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-banner__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- MAATWERK ---------- */
.maatwerk-hero {
  padding: 160px 0 100px;
  background: linear-gradient(160deg, var(--primary-dark), var(--primary));
  position: relative;
  overflow: hidden;
}

.maatwerk-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.maatwerk-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.maatwerk-hero__content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.maatwerk-hero__content p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

/* ---------- PROCESS TIMELINE ---------- */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--teal));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--primary);
}

.timeline-item h4 {
  font-size: 1.1rem;
  margin-bottom: .4rem;
  color: var(--primary-dark);
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(136,120,200,.15) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(88,112,200,.1) 0%, transparent 60%);
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- KENNIS CARDS ---------- */
.kennis-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.kennis-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.kennis-card__tag {
  display: inline-block;
  padding: .3rem .9rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.tag-boekhouden { background: rgba(59,51,128,.1); color: var(--primary); }
.tag-belasting { background: rgba(136,120,200,.1); color: var(--accent-dark); }
.tag-tips { background: rgba(88,112,200,.1); color: var(--teal); }
.tag-juridisch { background: rgba(99,102,241,.1); color: #6366F1; }

.kennis-card__body {
  padding: 2rem;
}

.kennis-card h3 {
  font-size: 1.1rem;
  margin-bottom: .75rem;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-info-item__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(59,51,128,.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-item__text strong {
  display: block;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: .2rem;
}

.contact-info-item__text span {
  color: var(--text-light);
  font-size: .9rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .5rem;
}

.form-group input:not([type="checkbox"]),
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .875rem 1.125rem;
  border: 2px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: .1rem;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59,51,128,.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  cursor: pointer;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.75);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer__brand img {
  height: 44px;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer__brand p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.footer__social {
  display: flex;
  gap: .75rem;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.footer__col h5 {
  color: var(--white);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .4rem;
}

.footer__links a:hover {
  color: var(--white);
  padding-left: .4rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: rgba(255,255,255,.6);
  margin-bottom: .75rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .2rem;
}

.footer__contact-item a {
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.footer__contact-item a:hover {
  color: var(--white);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom span {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.4);
  transition: var(--transition);
}

.footer__bottom-links a:hover {
  color: var(--white);
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: rgba(255,255,255,.6);
  transition: var(--transition);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ---------- ACCORDION / FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--gray-100);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  gap: 1rem;
  user-select: none;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--primary);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .4s ease;
  padding: 0 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
  font-size: .95rem;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.25rem;
}

/* ---------- BACK TO TOP ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: none;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- ANIMATIONS ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-animate].animated {
  opacity: 1;
  transform: none;
}

[data-animate-delay="1"] { transition-delay: .1s; }
[data-animate-delay="2"] { transition-delay: .2s; }
[data-animate-delay="3"] { transition-delay: .3s; }
[data-animate-delay="4"] { transition-delay: .4s; }
[data-animate-delay="5"] { transition-delay: .5s; }
[data-animate-delay="6"] { transition-delay: .6s; }

/* ---------- DIVIDER ---------- */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--teal));
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

.divider--center { margin: 1rem auto 1.5rem; }

/* ---------- BADGE LABEL ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .9rem;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.badge-primary { background: rgba(59,51,128,.1); color: var(--primary); }
.badge-accent  { background: rgba(136,120,200,.1); color: var(--accent-dark); }
.badge-teal    { background: rgba(88,112,200,.1); color: var(--teal); }
.badge-success { background: rgba(40,180,99,.1); color: var(--success); }

/* ---------- ICON BOX ---------- */
.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
}

.icon-box--sm  { width: 36px; height: 36px; }
.icon-box--md  { width: 52px; height: 52px; }
.icon-box--lg  { width: 72px; height: 72px; }

/* ---------- VIDEO MODAL ---------- */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.video-modal.open {
  display: flex;
}

.video-modal__inner {
  width: 100%;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.video-modal__inner video {
  width: 100%;
  display: block;
}

.video-modal__close {
  position: absolute;
  top: -3rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) {
  .hero__content    { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual     { display: none; }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .steps            { grid-template-columns: repeat(2, 1fr); }
  .steps::before    { display: none; }
  .stats__grid      { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .navbar__links, .navbar__cta { display: none; }
  .navbar__burger  { display: flex; }
  .why-us__grid    { grid-template-columns: 1fr 1fr; }
  .services__grid  { grid-template-columns: 1fr 1fr; }
  .pricing-cards   { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .contact-grid    { grid-template-columns: 1fr; }
  .grid-3          { grid-template-columns: 1fr 1fr; }
  .grid-4          { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section          { padding: 70px 0; }
  .hero             { min-height: auto; padding-top: 100px; }
  .hero__content    { padding: 40px 0 80px; }
  .hero__stats      { flex-wrap: wrap; gap: 1.5rem; }
  .why-us__grid     { grid-template-columns: 1fr; }
  .services__grid   { grid-template-columns: 1fr; }
  .grid-2           { grid-template-columns: 1fr; }
  .grid-3           { grid-template-columns: 1fr; }
  .grid-4           { grid-template-columns: 1fr 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .footer__grid     { grid-template-columns: 1fr; gap: 2rem; }
  .steps            { grid-template-columns: 1fr; }
  .contact-form     { padding: 2rem 1.5rem; }
  .trust-bar__inner { justify-content: center; }
}

/* ---------- PRINT ---------- */
@media print {
  .navbar, .footer, .back-to-top { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
}
