:root {
  --navy: #132d5d;
  --navy-2: #182069;
  --red: #b50417;
  --red-2: #ed1028;
  --ink: #111827;
  --muted: #5a6172;
  --line: #e6e9f1;
  --paper: #ffffff;
  --soft: #f4f6fb;
  --warm: #ff765a;
  --gold: #d59645;
  --shadow: 0 22px 60px rgba(19, 45, 93, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
  padding: 12px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(230, 233, 241, 0.8);
  backdrop-filter: blur(18px);
}

.site-header.has-shadow {
  box-shadow: 0 12px 30px rgba(19, 45, 93, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--navy);
}

.brand img {
  width: auto;
  height: clamp(44px, 6vw, 58px);
  object-fit: contain;
}

.brand span {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 950;
  line-height: 1;
}

.brand small {
  max-width: 230px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.96rem;
  font-weight: 750;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  outline: none;
}

.site-nav .nav-donate {
  color: #fff;
  background: var(--red);
}

.site-nav .nav-donate:hover,
.site-nav .nav-donate:focus-visible {
  background: var(--navy);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 900;
}

.language-switcher span {
  color: var(--muted);
}

.language-switcher select {
  width: auto;
  min-width: 118px;
  padding: 8px 32px 8px 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: var(--navy);
  border: 0;
  border-radius: 8px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.section-pad {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  min-height: calc(100vh - 86px);
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 15%, rgba(237, 16, 40, 0.1), transparent 28%),
    linear-gradient(120deg, #fff 0%, #fff 52%, #f6f8fc 52%, #f6f8fc 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -90px;
  width: 420px;
  height: 220px;
  background: var(--red);
  border-radius: 55% 45% 0 0;
  opacity: 0.1;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 22px;
  color: var(--navy);
  font-size: clamp(2.8rem, 7vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  color: var(--navy);
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-text {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 22px;
}

.text-link,
.card-link {
  color: var(--red);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.card-link {
  display: inline-flex;
  margin-top: 8px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  line-height: 1;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button.primary {
  color: #fff;
  background: var(--red);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.light {
  color: var(--navy);
  background: #fff;
}

.button.outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.button.whatsapp {
  color: #fff;
  background: #128c4a;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 0.95;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.impact-strip {
  position: absolute;
  right: clamp(12px, 3vw, 32px);
  bottom: clamp(12px, 3vw, 32px);
  display: grid;
  gap: 8px;
}

.impact-strip span {
  padding: 9px 12px;
  color: #fff;
  background: rgba(19, 45, 93, 0.9);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
}

.mission-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: center;
  padding: clamp(48px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(110deg, rgba(19, 45, 93, 0.98), rgba(24, 32, 105, 0.96)),
    var(--navy);
}

.mission-band .eyebrow,
.mission-band h2,
.mission-band p {
  color: #fff;
}

.mission-band p:last-child {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.split,
.forms-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}

.section-intro p,
.section-heading p {
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
}

.photo-stack {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 16px;
  align-items: end;
}

.photo-stack img {
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-stack img:nth-child(2) {
  height: 320px;
  transform: translateY(42px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

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

.program-card,
.team-card,
.impact-card,
.form-panel,
.contact-card,
.map-panel,
.resource-list > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(19, 45, 93, 0.07);
}

.program-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.program-card p {
  flex: 1;
}

.program-card p,
.team-card p,
.impact-card p,
.resource-list p {
  color: var(--muted);
}

.icon,
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.icon {
  margin-bottom: 24px;
}

svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.impact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  background: var(--soft);
}

.impact-card {
  padding: 28px;
}

.stat {
  display: block;
  margin-bottom: 16px;
  color: var(--red);
  font-size: 2.4rem;
  font-weight: 950;
  line-height: 1;
}

.forms-section {
  background:
    linear-gradient(90deg, transparent 0%, transparent 56%, rgba(19, 45, 93, 0.05) 56%, rgba(19, 45, 93, 0.05) 100%);
}

.brochure-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  background: var(--soft);
}

.launch-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background:
    radial-gradient(circle at 92% 12%, rgba(237, 16, 40, 0.08), transparent 24%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.launch-band p {
  max-width: 760px;
  color: var(--muted);
}

.launch-actions {
  display: grid;
  gap: 12px;
  min-width: min(100%, 280px);
}

.brochure-panel p {
  max-width: 760px;
  color: var(--muted);
}

.brochure-preview {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.brochure-preview img {
  width: min(360px, 100%);
}

.brochure-preview p {
  margin: 18px 0 0;
  color: var(--navy);
  font-weight: 900;
}

.form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-actions .button {
  flex: 1 1 180px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--navy);
  font-weight: 850;
}

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

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  outline: 3px solid rgba(237, 16, 40, 0.12);
}

textarea {
  resize: vertical;
}

.donate-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(52px, 7vw, 86px) clamp(18px, 5vw, 72px);
  color: #fff;
  background:
    linear-gradient(120deg, rgba(181, 4, 23, 0.97), rgba(19, 45, 93, 0.98)),
    var(--red);
}

.donate-band h2,
.donate-band p,
.donate-band .eyebrow {
  max-width: 920px;
  color: #fff;
}

.giving-widget-panel {
  width: min(100%, 680px);
  margin-top: 28px;
  padding: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
}

.giving-widget-panel givebutter-widget {
  display: block;
  min-height: 220px;
}

.team-card {
  padding: 18px;
}

.team-card img {
  width: 94px;
  height: 94px;
  margin-bottom: 16px;
  object-fit: cover;
  border-radius: 8px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card .role {
  margin-bottom: 10px;
  color: var(--red);
  font-weight: 900;
}

.volunteer-section {
  background: #fff;
}

.resources {
  background: var(--soft);
}

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

.resource-list > div {
  padding: 24px;
}

.contact {
  background:
    linear-gradient(90deg, rgba(19, 45, 93, 0.96), rgba(19, 45, 93, 0.96)),
    var(--navy);
}

.contact-card {
  padding: clamp(26px, 5vw, 44px);
  background: #fff;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  color: var(--navy);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-list a:hover {
  color: var(--red);
}

.map-panel {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(237, 16, 40, 0.1), transparent 24%),
    #fff;
}

.map-panel img {
  width: min(370px, 100%);
}

.map-panel p {
  margin: 20px 0 0;
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(18px, 5vw, 72px);
  color: #fff;
  background: #0b1731;
}

.site-footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 850;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(237, 16, 40, 0.08), transparent 24%),
    linear-gradient(120deg, #fff 0%, #fff 58%, var(--soft) 58%, var(--soft) 100%);
}

.page-hero h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.13rem;
}

.page-hero img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.donate-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  background:
    radial-gradient(circle at 8% 12%, rgba(181, 4, 23, 0.1), transparent 26%),
    linear-gradient(120deg, #fff 0%, #fff 55%, var(--soft) 55%, var(--soft) 100%);
}

.donate-page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.4rem);
}

.donate-page-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.13rem;
}

.donate-page-hero img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.donation-widget-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.giving-widget-panel.large-widget {
  width: 100%;
  min-height: 520px;
}

.giving-widget-panel.large-widget givebutter-widget {
  min-height: 480px;
}

.campaign-embed-section {
  background: var(--soft);
}

.auction-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.58fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  background: #fff;
}

.auction-copy p {
  max-width: 720px;
  color: var(--muted);
}

.auction-poster {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auction-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.detail-sidebar {
  position: sticky;
  top: 112px;
  padding: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
}

.detail-sidebar h2,
.detail-sidebar p {
  color: #fff;
}

.detail-sidebar p {
  color: rgba(255, 255, 255, 0.78);
}

.detail-sidebar .button {
  width: 100%;
  margin-top: 10px;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-block {
  padding: clamp(22px, 4vw, 34px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(19, 45, 93, 0.07);
}

.detail-block ul,
.detail-block ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.detail-block li + li {
  margin-top: 8px;
}

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

.connection-card {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(19, 45, 93, 0.07);
}

.notice {
  padding: 18px;
  color: var(--navy);
  background: #fff6f7;
  border: 1px solid rgba(181, 4, 23, 0.18);
  border-radius: 8px;
}

@media (max-width: 1040px) {
  .program-grid,
  .team-grid,
  .resource-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .page-hero,
  .donate-page-hero,
  .donation-widget-section,
  .auction-feature,
  .mission-band,
  .split,
  .forms-section,
  .contact,
  .donate-band,
  .launch-band,
  .brochure-panel,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-sidebar {
    position: static;
  }

  .steps-grid,
  .connection-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .donate-actions {
    margin-top: 0;
  }
}

@media (max-width: 820px) {
  .site-header {
    gap: 10px;
    min-height: 76px;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 1rem;
  }

  .brand img {
    height: 40px;
  }

  .nav-toggle {
    display: block;
  }

  .language-switcher {
    margin-left: auto;
  }

  .language-switcher span {
    display: none;
  }

  .language-switcher select {
    min-width: 104px;
    max-width: 118px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero {
    padding-top: 48px;
    background: #fff;
  }

  .hero-media img {
    aspect-ratio: 1.12;
  }

  .photo-stack {
    grid-template-columns: 1fr;
  }

  .photo-stack img,
  .photo-stack img:nth-child(2) {
    height: auto;
    transform: none;
  }

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

  .forms-section {
    background: #fff;
  }
}

@media (max-width: 580px) {
  .program-grid,
  .team-grid,
  .resource-list {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .donate-actions {
    width: 100%;
  }

  .impact-strip {
    position: static;
    margin-top: 12px;
  }

  .impact-strip span {
    color: var(--navy);
    background: var(--soft);
  }

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