/* =========================================================
   Akshara Charitable Trust — stylesheet
   ========================================================= */

:root {
  --forest: #0f3d2e;
  --forest-dark: #0a2b20;
  --forest-light: #16543f;
  --gold: #c8952c;
  --gold-light: #e8c375;
  --cream: #faf6ec;
  --cream-dark: #f1e9d6;
  --ink: #1c211e;
  --muted: #5c655f;
  --line: #e4ddc9;
  --white: #ffffff;
  --shadow: 0 10px 30px -12px rgba(15, 61, 46, 0.18);
  --shadow-sm: 0 4px 14px -6px rgba(15, 61, 46, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1180px;
  font-size: 17px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--forest-dark);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 700;
}

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

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--forest-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,0.1); }
.btn-outline-dark {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline-dark:hover { background: var(--forest); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}
.logo-badge {
  display: inline-flex;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #f2e9d3;
  box-shadow: 0 2px 8px rgba(15, 61, 46, 0.25);
}
.logo-badge img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brand .logo-badge { width: 44px; height: 44px; }
.brand-text { line-height: 1.15; min-width: 0; overflow: hidden; }
.brand-text .name {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--forest-dark);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-text .tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.header-actions { flex-shrink: 0; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--forest-dark);
}
.main-nav a:hover { background: var(--cream-dark); color: var(--forest); }
.main-nav a.active { background: var(--forest); color: var(--white); }
.main-nav a.active:hover { color: var(--white); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--forest-dark);
  margin: 5px 0;
  transition: 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(1100px 480px at 85% -10%, #1c6448 0%, transparent 60%), linear-gradient(160deg, var(--forest) 0%, var(--forest-dark) 100%);
  color: var(--white);
  overflow: hidden;
  padding: 88px 0 96px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(212,163,64,0.14) 0, transparent 40%),
    radial-gradient(circle at 92% 75%, rgba(212,163,64,0.10) 0, transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-inner { max-width: 720px; }
.hero h1 { color: var(--white); }
.hero .lede { color: rgba(255,255,255,0.82); font-size: 1.15rem; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 44px;
}
.hero-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  min-width: 150px;
}
.hero-badge .num { font-family: "Playfair Display", serif; font-size: 1.4rem; font-weight: 700; color: var(--gold-light); display: block; }
.hero-badge .lbl { font-size: 0.78rem; color: rgba(255,255,255,0.75); }

.page-hero {
  padding: 64px 0 60px;
}
.page-hero .lede { max-width: 680px; }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
.section-alt { background: var(--white); }
.section-head { max-width: 700px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream-dark);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; }
.card p { margin-bottom: 0; font-size: 0.96rem; }

.obj-card { border-left: 3px solid var(--gold); }
.obj-card .num {
  font-family: "Playfair Display", serif;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

/* ---------- About / split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.emblem-panel {
  background: linear-gradient(160deg, var(--forest), var(--forest-dark));
  border-radius: var(--radius);
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.emblem-panel .logo-badge { width: 190px; height: 190px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }

/* ---------- Table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.info-table th, .info-table td {
  text-align: left;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.info-table th {
  width: 34%;
  color: var(--forest-dark);
  font-weight: 700;
  background: var(--cream-dark);
}
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { margin-bottom: 4px; font-size: 1rem; color: var(--forest-dark); }
.timeline-item .when { font-size: 0.8rem; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Trustee cards ---------- */
.trustee-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.trustee-photo {
  height: 340px;
  background: linear-gradient(160deg, var(--forest-light), var(--forest-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.trustee-photo .initials {
  font-family: "Playfair Display", serif;
  font-size: 3.4rem;
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.trustee-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.trustee-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212,163,64,0.25), transparent 55%);
}
.trustee-body { padding: 26px 28px 30px; }
.trustee-body .role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--cream-dark);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.trustee-body h3 { margin-bottom: 4px; }
.trustee-body .meta { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--forest-dark);
  color: var(--white);
  padding: 46px 0;
}
.stats-strip .grid-4 { text-align: center; }
.stats-strip .stat .num { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--gold-light); font-weight: 700; }
.stats-strip .stat .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-top: 4px; }

/* ---------- Category blocks (objectives page) ---------- */
.category-block { margin-bottom: 56px; }
.category-block .cat-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.category-block .cat-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--forest); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;
}
.category-block h3 { margin: 0; }
.obj-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 22px; }
.obj-list li {
  font-size: 0.94rem;
  color: var(--ink);
  padding: 10px 0 10px 22px;
  border-bottom: 1px dashed var(--line);
  position: relative;
}
.obj-list li::before {
  content: "";
  position: absolute; left: 0; top: 17px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}
.obj-list .num {
  display: inline-block;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--gold);
  margin-right: 8px;
  white-space: nowrap;
}

/* ---------- Callout / donate ---------- */
.callout {
  background: linear-gradient(135deg, var(--forest), var(--forest-dark));
  color: var(--white);
  border-radius: 24px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow);
}
.callout h2 { color: var(--white); }
.callout p { color: rgba(255,255,255,0.82); }
.callout-actions { display: flex; flex-direction: column; gap: 12px; }

.notice {
  background: #fff8e8;
  border: 1px solid #edd8a3;
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: #5a4b1f;
}
.notice strong { color: #46390f; }

/* ---------- Photo gallery ---------- */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.photo-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  background: var(--white);
}
.photo-gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.photo-gallery figcaption {
  padding: 12px 16px;
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- Correspondence / letter block ---------- */
.letter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  font-size: 0.96rem;
}
.letter .letterhead { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid var(--forest); padding-bottom: 18px; margin-bottom: 22px; }
.letter .letterhead .logo-badge { width: 40px; height: 40px; }
.letter .letterhead .lh-name { font-family: "Playfair Display", serif; font-weight: 700; color: var(--forest-dark); }
.letter dl { display: grid; grid-template-columns: 90px 1fr; gap: 6px 14px; margin-bottom: 18px; }
.letter dt { font-weight: 700; color: var(--forest-dark); }
.letter dd { margin: 0; color: var(--muted); }
.letter .sign { margin-top: 24px; text-align: right; color: var(--muted); font-style: italic; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 24px; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--cream-dark); color: var(--forest);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem;
}
.contact-item h4 { margin: 0 0 4px; font-size: 1rem; color: var(--forest-dark); }
.contact-item p { margin: 0; font-size: 0.94rem; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 340px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

form.contact-form { display: grid; gap: 16px; }
.contact-form label { font-size: 0.85rem; font-weight: 700; color: var(--forest-dark); display: block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,149,44,0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .logo-badge { width: 40px; height: 40px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4); }
.footer-brand span { font-family: "Playfair Display", serif; color: var(--white); font-weight: 700; font-size: 1.1rem; }
.footer-col h5 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { color: rgba(255,255,255,0.72); font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.2s;
  z-index: 90;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { background: var(--gold); color: var(--forest-dark); }

/* Content is always visible by default — no scroll-triggered fade-in,
   so nothing ever depends on JS timing to be readable. */

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 0.85rem; color: rgba(255,255,255,0.65); margin-bottom: 16px; }
.crumb a { color: rgba(255,255,255,0.65); }
.crumb a:hover { color: var(--gold-light); }

/* ---------- Header actions (nav + persistent Donate CTA) ---------- */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn-donate {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--gold);
  color: var(--forest-dark);
  border: 2px solid var(--gold);
  white-space: nowrap;
}
.btn-donate:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--forest-dark); }

/* ---------- Donation amount picker ---------- */
.donate-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; }
.amount-btn {
  padding: 14px 8px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: var(--cream);
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 1rem;
  font-family: "Playfair Display", serif;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.amount-btn:hover { border-color: var(--gold); }
.amount-btn.selected { border-color: var(--gold); background: var(--cream-dark); color: var(--forest); }
.custom-amount-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
}
.custom-amount-wrap.filled { border-color: var(--gold); }
.custom-amount-wrap .prefix {
  padding: 12px 14px;
  background: var(--cream-dark);
  font-weight: 700;
  color: var(--forest-dark);
  font-family: "Playfair Display", serif;
}
.custom-amount-wrap input {
  border: none;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  flex: 1;
  background: transparent;
  color: var(--ink);
}
.custom-amount-wrap input:focus { outline: none; }
.donate-cta { width: 100%; justify-content: center; font-size: 1.02rem; padding: 15px 26px; }

/* ---------- UPI / QR block ---------- */
.qr-block {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-top: 20px;
}
.qr-box {
  width: 84px; height: 84px;
  border-radius: 10px;
  background: repeating-conic-gradient(var(--line) 0% 25%, var(--white) 0% 50%) 0 0 / 12px 12px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem;
  text-align: center;
  color: var(--muted);
  padding: 6px;
}
.qr-block h4 { margin: 0 0 4px; font-size: 0.95rem; color: var(--forest-dark); }
.qr-block p { margin: 0; font-size: 0.85rem; }
.upi-id { font-family: "Playfair Display", serif; font-weight: 700; color: var(--forest); }

/* ---------- Impact stats ---------- */
.impact-row { display: flex; gap: 22px; flex-wrap: wrap; margin: 22px 0; }
.impact-item { flex: 1; min-width: 130px; text-align: center; background: var(--cream); border-radius: var(--radius-sm); padding: 16px 10px; }
.impact-item .amt { font-family: "Playfair Display", serif; font-weight: 700; color: var(--forest); font-size: 1.2rem; display: block; }
.impact-item .desc { font-size: 0.78rem; color: var(--muted); }

/* ---------- Checkbox / chip groups (volunteer interests) ---------- */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 8px; }
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-size: 0.88rem;
  cursor: pointer;
}
.check-item:has(input:checked) { border-color: var(--gold); background: var(--cream-dark); }
.check-item input { accent-color: var(--forest); width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- Form feedback banners ---------- */
.form-success, .form-error {
  display: none;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.9rem;
  margin-top: 4px;
}
.form-success { background: #eaf5ec; border: 1px solid #bfe0c6; color: #205831; }
.form-error { background: #fbeaea; border: 1px solid #e3b8b8; color: #7a2222; }
.form-success.show, .form-error.show { display: block; }
.amount-error { color: #a33; font-size: 0.85rem; text-align: center; margin: 8px 0 0; }

/* ---------- Setup notice (dev-facing placeholder callouts) ---------- */
.setup-notice {
  background: #fff8e8;
  border: 1px dashed #d9b65b;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.82rem;
  color: #5a4b1f;
  margin-top: 18px;
}
.setup-notice code { background: rgba(0,0,0,0.06); padding: 1px 5px; border-radius: 4px; font-size: 0.8em; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .callout { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { font-size: 16px; }
  .main-nav { position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 14px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-140%); transition: transform 0.25s ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 12px 16px; }
  .nav-toggle { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .obj-list { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 64px; }
  .hero-badges { gap: 10px; }
  .hero-badge { min-width: 130px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .letter { padding: 26px; }
  section { padding: 56px 0; }
  .amount-grid { grid-template-columns: repeat(2, 1fr); }
  .check-grid { grid-template-columns: 1fr; }
  .qr-block { flex-direction: column; text-align: center; }
  .btn-donate { padding: 9px 14px; font-size: 0.8rem; }
  .donate-panel { padding: 24px; }
  .photo-gallery { grid-template-columns: 1fr; }
  .photo-gallery img { height: 220px; }
  .brand { gap: 8px; }
  .brand .logo-badge { width: 36px; height: 36px; }
  .brand-text .tag { display: none; }
  .brand-text .name { font-size: 0.92rem; }
  .header-actions { gap: 6px; }
  .brand { flex: 1 1 auto; }
  .brand-text { flex: 1 1 auto; }
}
