/*
Theme Name: MSK Modern
Theme URI: https://msk.spral.space
Author: MSK Psychologie / SPRAL
Description: Rustig, modern en lichtgewicht maatwerkthema voor MSK Psychologie (Generalistische BasisGGZ & Buitenpsychologie).
Version: 1.0.0
Text Domain: msk-modern
*/

:root {
  --sage: #436161;
  --sage-dark: #2f4646;
  --sage-soft: #eef3f2;
  --olive: #d6d8b1;
  --sand: #e8e1d9;
  --cream: #f8f7f4;
  --ink: #252b30;
  --muted: #5b666e;
  --line: #dde3e2;
  --white: #ffffff;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--sage-dark);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 600;
}

a { color: var(--sage); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sage-dark); }
img { max-width: 100%; height: auto; display: block; }

.msk-container { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.msk-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 247, 244, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.msk-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 20px;
}
.msk-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px; font-weight: 700; color: var(--sage-dark);
}
.msk-brand img { height: 42px; width: auto; }
.msk-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.msk-menu a { font-size: 14px; font-weight: 600; color: var(--ink); }
.msk-menu a:hover, .msk-menu .current-menu-item a { color: var(--sage); }

.msk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; font-weight: 600; font-size: 14px;
  border: none; cursor: pointer; transition: all .2s ease;
}
.msk-btn-primary { background: var(--sage); color: var(--white); }
.msk-btn-primary:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-1px); }
.msk-btn-outline { background: transparent; color: var(--sage-dark); border: 1.5px solid var(--sage); }
.msk-btn-outline:hover { background: var(--sage-soft); }

/* Hero */
.msk-hero {
  padding: 64px 0 80px;
  background: radial-gradient(circle at 90% 10%, rgba(214,216,177,0.35), transparent 45%),
              linear-gradient(135deg, #f8f7f4 0%, #eff3f1 60%, #e8e1d9 100%);
}
.msk-hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.msk-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--sage); margin-bottom: 18px;
}
.msk-pill-dot { width: 8px; height: 8px; border-radius: 50%; background: #5a9a6e; }
.msk-hero h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 18px; }
.msk-lead { font-size: 18px; color: var(--muted); margin-bottom: 28px; max-width: 560px; }
.msk-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.msk-hero-media { position: relative; }
.msk-hero-media::before {
  content: ""; position: absolute; inset: 18px -16px -16px 18px;
  border-radius: 28px; background: var(--olive); opacity: 0.65; z-index: 0;
}
.msk-hero-media img {
  position: relative; z-index: 1; border-radius: 24px;
  box-shadow: 0 24px 48px rgba(47, 70, 70, 0.14);
  width: 100%; height: 440px; object-fit: cover;
}

/* Sections & Cards */
.msk-section { padding: 76px 0; }
.msk-section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.msk-section-head { max-width: 680px; margin-bottom: 42px; }
.msk-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 10px;
}
.msk-section-head h2 { font-size: clamp(30px, 3.8vw, 44px); }

.msk-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 52px; align-items: center; }
.msk-portrait {
  border-radius: 24px; box-shadow: 0 20px 44px rgba(47,70,70,0.12);
  width: 100%; max-height: 500px; object-fit: cover; object-position: top;
}

.msk-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.msk-badge {
  padding: 6px 12px; border-radius: 8px; background: var(--sage-soft);
  color: var(--sage-dark); font-size: 12px; font-weight: 600;
}

.msk-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.msk-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.msk-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: 0 8px 24px rgba(37, 43, 48, 0.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.msk-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(47, 70, 70, 0.09); }
.msk-card h3 { font-size: 25px; margin-bottom: 10px; }
.msk-card p { color: var(--muted); margin: 0; font-size: 15px; }
.msk-card-accent { border-top: 4px solid var(--sage); }

/* Page Header */
.msk-page-hero {
  padding: 56px 0 44px;
  background: linear-gradient(135deg, #eef3f2 0%, #f8f7f4 100%);
  border-bottom: 1px solid var(--line);
}
.msk-page-hero h1 { font-size: clamp(34px, 4.5vw, 50px); margin-bottom: 10px; }

/* Steps */
.msk-steps { display: grid; gap: 18px; }
.msk-step {
  display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 22px;
}
.msk-step-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px;
}

/* Contact Form */
.msk-form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; box-shadow: 0 12px 32px rgba(47,70,70,0.06);
}
.msk-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.msk-field { display: flex; flex-direction: column; gap: 6px; }
.msk-field-full { grid-column: 1 / -1; }
.msk-field label { font-size: 13px; font-weight: 600; color: var(--sage-dark); }
.msk-field input, .msk-field select, .msk-field textarea {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 14px; background: var(--cream);
}
.msk-field input:focus, .msk-field select:focus, .msk-field textarea:focus {
  outline: none; border-color: var(--sage); background: var(--white);
}
.msk-alert-ok {
  padding: 16px 20px; border-radius: 12px; background: #eaf4ec;
  border: 1px solid #a8d5b2; color: #1f542c; font-weight: 600; margin-bottom: 20px;
}
.msk-alert-info {
  padding: 16px 20px; border-radius: 12px; background: var(--sage-soft);
  border: 1px solid #bfd1cf; color: var(--sage-dark); margin-bottom: 20px; font-size: 14px;
}
.msk-wachttijd-banner {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 999px;
  background: #eaf4ec; border: 1px solid #b6dfc0; color: #1f542c;
  font-size: 14px; font-weight: 600; margin-bottom: 18px;
}
.msk-list { padding-left: 20px; margin: 12px 0; color: var(--muted); }
.msk-list li { margin-bottom: 8px; }
.msk-callout {
  background: var(--sand); border-left: 4px solid var(--sage);
  border-radius: 14px; padding: 24px 28px; margin-top: 24px;
}
.msk-table-wrap { overflow-x: auto; margin-top: 16px; }
.msk-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
}
.msk-table th, .msk-table td {
  padding: 13px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px;
}
.msk-table th { background: var(--sage); color: var(--white); font-weight: 600; }
.msk-table tr:last-child td { border-bottom: none; }
.msk-form-section {
  grid-column: 1 / -1; margin-top: 10px; padding-top: 16px;
  border-top: 1px solid var(--line); font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px; color: var(--sage-dark);
}
.msk-radio-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 4px; }
.msk-radio-row label, .msk-check-list label {
  display: flex; align-items: flex-start; gap: 8px; font-weight: 500;
  color: var(--ink); font-size: 14px; cursor: pointer;
}
.msk-check-list { display: grid; gap: 10px; padding-top: 4px; }
.msk-colofon-links { display: flex; flex-wrap: wrap; gap: 16px; }

/* Footer */
.msk-footer {
  background: var(--sage-dark); color: #dce5e4; padding: 52px 0 32px; margin-top: 40px;
}
.msk-footer h4 { color: var(--white); font-size: 22px; margin-bottom: 12px; }
.msk-footer a { color: #d6d8b1; }
.msk-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.msk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px;
  font-size: 13px; color: #b5c4c2; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}

@media (max-width: 900px) {
  .msk-hero-grid, .msk-split, .msk-grid-3, .msk-grid-2, .msk-footer-grid, .msk-form-grid {
    grid-template-columns: 1fr;
  }
  .msk-menu { gap: 14px; font-size: 13px; }
  .msk-header .msk-btn { display: none; }
}
