/* ===========================================================
   Sprotjesfonds vzw — warme, diervriendelijke huisstijl
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --cream:      #FBF6EF;
  --cream-deep: #F3E9DA;
  --surface:    #FFFFFF;
  --ink:        #3A322C;
  --muted:      #7A6E63;
  --line:       #ECE2D5;

  --terracotta:      #E8703A;
  --terracotta-dark: #C8551F;
  --honey:           #F4B740;
  --sage:            #7FA66A;
  --sage-soft:       #EAF1E4;
  --blush:           #FBEEE6;

  --shadow-sm: 0 2px 8px rgba(58, 50, 44, 0.06);
  --shadow-md: 0 10px 30px rgba(58, 50, 44, 0.10);
  --shadow-lg: 0 24px 60px rgba(58, 50, 44, 0.14);

  --radius:    18px;
  --radius-lg: 28px;

  --font-head: 'Quicksand', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --maxw: 1120px;
}

* { 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.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; }

a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--terracotta-dark);
  background: var(--blush);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.lead { font-size: 1.18rem; color: var(--muted); }

.center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 112, 58, .35);
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost {
  background: transparent;
  color: var(--terracotta-dark);
  border-color: var(--terracotta);
}
.btn-ghost:hover { background: var(--blush); }
.btn-lg { padding: 17px 34px; font-size: 1.1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-cat { width: 38px; height: 44px; flex: none; }
.brand-logo { height: 58px; width: auto; display: block; mix-blend-mode: multiply; }
.brand-mark { height: 50px; width: auto; flex: none; display: block; }
.badge-mark { height: 46px; width: auto; flex: none; display: block; }
.footer-mark { height: 52px; width: auto; display: block; filter: invert(1); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .98rem;
}
.nav-links a:hover { background: var(--cream-deep); text-decoration: none; }
.nav-links a.active { color: var(--terracotta-dark); }
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 8px; border-radius: 12px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2.5px; border-radius: 2px;
  background: var(--ink); margin: 5px 0; transition: .2s;
}

/* ---------- Voortgangskaart (donatiedoel) ---------- */
.progress-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
  margin-top: 18px;
}
.progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.progress-title { font-family: var(--font-head); font-weight: 700; }
.progress-pct { font-family: var(--font-head); font-weight: 700; color: var(--terracotta-dark); }
.progress-track {
  height: 14px;
  background: var(--cream-deep);
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--honey), var(--terracotta));
  transition: width .8s ease;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 12px;
}
.progress-amount { margin: 0; color: var(--muted); font-size: .95rem; }
.progress-amount strong { color: var(--ink); }
.progress-donors { margin: 0; color: var(--muted); font-size: .95rem; white-space: nowrap; }
.progress-donors strong { color: var(--ink); }

/* ---------- Case-figuur (bv. röntgenfoto) ---------- */
.case-figure {
  margin: 26px auto;
  max-width: 60%;
}
@media (max-width: 640px) {
  .case-figure { max-width: 85%; }
}
.case-figure img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 8px solid #fff;
  box-shadow: var(--shadow-md);
  background: #fff;
}
.case-figure figcaption {
  color: var(--muted);
  font-size: .9rem;
  font-style: italic;
  text-align: center;
  margin-top: 12px;
  line-height: 1.45;
}

/* ---------- Aandachtsbanner (huidige case) ---------- */
.alert-banner-wrap { padding: 26px 0 6px; }
.alert-banner {
  display: flex;
  align-items: center;
  gap: 22px;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 28px;
  box-shadow: var(--shadow-md);
  flex-wrap: wrap;
}
.alert-banner__photo {
  height: 90px;
  width: auto;
  border-radius: 12px;
  flex: none;
  display: block;
}
.alert-banner__text {
  margin: 0;
  flex: 1 1 auto;
  font-family: var(--font-head);
  font-size: 1.3rem;
  line-height: 1.3;
}
.alert-banner__btn {
  flex: none;
  background: #fff;
  color: var(--terracotta-dark);
}
.alert-banner__btn:hover { background: var(--cream); }
@media (max-width: 640px) {
  .alert-banner { gap: 14px; padding: 16px 18px; }
  .alert-banner__text { flex: 1 1 100%; order: 3; font-size: 1.1rem; text-align: center; }
  .alert-banner__btn { width: 100%; justify-content: center; order: 4; }
  .alert-banner__photo { order: 1; height: 78px; }
}

/* ---------- Status-banner (bv. "volledig ingezameld") ---------- */
.status-banner {
  max-width: 50%;
  margin: 22px auto 0;
  background: linear-gradient(90deg, var(--terracotta), var(--terracotta-dark));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: center;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .status-banner { max-width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 80% -10%, var(--blush), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, var(--sage-soft), transparent 55%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 50px;
  align-items: center;
  padding: 76px 0 84px;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--terracotta-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream-deep);
  aspect-ratio: 4 / 5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -18px; bottom: 26px;
  background: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  max-width: 240px;
}
.hero-badge .dot { width: 38px; height: 38px; flex:none; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--blush);
  margin-bottom: 16px;
}
.card .ico svg { width: 30px; height: 30px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }

/* ---------- Stats band ---------- */
.stats {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 46px 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.stats .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--honey);
}
.stats .lbl { color: #E9Dfd2; font-size: .98rem; }

/* ---------- Case highlight ---------- */
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-media { position: relative; background: var(--cream-deep); min-height: 340px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 44px; }
.case-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--terracotta); color: #fff;
  font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .04em;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.case-body ul { padding-left: 0; list-style: none; margin: 0 0 22px; }
.case-body ul li {
  position: relative; padding-left: 30px; margin-bottom: 8px; color: var(--muted);
}
.case-body ul li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 14px; height: 14px;
  background: var(--sage); border-radius: 50%;
  box-shadow: 0 0 0 4px var(--sage-soft);
}

/* ---------- Story article ---------- */
.story { max-width: 760px; margin: 0 auto; }
.story p { font-size: 1.08rem; }
.story h2 { margin-top: 1.6em; }
.story figure { margin: 34px 0; }
.story figure img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }
.story figcaption { color: var(--muted); font-size: .92rem; text-align: center; margin-top: 12px; font-style: italic; }
.pullquote {
  border-left: 5px solid var(--terracotta);
  background: var(--blush);
  padding: 20px 26px;
  border-radius: 0 16px 16px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 30px 0;
}
.story-gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0;
}
.story-gallery figure { margin: 0; }

/* ---------- Team ---------- */
.profile {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 44px;
  align-items: center;
}
.profile-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--cream-deep);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile .role { color: var(--terracotta-dark); font-weight: 700; font-family: var(--font-head); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; font-size: .92rem;
  font-family: var(--font-head); font-weight: 600;
}
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.ig-grid a { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--cream-deep); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Donation form ---------- */
.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: start;
}
.donate-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.amount-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 18px;
}
.amount-btn {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  padding: 16px 8px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--cream);
  cursor: pointer; transition: .15s; color: var(--ink);
}
.amount-btn:hover { border-color: var(--terracotta); }
.amount-btn.selected { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.field { margin-bottom: 16px; }
.field label { display:block; font-family: var(--font-head); font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream);
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); background:#fff; }
.input-euro { position: relative; }
.input-euro span {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-weight: 700;
}
.input-euro input { padding-left: 32px; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 12px; }
.form-error { color: var(--terracotta-dark); font-weight: 600; margin-top: 10px; display:none; }
.secure-row { display:flex; align-items:center; gap:10px; color: var(--muted); font-size:.88rem; margin-top:16px; }
.secure-row svg { width:18px; height:18px; flex:none; }

/* ---------- Callout / CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 0%, rgba(244,183,64,.25), transparent 60%),
    var(--terracotta);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #FFE9DC; max-width: 620px; margin: 0 auto 24px; }
.cta-band .btn-primary { background:#fff; color: var(--terracotta-dark); box-shadow:none; }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #D9CEC0;
  padding: 56px 0 30px;
  margin-top: 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px;
}
.site-footer .brand-name, .site-footer h4 { color: #fff; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #D9CEC0; }
.site-footer a:hover { color: var(--honey); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 22px; font-size: .88rem; color: #A99C8C;
  display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-cat { width: 34px; height: 40px; }
.footer-cat path { fill: #fff; }

/* ---------- Misc ---------- */
.banner-note {
  background: var(--sage-soft);
  border: 1px solid #D5E4CA;
  border-radius: 14px;
  padding: 14px 18px;
  color: #4a6038;
  font-size: .92rem;
  margin-bottom: 22px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .case, .profile, .donate-grid, .footer-grid,
  .grid-3, .grid-2, .stats, .story-gallery { grid-template-columns: 1fr; }
  .stats { gap: 30px; padding: 36px 20px; }
  .case-media { min-height: 260px; }
  .donate-card { position: static; }
  .profile-photo { max-width: 360px; margin: 0 auto; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; gap: 2px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-links .btn { margin-top: 8px; justify-content:center; }
  .nav-toggle { display: block; }
  .brand-logo { height: 46px; }
  .section { padding: 60px 0; }
}
