/* =========================================================
   AA Foundation — "Love and Support"
   Palette matched to logo: magenta/pink -> orange gradient
   ========================================================= */

:root {
  --primary: #b4186a;        /* deep magenta (logo heart) */
  --primary-dark: #8f1253;
  --primary-light: #e0318c;
  --accent: #f5a01f;         /* orange (logo hands/dove) */
  --accent-dark: #e08912;
  /* Solid brand fills (no gradient) */
  --grad: var(--primary);
  --grad-soft: var(--primary);

  --ink: #24131f;            /* dark plum text/headings */
  --body: #5f5560;
  --muted: #9a8f98;
  --bg: #ffffff;
  --bg-soft: #fdf4f8;        /* soft pink tint */
  --bg-cream: #fff8f0;       /* soft orange tint */
  --bg-dark: #2a0f20;        /* dark plum footer */
  --line: #f0e3ea;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 6px 20px rgba(42, 15, 32, .06);
  --shadow: 0 18px 50px rgba(42, 15, 32, .10);
  --shadow-lg: 0 30px 70px rgba(42, 15, 32, .18);
  --container: 1200px;
  --head: 'Jost', sans-serif;
  --font: 'Poppins', sans-serif;
  --t: .35s cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); line-height: 1.2; font-weight: 700; }

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

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-weight: 600;
  color: var(--primary); text-transform: uppercase;
  letter-spacing: 2px; font-size: 13px; margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.eyebrow--light { color: #ffd9ad; }
.eyebrow--light::before { background: #ffd9ad; }

.section__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.section__title span { color: var(--primary); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  transition: var(--t); white-space: nowrap;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px rgba(180,24,106,.32); }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(180,24,106,.42); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(245,160,31,.35); }
.btn--accent:hover { background: var(--accent-dark); transform: translateY(-3px); }
.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn--outline:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn--ghost:hover { background: #fff; color: var(--primary); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #d9c7d2; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 44px; flex-wrap: wrap; gap: 8px; }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info i { color: var(--accent); margin-right: 6px; }
.topbar__social { display: flex; gap: 10px; }
.topbar__social a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: var(--t); font-size: 12px;
}
.topbar__social a:hover { background: var(--accent); color: #fff; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; transition: var(--t);
  border-bottom: 1px solid var(--line);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 92px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__logo { height: 68px; width: auto; }

.nav__list { display: flex; gap: 26px; }
.nav__link {
  font-family: var(--head); font-weight: 600; color: var(--ink);
  font-size: 15px; position: relative; padding: 6px 0; transition: var(--t);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--accent); transition: var(--t);
}
.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle, .nav__close { font-size: 22px; color: var(--ink); display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; overflow: hidden; padding: 70px 0 90px; }

/* Background slideshow (crossfading photos behind the hero) */
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero__slide.active { opacity: 1; }
/* dark scrim so the cards and text stay readable */
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(120deg, rgba(42,15,32,.90), rgba(42,15,32,.66));
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(circle at 72% 28%, rgba(245,160,31,.28), transparent 55%);
}
.hero__intro { text-align: center; max-width: 780px; margin: 0 auto 50px; }
.hero__title { font-size: clamp(2.1rem, 5vw, 3.6rem); color: #fff; margin-bottom: 18px; }
.hero__title span { color: var(--accent); }
.hero__text { color: rgba(255,255,255,.85); font-size: 1.05rem; max-width: 620px; margin: 0 auto 28px; }
.hero__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Angled card carousel */
.heroSwiper { width: 100%; padding: 30px 0 10px; position: relative; }
.heroSwiper .swiper-wrapper { align-items: center; }
.hero-card {
  width: 300px; height: 420px; border-radius: var(--radius-lg);
  overflow: hidden; position: relative;
  box-shadow: var(--shadow-lg);
  transition: transform .6s cubic-bezier(.16,1,.3,1), opacity .6s;
  opacity: .55; transform: scale(.82);
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,6,18,.88), transparent 55%);
}
.hero-card__caption {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: 26px 24px; color: #fff;
  opacity: 0; transform: translateY(14px); transition: var(--t) .15s;
}
.hero-card__caption span {
  display: inline-block; font-family: var(--head); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--accent); padding: 4px 12px; border-radius: 50px; margin-bottom: 10px;
}
.hero-card__caption h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; }
.hero-card__caption p { color: rgba(255,255,255,.8); font-size: .9rem; }

.heroSwiper .swiper-slide-active { opacity: 1; transform: scale(1.06); }
.heroSwiper .swiper-slide-active .hero-card__caption { opacity: 1; transform: translateY(0); }
.heroSwiper .swiper-slide-prev,
.heroSwiper .swiper-slide-next { opacity: .8; transform: scale(.9); }

.hero__nav { display: flex; justify-content: center; gap: 16px; margin-top: 28px; }
.hero-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); color: #fff; font-size: 16px;
  border: 1px solid rgba(255,255,255,.25); transition: var(--t); backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-3px); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: #fff; text-align: center;
  padding: 80px 0; overflow: hidden;
}
.page-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(42,15,32,.90), rgba(180,24,106,.75)),
              var(--banner-img, url("../img/photos/pad-17.jpg")) center/cover;
}
.page-banner h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 10px; }
.breadcrumb { display: flex; gap: 10px; justify-content: center; font-family: var(--head); font-weight: 500; color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__media { position: relative; }
.about__shape {
  position: absolute; inset: -22px -22px auto auto; width: 70%; height: 70%;
  background: var(--bg-soft); border-radius: var(--radius-lg); z-index: -1;
}
.about__img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; height: 520px; object-fit: cover; }
.about__badge {
  position: absolute; left: -20px; bottom: 36px;
  background: #fff; padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 14px;
}
.about__badge i {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(180,24,106,.10); color: var(--primary);
  display: grid; place-items: center; font-size: 20px;
}
.about__badge strong { display: block; color: var(--ink); font-family: var(--head); font-size: 1.1rem; }
.about__badge span { font-size: .85rem; color: var(--muted); }

.about__lead { margin: 18px 0 26px; font-size: 1.05rem; }
.about__points { display: grid; gap: 20px; margin-bottom: 30px; }
.about__point { display: flex; gap: 14px; }
.about__point i { color: var(--accent); font-size: 20px; margin-top: 4px; }
.about__point h4 { margin-bottom: 4px; }
.about__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.about__phone { display: flex; align-items: center; gap: 12px; }
.about__phone i {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(245,160,31,.14); color: var(--accent-dark);
  display: grid; place-items: center; font-size: 18px;
}
.about__phone span { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); }
.about__phone strong { color: var(--ink); font-family: var(--head); font-size: 1.05rem; }

/* ---------- Stats ---------- */
.stats { background: var(--grad); color: #fff; padding: 64px 0; background-size: cover; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat { position: relative; }
.stat:not(:last-child)::after {
  content: ""; position: absolute; right: -15px; top: 10%; height: 80%; width: 1px; background: rgba(255,255,255,.25);
}
.stat__num, .stat__plus {
  font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4vw, 2.8rem); color: #fff;
}
.stat__plus { color: #ffe0b8; }
.stat__label { color: rgba(255,255,255,.85); font-size: .95rem; margin-top: 4px; }

/* ---------- Feature icons row ---------- */
.features__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.feature {
  background: #fff; border-radius: var(--radius-lg); padding: 38px 30px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--t);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.feature__icon {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  display: grid; place-items: center; font-size: 28px; color: #fff; background: var(--grad);
}
.feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature p { font-size: .95rem; }

/* ---------- Causes / What we do ---------- */
.causes__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.cause {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--t);
}
.cause:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.cause__media { position: relative; height: 230px; overflow: hidden; }
.cause__media img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.cause:hover .cause__media img { transform: scale(1.08); }
.cause__tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff; font-family: var(--head); font-weight: 600;
  font-size: 12px; padding: 5px 14px; border-radius: 50px;
}
.cause__body { padding: 26px 24px 28px; }
.cause__body h3 { font-size: 1.25rem; margin-bottom: 10px; }
.cause__body > p { font-size: .95rem; margin-bottom: 20px; }
.progress { height: 8px; background: var(--bg-soft); border-radius: 50px; overflow: hidden; margin-bottom: 12px; }
.progress__bar { height: 100%; width: 0; background: var(--grad); border-radius: 50px; transition: width 1.4s ease; }
.progress__bar.filled { width: var(--val); }
.cause__meta { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 22px; }
.cause__meta strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(42,15,32,.94), rgba(180,24,106,.82)),
    var(--cta-bg, url("../img/photos/pad-18.jpg")) center/cover fixed;
  color: #fff; padding: 90px 0;
}
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.cta-band h2 span { color: var(--accent); }
.cta-band p { color: rgba(255,255,255,.85); max-width: 540px; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Events ---------- */
.events__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.event {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--t);
}
.event:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.event > img { height: 220px; width: 100%; object-fit: cover; }
.event__date {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent); color: #fff; border-radius: 12px;
  padding: 10px 14px; text-align: center; line-height: 1;
}
.event__date strong { font-family: var(--head); font-size: 1.5rem; display: block; }
.event__date span { font-size: .8rem; text-transform: uppercase; }
.event__body { padding: 22px 24px 26px; }
.event__meta { display: flex; gap: 18px; font-size: .8rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.event__meta i { color: var(--primary); margin-right: 5px; }
.event__body h3 { font-size: 1.2rem; }

/* ---------- News ---------- */
.news__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.post {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: var(--t);
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.post__media { height: 220px; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: var(--t); }
.post:hover .post__media img { transform: scale(1.08); }
.post__body { padding: 24px; }
.post__meta { display: flex; gap: 18px; font-size: .8rem; color: var(--muted); margin-bottom: 12px; }
.post__meta i { color: var(--primary); margin-right: 5px; }
.post__body h3 { font-size: 1.2rem; margin-bottom: 16px; }
.post__more { font-family: var(--head); font-weight: 600; color: var(--primary); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: var(--t); }
.post__more:hover { gap: 14px; color: var(--accent-dark); }

/* ---------- Forms (shared) ---------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 40px; border: 1px solid var(--line);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 14px; }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fff; transition: var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(180,24,106,.10);
}
.field textarea { resize: vertical; min-height: 130px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field small.err { color: #d33; font-size: .8rem; display: none; margin-top: 6px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d33; }
.field.invalid small.err { display: block; }

.form-note {
  display: flex; gap: 12px; align-items: flex-start; background: var(--bg-cream);
  padding: 16px 18px; border-radius: 12px; font-size: .9rem; margin-bottom: 24px;
}
.form-note i { color: var(--accent-dark); font-size: 18px; margin-top: 2px; }

.alert { padding: 16px 18px; border-radius: 12px; font-size: .95rem; margin-bottom: 20px; display: none; align-items: center; gap: 10px; }
.alert.show { display: flex; }
.alert--success { background: #e7f7ed; color: #1a7f45; }
.alert--info { background: #eef4ff; color: #2a5bd7; }

/* ---------- Donate ---------- */
.donate__layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.donate__aside { position: sticky; top: 110px; }
.donate__aside .about__img { height: 360px; }
.impact-list { display: grid; gap: 16px; margin-top: 26px; }
.impact-list li { display: flex; gap: 14px; align-items: flex-start; }
.impact-list i { color: var(--primary); font-size: 20px; margin-top: 3px; }
.impact-list strong { color: var(--ink); font-family: var(--head); display: block; }

.tabs { display: flex; gap: 10px; margin-bottom: 28px; background: var(--bg-soft); padding: 6px; border-radius: 50px; }
.tab {
  flex: 1; padding: 14px; border-radius: 50px; font-family: var(--head); font-weight: 600;
  color: var(--body); transition: var(--t); display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tab.active { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(180,24,106,.25); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.amount-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 18px; }
.amount {
  padding: 16px 10px; border: 1.5px solid var(--line); border-radius: 12px; text-align: center;
  font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ink); transition: var(--t);
}
.amount:hover { border-color: var(--primary); }
.amount.active { background: var(--grad); color: #fff; border-color: transparent; }
.pay-methods { display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 24px; }
.pay-methods label {
  flex: 1; min-width: 140px; display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; transition: var(--t);
  font-family: var(--head); font-weight: 600; color: var(--ink); font-size: 14px;
}
.pay-methods input { accent-color: var(--primary); }
.pay-methods label:has(input:checked) { border-color: var(--primary); background: var(--bg-soft); }
.pay-methods i { color: var(--accent-dark); font-size: 18px; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 50px; align-items: start; }
.contact-cards { display: grid; gap: 18px; margin-bottom: 30px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; background: #fff;
  padding: 22px 24px; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.contact-card i {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 20px; color: #fff; background: var(--grad);
}
.contact-card h4 { margin-bottom: 4px; }
.contact-card p { font-size: .95rem; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Volunteer ---------- */
.vol-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; margin-bottom: 60px; }
.vol-step { text-align: center; padding: 10px; }
.vol-step__num {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; font-family: var(--head); font-weight: 700; font-size: 1.4rem;
  color: #fff; background: var(--grad);
}
.vol-step h3 { font-size: 1.2rem; margin-bottom: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: #d2bccb; padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 60px; }
.footer__logo { height: 110px; width: auto; margin-bottom: 20px; display: block; }
.footer__about p { font-size: .95rem; margin-bottom: 22px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center; transition: var(--t);
}
.footer__social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); }
.footer__col h4 { color: #fff; margin-bottom: 22px; font-size: 1.15rem; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: .95rem; transition: var(--t); }
.footer__links a:hover { color: var(--accent); padding-left: 6px; }
.footer__form { display: flex; margin-top: 16px; background: rgba(255,255,255,.08); border-radius: 50px; overflow: hidden; padding: 5px; }
.footer__form input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 10px 16px; font-family: inherit; }
.footer__form input::placeholder { color: #b093a5; }
.footer__form button { background: var(--accent); color: #fff; width: 46px; border-radius: 50px; transition: var(--t); }
.footer__form button:hover { background: var(--accent-dark); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .9rem; }
.footer__bottom ul { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--accent); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 16px;
  box-shadow: 0 10px 24px rgba(180,24,106,.4);
  opacity: 0; visibility: hidden; transform: translateY(14px); transition: var(--t);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-3px); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .about__grid, .donate__layout, .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .donate__aside { position: static; }
  .about__img { height: 420px; }
  .stats__grid { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .stat::after { display: none; }
  .features__grid, .causes__grid, .events__grid, .news__grid, .vol-steps { grid-template-columns: repeat(2,1fr); }
  .cta-band__inner { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .topbar { display: none; }
  .nav__toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85%);
    background: #fff; z-index: 200; padding: 80px 32px 32px;
    transform: translateX(100%); transition: var(--t); box-shadow: var(--shadow-lg);
  }
  .nav.open { transform: translateX(0); }
  .nav__close { display: block; position: absolute; top: 24px; right: 24px; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .hero-card { width: 260px; height: 360px; }
  .amount-grid { grid-template-columns: repeat(2,1fr); }
  .form-card { padding: 28px 22px; }
}

@media (max-width: 560px) {
  .features__grid, .causes__grid, .events__grid, .news__grid, .vol-steps, .footer__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .hero-card { width: 230px; height: 330px; }
  .field--row { grid-template-columns: 1fr; }
  .tabs { flex-direction: column; border-radius: 16px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   CMS additions
   ========================================================= */

/* anti-spam honeypot: invisible to people */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* header / top bar links */
.topbar a { transition: var(--t); }
.topbar__info a:hover { color: var(--accent); }
.contact-card a { color: var(--primary); font-weight: 500; }
.contact-card a:hover { color: var(--accent-dark); }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--primary); transition: var(--t);
}
.contact-social a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* alerts */
.alert--error { background: #fdeceb; color: #b3261e; }
.alert i { flex-shrink: 0; }
.btn.is-busy { opacity: .7; pointer-events: none; }
.btn:disabled { cursor: not-allowed; }

/* misc */
.lbl { display: block; font-family: var(--head); font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: 14px; }
.empty-note { text-align: center; color: var(--muted); padding: 40px 0; font-size: 1.05rem; }
.event__desc { font-size: .9rem; margin-top: 8px; }
.post__body h3 a:hover { color: var(--primary); }
.manual-pay { margin-top: 24px; padding: 18px 20px; border-radius: 12px; background: var(--bg-soft); font-size: .95rem; }
.manual-pay h4 { margin-bottom: 8px; font-size: 1rem; }
.manual-pay h4 i { color: var(--primary); margin-right: 6px; }
.footer__msg { font-size: .85rem; margin-top: 10px; min-height: 1.2em; }
.footer__msg.is-ok { color: #8be0a8; }
.footer__msg.is-err { color: #ffb4ad; }
.footer__bottom a:hover { color: var(--accent); }

/* pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 50px; flex-wrap: wrap; }
.pagination a {
  min-width: 44px; height: 44px; padding: 0 12px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--head); font-weight: 600; border: 1.5px solid var(--line); color: var(--ink); transition: var(--t);
}
.pagination a:hover, .pagination a.active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* article */
.article__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.article__img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.article__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 6px 0 20px; }
.article__body p { margin-bottom: 18px; font-size: 1.05rem; }
.article__share { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.article__share a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-soft); color: var(--primary); transition: var(--t);
}
.article__share a:hover { background: var(--primary); color: #fff; }
.article__side { position: sticky; top: 110px; background: var(--bg-soft); padding: 26px; border-radius: var(--radius-lg); }
.article__side h4 { margin-bottom: 16px; }
.mini-post { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.mini-post img { width: 78px; height: 64px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.mini-post span { font-family: var(--head); font-weight: 600; color: var(--ink); line-height: 1.3; font-size: .95rem; }
.mini-post small { display: block; color: var(--muted); font-weight: 400; font-family: var(--font); margin-top: 3px; }
.mini-post:hover span { color: var(--primary); }

/* gallery */
.filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter {
  padding: 10px 22px; border-radius: 50px; border: 1.5px solid var(--line); background: #fff;
  font-family: var(--head); font-weight: 600; color: var(--ink); transition: var(--t);
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { columns: 3; column-gap: 18px; }
.gallery-item { display: block; position: relative; margin-bottom: 18px; border-radius: var(--radius); overflow: hidden; break-inside: avoid; cursor: zoom-in; }
.gallery-item[hidden] { display: none; }
.gallery-item img { width: 100%; height: auto; transition: var(--t); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: #fff; font-size: .9rem;
  background: linear-gradient(to top, rgba(26,6,18,.75), transparent);
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(20,6,14,.94);
  display: flex; align-items: center; justify-content: center; padding: 30px;
}
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1100px, 86vw); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 10px; margin: 0 auto; }
.lightbox figcaption { color: #fff; margin-top: 14px; min-height: 1.4em; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff; font-size: 18px; display: grid; place-items: center; transition: var(--t);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

@media (max-width: 992px) {
  .article__grid { grid-template-columns: 1fr; }
  .article__side { position: static; }
  .gallery-grid { columns: 2; }
  .nav__list { gap: 20px; }
}
@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }
}

/* inline SVG social icons (e.g. Linktree) match the font icons */
.icon-svg { display: block; width: 1em; height: 1em; }
.topbar__social a .icon-svg { font-size: 15px; }
.footer__social a .icon-svg { font-size: 19px; }
.contact-social a .icon-svg { font-size: 21px; }
