:root {
  --navy: #071827;
  --navy-2: #102865;
  --blue: #1f73e8;
  --red: #e4003f;
  --lavender: #f1ecfb;
  --text: #182238;
  --muted: #667085;
  --line: #dfe5f0;
  --surface: #ffffff;
  --soft: #f7f9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: var(--text);
  font-family: Montserrat, Arial, sans-serif;
  margin: 0;
}

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

button,
input {
  font: inherit;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  min-height: 92px;
  padding: 10px clamp(24px, 6vw, 92px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}

.brand img {
  background: #ffffff;
  border-radius: 999px;
  filter: drop-shadow(0 8px 12px rgba(7, 24, 39, 0.18));
  height: 70px;
  object-fit: contain;
  width: 70px;
}

.brand span {
  display: grid;
  min-width: 0;
}

.brand strong {
  color: var(--navy-2);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
}

.main-nav a {
  color: #26334d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  padding: 12px 0;
}

.main-nav a.active {
  border-bottom: 2px solid var(--blue);
  color: var(--blue);
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
}

.donation-link,
.button,
.donation-card button,
.membership-card button,
.donation-custom button {
  align-items: center;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
}

.donation-link {
  background: var(--blue);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  color: #ffffff;
  font-size: 14px;
  min-height: 48px;
  padding: 0 28px;
  text-transform: uppercase;
}

.notice-stack {
  display: grid;
  gap: 8px;
  left: 50%;
  max-width: min(960px, calc(100vw - 32px));
  position: fixed;
  top: 104px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 30;
}

.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 44px rgba(17, 35, 67, 0.12);
  font-size: 14px;
  font-weight: 800;
  margin: 0;
  padding: 14px 16px;
}

.notice.error {
  background: #fff1f3;
  border-color: #ffd4dc;
  color: #b4233a;
}

.notice.success {
  background: #ecfdf3;
  border-color: #bbf7d0;
  color: #087443;
}

.notice.info {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.hero {
  background: var(--navy);
  min-height: 532px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(390px, 1fr) minmax(410px, 540px) minmax(150px, 0.7fr);
  min-height: 532px;
  margin: 0 auto;
  max-width: 1200px;
}

.hero-copy {
  align-self: center;
  color: #ffffff;
  padding: 22px 18px 22px 52px;
  position: relative;
  z-index: 2;
}

.hero-kicker,
.page-kicker {
  color: #ffccd9;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 24px 0 14px;
  text-transform: uppercase;
}

.page-kicker {
  color: var(--red);
  margin-top: 0;
}

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

.hero-title {
  font-size: 50px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.45;
  margin: 0 0 24px;
}

.hero-title span {
  display: block;
}

.hero-title b {
  color: #ff1f2d;
  font-weight: 900;
}

.hero-subtitle {
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  margin: 0 0 24px;
}

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

.button {
  border-radius: 24px;
  font-size: 13px;
  min-height: 48px;
  padding: 0 42px;
}

.button.primary {
  background: var(--blue);
  color: #ffffff;
}

.button.secondary {
  background: #ffffff;
  color: var(--navy-2);
}

.hero-photo {
  clip-path: polygon(14% 0, 78% 0, 100% 100%, 42% 100%);
  height: 100%;
  margin-left: -74px;
  margin-right: -118px;
  position: relative;
  z-index: 1;
}

.hero-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.hero-fill {
  background: var(--navy);
  height: 100%;
}

.who {
  background: var(--lavender);
  padding: 64px 20px 48px;
  text-align: center;
}

.who h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 22px;
}

.who p {
  color: #69708f;
  font-size: 15px;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 980px;
}

.page-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 50%, #ffffff 100%);
  padding: clamp(32px, 6vw, 76px) clamp(18px, 5vw, 72px);
}

.donation-hero,
.membership-hero {
  background: #ffffff;
  border: 1px solid #e1e7f3;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(13, 37, 76, 0.07);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.48fr);
  margin: 0 auto 28px;
  max-width: 1160px;
  padding: clamp(28px, 5vw, 54px);
}

.membership-hero {
  background: radial-gradient(circle at 78% 18%, rgba(31, 115, 232, 0.18), transparent 32%),
    linear-gradient(135deg, #ffffff 0%, #f4f8ff 44%, #eaf1ff 100%);
}

.donation-hero h1,
.membership-hero h1,
.simple-panel h1 {
  color: var(--navy);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0 0 18px;
  max-width: 820px;
}

.donation-hero p:not(.page-kicker),
.membership-hero p:not(.page-kicker) {
  color: #4f5d7a;
  font-size: 17px;
  line-height: 1.75;
  max-width: 720px;
}

.hero-card {
  align-self: stretch;
  background: linear-gradient(135deg, var(--navy) 0%, #132f52 100%);
  border-radius: 18px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px;
  overflow: hidden;
  padding: 28px;
  position: relative;
}

.hero-card.dark::after {
  background: linear-gradient(135deg, rgba(31, 115, 232, 0.8), rgba(228, 0, 63, 0.66));
  border-radius: 999px;
  content: "";
  height: 180px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
}

.hero-card span,
.hero-card p,
.hero-card strong {
  position: relative;
  z-index: 1;
}

.hero-card span {
  color: #d7e4ff;
  font-weight: 800;
}

.hero-card strong {
  font-size: 31px;
  font-weight: 900;
  line-height: 1.14;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

.donation-panel,
.membership-panel,
.simple-panel {
  background: #ffffff;
  border: 1px solid #e1e7f3;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(13, 37, 76, 0.06);
  margin: 0 auto 34px;
  max-width: 1160px;
  padding: clamp(24px, 4vw, 34px);
}

.payment-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.1fr);
  margin-bottom: 26px;
}

.payment-heading h2 {
  color: var(--navy);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 900;
  line-height: 1.02;
  margin: 0;
}

.payment-heading p {
  color: #61708f;
  line-height: 1.75;
  margin: 0;
}

.stripe-notice,
.empty-public {
  background: #f4f7ff;
  border: 1px solid #dfe7f6;
  border-radius: 14px;
  color: #36506f;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 14px 16px;
}

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

.donation-card,
.membership-card {
  background: #ffffff;
  border: 1px solid #dde5f2;
  border-radius: 14px;
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  padding: 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.donation-card:hover,
.membership-card:hover {
  border-color: var(--blue);
  box-shadow: 0 22px 46px rgba(17, 35, 67, 0.12);
  transform: translateY(-3px);
}

.donation-card strong,
.membership-card strong {
  color: var(--navy);
  font-size: 46px;
  font-weight: 900;
  line-height: 1;
}

.membership-card strong small {
  color: #6a7893;
  font-size: 15px;
  font-weight: 800;
}

.donation-card p,
.membership-card p {
  color: #667085;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.donation-card button,
.membership-card button {
  background: var(--blue);
  border-radius: 999px;
  color: #ffffff;
  margin-top: auto;
  min-height: 44px;
  padding: 0 16px;
}

.donation-custom {
  align-items: center;
  background: #f4f7ff;
  border: 1px solid #dfe7f6;
  border-radius: 16px;
  color: var(--navy);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  margin-top: 22px;
  padding: 28px;
}

.donation-custom h3 {
  font-size: 24px;
  line-height: 1.16;
  margin: 0 0 10px;
}

.donation-custom p {
  color: #61708f;
  line-height: 1.6;
  margin: 0;
}

.donation-custom label {
  display: grid;
  font-weight: 900;
  gap: 10px;
}

.donation-custom span {
  display: flex;
  gap: 10px;
}

.donation-custom input {
  background: #ffffff;
  border: 1px solid #cfd9ea;
  border-radius: 999px;
  flex: 1;
  min-height: 50px;
  min-width: 0;
  padding: 0 18px;
}

.donation-custom button {
  background: var(--navy);
  border-radius: 999px;
  color: #ffffff;
  min-height: 50px;
  padding: 0 22px;
}

.membership-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.membership-card {
  --tier: var(--blue);
  border-radius: 16px;
  min-height: 285px;
  position: relative;
}

.membership-card::before {
  background: var(--tier);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
  transform: translateY(-1px);
}

.membership-card.bronze {
  --tier: #b56b35;
}

.membership-card.silver {
  --tier: #8a97ad;
}

.membership-card.gold {
  --tier: #e0a411;
}

.membership-card.platinum {
  --tier: #65758f;
}

.membership-card.diamond {
  --tier: #0aa4c8;
}

.membership-dot {
  background: var(--tier);
  border-radius: 999px;
  height: 16px;
  width: 16px;
}

.membership-tier {
  color: var(--navy);
  font-size: 17px;
  font-weight: 900;
}

.membership-card button {
  background: var(--tier);
}

.membership-note {
  background: #eef5ff;
  border: 1px solid #d8e8ff;
  border-radius: 14px;
  color: #36506f;
  font-weight: 700;
  line-height: 1.6;
  margin: 22px 0 0;
  padding: 16px 18px;
}

.about-page {
  background: #ffffff;
}

.about-intro {
  padding: 70px 20px 120px;
  text-align: center;
}

.about-intro h1 {
  color: var(--navy);
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 24px;
}

.about-intro p {
  color: #606b9a;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 940px;
}

.about-main {
  margin: 0 auto;
  max-width: 1110px;
  padding: 0 24px 72px;
}

.about-main h2 {
  color: var(--navy);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 44px;
}

.mission-vision {
  display: grid;
  gap: 80px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 72px;
}

.mission-vision h3 {
  color: var(--navy);
  font-size: 23px;
  font-weight: 900;
  margin: 0 0 12px;
}

.mission-vision p {
  color: #3f4250;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.about-wide-image {
  border-radius: 8px;
  height: 300px;
  overflow: hidden;
}

.about-wide-image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.place {
  background: var(--navy);
  color: #ffffff;
  padding: 72px clamp(24px, 6vw, 90px);
}

.place-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: minmax(280px, 0.75fr) minmax(420px, 1.05fr);
  margin: 0 auto;
  max-width: 1180px;
}

.place h2 {
  font-size: 44px;
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 18px;
}

.place-lead {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 54px;
  max-width: 470px;
}

.place strong {
  display: block;
  font-size: 16px;
  margin-bottom: 16px;
}

.place address {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}

.map-frame {
  background: #d9e3f2;
  border: 0;
  height: 345px;
  width: 100%;
}

.simple-panel {
  display: grid;
  gap: 16px;
}

.site-footer {
  align-items: center;
  background: var(--navy);
  color: #ffffff;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(20px, 6vw, 86px);
}

.site-footer strong {
  font-size: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .donation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
  }

  .main-nav {
    gap: 16px;
    grid-column: 1 / 3;
    grid-row: 2;
    justify-content: flex-start;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    clip-path: none;
    height: 330px;
    margin: 0;
    order: -1;
  }

  .hero-fill {
    display: none;
  }

  .hero-copy {
    padding: 48px 24px;
  }

  .donation-hero,
  .membership-hero,
  .payment-heading,
  .donation-custom,
  .mission-vision,
  .place-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 10px 16px;
  }

  .brand img {
    height: 50px;
    width: 50px;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .donation-link {
    padding: 0 18px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .who h2,
  .about-intro h1 {
    font-size: 34px;
  }

  .donation-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .donation-hero,
  .membership-hero,
  .donation-panel,
  .membership-panel {
    border-radius: 14px;
    padding: 26px;
  }

  .donation-card,
  .membership-card {
    min-height: 0;
  }

  .donation-custom span,
  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: center;
  }
}
