/* ============================================================
   DE MARJOLEIN METHODE — Design tokens
   Color: teal (trust, calm) + sage (growth, softness) + warm cream
   Type:  Quicksand (rounded display, echoes the wordmark's rounded
          letterforms) + Karla (humanist body, quiet workhorse) +
          Caveat (handwritten accent, echoes the logo's swash "M")
   Signature: overlapping soft circles = individuals forming a team,
          paired with a hand-drawn sage underline echoing the logo mark
   ============================================================ */

:root {
  --teal-900: #1f3f45;
  --teal: #295b63;
  --teal-700: #3a6d75;
  --sage: #8ca598;
  --sage-light: #d7e2d8;
  --sage-lighter: #eef3ee;
  --cream: #f7f4ec;
  --cream-white: #fffdf8;
  --ink: #2b2b28;
  --ink-soft: #5b5b56;
  --border: rgba(41, 91, 99, 0.14);

  --font-display: "Quicksand", sans-serif;
  --font-body: "Karla", sans-serif;
  --font-accent: "Caveat", cursive;

  --max-width: 1120px;
  --radius: 20px;
  --radius-sm: 12px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--teal); }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.btn-primary {
  background: var(--teal);
  color: var(--cream-white);
}
.btn-primary:hover { background: var(--teal-900); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--teal-900);
  border-color: var(--teal);
}
.btn-ghost:hover { background: var(--sage-lighter); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 236, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.site-header .logo img { height: 84px; width: auto; }

.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  color: var(--teal-900);
  padding: 0.5em 0.9em;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: var(--sage-lighter);
  color: var(--teal-900);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream-white);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    padding: 1rem 1.75rem 1.5rem;
    gap: 0.25rem;
  }
}

/* ---------- Hero swash / signature underline ---------- */
.swash {
  position: relative;
  white-space: nowrap;
}
.swash::after {
  content: "";
  position: absolute;
  left: -2%;
  right: -4%;
  bottom: -0.12em;
  height: 0.28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20'%3E%3Cpath d='M2 14 C 40 2, 60 18, 100 8 S 160 2, 198 12' fill='none' stroke='%238ca598' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

/* ---------- Overlapping circles motif ---------- */
.circle-cluster {
  position: absolute;
  border-radius: 50%;
  filter: blur(0.5px);
  opacity: 0.55;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
}
.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
.hero .eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}
.hero-visual {
  position: relative;
  height: 360px;
}
.hero-visual .circle-cluster:nth-child(1) { width: 230px; height: 230px; background: var(--sage); top: 10px; right: 60px; }
.hero-visual .circle-cluster:nth-child(2) { width: 170px; height: 170px; background: var(--teal); top: 120px; right: 190px; opacity: 0.8; }
.hero-visual .circle-cluster:nth-child(3) { width: 130px; height: 130px; background: var(--sage-light); bottom: 20px; right: 20px; }

@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 220px; order: -1; }
}

/* ---------- Sections ---------- */
section { padding: 4.5rem 0; }
.section-cream-white { background: var(--cream-white); }
.section-sage { background: var(--sage-lighter); }

.section-head { max-width: 62ch; margin-bottom: 2.5rem; }
.section-head .eyebrow {
  font-family: var(--font-accent);
  font-size: 1.4rem;
  color: var(--teal);
  display: block;
  margin-bottom: -0.25rem;
}

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--cream-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.section-cream-white .card,
.section-sage .card { background: var(--cream); }

.card .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---------- Pain point list ---------- */
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 2rem;
}
@media (max-width: 700px) { .check-list { grid-template-columns: 1fr; } }
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--ink-soft);
}
.check-list svg { flex-shrink: 0; margin-top: 0.2em; color: var(--teal); }

/* ---------- Steps (process) ---------- */
.steps {
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
}
.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
}
.step .num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--teal);
  background: var(--sage-lighter);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--teal-900);
  color: var(--cream-white);
  border-radius: var(--radius);
  padding: 3rem;
  text-align: center;
}
.cta-band h2 { color: var(--cream-white); }
.cta-band p { color: var(--sage-light); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: var(--sage-light);
  padding: 3rem 0 2rem;
  margin-top: 3rem;
}
.site-footer a { color: var(--cream-white); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 {
  color: var(--cream-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Contact form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form-field { margin-bottom: 1.25rem; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--teal-900);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8em 1em;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--cream-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--sage-lighter);
}
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status {
  padding: 0.8em 1em;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  display: none;
}
.form-status.success { display: block; background: var(--sage-lighter); color: var(--teal-900); }
.form-status.error { display: block; background: #f6e4e0; color: #8a3b2b; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
