:root {
  --bg-cream: #ffffff;
  --bg-clay: #e8e8e8;
  --bg-forest: #000000;
  --card: #ffffff;
  --text-main: #000000;
  --text-muted: #555555;
  --accent: #000000;
  --accent-dark: #000000;
  --ring: rgba(0, 0, 0, 0.18);
  --ok: #000000;
  --error: #000000;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", sans-serif;
  color: var(--text-main);
  background: #fff;
}

.page {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 3rem 0 4rem;
}

.hero {
  color: #000000;
  margin-bottom: 1.5rem;
  animation: slide-in 0.6s ease;
}

.church-name {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16rem;
  font-weight: 700;
  font-size: 0.8rem;
}

h1 {
  margin: 0.45rem 0;
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.1rem, 5.5vw, 3.2rem);
  line-height: 1.1;
}

.lead {
  margin: 0;
  max-width: 65ch;
  color: #000000;
  font-size: 1.05rem;
}

.card {
  background: var(--card);
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 26px 58px rgba(0, 0, 0, 0.12);
  padding: clamp(1.2rem, 2vw, 2rem);
  animation: rise 0.8s ease;
}

form {
  display: grid;
  gap: 0.95rem;
}

.grid {
  display: grid;
  gap: 0.95rem;
}

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

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 500;
}

label > span {
  font-size: 0.93rem;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: #fff;
  color: #000;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amount-field {
  position: relative;
}

.amount-field input {
  padding-right: 3.8rem;
}

.amount-field .currency {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #000000;
  font-weight: 700;
  pointer-events: none;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--ring);
}

textarea {
  resize: vertical;
}

.file-field input {
  border-style: dashed;
  background: #ffffff;
}

button {
  margin-top: 0.4rem;
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  background: #000000;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

button:disabled {
  opacity: 0.7;
  cursor: progress;
}

.contact {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
}

.status {
  margin: 0;
  min-height: 1.35rem;
  font-weight: 700;
}

.status.ok {
  color: var(--ok);
}

.status.error {
  color: var(--error);
}

@keyframes slide-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .grid.two {
    grid-template-columns: 1fr;
  }

  .page {
    width: min(980px, calc(100% - 1.1rem));
    padding-top: 1.5rem;
  }
}
