@font-face {
  font-family: "RecoletaLocal";
  src: url("../fonts/recoleta-font-family.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "SatoshiLocal";
  src: url("../fonts/Satoshi-Regular.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "SatoshiLocal";
  src: url("../fonts/Satoshi-Bold.otf") format("opentype");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --green-950: #122f2a;
  --green-850: #17443b;
  --green-700: #046a58;
  --green-100: #eaf6ef;
  --yellow-500: #ffc845;
  --yellow-100: #fff6dc;
  --red-600: #e33b35;
  --red-100: #fff0ed;
  --blue-650: #0b6fb3;
  --blue-100: #e9f5ff;
  --ink: #1e2b28;
  --muted: #667471;
  --line: #e5eadf;
  --paper: #ffffff;
  --soft: #fcf8ed;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(18, 47, 42, 0.14);
  --shadow-soft: 0 12px 30px rgba(18, 47, 42, 0.08);
  font-family: "SatoshiLocal", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    linear-gradient(180deg, rgba(255, 246, 220, 0.54), rgba(255, 255, 255, 0) 520px),
    #fff;
  color: var(--ink);
  line-height: 1.65;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 30;
  padding: 0.75rem 1rem;
  background: var(--green-950);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "RecoletaLocal", Georgia, serif;
  color: var(--green-950);
  letter-spacing: 0;
}

h1 {
  max-width: 13.5ch;
  font-size: 5rem;
  line-height: 0.94;
}

h2 {
  font-size: 3.2rem;
  line-height: 1;
}

h3 {
  font-size: 1.42rem;
  line-height: 1.16;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(229, 234, 223, 0.92);
  backdrop-filter: blur(12px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 1.4rem;
  padding: 0.45rem 1rem;
  background: var(--green-950);
  color: #fff;
  font-size: 0.9rem;
}

.topbar span {
  color: var(--yellow-500);
  font-weight: 800;
}

.topbar a {
  text-decoration: none;
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 1.15rem;
  width: min(1210px, calc(100% - 32px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--green-950);
  text-decoration: none;
}

.brand-mascot {
  flex: 0 0 auto;
  width: 62px;
  height: 62px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 8px 14px rgba(18, 47, 42, 0.13));
}

.brand-copy {
  display: grid;
  gap: 0.02rem;
  line-height: 1;
}

.brand-kicker {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-copy strong {
  display: block;
  color: var(--green-950);
  font-size: 1.34rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.98;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 1.05rem;
}

.desktop-nav a {
  color: var(--green-950);
  font-weight: 900;
  text-decoration: none;
}

.desktop-nav a:hover {
  color: var(--red-600);
}

.button,
.amount-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
}

.button.primary {
  background: var(--yellow-500);
  color: var(--green-950);
  box-shadow: 0 12px 26px rgba(255, 200, 69, 0.34);
}

.button.primary:hover {
  background: var(--red-600);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--green-950);
  border-color: rgba(18, 47, 42, 0.12);
}

.button.ghost {
  background: transparent;
  color: var(--green-950);
  border-color: rgba(18, 47, 42, 0.18);
}

.mobile-menu {
  display: none;
}

.mobile-menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  list-style: none;
  cursor: pointer;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 25px;
  height: 2px;
  margin: 3px 0;
  background: var(--green-950);
}

.mobile-menu nav {
  position: absolute;
  inset: 100% 0 auto 0;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.mobile-menu nav a:not(.button) {
  padding: 0.78rem 0.4rem;
  color: var(--green-950);
  font-weight: 900;
  text-decoration: none;
}

.hero-warm {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 8rem) 0 clamp(5.5rem, 9vw, 8rem);
  background:
    linear-gradient(120deg, rgba(255, 246, 220, 0.94), rgba(234, 246, 239, 0.98)),
    var(--soft);
}

.hero-warm::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, rgba(255, 200, 69, 0.16) 0 25%, transparent 25% 100%),
    radial-gradient(circle at 82% 22%, rgba(227, 59, 53, 0.12), transparent 30%),
    radial-gradient(circle at 18% 78%, rgba(4, 106, 88, 0.12), transparent 32%);
  opacity: 0.9;
}

.shape-line {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 29px;
  background: url("../images/charifund/shape.png") center / cover no-repeat;
  transform: scaleY(-1);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-copy {
  display: grid;
  gap: 1.1rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 58ch;
  color: var(--green-850);
  font-size: 1.18rem;
}

.hero-actions,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.eyebrow {
  margin: 0;
  color: var(--red-600);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-main-img {
  position: absolute;
  right: 0;
  bottom: 20px;
  width: min(100%, 560px);
  height: min(72vw, 470px);
  object-fit: cover;
  border: 12px solid #fff;
  border-radius: 46% 54% 42% 58% / 54% 44% 56% 46%;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 0;
  z-index: -1;
  width: 78%;
  height: 76%;
  border-radius: 50% 40% 54% 46%;
  background: var(--yellow-500);
}

.hero-card {
  position: absolute;
  display: grid;
  gap: 0.15rem;
  max-width: 210px;
  padding: 1rem;
  border: 1px solid rgba(18, 47, 42, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hero-card-top img {
  width: 92px;
  height: 96px;
  margin: -0.55rem 0 -0.2rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 47, 42, 0.12));
}

.hero-card span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-card strong {
  color: var(--green-950);
  font-size: 1.4rem;
  line-height: 1;
}

.hero-card-top {
  top: 26px;
  left: 0;
}

.hero-card-bottom {
  right: 18px;
  bottom: 48px;
}

.hero-card-bottom strong {
  color: var(--red-600);
  font-size: 2.2rem;
  font-family: "SatoshiLocal", system-ui, sans-serif;
  font-weight: 900;
}

.section {
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section.compact {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

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

.section-heading p:not(.eyebrow),
.lead {
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.7rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.text-stack {
  display: grid;
  gap: 1rem;
}

.feature-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1210px, calc(100% - 32px));
  margin: -3.2rem auto 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(18, 47, 42, 0.1);
  box-shadow: var(--shadow);
}

.feature-strip article {
  display: grid;
  gap: 0.55rem;
  justify-items: start;
  min-height: 218px;
  padding: clamp(1.3rem, 2.5vw, 2rem);
  background: #fff;
}

.feature-strip h2 {
  font-size: 1.65rem;
}

.feature-strip p {
  color: var(--muted);
}

.about-collage {
  position: relative;
  min-height: 500px;
}

.about-img-large,
.about-img-small {
  position: absolute;
  object-fit: cover;
  border: 10px solid #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-img-large {
  inset: 0 auto auto 0;
  width: 74%;
  height: 360px;
}

.about-img-small {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 240px;
}

.about-badge {
  position: absolute;
  left: 36px;
  bottom: 42px;
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  padding: 1rem;
  border: 8px solid #fff;
  border-radius: 50%;
  background: var(--yellow-500);
  color: var(--green-950);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.about-badge strong {
  font-family: "RecoletaLocal", Georgia, serif;
  font-size: 2rem;
  line-height: 1;
}

.check-list {
  display: grid;
  gap: 0.72rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  color: var(--green-950);
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 50%;
  background: var(--yellow-500);
  box-shadow: inset 0 0 0 4px #fff;
  outline: 1px solid rgba(18, 47, 42, 0.16);
}

.cause-section {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1210px) / 2));
  background: linear-gradient(180deg, #fff, var(--green-100));
}

.case-grid,
.stats-grid,
.focus-grid,
.option-grid,
.process-grid,
.company-grid,
.faq-grid {
  display: grid;
  gap: 1.15rem;
}

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

.case-card {
  overflow: hidden;
  border: 1px solid rgba(18, 47, 42, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.case-image {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  text-decoration: none;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-image span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: var(--yellow-500);
  color: var(--green-950);
  font-size: 0.76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.case-body {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
}

.case-body h3 a {
  text-decoration: none;
}

.case-body p {
  color: var(--muted);
}

.progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf1e8;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-600), var(--yellow-500));
}

.case-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  color: var(--green-950);
  font-size: 0.92rem;
}

.case-meta span {
  color: var(--muted);
}

.stats-band {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100% - 1210px) / 2));
  background:
    linear-gradient(135deg, rgba(18, 47, 42, 0.95), rgba(4, 106, 88, 0.9)),
    var(--green-950);
  color: #fff;
}

.stats-band h2,
.stats-band h3 {
  color: #fff;
}

.stats-band .section-heading p:not(.eyebrow),
.stats-band .stat-card p {
  color: rgba(255, 255, 255, 0.78);
}

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

.stat-card {
  padding: clamp(1.3rem, 2.3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  display: block;
  color: var(--yellow-500);
  font-family: "RecoletaLocal", Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
}

.stat-card h3 {
  margin-top: 0.8rem;
}

.stat-card a {
  color: var(--yellow-500);
  font-weight: 900;
}

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

.focus-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.focus-card::after {
  content: "";
  position: absolute;
  top: -46px;
  right: -44px;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  background: var(--yellow-100);
  opacity: 0.9;
}

.focus-mascot {
  position: absolute;
  z-index: 1;
  top: 0.55rem;
  right: 0.45rem;
  width: 94px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(18, 47, 42, 0.12));
}

.focus-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--yellow-100);
}

.focus-icon::before {
  color: var(--red-600);
  font-size: 1.6rem;
}

.focus-school::before {
  content: "A";
}

.focus-home::before {
  content: "♥";
}

.focus-shield::before {
  content: "€";
}

.focus-hands::before {
  content: "✓";
}

.focus-card h3,
.focus-card p {
  position: relative;
  z-index: 2;
}

.focus-card h3 {
  max-width: calc(100% - 74px);
}

.focus-card p {
  margin-top: 0.75rem;
  color: var(--muted);
}

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

.option-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.option-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.option-card div {
  display: grid;
  gap: 0.7rem;
  padding: 1.25rem;
}

.option-card p {
  color: var(--muted);
}

.option-card a {
  color: var(--green-700);
  font-weight: 950;
}

.process-band {
  background: var(--soft);
}

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

.process-card {
  padding: 1.25rem;
  border: 1px solid rgba(18, 47, 42, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.process-card strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--green-950);
  color: var(--yellow-500);
  font-family: "RecoletaLocal", Georgia, serif;
  font-size: 1.7rem;
}

.process-card p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.legacy-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: var(--radius);
  background: var(--yellow-100);
  box-shadow: var(--shadow-soft);
}

.legacy-mascot {
  width: 142px;
  height: 142px;
  object-fit: contain;
  filter: drop-shadow(0 16px 24px rgba(18, 47, 42, 0.13));
}

.legacy-cta p:not(.eyebrow) {
  max-width: 70ch;
  color: var(--muted);
}

.page-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(18, 47, 42, 0.94), rgba(4, 106, 88, 0.9)),
    var(--green-950);
  color: #fff;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 29px;
  background: url("../images/charifund/shape.png") center / cover no-repeat;
  transform: scaleY(-1);
}

.page-hero .section {
  padding: clamp(4rem, 7vw, 6rem) 0;
}

.page-hero h1 {
  max-width: 14ch;
  color: #fff;
}

.page-hero p:not(.eyebrow) {
  max-width: 66ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.16rem;
}

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

.donation-card,
.company-card,
.faq-item,
.contact-card {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.donation-card p,
.company-card p,
.faq-item p,
.contact-card p {
  color: var(--muted);
}

.impact-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: var(--radius);
  background: var(--green-950);
  color: #fff;
}

.impact-panel.with-mascot {
  min-height: 390px;
  padding-right: min(42%, 16rem);
}

.panel-mascot {
  position: absolute;
  right: 1.15rem;
  bottom: -0.25rem;
  width: min(38%, 220px);
  height: auto;
  max-height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.2));
}

.impact-panel h2,
.impact-panel h3 {
  position: relative;
  z-index: 1;
  color: #fff;
}

.impact-panel p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
}

.impact-panel .check-list {
  position: relative;
  z-index: 1;
}

.impact-panel .check-list li {
  color: rgba(255, 255, 255, 0.88);
}

.impact-panel .check-list li::before {
  background: var(--yellow-500);
  box-shadow: inset 0 0 0 4px var(--green-950);
  outline-color: rgba(255, 255, 255, 0.22);
}

.impact-panel.with-mascot .check-list {
  max-width: 34rem;
}

.amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.amount-link {
  min-height: 72px;
  border-color: var(--line);
  background: var(--yellow-100);
  color: var(--green-950);
  font-size: 1.25rem;
}

.amount-link:hover {
  border-color: var(--red-600);
  color: var(--red-600);
}

.inline-link,
.source-list a {
  color: var(--green-700);
  font-weight: 900;
}

.source-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.site-footer {
  margin-top: clamp(4rem, 8vw, 7rem);
  background: var(--green-950);
  color: #fff;
}

.footer-cta {
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.3rem;
  align-items: center;
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto -2.5rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: #fff;
  color: var(--green-950);
  box-shadow: var(--shadow);
}

.footer-mascot {
  width: 112px;
  height: 120px;
  object-fit: contain;
  align-self: end;
  margin-block: -1.6rem -0.7rem;
  filter: drop-shadow(0 16px 22px rgba(18, 47, 42, 0.13));
}

.footer-cta h2 {
  font-size: 2.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 2rem;
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
  padding: 2rem 0 2.2rem;
}

.footer-grid h2 {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.08rem;
}

.footer-grid p,
.footer-grid span {
  color: rgba(255, 255, 255, 0.74);
}

.footer-grid nav,
.footer-grid div {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-grid a {
  color: #fff;
}

.footer-brand {
  color: #fff;
  font-family: "RecoletaLocal", Georgia, serif;
  font-size: 1.35rem;
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1210px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.1rem 0 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.75rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .nav-wrap {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-menu {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .hero-inner,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .case-grid,
  .stats-grid,
  .option-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  h1 {
    max-width: 11.5ch;
    font-size: 3.05rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.28rem;
  }

  .topbar {
    display: none;
  }

  .nav-wrap {
    width: min(100% - 24px, 1210px);
    min-height: 70px;
  }

  .brand {
    gap: 0.54rem;
  }

  .brand-mascot {
    width: 52px;
    height: 52px;
  }

  .brand-kicker {
    font-size: 0.64rem;
  }

  .brand-copy strong {
    font-size: 1.08rem;
  }

  .hero-warm {
    padding-top: 3.4rem;
  }

  h1 {
    max-width: 11ch;
  }

  .feature-strip,
  .case-grid,
  .stats-grid,
  .focus-grid,
  .option-grid,
  .process-grid,
  .donation-grid,
  .company-grid,
  .faq-grid,
  .footer-grid,
  .legacy-cta,
  .footer-cta {
    grid-template-columns: 1fr;
  }

  .feature-strip {
    margin-top: -2rem;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-main-img {
    right: 0;
    left: 0;
    width: 100%;
    height: 360px;
  }

  .hero-card-top {
    top: 0;
  }

  .hero-card-top img {
    width: 78px;
    height: 84px;
  }

  .hero-card-bottom {
    right: 8px;
    bottom: 24px;
  }

  .about-collage {
    min-height: 430px;
  }

  .about-img-large {
    width: 88%;
    height: 300px;
  }

  .about-img-small {
    width: 62%;
    height: 190px;
  }

  .about-badge {
    left: 18px;
    bottom: 34px;
    width: 118px;
    height: 118px;
  }

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

  .focus-card {
    min-height: 230px;
  }

  .focus-mascot {
    width: 84px;
    height: 98px;
  }

  .impact-panel.with-mascot {
    min-height: 0;
    padding-right: clamp(1.4rem, 3vw, 2.4rem);
  }

  .panel-mascot {
    position: static;
    display: block;
    width: 108px;
    max-height: none;
    margin: 0.65rem 0 -0.3rem auto;
  }

  .legacy-mascot {
    width: 122px;
    height: 122px;
  }

  .footer-mascot {
    width: 96px;
    height: 104px;
    margin-block: -1.2rem -0.45rem;
  }

  .footer-cta {
    transform: translateY(-28%);
    margin-bottom: -1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 2.8rem;
  }

  .hero-actions,
  .action-row {
    display: grid;
  }

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

  .hero-card {
    max-width: 185px;
  }

  .focus-card h3 {
    max-width: calc(100% - 62px);
  }

  .focus-mascot {
    width: 74px;
    height: 90px;
    right: 0.25rem;
  }

  .panel-mascot {
    width: 98px;
  }
}

/* --- 3 pijlers (weegcriteria) + tier-kaarten --- */
.weeg-grid,
.tier-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(3, 1fr);
}

.weeg-card,
.tier-card {
  display: grid;
  gap: 0.6rem;
  align-content: start;
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.weeg-q {
  color: var(--green-700);
  font-weight: 900;
}

.weeg-desc {
  color: var(--muted);
}

.weeg-example {
  margin-top: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--yellow-100);
  color: var(--green-950);
  font-weight: 700;
  font-size: 0.96rem;
}

.weeg-example b {
  color: var(--red-600);
}

.tier-card p {
  color: var(--muted);
}

.tier-card .eyebrow {
  margin-bottom: 0.1rem;
}

/* --- poortvraag routes op hulpvraag-indienen --- */
.route-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
}

.route-tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.route-tag.yes {
  background: var(--green-100);
  color: var(--green-700);
}

.route-tag.no {
  background: var(--yellow-100);
  color: #9a6a00;
}

/* --- logo-muur Vrienden van --- */
.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.logo-tile {
  display: grid;
  place-items: center;
  min-height: 122px;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.logo-tile img {
  max-height: 72px;
  width: auto;
  object-fit: contain;
}

.logo-tile.empty {
  border-style: dashed;
  background: var(--soft);
}

.logo-tile.empty span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

/* WordPress navigation and editor content */
.desktop-nav > ul,
.desktop-nav .menu {
  display: contents;
  margin: 0;
  padding: 0;
  list-style: none;
}

.desktop-nav li {
  display: contents;
}

.page-content {
  max-width: 860px;
}

.page-content > * + * {
  margin-top: 1.1rem;
}

.page-content ul,
.page-content ol {
  padding-left: 1.3rem;
}

.story-featured {
  margin: 0 0 1.5rem;
}

.story-featured img {
  width: 100%;
  border-radius: var(--radius);
}

/* Platform forms */
.nhf-form-shell {
  margin-top: 1.2rem;
}

.nhf-form {
  display: grid;
  gap: 1.15rem;
}

.nhf-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.nhf-form legend {
  width: 100%;
  margin-bottom: 0.65rem;
  color: var(--green-950);
  font-weight: 900;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.nhf-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--green-950);
  font-weight: 800;
}

.nhf-form input[type="text"],
.nhf-form input[type="email"],
.nhf-form input[type="tel"],
.nhf-form input[type="number"],
.nhf-form textarea,
.nhf-form select {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.8rem;
  border: 1px solid #b9c9c4;
  border-radius: 4px;
  background: #fff;
  color: var(--green-950);
  font: inherit;
  font-weight: 600;
}

.nhf-form textarea {
  min-height: 126px;
  resize: vertical;
}

.nhf-form input:focus,
.nhf-form textarea:focus,
.nhf-form select:focus {
  outline: 3px solid rgba(242, 186, 37, 0.34);
  outline-offset: 1px;
  border-color: var(--green-700);
}

.form-wide {
  grid-column: 1 / -1;
}

.form-options {
  display: grid;
  gap: 0.65rem;
  padding: 1rem !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: var(--soft);
}

.form-options label,
.form-consent {
  display: flex;
  grid-template-columns: none;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 650;
}

.form-options input,
.form-consent input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 0.08rem;
  accent-color: var(--green-700);
}

.form-privacy,
.payment-trust,
.monthly-explanation {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.monthly-explanation {
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--yellow-500);
  background: var(--yellow-100);
  color: var(--green-950);
}

.form-notice {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--green-300);
  border-radius: var(--radius);
  background: var(--green-100);
  color: var(--green-950);
  font-weight: 800;
}

.form-notice.error {
  border-color: #efb5a9;
  background: #fff0ec;
  color: #7b2518;
}

.nhf-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.donation-frequency {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.donation-frequency legend,
.donation-amounts legend {
  grid-column: 1 / -1;
}

.donation-frequency label,
.amount-choice-grid label {
  display: block;
  position: relative;
  cursor: pointer;
}

.donation-frequency input,
.amount-choice-grid input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donation-frequency span,
.amount-choice-grid span {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--green-950);
  font-weight: 900;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.donation-frequency input:checked + span,
.amount-choice-grid input:checked + span {
  border-color: var(--green-700);
  background: var(--green-100);
  box-shadow: inset 0 0 0 1px var(--green-700);
}

.donation-frequency input:focus-visible + span,
.amount-choice-grid input:focus-visible + span {
  outline: 3px solid rgba(242, 186, 37, 0.4);
  outline-offset: 2px;
}

.amount-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.amount-choice-grid span {
  min-height: 58px;
  background: var(--yellow-100);
  font-size: 1.1rem;
}

.custom-amount {
  margin-top: 0.75rem;
}

.custom-amount > span {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  border: 1px solid #b9c9c4;
  border-radius: 4px;
  background: #fff;
}

.custom-amount b {
  padding-inline: 0.8rem;
  color: var(--green-700);
}

.custom-amount input {
  border: 0 !important;
}

.donation-submit {
  width: 100%;
  min-height: 54px;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.donation-status {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: center;
  max-width: 820px;
  margin-inline: auto;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.donation-status img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.donation-status p:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

body.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 1080px) {
  .logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .weeg-grid,
  .tier-grid {
    grid-template-columns: 1fr;
  }

  .form-grid,
  .donation-status {
    grid-template-columns: 1fr;
  }

  .amount-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donation-status img {
    width: 132px;
    justify-self: center;
  }

  .donation-status {
    text-align: center;
  }

  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 430px) {
  .donation-frequency {
    grid-template-columns: 1fr;
  }
}
