:root {
  --green-dark: #0f5132;
  --green: #1f7a4f;
  --green-soft: #2f9d64;
  --green-pale: #dff4e6;
  --mint: #edf9f0;
  --white: #ffffff;
  --text: #173126;
  --muted: #567264;
  --line: rgba(15, 81, 50, 0.12);
  --shadow: 0 24px 65px rgba(24, 88, 56, 0.12);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(47, 157, 100, 0.16), transparent 22%),
    linear-gradient(180deg, #f8fff9, var(--mint));
}

h1,
h2,
h3,
p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.shell--wide {
  width: min(1440px, calc(100% - 32px));
}

.site-header {
  position: relative;
  padding-top: 16px;
}

.shell--nav {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) auto auto;
  align-items: center;
  gap: 1.4rem;
  padding: 0.95rem 1.25rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 38px rgba(12, 69, 42, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand__logo {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  object-fit: contain;
  background: transparent;
}

.brand__text {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
  justify-items: center;
  align-content: center;
}

.brand__text strong {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  font-size: 1.9rem;
  line-height: 1;
}

.brand__text span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

.site-nav {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(223, 244, 230, 0.62), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(15, 81, 50, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--green-dark);
}

.site-nav__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.01em;
  transition:
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.site-nav__link:hover {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 20px rgba(24, 88, 56, 0.08);
  transform: translateY(-1px);
}

.site-nav__link--accent {
  background: rgba(31, 122, 79, 0.1);
  color: var(--green);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

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

.button--primary {
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: var(--white);
  border: 0;
  box-shadow: 0 16px 32px rgba(31, 122, 79, 0.22);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 81, 50, 0.14);
  color: var(--green-dark);
}

.button--danger {
  background: linear-gradient(135deg, #c74d4d, #a73434);
  color: var(--white);
  border: 0;
  box-shadow: 0 16px 32px rgba(167, 52, 52, 0.2);
}

.button--nav {
  min-height: 3rem;
  min-width: 7.4rem;
  padding-inline: 1.35rem;
  white-space: nowrap;
}

.hero {
  padding: 7rem 0 3rem;
}

.page-hero {
  padding: 7rem 0 2.4rem;
}

.hero__layout,
.page-hero__layout,
.quick-links__grid,
.two-col,
.cards-2,
.philosophy__layout,
.philosophy__grid,
.contact,
.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.hero__layout {
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  align-items: center;
}

.page-hero__layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
}

.eyebrow {
  margin-bottom: 0.9rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
}

.hero__copy h1,
.page-hero__title,
.section-copy h2,
.hero-card h2,
.quick-link h3,
.panel h3,
.agenda-item__body h3,
.philosophy__grid h3 {
  font-family: Georgia, "Times New Roman", serif;
}

.hero__copy h1,
.page-hero__title,
.section-copy h2 {
  color: var(--green-dark);
  line-height: 0.96;
}

.hero__copy h1 {
  max-width: 10ch;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
}

.page-hero__title {
  max-width: 13ch;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.page-hero__layout > * {
  min-width: 0;
}

.page-hero--team .page-hero__layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  align-items: start;
}

.page-hero--team .page-hero__title {
  max-width: 8.5ch;
  font-size: clamp(2.8rem, 5.2vw, 4.3rem);
}

.hero__lede,
.section-copy p,
.quick-link p,
.panel p,
.hero-card p,
.agenda-item__body p,
.contact-form label,
.philosophy__grid p,
.footer-copy {
  color: var(--muted);
  line-height: 1.68;
}

.hero__lede {
  max-width: 58ch;
  margin-top: 1.25rem;
  font-size: 1.06rem;
}

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

.hero__actions--compact {
  margin-top: 1.4rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__stats div,
.quick-link,
.panel,
.agenda-item,
.contact-form,
.social-links a,
.donate-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero__stats div {
  padding: 1.15rem 1.1rem;
  border-radius: 22px;
}

.hero__stats dt {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.hero__stats dd {
  margin-top: 0.45rem;
  font-size: 0.9rem;
}

.hero__visual {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.hero-card {
  padding: 1.8rem;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(15, 81, 50, 0.98), rgba(47, 157, 100, 0.94));
  color: var(--white);
  box-shadow: 0 32px 80px rgba(18, 82, 52, 0.22);
}

.hero-card__badge {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14rem;
  text-transform: uppercase;
}

.hero-card h2 {
  font-size: clamp(1.9rem, 3.3vw, 3rem);
  line-height: 1.05;
}

.hero-card p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.hero-card a {
  display: inline-block;
  margin-top: 1rem;
  color: #eaffef;
  font-weight: 900;
}

.hero-photo {
  position: relative;
  display: grid;
  min-height: 460px;
  padding: 1.2rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at top left, rgba(47, 157, 100, 0.18), transparent 28%),
    linear-gradient(145deg, #f6fff8 0%, #dff4e6 55%, #bfe6cd 100%);
  box-shadow: var(--shadow);
}

.hero-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.hero-slider {
  align-content: stretch;
}

.hero-slider__track {
  position: relative;
  min-height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.7rem;
  padding: 1.6rem 2rem 6.4rem;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide img {
  max-width: min(100%, 360px);
  max-height: 320px;
}

.hero-slide__caption {
  display: grid;
  gap: 0.2rem;
  justify-items: center;
  text-align: center;
  max-width: 29ch;
  margin-top: -0.15rem;
}

.hero-slide__caption strong {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
}

.hero-slide__caption span {
  max-width: 24ch;
  color: var(--muted);
  line-height: 1.4;
}

.hero-slider__controls {
  position: absolute;
  right: 1.15rem;
  bottom: 0.7rem;
  left: 1.15rem;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.hero-slider__button {
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.88);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 81, 50, 0.2);
}

.hero-slider__dots {
  display: flex;
  gap: 0.55rem;
}

.hero-slider__dot {
  width: 0.8rem;
  height: 0.8rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.22);
  cursor: pointer;
}

.hero-slider__dot.is-active {
  background: var(--green);
}

.quick-links {
  padding-bottom: 2.4rem;
}

.quick-links__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-link,
.panel,
.contact-form,
.donate-panel {
  border-radius: 26px;
}

.quick-link {
  padding: 1.4rem;
}

.quick-link__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-weight: 900;
}

.quick-link h3,
.panel h3 {
  margin-top: 1rem;
  color: var(--green-dark);
  font-size: 1.55rem;
}

.quick-link p,
.panel p {
  margin-top: 0.7rem;
}

.section {
  padding: 4.3rem 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(223, 244, 230, 0.58), rgba(255, 255, 255, 0));
}

.two-col,
.contact {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
  gap: 2rem;
}

.section-copy h2 {
  max-width: 12ch;
  font-size: clamp(2.3rem, 4.6vw, 4rem);
}

.section-copy p {
  margin-top: 1rem;
  max-width: 56ch;
}

.stack,
.agenda,
.agenda-list {
  display: grid;
  gap: 1rem;
}

.panel {
  padding: 1.6rem;
}

.panel--tall {
  min-height: 100%;
}

.banner-section {
  padding-top: 1rem;
}

.impact-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  border-radius: 36px;
  background: #123423;
  box-shadow: 0 30px 80px rgba(12, 69, 42, 0.2);
}

.impact-banner__video,
.impact-banner__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.impact-banner__video {
  object-fit: cover;
}

.impact-banner__overlay {
  background:
    linear-gradient(180deg, rgba(6, 24, 15, 0.16), rgba(6, 24, 15, 0.58)),
    linear-gradient(90deg, rgba(9, 48, 29, 0.76), rgba(9, 48, 29, 0.28));
}

.impact-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: 420px;
  padding: 1.8rem 2rem;
  color: var(--white);
}

.impact-banner__intro {
  display: none;
}

.impact-banner__intro .eyebrow {
  color: rgba(227, 255, 236, 0.82);
}

.impact-banner__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
  justify-items: center;
}

.impact-stat {
  display: grid;
  justify-items: center;
  align-content: center;
  text-align: center;
  width: 100%;
  max-width: 260px;
  min-height: 210px;
  padding: 0.75rem 0.65rem;
}

.impact-stat__head {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.8rem;
  width: 100%;
}

.impact-stat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  margin-inline: auto;
}

.impact-stat__icon svg {
  width: 4.6rem;
  height: 4.6rem;
  fill: none;
  stroke: #79d07f;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.14));
}

.impact-stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
}

.impact-stat span {
  display: block;
  margin-top: 0.7rem;
  max-width: 15ch;
  font-size: 0.95rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-inline: auto;
}

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

.name-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.65;
}

.name-list li + li {
  margin-top: 0.45rem;
}

.agenda-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 26px;
}

.agenda-item__date {
  display: grid;
  place-items: center;
  align-self: stretch;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  color: var(--white);
}

.agenda-item__date strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.agenda-item__date span {
  font-size: 0.78rem;
  letter-spacing: 0.16rem;
  font-weight: 900;
}

.agenda-item__body h3 {
  color: var(--green-dark);
  font-size: 1.5rem;
}

.agenda-item__body p {
  margin-top: 0.55rem;
}

.philosophy {
  background: linear-gradient(135deg, #0d432a, var(--green-dark));
  color: var(--white);
}

.philosophy__layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

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

.philosophy__grid article {
  padding: 1.35rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-copy--light h2,
.section-copy--light p,
.section-copy--light .eyebrow {
  color: var(--white);
}

.section-copy--light .eyebrow {
  opacity: 0.78;
}

.philosophy__grid h3 {
  color: #d9ffe5;
  font-size: 1.5rem;
}

.philosophy__grid p {
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.82);
}

.donate-panel {
  padding: 1.7rem;
}

.donate-panel .button {
  margin-top: 1rem;
}

.donation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 1.4rem;
  align-items: start;
}

.donation-copy p + p {
  margin-top: 1rem;
}

.donation-lead {
  margin-top: 1rem;
  color: var(--green-dark);
  font-size: 1.08rem;
  line-height: 1.75;
}

.donation-copy__note {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding: 1.1rem 1.15rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(223, 244, 230, 0.72), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.donation-copy__note strong {
  color: var(--green-dark);
  font-size: 1.02rem;
}

.donation-copy__note span {
  color: var(--muted);
  line-height: 1.65;
}

.donation-cta {
  position: sticky;
  top: 110px;
  background:
    radial-gradient(circle at top right, rgba(47, 157, 100, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 255, 249, 0.96));
  border: 1px solid rgba(15, 81, 50, 0.08);
}

.donation-cta__intro {
  margin-top: 0.8rem;
  margin-bottom: 1rem;
  color: var(--muted);
  line-height: 1.65;
}

.donation-method {
  padding: 1.05rem 1.1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.94), rgba(255, 255, 255, 1));
  border: 1px solid rgba(15, 81, 50, 0.1);
  box-shadow: 0 16px 30px rgba(24, 88, 56, 0.08);
}

.donation-method + .donation-method {
  margin-top: 0.9rem;
}

.donation-method__label {
  display: inline-block;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.donation-method strong {
  display: block;
  margin-top: 0.55rem;
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
}

.donation-method p {
  margin-top: 0.4rem;
  color: var(--muted);
}

.donation-cta__trust {
  display: grid;
  gap: 0.3rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(15, 81, 50, 0.06);
  color: var(--muted);
}

.donation-cta__trust-mark {
  color: var(--green-dark);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.donation-goals {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.support-note {
  font-weight: 700;
}

.social-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 0.25rem;
}

.social-strip a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.1rem;
  min-width: 0;
  padding: 0.95rem 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--green-dark);
  font-weight: 800;
  justify-content: flex-start;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.social-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 79, 0.24);
  box-shadow: 0 20px 36px rgba(24, 88, 56, 0.12);
}

.social-links__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 2.8rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--green-pale), rgba(47, 157, 100, 0.24));
  color: var(--green-dark);
}

.social-links__icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.social-strip a span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-card {
  width: 100%;
  max-width: 760px;
  justify-self: end;
  padding: 1.7rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

.contact-detail {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.95rem;
  align-items: start;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.76), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.contact-detail > div {
  min-width: 0;
}

.contact-detail__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green), var(--green-soft));
  color: var(--white);
  box-shadow: 0 12px 24px rgba(31, 122, 79, 0.18);
}

.contact-detail__icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail h3 {
  color: var(--green-dark);
  font-size: 1.1rem;
}

.contact-detail p {
  margin-top: 0.35rem;
  color: var(--muted);
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
}

.contact-highlight {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.82), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.contact-highlight h3 {
  color: var(--green-dark);
  font-size: 1.12rem;
}

.contact-highlight p {
  margin-top: 0.3rem;
  color: var(--muted);
}

.contact-detail__link {
  color: inherit;
  font-size: 1rem;
  line-height: 1.45;
  word-break: normal;
  overflow-wrap: anywhere;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.contact-form {
  padding: 1.6rem;
}

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

.contact-form label {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.contact-form__row label {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.16);
  border-radius: 16px;
  background: #f9fffa;
  font: inherit;
  color: var(--text);
}

.contact-form button {
  margin-top: 1rem;
  cursor: pointer;
}

.site-footer {
  padding: 2.7rem 0 3.4rem;
  background: linear-gradient(180deg, #0d432a, #0a3421);
  color: rgba(255, 255, 255, 0.84);
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 0.9fr;
}

.brand--footer .brand__text strong,
.brand--footer .brand__text span {
  color: var(--white);
}

.footer-copy {
  margin-top: 1rem;
  max-width: 44ch;
}

.site-footer h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: #d9ffe5;
  font-size: 1.2rem;
}

.footer-links {
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-legal {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
}

.app-main {
  min-height: calc(100vh - 220px);
}

.auth-layout,
.app-shell,
.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 1.5rem;
  align-items: start;
}

.auth-card,
.app-card {
  padding: 1.7rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.app-card--sidebar {
  position: sticky;
  top: 108px;
}

.app-card__head {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.app-card__head h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  font-size: 2rem;
}

.auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-tab {
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-tab.is-active {
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: var(--white);
  border-color: transparent;
}

.app-form {
  display: grid;
  gap: 1rem;
}

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

.app-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--green-dark);
  font-weight: 700;
}

.app-form input,
.app-form select,
.app-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.16);
  border-radius: 16px;
  background: #f9fffa;
  font: inherit;
  color: var(--text);
}

.app-form input:focus,
.app-form select:focus,
.app-form textarea:focus {
  outline: 2px solid rgba(31, 122, 79, 0.18);
  border-color: rgba(31, 122, 79, 0.34);
}

.app-form input:user-invalid,
.app-form select:user-invalid,
.app-form textarea:user-invalid {
  border-color: rgba(181, 71, 71, 0.42);
  background: #fff7f7;
}

.app-form textarea {
  resize: vertical;
  min-height: 120px;
}

.app-form input:disabled,
.app-form select:disabled,
.app-form textarea:disabled {
  opacity: 0.82;
  background: #eef7f0;
  cursor: not-allowed;
}

.app-checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.app-form__grid--meta input {
  font-size: 0.95rem;
}

.app-form__hint,
.app-file-note {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.app-file-note {
  display: block;
  margin-top: 0.1rem;
}

.help-history {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(15, 81, 50, 0.1);
}

.help-history__head {
  display: grid;
  gap: 0.35rem;
}

.help-history__head h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--green-dark);
  font-size: 1.6rem;
}

.help-history__head p {
  color: var(--muted);
  line-height: 1.6;
}

.help-history__current,
.help-history__item {
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.9), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.help-history__current strong,
.help-history__meta strong {
  color: var(--green-dark);
}

.help-history__current p,
.help-history__item p {
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.65;
}

.help-history__list {
  display: grid;
  gap: 0.9rem;
}

.help-history__subsection {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.help-history__head--compact h3 {
  font-size: 1.25rem;
}

.help-history__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.help-history__meta span {
  color: var(--muted);
  font-size: 0.88rem;
}

.app-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.app-notice,
.empty-state {
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(223, 244, 230, 0.55);
  color: var(--green-dark);
}

.app-notice[data-state="error"] {
  background: rgba(255, 233, 233, 0.92);
  color: #8f2d2d;
}

.app-notice[data-state="success"] {
  background: rgba(223, 244, 230, 0.92);
  color: var(--green-dark);
}

.app-notice--inline {
  margin-bottom: 1rem;
}

.app-link-button {
  justify-self: start;
  border: 0;
  padding: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-user-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.admin-summary__card {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.9), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.admin-summary__card span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admin-summary__card strong {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.admin-filter {
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-filter.is-active {
  background: linear-gradient(135deg, var(--green-soft), var(--green));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(31, 122, 79, 0.18);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.admin-toolbar .button {
  flex: 1 1 200px;
}

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

.admin-actions .button {
  flex: 1 1 220px;
}

.admin-documents,
.admin-history {
  display: grid;
  gap: 0.95rem;
  margin-top: 0.4rem;
  padding-top: 0.5rem;
}

.admin-documents__head,
.admin-history__head {
  display: grid;
  gap: 0.35rem;
}

.admin-documents__head h3,
.admin-history__head h3 {
  color: var(--green-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.admin-documents__head p,
.admin-history__head p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-documents__grid,
.admin-history__list {
  display: grid;
  gap: 0.9rem;
}

.admin-document-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.88), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.admin-document-card strong {
  color: var(--green-dark);
}

.admin-document-card span {
  color: var(--muted);
  line-height: 1.5;
}

.admin-document-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-document-card__actions .button {
  min-height: 2.75rem;
  padding: 0.75rem 1.1rem;
}

.admin-caption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.admin-search {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--green-dark);
  font-weight: 700;
}

.admin-search input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(15, 81, 50, 0.16);
  border-radius: 16px;
  background: #f9fffa;
  font: inherit;
  color: var(--text);
}

.admin-user-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 252, 246, 0.96));
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-user-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 122, 79, 0.24);
  box-shadow: 0 18px 34px rgba(24, 88, 56, 0.1);
}

.admin-user-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.admin-user-card__side {
  display: grid;
  justify-items: end;
  gap: 0.55rem;
  flex-shrink: 0;
}

.admin-user-card__top strong {
  margin: 0;
}

.admin-user-card strong {
  color: var(--green-dark);
  font-size: 1rem;
}

.admin-user-card span,
.admin-user-card small {
  color: var(--muted);
}

.admin-user-card__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 81, 50, 0.08);
  color: var(--green-dark);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.admin-user-card__status--aprobado {
  background: rgba(21, 115, 71, 0.12);
  color: #157347;
}

.admin-user-card__status--denegado {
  background: rgba(181, 71, 71, 0.12);
  color: #b54747;
}

.admin-user-card__status--en-proceso {
  background: rgba(138, 109, 29, 0.12);
  color: #8a6d1d;
}

.admin-user-card__status--usuario {
  background: rgba(15, 81, 50, 0.08);
  color: var(--green-dark);
}

.admin-user-card__delete {
  min-height: 2.35rem;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  box-shadow: 0 10px 20px rgba(167, 52, 52, 0.14);
}

.admin-editor-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(237, 249, 240, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(15, 81, 50, 0.1);
}

.admin-editor-banner__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-editor-banner p {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .shell--nav {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .hero__layout,
  .page-hero__layout,
  .two-col,
  .cards-2,
  .auth-layout,
  .app-shell,
  .admin-layout,
  .donation-layout,
  .philosophy__layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .donation-cta {
    position: static;
  }

  .app-card--sidebar {
    position: static;
  }
}

@media (max-width: 1260px) {
  .page-hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
    align-items: start;
  }

  .page-hero__title {
    max-width: 10ch;
    font-size: clamp(2.6rem, 5vw, 4rem);
  }

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

  .contact-card {
    max-width: none;
    justify-self: stretch;
  }
}

@media (max-width: 1450px) {
  .page-hero--team .page-hero__layout {
    grid-template-columns: 1fr;
  }

  .page-hero--team .page-hero__title {
    max-width: 10ch;
    font-size: clamp(2.7rem, 6vw, 4rem);
  }

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

  .contact-card {
    max-width: none;
    justify-self: stretch;
  }

  .social-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1rem;
  }
}

@media (max-width: 860px) {
  .quick-links__grid,
  .donation-goals,
  .impact-banner__stats,
  .hero__stats,
  .philosophy__grid,
  .app-form__grid,
  .contact-form__row {
    grid-template-columns: 1fr;
  }

  .contact-card__grid {
    grid-template-columns: 1fr;
  }

  .contact-highlight {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .social-strip {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    width: 100%;
  }

  .admin-summary {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 6.3rem;
  }

  .page-hero {
    padding-top: 6.3rem;
  }

  .hero__copy h1 {
    max-width: none;
    font-size: clamp(2.8rem, 11vw, 4.5rem);
  }

  .page-hero__title {
    max-width: none;
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .impact-banner,
  .impact-banner__content {
    min-height: 480px;
  }

  .impact-banner__content {
    padding: 1.1rem;
  }

  .impact-stat {
    min-height: auto;
    max-width: none;
  }

  .impact-stat__head {
    align-items: center;
  }

  .hero-photo {
    min-height: 300px;
  }

  .hero-slide {
    padding-inline: 1.2rem;
  }

  .hero-slide img {
    max-height: 220px;
  }

  .agenda-item {
    grid-template-columns: 1fr;
  }

  .shell--nav {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-inline: 1rem;
  }

  .brand__text span,
  .button--nav {
    display: none;
  }
}
