:root {
  color-scheme: light;
  --color-canvas: #fbf8f2;
  --color-surface: #ffffff;
  --color-surface-warm: #f4ede2;
  --color-ink: #25221f;
  --color-muted: #665f58;
  --color-line: #ded5ca;
  --color-red: #9d2438;
  --color-red-dark: #761727;
  --color-yellow: #f3d833;
  --color-blue: #30338f;
  --color-blue-dark: #25286f;
  --color-success: #256345;
  --shadow-sm: 0 8px 30px rgba(67, 45, 34, 0.08);
  --shadow-lg: 0 24px 70px rgba(67, 45, 34, 0.14);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --content: 72rem;
  --narrow: 48rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--color-canvas);
  color: var(--color-ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(243, 216, 51, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 30%, rgba(157, 36, 56, 0.08), transparent 26rem);
  content: "";
  pointer-events: none;
}

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

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--color-blue-dark);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  text-decoration-thickness: 0.14em;
}

:focus-visible {
  border-radius: 0.2rem;
  outline: 3px solid var(--color-blue);
  outline-offset: 4px;
}

::selection {
  background: var(--color-yellow);
  color: var(--color-ink);
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  max-width: 15ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 11vw, 5.8rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2rem, 7vw, 3.8rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.35rem, 4vw, 1.8rem);
}

p {
  margin-bottom: 1.15rem;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.8rem 1rem;
  border-radius: 0.5rem;
  background: var(--color-blue-dark);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-ribbon {
  padding: 0.45rem 1rem;
  background: var(--color-blue-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 3px solid var(--color-yellow);
  background: rgba(239, 241, 248, 0.96);
  backdrop-filter: blur(12px);
}

.header-inner,
.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  min-height: 4.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-ink);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.brand img {
  width: 7.5rem;
  height: auto;
}

.brand-text {
  display: none;
  max-width: 9rem;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.6rem;
}

.header-nav a:not(.button) {
  color: var(--color-ink);
  font-size: 0.92rem;
  font-weight: 750;
  text-decoration: none;
}

.header-nav a:not(.button):hover {
  color: var(--color-red);
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--color-red);
  color: #fff;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(157, 36, 56, 0.2);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  background: var(--color-red-dark);
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(118, 23, 39, 0.25);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.button-secondary {
  border-color: var(--color-ink);
  background: transparent;
  color: var(--color-ink);
  box-shadow: none;
}

.button-secondary:hover {
  background: var(--color-ink);
  color: #fff;
  box-shadow: none;
}

.button-paypal {
  background: #173f81;
  box-shadow: 0 8px 20px rgba(23, 63, 129, 0.2);
}

.button-paypal:hover {
  background: #102e61;
  box-shadow: 0 12px 25px rgba(16, 46, 97, 0.24);
}

.button-whatsapp {
  background: #176b45;
  box-shadow: 0 8px 20px rgba(23, 107, 69, 0.2);
}

.button-whatsapp:hover {
  background: #105237;
  box-shadow: 0 12px 25px rgba(16, 82, 55, 0.24);
}

.button-facebook {
  background: #315ca8;
  box-shadow: 0 8px 20px rgba(49, 92, 168, 0.22);
}

.button-facebook:hover {
  background: #244987;
  box-shadow: 0 12px 25px rgba(36, 73, 135, 0.26);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  color: var(--color-red-dark);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--color-yellow);
  content: "";
}

.hero {
  overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7.5rem) 0 clamp(4rem, 10vw, 8rem);
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: 2.75rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-lead {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: clamp(1.08rem, 2.7vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 2rem 0;
}

.microcopy {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.microcopy::before {
  flex: 0 0 auto;
  width: 0.72rem;
  height: 0.72rem;
  margin-top: 0.35rem;
  border: 2px solid var(--color-success);
  border-radius: 50%;
  content: "";
}

.hero-art {
  position: relative;
  width: min(100%, 33rem);
  margin-inline: auto;
}

.hero-art::before {
  position: absolute;
  z-index: -1;
  inset: 7% -4% 3%;
  border-radius: 46% 54% 58% 42% / 42% 40% 60% 58%;
  background: var(--color-yellow);
  content: "";
  transform: rotate(-4deg);
}

.hero-art::after {
  position: absolute;
  z-index: -2;
  width: 6.5rem;
  height: 6.5rem;
  right: -1rem;
  bottom: 2rem;
  border-radius: 50%;
  background: var(--color-red);
  content: "";
}

.hero-art img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 25px 30px rgba(67, 45, 34, 0.16));
}

.goal-card {
  position: absolute;
  right: 0;
  bottom: -2rem;
  width: min(14rem, 50vw);
  padding: 1.35rem 1.45rem;
  border: 4px solid var(--color-yellow);
  border-radius: 1.35rem;
  background: var(--color-blue-dark);
  color: #fff;
  box-shadow: 0 22px 55px rgba(37, 40, 111, 0.32);
  transform: rotate(2.5deg);
}

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

.goal-card span {
  color: #fff3a0;
  font-size: 0.85rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.goal-card strong {
  margin: 0.2rem 0 0.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 7vw, 3rem);
  line-height: 1;
}

.goal-card small {
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.section {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}

.section-tight {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-warm {
  background: var(--color-surface-warm);
}

.section-donation {
  background:
    radial-gradient(circle at 88% 18%, rgba(243, 216, 51, 0.28), transparent 18rem),
    linear-gradient(135deg, #f6e5dc 0%, #efd8d7 100%);
  color: var(--color-ink);
}

.section-donation .eyebrow {
  color: var(--color-red-dark);
}

.section-donation .section-intro,
.section-donation .muted {
  color: #5e5550;
}

.section-intro {
  max-width: 42rem;
  color: var(--color-muted);
  font-size: clamp(1.05rem, 2.6vw, 1.25rem);
}

.narrow {
  width: min(calc(100% - 2rem), var(--narrow));
  margin-inline: auto;
}

.story-grid,
.donation-grid,
.trust-grid,
.legal-grid {
  display: grid;
  gap: 2rem;
}

.story-copy p,
.long-copy p {
  font-size: clamp(1.02rem, 2.2vw, 1.14rem);
}

.statement {
  position: relative;
  margin: 2.5rem 0 0;
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--color-blue-dark);
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
}

.statement::after {
  position: absolute;
  width: 1.4rem;
  height: 1.4rem;
  right: 2rem;
  bottom: -0.65rem;
  background: var(--color-blue-dark);
  content: "";
  transform: rotate(45deg);
}

.stats {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.stat {
  padding: 1.4rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.stat strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--color-red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1;
}

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

.benefit-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
}

.benefit-card {
  padding: 1.6rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.benefit-number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1.2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-ink);
  font-weight: 900;
}

.benefit-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.donation-panel {
  padding: clamp(1.4rem, 5vw, 2.5rem);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: var(--shadow-lg);
}

.amount-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.amount {
  display: flex;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-line);
  border-radius: 0.9rem;
  background: #fff;
  color: var(--color-ink);
  font-size: 1.12rem;
  font-weight: 850;
  text-decoration: none;
}

.amount:hover {
  border-color: var(--color-red);
  background: #fff8f8;
  color: var(--color-red-dark);
  text-decoration: none;
}

.amount-wide {
  grid-column: 1 / -1;
}

.donation-panel .button {
  width: 100%;
}

.payment-note {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.82rem;
  text-align: center;
}

.bank-card {
  margin-top: 1.1rem;
  padding: 1.3rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-canvas);
}

.bank-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1rem;
  margin: 0 0 1rem;
}

.bank-card dt {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.bank-card dd {
  min-width: 0;
  margin: 0;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.copy-status {
  min-height: 1.5rem;
  margin: 0.5rem 0 0;
  color: var(--color-success);
  font-size: 0.86rem;
  font-weight: 750;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.4rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.trust-card img {
  width: 6rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex: 0 0 auto;
}

.trust-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}

.share-panel {
  display: grid;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 5vw, 2.75rem);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-yellow);
}

.share-panel h2,
.share-panel p {
  margin-bottom: 0;
}

.share-actions {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.share-actions .button {
  width: 100%;
  flex: 0 0 auto;
}

.share-status {
  min-height: 1.4rem;
  margin: 0.5rem 0 0;
  font-size: 0.86rem;
  font-weight: 750;
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 4px solid var(--color-yellow);
  background: #eff1f8;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-brand img {
  width: 8.5rem;
  height: auto;
  margin-bottom: 1rem;
}

.footer-brand p {
  max-width: 28rem;
  color: var(--color-muted);
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--color-ink);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 0.82rem;
}

.subpage-main {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.subpage-header {
  max-width: 47rem;
  margin-bottom: 3rem;
}

.subpage-header h1 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 9vw, 4.8rem);
}

.demo-notice {
  margin: 0 0 2.5rem;
  padding: 1rem 1.2rem;
  border-left: 0.35rem solid var(--color-yellow);
  background: #fffbea;
  color: var(--color-ink);
}

.prose {
  max-width: 48rem;
}

.prose h2 {
  margin-top: 2.8rem;
  font-size: clamp(1.65rem, 5vw, 2.35rem);
}

.prose h3 {
  margin-top: 2rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.2rem;
}

.prose address {
  font-style: normal;
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.5rem;
}

.paypal-page {
  min-height: 100vh;
  background: #f5f7fa;
  color: #162742;
}

.paypal-demo-bar {
  padding: 0.7rem 1rem;
  background: #8d1d31;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 850;
  text-align: center;
}

.paypal-shell {
  width: min(calc(100% - 2rem), 34rem);
  margin-inline: auto;
  padding: 2rem 0 4rem;
}

.paypal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.paypal-wordmark {
  color: #173f81;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.paypal-back {
  font-size: 0.9rem;
  font-weight: 750;
}

.paypal-card {
  overflow: hidden;
  border: 1px solid #d8dee8;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 15px 45px rgba(16, 46, 97, 0.1);
}

.paypal-summary {
  padding: 1.5rem;
  border-bottom: 1px solid #e3e8ef;
  background: #f8fafc;
  text-align: center;
}

.paypal-summary img {
  width: 6.2rem;
  margin: 0 auto 1rem;
}

.paypal-summary p {
  margin-bottom: 0.25rem;
  color: #52627a;
  font-size: 0.9rem;
}

.paypal-summary h1 {
  max-width: none;
  margin-bottom: 0.5rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.paypal-amount-display {
  margin-top: 1rem;
  color: #162742;
  font-size: 2.2rem;
  font-weight: 850;
}

.paypal-form {
  padding: 1.5rem;
}

.paypal-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.paypal-form legend {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 850;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.amount-radio {
  position: relative;
}

.amount-radio input {
  position: absolute;
  opacity: 0;
}

.amount-radio label {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: center;
  border: 2px solid #cbd4e1;
  border-radius: 0.65rem;
  color: #173f81;
  font-weight: 850;
  cursor: pointer;
}

.amount-radio input:checked + label {
  border-color: #173f81;
  background: #edf4ff;
  box-shadow: inset 0 0 0 1px #173f81;
}

.amount-radio input:focus-visible + label {
  outline: 3px solid #173f81;
  outline-offset: 3px;
}

.custom-amount-wrap {
  margin-top: 1rem;
}

.custom-amount-wrap label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 750;
}

.input-prefix {
  display: flex;
  align-items: center;
  border: 2px solid #cbd4e1;
  border-radius: 0.65rem;
  background: #fff;
}

.input-prefix:focus-within {
  border-color: #173f81;
  box-shadow: 0 0 0 3px rgba(23, 63, 129, 0.16);
}

.input-prefix span {
  padding-left: 0.9rem;
  font-weight: 850;
}

.input-prefix input {
  min-width: 0;
  width: 100%;
  min-height: 3.35rem;
  padding: 0.7rem;
  border: 0;
  outline: 0;
  background: transparent;
}

.paypal-submit {
  width: 100%;
  min-height: 3.45rem;
  margin-top: 1.25rem;
  border: 0;
  border-radius: 999px;
  background: #0b68c9;
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.paypal-submit:hover {
  background: #0757aa;
}

.form-error {
  margin: 0.6rem 0 0;
  color: #a1122c;
  font-size: 0.88rem;
  font-weight: 750;
}

.paypal-security {
  margin: 1rem 0 0;
  color: #52627a;
  font-size: 0.78rem;
  text-align: center;
}

.paypal-result {
  margin-top: 1rem;
  padding: 1.25rem;
  border: 2px solid #3d8864;
  border-radius: 0.8rem;
  background: #effaf4;
  color: #1f573d;
}

.paypal-result h2 {
  margin-bottom: 0.5rem;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.25rem;
}

.paypal-result p {
  margin-bottom: 0;
}

.hidden {
  display: none !important;
}

@media (min-width: 38rem) {
  .brand-text {
    display: block;
  }

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

  .amount-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .amount-wide {
    grid-column: 1 / -1;
  }

  .share-panel {
    grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
    gap: clamp(2rem, 5vw, 4.5rem);
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
  }
}

@media (min-width: 52rem) {
  .header-nav {
    display: flex;
  }

  .header-mobile-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
    gap: clamp(2rem, 6vw, 6rem);
  }

  .story-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 5rem;
  }

  .donation-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.7fr);
    gap: clamp(3rem, 8vw, 7rem);
  }

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

@media (max-width: 25rem) {
  .header-inner,
  .container,
  .narrow,
  .paypal-shell {
    width: min(calc(100% - 1.25rem), var(--content));
  }

  .brand img {
    width: 6.4rem;
  }

  .button-small {
    padding-inline: 0.8rem;
    font-size: 0.8rem;
  }

  .trust-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .demo-ribbon,
  .site-header,
  .hero-actions,
  .share-panel,
  .button,
  .site-footer {
    display: none !important;
  }

  body,
  .section-donation {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 2rem 0;
  }
}
