/* ==========================================================================
   components.css — hero, cards, impact, gallery, donation, testimonials
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(2.6rem, 5vw, 4.6rem) 0 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(93, 138, 102, 0.16), transparent 34%),
    radial-gradient(circle at 100% 30%, rgba(196, 85, 37, 0.09), transparent 30%),
    var(--cream);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: -60px;
  top: 26%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid rgba(49, 81, 63, 0.14);
  pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(2.5rem, 5vw, 5.2rem); align-items: center; padding-bottom: clamp(3rem, 6vw, 5.2rem); }
.hero__copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 1.35rem; max-width: 15ch; }
.hero h1 .hero-line { display: block; }
.hero h1 em { color: var(--terracotta); font-weight: 400; }
.hero__lead { max-width: 52ch; font-size: clamp(1.03rem, 1.4vw, 1.16rem); margin-bottom: 1.9rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center; margin-bottom: 1.05rem; }
.hero__sponsor { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.42rem 0.4rem; border: 0; background: none; color: var(--forest); font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.hero__sponsor svg { width: 18px; height: 18px; color: var(--terracotta); }
.hero__sponsor:hover { color: var(--terracotta); }
.hero__trust { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.hero__trust-label { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hero__trust-items { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.hero__trust-item { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.73rem; font-weight: 700; color: var(--forest); }
.hero__trust-item svg { width: 13px; height: 13px; color: var(--leaf); }

.hero__media { position: relative; z-index: 1; }
.hero__frame { position: relative; border-radius: 240px 240px 26px 26px; overflow: hidden; aspect-ratio: 0.83; background: var(--sage); box-shadow: var(--shadow-lg); }
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; transition: transform 1.2s var(--ease); }
.hero__frame:hover img { transform: scale(1.035); }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(18, 49, 45, 0.62) 100%); }
.hero__caption { position: absolute; left: 1.35rem; right: 1.35rem; bottom: 1.35rem; z-index: 2; color: #fff; }
.hero__caption p { font-family: var(--font-display); font-size: clamp(1.02rem, 1.6vw, 1.25rem); font-style: italic; line-height: 1.4; margin: 0; color: #fff; max-width: 30ch; }
.hero__caption span { display: block; margin-top: 0.4rem; font-family: var(--font-body); font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
.hero__badge {
  position: absolute;
  left: -1.8rem;
  top: 14%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1.1rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 49, 45, 0.06);
  animation: float 6s ease-in-out infinite;
}
.hero__badge-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--sage-soft); color: var(--forest); }
.hero__badge-icon svg { width: 21px; height: 21px; }
.hero__badge strong { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.hero__badge span { display: block; margin-top: 3px; font-size: 0.68rem; font-weight: 700; color: var(--muted); letter-spacing: 0.03em; }
.hero__float {
  position: absolute;
  right: -1.1rem;
  bottom: 12%;
  z-index: 3;
  width: 158px;
  padding: 1rem;
  background: var(--forest-deep);
  color: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}
.hero__float span { display: block; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.hero__float strong { display: block; margin-top: 0.3rem; font-family: var(--font-display); font-size: 1.55rem; line-height: 1.1; color: #fff; }
.hero__float small { display: block; margin-top: 0.3rem; font-size: 0.68rem; line-height: 1.5; color: rgba(255, 255, 255, 0.6); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Stats band ---------- */
.stats-band { position: relative; z-index: 2; background: var(--forest-deep); color: rgba(255, 255, 255, 0.72); overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(93, 138, 102, 0.24), transparent 38%); pointer-events: none; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem 1.7rem; border-right: 1px solid var(--line-light); }
.stat:last-child { border-right: 0; }
.stat__value { display: flex; align-items: baseline; gap: 0.12em; font-family: var(--font-display); font-size: clamp(2.6rem, 4vw, 3.7rem); font-weight: 500; line-height: 1; letter-spacing: -0.04em; color: #fff; }
.stat__value .suffix { font-size: 0.5em; color: var(--gold); font-weight: 500; }
.stat__label { margin-top: 0.75rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.58); }
.stat__note { margin-top: 0.3rem; font-size: 0.7rem; color: rgba(255, 255, 255, 0.38); }
.stats-band__foot { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 0.85rem 0 1rem; border-top: 1px solid var(--line-light); font-size: 0.66rem; color: rgba(255, 255, 255, 0.4); }
.stats-band__foot a { color: var(--gold); text-decoration: none; font-weight: 700; }

/* ---------- Split / intro ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 5.5rem); align-items: center; }
.split--wide { grid-template-columns: 1.1fr 0.9fr; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); display: block; }
.split__media--arch img { border-radius: 200px 200px 24px 24px; aspect-ratio: 0.9; object-fit: cover; }
.split__media--offset { padding: 0 0 2.4rem 2.4rem; }
.split__media--offset::before { content: ""; position: absolute; inset: 2.4rem 2.4rem 0 0; border: 1px solid rgba(49, 81, 63, 0.2); border-radius: var(--radius-lg); }
.split__media--offset img { position: relative; z-index: 1; aspect-ratio: 4 / 4.6; object-fit: cover; box-shadow: var(--shadow-md); }
.split__stamp { position: absolute; right: 0; bottom: 0; z-index: 2; width: 170px; padding: 1.2rem; border-radius: 15px; background: var(--terracotta); color: #fff; box-shadow: var(--shadow-md); }
.split__stamp strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; font-weight: 500; color: #fff; }
.split__stamp span { display: block; margin-top: 0.4rem; font-size: 0.7rem; font-weight: 700; line-height: 1.5; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.8); }
.split__body h2 { margin-bottom: 1.15rem; }
.split__body .lead { margin-bottom: 1.5rem; }
.split__points { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: 0.75rem; }
.split__points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; }
.split__points svg { width: 18px; height: 18px; margin-top: 2px; color: var(--terracotta); flex: 0 0 auto; }
.split__badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.8rem; border-radius: 6px; background: var(--sand); color: var(--forest); font-size: 0.68rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; }
.split__caption { margin-top: 0.8rem; font-size: 0.7rem; color: var(--muted); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #fff;
  border: 1px solid rgba(18, 49, 45, 0.09);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(18, 49, 45, 0.18); }
.program-card__media { position: relative; aspect-ratio: 1.55; overflow: hidden; background: var(--sage); }
.program-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.program-card:hover .program-card__media img { transform: scale(1.05); }
.program-card__tag { position: absolute; left: 0.9rem; top: 0.9rem; z-index: 1; display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.32rem 0.6rem; border-radius: 5px; background: rgba(250, 247, 240, 0.93); color: var(--forest); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(4px); }
.program-card__icon { position: absolute; right: 1rem; bottom: -1.35rem; z-index: 2; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--forest-deep); color: var(--gold); border: 3px solid #fff; box-shadow: var(--shadow-sm); }
.program-card__icon svg { width: 24px; height: 24px; }
.program-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.7rem 1.35rem 1.35rem; }
.program-card__body h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.program-card__body p { font-size: 0.86rem; line-height: 1.7; color: var(--muted); margin-bottom: 1.1rem; }
.program-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid rgba(18, 49, 45, 0.08); }
.program-card__metric { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.04em; color: var(--forest); text-transform: uppercase; }
.program-card__link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--forest); text-decoration: none; transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.program-card__link svg { width: 15px; height: 15px; }
.program-card__link:hover { background: var(--terracotta); color: #fff; }

/* ---------- Vertical list card ---------- */
.list-card { display: flex; gap: 1.2rem; padding: 1.1rem; border: 1px solid var(--line); border-radius: 16px; background: #fff; align-items: center; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.list-card:hover { border-color: rgba(196, 85, 37, 0.35); box-shadow: var(--shadow-sm); }
.list-card__media { width: 110px; height: 90px; border-radius: 11px; overflow: hidden; flex: 0 0 auto; background: var(--sage); }
.list-card__media img { width: 100%; height: 100%; object-fit: cover; }
.list-card__body { min-width: 0; }
.list-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.75rem; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.list-card__meta .cat { color: var(--terracotta); }
.list-card h4 { margin-bottom: 0.3rem; font-size: 1rem; }
.list-card h4 a { text-decoration: none; color: var(--ink); }
.list-card h4 a:hover { color: var(--terracotta); }
.list-card p { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ---------- Impact dashboard ---------- */
.impact { background: var(--forest-deep); color: rgba(255, 255, 255, 0.74); position: relative; overflow: hidden; }
.impact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(93, 138, 102, 0.25), transparent 35%), radial-gradient(circle at 8% 90%, rgba(196, 85, 37, 0.12), transparent 30%); pointer-events: none; }
.impact .container { position: relative; z-index: 1; }
.impact__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.impact__head h2 { max-width: 620px; margin-bottom: 0.8rem; }
.impact__head .lead { max-width: 54ch; margin: 0; color: rgba(255, 255, 255, 0.62); }
.impact__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.impact__panel { padding: clamp(1.3rem, 3vw, 2rem); border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, 0.04); backdrop-filter: blur(6px); }
.impact__panel-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 0.85rem; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line-light); }
.impact__panel-title h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; color: rgba(255, 255, 255, 0.64); margin: 0; }
.impact__panel-title span { font-size: 0.68rem; color: var(--gold); font-weight: 700; }
.meter { margin-bottom: 1.15rem; }
.meter:last-child { margin-bottom: 0; }
.meter__top { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 0.4rem; font-size: 0.82rem; }
.meter__top strong { color: #fff; font-weight: 700; }
.meter__top span { font-family: var(--font-display); font-size: 1rem; color: var(--gold); }
.meter__bar { height: 6px; background: rgba(255, 255, 255, 0.12); border-radius: 99px; overflow: hidden; }
.meter__fill { display: block; height: 100%; width: var(--value, 0%); background: linear-gradient(90deg, var(--leaf), var(--gold)); border-radius: inherit; transition: width 1.2s var(--ease); }
.meter__note { margin-top: 0.35rem; font-size: 0.68rem; color: rgba(255, 255, 255, 0.42); }
.impact__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.impact-stat { padding: 1.15rem; border: 1px solid var(--line-light); border-radius: 13px; background: rgba(255, 255, 255, 0.04); }
.impact-stat strong { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; color: #fff; line-height: 1.1; letter-spacing: -0.02em; }
.impact-stat span { display: block; margin-top: 0.35rem; font-size: 0.67rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255, 255, 255, 0.48); }
.impact__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); font-size: 0.7rem; color: rgba(255, 255, 255, 0.42); }
.impact__foot .text-link { color: var(--gold); }

/* mini chart */
.mini-chart { display: flex; align-items: flex-end; gap: 0.45rem; height: 102px; margin-top: 0.6rem; }
.mini-chart__bar { position: relative; flex: 1; background: rgba(255, 255, 255, 0.1); border-radius: 4px 4px 2px 2px; height: var(--h, 40%); transition: height 1s var(--ease), background 0.2s var(--ease); }
.mini-chart__bar span { position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%); font-size: 0.56rem; color: rgba(255, 255, 255, 0.5); white-space: nowrap; }
.mini-chart__bar:hover { background: var(--leaf); }
.mini-chart__bar.is-highlight { background: linear-gradient(180deg, var(--gold), var(--terracotta)); }
.mini-chart__labels { display: flex; gap: 0.45rem; margin-top: 0.45rem; }
.mini-chart__labels span { flex: 1; text-align: center; font-size: 0.55rem; font-weight: 700; color: rgba(255, 255, 255, 0.36); text-transform: uppercase; }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--cream-deep); overflow: hidden; }
.quote-shell { position: relative; max-width: 1000px; margin: 0 auto; overflow-x: clip; }
.quote-track { display: flex; transition: transform 0.55s var(--ease); }
.quote-slide { min-width: 100%; padding: 0.5rem 1rem; }
.quote-card { position: relative; padding: clamp(1.7rem, 4vw, 3rem); background: #fff; border: 1px solid rgba(18, 49, 45, 0.08); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.quote-card::before { content: "\201C"; position: absolute; top: 0.1em; left: 0.28em; font-family: var(--font-display); font-size: 9rem; line-height: 1; color: var(--sage); pointer-events: none; opacity: 0.7; }
.quote-card blockquote { position: relative; z-index: 1; margin: 0 0 1.4rem; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 400; line-height: 1.42; letter-spacing: -0.015em; color: var(--ink); }
.quote-card blockquote em { color: var(--terracotta); }
.quote-author { display: flex; align-items: center; gap: 0.8rem; }
.quote-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; border: 2px solid var(--sand); }
.quote-avatar--initial { display: grid; place-items: center; background: var(--forest); color: #fff; font-family: var(--font-display); font-size: 1.05rem; }
.quote-author strong { display: block; font-size: 0.86rem; color: var(--ink); }
.quote-author span { display: block; font-size: 0.72rem; color: var(--muted); }
.quote-author .quote-avatar--initial { color: #fff; }
.quote-nav { display: flex; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 1.4rem; }
.quote-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.quote-btn:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.quote-btn svg { width: 17px; height: 17px; }
.quote-dots { display: flex; gap: 0.4rem; margin-inline: 0.6rem; }
.quote-dot { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; }
.quote-dot::before { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: rgba(18, 49, 45, 0.2); transition: width 0.25s var(--ease), background 0.25s var(--ease); }
.quote-dot.is-active::before { width: 22px; border-radius: 99px; background: var(--terracotta); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: var(--terracotta); color: rgba(255, 255, 255, 0.84); overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 440px; height: 440px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); }
.cta-band::after { content: ""; position: absolute; right: 30px; bottom: -140px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 0.65fr; align-items: center; gap: 2.5rem; padding-block: clamp(2.8rem, 5vw, 4.4rem); }
.cta-band h2 { color: #fff; margin-bottom: 0.75rem; }
.cta-band p { max-width: 56ch; color: rgba(255, 255, 255, 0.82); margin: 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: flex-end; }

/* ---------- Impact selector / sponsor ---------- */
.sponsor { background: var(--sand-soft); }
.sponsor__card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; display: grid; grid-template-columns: 0.85fr 1.15fr; box-shadow: var(--shadow-md); }
.sponsor__media { position: relative; min-height: 380px; }
.sponsor__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sponsor__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(18, 49, 45, 0.84)); }
.sponsor__media-copy { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.4rem; z-index: 1; color: #fff; }
.sponsor__media-copy strong { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; line-height: 1.2; display: block; }
.sponsor__media-copy span { display: block; margin-top: 0.4rem; font-size: 0.72rem; color: rgba(255, 255, 255, 0.68); }
.sponsor__body { padding: clamp(1.4rem, 3vw, 2.6rem); }
.sponsor__plans { display: grid; gap: 0.65rem; margin: 1.3rem 0 1.5rem; }
.sponsor-plan { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 12px; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.sponsor-plan:hover { border-color: var(--terracotta); background: var(--terracotta-soft); }
.sponsor-plan strong { display: block; font-size: 0.86rem; }
.sponsor-plan span { display: block; font-size: 0.72rem; color: var(--muted); }
.sponsor-plan .price { text-align: right; flex: 0 0 auto; font-family: var(--font-display); font-size: 1.18rem; color: var(--forest); font-weight: 500; }
.sponsor-plan .price small { display: block; font-family: var(--font-body); font-size: 0.62rem; color: var(--muted); font-weight: 600; }

/* ---------- Partners ---------- */
.partners { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners__head { text-align: center; margin-bottom: 1.8rem; }
.partners__head p { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.8rem 3.2rem; }
.partner-logo { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--forest); opacity: 0.8; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.02em; transition: opacity 0.2s var(--ease); }
.partner-logo:hover { opacity: 1; }
.partner-logo svg { width: 26px; height: 26px; }
.partner-logo small { display: block; font-family: var(--font-body); font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 0.8rem; }
.gallery-item { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: var(--sage); cursor: zoom-in; border: 0; padding: 0; width: 100%; height: 100%; text-align: left; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease), filter 0.55s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); filter: brightness(0.82); }
.gallery-item--wide { grid-column: span 2; }
.gallery-item--tall { grid-row: span 2; }
.gallery-item__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0.9rem; background: linear-gradient(180deg, transparent 45%, rgba(18, 49, 45, 0.74)); color: #fff; opacity: 0; transition: opacity 0.3s var(--ease); }
.gallery-item:hover .gallery-item__overlay, .gallery-item:focus-visible .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay span { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.gallery-item__overlay strong { font-size: 0.84rem; font-weight: 700; }
.gallery-item__zoom { position: absolute; right: 0.7rem; top: 0.7rem; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.9); color: var(--ink); }
.gallery-item__zoom svg { width: 14px; height: 14px; }
.gallery-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.filter-btn { padding: 0.52rem 0.95rem; border: 1px solid var(--line); border-radius: var(--radius-pill); background: transparent; color: var(--body); font-size: 0.76rem; font-weight: 700; transition: all 0.2s var(--ease); }
.filter-btn:hover { border-color: var(--forest); color: var(--forest); }
.filter-btn.is-active { background: var(--forest-deep); border-color: var(--forest-deep); color: #fff; }
.gallery-empty { display: none; padding: 2rem; text-align: center; color: var(--muted); }

/* ---------- Photo journal (editorial masonry for archival sets) ---------- */
.photo-journal { columns: 4; column-gap: 0.8rem; }
.photo-journal .gallery-item { display: block; width: 100%; height: auto; margin: 0 0 0.8rem; break-inside: avoid; }
.photo-journal .gallery-item img { width: 100%; height: auto; }
.photo-journal .gallery-item__overlay { padding: 0.7rem; }
@media (max-width: 991.98px) {
  .photo-journal { columns: 3; }
}
@media (max-width: 767.98px) {
  .photo-journal { columns: 2; column-gap: 0.6rem; }
  .photo-journal .gallery-item { margin-bottom: 0.6rem; }
}
@media (max-width: 575.98px) {
  .photo-journal .gallery-item__zoom { display: none; }
}

.lightbox { position: fixed; inset: 0; z-index: 2100; display: none; place-items: center; padding: 1.2rem; background: rgba(8, 24, 21, 0.94); }
.lightbox.is-open { display: grid; }
.lightbox__figure { margin: 0; max-width: min(1100px, 94vw); }
.lightbox__figure img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox__cap { margin-top: 0.8rem; color: rgba(255, 255, 255, 0.72); font-size: 0.8rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1.2rem; }
.lightbox__nav--next { right: 1.2rem; }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, 0.18); }

/* Before / after */
.before-after { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9.4; background: var(--sage); box-shadow: var(--shadow-md); user-select: none; }
.before-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.before-after__after { clip-path: inset(0 0 0 50%); }
.before-after__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.before-after__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 3; pointer-events: none; box-shadow: 0 0 20px rgba(0, 0, 0, 0.3); }
.before-after__handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; box-shadow: var(--shadow-md); }
.before-after__tag { position: absolute; top: 1rem; z-index: 2; padding: 0.3rem 0.65rem; border-radius: 4px; background: rgba(18, 49, 45, 0.8); color: #fff; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.before-after__tag--before { left: 1rem; }
.before-after__tag--after { right: 1rem; background: var(--terracotta); }

/* Stories */
.story-card { display: flex; flex-direction: column; padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; height: 100%; }
.story-card__tag { align-self: flex-start; margin-bottom: 0.9rem; }
.story-card h3 { font-size: 1.2rem; margin-bottom: 0.55rem; }
.story-card p { font-size: 0.86rem; color: var(--muted); line-height: 1.7; }
.story-card__result { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 0.5rem; font-size: 0.76rem; font-weight: 800; color: var(--forest); }
.story-card__result svg { width: 16px; height: 16px; color: var(--terracotta); }

/* ---------- Donation ---------- */
.donate-layout { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: start; }
.donate-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.donate-card__head { padding: 1.3rem 1.5rem; background: var(--forest-deep); color: #fff; }
.donate-card__head h2 { font-size: 1.4rem; margin: 0 0 0.2rem; color: #fff; }
.donate-card__head p { font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); margin: 0; }
.donate-card__body { padding: clamp(1.2rem, 3vw, 1.8rem); }
.freq-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; padding: 0.3rem; background: var(--sage-soft); border-radius: 12px; margin-bottom: 1.3rem; }
.freq-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.freq-toggle label { display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.68rem 0.5rem; border-radius: 9px; font-size: 0.82rem; font-weight: 800; color: var(--forest); cursor: pointer; transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.freq-toggle input:checked + label { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(18, 49, 45, 0.1); }
.freq-toggle input:focus-visible + label { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.freq-toggle small { font-size: 0.62rem; font-weight: 700; color: var(--terracotta); background: var(--terracotta-soft); padding: 2px 5px; border-radius: 3px; margin-left: 2px; }
.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 0.75rem; }
.amount-opt { position: relative; }
.amount-opt input { position: absolute; opacity: 0; pointer-events: none; }
.amount-opt label { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 62px; padding: 0.5rem; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 0.9rem; font-weight: 800; color: var(--ink); transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.amount-opt label small { font-size: 0.6rem; font-weight: 600; color: var(--muted); margin-top: 2px; }
.amount-opt input:checked + label { border-color: var(--terracotta); background: var(--terracotta-soft); box-shadow: inset 0 0 0 1px var(--terracotta); }
.amount-opt input:focus-visible + label { outline: 3px solid rgba(196, 85, 37, 0.4); outline-offset: 2px; }
.custom-amount { position: relative; margin-bottom: 1.3rem; }
.custom-amount .currency { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--muted); }
.custom-amount .form-control { padding-left: 2rem; }
.subhead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1.35rem 0 0.7rem; }
.subhead h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0; }
.pay-methods { display: grid; gap: 0.55rem; }
.pay-method { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; }
.pay-method__head { display: flex; align-items: center; gap: 0.7rem; padding: 0.8rem 0.9rem; cursor: pointer; }
.pay-method__head input { margin: 0; }
.pay-method__label { display: flex; align-items: center; gap: 0.6rem; flex: 1; font-size: 0.84rem; font-weight: 700; color: var(--ink); cursor: pointer; }
.pay-method__label svg { width: 18px; height: 18px; color: var(--leaf); }
.pay-method__note { font-size: 0.64rem; color: var(--muted); }
.pay-method__body { display: none; padding: 0 0.9rem 0.9rem 2.4rem; font-size: 0.76rem; color: var(--muted); }
.pay-method.is-selected { border-color: rgba(196, 85, 37, 0.4); background: #fffaf7; }
.pay-method.is-selected .pay-method__body { display: block; }
.upi-box { display: flex; gap: 1rem; align-items: center; padding: 0.8rem; border: 1px dashed var(--line); border-radius: 10px; background: #fff; }
.qr-holder { width: 108px; height: 108px; flex: 0 0 auto; display: grid; place-items: center; background: #fff; border-radius: 6px; overflow: hidden; }
.qr-holder img, .qr-holder canvas { width: 108px !important; height: 108px !important; }
.upi-details { min-width: 0; }
.upi-details strong { display: block; font-size: 0.76rem; color: var(--ink); margin-bottom: 0.2rem; }
.upi-id { display: flex; align-items: center; gap: 0.4rem; font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 0.72rem; word-break: break-all; color: var(--forest); }
.copy-btn { border: 0; background: var(--sage-soft); color: var(--forest); width: 24px; height: 24px; border-radius: 5px; display: inline-grid; place-items: center; flex: 0 0 auto; }
.copy-btn svg { width: 12px; height: 12px; }
.upi-apps { display: flex; gap: 0.3rem; margin-top: 0.45rem; flex-wrap: wrap; }
.upi-apps span { font-size: 0.58rem; font-weight: 700; padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); }
.donor-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.donor-fields .full { grid-column: 1 / -1; }
.secure-note { display: flex; align-items: center; gap: 0.4rem; justify-content: center; margin-top: 0.8rem; font-size: 0.66rem; color: var(--muted); }
.secure-note svg { width: 12px; height: 12px; color: var(--leaf); }
.donate-summary { position: sticky; top: calc(var(--header-h) + 1.4rem); }
.summary-card { background: var(--forest-deep); color: rgba(255, 255, 255, 0.72); border-radius: var(--radius); padding: 1.5rem; }
.summary-card h3 { color: #fff; font-family: var(--font-body); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 1rem; color: rgba(255, 255, 255, 0.55); }
.summary-line { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; font-size: 0.8rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.summary-line span:last-child { color: #fff; font-weight: 700; }
.summary-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-top: 1rem; margin-top: 0.2rem; }
.summary-total span { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.08em; }
.summary-total strong { font-family: var(--font-display); font-size: 2rem; color: #fff; font-weight: 500; line-height: 1; }
.summary-impact { display: flex; gap: 0.6rem; align-items: flex-start; margin-top: 1rem; padding: 0.8rem; background: rgba(233, 180, 76, 0.1); border: 1px solid rgba(233, 180, 76, 0.2); border-radius: 8px; font-size: 0.72rem; color: rgba(255, 255, 255, 0.7); }
.summary-impact svg { width: 16px; height: 16px; color: var(--gold); flex: 0 0 auto; }
.summary-impact strong { color: var(--gold); }
.summary-trust { display: grid; gap: 0.5rem; margin-top: 1rem; font-size: 0.66rem; color: rgba(255, 255, 255, 0.55); }
.summary-trust div { display: flex; align-items: center; gap: 0.45rem; }
.summary-trust svg { width: 12px; height: 12px; color: var(--leaf-light); }
.donate-note { margin-top: 0.9rem; font-size: 0.68rem; line-height: 1.6; color: var(--muted); }
.impact-equiv { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.equiv-card { padding: 1.2rem 1rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; text-align: center; }
.equiv-card strong { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta); line-height: 1.1; }
.equiv-card span { display: block; margin-top: 0.35rem; font-size: 0.68rem; color: var(--muted); line-height: 1.45; }
.donor-wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
.donor-chip { display: flex; align-items: center; gap: 0.65rem; padding: 0.8rem; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.donor-chip__avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: var(--forest); font-family: var(--font-display); font-weight: 600; font-size: 0.85rem; flex: 0 0 auto; }
.donor-chip strong { display: block; font-size: 0.76rem; }
.donor-chip span { display: block; font-size: 0.62rem; color: var(--muted); }
.donor-chip .donor-chip__avatar { color: var(--forest); font-size: 0.85rem; line-height: 1; }

/* ---------- Page blocks ---------- */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.value-card { padding: 1.4rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; height: 100%; }
.value-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--sage-soft); color: var(--forest); margin-bottom: 0.9rem; }
.value-card__icon svg { width: 20px; height: 20px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.value-card p { font-size: 0.82rem; line-height: 1.7; color: var(--muted); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.team-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.team-card__photo { position: relative; aspect-ratio: 0.92; overflow: hidden; background: var(--sage); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: saturate(0.86); transition: transform 0.5s var(--ease), filter 0.5s var(--ease); }
.team-card:hover .team-card__photo img { transform: scale(1.04); filter: saturate(1); }
.team-card__body { padding: 1rem; }
.team-card__body h3 { font-size: 1.08rem; margin-bottom: 0.15rem; }
.team-card__role { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--terracotta); }
.team-card__bio { margin-top: 0.5rem; font-size: 0.76rem; color: var(--muted); line-height: 1.6; }
.team-card__linkedin { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.6rem; font-size: 0.7rem; font-weight: 700; color: var(--forest); text-decoration: none; }
.team-card__linkedin svg { width: 13px; height: 13px; }

.founder { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(1.7rem, 4vw, 4rem); align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { width: 100%; border-radius: 200px 200px 18px 18px; aspect-ratio: 0.78; object-fit: cover; }
.founder__photo::after { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(49, 81, 63, 0.25); border-radius: 200px 200px 18px 18px; z-index: -1; }
.founder__quote { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 1.1rem; }
.founder__quote em { color: var(--terracotta); }
.founder__sign { margin-top: 1.2rem; }
.founder__sign strong { display: block; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; font-style: italic; color: var(--forest); }
.founder__sign span { display: block; font-size: 0.74rem; color: var(--muted); }

.timeline { position: relative; padding-left: 1.4rem; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 1.8rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -1.4rem; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2px solid var(--terracotta); }
.timeline-item span { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em; color: var(--terracotta); text-transform: uppercase; margin-bottom: 0.2rem; }
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.timeline-item p { font-size: 0.82rem; color: var(--muted); margin: 0; line-height: 1.65; }

.info-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.info-table th, .info-table td { padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 38%; font-weight: 800; color: var(--ink); font-size: 0.76rem; }
.info-table td { color: var(--body); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.info-table-wrap { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }

/* Events */
.event-card { display: grid; grid-template-columns: 90px 1fr; gap: 1rem; padding: 1rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; align-items: center; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease); }
.event-card:hover { border-color: rgba(196, 85, 37, 0.35); box-shadow: var(--shadow-sm); }
.event-date { padding: 0.6rem 0.5rem; border-radius: 9px; background: var(--forest-deep); color: #fff; text-align: center; }
.event-date strong { display: block; font-family: var(--font-display); font-size: 1.65rem; line-height: 1; font-weight: 500; }
.event-date span { display: block; margin-top: 3px; font-size: 0.58rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.event-card h3 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.event-card h3 a { color: var(--ink); text-decoration: none; }
.event-card h3 a:hover { color: var(--terracotta); }
.event-meta { display: flex; flex-wrap: wrap; gap: 0.3rem 0.8rem; font-size: 0.66rem; color: var(--muted); font-weight: 600; }
.event-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.event-meta svg { width: 11px; height: 11px; }

/* Blog */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; height: 100%; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 1.65; overflow: hidden; background: var(--sage); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.7rem; margin-bottom: 0.5rem; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.post-card__meta .cat { color: var(--terracotta); }
.post-card h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--terracotta); }
.post-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.65; margin-bottom: 1rem; }
.post-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--line); font-size: 0.68rem; color: var(--muted); }
.post-card__foot a { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 800; color: var(--forest); text-decoration: none; }
.post-card__foot svg { width: 13px; height: 13px; }
.featured-post { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.featured-post__media { min-height: 340px; position: relative; }
.featured-post__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-post__body { padding: clamp(1.4rem, 3vw, 2.6rem); display: flex; flex-direction: column; justify-content: center; }
.featured-post h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 0.7rem; }
.featured-post h2 a { color: var(--ink); text-decoration: none; }
.featured-post h2 a:hover { color: var(--terracotta); }
.featured-post p { font-size: 0.9rem; color: var(--muted); }
.featured-post .post-card__meta { margin-bottom: 0.8rem; }

/* Contact */
.contact-card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 13px; background: #fff; height: 100%; }
.contact-card__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--sage-soft); color: var(--forest); margin-bottom: 0.8rem; }
.contact-card__icon svg { width: 19px; height: 19px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.contact-card p, .contact-card a { font-size: 0.82rem; color: var(--muted); }
.contact-card a { text-decoration: none; font-weight: 600; color: var(--forest); }
.contact-card a:hover { text-decoration: underline; }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 360px; border-radius: var(--radius); display: block; filter: saturate(0.8); }

/* Reports */
.report-row { display: grid; grid-template-columns: 46px 1fr auto; gap: 1rem; align-items: center; padding: 1rem; border-bottom: 1px solid var(--line); }
.report-row:last-child { border-bottom: 0; }
.report-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: var(--terracotta-soft); color: var(--terracotta); }
.report-icon svg { width: 20px; height: 20px; }
.report-row h3 { font-size: 0.92rem; margin-bottom: 0.15rem; }
.report-row p { font-size: 0.72rem; color: var(--muted); margin: 0; }
.report-row .tag { font-size: 0.6rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--forest); background: var(--sage-soft); padding: 0.25rem 0.5rem; border-radius: 4px; }
.report-download { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 800; color: var(--forest); text-decoration: none; white-space: nowrap; }
.report-download svg { width: 14px; height: 14px; }
.report-download:hover { color: var(--terracotta); }
.report-list { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }

/* Dashboard tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
.data-table th { padding: 0.7rem 0.8rem; text-align: left; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 0.8rem; border-bottom: 1px solid rgba(18, 49, 45, 0.07); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .amount { font-weight: 800; color: var(--forest); white-space: nowrap; }
.status-pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.5rem; border-radius: 99px; font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; background: var(--sage-soft); color: var(--forest); }
.status-pill--new { background: var(--terracotta-soft); color: var(--terracotta-dark); }

/* Modal */
.modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.modal-header { border-bottom: 1px solid var(--line); padding: 1.2rem 1.4rem; }
.modal-title { font-family: var(--font-display); font-size: 1.35rem; }
.modal-body { padding: 1.4rem; }
.modal-footer { border-top: 1px solid var(--line); padding: 1rem 1.4rem; }
.modal-backdrop.show { opacity: 0.6; }

/* Consent */
.consent-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1800; display: none; justify-content: center; pointer-events: none; }
.consent-banner.is-visible { display: flex; }
.consent-banner__inner { width: min(880px, 100%); display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.4rem; padding: 1rem 1.2rem; border-radius: 14px; background: var(--forest-deep); color: rgba(255, 255, 255, 0.72); box-shadow: var(--shadow-lg); pointer-events: auto; border: 1px solid rgba(255, 255, 255, 0.12); }
.consent-banner p { flex: 1 1 380px; font-size: 0.74rem; line-height: 1.6; margin: 0; }
.consent-banner a { color: var(--gold); }
.consent-banner__actions { display: flex; gap: 0.5rem; margin-left: auto; }

/* Toast */
.toast-note { position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 20px); z-index: 2200; background: var(--ink); color: #fff; padding: 0.7rem 1.1rem; border-radius: 9px; font-size: 0.78rem; font-weight: 600; box-shadow: var(--shadow-md); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease); }
.toast-note.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Back to top */
.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 1500; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--forest-deep); color: #fff; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.25s var(--ease); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; }
.to-top:hover { background: var(--terracotta); }

/* ---------- Responsive components ---------- */
@media (max-width: 1199.98px) {
  .hero__grid { gap: 2.5rem; }
  .hero__badge { left: -0.8rem; }
  .hero__float { right: -0.4rem; }
  .card-grid { gap: 1rem; }
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
  .donor-wall { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .hero { padding-top: 2rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .hero__copy { max-width: 720px; }
  .hero h1 { max-width: 18ch; }
  .hero__media { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero__frame { aspect-ratio: 1 / 1.02; }
  .hero__badge { left: -0.8rem; top: 10%; }
  .hero__float { right: -0.3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
  .split, .split--wide, .founder { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media--arch img { aspect-ratio: 1.2; border-radius: 160px 160px 20px 20px; }
  .split__media--offset { padding: 0 0 1.8rem 1.8rem; }
  .split__media--offset::before { inset: 1.8rem 1.8rem 0 0; }
  .impact__grid { grid-template-columns: 1fr; }
  .impact__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cta-band__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .cta-band__actions { justify-content: flex-start; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 170px; }
  .sponsor__card { grid-template-columns: 1fr; }
  .sponsor__media { min-height: 280px; }
  .donate-layout { grid-template-columns: 1fr; }
  .donate-summary { position: static; }
  .impact-equiv { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-post { grid-template-columns: 1fr; }
  .featured-post__media { min-height: 300px; }
  .founder__photo { max-width: 400px; }
}
@media (max-width: 767.98px) {
  .hero__frame { border-radius: 180px 180px 20px 20px; }
  .hero__badge { padding: 0.7rem 0.8rem; gap: 0.6rem; left: -0.4rem; }
  .hero__badge-icon { width: 34px; height: 34px; }
  .hero__badge strong { font-size: 1.1rem; }
  .hero__float { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.6rem 1.1rem; }
  .stat__value { font-size: 2.35rem; }
  .stat__label { font-size: 0.65rem; }
  .card-grid, .value-grid, .team-grid, .impact__stats { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .quote-slide { padding-inline: 0; }
  .quote-card { border-radius: 18px; }
  .before-after { aspect-ratio: 4 / 3; }
  .donor-fields { grid-template-columns: 1fr; }
  .donor-wall { grid-template-columns: 1fr 1fr; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .upi-box { flex-direction: column; align-items: flex-start; }
  .qr-holder { width: 130px; height: 130px; }
  .qr-holder img, .qr-holder canvas { width: 130px !important; height: 130px !important; }
  .report-row { grid-template-columns: 40px 1fr; }
  .report-row .report-download { grid-column: 2; }
  .footer-grid { gap: 1.8rem; }
  .lightbox__nav--prev { left: 0.5rem; }
  .lightbox__nav--next { right: 0.5rem; }
  .cta-band__actions .btn { flex: 1 1 auto; }
}
@media (max-width: 575.98px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__sponsor { margin-top: 0.2rem; }
  .hero__trust { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .stat__value { font-size: 2rem; }
  .amount-grid { gap: 0.45rem; }
  .impact-stat strong { font-size: 1.5rem; }
  .donor-wall { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 128px; }
  .gallery-item__overlay { opacity: 1; background: linear-gradient(180deg, transparent 50%, rgba(18, 49, 45, 0.7)); padding: 0.6rem; }
  .gallery-item__overlay strong { font-size: 0.7rem; }
  .gallery-item__overlay span { font-size: 0.5rem; }
  .gallery-item__zoom { display: none; }
  .consent-banner { left: 0.5rem; right: 0.5rem; bottom: 0.5rem; }
  .consent-banner__inner { padding: 0.9rem; }
  .consent-banner__actions { width: 100%; }
  .consent-banner__actions .btn { flex: 1; }
}
