/* ===== CSS Custom Properties: Themes ===== */
:root,
[data-theme="warm"] {
  --primary: #d4845a;
  --primary-light: #f0d5c8;
  --primary-dark: #b0653e;
  --primary-rgb: 212, 132, 90;
  --accent: #e8a87c;
  --accent-light: #fae3d0;
  --bg: #fefaf6;
  --bg-warm: #faf5ef;
  --bg-card: #ffffff;
  --text: #3d2e26;
  --text-light: #7a6e66;
  --text-lighter: #ada49d;
  --heading: #2c1f17;
  --border: #e8ddd4;
  --border-light: #f2ebe4;
  --shadow: 0 2px 16px rgba(61, 46, 38, 0.06);
  --shadow-lg: 0 8px 40px rgba(61, 46, 38, 0.08);
  --shadow-btn: 0 4px 14px rgba(212, 132, 90, 0.3);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --hero-gradient: linear-gradient(135deg, #fefaf6 0%, #fdf0e3 40%, #fae3d0 100%);
  --hero-pattern: radial-gradient(ellipse at 70% 30%, rgba(212,132,90,0.08) 0%, transparent 60%),
                   radial-gradient(ellipse at 30% 70%, rgba(232,168,124,0.06) 0%, transparent 60%);
}

[data-theme="ocean"] {
  --primary: #4a90b8;
  --primary-light: #c5ddef;
  --primary-dark: #36709a;
  --primary-rgb: 74, 144, 184;
  --accent: #5ba3c9;
  --accent-light: #d8ecf5;
  --bg: #f7fafc;
  --bg-warm: #f0f5f9;
  --bg-card: #ffffff;
  --text: #243b4a;
  --text-light: #5a788b;
  --text-lighter: #90a9b8;
  --heading: #1a2e3a;
  --border: #d4e4ed;
  --border-light: #e8f1f6;
  --shadow: 0 2px 16px rgba(36, 59, 74, 0.05);
  --shadow-lg: 0 8px 40px rgba(36, 59, 74, 0.07);
  --shadow-btn: 0 4px 14px rgba(74, 144, 184, 0.3);
  --hero-gradient: linear-gradient(135deg, #f7fafc 0%, #e8f1f6 40%, #d8ecf5 100%);
  --hero-pattern: radial-gradient(ellipse at 70% 30%, rgba(74,144,184,0.07) 0%, transparent 60%),
                   radial-gradient(ellipse at 30% 70%, rgba(91,163,201,0.05) 0%, transparent 60%);
}

[data-theme="forest"] {
  --primary: #5a9e6f;
  --primary-light: #c8e6cf;
  --primary-dark: #3d7a50;
  --primary-rgb: 90, 158, 111;
  --accent: #7db889;
  --accent-light: #daf1df;
  --bg: #f8fbf8;
  --bg-warm: #f2f7f3;
  --bg-card: #ffffff;
  --text: #263a2c;
  --text-light: #5c7a62;
  --text-lighter: #91a896;
  --heading: #1a2e1f;
  --border: #d4e8d8;
  --border-light: #e5f2e8;
  --shadow: 0 2px 16px rgba(38, 58, 44, 0.05);
  --shadow-lg: 0 8px 40px rgba(38, 58, 44, 0.07);
  --shadow-btn: 0 4px 14px rgba(90, 158, 111, 0.3);
  --hero-gradient: linear-gradient(135deg, #f8fbf8 0%, #edf5ef 40%, #daf1df 100%);
  --hero-pattern: radial-gradient(ellipse at 70% 30%, rgba(90,158,111,0.07) 0%, transparent 60%),
                   radial-gradient(ellipse at 30% 70%, rgba(125,184,137,0.05) 0%, transparent 60%);
}

[data-theme="sunset"] {
  --primary: #b86b7a;
  --primary-light: #eccdd4;
  --primary-dark: #944f5d;
  --primary-rgb: 184, 107, 122;
  --accent: #c97d8c;
  --accent-light: #f5dfe4;
  --bg: #fdfafb;
  --bg-warm: #faf3f5;
  --bg-card: #ffffff;
  --text: #3d262e;
  --text-light: #7a5c64;
  --text-lighter: #ad9399;
  --heading: #2c1a22;
  --border: #e8d4d9;
  --border-light: #f2e5e9;
  --shadow: 0 2px 16px rgba(61, 38, 46, 0.05);
  --shadow-lg: 0 8px 40px rgba(61, 38, 46, 0.07);
  --shadow-btn: 0 4px 14px rgba(184, 107, 122, 0.3);
  --hero-gradient: linear-gradient(135deg, #fdfafb 0%, #f9eff2 40%, #f5dfe4 100%);
  --hero-pattern: radial-gradient(ellipse at 70% 30%, rgba(184,107,122,0.07) 0%, transparent 60%),
                   radial-gradient(ellipse at 30% 70%, rgba(201,125,140,0.05) 0%, transparent 60%);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-accent { color: var(--primary); }

/* ===== Typography ===== */
h1, h2, h3, h4 { color: var(--heading); line-height: 1.3; letter-spacing: -0.02em; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(var(--primary-rgb), 0.4);
}

.btn--outline {
  border: 2px solid var(--border);
  color: var(--text);
  background: var(--bg-card);
}
.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn--lg { padding: 0.9rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s ease;
}
.header--scrolled {
  box-shadow: var(--shadow);
}

.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.25rem; font-weight: 700;
  color: var(--heading);
  letter-spacing: -0.02em;
}
.logo__icon { font-size: 1.5rem; }

.nav__list {
  display: flex; align-items: center; gap: 0.25rem;
}
.nav__link {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s ease;
}
.nav__link:hover { color: var(--primary); background: var(--accent-light); }
.nav__link--cta {
  background: var(--primary);
  color: #fff;
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--primary-dark);
  color: #fff;
}

.nav__toggle {
  display: none;
  flex-direction: column; gap: 5px;
  padding: 0.5rem;
}
.nav__toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--hero-gradient);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: var(--hero-pattern);
  pointer-events: none;
}
.hero__content {
  position: relative; z-index: 1;
  text-align: center;
  padding: 6rem 0 4rem;
  max-width: 800px;
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 140px;
}
.stat__number {
  font-size: 2.5rem; font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}
.stat__unit {
  font-size: 0.95rem; font-weight: 600;
  color: var(--text);
  margin-left: 0.15rem;
}
.stat__label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-lighter);
  margin-top: 0.25rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}
.section:nth-child(even) {
  background: var(--bg-warm);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section__subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== Facts ===== */
.facts__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.fact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.35s ease;
  box-shadow: var(--shadow);
}
.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.fact-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius);
  color: var(--primary);
  margin-bottom: 1.25rem;
}
.fact-card__icon svg { width: 32px; height: 32px; }
.fact-card__title {
  font-size: 1.15rem; font-weight: 700;
  margin-bottom: 0.5rem;
}
.fact-card__desc {
  font-size: 0.92rem; color: var(--text-light);
  line-height: 1.7;
}

/* ===== Gallery ===== */
.gallery__upload {
  margin-bottom: 2rem;
}
.upload-area {
  background: var(--bg-card);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}
.upload-area:hover,
.upload-area--dragover {
  border-color: var(--primary);
  background: var(--accent-light);
}
.upload-area__icon {
  width: 48px; height: 48px;
  color: var(--text-lighter);
  margin: 0 auto 1rem;
  display: block;
}
.upload-area__title {
  font-size: 1.1rem; font-weight: 600;
  color: var(--heading);
  margin-bottom: 0.35rem;
}
.upload-area__hint {
  font-size: 0.85rem; color: var(--text-lighter);
  margin-bottom: 1.25rem;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery__empty { text-align: center; padding: 2rem; color: var(--text-lighter); }

.gallery__thanks { margin-bottom: 2rem; }

.thanks-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}
.thanks-form-card h4 { font-size: 1rem; margin-bottom: 0.75rem; }
.thanks-form-row { display: flex; gap: 0.75rem; }
.thanks-input {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s;
}
.thanks-input:focus { border-color: var(--primary); }

.thanks-list { display: flex; flex-direction: column; gap: 0.75rem; }

.thanks-card {
  display: flex; align-items: center; gap: 1rem;
  background: linear-gradient(135deg, var(--accent-light), #fff);
  border: 1.5px solid var(--primary-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  animation: fadeUp 0.5s ease forwards;
}
.thanks-card__icon { font-size: 2rem; flex-shrink: 0; }
.thanks-card__text { font-size: 0.95rem; color: var(--text); line-height: 1.7; }
.thanks-card__text strong { color: var(--primary); }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  group: true;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

.gallery-item__remove {
  position: absolute; top: 0.5rem; right: 0.5rem;
  width: 28px; height: 28px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem; line-height: 28px; text-align: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  cursor: pointer;
}
.gallery-item:hover .gallery-item__remove { opacity: 1; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox--open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: #fff;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.lightbox__close:hover { background: rgba(255,255,255,0.2); }

/* ===== Material Donation ===== */
.material-subtitle {
  font-size: 1.2rem; font-weight: 700;
  color: var(--heading);
  text-align: center;
  margin: 2.5rem 0 1.25rem;
}

.material-locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
}
.location-card__icon { font-size: 2rem; margin-bottom: 0.5rem; }
.location-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.location-card__address {
  font-size: 1.1rem; font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.location-card__badge {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
}
.location-card__badge--future {
  background: var(--accent-light);
  color: var(--text-light);
}

/* Calendar Notice */
.calendar-notice { margin-bottom: 1.5rem; }
.notice-card {
  display: flex; align-items: flex-start; gap: 1rem;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  font-size: 0.92rem; color: #6d4c00;
  line-height: 1.7;
}
.notice-card__icon { font-size: 1.5rem; flex-shrink: 0; }
.notice-card strong { color: #5d3a00; }
.calendar-links {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 0.5rem;
}
.calendar-link {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: #fff;
  border: 1px solid #ffe082;
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 600;
  color: #8d6e00;
  transition: all 0.2s;
}
.calendar-link:hover {
  background: #ffd54f;
  color: #4e3a00;
}

/* Recipients */
.recipient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.recipient-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.recipient-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.recipient-card__header {
  display: flex; align-items: center; gap: 0.85rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}
.recipient-card__icon { font-size: 1.75rem; flex-shrink: 0; }
.recipient-card__header h4 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.recipient-card__location { font-size: 0.85rem; color: var(--text-lighter); }
.recipient-card__body { display: flex; flex-direction: column; gap: 0.65rem; }
.recipient-detail {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary-light);
}
.recipient-detail__label {
  font-size: 0.85rem; font-weight: 700;
  color: var(--primary-dark);
  white-space: nowrap;
  min-width: 2.5rem;
}
.recipient-detail__desc {
  font-size: 0.88rem; color: var(--text-light);
  line-height: 1.6;
}
.recipient-card__needs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  list-style: none; padding: 0;
}
.recipient-card__needs li {
  padding: 0.3rem 0.75rem;
  background: var(--accent-light);
  color: var(--primary-dark);
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
}

/* Requirements */
.requirements-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  text-align: center;
}
.requirements-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.requirements-card > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1.25rem; }
.requirements-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}
.requirement-item {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500;
  color: var(--text);
}
.requirement__check {
  color: #4caf50;
  font-weight: 700;
  font-size: 1rem;
}

/* Phone Info */
.phone-info {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  text-align: center;
}
.phone-info h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.phone-info__grid {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
}
.phone-info__item {
  display: flex; flex-direction: column; align-items: center; gap: 0.25rem;
  padding: 1rem 2rem;
  background: var(--bg-warm);
  border-radius: var(--radius);
  min-width: 120px;
}
.phone-info__label {
  font-size: 1.1rem; font-weight: 700;
  color: var(--primary);
}

/* Contact */
.contact-card {
  text-align: center;
  padding: 1.5rem;
  font-size: 1rem;
}
.contact-email {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  transition: color 0.2s;
}
.contact-email:hover { color: var(--primary-dark); }
.contact-note { font-size: 0.85rem; color: var(--text-lighter); margin-top: 0.5rem; }

.recipients-privacy {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.85rem; color: var(--text-lighter);
}

/* Donor Count Card */
.donor-count-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
}
.donor-count-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }

.donor-count-wrap {
  display: flex; align-items: baseline; justify-content: center; gap: 0.35rem;
}
.donor-count {
  font-size: 3.5rem; font-weight: 800;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.donor-count__label {
  font-size: 1rem;
  color: var(--text-lighter);
}

/* ===== Donation Rules ===== */
.rules-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
  max-width: 600px; margin: 0 auto;
}
.rule-card {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-size: 0.95rem; font-weight: 600;
  border: 2px solid #ef9a9a;
  background: #fff5f5;
  color: #c62828;
}
.rule-card__icon { font-size: 1.1rem; }
.rule-card__text { white-space: nowrap; }
.rules-note {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.9rem; color: var(--text-lighter);
}

/* ===== Closing ===== */
.closing { background: var(--bg-warm); }
.closing-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--primary-light);
}
.closing-card p {
  font-size: 1.05rem; line-height: 1.9;
  color: var(--text);
  font-weight: 500;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-warm);
  border-top: 1px solid var(--primary-light);
  padding: 1.75rem 0;
  text-align: center;
}
.footer__copyright {
  font-size: 0.875rem;
  color: var(--text-lighter);
  letter-spacing: 0.02em;
}

/* ===== Modal ===== */
.modal {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.modal--open { opacity: 1; pointer-events: auto; }
.modal__content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  max-width: 400px; width: 90%;
  box-shadow: var(--shadow-lg);
}
.modal__content h2 { font-size: 1.3rem; margin-bottom: 1rem; }

/* ===== Animations ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  animation: fadeUp 0.8s ease forwards;
}
.fade-up:nth-child(1) { animation-delay: 0.1s; }
.fade-up:nth-child(2) { animation-delay: 0.25s; }
.fade-up:nth-child(3) { animation-delay: 0.4s; }
.fade-up:nth-child(4) { animation-delay: 0.55s; }
.fade-up:nth-child(5) { animation-delay: 0.7s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0; transform: translateY(32px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero__stats { gap: 1.25rem; }
  .stat { min-width: 100px; }
  .stat__number { font-size: 1.75rem; }

  .nav__toggle { display: flex; }
  .nav__list {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column; padding: 1rem;
    box-shadow: var(--shadow-lg);
  }
  .nav__list--open { display: flex; }
  .nav__link--cta { margin-left: 0; }

  .recipient-grid { grid-template-columns: 1fr; }
  .phone-info__grid { gap: 1rem; }

}

@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .hero__title { font-size: 2rem; }
  .facts__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .thanks-form-row { flex-direction: column; }
  .recipient-grid { grid-template-columns: 1fr; }
  .material-locations { grid-template-columns: 1fr; }
  .requirements-grid { flex-direction: column; align-items: center; }
  .phone-info__grid { flex-direction: column; align-items: center; gap: 1rem; }
  .calendar-links { flex-direction: column; }
  .phone-info__item { min-width: 100%; }
}
