/* Numaga — licht thema + styles voor de VVT-campagnepagina (/thuiszorg, zorg.jsx).
 *
 * Alleen geladen op pagina's met `css=["assets/zorg.css"]` in PAGES (build.py) en actief via
 * `html.nm-light`. De rest van de site blijft vastgezet op donker (colors_and_type.css).
 * Aanpak: dezelfde tokens, andere waarden. Mint blijft het product-accent, maar donkerder
 * (#0e9f75) zodat het als tekst op wit leesbaar blijft; rust-eyebrows ook een tint donkerder.
 * Onderdelen die in numaga.css vaste donkere waarden hebben (nav-blur, knopschaduw, ghost-hover,
 * band-decoratie) krijgen hier een lichte tegenhanger. De Ontdek Zorg-kaart blijft bewust donker
 * (wit logo). Zorgsector-conventie: licht, rustig, echte mensen; zie Confluence "Website-check".
 */
html.nm-light {
  --rk-ink-950:   #ffffff;   /* input wells */
  --rk-ink-900:   #f6f8fb;   /* page base */
  --rk-ink-850:   #eef2f7;   /* inset / secondary fill */
  --rk-band:      #e9f5ef;   /* section band, mint-tinted */
  --rk-ink-800:   #ffffff;   /* cards */
  --rk-ink-700:   #d5dde8;
  --rk-ink-600:   #b9c4d3;

  /* Mint als tekst en knopvlak op licht: #0a7d5b haalt 5,1:1 met wit (knoplabels 13px) en
   * 4,6:1 op de mint-band (stapnummers). #0e9f75 haalde 3,4:1 en 3,0:1. */
  --rk-rust-500:  #0a7d5b;
  --rk-rust-600:  #086b4f;
  --rk-rust-400:  #0b8662;
  --rk-rust-700:  #06563f;
  --accent-rgb:   10, 125, 91;
  --rk-orange-300: #0a7d5b;

  --accent-warm-text: #a94b2a;   /* 5,0:1 op de mint-band (eyebrows 12px) */

  --rk-gray-200:  #c3ccd9;
  --rk-gray-300:  #9aa6b8;
  --rk-gray-400:  #7a879c;

  --rk-success:   #0a7d5b;
  --rk-warning:   #b97a12;
  --rk-danger:    #c2592f;

  --fg-1:         #0f1a2b;
  --fg-2:         #44546b;
  --fg-3:         #56657c;   /* 5,3:1 op de mint-band voor mono-bijschriften */
  --fg-on-accent: #ffffff;

  --border-1:     rgba(15, 26, 43, 0.08);
  --border-2:     rgba(15, 26, 43, 0.14);
  --border-strong: rgba(15, 26, 43, 0.28);

  --surface-grad: linear-gradient(180deg, #ffffff, #fbfcfe);
  --shadow-sm: 0 1px 2px rgba(15, 26, 43, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 26, 43, 0.10);
  --shadow-lg: 0 12px 38px rgba(15, 26, 43, 0.12);
  --elev-1: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(15,26,43,0.06), 0 12px 30px rgba(15,26,43,0.07);
  --elev-2: inset 0 1px 0 rgba(255,255,255,0.8), 0 4px 12px rgba(15,26,43,0.08), 0 24px 56px rgba(15,26,43,0.12);
  --glow-accent: 0 10px 30px rgba(var(--accent-rgb), 0.22);
}

/* Vaste donkere waarden uit numaga.css, licht gemaakt */
html.nm-light .nm-nav.scrolled { background: rgba(246, 248, 251, 0.82); }
html.nm-light .nm-btn-primary { box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.28); }
html.nm-light .nm-btn-ghost:hover, html.nm-light .nm-btn-ghost-dark:hover { background: rgba(15, 26, 43, 0.04); }
html.nm-light .nm-mega-item:hover { background: rgba(15, 26, 43, 0.04); }
html.nm-light .nm-banner-close:hover { background: rgba(15, 26, 43, 0.06); }
html.nm-light .nm-section-dark::before, html.nm-light .nm-contact::before { display: none; }
html.nm-light .nm-shot-window { background: #ffffff; }
html.nm-light .nm-shot-bar { background: var(--rk-ink-850); }
html.nm-light .nm-form input, html.nm-light .nm-form textarea { background: #ffffff; }
html.nm-light .nm-footer { background: var(--rk-ink-850); }
/* Menu's hebben in numaga.css een vaste donkere achtergrond; op de campagnepagina zijn het
 * Oplossingen-menu en de taalknop uit (Nav campaign), maar het mobiele menu bestaat nog. */
html.nm-light .nm-mobile-menu, html.nm-light .nm-mega-inner { background: rgba(246, 248, 251, 0.98); }
html.nm-light .nm-mega-inner { box-shadow: var(--shadow-lg); }
html.nm-light .nm-mega-item:hover { background: rgba(15, 26, 43, 0.04); }
/* Oprichtersfoto's: de donkere merkgradient (voor de donkere site) wordt op wit een donker blok. */
html.nm-light .nm-favatar-grad { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.14) 0%, transparent 55%, rgba(15, 26, 43, 0.18) 100%); }
/* Mono-bijschriften minimaal 12px op licht (10-11px haalt geen AA en leest slecht op mobiel). */
html.nm-light .nm-form-note, html.nm-light .nm-cmeta-label, html.nm-light .nm-builtby { font-size: 12px; }
html.nm-light .nm-form-note { line-height: 1.5; }

/* Ontdek Zorg-kaart blijft donker (wit logo) */
html.nm-light .nm-case-card {
  background: radial-gradient(120% 120% at 100% 0%, rgba(224, 114, 74, 0.14), transparent 55%), linear-gradient(160deg, rgba(24, 195, 145, 0.16), rgba(24, 195, 145, 0.03)), #0f1626;
  border-color: rgba(24, 195, 145, 0.45);
  box-shadow: 0 24px 56px rgba(15, 26, 43, 0.22);
}
html.nm-light .nm-case-card .nm-case-facts li { color: #e6ecf3; }
html.nm-light .nm-case-card .nm-case-facts .tick { color: #41d9a9; }
html.nm-light .nm-case-card .nm-case-link { color: #98a8bb; }
html.nm-light .nm-case-card .nm-case-link:hover { color: #41d9a9; }

/* --- Pagina-layout --- */
.nm-zorg-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; grid-template-areas: "copy phone" "rest phone"; align-items: center; column-gap: clamp(32px, 5vw, 72px); row-gap: 0; }
.nm-zorg-hero-copy { grid-area: copy; align-self: end; }
.nm-zorg-hero-rest { grid-area: rest; align-self: start; }
.nm-zorg-hero-copy .nm-feat-title { margin-bottom: 0; }
.nm-zorg-hero-rest .nm-lead { margin-top: 22px; }
.nm-zorg-hero .nm-feat-title { max-width: 19ch; }
.nm-zorg-phone { grid-area: phone; margin: 0; justify-self: center; text-align: center; }
.nm-zorg-phone img { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto; border-radius: 34px; border: 1px solid var(--border-2); box-shadow: var(--elev-2); background: #f4f6f9; }
.nm-zorg-phone figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fg-3); margin-top: 14px; }
@media (max-width: 880px) {
  /* Kop → telefoon (bovenkant, met fade) → lead en knoppen: het bewijs staat boven de vouw en
     de knoppen blijven op het eerste of tweede scherm. De sticky knop vangt de rest. */
  .nm-zorg-hero { padding-top: 104px; }
  .nm-zorg-hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "phone" "rest"; row-gap: 0; }
  .nm-zorg-phone { margin-top: 26px; justify-self: start; text-align: left; }
  .nm-zorg-phone-crop { max-height: 190px; overflow: hidden; padding: 2px 2px 0; -webkit-mask-image: linear-gradient(#000 55%, transparent 100%); mask-image: linear-gradient(#000 55%, transparent 100%); }
  .nm-zorg-phone img { max-width: 220px; margin: 0; }
  .nm-zorg-phone figcaption { display: none; }
  .nm-zorg-hero-rest .nm-lead { margin-top: 8px; }
}

/* Sticky demo-knop (alleen mobiel), zie ZorgStickyCta */
.nm-zorg-sticky { display: none; }
@media (max-width: 860px) {
  .nm-zorg-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; padding: 10px clamp(16px, 4vw, 24px) calc(10px + env(safe-area-inset-bottom)); background: rgba(246, 248, 251, 0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border-2); transform: translateY(110%); transition: transform var(--dur-med) var(--ease-out); }
  .nm-zorg-sticky.show { transform: translateY(0); }
  .nm-zorg-sticky .nm-btn { width: 100%; justify-content: center; }
  html.nm-light .nm-footer { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .nm-zorg-sticky { transition: none; } }

/* Browser-oppervlakken: tekstselectie en caret in de productkleur. */
html.nm-light ::selection { background: rgba(var(--accent-rgb), 0.18); color: var(--fg-1); }
html.nm-light .nm-form input, html.nm-light .nm-form textarea { caret-color: var(--accent); }
html.nm-light .nm-thanks .nm-title { color: var(--fg-1); }

/* Merk-eigen focusring (toetsenbord) in plaats van de browser-default; inputs houden hun eigen focus-stijl. */
html.nm-light :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
html.nm-light .nm-form input:focus-visible, html.nm-light .nm-form textarea:focus-visible { outline: none; }

/* Link onder een directiekaart (tarieven) */
.nm-zorg-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.nm-zorg-more:hover { color: var(--rk-rust-600); }
.nm-zorg-more:hover .arr { transform: translateX(3px); }

.nm-zorg-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .nm-zorg-facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .nm-zorg-facts { grid-template-columns: 1fr; } }
.nm-zorg-fact { background: var(--surface-grad); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 22px 22px 18px; box-shadow: var(--elev-1); display: flex; flex-direction: column; gap: 8px; }
.nm-zorg-fact-n { font-family: var(--font-display); font-size: clamp(24px, 2.3vw, 30px); font-weight: 600; letter-spacing: -0.02em; color: var(--accent); line-height: 1.05; }
.nm-zorg-fact-l { font-size: 14.5px; line-height: 1.5; color: var(--fg-1); margin: 0; }
.nm-zorg-fact-src { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--fg-3); text-decoration: none; margin-top: auto; }
a.nm-zorg-fact-src:hover { color: var(--accent); }

/* De feitenkaarten scheiden al; een extra hairline hier leverde bij een ankersprong twee strepen op (nav + sectie). */
.nm-zorg-factband + .nm-zorg-roles-band { border-top-color: transparent; }
.nm-zorg-roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
@media (max-width: 880px) { .nm-zorg-roles { grid-template-columns: 1fr; } }
.nm-zorg-role { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 26px 26px; background: var(--surface-grad); border: 1px solid var(--border-1); border-radius: var(--radius-lg); box-shadow: var(--elev-1); text-decoration: none; color: inherit; transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out); }
.nm-zorg-role:hover { transform: translateY(-2px); border-color: rgba(var(--accent-rgb), 0.5); box-shadow: var(--elev-2); }
.nm-zorg-role h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0; padding-right: 32px; color: var(--fg-1); }
.nm-zorg-role p { font-size: 14.5px; line-height: 1.55; color: var(--fg-2); margin: 0; }
.nm-zorg-role-arr { position: absolute; top: 24px; right: 22px; color: var(--accent); }
.nm-zorg-role:hover .arr { transform: translateX(3px); }

/* Medewerker-sectie: kop links, foto van een verzorgende rechts */
.nm-zorg-mw-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr); grid-template-areas: "head photo" "lead photo"; column-gap: clamp(28px, 4vw, 64px); row-gap: 0; align-items: end; }
.nm-zorg-mw-head { grid-area: head; margin-bottom: 0; }
.nm-zorg-mw-head .nm-title { margin-bottom: 0; }
.nm-zorg-mw-lead { grid-area: lead; align-self: start; }
.nm-zorg-mw-lead .nm-lead { margin: 18px 0 0; }
.nm-zorg-photo { grid-area: photo; margin: 0; justify-self: end; width: 100%; max-width: 320px; }
.nm-zorg-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 1px solid var(--border-2); box-shadow: var(--elev-2); }
.nm-zorg-photo figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fg-3); margin-top: 10px; }
@media (max-width: 880px) {
  /* Kop over de volle breedte; daaronder de lead met een kleine foto ernaast. */
  .nm-zorg-mw-grid { grid-template-columns: minmax(0, 1fr) 104px; grid-template-areas: "head head" "lead photo"; column-gap: 18px; align-items: start; }
  .nm-zorg-photo { justify-self: end; max-width: 104px; margin-top: 18px; }
  .nm-zorg-photo img { border-radius: 12px; box-shadow: var(--elev-1); }
  .nm-zorg-photo figcaption { display: none; }
}

/* Stappen links (één kolom), demo-clip in telefoonkader rechts */
.nm-zorg-mw-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 36px; }
.nm-zorg-steps-col { grid-template-columns: 1fr; margin-top: 0; }
/* Eigen klasse (niet .nm-zorg-phone: die draagt grid-area "phone" voor de hero-grid en zou hier
 * een impliciete kolom maken). */
.nm-zorg-video { margin: 0; justify-self: end; width: 100%; max-width: 300px; }
.nm-zorg-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 34px; border: 1px solid var(--border-2); box-shadow: var(--elev-2); background: #f4f6f9; object-fit: cover; }
.nm-zorg-video-label { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: -0.01em; color: var(--fg-1); margin: 0 0 12px; }
.nm-zorg-video figcaption { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--fg-3); margin-top: 12px; }
@media (max-width: 880px) {
  .nm-zorg-mw-body { grid-template-columns: 1fr; gap: 28px; }
  .nm-zorg-video { justify-self: start; max-width: 260px; order: -1; }
}

/* Klantquote in de (donkere) Ontdek Zorg-kaart */
.nm-zorg-quote { margin: 0; padding: 0 0 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.nm-zorg-quote p { margin: 0 0 12px; font-family: var(--font-display); font-size: 17px; line-height: 1.45; letter-spacing: -0.005em; color: #e6ecf3; }
.nm-zorg-quote footer { display: flex; flex-direction: column; gap: 2px; font-size: 13px; line-height: 1.4; color: #98a8bb; }
.nm-zorg-quote footer strong { color: #e6ecf3; font-weight: 600; }

/* Volle-breedte band met de inhoud op 1200px, zoals .nm-contact */
.nm-zorg-band { padding-left: 0; padding-right: 0; }
.nm-zorg-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); }
.nm-zorg-band .nm-feat-steps { margin-top: 36px; }
.nm-section > .nm-feat-steps { margin-top: 36px; }

.nm-zorg-safe { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 14px 18px; border-radius: var(--radius-md); background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.28); color: var(--fg-1); font-size: 15px; line-height: 1.45; }
.nm-zorg-safe svg { color: var(--accent); flex: none; }

.nm-zorg-actions { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 22px; margin-top: 28px; }
.nm-zorg-dl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.nm-zorg-dl li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; line-height: 1.45; color: var(--fg-1); }
.nm-zorg-dl svg { color: var(--accent); flex: none; }
.nm-zorg-dl a { color: var(--fg-1); text-decoration: underline; text-decoration-color: rgba(var(--accent-rgb), 0.5); text-underline-offset: 3px; }
.nm-zorg-dl a:hover { color: var(--accent); }

.nm-zorg-cta-row { margin-top: 40px; padding: 30px; border-radius: var(--radius-lg); background: var(--surface-grad); border: 1px solid var(--border-1); box-shadow: var(--elev-1); }

.nm-zorg-hkz { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 36px; padding: clamp(26px, 3vw, 38px); border-radius: var(--radius-lg); background: var(--surface-grad); border: 1px solid rgba(var(--accent-rgb), 0.35); box-shadow: var(--elev-1); }
@media (max-width: 880px) { .nm-zorg-hkz { grid-template-columns: 1fr; } }
.nm-zorg-hkz-title { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 18px; color: var(--fg-1); }
/* Vraag-en-antwoord: wat de auditor vraagt (dt) en wat je antwoordt (dd). */
.nm-zorg-qa { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.nm-zorg-qa-item dt { font-weight: 600; font-size: 15px; line-height: 1.45; color: var(--fg-1); margin: 0 0 6px; }
.nm-zorg-qa-item dd { display: flex; align-items: flex-start; gap: 10px; margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--fg-2); }
.nm-zorg-qa-item .tick { color: var(--accent); flex: none; margin-top: 3px; }
.nm-zorg-hkz-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--fg-3); margin: 22px 0 0; }
.nm-zorg-hkz-side { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.nm-zorg-hkz-side .nm-cert-badge { align-self: flex-start; }

/* Directie: vier voordelen als kaarten zonder stapnummers (het zijn geen stappen). */
.nm-zorg-blocks .nm-feat-step { padding: 24px 26px; }

/* Wijkverpleegkundige: rustige puntenlijst in twee kolommen, geen kaarten (afwisseling met de
 * genummerde stappen erboven en de kaarten eronder). */
.nm-zorg-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px clamp(28px, 4vw, 56px); margin-top: 36px; }
@media (max-width: 680px) { .nm-zorg-points { grid-template-columns: 1fr; gap: 24px; } }
.nm-zorg-point { display: flex; gap: 14px; align-items: flex-start; padding-top: 22px; border-top: 1px solid var(--border-2); }
.nm-zorg-point .tick { color: var(--accent); flex: none; margin-top: 3px; }
.nm-zorg-point h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 6px; color: var(--fg-1); }
.nm-zorg-point p { font-size: 15px; line-height: 1.55; color: var(--fg-2); margin: 0; }

/* Wijkverpleegkundige: nummer en weg naar het formulier onder de knoppen */
.nm-zorg-callnote { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.nm-zorg-callnote a { color: var(--accent); font-weight: 600; text-decoration: none; }
.nm-zorg-callnote a:hover { text-decoration: underline; }
.nm-zorg-case-note { margin-top: 22px; }

/* Bedankpagina (campagnevariant) */
.nm-thanks-founders .nm-founders { margin-top: 12px; }
.nm-thanks .nm-zorg-dl { margin-top: 12px; }

/* Demo-band: agenda-link als secundaire route onder de oprichters. */
.nm-zorg-book { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 6px; }

.nm-zorg-case-note { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--fg-3); margin: 18px 0 0; max-width: 60ch; }

/* Contactband: titel/lead volgen de tokens (de expo-variant zet hier wit hardcoded) */
html.nm-light .nm-zorg-demo .nm-title { color: var(--fg-1); }

/* Lange knoplabels (doorstuur-mails) mogen op smalle schermen omlopen */
@media (max-width: 600px) {
  .nm-zorg-actions .nm-btn, .nm-zorg-cta-row .nm-btn, .nm-zorg-band .nm-feat-hero-cta .nm-btn { white-space: normal; text-align: left; max-width: 100%; }
}
