/* ==========================================================================
   Lieblingsläden Pforzheim — Stylesheet
   ========================================================================== */

/* ---------- Lokale Schriftarten (selbst gehostet, kein Google-Fonts-Request) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../assets/fonts/inter-var.woff2') format('woff2-variations'), url('../assets/fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-var.woff2') format('woff2-variations'), url('../assets/fonts/playfair-display-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500 600;
  font-display: swap;
  src: url('../assets/fonts/playfair-display-italic-var.woff2') format('woff2-variations'), url('../assets/fonts/playfair-display-italic-var.woff2') format('woff2');
}

:root {
  --cream: #f7f0e4;
  --cream-soft: #efe6d3;
  --paper: #fffdf8;
  --ink: #2c2420;
  --ink-soft: #5c5148;
  --brown: #4a3728;
  --gold: #b8863f;
  --gold-light: #d7ac6a;
  --gold-pale: #eddcb8;
  --heart: #c9a15a;
  --shadow: 0 20px 60px -20px rgba(44, 36, 32, 0.35);
  --shadow-soft: 0 10px 30px -12px rgba(44, 36, 32, 0.2);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .script {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 0;
  color: var(--brown);
}

p { line-height: 1.7; color: var(--ink-soft); }

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(36px, 6vw, 64px);
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
}

.section-head p { font-size: 1.05rem; margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), color .35s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2c1f10;
  box-shadow: 0 12px 30px -10px rgba(184, 134, 63, 0.65);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -12px rgba(184, 134, 63, 0.75); }

.btn-ghost {
  background: rgba(255,255,255,0.08);
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); transform: translateY(-3px); }

.btn-dark {
  background: var(--brown);
  color: var(--cream);
}
.btn-dark:hover { background: #382a1e; transform: translateY(-3px); box-shadow: var(--shadow-soft); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--brown);
}
.btn-outline:hover { background: var(--gold); color: #2c1f10; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(247, 240, 228, 0.85);
  backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 30px -18px rgba(44,36,32,0.4);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.35rem;
  line-height: 1;
}
.brand .script {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  transition: color .4s var(--ease);
}
.brand .city { font-weight: 700; letter-spacing: 0.01em; color: var(--brown); }
.site-header:not(.scrolled) .brand .script,
.site-header:not(.scrolled) .brand .city { color: var(--paper); text-shadow: 0 2px 18px rgba(0,0,0,0.35); }

.nav-links {
  display: flex;
  gap: 34px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  position: relative;
  padding: 4px 0;
  color: var(--brown);
  transition: color .3s;
}
.site-header:not(.scrolled) .nav-links a { color: var(--paper); text-shadow: 0 2px 14px rgba(0,0,0,0.3); }
.nav-links a::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 2px; background: var(--gold);
  transition: right .35s var(--ease);
}
.nav-links a:hover::after { right: 0; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-cta .btn { padding: 11px 22px; font-size: 0.85rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}
.burger span, .burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--paper);
  transition: transform .35s var(--ease), opacity .35s;
}
.site-header.scrolled .burger span,
.site-header.scrolled .burger span::before,
.site-header.scrolled .burger span::after { background: var(--brown); }
.burger span { top: 21px; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
.burger.active span { background: transparent; }
.burger.active span::before { transform: translateY(7px) rotate(45deg); }
.burger.active span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--brown);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav a {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 600;
}
.mobile-nav .btn { margin-top: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: clamp(90px, 20vw, 140px);
  box-sizing: border-box;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--paper);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  0% { transform: scale(1) translate(0,0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30,22,14,0.35) 0%, rgba(24,18,12,0.25) 35%, rgba(20,15,10,0.85) 100%),
    linear-gradient(90deg, rgba(20,15,10,0.55) 0%, rgba(20,15,10,0.05) 55%);
  z-index: 1;
}
.hero-floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.floater {
  position: absolute;
  opacity: 0.85;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.25));
  animation: float 7s ease-in-out infinite;
}
.floater svg { width: 100%; height: 100%; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-26px) rotate(4deg); }
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding-bottom: clamp(70px, 10vw, 120px);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  margin-bottom: 26px;
  animation: fadeUp 1s var(--ease) both;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.8rem, 8vw, 6rem);
  line-height: 1.02;
  font-weight: 600;
  animation: fadeUp 1.1s var(--ease) both 0.1s;
}
.hero h1 .script {
  display: block;
  font-style: italic;
  font-weight: 600;
  font-size: 0.62em;
  color: var(--gold-light);
  margin-top: 6px;
}
.hero-sub {
  max-width: 560px;
  margin-top: 26px;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  animation: fadeUp 1.2s var(--ease) both 0.2s;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 16px;
  margin-top: 40px;
  animation: fadeUp 1.3s var(--ease) both 0.3s;
}

.hero-stats {
  position: relative; z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(24px, 5vw, 64px);
  margin-top: clamp(50px, 8vw, 84px);
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.25);
  animation: fadeUp 1.4s var(--ease) both 0.4s;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--gold-light);
  font-weight: 700;
}
.stat-label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}

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

.scroll-cue {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.scroll-cue .line {
  width: 1px; height: 34px;
  background: rgba(255,255,255,0.6);
  overflow: hidden;
  position: relative;
}
.scroll-cue .line::after {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 100%;
  background: var(--gold-light);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; }
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .stagger-item {
  opacity: 1; transform: translateY(0);
}
.stagger-item {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

/* ---------- About ---------- */
.about {
  background: var(--paper);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about-text p { margin-bottom: 18px; font-size: 1.03rem; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-highlight {
  margin-top: 30px;
  padding: 20px 24px;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brown);
  font-size: 1.15rem;
}
.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}
.about-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.about-media:hover img { transform: scale(1.06); }
.about-media .tag {
  position: absolute; left: 20px; bottom: 20px;
  background: rgba(255,253,248,0.92);
  backdrop-filter: blur(6px);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--brown);
  box-shadow: var(--shadow-soft);
}

.value-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 60px;
}
.value-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.value-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-pale);
  border-radius: 14px;
  margin-bottom: 18px;
  color: var(--gold);
}
.value-card h4 { font-size: 1.15rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; margin: 0; }

/* ---------- Directory ---------- */
.directory { background: var(--cream); }

.directory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}
.search-box {
  position: relative;
  flex: 1 1 280px;
  max-width: 380px;
}
.search-box input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-pale);
  background: var(--paper);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(184,134,63,0.15);
}
.search-box svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--gold);
}
.filter-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--gold-pale);
  background: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all .3s var(--ease);
  white-space: nowrap;
}
.pill:hover { border-color: var(--gold); color: var(--brown); }
.pill.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--cream);
}

.shop-count {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.shop-count strong { color: var(--brown); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.shop-card {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 12px -6px rgba(44,36,32,0.12);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), outline-color .45s;
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.shop-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.shop-card.highlight {
  outline-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.shop-card.hidden-card { display: none; }

.shop-logo-wrap {
  height: 84px;
  display: flex; align-items: center; justify-content: flex-start;
}
.shop-logo-wrap img {
  max-height: 84px; max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.shop-card-body { flex: 1; }
.shop-category {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.shop-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--brown);
}
.shop-card p {
  font-size: 0.92rem;
  margin: 0;
}
.shop-card-actions {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-top: 4px;
}
.chip-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brown);
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--cream);
  transition: background .3s, transform .3s, color .3s;
}
.chip-link:hover { background: var(--gold); color: #2c1f10; transform: translateY(-2px); }
.chip-link svg { width: 14px; height: 14px; }

.no-results {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.2rem;
}
.no-results.show { display: block; }

/* ---------- Map ---------- */
.map-section { background: var(--paper); }
.map-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: grab;
}
.map-wrap img { width: 100%; display: block; user-select: none; -webkit-user-drag: none; }
.map-pin {
  position: absolute;
  width: 16px; height: 16px;
  transform: translate(-50%, -50%);
  cursor: pointer;
}
.map-pin::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--gold);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform .3s var(--ease), background .3s;
}
.map-pin::after {
  content: '';
  position: absolute; inset: -8px;
  border-radius: 50%;
  background: rgba(184,134,63,0.35);
  animation: pulse 2.2s ease-out infinite;
}
.map-pin:hover::before { transform: scale(1.5); background: var(--brown); }
.map-pin .pin-tip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--brown);
  color: var(--cream);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}
.map-pin .pin-tip::after {
  content: '';
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--brown);
}
.map-pin:hover .pin-tip { opacity: 1; transform: translateX(-50%) translateY(0); }
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}
.map-hint {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 18px;
  font-style: italic;
}

/* ---------- Join / CTA ---------- */
.join {
  position: relative;
  background: var(--brown);
  color: var(--cream);
  overflow: hidden;
}
.join::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(184,134,63,0.35), transparent 55%),
              radial-gradient(circle at 85% 80%, rgba(184,134,63,0.25), transparent 55%);
}
.join-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.join h2 { color: var(--cream); }
.join .eyebrow { color: var(--gold-light); }
.join .eyebrow::before { background: var(--gold-light); }
.join p { color: rgba(247,240,228,0.82); }
.join-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}
.join-card .contact-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.join-card .contact-row:last-of-type { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(215,172,106,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-light);
}
.contact-row a, .contact-row span.value {
  font-weight: 600; font-size: 1.02rem; color: var(--cream);
  transition: color .3s;
}
.contact-row a:hover { color: var(--gold-light); }
.contact-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(247,240,228,0.55); display: block; margin-bottom: 2px;
}
.join-card .btn { width: 100%; justify-content: center; margin-top: 26px; }

/* ---------- Partner / WSP ---------- */
.partner {
  position: relative;
  color: var(--paper);
  overflow: hidden;
}
.partner-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.partner-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
}
.partner-media::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,10,0.75) 0%, rgba(20,15,10,0.72) 55%, rgba(20,15,10,0.9) 100%),
    linear-gradient(100deg, rgba(20,15,10,0.6) 0%, rgba(20,15,10,0.15) 60%);
}
.partner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: center;
}
.partner .eyebrow { color: var(--gold-light); }
.partner .eyebrow::before { background: var(--gold-light); }
.partner-text h2 { color: var(--paper); font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 18px; }
.partner-text p { color: rgba(247,240,228,0.85); font-size: 1.05rem; max-width: 560px; }
.partner-text strong { color: var(--gold-light); font-weight: 700; }

.initiative-list {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
}
.initiative-chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cream);
  backdrop-filter: blur(6px);
  transition: background .3s, transform .3s, border-color .3s;
}
.initiative-chip:hover {
  background: rgba(184,134,63,0.3);
  border-color: var(--gold-light);
  transform: translateY(-2px);
}

.partner-badge {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.partner-badge img {
  width: 100%;
  max-width: 260px;
  margin: 0 auto 18px;
}
.partner-badge p {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #241a12;
  color: rgba(247,240,228,0.75);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(247,240,228,0.12);
}
.footer-brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer-brand .brand .script { color: var(--gold-light); }
.footer-brand .brand .city { color: var(--cream); }
.footer-brand p { max-width: 320px; font-size: 0.92rem; }
.footer-publisher {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(247,240,228,0.14);
}
.footer-publisher-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(247,240,228,0.5);
  margin-bottom: 12px;
}
.footer-publisher-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
}
.footer-col h4 {
  color: var(--cream);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col span { font-size: 0.92rem; transition: color .3s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  padding-top: 26px;
  font-size: 0.8rem;
  color: rgba(247,240,228,0.5);
}
.footer-bottom .heart { color: var(--gold-light); }
.footer-legal { display: inline-flex; align-items: center; gap: 8px; }
.footer-legal a { color: rgba(247,240,228,0.75); font-weight: 600; transition: color .3s; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-legal .dot { color: rgba(247,240,228,0.35); }

.back-to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft);
  border: none; cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all .4s var(--ease);
  z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: #2c1f10; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .join-inner, .partner-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 460px; margin: 0 auto; }
  .partner-badge { max-width: 320px; margin: 0 auto; }
  .value-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .nav-links, .nav-cta .btn-outline { display: none; }
  .burger { display: block; }
}

@media (max-width: 640px) {
  .floater { display: none; }
  .value-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .directory-controls { flex-direction: column; align-items: stretch; }
  .search-box { max-width: none; }
  .join-card { padding: 26px; }
  .hero { align-items: center; }
  .hero-stats { grid-template-columns: repeat(2,1fr); gap: 26px 20px; }
}
