@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --teal: #159196;
  --mint: #7acb9c;
  --green: #0b3f2b;
  --gold: #b7902c;
  --ink: #17332b;
  --muted: #64746f;
  --line: #e1ece8;
  --soft: #f7fbfa;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 104px;
  padding: 0 max(16px, calc((100vw - 1160px) / 2));
  border-bottom: 1px solid rgba(21, 145, 150, 0.12);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(23, 51, 43, 0.05);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand-logo-image {
  display: block;
  width: auto;
  height: 82px;
  max-width: min(46vw, 180px);
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 800;
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--teal);
  background: #eef8f6;
}

.nav-links .nav-donate {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 14px 28px rgba(21, 145, 150, 0.2);
}

.nav-links .nav-donate:hover {
  background: #117c81;
  color: #fff;
}

.hero-section {
  position: relative;
  isolation: isolate;
  min-height: min(650px, calc(100svh - 104px));
  overflow: hidden;
  background:
    linear-gradient(100deg, #ffffff 0%, #ffffff 43%, rgba(255,255,255,0.9) 62%, rgba(255,255,255,0.48) 100%),
    url('/images/community-hero.svg') right center/cover no-repeat;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(154deg, transparent 0 68%, rgba(21, 145, 150, 0.16) 68% 74%, transparent 74%),
    linear-gradient(166deg, transparent 0 63%, rgba(122, 203, 156, 0.38) 63% 72%, transparent 72%);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, var(--teal), var(--mint), var(--gold));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 370px);
  align-items: center;
  gap: 42px;
  min-height: min(650px, calc(100svh - 104px));
  padding: 64px 0;
}

.hero-copy,
.hero-panel,
.donate-intro,
.donation-card {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal), var(--mint));
}

.hero-copy h1,
.section-head h2,
.split-layout h2,
.cta-section h2,
.donate-intro h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-copy h1 {
  max-width: 720px;
  margin-top: 16px;
  font-size: clamp(2.7rem, 6vw, 5.5rem);
}

.hero-copy p {
  max-width: 690px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.primary-button {
  gap: 12px;
  padding: 12px 14px 12px 26px;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 18px 36px rgba(21, 145, 150, 0.22);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  background: #117c81;
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(21, 145, 150, 0.3);
}

.primary-button span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  color: var(--teal);
}

.secondary-button {
  padding: 12px 24px;
  border: 2px solid rgba(21, 145, 150, 0.32);
  color: var(--teal);
}

.secondary-button:hover {
  border-color: var(--mint);
  color: var(--green);
  background: #f3fbf8;
}

.hero-panel {
  padding: 24px;
  border: 1px solid rgba(21, 145, 150, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(23, 51, 43, 0.1);
}

.hero-logo {
  display: block;
  width: min(100%, 280px);
  height: auto;
  margin: 0 auto 18px;
}

.panel-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.campaign-row {
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.campaign-row strong,
.campaign-row span {
  display: block;
}

.campaign-row strong {
  color: var(--green);
  font-size: 20px;
}

.campaign-row span {
  color: var(--muted);
}

.section {
  padding: 72px 0;
  background: #fff;
}

.section.soft {
  background:
    linear-gradient(166deg, transparent 0 68%, rgba(21, 145, 150, 0.08) 68% 75%, transparent 75%),
    linear-gradient(180deg, #f8fcfb, #ffffff);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

.section-head h2,
.split-layout h2,
.cta-section h2,
.donate-intro h1 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.section-head p,
.split-layout p,
.cta-section p,
.donate-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.76;
}

.focus-grid,
.file-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.focus-card,
.file-card,
.donation-card {
  border: 1px solid rgba(21, 145, 150, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(23, 51, 43, 0.045);
}

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

.card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e8f8f1;
  color: var(--teal);
  font-weight: 900;
}

.focus-card h3 {
  margin: 20px 0 9px;
  color: var(--green);
  font-size: 19px;
}

.focus-card p,
.file-card span {
  margin: 0;
  color: var(--muted);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.65fr);
  gap: 32px;
  align-items: center;
}

.image-band {
  min-height: 420px;
  border-radius: 8px;
  background: url('/images/field-relief.svg') center/cover no-repeat;
  box-shadow: 0 24px 60px rgba(23, 51, 43, 0.1);
}

.process-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.process-list div {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.process-list strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
}

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

.file-card {
  padding: 22px;
}

.file-card strong,
.file-card span {
  display: block;
}

.file-card strong {
  margin-bottom: 14px;
  color: var(--green);
  font-size: 16px;
}

.file-card span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f3fbf8;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.cta-section {
  padding: 58px 0;
  background:
    linear-gradient(104deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 46%, rgba(122,203,156,0.32) 100%),
    url('/images/community-hero.svg') right center/cover no-repeat;
  border-top: 1px solid rgba(21, 145, 150, 0.1);
  border-bottom: 1px solid rgba(21, 145, 150, 0.1);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
}

.cta-section p {
  max-width: 690px;
  margin-top: 12px;
}

.site-footer {
  padding: 24px 0;
  color: #6d7c77;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-grid strong,
.footer-grid span {
  display: block;
}

.footer-grid strong {
  color: var(--green);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.footer-contact {
  margin-top: 6px;
}

.footer-contact a {
  display: block;
  width: fit-content;
  color: inherit;
}

.footer-contact a:hover {
  color: var(--teal);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(21, 145, 150, 0.16);
  border-radius: 999px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-social a:hover {
  background: #eef8f6;
  border-color: var(--mint);
}

.donate-main {
  min-height: calc(100svh - 104px);
  padding: 56px 0 76px;
  background:
    linear-gradient(166deg, transparent 0 68%, rgba(21, 145, 150, 0.08) 68% 75%, transparent 75%),
    linear-gradient(180deg, #ffffff 0%, #f8fcfb 100%);
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.45fr) minmax(0, 0.75fr);
  gap: 28px;
  align-items: start;
}

.donate-intro {
  position: sticky;
  top: 120px;
}

.donate-intro p {
  margin-top: 16px;
}

.donation-card {
  padding: 28px;
}

fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 900;
  font-size: 15px;
}

.amount-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

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

.choice {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  cursor: pointer;
}

.choice:hover,
.choice.active {
  border-color: var(--mint);
  background: #effaf5;
  box-shadow: 0 10px 22px rgba(21, 145, 150, 0.12);
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  margin-top: 12px;
}

.field span {
  color: #31514a;
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
}

.field textarea {
  min-height: 108px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(21, 145, 150, 0.16);
  outline: none;
}

.summary-box {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: 8px;
  background: #f7fbfa;
  border: 1px solid rgba(21, 145, 150, 0.14);
  border-top: 4px solid var(--teal);
}

.summary-box div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.summary-box span,
.summary-box p,
.summary-box small {
  color: var(--muted);
}

.summary-box strong {
  color: var(--teal);
  font-size: 28px;
  line-height: 1;
}

.summary-box p {
  margin: 10px 0 4px;
}

.submit-button {
  width: 100%;
  border: 0;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 18px 34px rgba(21, 145, 150, 0.22);
}

.submit-button:hover {
  background: #117c81;
}

.success-message {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(122, 203, 156, 0.52);
  background: #eefaf5;
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero-grid,
  .section-head,
  .split-layout,
  .cta-inner,
  .donate-layout {
    grid-template-columns: 1fr;
  }

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

  .donate-intro {
    position: static;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand-logo-image {
    height: 62px;
    max-width: 132px;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    overflow: visible;
    padding-bottom: 0;
  }

  .nav-links a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12px;
    white-space: nowrap;
  }

  .shell {
    width: min(100% - 24px, 1160px);
  }

  .hero-section,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    gap: 28px;
    padding: 42px 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 12vw, 3rem);
    overflow-wrap: break-word;
  }

  .hero-copy p {
    font-size: 15.5px;
  }

  .eyebrow {
    align-items: flex-start;
    font-size: 11px;
    line-height: 1.35;
  }

  .hero-panel,
  .donation-card {
    padding: 18px;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .submit-button {
    min-height: 50px;
    font-size: 12px;
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    gap: 16px;
    margin-bottom: 22px;
  }

  .section-head h2,
  .split-layout h2,
  .cta-section h2,
  .donate-intro h1 {
    font-size: clamp(1.65rem, 9vw, 2.2rem);
  }

  .focus-card,
  .file-card {
    min-height: auto;
    padding: 20px;
  }

  .focus-grid,
  .file-grid,
  .amount-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .process-list div {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 14px;
  }

  .process-list strong {
    width: 38px;
    height: 38px;
  }

  .image-band {
    min-height: 260px;
  }

  .donate-main {
    padding: 36px 0 54px;
  }

  .donate-layout {
    gap: 22px;
  }

  .summary-box div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .summary-box strong {
    font-size: 24px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.error-message {
  margin: 16px 0 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #e7b4b4;
  background: #fdf1f1;
  color: #8a2a2a;
  font-weight: 800;
}
