:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --primary: #ef5b45;
  --primary-dark: #cc3f2c;
  --secondary: #1f7a6d;
  --text: #263238;
  --muted: #64748b;
  --border: #f0d7c9;
  --shadow: 0 24px 60px rgba(98, 54, 35, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top left, #ffe0cc 0, transparent 34%), var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 241, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(240, 215, 201, 0.7);
}

.navbar,
.hero,
.section,
.donation-section,
.site-footer,
.stats {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.navbar {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links a,
.site-footer a {
  color: inherit;
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(239, 91, 69, 0.34);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--primary);
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
  align-items: center;
  gap: 56px;
  padding: 76px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero-description,
.donation-copy p,
.program-card p,
.form-note {
  color: var(--muted);
}

.hero-description {
  max-width: 660px;
  font-size: 1.18rem;
}

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

.button {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button.primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(239, 91, 69, 0.28);
}

.button.primary:hover {
  background: var(--primary-dark);
}

.button.secondary {
  background: #fff;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.impact-card,
.program-card,
.donation-form,
.stats article {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(240, 215, 201, 0.78);
  box-shadow: var(--shadow);
}

.impact-card {
  border-radius: 34px;
  padding: 34px;
}

.card-label {
  color: var(--muted);
  font-weight: 700;
}

.impact-card strong {
  display: block;
  margin: 8px 0 22px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.progress {
  overflow: hidden;
  height: 14px;
  background: #f7ded0;
  border-radius: 999px;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), #ffb15c);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 86px;
}

.stats article {
  border-radius: 24px;
  padding: 24px;
}

.stats strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.donation-section {
  padding: 76px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.program-card {
  border-radius: 28px;
  padding: 28px;
}

.program-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: #fff0e6;
  font-size: 1.8rem;
}

.donation-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.donation-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border-radius: 30px;
}

.donation-form label {
  font-weight: 800;
}

.donation-form input,
.donation-form select,
.donation-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--text);
  font: inherit;
  background: #fffdfb;
}

.donation-form input:focus,
.donation-form select:focus,
.donation-form textarea:focus {
  outline: 3px solid rgba(239, 91, 69, 0.18);
  border-color: var(--primary);
}

.form-note {
  margin: 0;
  font-size: 0.9rem;
}

.form-result {
  min-height: 24px;
  color: var(--secondary);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 820px) {
  .hero,
  .donation-section,
  .program-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .nav-links {
    display: none;
  }

  .site-footer {
    flex-direction: column;
  }
}
