/* ==========================================
   GRONDWERK AI — style-new.css
   Homepage-matching design system
   ========================================== */

/* ==========================================
   0. DESIGN TOKENS
   ========================================== */
:root {
  --navy:         #0A0C33;
  --navy-dark:    #060820;
  --blue:         #3171CF;
  --blue-hover:   #4d85d9;
  --amber:        #746A21;
  --brown-dark:   #4B4410;
  --body:         #2B2B25;
  --secondary:    #57543D;
  --warm-gray:    #979169;
  --cream:        #FAF8F3;
  --white:        #FFFFFF;

  /* Legacy aliases used by old HTML */
  --color-primary:      #0A0C33;
  --color-primary-dark: #060820;
  --color-primary-mid:  #3171CF;
  --color-gold:         #3171CF;
  --color-gold-dark:    #4d85d9;
  --color-gold-light:   rgba(49, 113, 207, 0.10);
  --color-pale:         #e8edf5;
  --color-pale-dark:    #c8d4e8;
  --color-white:        #FFFFFF;
  --color-bg:           #FAF8F3;
  --color-bg-alt:       #f0ede8;
  --color-text:         #2B2B25;
  --color-text-muted:   #57543D;
  --color-border:       #ddd8cc;

  --font:      'Lato', system-ui, -apple-system, sans-serif;
  --font-body: 'Lato', system-ui, -apple-system, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-xs: 0 1px 3px rgba(10, 12, 51, 0.06);
  --shadow-sm: 0 2px 8px rgba(10, 12, 51, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 12, 51, 0.12);
  --shadow-lg: 0 12px 40px rgba(10, 12, 51, 0.16);
  --shadow-xl: 0 24px 64px rgba(10, 12, 51, 0.22);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 8px 40px rgba(49, 113, 207, 0.35);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s ease;

  --nav-height: 68px;
  --container-max: 1200px;
  --section-pad: 6rem 1.5rem;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
button:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--navy);
}

h4, h5, h6 {
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
}

ul { list-style: none; }

/* ==========================================
   2. LAYOUT UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-label--light {
  color: var(--warm-gray);
}

.will-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.will-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   3. BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}

/* Primary / gold button — now uses blue brand color */
.btn--gold {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--gold:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn--gold:active { transform: translateY(0); }

/* Outline button */
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: rgba(49, 113, 207, 0.08);
  transform: translateY(-2px);
}

/* Ghost button — for use on dark backgrounds */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* Size modifiers */
.btn--lg {
  font-size: 1.05rem;
  padding: 0.9rem 2rem;
}

.btn--sm {
  font-size: var(--text-sm);
  padding: 0.5rem 1.1rem;
}

/* Nav CTA button */
.btn--nav {
  background: var(--blue) !important;
  color: var(--white) !important;
  border-color: var(--blue) !important;
  border-radius: 9999px !important;
  padding: 0.5rem 1.2rem !important;
  font-size: 0.9rem !important;
}
.btn--nav:hover {
  background: var(--blue-hover) !important;
  border-color: var(--blue-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(49, 113, 207, 0.4);
}

/* Email submit variant */
.btn--email-submit {
  width: 100%;
  justify-content: center;
  border-radius: 9999px;
}

/* ==========================================
   4. NAV
   ========================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 12, 51, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: var(--nav-height);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav__logo img {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav__logo-text {
  color: var(--white);
}

.nav__logo-text strong {
  color: var(--blue);
}

/* Legacy logo spans (index.html uses these) */
.logo-grond { color: var(--white); }
.logo-ai    { color: var(--blue); margin-left: 0.2em; }

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

.nav__links a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav__links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

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

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav__hamburger { display: flex; }

  .nav__links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(6, 8, 32, 0.97);
    backdrop-filter: blur(24px);
    z-index: 99;
  }

  .nav__links.open { display: flex; }

  .nav__links a {
    font-size: 1.35rem;
    padding: 0.7rem 2rem;
  }

  .btn--nav {
    font-size: 1.1rem !important;
    padding: 0.75rem 1.75rem !important;
    border-radius: 9999px !important;
  }
}

/* ==========================================
   5. HERO
   ========================================== */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(49, 113, 207, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 70%, rgba(116, 106, 33, 0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

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

.hero__badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--warm-gray);
  background: rgba(151, 145, 105, 0.12);
  border: 1px solid rgba(151, 145, 105, 0.28);
  padding: 0.3em 0.85em;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__headline .highlight,
.highlight {
  color: var(--blue);
  font-style: italic;
}

.hero__sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.hero__social-proof {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.hero__social-proof strong { color: rgba(255, 255, 255, 0.85); }

.hero__scroll {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.hero__scroll-dot {
  display: block;
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50%       { opacity: 0.8;  transform: translateY(6px); }
}

/* Hero visual / graphic */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__graphic {
  position: relative;
  width: 320px;
  height: 320px;
}

.graphic__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(49, 113, 207, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ring--outer { width: 300px; height: 300px; border-color: rgba(49, 113, 207, 0.12); }
.ring--mid   { width: 210px; height: 210px; border-color: rgba(49, 113, 207, 0.18); }
.ring--inner { width: 130px; height: 130px; border-color: rgba(49, 113, 207, 0.28); }

.graphic__center {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--blue);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 40px rgba(49, 113, 207, 0.5);
}

.node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--blue);
  border-radius: 50%;
  opacity: 0.6;
}

.node--1 { top: 8%; left: 50%; }
.node--2 { top: 50%; right: 3%; }
.node--3 { bottom: 8%; left: 40%; }
.node--4 { top: 25%; left: 5%; }
.node--5 { bottom: 25%; right: 15%; }

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { display: none; }
}

@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .hero__headline { font-size: 2.1rem; }
}

/* ==========================================
   6. PROBLEM SECTION
   ========================================== */
.problem {
  background: var(--navy);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

.problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.problem .container { position: relative; z-index: 1; }

.problem__intro {
  text-align: center;
  margin-bottom: 3rem;
}

.problem__intro .section-label { color: var(--warm-gray); }

.problem__intro h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.75rem;
}

.problem__intro p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  margin: 0 auto;
}

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

.problem__card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: default;
}

.problem__card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.problem__icon {
  font-size: 1.8rem;
  margin-bottom: 0.85rem;
  line-height: 1;
}

.problem__card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.problem__card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.problem__bridge {
  text-align: center;
  padding-top: 1rem;
}

.problem__bridge p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--warm-gray);
  margin-bottom: 1.25rem;
}

.problem__bridge p em {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

@media (max-width: 640px) {
  .problem__grid { grid-template-columns: 1fr; }
}

/* ==========================================
   7. WHAT-IS SECTION
   ========================================== */
.what-is {
  background: var(--cream);
  padding: var(--section-pad);
}

.what-is__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-is__text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.what-is__text p {
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.what-is__list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.what-is__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.5;
}

.check {
  color: #4caf50;
  font-weight: 900;
  flex-shrink: 0;
}

/* Report card mockup */
.what-is__mockup { }

.report-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.report-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.report-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.report-card__score {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  background: rgba(49, 113, 207, 0.1);
  padding: 0.2em 0.7em;
  border-radius: 9999px;
}

.report-card__subtitle {
  font-size: 0.82rem;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.report-card__bars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.bar-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 0.6rem;
}

.bar-row span:first-child {
  font-size: 0.8rem;
  color: var(--secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar {
  height: 8px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 9999px;
  overflow: hidden;
  min-width: 80px;
}

.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 9999px;
  transition: width 1s ease;
}

.bar-pct {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  min-width: 30px;
  text-align: right;
}

.report-card__cta {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 860px) {
  .what-is__inner {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   8. USE CASES
   ========================================== */
.usecases {
  background: var(--white);
  padding: var(--section-pad);
}

.usecases__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.usecases__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
}

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

.usecase-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.usecase-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.usecase-card--featured {
  background: var(--navy);
  border-color: transparent;
  color: var(--white);
}

.usecase-card__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.usecase-card__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(116, 106, 33, 0.15);
  color: var(--amber);
  padding: 0.2em 0.7em;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.usecase-card--featured .usecase-card__tag {
  background: rgba(116, 106, 33, 0.25);
}

.usecase-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.usecase-card--featured h3 { color: var(--white); }

.usecase-card p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.usecase-card--featured p { color: rgba(255, 255, 255, 0.7); }

.usecase-card__stat {
  font-size: 0.88rem;
  color: var(--secondary);
}

.usecase-card__stat strong {
  color: var(--blue);
  font-size: 1.1rem;
}

.usecase-card--featured .usecase-card__stat { color: rgba(255, 255, 255, 0.7); }
.usecase-card--featured .usecase-card__stat strong { color: #7fa8e8; }

.usecases__cta {
  text-align: center;
}

.usecases__cta p {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .usecases__grid { grid-template-columns: 1fr; }
}

/* ==========================================
   9. HOW IT WORKS
   ========================================== */
.how-it-works {
  background: var(--cream);
  padding: var(--section-pad);
}

.how-it-works__header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-it-works__header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--navy);
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.step {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}

.step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.step__number {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--blue);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.step__content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.step__content p {
  font-size: 0.9rem;
  color: var(--secondary);
  line-height: 1.6;
}

.step__connector {
  display: flex;
  align-items: flex-start;
  padding-top: 3.5rem;
  color: var(--blue);
  font-size: 1.4rem;
  opacity: 0.4;
}

.step__connector::after {
  content: '→';
  font-family: sans-serif;
}

.how-it-works__cta {
  text-align: center;
}

@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step__connector {
    display: none;
  }
}

/* ==========================================
   10. SCAN SECTION
   ========================================== */
.scan-section {
  background: var(--navy);
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

/* Wanneer de scan-sectie de enige sectie op de pagina is */
.scan-section--fullpage {
  min-height: calc(100vh - 64px);
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.scan-section__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.scan-section .container { position: relative; z-index: 1; }

.scan-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.scan-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.scan-header p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* ==========================================
   11. SCAN FORM WRAPPER
   ========================================== */
.scan-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.3);
  padding: 2.5rem 2.5rem 2rem;
  max-width: 760px;
  margin: 0 auto;
}

/* Progress bar */
.scan-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.scan-progress__bar {
  flex: 1;
  height: 8px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.scan-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.scan-progress__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  white-space: nowrap;
}

/* Scan steps */
.scan-step {
  display: none;
  animation: stepFadeIn 0.35s ease;
}

.scan-step.active { display: block; }

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.scan-step__question {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.scan-step__hint {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Tijdvreters counter */
.tv-counter {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(49, 113, 207, 0.1);
  color: var(--blue);
  padding: 0.25em 0.7em;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

/* Scan options */
.scan-options { margin-top: 0.75rem; }

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

.scan-options--list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.scan-option {
  cursor: pointer;
  display: block;
}

.scan-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.scan-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  background: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--body);
  text-align: center;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.scan-option__card:hover {
  border-color: var(--blue);
  background: rgba(49, 113, 207, 0.04);
}

.scan-option input:checked + .scan-option__card {
  border-color: var(--blue);
  background: rgba(49, 113, 207, 0.08);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(49, 113, 207, 0.15);
}

.scan-option__icon {
  font-size: 1.6rem;
  line-height: 1;
}

/* List-style option card */
.scan-option__card--list {
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-radius: var(--radius-md);
}

.scan-option__card--list .scan-option__icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.scan-option__desc {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.scan-option__desc strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}

.scan-option__desc small {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--secondary);
  line-height: 1.4;
}

.scan-option--overig {
  grid-column: 1 / -1;
}

/* Multi-select checked state */
.scan-option--multi input:checked + .scan-option__card {
  border-color: var(--blue);
  background: rgba(49, 113, 207, 0.08);
  color: var(--navy);
  box-shadow: 0 0 0 3px rgba(49, 113, 207, 0.15);
}

/* Micro feedback */
.scan-micro-feedback {
  min-height: 1.4rem;
  font-size: 0.82rem;
  color: var(--blue);
  font-weight: 700;
  margin-top: 0.5rem;
  padding-left: 0.25rem;
}

/* Scan nav */
.scan-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.scan-nav__right {
  display: flex;
  gap: 0.5rem;
}

/* Override btn--ghost for scan nav (dark text on white bg) */
.scan-nav .btn--ghost {
  color: var(--secondary);
  border-color: rgba(0, 0, 0, 0.2);
}
.scan-nav .btn--ghost:hover {
  color: var(--navy);
  background: rgba(0, 0, 0, 0.05);
}

@media (max-width: 640px) {
  .scan-options--grid { grid-template-columns: repeat(2, 1fr); }
  .scan-form-wrapper { padding: 1.75rem 1.25rem 1.5rem; }
}

@media (max-width: 420px) {
  .scan-options--grid { grid-template-columns: 1fr; }
  .scan-step__question { font-size: 1.2rem; }
}

/* ==========================================
   12. SCAN RESULT
   ========================================== */
.scan-result {
  animation: stepFadeIn 0.45s ease;
}

/* Profile reveal */
.result-profile {
  text-align: center;
  padding: 2rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  margin-bottom: 1.75rem;
}

.result-meta {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.result-profile__reveal-intro {
  font-size: 0.88rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
}

.result-profile__emoji {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.result-profile__name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.result-profile__reveal-line {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.result-profile__desc {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto;
}

/* Score bars */
.result-scores {
  margin-bottom: 1.75rem;
}

.result-section-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 400;
  margin-bottom: 1rem;
}

.result-bar-row {
  display: grid;
  grid-template-columns: 180px 1fr 40px;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.result-bar-label {
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 700;
}

.result-bar {
  height: 10px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 9999px;
  overflow: hidden;
}

.result-bar__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
  border-radius: 9999px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.result-bar-pct {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--navy);
  text-align: right;
}

.result-scores__teaser {
  font-size: 0.82rem;
  color: var(--secondary);
  font-style: italic;
  margin-top: 0.75rem;
}

/* Kansen */
.result-kansen {
  margin-bottom: 1.75rem;
}

.result-kansen-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Benchmark */
.result-benchmark-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
}

.result-benchmark-box .result-section-title { margin-bottom: 0.5rem; }

.result-benchmark-box p {
  font-size: 0.9rem;
  color: var(--body);
  line-height: 1.6;
}

/* CTA panels */
.result-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.result-panel {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.result-panel h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.result-panel p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

/* Email panel */
.result-panel--email {
  background: var(--cream);
  border: 1px solid rgba(0, 0, 0, 0.07);
}

.result-panel--email h4 { color: var(--navy); }
.result-panel--email p  { color: var(--secondary); }

.email-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.email-form input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--body);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition);
}

.email-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 113, 207, 0.1);
}

.privacy-note {
  font-size: 0.75rem !important;
  color: var(--secondary) !important;
  margin-top: 0.25rem;
}

/* Grondmeting panel */
.result-panel--grondmeting {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.result-panel--grondmeting::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(49, 113, 207, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.result-panel--grondmeting h4 {
  color: var(--white);
  position: relative;
}

.result-panel--grondmeting p  {
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}

.result-panel__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--blue);
  color: var(--white);
  padding: 0.2em 0.7em;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
  position: relative;
}

.grondmeting-teaser {
  color: rgba(255, 255, 255, 0.72) !important;
}

.grondmeting-cta-txt {
  font-weight: 700 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

.grondmeting-sub {
  font-size: 0.75rem !important;
  color: rgba(255, 255, 255, 0.45) !important;
  margin-bottom: 0.85rem !important;
}

@media (max-width: 600px) {
  .result-ctas      { grid-template-columns: 1fr; }
  .result-bar-row   { grid-template-columns: 1fr 1fr 36px; }
  .result-bar-label { grid-column: 1 / -1; font-size: 0.78rem; }
}

/* ==========================================
   13. FOOTER
   ========================================== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.footer__brand .nav__logo {
  margin-bottom: 0.85rem;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 240px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer__col nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
  text-decoration: none;
}

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

.footer__cta {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer__cta p {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.footer__bottom .container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

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

@media (max-width: 900px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__brand { grid-column: auto; }
}

/* ==========================================
   14. GRONDMETING-SPECIFIC STYLES
   (override / extend the grondmeting inline styles)
   ========================================== */

/* Grondmeting hero */
.gm-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1e5a 100%);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.gm-hero__inner { position: relative; z-index: 1; }

.gm-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--warm-gray);
  background: rgba(151, 145, 105, 0.15);
  border: 1px solid rgba(151, 145, 105, 0.3);
  padding: var(--space-2) var(--space-4);
  border-radius: 100px;
  margin-bottom: var(--space-6);
  letter-spacing: 0.04em;
}

.gm-hero__eyebrow .back-link {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.gm-hero__eyebrow .back-link:hover { color: var(--white); }

.gm-hero h1 {
  font-family: var(--font-serif);
  font-size: var(--text-5xl);
  font-weight: 400;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.15;
}

.gm-hero h1 em {
  color: var(--blue);
  font-style: italic;
}

.gm-hero__sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto var(--space-8);
  line-height: 1.7;
}

.gm-hero__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.gm-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.gm-meta-item span { color: var(--warm-gray); font-size: 1.1em; }

/* Prefill banner */
.gm-prefill-banner {
  background: rgba(49, 113, 207, 0.06);
  border: 1px solid rgba(49, 113, 207, 0.15);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-6);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.gm-prefill-banner__label {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  flex-shrink: 0;
}

.gm-prefill-banner__values {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.gm-prefill-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--blue);
  background: var(--white);
  border: 1px solid rgba(49, 113, 207, 0.2);
  border-radius: 100px;
  padding: var(--space-1) var(--space-3);
}

/* Module wrapper */
.gm-wrapper {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-12) var(--space-6) var(--space-24);
}

/* Module progress */
.gm-module-progress {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-8);
  box-shadow: var(--shadow-xs);
}

.gm-module-progress__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}

.gm-module-progress__label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}

.gm-module-progress__time {
  font-size: var(--text-xs);
  color: var(--secondary);
}

.gm-module-progress__steps {
  display: flex;
  gap: var(--space-2);
}

.gm-module-step {
  flex: 1;
  height: 6px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.07);
  transition: background 0.4s ease;
}

.gm-module-step.done    { background: var(--amber); }
.gm-module-step.current { background: var(--blue); }

.gm-module-progress__names {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
}

.gm-module-name {
  font-size: 9px;
  color: var(--secondary);
  text-align: center;
  flex: 1;
  transition: color 0.3s;
}

.gm-module-name.current { color: var(--blue); font-weight: 700; }
.gm-module-name.done    { color: var(--amber); }

/* Module sections */
.gm-module {
  display: none;
  animation: step-in 0.35s ease;
}

.gm-module.active { display: block; }

@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.gm-module__header { margin-bottom: var(--space-8); }

.gm-module__num {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.gm-module__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--navy);
  margin-bottom: var(--space-3);
  line-height: 1.2;
  font-weight: 400;
}

.gm-module__desc {
  font-size: var(--text-base);
  color: var(--secondary);
  line-height: 1.6;
}

/* Question blocks */
.gm-question {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  margin-bottom: var(--space-6);
  transition: box-shadow var(--transition);
}

.gm-question:hover { box-shadow: var(--shadow-sm); }

.gm-question__num {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: var(--space-2);
}

.gm-question__text {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.gm-question__context {
  font-size: var(--text-sm);
  color: var(--secondary);
  font-style: italic;
  margin-bottom: var(--space-5);
  line-height: 1.5;
}

/* Radio / checkbox options */
.gm-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gm-option {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.gm-option:hover {
  border-color: rgba(49, 113, 207, 0.35);
  background: rgba(49, 113, 207, 0.03);
}

.gm-option input { display: none; }

.gm-option__indicator {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  margin-top: 2px;
  transition: border-color var(--transition), background var(--transition);
}

.gm-option--check .gm-option__indicator {
  border-radius: var(--radius-sm);
}

.gm-option input:checked ~ .gm-option__indicator {
  border-color: var(--blue);
  background: var(--blue);
}

.gm-option:has(input:checked) {
  border-color: var(--blue);
  background: rgba(49, 113, 207, 0.07);
}

.gm-option__text { flex: 1; }

.gm-option__text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--body);
}

.gm-option__text small {
  font-size: var(--text-xs);
  color: var(--secondary);
  line-height: 1.4;
}

/* Grid multi-select */
.gm-options--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}

/* Module navigation */
.gm-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-6);
  margin-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.gm-nav__right {
  display: flex;
  gap: var(--space-3);
  margin-left: auto;
}

/* Error */
.gm-error {
  font-size: var(--text-sm);
  color: #e53e3e;
  font-weight: 700;
  padding: var(--space-3) var(--space-4);
  background: #fff5f5;
  border-left: 3px solid #e53e3e;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-4);
  display: none;
}

.gm-error.visible { display: block; }

/* Contact form */
.gm-contact {
  display: none;
  animation: step-in 0.35s ease;
}

.gm-contact.active { display: block; }

.gm-contact__intro {
  text-align: center;
  margin-bottom: var(--space-8);
}

.gm-contact__intro .gm-module__title { font-size: var(--text-2xl); }

.gm-contact-form {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.gm-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.gm-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.gm-field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--body);
}

.gm-field input, .gm-field select {
  padding: 0.875rem var(--space-4);
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--body);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.gm-field input:focus, .gm-field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 113, 207, 0.1);
}

.gm-field.full { grid-column: 1 / -1; }

.gm-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--secondary);
  line-height: 1.5;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.gm-consent input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  margin-top: 2px;
  cursor: pointer;
}

.gm-contact-submit {
  margin-top: var(--space-6);
  text-align: center;
}

.gm-contact-submit .btn {
  padding: 1.1rem 2.5rem;
  font-size: var(--text-lg);
}

/* Loader */
.gm-loader {
  display: none;
  text-align: center;
  padding: var(--space-16) 0;
  animation: step-in 0.35s ease;
}

.gm-loader.active { display: block; }

.gm-loader__spinner {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(0, 0, 0, 0.08);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
  margin: 0 auto var(--space-6);
}

@keyframes spin { to { transform: rotate(360deg); } }

.gm-loader h3 {
  font-size: var(--text-xl);
  color: var(--navy);
  margin-bottom: var(--space-3);
}

.gm-loader p {
  font-size: var(--text-sm);
  color: var(--secondary);
}

/* Rapport */
.gm-rapport {
  display: none;
  animation: step-in 0.5s ease;
}

.gm-rapport.active { display: block; }

.rapport-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1e5a 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  margin-bottom: var(--space-8);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.rapport-header::before {
  content: 'AI GRONDMETING';
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.18);
}

.rapport-header__label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: var(--space-2);
}

.rapport-header__name {
  font-family: var(--font-serif);
  font-size: var(--text-4xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.rapport-header__for {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-6);
}

.rapport-header__intro {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 560px;
  padding: var(--space-4) var(--space-6);
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--blue);
}

/* Rapport sections */
.rapport-section {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.rapport-section__title {
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* Dimension bars */
.rapport-dim-row {
  display: grid;
  grid-template-columns: 200px 1fr 50px;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.rapport-dim-label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--body);
}

.rapport-bar {
  height: 12px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 100px;
  overflow: hidden;
}

.rapport-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 100px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.rapport-bar__fill--ap  { background: linear-gradient(90deg, var(--navy), var(--amber)); }
.rapport-bar__fill--dr  { background: linear-gradient(90deg, var(--navy), var(--blue)); }
.rapport-bar__fill--ig  { background: linear-gradient(90deg, var(--navy), #22a366); }
.rapport-bar__fill--roi { background: linear-gradient(90deg, var(--amber), #e5720a); }
.rapport-bar__fill--um  { background: linear-gradient(90deg, var(--blue), var(--navy)); }

.rapport-dim-pct {
  font-size: var(--text-sm);
  font-weight: 900;
  color: var(--navy);
  text-align: right;
}

/* Recommendations */
.rapport-aanbeveling {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-4);
  position: relative;
}

.rapport-aanbeveling--1 { border-left: 4px solid var(--amber); }
.rapport-aanbeveling--2 { border-left: 4px solid #c0c0c0; }
.rapport-aanbeveling--3 { border-left: 4px solid #cd7f32; }

.rapport-aanbeveling__medal {
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}

.rapport-aanbeveling__title {
  font-size: var(--text-lg);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: var(--space-4);
}

.rapport-aanbeveling__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.rapport-stat {
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
}

.rapport-stat__label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.rapport-stat__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}

.rapport-aanbeveling__euro {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--blue);
  background: rgba(49, 113, 207, 0.07);
  border-radius: 6px;
  padding: var(--space-2) var(--space-3);
  margin: var(--space-2) 0 var(--space-3);
  line-height: 1.6;
}

.rapport-aanbeveling__stap {
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  background: rgba(116, 106, 33, 0.1);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
}

.rapport-aanbeveling__stap::before { content: '→ Eerste stap: '; }

/* Quick wins */
.rapport-quickwins {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.rapport-qw-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--body);
}

.rapport-qw-item::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: 900;
}

/* Next step CTA */
.rapport-next {
  background: linear-gradient(135deg, var(--navy) 0%, #1a1e5a 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  color: var(--white);
  margin-top: var(--space-6);
}

.rapport-next h3 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--white);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.rapport-next__quote {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto var(--space-8);
  font-style: italic;
}

.rapport-next .btn--gold {
  font-size: var(--text-lg);
  padding: 1.1rem 2.5rem;
}

.rapport-next__note {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.45);
}

/* One-question-per-step */
.gm-module .gm-question[data-q] { display: none; }
.gm-module .gm-question[data-q].active {
  display: block;
  scroll-margin-top: 88px;
}

/* Question counter */
.gm-q-counter {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--secondary);
  align-self: center;
}

/* Password gate */
.pw-gate {
  position: fixed;
  inset: 0;
  background: var(--navy);
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease;
}

.pw-gate--exit {
  opacity: 0;
  pointer-events: none;
}

.pw-gate__card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.75rem 2.5rem 2.25rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.4);
}

.pw-gate__logo {
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
}

.pw-gate__logo .logo-grond { color: var(--white); }
.pw-gate__logo .logo-ai    { color: var(--blue); }

.pw-gate__icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.pw-gate__title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  line-height: 1.3;
  font-family: var(--font-body);
}

.pw-gate__desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.pw-gate__form {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.pw-gate__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.pw-gate__input::placeholder { color: rgba(255, 255, 255, 0.35); }
.pw-gate__input:focus {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.11);
}

.pw-gate__input--error { border-color: #ff6b6b !important; }

.pw-gate__btn {
  white-space: nowrap;
  padding: 0.75rem 1.25rem;
}

.pw-gate__error {
  color: #ff8a80;
  font-size: 0.8rem;
  min-height: 1.1em;
  transition: opacity 0.2s;
}

.pw-gate__hint {
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
}

.pw-gate__hint a { color: rgba(255, 255, 255, 0.5); }

/* ==========================================
   15. RESPONSIVE (additional)
   ========================================== */
@media (max-width: 768px) {
  .gm-hero h1 { font-size: var(--text-4xl); }
  .gm-field-row { grid-template-columns: 1fr; }
  .gm-options--grid { grid-template-columns: 1fr; }
  .rapport-aanbeveling__grid { grid-template-columns: 1fr; }
  .rapport-dim-row { grid-template-columns: 1fr 1fr 40px; }
  .rapport-dim-label { grid-column: 1 / -1; font-size: var(--text-xs); }
}

@media (max-width: 480px) {
  .gm-hero h1 { font-size: var(--text-3xl); }
  .gm-module__title { font-size: var(--text-2xl); }
  .rapport-header__name { font-size: var(--text-3xl); }
}

/* ==========================================
   16. UTILITY / LINK STYLES
   ==========================================*/
.link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Eyebrow */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  background: rgba(151, 145, 105, 0.12);
  border: 1px solid rgba(151, 145, 105, 0.28);
  padding: 0.3em 0.85em;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}

/* Scroll reveal */
.will-animate.delay-1 { transition-delay: 0.1s; }
.will-animate.delay-2 { transition-delay: 0.2s; }
.will-animate.delay-3 { transition-delay: 0.3s; }
.will-animate.delay-4 { transition-delay: 0.4s; }
.will-animate.delay-5 { transition-delay: 0.5s; }

/* btn__arrow span */
.btn__arrow { font-style: normal; }
