/* ═══════════════════════════════════════════════════════════
   PAWS OF HOPE — DESIGN SYSTEM
   Palette: Warm Cream · Beige · Sage Green · Terracotta · Brown
═══════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --cream:        #FAF6F0;
  --cream-dark:   #F2EBE0;
  --beige:        #E8DDD0;
  --beige-mid:    #D4C4B0;
  --sage:         #7A9E7E;
  --sage-light:   #A8C5AC;
  --sage-dark:    #5A7E5E;
  --terra:        #C4622D;
  --terra-light:  #E08050;
  --terra-dark:   #9E4A1E;
  --brown:        #2C1810;
  --brown-mid:    #5C3820;
  --brown-light:  #8B6040;
  --white:        #FFFDF9;
  --gold:         #D4A843;

  /* Semantic */
  --bg:           var(--cream);
  --bg-alt:       var(--cream-dark);
  --text:         var(--brown);
  --text-mid:     var(--brown-mid);
  --text-light:   var(--brown-light);
  --accent:       var(--terra);
  --accent-hover: var(--terra-dark);
  --green:        var(--sage);

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'Nunito', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  1.5rem;
  --space-lg:  2.5rem;
  --space-xl:  4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  /* Radii */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-xl:   40px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(44,24,16,0.06);
  --shadow-md:  0 8px 32px rgba(44,24,16,0.10);
  --shadow-lg:  0 20px 60px rgba(44,24,16,0.14);
  --shadow-xl:  0 32px 80px rgba(44,24,16,0.18);

  /* Transitions */
  --ease:       cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:   180ms;
  --dur-mid:    320ms;
  --dur-slow:   500ms;

  /* Layout */
  --max-w:      1200px;
  --nav-h:      72px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  /* Subtle warm grain texture */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='0.025'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
address { font-style: normal; }

/* ── ACCESSIBILITY ───────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── SCROLLBAR ───────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream-dark); }
::-webkit-scrollbar-thumb { background: var(--beige-mid); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--terra-light); }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-sm); }
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--brown); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p  { color: var(--text-mid); font-size: 1.05rem; }
em { font-style: italic; color: var(--terra); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--dur-mid) var(--ease);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:hover::after { opacity: 1; }
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(196,98,45,0.35);
}
.btn-primary:hover {
  background: var(--terra-dark);
  box-shadow: 0 8px 30px rgba(196,98,45,0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(122,158,126,0.35);
}
.btn-secondary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-card {
  background: var(--cream);
  color: var(--terra);
  border: 2px solid var(--beige);
  font-weight: 700;
  width: 100%;
  justify-content: center;
  margin-top: auto;
}
.btn-card:hover {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large { padding: 1.1rem 2.4rem; font-size: 1.05rem; }
.btn-sm    { padding: 0.6rem 1.2rem; font-size: 0.875rem; }

.btn-donate-now {
  width: 100%;
  justify-content: center;
  background: var(--terra);
  color: var(--white);
  font-size: 1.1rem;
  padding: 1rem 2rem;
  box-shadow: 0 6px 24px rgba(196,98,45,0.4);
}
.btn-donate-now:hover {
  background: var(--terra-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(196,98,45,0.5);
}

/* ── SECTION HEADERS ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: var(--space-xl); }
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: var(--space-sm);
  background: rgba(196,98,45,0.08);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}
.section-sub {
  max-width: 560px;
  margin: var(--space-sm) auto 0;
  font-size: 1.1rem;
  color: var(--text-light);
}

/* ── HEART PULSE ─────────────────────────────────────────── */
.heart-pulse {
  display: inline-block;
  animation: heartPulse 1.4s ease-in-out infinite;
  color: inherit;
}
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.3); }
}

/* ── PAW TRAIL ───────────────────────────────────────────── */
.paw-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}
.paw-print {
  position: absolute;
  font-size: 1.4rem;
  opacity: 0;
  animation: pawWalk 2.5s ease-out forwards;
  user-select: none;
}
@keyframes pawWalk {
  0%   { opacity: 0; transform: scale(0.5) rotate(var(--rot)); }
  20%  { opacity: 0.5; transform: scale(1) rotate(var(--rot)); }
  80%  { opacity: 0.3; }
  100% { opacity: 0; transform: scale(0.8) rotate(var(--rot)) translateY(20px); }
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background var(--dur-mid), box-shadow var(--dur-mid), backdrop-filter var(--dur-mid);
}
.site-header.scrolled {
  background: rgba(250,246,240,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44,24,16,0.08);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brown);
  line-height: 1;
}
.logo-text em { color: var(--terra); font-style: italic; }
.logo-tail {
  display: flex;
  align-items: center;
  transform-origin: bottom center;
  animation: tailWag 1.2s ease-in-out infinite;
}
@keyframes tailWag {
  0%, 100% { transform: rotate(-20deg); }
  50%       { transform: rotate(20deg); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}
.nav-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brown-mid);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast);
  white-space: nowrap;
}
.nav-link:hover { color: var(--terra); background: rgba(196,98,45,0.07); }

.nav-donate-btn {
  background: var(--terra);
  color: var(--white) !important;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(196,98,45,0.3);
}
.nav-donate-btn:hover {
  background: var(--terra-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(196,98,45,0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: all var(--dur-mid);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 60%, #EDE0D0 100%);
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.hero-blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(196,98,45,0.25), transparent 70%);
  top: -100px; right: -100px;
}
.hero-blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(122,158,126,0.3), transparent 70%);
  bottom: 0; left: 10%;
}

.hero-image-wrap {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  animation: heroImgReveal 1.2s var(--ease-out) both;
}
@keyframes heroImgReveal {
  from { transform: scale(1.08); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(250,246,240,0.6) 0%, transparent 50%),
              linear-gradient(to top, rgba(44,24,16,0.3) 0%, transparent 40%);
}

.hero-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: badgePop 0.8s var(--ease) 0.8s both;
}
@keyframes badgePop {
  from { transform: scale(0.5) rotate(-10deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);     opacity: 1; }
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terra);
  line-height: 1;
}
.badge-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-content {
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
  z-index: 2;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra);
  background: rgba(196,98,45,0.1);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.7s var(--ease-out) 0.2s both;
}

.hero-headline {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  animation: fadeSlideUp 0.7s var(--ease-out) 0.35s both;
}
.hero-headline em {
  display: block;
  color: var(--terra);
  font-style: italic;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  max-width: 440px;
  margin-bottom: var(--space-lg);
  animation: fadeSlideUp 0.7s var(--ease-out) 0.5s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  animation: fadeSlideUp 0.7s var(--ease-out) 0.65s both;
}
.hero-ctas .btn-outline { color: var(--brown); border-color: var(--beige-mid); }
.hero-ctas .btn-outline:hover { background: var(--beige); border-color: var(--beige-mid); }

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  animation: fadeSlideUp 0.7s var(--ease-out) 0.8s both;
}
.hero-stat { text-align: center; }
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--terra);
  line-height: 1;
}
.hero-stat span { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }
.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: var(--beige-mid);
}

.hero-scroll-hint {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: fadeSlideUp 0.7s var(--ease-out) 1.2s both;
  z-index: 2;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid var(--beige-mid);
  border-bottom: 2px solid var(--beige-mid);
  transform: rotate(45deg);
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   MISSION STRIP
═══════════════════════════════════════════════════════════ */
.mission-strip {
  background: var(--brown);
  padding: var(--space-xl) 0;
  position: relative;
  overflow: hidden;
}
.mission-strip::before {
  content: '🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾 🐾';
  position: absolute;
  top: 50%;
  left: -5%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0.04;
  white-space: nowrap;
  letter-spacing: 2rem;
  pointer-events: none;
}

.mission-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.mission-item {
  text-align: center;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--dur-mid);
}
.mission-item:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.mission-icon { margin: 0 auto var(--space-sm); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; }
.mission-item h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.5rem; }
.mission-item p  { color: rgba(255,255,255,0.65); font-size: 0.95rem; }

/* ═══════════════════════════════════════════════════════════
   DOGS SECTION
═══════════════════════════════════════════════════════════ */
.dogs-section {
  padding: var(--space-3xl) 0;
  background: var(--cream);
  position: relative;
}
.dogs-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--sage), var(--terra));
}

.dogs-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: var(--space-xl);
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-mid);
  background: var(--cream-dark);
  border: 2px solid transparent;
  transition: all var(--dur-fast);
}
.filter-btn:hover { border-color: var(--terra); color: var(--terra); }
.filter-btn.active {
  background: var(--terra);
  color: var(--white);
  box-shadow: 0 3px 12px rgba(196,98,45,0.3);
}

.dogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

/* Dog Card */
.dog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--beige);
  transition: all var(--dur-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.dog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--beige-mid);
}

.dog-card-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.dog-card:hover .dog-card-img-wrap img { transform: scale(1.06); }

.dog-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.dog-card-badge.urgent { background: #E53E3E; color: white; }
.dog-card-badge.new    { background: var(--sage); color: white; }
.dog-card-badge.senior { background: var(--gold); color: var(--brown); }

.dog-card-heart {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--beige-mid);
  transition: all var(--dur-fast);
  backdrop-filter: blur(4px);
}
.dog-card-heart:hover,
.dog-card-heart.liked { color: #E53E3E; transform: scale(1.2); }

.dog-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}
.dog-card-meta {
  display: flex;
  gap: 0.5rem;
}
.dog-age, .dog-size {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--cream-dark);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dog-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--brown);
  margin: 0;
}
.dog-breed { font-size: 0.85rem; color: var(--text-light); font-weight: 600; }

.dog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}
.tag-playful   { background: rgba(196,98,45,0.12); color: var(--terra-dark); }
.tag-gentle    { background: rgba(122,158,126,0.15); color: var(--sage-dark); }
.tag-good-kids { background: rgba(212,168,67,0.15); color: #8B6A00; }
.tag-calm      { background: rgba(122,158,126,0.15); color: var(--sage-dark); }
.tag-loyal     { background: rgba(44,24,16,0.08); color: var(--brown-mid); }
.tag-trained   { background: rgba(196,98,45,0.12); color: var(--terra-dark); }
.tag-cheeky    { background: rgba(212,168,67,0.15); color: #8B6A00; }
.tag-smart     { background: rgba(122,158,126,0.15); color: var(--sage-dark); }

.dog-snippet {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.5;
  flex: 1;
}

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

/* ═══════════════════════════════════════════════════════════
   ADOPT SECTION
═══════════════════════════════════════════════════════════ */
.adopt-section {
  padding: var(--space-3xl) 0;
  background: var(--cream-dark);
  position: relative;
  overflow: hidden;
}
.adopt-illustration {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 280px;
  opacity: 0.12;
  pointer-events: none;
}
.dog-illustration { width: 100%; }
.dog-tail-anim {
  transform-origin: 140px 200px;
  animation: tailWagBig 1s ease-in-out infinite;
}
@keyframes tailWagBig {
  0%, 100% { transform: rotate(-15deg); }
  50%       { transform: rotate(25deg); }
}

.adopt-content { max-width: 640px; }
.adopt-steps { display: flex; flex-direction: column; gap: var(--space-md); margin: var(--space-lg) 0; }
.adopt-step {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--beige);
  transition: all var(--dur-mid);
}
.adopt-step:hover {
  border-color: var(--terra);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--terra);
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-content h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.step-content p  { font-size: 0.9rem; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════
   DONATE SECTION
═══════════════════════════════════════════════════════════ */
.donate-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, #2C1810 0%, #4A2818 50%, #3D2010 100%);
  position: relative;
  overflow: hidden;
}
.donate-bg-paws {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cellipse cx='20' cy='15' rx='5' ry='7' fill='white' opacity='0.03'/%3E%3Cellipse cx='35' cy='15' rx='5' ry='7' fill='white' opacity='0.03'/%3E%3Cellipse cx='12' cy='28' rx='4' ry='5' fill='white' opacity='0.03'/%3E%3Cellipse cx='43' cy='28' rx='4' ry='5' fill='white' opacity='0.03'/%3E%3Cellipse cx='27' cy='35' rx='12' ry='10' fill='white' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.donate-section .section-header h2,
.donate-section .section-header .section-eyebrow { color: var(--white); }
.donate-section .section-sub { color: rgba(255,255,255,0.65); }
.donate-section .section-eyebrow { background: rgba(255,255,255,0.1); color: var(--terra-light); }

.donate-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.impact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--dur-mid);
  position: relative;
  overflow: hidden;
}
.impact-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,98,45,0.1), transparent);
  opacity: 0;
  transition: opacity var(--dur-mid);
}
.impact-card:hover { transform: translateY(-6px); border-color: rgba(196,98,45,0.4); }
.impact-card:hover::before { opacity: 1; }
.impact-card.impact-featured {
  background: rgba(196,98,45,0.15);
  border-color: rgba(196,98,45,0.4);
  transform: scale(1.04);
}
.impact-badge {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--terra);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.impact-amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--terra-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.impact-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.impact-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.5rem; }
.impact-card p  { color: rgba(255,255,255,0.55); font-size: 0.875rem; }

.donate-form-wrap { max-width: 520px; margin: 0 auto; }
.donate-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-xl);
}
.donate-form-card h3 {
  text-align: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.donate-amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.amount-btn {
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-mid);
  background: var(--cream-dark);
  border: 2px solid transparent;
  transition: all var(--dur-fast);
}
.amount-btn:hover { border-color: var(--terra); color: var(--terra); }
.amount-btn.active {
  background: var(--terra);
  color: var(--white);
  border-color: var(--terra);
  box-shadow: 0 4px 16px rgba(196,98,45,0.35);
}

.donate-custom { margin-bottom: var(--space-md); }
.custom-input-wrap {
  display: flex;
  align-items: center;
  background: var(--cream-dark);
  border: 2px solid var(--beige-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-fast);
}
.custom-input-wrap:focus-within { border-color: var(--terra); }
.currency-symbol {
  padding: 0 1rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--terra);
}
.custom-input-wrap input {
  flex: 1;
  padding: 0.75rem 1rem 0.75rem 0;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brown);
  outline: none;
}

.donate-frequency {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: var(--space-md);
}
.freq-btn {
  padding: 0.65rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-mid);
  background: var(--cream-dark);
  border: 2px solid transparent;
  transition: all var(--dur-fast);
}
.freq-btn:hover { border-color: var(--sage); color: var(--sage-dark); }
.freq-btn.active {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.donate-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-top: var(--space-sm);
}

/* ═══════════════════════════════════════════════════════════
   FOSTER SECTION
═══════════════════════════════════════════════════════════ */
.foster-section {
  padding: var(--space-3xl) 0;
  background: var(--white);
}
.foster-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}
.foster-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.foster-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.foster-image:hover img { transform: scale(1.04); }
.foster-img-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brown);
  box-shadow: var(--shadow-md);
}
.badge-icon { font-size: 1.2rem; }

.foster-benefits { display: flex; flex-direction: column; gap: var(--space-md); margin: var(--space-lg) 0; }
.foster-benefit {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}
.benefit-icon {
  width: 28px; height: 28px;
  background: var(--sage);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.foster-benefit strong { display: block; color: var(--brown); margin-bottom: 0.2rem; }
.foster-benefit p { font-size: 0.9rem; color: var(--text-light); }

/* ═══════════════════════════════════════════════════════════
   STORIES SECTION
═══════════════════════════════════════════════════════════ */
.stories-section {
  padding: var(--space-3xl) 0;
  background: linear-gradient(160deg, var(--cream-dark) 0%, var(--cream) 100%);
  position: relative;
  overflow: hidden;
}
.stories-section::after {
  content: '"';
  position: absolute;
  top: -40px; right: 5%;
  font-family: var(--font-display);
  font-size: 20rem;
  color: var(--terra);
  opacity: 0.04;
  line-height: 1;
  pointer-events: none;
}

.stories-carousel { position: relative; overflow: hidden; }
.stories-track {
  display: flex;
  gap: var(--space-lg);
  transition: transform 0.5s var(--ease-out);
}

.story-card {
  min-width: calc(33.333% - var(--space-md));
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--beige);
  flex-shrink: 0;
  transition: all var(--dur-mid);
}
.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.story-img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.story-card:hover .story-img-wrap img { transform: scale(1.05); }

.story-body {
  padding: var(--space-lg);
  position: relative;
}
.story-quote {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--terra);
  opacity: 0.2;
  line-height: 0.5;
  margin-bottom: 0.5rem;
}
.story-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-md);
}
.story-family strong { display: block; color: var(--brown); font-size: 0.95rem; }
.story-family span   { font-size: 0.8rem; color: var(--text-light); }
.story-paw {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  font-size: 1.5rem;
  opacity: 0.3;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--beige);
  color: var(--brown-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  box-shadow: var(--shadow-sm);
}
.carousel-btn:hover {
  background: var(--terra);
  border-color: var(--terra);
  color: white;
  transform: scale(1.1);
}
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--beige-mid);
  transition: all var(--dur-fast);
  cursor: pointer;
  border: none;
}
.carousel-dot.active {
  background: var(--terra);
  width: 24px;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   VOLUNTEER SECTION
═══════════════════════════════════════════════════════════ */
.volunteer-section {
  padding: var(--space-3xl) 0;
  background: var(--sage);
  position: relative;
  overflow: hidden;
}
.volunteer-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.volunteer-section .section-header h2 { color: var(--white); }
.volunteer-section .section-eyebrow { background: rgba(255,255,255,0.15); color: var(--white); }
.volunteer-section .section-sub { color: rgba(255,255,255,0.75); }

.volunteer-roles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.volunteer-role {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--dur-mid);
  backdrop-filter: blur(4px);
}
.volunteer-role:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.role-icon { font-size: 2.5rem; margin-bottom: var(--space-sm); }
.volunteer-role h3 { color: var(--white); margin-bottom: 0.5rem; }
.volunteer-role p  { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.role-time {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.1);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.volunteer-cta { text-align: center; }
.volunteer-cta .btn-primary { background: var(--white); color: var(--sage-dark); }
.volunteer-cta .btn-primary:hover { background: var(--cream); }
.volunteer-note {
  margin-top: var(--space-sm);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════════════════════
   EVENTS SECTION
═══════════════════════════════════════════════════════════ */
.events-section {
  padding: var(--space-3xl) 0;
  background: var(--cream);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  border: 1px solid var(--beige);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: var(--space-md);
  transition: all var(--dur-mid);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--terra);
}
.event-date-badge {
  flex-shrink: 0;
  width: 60px;
  text-align: center;
  background: var(--terra);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
}
.event-day {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}
.event-month {
  font-size: 0.7rem;
  font-weight: 800;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.event-type {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}
.event-content h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.event-content p  { font-size: 0.875rem; color: var(--text-light); margin-bottom: var(--space-sm); }
.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: var(--space-sm);
}
.event-meta span { font-size: 0.8rem; color: var(--text-light); font-weight: 600; }

/* ═══════════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: var(--space-3xl) 0;
  background: var(--cream-dark);
}
.newsletter-card {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.newsletter-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cellipse cx='15' cy='10' rx='4' ry='5' fill='white' opacity='0.05'/%3E%3Cellipse cx='28' cy='10' rx='4' ry='5' fill='white' opacity='0.05'/%3E%3Cellipse cx='8' cy='22' rx='3' ry='4' fill='white' opacity='0.05'/%3E%3Cellipse cx='35' cy='22' rx='3' ry='4' fill='white' opacity='0.05'/%3E%3Cellipse cx='21' cy='28' rx='9' ry='8' fill='white' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none;
}
.newsletter-paws {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
  opacity: 0.6;
  letter-spacing: 0.5rem;
}
.newsletter-card h2 { color: var(--white); margin-bottom: var(--space-sm); }
.newsletter-card > p { color: rgba(255,255,255,0.8); max-width: 480px; margin: 0 auto var(--space-lg); }

.newsletter-form { position: relative; z-index: 1; }
.newsletter-inputs {
  display: flex;
  gap: 0.75rem;
  max-width: 600px;
  margin: 0 auto var(--space-sm);
}
.newsletter-inputs input {
  flex: 1;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: border-color var(--dur-fast);
}
.newsletter-inputs input::placeholder { color: rgba(255,255,255,0.6); }
.newsletter-inputs input:focus { outline: none; border-color: rgba(255,255,255,0.7); }
.newsletter-inputs .btn-primary {
  background: var(--white);
  color: var(--terra);
  flex-shrink: 0;
}
.newsletter-inputs .btn-primary:hover { background: var(--cream); }
.newsletter-note { color: rgba(255,255,255,0.6); font-size: 0.8rem; }

.newsletter-success {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg);
  max-width: 400px;
  margin: 0 auto;
  color: var(--white);
  font-size: 1rem;
}
.success-icon { font-size: 1.5rem; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--brown);
  padding: var(--space-2xl) 0 var(--space-lg);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer-brand p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin-top: var(--space-sm);
  max-width: 280px;
}
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-text em { color: var(--terra-light); }

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--space-md);
}
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--dur-fast);
}
.social-link:hover {
  background: var(--terra);
  color: white;
  transform: translateY(-2px);
}

.footer-nav h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--dur-fast);
}
.footer-nav a:hover { color: var(--terra-light); }

.footer-contact h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer-contact address p {
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}
.footer-contact a { color: rgba(255,255,255,0.7); transition: color var(--dur-fast); }
.footer-contact a:hover { color: var(--terra-light); }
.footer-donate-btn { margin-top: var(--space-md); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }
.footer-legal { display: flex; gap: var(--space-md); }
.footer-legal a { color: rgba(255,255,255,0.35); font-size: 0.8rem; transition: color var(--dur-fast); }
.footer-legal a:hover { color: var(--terra-light); }

/* ── SECTION DIVIDERS ────────────────────────────────────── */
.dogs-section,
.foster-section,
.events-section,
.newsletter-section {
  position: relative;
}
.dogs-section::after,
.foster-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--beige-mid), transparent);
}

/* ── BACK TO TOP ─────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 48px; height: 48px;
  background: var(--terra);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--dur-mid) var(--ease);
  z-index: 500;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--terra-dark); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════════ */
.reveal-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-card {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
.reveal-item:nth-child(1), .reveal-card:nth-child(1) { transition-delay: 0ms; }
.reveal-item:nth-child(2), .reveal-card:nth-child(2) { transition-delay: 80ms; }
.reveal-item:nth-child(3), .reveal-card:nth-child(3) { transition-delay: 160ms; }
.reveal-item:nth-child(4), .reveal-card:nth-child(4) { transition-delay: 240ms; }
.reveal-item:nth-child(5), .reveal-card:nth-child(5) { transition-delay: 320ms; }
.reveal-item:nth-child(6), .reveal-card:nth-child(6) { transition-delay: 400ms; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image-wrap { height: 55vw; max-height: 500px; order: -1; }
  .hero-content { padding: var(--space-xl) var(--space-lg); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { width: auto; }

  .dogs-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .volunteer-roles { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .mission-items { grid-template-columns: 1fr; gap: var(--space-md); }
  .foster-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .stories-track .story-card { min-width: calc(50% - var(--space-sm)); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(250,246,240,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: var(--space-lg);
    gap: 0.25rem;
    transform: translateY(-110%);
    transition: transform var(--dur-mid) var(--ease-out);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--beige);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-link { width: 100%; padding: 0.75rem 1rem; border-radius: var(--radius-md); }
  .nav-donate-btn { text-align: center; margin-top: 0.5rem; }
  .nav-toggle { display: flex; }

  .hero-content { padding: var(--space-lg) var(--space-sm); }
  .hero-stats { flex-wrap: wrap; gap: var(--space-sm); }
  .hero-stat-divider { display: none; }

  .dogs-grid { grid-template-columns: 1fr; }
  .donate-impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-card.impact-featured { transform: none; }
  .volunteer-roles { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-inputs { flex-direction: column; }
  .newsletter-inputs .btn-primary { width: 100%; justify-content: center; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
  .stories-track .story-card { min-width: 85%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .event-card { flex-direction: column; }
  .event-date-badge { width: 100%; flex-direction: row; gap: 0.5rem; padding: 0.5rem 1rem; }
  .hero-scroll-hint { display: none; }
  .adopt-illustration { display: none; }
}

@media (max-width: 480px) {
  .donate-impact-grid { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(3, 1fr); }
  .hero-ctas .btn { font-size: 0.875rem; padding: 0.75rem 1.2rem; }
}

/* ── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}