/* ===================================================
   TIERHILFE LUDWIGSHAFEN e.V. – Main Stylesheet
   Color: Turquoise #00BFB3, Black, White
   =================================================== */

@import url('fonts.css');

/* ─── CSS Variables ──────────────────────────────── */
:root {
  --teal:        #00BFB3;
  --teal-dark:   #009E93;
  --teal-light:  #E6F9F8;
  --teal-mid:    #CCF2F0;
  --black:       #0D0D0D;
  --dark:        #1A1A1A;
  --dark2:       #2A2A2A;
  --gray:        #6B6B6B;
  --gray-light:  #E8E8E8;
  --off-white:   #F7F7F7;
  --white:       #FFFFFF;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.16);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font:        'Inter', sans-serif;
  --font-serif:  'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--gray); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 600px;
  line-height: 1.75;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,191,179,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,191,179,0.25);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover {
  background: var(--dark2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 1.1rem 2.8rem;
  font-size: 1.05rem;
}

.btn-arrow::after {
  content: '→';
  transition: transform var(--transition);
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ─── Layout Helpers ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-lg { padding: 7rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ─── Navigation ─────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--teal);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition);
}
.nav-logo:hover img { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.nav-links a {
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--white);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover { color: var(--white); opacity: 0.9; }
.nav-links a:hover::after { left: 10%; right: 10%; }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { left: 10%; right: 10%; }

.nav-cta { margin-left: 1rem; }
.nav-cta .btn {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}
.nav-cta .btn:hover {
  background: var(--off-white);
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 60%,
    rgba(0,191,179,0.15) 100%
  );
}

.hero.loaded .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  padding-top: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,191,179,0.15);
  border: 1px solid rgba(0,191,179,0.4);
  color: var(--teal);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* ─── Section: Light / Dark ──────────────────────── */
.bg-white   { background: var(--white); }
.bg-off     { background: var(--off-white); }
.bg-dark    { background: var(--dark); }
.bg-black   { background: var(--black); }
.bg-teal    { background: var(--teal); }
.bg-teal-light { background: var(--teal-light); }

/* ─── Cards ──────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,191,179,0.2);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-img { transform: scale(1.04); }

.card-img-wrap { overflow: hidden; }

.card-body { padding: 1.5rem; }

/* ─── Cat Profile Cards ──────────────────────────── */
.cat-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  margin-bottom: 3rem;
  transition: var(--transition);
}
.cat-profile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.cat-profile:nth-child(even) .cat-profile-img { order: 2; }
.cat-profile:nth-child(even) .cat-profile-body { order: 1; }

.cat-profile-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.cat-profile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.cat-profile:hover .cat-profile-img img { transform: scale(1.05); }

.cat-profile-body {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--teal-light);
  color: var(--teal-dark);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.cat-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.cat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.cat-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray);
}

.cat-meta-item span.icon {
  width: 28px; height: 28px;
  background: var(--teal-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.cat-story {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ─── Success Grid ───────────────────────────────── */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.success-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  transition: var(--transition);
}
.success-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.success-img {
  position: relative;
  overflow: hidden;
  height: 250px;
}
.success-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.success-card:hover .success-img img {
  transform: scale(1.05);
}

.success-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.9);
  color: var(--teal);
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.success-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.success-content h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.success-details {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.success-text {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  flex-grow: 1;
}


/* ─── Success Story ──────────────────────────────── */
.success-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
  margin-bottom: 3rem;
  transition: var(--transition);
}
.success-story:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.success-story:nth-child(even) .story-img { order: 2; }
.success-story:nth-child(even) .story-body { order: 1; }

.story-img {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.story-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.success-story:hover .story-img img { transform: scale(1.05); }

.story-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }

.story-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFF3E0;
  color: #E65100;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  width: fit-content;
}

.story-quote {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--teal);
}

/* ─── Team Members ───────────────────────────────── */
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,191,179,0.25);
}

.team-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
  filter: grayscale(20%);
  transition: filter 0.4s ease, transform 0.5s ease;
}
.team-card:hover .team-img { filter: grayscale(0%); transform: scale(1.03); }
.team-card-img-wrap { overflow: hidden; }

.team-body { padding: 1.5rem 1.25rem; }
.team-name { font-size: 1.1rem; font-weight: 700; color: var(--black); margin-bottom: 0.25rem; }
.team-role { font-size: 0.85rem; color: var(--teal); font-weight: 600; margin-bottom: 0.75rem; }
.team-bio { font-size: 0.88rem; color: var(--gray); line-height: 1.65; }

/* ─── Stats Bar ──────────────────────────────────── */
.stats-bar {
  background: var(--black);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; }

/* ─── CTA Section ────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--black) 0%, var(--dark2) 100%);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,191,179,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0,191,179,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p  { color: rgba(255,255,255,0.65); margin-bottom: 2rem; font-size: 1.05rem; }

/* ─── Donation Slider ────────────────────────────── */
.donation-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0 auto;
}

.cat-face-container {
  text-align: center;
  margin-bottom: 2rem;
}

.cat-face-svg {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  transition: var(--transition);
}

.donation-amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--black);
  text-align: center;
  margin-bottom: 0.5rem;
  line-height: 1;
}
.donation-amount span { color: var(--teal); }

.donation-label {
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 2rem;
}

.slider-wrap { position: relative; margin-bottom: 2rem; }

.donation-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--gray-light);
  outline: none;
  cursor: pointer;
  position: relative;
}
.donation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  cursor: grab;
  box-shadow: 0 0 0 4px rgba(0,191,179,0.2);
  transition: box-shadow 0.2s, transform 0.2s;
}
.donation-slider::-webkit-slider-thumb:active {
  cursor: grabbing;
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(0,191,179,0.25);
}
.donation-slider::-moz-range-thumb {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--teal);
  cursor: grab;
  border: none;
  box-shadow: 0 0 0 4px rgba(0,191,179,0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 500;
}

.donation-presets {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.preset-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--gray-light);
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--dark);
  transition: var(--transition);
}
.preset-btn:hover,
.preset-btn.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.paypal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.1rem 2rem;
  background: #0070BA;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.paypal-btn:hover {
  background: #005ea6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,112,186,0.4);
}
.paypal-logo { font-weight: 900; font-style: italic; font-size: 1.2rem; }

/* ─── Contact Form ───────────────────────────────── */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-light);
}

.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,191,179,0.12);
}
textarea { resize: vertical; min-height: 140px; }

.form-submit {
  width: 100%;
  padding: 1rem;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.form-submit:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,191,179,0.35);
}

/* ─── Hero small pages ───────────────────────────── */
.page-hero {
  position: relative;
  padding: 10rem 0 5rem;
  overflow: hidden;
  background: var(--black);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero h1 { color: var(--white); }
.page-hero p  { color: rgba(255,255,255,0.7); margin-top: 1rem; font-size: 1.1rem; max-width: 560px; }

/* ─── Divider ─────────────────────────────────────── */
.divider {
  width: 60px; height: 3px;
  background: var(--teal);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.divider-center { margin: 1rem auto 1.5rem; }

/* ─── Accordion ──────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  text-align: left;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.accordion-btn:hover { background: var(--off-white); }
.accordion-btn .icon {
  font-size: 1.2rem;
  color: var(--teal);
  transition: transform 0.3s;
}
.accordion-btn.open .icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s;
  padding: 0 1.5rem;
}
.accordion-body.open { padding: 0 1.5rem 1.25rem; }
.accordion-body p { font-size: 0.95rem; }

/* ─── Cookie Banner ──────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--dark);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  display: none;
  border-top: 3px solid var(--teal);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
#cookie-banner.show { display: block; }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.88rem; color: rgba(255,255,255,0.8); max-width: 700px; line-height: 1.6; }
.cookie-text a { color: var(--teal); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-accept {
  background: var(--teal); color: var(--white);
  padding: 0.6rem 1.5rem; border: none;
  border-radius: 50px; font-size: 0.9rem;
  font-weight: 600; cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.cookie-accept:hover { background: var(--teal-dark); }
.cookie-decline {
  background: transparent; color: rgba(255,255,255,0.6);
  padding: 0.6rem 1.25rem; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px; font-size: 0.9rem;
  font-weight: 500; cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ─── Footer ─────────────────────────────────────── */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand img { height: 48px; width: auto; margin-bottom: 1.25rem; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.55); }
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.65rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: var(--teal); }

/* ─── Paw Print Accent ───────────────────────────── */
.paw-accent {
  position: absolute;
  opacity: 0.04;
  font-size: 8rem;
  pointer-events: none;
  user-select: none;
}

/* ─── Breadcrumb ─────────────────────────────────── */
.breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb span { margin: 0 0.5rem; }

/* ─── Scroll Animations ──────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}
.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ─── Teal line decoration ───────────────────────── */
.teal-line {
  display: inline-block;
  position: relative;
}
.teal-line::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

/* ─── Trust Badges ───────────────────────────────── */
.trust-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.trust-badge .check {
  width: 20px; height: 20px;
  background: rgba(0,191,179,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--teal);
  flex-shrink: 0;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cat-profile { grid-template-columns: 1fr; }
  .cat-profile:nth-child(even) .cat-profile-img { order: 0; }
  .cat-profile:nth-child(even) .cat-profile-body { order: 1; }
  .cat-profile-img { min-height: 280px; }
  .success-story { grid-template-columns: 1fr; }
  .success-story:nth-child(even) .story-img { order: 0; }
  .success-story:nth-child(even) .story-body { order: 1; }
  .story-img { min-height: 260px; }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; gap: 2.5rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3.5rem 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .mobile-menu {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: slideDown 0.25s ease;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .mobile-menu a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
  }
  .mobile-menu a:hover { background: var(--teal-light); color: var(--teal); }
  .mobile-menu .btn { width: 100%; justify-content: center; margin-top: 0.5rem; }

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

  .donation-widget { padding: 2rem 1.25rem; }

  .form-row { grid-template-columns: 1fr; }

  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .cookie-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .donation-presets { gap: 0.5rem; }
}

/* ─── Utility ─────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.teal-text { color: var(--teal); }
.white-text { color: var(--white); }

/* ─── Legal Pages ─────────────────────────────────── */
.legal-content { max-width: 800px; margin: 0 auto; padding: 5rem 1.5rem; }
.legal-content h1 { margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; color: var(--black); }
.legal-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; color: var(--dark); }
.legal-content p  { margin-bottom: 1rem; font-size: 0.95rem; }
.legal-content ul { margin: 0.75rem 0 1rem 1.5rem; list-style: disc; }
.legal-content ul li { font-size: 0.95rem; color: var(--gray); margin-bottom: 0.4rem; }
.legal-content a { color: var(--teal); text-decoration: underline; }

/* ─── Animated Walking Cat ───────────────────────── */
.no-cats-animation-container {
  width: 100%;
  max-width: 900px;
  height: 120px;
  position: relative;
  overflow: hidden;
  margin: 3rem auto;
  border-bottom: 2px solid var(--gray-light);
}

.walking-cat {
  position: absolute;
  bottom: -4px;
  left: -100px;
  width: 80px;
  height: 80px;
  animation: walkAcross 14s linear infinite, bob 0.5s ease-in-out infinite alternate;
}

@keyframes walkAcross {
  0% { left: -100px; }
  100% { left: 100%; }
}

@keyframes bob {
  0% { transform: translateY(0); }
  100% { transform: translateY(-3px); }
}

.cat-leg-1 {
  animation: legMove1 0.4s infinite alternate ease-in-out;
  transform-origin: 50% 100%;
}
.cat-leg-2 {
  animation: legMove2 0.4s infinite alternate ease-in-out;
  transform-origin: 50% 100%;
}

@keyframes legMove1 {
  0% { transform: translateY(0) rotate(5deg); }
  100% { transform: translateY(-3px) rotate(-15deg); }
}

@keyframes legMove2 {
  0% { transform: translateY(-3px) rotate(-15deg); }
  100% { transform: translateY(0) rotate(5deg); }
}

/* ─── Large Animated Walking Cat ─────────────────── */
.no-cats-animation-container.large {
  height: 200px;
  max-width: 1000px;
}
.no-cats-animation-container.large .walking-cat {
  width: 150px;
  height: 150px;
  bottom: -8px;
  animation: walkAcrossLarge 18s linear infinite, bobLarge 0.5s ease-in-out infinite alternate;
}
@keyframes walkAcrossLarge {
  0% { left: -180px; }
  100% { left: 100%; }
}
@keyframes bobLarge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* ─── Info Popup ─────────────────────────────────── */
.info-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-popup.show {
  pointer-events: auto;
  opacity: 1;
}

.info-popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.info-popup-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.info-popup.show .info-popup-content {
  transform: translateY(0) scale(1);
}

.info-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--gray);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0 0.5rem;
}

.info-popup-close:hover {
  color: var(--black);
}

.info-popup-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.info-popup-content h3 {
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 1rem;
}

.info-popup-content p {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
