:root {
  --orange: #ff7a13;
  --orange-dark: #e86605;
  --orange-soft: #fff1e5;
  --brown: #2f2118;
  --brown-2: #3b2a20;
  --text: #211915;
  --muted: #6c625c;
  --line: #eadfd5;
  --bg: #fffaf5;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(48, 31, 20, 0.12);
  --radius: 18px;
  --container: 1180px;
  --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

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

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 86px;
  padding: 0 clamp(24px, 5vw, 78px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(234, 223, 213, 0.75);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(30px, 3.3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--brown);
}

.brand-mark {
  width: 50px;
  height: 50px;
  stroke: var(--orange);
  stroke-width: 2.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-dot {
  color: var(--orange);
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: clamp(26px, 4vw, 58px);
  font-weight: 700;
  font-size: 15px;
}

.main-nav a {
  padding: 8px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--orange);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--brown);
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #ff891f, var(--orange));
  box-shadow: 0 18px 36px rgba(255, 122, 19, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #ff9432, var(--orange-dark));
}

.btn-outline {
  color: var(--text);
  border-color: var(--brown);
  background: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover,
.btn-outline:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.btn-paypal {
  color: #10264f;
  background: #ffc439;
  border-color: #f0b429;
}

.btn-paypal:hover,
.btn-paypal:focus-visible {
  background: #ffb703;
}

.btn-wide {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(360px, 49%) 1fr;
  min-height: 705px;
  overflow: hidden;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: clamp(56px, 8vw, 120px) clamp(32px, 7vw, 82px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: 0 -180px 0 auto;
  width: 320px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.96) 55%, rgba(255,255,255,0) 100%);
  filter: blur(2px);
  transform: translateX(48%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero h1 span {
  color: var(--orange);
}

.hero-text {
  max-width: 520px;
  margin: 30px 0 38px;
  font-size: clamp(18px, 2vw, 22px);
  color: #2f2925;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.hero-visual {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0.25) 26%, rgba(255,255,255,0) 48%),
    radial-gradient(circle at 52% 38%, rgba(255, 122, 19, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(116, 83, 48, 0.15), rgba(255, 239, 217, 0.25)),
    url("assets/hero-kind.jpg");
  background-size: cover;
  background-position: center;
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-card {
  padding: 58px clamp(22px, 4vw, 64px) 64px;
  text-align: center;
}

.intro-card + .intro-card {
  border-left: 1px solid var(--line);
}

.icon-circle,
.stat-icon,
.soft-icon,
.modal-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--orange);
}

.icon-circle {
  width: 84px;
  height: 84px;
  border: 1px solid #f1d7c2;
  background: #fffdfb;
}

.icon-circle svg,
.stat-icon svg,
.soft-icon svg,
.modal-icon svg {
  width: 52%;
  height: 52%;
  stroke: currentColor;
  stroke-width: 2.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intro-card h2,
.help-card h3 {
  margin: 22px 0 12px;
  font-size: 21px;
  line-height: 1.2;
}

.intro-card p,
.help-card p {
  margin: 0 auto;
  max-width: 320px;
  color: #2d2824;
  font-size: 17px;
}

.help-section,
.stats {
  padding: 58px 0;
  background: var(--bg);
}

.section-title {
  margin: 0 0 32px;
  text-align: center;
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

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

.help-card {
  min-height: 270px;
  padding: 44px 28px 38px;
  text-align: center;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(48, 31, 20, 0.04);
}

.help-card.featured-card {
  background: #fffdf9;
}

.soft-icon {
  width: 86px;
  height: 86px;
  background: #fff1e5;
}

.text-button {
  margin-top: 20px;
  padding: 0;
  border: 0;
  color: var(--orange);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--orange-dark);
  text-decoration: underline;
}

.donation-panel {
  padding: 18px 0 40px;
  background: var(--bg);
}

.donation-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: stretch;
  padding: 38px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(48, 31, 20, 0.05);
}

.donation-aside {
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.donation-aside h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.donation-aside p {
  margin: 0;
  color: #2d2824;
  font-size: 17px;
}

.large-mark {
  width: 118px;
  height: 118px;
  margin: auto auto 18px;
  stroke: var(--orange);
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-note {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted) !important;
  font-size: 13px !important;
  line-height: 1.25;
}

.security-note svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.payment-box {
  align-self: center;
}

.payment-box h3 {
  margin: 12px 0 20px;
  font-size: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.form-row label,
.custom-amount-wrap label {
  font-weight: 750;
  font-size: 14px;
}

.form-row input,
.custom-amount-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  outline: none;
}

.form-row input:focus,
.custom-amount-wrap input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 19, 0.12);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.amount-btn {
  min-height: 72px;
  border: 1px solid #d7cec7;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  color: #2f2925;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.amount-btn:hover,
.amount-btn:focus-visible,
.amount-btn.is-active {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 122, 19, 0.1);
  transform: translateY(-1px);
}

.amount-btn[data-amount="custom"] {
  font-size: 16px;
}

.custom-amount-wrap {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.pay-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.stats {
  padding-top: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  align-items: center;
}

.stat-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  width: 78px;
  height: 78px;
  border: 1px solid #f1d7c2;
  background: #fffdfb;
}

.stat-item strong {
  color: var(--orange);
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
}

.stat-item span {
  color: #2d2824;
  font-size: 17px;
}

.site-footer {
  background: radial-gradient(circle at 20% 10%, rgba(255, 122, 19, 0.12), transparent 28%), var(--brown);
  color: #f6eee8;
  padding: 48px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 56px;
  align-items: start;
}

.brand-footer {
  color: #f6eee8;
  font-size: 40px;
}

.site-footer h2 {
  margin: 0 0 16px;
  font-size: 17px;
}

.site-footer p {
  margin: 8px 0;
  color: rgba(246, 238, 232, 0.88);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(246, 238, 232, 0.5);
  border-radius: 999px;
  font-weight: 850;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(246, 238, 232, 0.18);
  color: rgba(246, 238, 232, 0.72);
  font-size: 13px;
}

.footer-bottom nav {
  display: flex;
  gap: 32px;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 16, 12, 0.66);
  backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(26px, 5vw, 44px);
  background: #fffdf9;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--brown);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

.modal-icon {
  width: 74px;
  height: 74px;
  background: var(--orange-soft);
  margin-bottom: 20px;
}

.modal-card h2 {
  margin: 0 50px 12px 0;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.modal-card p {
  color: var(--muted);
}

.bank-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.bank-list > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.bank-list dt {
  color: var(--muted);
  font-weight: 800;
}

.bank-list dd {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.bank-list button {
  flex: 0 0 auto;
  align-self: start;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--orange-dark);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.copy-feedback {
  min-height: 24px;
  margin: 0 0 16px !important;
  color: var(--orange-dark) !important;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: auto auto;
    gap: 16px;
    min-height: 78px;
  }

  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }

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

  .main-nav a {
    padding: 16px;
    border-radius: 10px;
  }

  .main-nav a:hover,
  .main-nav a:focus-visible {
    background: var(--orange-soft);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    padding: 64px clamp(24px, 7vw, 70px) 44px;
  }

  .hero-copy::after {
    display: none;
  }

  .hero-visual {
    min-height: 440px;
    order: -1;
    background-position: center top;
  }

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

  .donation-aside {
    min-height: auto;
  }

  .large-mark {
    margin: 24px 0 18px;
  }

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

  .pay-actions {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    padding: 0 16px;
  }

  .brand {
    font-size: 32px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-copy {
    padding: 46px 24px 40px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 54px);
  }

  .hero-text {
    font-size: 18px;
  }

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

  .intro-cards,
  .help-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .intro-card + .intro-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .help-grid {
    gap: 20px;
  }

  .donation-layout {
    padding: 24px;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .amount-btn {
    min-height: 64px;
  }

  .stat-item {
    grid-template-columns: auto 1fr;
  }

  .stat-item strong {
    grid-column: 2;
  }

  .stat-item span {
    grid-column: 2;
  }

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

  .bank-list > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .bank-list dd {
    flex-direction: column;
  }

  .bank-list button {
    width: fit-content;
  }
}

@media (max-width: 420px) {
  .btn {
    min-height: 54px;
    padding-inline: 18px;
  }

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

  .modal {
    padding: 12px;
  }
}
