/* ============================================================
   't Vissershutje (VZW) — stylesheet
   Warm, convivial & licht rustieke stijl voor een visclub.
   ============================================================ */

:root {
  --primary: #2C5364;        /* diep waterblauw */
  --primary-dark: #203E4C;   /* donkerder waterblauw */
  --primary-light: #3E6A7E;  /* lichter waterblauw */
  --secondary: #6B8E5A;      /* zacht rietgroen */
  --secondary-dark: #5F7D4F; /* donker rietgroen */
  --accent: #D97D3D;         /* warm oranje-roest */
  --accent-dark: #C96F30;    /* donker oranje */
  --bg: #F7F6F2;             /* gebroken wit */
  --bg-soft: #EFEDE6;        /* zacht warm grijs */
  --text: #2B2B2B;           /* antraciet */
  --text-light: #5C6B73;     /* lichter grijs voor uitleg */
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(32, 62, 76, 0.10);
  --shadow-lg: 0 16px 40px rgba(32, 62, 76, 0.16);
  --font-head: Georgia, 'Times New Roman', 'Iowan Old Style', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 1.0625rem;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--green {
  background: var(--secondary);
  color: var(--white);
}

.section--green .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

.section--blue {
  background: var(--primary);
  color: var(--white);
}

.section--blue .section-sub {
  color: rgba(255, 255, 255, 0.82);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.section--green .section-title,
.section--blue .section-title {
  color: var(--white);
}

.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .section-eyebrow::before {
  display: none;
}

.section-head--center .section-sub {
  margin-inline: auto;
}

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217, 125, 61, 0.35);
}

.btn--accent:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.75);
}

.btn--outline:hover {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}

.btn--outline-dark {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn--outline-dark:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn--white:hover {
  background: var(--bg-soft);
}

.btn svg {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

/* ---------------- Topbar ---------------- */

.topbar {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  min-height: 36px;
}

.topbar a {
  color: rgba(255, 255, 255, 0.9);
}

.topbar a:hover {
  color: var(--accent);
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.topbar__item svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
}

/* ---------------- Navbar ---------------- */

.navbar {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex: none;
}

.brand__logo {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 7px;
}

.brand__name {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand__tagline {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 0.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.1rem;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.nav__link--active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.nav__cta {
  margin-left: 0.75rem;
  font-size: 0.95rem;
  padding: 0.65rem 1.35rem;
}

.nav__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.08;
  margin-bottom: 1.2rem;
  color: var(--white);
}

.hero__title em {
  font-style: italic;
  color: #F0B27A;
}

.hero__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.12rem;
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__figure {
  position: relative;
}

.hero__figure svg {
  width: 100%;
  height: auto;
}

.hero__figure-ring {
  position: absolute;
  inset: -6% -4%;
  border: 2px dashed rgba(255, 255, 255, 0.25);
  border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%;
  animation: float 9s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  50% { transform: rotate(2deg) translateY(-12px); }
}

/* ---------------- Wave divider ---------------- */

.wave {
  display: block;
  width: 100%;
  height: auto;
  line-height: 0;
}

.wave svg {
  width: 100%;
  height: 70px;
  display: block;
}

/* ---------------- Cards ---------------- */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card--center {
  text-align: center;
}

.card__icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(107, 142, 90, 0.14);
  margin-bottom: 1.1rem;
}

.card__icon--blue { background: rgba(44, 83, 100, 0.12); }
.card__icon--green { background: rgba(107, 142, 90, 0.16); }
.card__icon--accent { background: rgba(217, 125, 61, 0.14); }

.card__icon svg {
  width: 34px;
  height: 34px;
}

.card__title {
  font-family: var(--font-head);
  font-size: 1.28rem;
  color: var(--primary-dark);
  margin-bottom: 0.55rem;
}

.card__text {
  color: var(--text-light);
  font-size: 0.98rem;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-dark);
  margin-top: 1rem;
}

.card__link svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.card__link:hover svg {
  transform: translateX(4px);
}

/* ---------------- Stats ---------------- */

.stats {
  background: linear-gradient(150deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat__number span {
  color: #F0B27A;
}

.stat__label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 600;
}

.stat__label svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--accent);
}

/* ---------------- Split / features ---------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.split__media {
  background: linear-gradient(160deg, rgba(107, 142, 90, 0.14), rgba(44, 83, 100, 0.12));
  border-radius: 22px;
  padding: 1.6rem;
  box-shadow: var(--shadow);
}

.split__media svg {
  width: 100%;
  height: auto;
}

.split__list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.9rem;
}

.split__list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.split__list svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 0.15rem;
  color: var(--secondary-dark);
}

.split__list strong {
  color: var(--primary-dark);
}

/* ---------------- Timeline ---------------- */

.timeline {
  list-style: none;
  position: relative;
  margin: 2rem 0 0;
  padding-left: 2.2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--secondary), var(--primary));
}

.timeline li {
  position: relative;
  padding-bottom: 1.8rem;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.4rem;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--accent);
}

.timeline__year {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent-dark);
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.2rem;
}

.timeline__title {
  font-weight: 700;
  color: var(--primary-dark);
}

.timeline p {
  color: var(--text-light);
  font-size: 0.97rem;
  margin-top: 0.2rem;
}

/* ---------------- Personen / bestuur ---------------- */

.person {
  text-align: center;
}

.person__avatar {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow);
}

.person__avatar svg {
  width: 46px;
  height: 46px;
}

.person__role {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(217, 125, 61, 0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.person__name {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary-dark);
}

/* ---------------- Programma items ---------------- */

.program {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.8rem;
  align-items: start;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 6px solid var(--secondary);
  margin-bottom: 1.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.program--accent {
  border-left-color: var(--accent);
}

.program__icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(44, 83, 100, 0.1), rgba(107, 142, 90, 0.18));
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.program__icon svg {
  width: 42px;
  height: 42px;
}

.program__num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.program h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 0.15rem 0 0.55rem;
}

.program p {
  color: var(--text-light);
  font-size: 0.99rem;
}

.program ul {
  margin: 0.9rem 0 0 1.2rem;
  color: var(--text-light);
  font-size: 0.96rem;
  display: grid;
  gap: 0.35rem;
}

/* ---------------- CTA band ---------------- */

.cta {
  background: linear-gradient(120deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.cta__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta__text {
  color: rgba(255, 255, 255, 0.92);
  max-width: 560px;
}

.cta__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  background: linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.page-hero__crumb {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #F0B27A;
  margin-bottom: 0.9rem;
}

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.page-hero__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
  max-width: 620px;
}

/* ---------------- Proza / juridisch ---------------- */

.prose {
  max-width: 780px;
}

.prose h2 {
  font-family: var(--font-head);
  font-size: 1.55rem;
  color: var(--primary-dark);
  margin: 2.4rem 0 0.8rem;
}

.prose h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin: 1.8rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--text-light);
}

.prose p {
  margin-bottom: 1rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.2rem 1.4rem;
  display: grid;
  gap: 0.45rem;
}

.prose a {
  font-weight: 600;
}

.prose .note {
  background: var(--bg-soft);
  border-left: 4px solid var(--secondary);
  padding: 1.1rem 1.4rem;
  border-radius: 0 12px 12px 0;
  margin: 1.4rem 0;
  font-size: 0.96rem;
}

.prose .note strong {
  color: var(--primary-dark);
}

.legal-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  margin-top: 2rem;
}

.legal-box dl {
  display: grid;
  grid-template-columns: minmax(150px, 240px) 1fr;
  gap: 0.9rem 1.4rem;
}

.legal-box dt {
  font-weight: 700;
  color: var(--primary-dark);
}

.legal-box dd {
  color: var(--text-light);
  margin: 0;
}

.legal-meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 2rem;
}

.legal-meta .note {
  margin: 0;
}

/* ---------------- Contact ---------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 1.1rem;
}

.contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.3rem 1.4rem;
}

.contact-card__icon {
  width: 50px;
  height: 50px;
  flex: none;
  border-radius: 14px;
  background: rgba(44, 83, 100, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card__icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h3 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 0.15rem;
}

.contact-card p,
.contact-card a {
  font-size: 0.97rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-card a {
  color: var(--primary-light);
  font-weight: 600;
}

.form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}

.form__group {
  margin-bottom: 1.2rem;
}

.form__label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}

.form__input,
.form__textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form__input:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
}

.form__textarea {
  min-height: 150px;
  resize: vertical;
}

.form__note {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.8rem;
}

.form__status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.95rem;
}

.form__status--success {
  display: block;
  background: rgba(107, 142, 90, 0.15);
  color: var(--secondary-dark);
  border: 1px solid rgba(107, 142, 90, 0.35);
}

/* ---------------- Kaart ---------------- */

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-soft);
  min-height: 420px;
  position: relative;
}

#map {
  height: 460px;
  width: 100%;
  z-index: 0;
}

.leaflet-container {
  font-family: var(--font-body);
}

.leaflet-popup-content-wrapper {
  border-radius: 12px;
}

.leaflet-popup-content {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

/* ---------------- Doneer ---------------- */

.donate-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.donate-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.donate-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.donate-card--featured {
  border: 3px solid var(--accent);
}

.donate-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
}

.donate-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 18px;
  background: rgba(44, 83, 100, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-card__icon svg {
  width: 36px;
  height: 36px;
}

.donate-card h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.donate-card p {
  color: var(--text-light);
  font-size: 0.97rem;
}

.donate-card .btn {
  margin-top: 1.2rem;
}

/* ---------------- Footer ---------------- */

.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  margin-top: 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer__brand svg {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px;
}

.footer__brand-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.footer__desc {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  max-width: 300px;
}

.footer__title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}

.footer__list {
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.footer__list a {
  color: rgba(255, 255, 255, 0.78);
}

.footer__list a:hover {
  color: var(--accent);
}

.footer__contact {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  line-height: 1.5;
}

.footer__contact svg {
  width: 1.15rem;
  height: 1.15rem;
  flex: none;
  margin-top: 0.2rem;
  color: var(--accent);
}

.footer__contact a {
  color: rgba(255, 255, 255, 0.82);
}

.socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background 0.2s ease, transform 0.2s ease;
}

.socials a:hover {
  background: var(--accent);
  transform: translateY(-3px);
  color: var(--white);
}

.socials svg {
  width: 20px;
  height: 20px;
}

.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer__legal-links a:hover {
  color: var(--accent);
}

.footer__org {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------------- Back to top ---------------- */

.backtop {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
  z-index: 90;
}

.backtop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.backtop:hover {
  background: var(--accent);
  color: var(--white);
}

.backtop svg {
  width: 22px;
  height: 22px;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 960px) {
  .grid--4,
  .stats__grid,
  .donate-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .hero__inner,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__figure {
    order: -1;
    max-width: 480px;
  }
}

@media (max-width: 760px) {
  .topbar__right {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 84vw);
    background: var(--primary-dark);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.5rem 1.6rem 2rem;
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
    transform: translateX(105%);
    transition: transform 0.3s ease;
    z-index: 200;
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateX(0);
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.3rem;
  }

  .nav__link {
    display: block;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
    border-radius: 12px;
  }

  .nav__cta {
    margin: 1rem 0 0;
    justify-content: center;
    width: 100%;
  }

  .nav__close {
    position: absolute;
    top: 1.2rem;
    right: 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__close svg {
    width: 22px;
    height: 22px;
  }

  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 150;
  }

  .nav-scrim.show {
    opacity: 1;
    visibility: visible;
  }

  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr;
  }

  .legal-box dl {
    grid-template-columns: 1fr;
    gap: 0.25rem 0;
  }

  .legal-box dd {
    margin-bottom: 0.8rem;
  }

  .program {
    grid-template-columns: 1fr;
  }

  .cta {
    justify-content: center;
    text-align: center;
  }

  .cta__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats__grid,
  .grid--4,
  .donate-cards {
    grid-template-columns: 1fr;
  }

  .topbar__left {
    width: 100%;
    justify-content: space-between;
  }

  .brand__tagline {
    display: none;
  }
}

/* ---------------- Accessibility ---------------- */

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
