:root {
  --cream: #fff7e8;
  --cream-2: #fffdf7;
  --ink: #1d241f;
  --muted: #667068;
  --green: #295f4e;
  --green-dark: #173a30;
  --orange: #f27d3f;
  --orange-dark: #da5d24;
  --yellow: #ffd166;
  --rose: #fff0e8;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(32, 38, 34, 0.14);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 209, 102, 0.3), transparent 34rem),
    linear-gradient(180deg, var(--cream), var(--cream-2) 48%, #f7fbf4);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(rgba(41, 95, 78, 0.08) 1px, transparent 1px),
    radial-gradient(rgba(242, 125, 63, 0.08) 1px, transparent 1px);
  background-position: 0 0, 18px 18px;
  background-size: 36px 36px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.section,
.nav,
.footer {
  width: min(var(--max-width), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(41, 95, 78, 0.12);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.86);
  box-shadow: 0 12px 40px rgba(41, 95, 78, 0.08);
}

.brand,
.nav-links,
.trust-strip,
.hero-actions,
.progress-top,
.footer div:last-child,
.donation-card-header {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--green), var(--orange));
  box-shadow: 0 12px 24px rgba(242, 125, 63, 0.24);
}

.nav-links {
  gap: 26px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--green);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  padding: 0 22px;
  color: var(--white);
  background: var(--green);
}

.button {
  padding: 0 26px;
}

.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 18px 36px rgba(242, 125, 63, 0.28);
}

.secondary {
  color: var(--green);
  background: rgba(41, 95, 78, 0.08);
}

.button:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.primary:hover {
  box-shadow: 0 22px 44px rgba(242, 125, 63, 0.36);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: 56px 0 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 800px;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 8vw, 7.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 5vw, 5rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.hero-lede,
.intro p,
.story-copy p,
.donation-copy p,
.final-cta p,
.footer p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-lede {
  max-width: 690px;
  margin-bottom: 32px;
  font-size: 1.2rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.trust-strip {
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip span {
  padding: 10px 14px;
  border: 1px solid rgba(41, 95, 78, 0.12);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-card {
  position: relative;
}

.image-frame {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  border: 12px solid var(--white);
  border-radius: 46px;
  background: var(--rose);
  box-shadow: var(--shadow);
}

.image-frame::after {
  position: absolute;
  inset: auto 22px 22px;
  height: 44%;
  border-radius: 30px;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(23, 58, 48, 0.78));
}

.image-frame img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  right: -18px;
  bottom: 110px;
  z-index: 2;
  width: 172px;
  padding: 22px;
  border: 8px solid var(--cream);
  border-radius: 28px;
  color: var(--white);
  background: var(--green);
  box-shadow: var(--shadow);
}

.floating-badge strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 3.2rem;
  line-height: 1;
}

.floating-badge span {
  font-size: 0.9rem;
  font-weight: 800;
}

.progress-card {
  position: absolute;
  right: 28px;
  bottom: -26px;
  left: 28px;
  z-index: 3;
  padding: 22px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.progress-top {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 12px;
  border-radius: 999px;
  background: #e9eee6;
}

.progress-track span {
  display: block;
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
}

.progress-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.intro {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: end;
  padding: 90px 0 42px;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(2, 1fr);
  gap: 22px;
  padding: 36px 0 90px;
}

.impact-card {
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(41, 95, 78, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(41, 95, 78, 0.08);
}

.impact-card.large {
  grid-row: span 2;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(23, 58, 48, 0.66), rgba(23, 58, 48, 0.92)),
    url("https://images.unsplash.com/photo-1548199973-03cce0bbc87b?auto=format&fit=crop&w=900&q=80") center/cover;
}

.impact-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 52px;
  margin-bottom: 36px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--green);
  background: var(--yellow);
  font-weight: 900;
}

.impact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.impact-card.large p {
  color: rgba(255, 255, 255, 0.84);
}

.story {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 80px 0;
}

.story-image {
  overflow: hidden;
  border: 12px solid var(--white);
  border-radius: 42px;
  box-shadow: var(--shadow);
  transform: rotate(-2deg);
}

.story-image img {
  width: 100%;
  height: 540px;
  object-fit: cover;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 34px;
}

.section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.transformations {
  padding: 72px 0 92px;
}

.transformation-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}

.transformation-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 10px solid var(--white);
  border-radius: 32px;
  background: var(--green-dark);
  box-shadow: 0 18px 48px rgba(41, 95, 78, 0.1);
}

.transformation-card.featured {
  grid-row: span 2;
  min-height: 740px;
}

.transformation-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.02);
  transition: transform 500ms ease;
}

.transformation-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(23, 58, 48, 0.92));
}

.transformation-card:hover img {
  transform: scale(1.05);
}

.transformation-card div {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 2;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  color: var(--white);
  background: rgba(23, 58, 48, 0.58);
  backdrop-filter: blur(12px);
}

.transformation-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--yellow);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.transformation-card h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.transformation-card.featured h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

.gallery-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(41, 95, 78, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(41, 95, 78, 0.08);
}

.gallery-cta p {
  max-width: 620px;
  margin: 0;
  color: var(--green-dark);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.5;
}

blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  border-left: 6px solid var(--orange);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--green-dark);
  background: var(--rose);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.rescue-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--green-dark);
  box-shadow: var(--shadow);
}

.rescue-stats div {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

.rescue-stats strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 1;
}

.rescue-stats span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
  line-height: 1.5;
}

.donation-section {
  display: grid;
  grid-template-columns: 1fr minmax(460px, 560px);
  gap: 50px;
  align-items: center;
  padding: 110px 0 90px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--green-dark);
  font-weight: 800;
  line-height: 1.6;
}

.check-list li::before {
  position: absolute;
  top: 2px;
  left: 0;
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  content: "";
  background: var(--green);
}

.check-list li::after {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 7px;
  height: 11px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.donation-card {
  padding: 30px;
  border: 1px solid rgba(41, 95, 78, 0.12);
  border-radius: 34px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.donation-card-header {
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.donation-card-header span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--orange-dark);
  background: var(--rose);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.donation-card label {
  display: block;
  margin-bottom: 14px;
  color: var(--green-dark);
  font-weight: 900;
}

.help-heading-image {
  width: min(100%, 360px);
  margin: 0 auto 22px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.amount-grid button {
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding: 0;
  border: 3px solid transparent;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 12px 28px rgba(23, 58, 48, 0.12);
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.amount-grid button::after {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  content: "";
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms ease;
}

.amount-grid button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amount-grid button.selected,
.amount-grid button:hover {
  border-color: var(--orange);
  box-shadow: 0 18px 34px rgba(242, 125, 63, 0.3);
  filter: saturate(1.08);
  transform: translateY(-3px);
}

.amount-grid button.selected::after,
.amount-grid button:hover::after {
  opacity: 1;
}

.amount-grid button.wide {
  grid-column: 1 / -1;
}

.donation-quote {
  margin: 4px 0 16px;
  padding: 16px 18px;
  border-left: 5px solid var(--orange);
  border-radius: 0 18px 18px 0;
  color: var(--green-dark);
  background: var(--rose);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.25;
}

.donation-card input {
  width: 100%;
  height: 56px;
  margin-bottom: 16px;
  padding: 0 18px;
  border: 1px solid #dfe8dd;
  border-radius: 16px;
  color: var(--green-dark);
  font: inherit;
  font-weight: 900;
}

.full {
  width: 100%;
}

.small-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.final-cta {
  overflow: hidden;
  position: relative;
  margin-bottom: 88px;
  padding: 76px 32px;
  border-radius: 42px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 58, 48, 0.95), rgba(41, 95, 78, 0.76)),
    url("https://images.unsplash.com/photo-1450778869180-41d0601e046e?auto=format&fit=crop&w=1400&q=80") center/cover;
  text-align: center;
  box-shadow: var(--shadow);
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta h2 {
  max-width: 820px;
  margin-inline: auto;
}

.final-cta p {
  max-width: 620px;
  margin-inline: auto;
}

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 40px;
  padding: 42px 0 54px;
  border-top: 1px solid rgba(41, 95, 78, 0.12);
}

.footer h3 {
  margin-bottom: 16px;
}

.footer p {
  margin-bottom: 8px;
  font-size: 0.98rem;
}

.footer div:last-child {
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
  font-weight: 800;
}

.footer-brand {
  margin-bottom: 16px;
}

.checkout-page {
  min-height: 100vh;
  padding: 34px 20px 70px;
}

.checkout-shell {
  width: min(1240px, 100%);
  margin: 0 auto;
}

.checkout-hero,
.checkout-panel,
.order-card,
.checkout-proof article,
.checkout-faq {
  border: 1px solid rgba(41, 95, 78, 0.12);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.checkout-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  padding: clamp(28px, 6vw, 58px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(23, 58, 48, 0.96), rgba(23, 58, 48, 0.74)),
    url("https://loveforlifemission.org/wp-content/uploads/2026/03/zfJdF.webp") center/cover;
}

.checkout-brand {
  width: fit-content;
  margin-bottom: 28px;
  color: var(--white);
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.checkout-steps span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-steps .active {
  color: var(--green-dark);
  background: var(--yellow);
}

.checkout-hero .eyebrow,
.checkout-hero p {
  color: rgba(255, 255, 255, 0.84);
}

.checkout-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

.checkout-hero p:last-child {
  max-width: 700px;
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.75;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 26px;
  align-items: start;
  margin-top: 26px;
}

.checkout-form {
  display: grid;
  gap: 22px;
}

.checkout-panel {
  padding: clamp(22px, 4vw, 34px);
}

.checkout-panel h2,
.order-card h2,
.checkout-faq h2 {
  margin-bottom: 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.checkout-panel p,
.order-card p,
.checkout-faq p {
  color: var(--muted);
  line-height: 1.7;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.checkout-panel label {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--green-dark);
  font-size: 0.92rem;
  font-weight: 900;
}

.checkout-panel input,
.checkout-panel select {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid #dfe8dd;
  border-radius: 16px;
  color: var(--green-dark);
  background: #fbfdf8;
  font: inherit;
  font-weight: 700;
}

.checkout-panel select:disabled {
  color: #94a098;
  background: #eef3eb;
  cursor: not-allowed;
}

.address-note {
  margin: 18px 0 0;
  font-size: 0.92rem;
}

.special-offer {
  display: grid;
  gap: 18px;
  border-color: rgba(242, 125, 63, 0.25);
  background: linear-gradient(135deg, var(--white), var(--rose));
}

.offer-tag {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: var(--orange);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-toggle,
.terms-row {
  display: flex !important;
  align-items: center;
  grid-template-columns: none;
  gap: 12px !important;
}

.offer-toggle {
  justify-content: space-between;
  padding: 16px;
  border-radius: 20px;
  background: var(--white);
}

.offer-toggle input,
.terms-row input {
  width: 20px;
  min-height: 20px;
  accent-color: var(--orange);
}

.offer-toggle span {
  flex: 1;
}

.order-card {
  position: sticky;
  top: 104px;
  padding: 26px;
}

.rescue-mini-card {
  overflow: hidden;
  margin: 20px 0;
  border-radius: 24px;
  background: var(--rose);
}

.rescue-mini-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.rescue-mini-card p {
  margin: 0;
  padding: 18px;
  color: var(--green-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
}

.order-lines {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.order-lines div,
.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-lines div {
  padding-bottom: 12px;
  border-bottom: 1px solid #e7eee4;
  color: var(--muted);
  font-weight: 800;
}

.order-lines strong {
  color: var(--green-dark);
}

.checkout-total {
  margin-bottom: 18px;
  padding: 20px;
  border-radius: 22px;
  color: var(--white);
  background: var(--green-dark);
}

.checkout-total span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 900;
}

.checkout-total strong {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.8rem;
  line-height: 1;
}

.order-card .secondary {
  margin-top: 12px;
}

.checkout-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.checkout-proof article {
  padding: 26px;
}

.checkout-proof p {
  color: var(--green-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
}

.checkout-proof strong,
.checkout-proof span {
  display: block;
}

.checkout-proof strong {
  margin-top: 18px;
  color: var(--green-dark);
}

.checkout-proof span {
  margin-top: 4px;
  color: var(--muted);
  font-weight: 800;
}

.checkout-faq {
  margin-top: 26px;
  padding: clamp(24px, 4vw, 38px);
}

.checkout-faq details {
  padding: 18px 0;
  border-top: 1px solid #e7eee4;
}

.checkout-faq summary {
  color: var(--green-dark);
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
}

.checkout-faq p {
  margin: 12px 0 0;
}

.card-element-container {
  margin-bottom: 2px;
}

#card-element {
  padding: 14px 16px;
  border: 1px solid #dfe8dd;
  border-radius: 16px;
  background: #fbfdf8;
  min-height: 54px;
}

.StripeElement {
  width: 100%;
}

#card-errors {
  margin-top: 10px;
  color: var(--orange-dark);
  font-size: 0.9rem;
  font-weight: 800;
  min-height: 22px;
}

.mt {
  margin-top: 14px;
}

.success-panel {
  text-align: center;
}

.success-panel h2 {
  margin-bottom: 16px;
}

.success-panel p {
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.success-panel .button {
  display: inline-flex;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero,
  .intro,
  .story,
  .donation-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-top: 40px;
  }

  .impact-grid,
  .rescue-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .transformation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .transformation-card.featured {
    grid-column: span 2;
    grid-row: auto;
    min-height: 520px;
  }

  .gallery-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-cta .button {
    width: auto;
  }

  .impact-card.large {
    grid-column: span 2;
    grid-row: auto;
  }

  .donation-section {
    padding-top: 80px;
  }

  .checkout-layout,
  .checkout-proof {
    grid-template-columns: 1fr;
  }

  .order-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .section,
  .nav,
  .footer {
    width: min(100% - 28px, var(--max-width));
  }

  .site-header {
    padding: 10px 0;
  }

  .nav {
    border-radius: 24px;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .button {
    width: 100%;
  }

  .image-frame,
  .image-frame img {
    min-height: 460px;
    height: 460px;
  }

  .floating-badge {
    right: 14px;
    bottom: 92px;
  }

  .impact-grid,
  .rescue-stats,
  .transformation-grid,
  .amount-grid {
    grid-template-columns: 1fr;
  }

  .transformation-card,
  .transformation-card.featured {
    grid-column: auto;
    min-height: 420px;
  }

  .impact-card.large {
    grid-column: auto;
  }

  .story-image img {
    height: 420px;
  }

  .donation-card,
  .final-cta {
    padding: 24px;
  }

  .checkout-page {
    padding: 14px 14px 44px;
  }

  .checkout-hero,
  .checkout-panel,
  .order-card,
  .checkout-proof article,
  .checkout-faq {
    border-radius: 24px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-steps span {
    width: 100%;
    text-align: center;
  }
}
