@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* =========================================================
   Wijkzorg Vitaal — stylesheet
   ========================================================= */

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

:root {
  --plum-900: #2b1d33;
  --plum-800: #3d2a48;
  --plum-700: #533a61;
  --plum-500: #7a5a8b;
  --lilac-400: #b295c0;
  --lilac-200: #ded1e5;
  --lilac-100: #f1ebf4;
  --cream:     #fbf7f2;
  --apricot:   #cf8046;
  --apricot-100: #fbeee2;
  --grey-700:  #443b49;
  --grey-500:  #726a77;
  --grey-200:  #e5e0e8;
  --white:     #ffffff;

  --radius: 16px;
  --radius-sm: 9px;
  --shadow: 0 6px 30px rgba(43, 29, 51, .09);
  --ease: .25s ease;

  --head: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--grey-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); color: var(--plum-900); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.25rem); letter-spacing: -.015em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 600; }
h4 { font-size: .95rem; font-weight: 600; }
p  { margin-bottom: 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--plum-500); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--plum-800); }

ul, ol { padding-left: 1.15rem; margin-bottom: 1.05rem; }
li { margin-bottom: .35rem; }

/* ── Layout ── */
.container { max-width: 1120px; margin-inline: auto; padding-inline: 1.5rem; }
.container--narrow { max-width: 790px; }
.section { padding-block: 5rem; }
.section--tight { padding-block: 3.5rem; }
.section--lilac { background: var(--lilac-100); }
.section--cream { background: var(--cream); }
.section--deep { background: var(--plum-900); }
.section--deep h2, .section--deep h3, .section--deep h4 { color: var(--white); }
.section--deep p { color: #cdbcd5; }
.center { text-align: center; }
.lead { font-size: 1.1rem; color: var(--grey-500); }

.eyebrow {
  display: inline-block;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--plum-500);
  margin-bottom: .85rem;
}
.section--deep .eyebrow { color: var(--lilac-400); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split--wide { grid-template-columns: 1.15fr 1fr; }
.split--top { align-items: start; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  padding: .8rem 1.7rem;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--ease);
}
.btn--primary { background: var(--plum-700); color: var(--white); }
.btn--primary:hover { background: var(--plum-900); color: var(--white); }
.btn--ghost { border-color: var(--plum-700); color: var(--plum-700); background: transparent; }
.btn--ghost:hover { background: var(--plum-700); color: var(--white); }
.btn--light { background: var(--white); color: var(--plum-800); }
.btn--light:hover { background: var(--lilac-200); color: var(--plum-900); }

/* ── Topbar + nav ── */
.topbar { background: var(--plum-900); color: #bda9c6; font-size: .85rem; padding-block: .5rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar a { color: #bda9c6; }
.topbar a:hover { color: var(--white); }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-200);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: flex; align-items: center; gap: .65rem; }
.logo__mark {
  width: 2.2rem; height: 2.2rem; border-radius: 40% 60% 55% 45%;
  background: linear-gradient(140deg, var(--plum-700), var(--apricot));
  display: grid; place-items: center;
  color: var(--white); font-family: var(--head); font-weight: 700; font-size: .95rem;
  flex-shrink: 0;
}
.logo__text { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--plum-900); letter-spacing: -.01em; line-height: 1.15; }
.logo__text span { display: block; font-family: var(--body); font-size: .64rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--plum-500); }

.nav__links { display: flex; gap: 1.55rem; list-style: none; margin: 0; padding: 0; }
.nav__links li { margin: 0; }
.nav__links a {
  font-size: .9rem; font-weight: 500;
  color: var(--grey-700); padding-block: .3rem;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--plum-700); }
.nav__links a.active { color: var(--plum-800); font-weight: 600; border-bottom-color: var(--apricot); }

.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: .4rem; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--plum-900); margin: 4px 0; border-radius: 2px; }

/* ── Hero ── */
.hero {
  background: linear-gradient(165deg, var(--lilac-100) 0%, var(--cream) 60%, var(--white) 100%);
  padding-block: 5.5rem 5rem;
  position: relative; overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute; right: -10%; top: -25%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(207,128,70,.18) 0%, rgba(207,128,70,0) 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 660px; }
.hero p.lead { margin-block: 1.2rem 2rem; }
.hero__actions { display: flex; gap: .85rem; flex-wrap: wrap; }
.hero__note { margin-top: 2rem; font-size: .92rem; color: var(--grey-500); }

/* ── Page header ── */
.pagehead { background: linear-gradient(150deg, var(--plum-900), var(--plum-700)); padding-block: 4rem; color: var(--white); }
.pagehead h1 { color: var(--white); max-width: 19ch; }
.pagehead p { color: #cbb8d3; max-width: 58ch; margin-top: .8rem; font-size: 1.05rem; }
.pagehead .eyebrow { color: var(--lilac-400); }

/* ── Info strip ── */
.strip { background: var(--plum-800); color: var(--white); }
.strip__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.75rem; padding-block: 2.25rem; }
.strip__item h4 { color: var(--lilac-400); font-size: .74rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: .3rem; }
.strip__item p { color: var(--white); font-size: .97rem; margin: 0; }

/* ── Cards ── */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 1.9rem;
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .5rem; }
.card p { font-size: .97rem; color: var(--grey-500); }
.card__mark {
  width: 2.6rem; height: 2.6rem; border-radius: var(--radius-sm);
  background: var(--lilac-100); color: var(--plum-700);
  display: grid; place-items: center; font-size: 1.2rem;
  margin-bottom: 1.1rem;
}
.card--flat:hover { transform: none; box-shadow: none; }

/* ── Team cards ── */
.team {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-left: 4px solid var(--lilac-400);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.7rem;
}
.team h3 { margin-bottom: .25rem; }
.team__area { font-size: .84rem; color: var(--plum-500); font-weight: 600; display: block; margin-bottom: .6rem; }
.team p { font-size: .95rem; color: var(--grey-500); margin: 0; }

/* ── Steps (proces) ── */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps > li {
  counter-increment: s;
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.5rem;
  padding: 1.9rem 0; border-bottom: 1px solid var(--grey-200); margin: 0;
}
.steps > li:last-child { border-bottom: none; }
.steps > li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--head); font-weight: 700; font-size: .9rem;
  color: var(--plum-700); background: var(--lilac-100);
  width: 2.6rem; height: 2.6rem; border-radius: 50%;
  display: grid; place-items: center;
}
.steps h3 { margin-bottom: .4rem; }
.steps p { font-size: .99rem; }
.steps__who {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--plum-700); background: var(--lilac-100);
  padding: .2rem .65rem; border-radius: 100px;
  margin-top: .7rem;
}

/* ── Zorgsoorten table ── */
.ztable { width: 100%; border-collapse: collapse; font-size: .97rem; }
.ztable th {
  text-align: left; font-family: var(--body); font-size: .75rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--plum-500);
  padding: .7rem .9rem; border-bottom: 2px solid var(--lilac-200);
}
.ztable td { padding: .95rem .9rem; border-bottom: 1px solid var(--grey-200); vertical-align: top; }
.ztable tr:last-child td { border-bottom: none; }
.ztable td:first-child { font-weight: 600; color: var(--plum-900); white-space: nowrap; }
.ztable td:last-child { white-space: nowrap; color: var(--plum-700); font-weight: 600; }
.ztable__note { font-size: .88rem; color: var(--grey-500); margin-top: 1rem; }

/* ── Region pills ── */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; margin: 0; }
.pills li {
  margin: 0;
  background: var(--white); border: 1px solid var(--lilac-200);
  color: var(--plum-800); font-size: .9rem; font-weight: 500;
  padding: .35rem 1rem; border-radius: 100px;
}

/* ── Person cards ── */
.person { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 1.9rem; }
.person__avatar {
  width: 3.4rem; height: 3.4rem; border-radius: 45% 55% 50% 50%;
  background: linear-gradient(140deg, var(--plum-700), var(--lilac-400));
  color: var(--white); font-family: var(--head); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.person__role {
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--plum-500);
  display: block; margin-bottom: .55rem;
}
.person h3 { margin-bottom: .2rem; }
.person p { font-size: .96rem; color: var(--grey-500); }

/* ── Quote ── */
.quote {
  background: var(--white);
  border-left: 4px solid var(--apricot);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.9rem 2.1rem;
  box-shadow: var(--shadow);
}
.quote p { font-size: 1.06rem; color: var(--plum-900); font-style: italic; }
.quote cite { display: block; margin-top: .8rem; font-size: .88rem; font-style: normal; font-weight: 600; color: var(--plum-500); }

/* ── Definition rows ── */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 210px 1fr; gap: 2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--grey-200); }
.row:last-child { border-bottom: none; }
.row__label { font-weight: 600; color: var(--plum-800); font-size: .95rem; }
.row p { font-size: .99rem; }

/* ── Callout ── */
.callout { background: var(--lilac-100); border-radius: var(--radius); padding: 1.7rem 1.9rem; }
.callout h3 { margin-bottom: .45rem; }
.callout p { font-size: .97rem; }
.callout--cream { background: var(--cream); }
.callout--accent { background: var(--apricot-100); border-left: 4px solid var(--apricot); }

/* ── Ambition list ── */
.ambition { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.ambition li { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 1.5rem; align-items: start; }
.ambition__when {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--apricot); padding-top: .3rem;
}
.ambition h3 { margin-bottom: .25rem; font-size: 1.05rem; }
.ambition p { font-size: .96rem; color: var(--grey-500); margin: 0; }

/* ── FAQ ── */
.faq details { border: 1px solid var(--grey-200); border-radius: var(--radius-sm); padding: 1.1rem 1.4rem; margin-bottom: .85rem; background: var(--white); }
.faq summary { font-family: var(--head); font-weight: 600; color: var(--plum-900); cursor: pointer; list-style: none; position: relative; padding-right: 2rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: -.1rem; color: var(--apricot); font-size: 1.35rem; font-weight: 600; line-height: 1; }
.faq details[open] summary::after { content: '\2013'; }
.faq details p { margin-top: .75rem; font-size: .97rem; color: var(--grey-500); }

/* ── Form ── */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-size: .82rem; font-weight: 600; color: var(--plum-800); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--grey-700);
  padding: .75rem .95rem;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum-500); }
.field textarea { min-height: 120px; resize: vertical; }
.field__hint { font-size: .84rem; color: var(--grey-500); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── CTA band ── */
.cta { background: linear-gradient(150deg, var(--plum-800), var(--plum-500)); padding-block: 4rem; text-align: center; }
.cta h2 { color: var(--white); }
.cta p { color: #dccfe2; max-width: 56ch; margin: .8rem auto 2rem; }

/* ── Footer ── */
.footer { background: var(--plum-900); color: #a893b0; padding-block: 3.5rem 2rem; font-size: .93rem; }
.footer a { color: #a893b0; }
.footer a:hover { color: var(--white); }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer h4 { color: var(--white); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .45rem; }
.footer .logo__text { color: var(--white); }
.footer__about { margin-top: .9rem; max-width: 36ch; line-height: 1.7; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.5rem; padding-top: 1.4rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .86rem;
}

/* ── Responsive ── */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; gap: .9rem;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--grey-200);
    padding: 1.3rem 1.5rem;
  }
  .nav__inner { position: relative; }
  .nav__toggle { display: block; order: 3; }
  .nav__cta { display: none; }
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  body { font-size: 16px; }
  .split, .split--wide { grid-template-columns: 1fr; gap: 2.5rem; }
  .row { grid-template-columns: 1fr; gap: .3rem; }
  .ambition li { grid-template-columns: 1fr; gap: .3rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .section { padding-block: 3.5rem; }
  .steps > li { grid-template-columns: 2.6rem 1fr; gap: 1rem; }
  .ztable th:nth-child(2), .ztable td:nth-child(2) { display: none; }
}
