:root {
  --primary: #913028;
  --primary-dark: #6b241e;
  --primary-soft: #fff1f3;
  --ink: #172126;
  --muted: #657178;
  --line: #e5e9eb;
  --surface: #ffffff;
  --surface-2: #f5f7f7;
  --success: #18794e;
  --shadow: 0 22px 70px rgba(34, 25, 28, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fbfcfc;
  font-family: "DM Sans", "Cairo", sans-serif;
  line-height: 1.6;
}

html[lang="ar"] body,
html[dir="rtl"] body {
  font-family: "Cairo", "DM Sans", sans-serif;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] .brand,
html[lang="ar"] .btn,
html[lang="ar"] .impact-number {
  font-family: "Cairo", "Manrope", sans-serif;
}

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

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

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

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 22px;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: currentColor;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.12;
}

p {
  margin-top: 0;
}

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

.section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  width: 100%;
  padding: 14px 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(24, 33, 38, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 200ms ease, padding 200ms ease;
}

.site-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(24, 33, 38, 0.08);
}

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

.nav-end {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}

.lang-btn {
  min-width: 40px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.82rem;
}

.lang-btn.active {
  color: white;
  background: var(--primary);
  box-shadow: 0 6px 14px rgba(145, 48, 40, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

html[lang="en"] .brand-text,
html[lang="en"] .brand-mark--ar,
html[lang="en"] .brand-text--ar,
body.is-en .brand-text,
body.is-en .brand-mark--ar,
body.is-en .brand-text--ar {
  display: none !important;
}

.brand-text[hidden],
.brand-mark--ar[hidden],
.brand-text--ar[hidden] {
  display: none !important;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--primary-soft);
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-logo-ar,
.brand-logo-en {
  height: 52px;
  width: auto;
  max-width: min(280px, 58vw);
  object-fit: contain;
  object-position: center;
}

/* Arabic source is taller — use larger height so text matches EN visual weight */
.brand-logo-ar {
  height: 68px;
  max-width: min(340px, 68vw);
}

.brand-logo-en {
  height: 52px;
  max-width: min(300px, 58vw);
}

.brand-logo-ar--footer,
.brand-logo-en--footer {
  height: 48px;
  max-width: min(260px, 75vw);
}

.brand-logo-ar--footer {
  height: 62px;
  max-width: min(320px, 80vw);
}

/* Default (Arabic): show AR logo only */
.brand-logo-ar { display: block; }
.brand-logo-en { display: none; }

html[lang="en"] .brand-logo-ar,
body.is-en .brand-logo-ar,
.brand.is-en .brand-logo-ar {
  display: none !important;
}

html[lang="en"] .brand-logo-en,
body.is-en .brand-logo-en,
.brand.is-en .brand-logo-en {
  display: block !important;
}

html[lang="ar"] .brand-logo-en,
body.is-ar .brand-logo-en,
.brand.is-ar .brand-logo-en {
  display: none !important;
}

html[lang="ar"] .brand-logo-ar,
body.is-ar .brand-logo-ar,
.brand.is-ar .brand-logo-ar {
  display: block !important;
}

@media (max-width: 720px) {
  .brand-logo-ar {
    height: 52px;
    max-width: min(260px, 70vw);
  }
  .brand-logo-en {
    height: 40px;
    max-width: min(210px, 62vw);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: white !important;
  background: var(--primary);
  box-shadow: 0 10px 24px rgba(145, 48, 40, 0.22);
}

.nav-cta:hover {
  color: white !important;
  background: #a83830;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.slides {
  position: relative;
}

.slide {
  position: relative;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
  background: #ffffff;
}

.slide.active {
  display: block;
  opacity: 1;
  visibility: visible;
}

.slide-banner {
  position: relative;
  padding: 0;
}

.slide-banner::before,
.slide-banner::after {
  display: none;
}

.slide-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.banner-cta {
  position: absolute;
  z-index: 3;
  top: auto;
  right: 3.5%;
  bottom: 11%;
  left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: min(40%, 440px);
  justify-content: flex-end;
  direction: rtl;
}

.banner-cta .btn {
  min-height: 46px;
  padding: 12px 18px;
  box-shadow: 0 10px 28px rgba(24, 33, 38, 0.16);
}

.banner-cta .btn-light {
  color: var(--ink);
  border: 1px solid rgba(145, 48, 40, 0.28);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.banner-cta .btn-light:hover {
  background: white;
  border-color: var(--primary);
  color: var(--primary);
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.btn-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 14px 36px rgba(145, 48, 40, 0.35);
}

.btn-primary:hover {
  background: #a83830;
}

.slider-controls {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.slider-button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.slider-dots {
  position: absolute;
  z-index: 4;
  bottom: 54px;
  left: max(24px, calc((100vw - var(--container)) / 2));
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: width 200ms ease, border-radius 200ms ease, background 200ms ease;
}

.slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: white;
}

/* Impact strip */
.impact-strip {
  position: relative;
  z-index: 5;
  margin-top: -1px;
  color: white;
  background: var(--primary);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  position: relative;
  padding: 25px 24px;
  text-align: center;
}

.impact-item:not(:last-child)::after {
  position: absolute;
  top: 28%;
  right: 0;
  width: 1px;
  height: 44%;
  content: "";
  background: rgba(255, 255, 255, 0.24);
}

.impact-number {
  display: block;
  margin-bottom: 2px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
}

.impact-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

/* Story */
.story {
  padding: 112px 0 78px;
}

.story-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 78px;
}

.story-visual {
  position: relative;
  min-height: 550px;
}

.story-image {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.story-image.main {
  inset: 0 62px 48px 0;
}

.story-image.secondary {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 43%;
  border: 8px solid #fbfcfc;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
  letter-spacing: -0.06em;
}

.story-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
}

.story-points {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.story-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: white;
}

.check {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--primary);
  font-size: 0.82rem;
  font-weight: 900;
}

.story-point strong {
  display: block;
  margin-bottom: 2px;
  font-family: "Manrope", sans-serif;
}

.story-point span {
  color: var(--muted);
  font-size: 0.91rem;
}

/* Donation */
.donation-section {
  position: relative;
  padding: 98px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(145, 48, 40, 0.08), transparent 28%),
    radial-gradient(circle at 94% 94%, rgba(145, 48, 40, 0.07), transparent 25%),
    var(--surface-2);
}

.donation-section::before {
  position: absolute;
  top: -140px;
  right: -140px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(145, 48, 40, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(145, 48, 40, 0.025),
    0 0 0 110px rgba(145, 48, 40, 0.018);
}

.donation-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 34px;
  align-items: start;
}

.donation-intro {
  position: sticky;
  top: 24px;
  padding: 36px;
  border-radius: var(--radius-lg);
  color: white;
  background:
    linear-gradient(145deg, rgba(107, 36, 30, 0.9), rgba(145, 48, 40, 0.94)),
    url("/attendance-concept/assets/donation-panel.jpg") center/cover;
  box-shadow: var(--shadow);
}

.donation-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  letter-spacing: -0.06em;
}

.donation-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.campaign-progress {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.progress-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.progress-row strong {
  font-family: "Manrope", sans-serif;
}

.progress-track {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
}

.progress-bar {
  width: 68%;
  height: 100%;
  border-radius: inherit;
  background: white;
  transition: width 400ms ease;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.8rem;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
}

.donation-card {
  padding: 38px;
  border: 1px solid rgba(24, 33, 38, 0.06);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: var(--shadow);
}

.form-section + .form-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.form-section h3 {
  margin-bottom: 18px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.donation-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 14px;
  background: var(--surface-2);
}

.type-option,
.amount-option,
.payment-option {
  position: relative;
}

.type-option input,
.payment-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.amount-btn {
  display: block;
  width: 100%;
  padding: 15px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: white;
  cursor: pointer;
  text-align: center;
  font-family: "Manrope", "Cairo", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  transition: border 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.amount-btn:hover {
  transform: translateY(-2px);
}

.amount-btn.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

.type-option label {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  font-weight: 800;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.type-option input:checked + label {
  color: var(--primary);
  background: white;
  box-shadow: 0 7px 20px rgba(24, 33, 38, 0.08);
}

.custom-amount-wrap {
  position: relative;
  margin-top: 12px;
  direction: ltr;
}

.currency-symbol {
  position: absolute;
  top: 50%;
  left: 16px;
  color: var(--muted);
  font-weight: 800;
  transform: translateY(-50%);
  white-space: nowrap;
}

.custom-amount {
  width: 100%;
  height: 54px;
  padding: 0 16px 0 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.custom-amount:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(145, 48, 40, 0.08);
}

.amount-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.impact-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  color: #725515;
  background: #fff8df;
  font-size: 0.9rem;
}

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

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.85rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: white;
  outline: none;
  transition: border 180ms ease, box-shadow 180ms ease;
}

.field input,
.field select {
  height: 52px;
  padding: 0 14px;
}

.field textarea {
  min-height: 98px;
  padding: 13px 14px;
  resize: vertical;
}

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

.payment-option label {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border 180ms ease, background 180ms ease, transform 180ms ease;
}

.payment-option label:hover {
  transform: translateY(-2px);
}

.payment-option input:checked + label {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.payment-icon {
  font-size: 1.35rem;
}

.payment-option strong {
  font-size: 0.86rem;
}

.payment-details {
  display: none;
  margin-top: 16px;
  padding: 18px;
  border-radius: 14px;
  background: var(--surface-2);
}

.payment-details.active {
  display: block;
}

.payment-details p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.payment-details strong {
  color: var(--ink);
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.checkbox-row input {
  margin-top: 4px;
  accent-color: var(--primary);
}

.submit-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.submit-row .btn {
  min-width: 215px;
}

.form-message {
  display: none;
  color: var(--success);
  font-size: 0.9rem;
  font-weight: 700;
}

.form-message.visible {
  display: block;
}

  .form-message.error {
  color: var(--primary);
}

.checkout-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 24px;
  color: white;
  background: rgba(17, 20, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
}

.checkout-overlay.visible {
  display: grid;
}

.checkout-overlay .spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 3px solid rgba(255, 255, 255, 0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.checkout-overlay p {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}

/* Methods */
.methods {
  padding: 104px 0;
}

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

.method-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: white;
  transition: transform 200ms ease, box-shadow 200ms ease, border 200ms ease;
}

.method-card:hover {
  border-color: rgba(145, 48, 40, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(35, 27, 29, 0.09);
}

.method-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 14px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 1.45rem;
}

.method-card h3 {
  margin-bottom: 8px;
  font-size: 1.12rem;
}

.method-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #182126;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr 1fr;
  gap: 46px;
  padding-bottom: 52px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .brand {
  margin-bottom: 17px;
  color: white;
}

.footer-brand p {
  font-size: 0.92rem;
}

.footer-col h4 {
  margin-bottom: 18px;
  color: white;
  font-size: 0.98rem;
}

.footer-links {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: white;
}

.contact-list {
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.newsletter {
  display: flex;
  margin-top: 13px;
}

.newsletter input {
  min-width: 0;
  height: 46px;
  flex: 1;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.newsletter button {
  width: 48px;
  border: 0;
  border-radius: 0 10px 10px 0;
  color: white;
  background: var(--primary);
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

/* Mobile */
@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-end {
    gap: 10px;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: max(13px, calc((100vw - var(--container)) / 2));
    right: auto;
    left: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .nav-links a:hover {
    background: var(--primary-soft);
  }

  .nav-cta {
    text-align: center;
  }

  .site-header {
    position: sticky;
  }

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

  .story-grid {
    gap: 46px;
  }

  .story-visual {
    min-height: 490px;
  }

  .donation-intro {
    position: relative;
    top: 0;
  }

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

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 26px), var(--container));
  }

  .site-header {
    padding-top: 10px;
    padding-bottom: 10px;
  }

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

  .hero-slider {
    min-height: 0;
  }

  .banner-cta {
    right: 2.5%;
    bottom: 7%;
    left: auto;
    width: 52%;
    gap: 6px;
    justify-content: flex-end;
  }

  .banner-cta .btn {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 0.72rem;
    box-shadow: 0 6px 16px rgba(24, 33, 38, 0.14);
  }

  .slider-controls {
    right: 16px;
    bottom: 28px;
  }

  .slider-dots {
    left: 16px;
    bottom: 43px;
  }

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

  .impact-item:nth-child(2)::after {
    display: none;
  }

  .impact-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .story,
  .methods {
    padding: 78px 0;
  }

  .story-visual {
    min-height: 410px;
  }

  .story-image.main {
    right: 38px;
    bottom: 42px;
  }

  .story-image.secondary {
    width: 52%;
    height: 42%;
  }

  .donation-section {
    padding: 76px 0;
  }

  .donation-intro,
  .donation-card {
    padding: 25px;
  }

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

  .amount-btn {
    font-size: 0.8rem;
    padding: 12px 6px;
  }

  .form-grid,
  .payment-grid,
  .methods-grid {
    grid-template-columns: 1fr;
  }

  .payment-option label {
    min-height: 70px;
    flex-direction: row;
  }

  .submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-row .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
