/* ============================================
   CAGE & KEY — Belgian Chastity Community
   Design System — Lock Flag Dark Industrial
   ============================================ */

/* Google Fonts chargées de façon non-bloquante via <link> dans le HTML (performance) */

/* ── CSS Variables ── */
:root {
  /* Backgrounds */
  --bg-900: #070708;
  --bg-800: #0F0F11;
  --bg-700: #161619;
  --bg-600: #1E1E22;
  --bg-500: #26262C;

  /* Lock Flag Blues */
  --blue-900: #0A2E52;
  --blue-700: #14508A;
  --blue-500: #1E72C0;
  --blue-400: #2E8CE0;
  --blue-300: #5AABF0;
  --sky:      #7EC8F8;

  /* Flag stripes */
  --stripe-white: #D4DCE8;
  --stripe-grey:  #7A8FA8;

  /* Gold accent (key) */
  --gold-600: #9A6E08;
  --gold-400: #C89018;
  --gold-300: #E8B030;
  --gold-200: #F5CC60;

  /* Text */
  --text-100: #F4F4F6;
  --text-200: #C8CDD8;
  --text-400: #888EA8;
  --text-600: #50566A;

  /* Borders */
  --border-dim:    #222228;
  --border-mid:    #303040;
  --border-bright: #444458;

  /* Metallic gradient */
  --metal-grad: linear-gradient(135deg, #3a3a4a 0%, #1a1a22 40%, #2a2a38 100%);
  --blue-grad:  linear-gradient(135deg, var(--blue-700) 0%, var(--blue-900) 100%);
  --gold-grad:  linear-gradient(135deg, var(--gold-300) 0%, var(--gold-600) 100%);

  /* Spacing */
  --nav-h: 72px;

  /* Typography */
  --font-display: 'Bebas Neue', 'Impact', sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg-800);
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }

/* ── Flag Stripe Decorator ── */
.flag-stripe {
  height: 4px;
  background: linear-gradient(to right,
    var(--blue-500) 0%,
    var(--blue-500) 40%,
    var(--stripe-white) 40%,
    var(--stripe-white) 60%,
    var(--stripe-grey) 60%,
    var(--stripe-grey) 100%
  );
}
.flag-stripe-thin {
  height: 2px;
  background: linear-gradient(to right,
    var(--blue-500) 0%,
    var(--blue-500) 40%,
    var(--stripe-white) 40%,
    var(--stripe-white) 60%,
    var(--stripe-grey) 60%,
    var(--stripe-grey) 100%
  );
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dim);
  z-index: 50;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  gap: 32px;
}

.navbar::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--blue-700), var(--blue-400), var(--blue-700));
  opacity: 0.6;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  color: var(--text-100);
}
.nav-logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stripe-grey);
  font-family: var(--font-heading);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-400);
  padding: 8px 14px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-100);
  background: var(--bg-600);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--blue-400);
  border-radius: 2px;
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--blue-grad);
  color: var(--text-100);
  padding: 9px 20px;
  border-radius: 4px;
  border: 1px solid var(--blue-500);
  transition: opacity 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
  cursor: pointer;
}
.nav-cta:hover {
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(30, 114, 192, 0.35);
}

/* ── Hamburger (mobile) ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-200);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(7, 7, 8, 0.97);
  border-bottom: 1px solid var(--border-mid);
  padding: 16px 24px 24px;
  gap: 4px;
  z-index: 49;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-200);
  padding: 12px 16px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.nav-mobile a:hover { color: var(--text-100); background: var(--bg-600); }
.nav-mobile .nav-cta { text-align: center; margin-top: 8px; }

/* ── Page Wrapper ── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }

/* ── Section ── */
.section {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 6vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}
.section-full {
  padding: clamp(48px, 8vw, 96px) clamp(16px, 6vw, 64px);
  width: 100%;
}
.section-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-400);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-400);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text-100);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-400);
  line-height: 1.7;
  max-width: 620px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-900);
}
/* Photo layer — sits behind gradients */
.hero-photo-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center 35%;
  opacity: 0.38;
  filter: blur(10px) brightness(0.6) saturate(0.4);
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, rgba(20, 80, 138, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 80%, rgba(10, 46, 82, 0.25) 0%, transparent 60%);
}
.hero-bg-stripes {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 42%;
  background: linear-gradient(to bottom,
    var(--blue-900) 0%,
    var(--blue-700) 33.3%,
    var(--stripe-white) 33.3%,
    var(--stripe-white) 55%,
    var(--stripe-grey) 55%,
    var(--stripe-grey) 100%
  );
  opacity: 0.08;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(16px, 6vw, 64px);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.hero-text {}
.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--blue-400);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--text-100);
  margin-bottom: 12px;
}
.hero-title span {
  color: var(--blue-400);
}
.hero-tagline {
  font-family: var(--font-heading);
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stripe-grey);
  margin-bottom: 32px;
}
.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-200);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-logo-wrap {
  width: clamp(200px, 30vw, 380px);
  aspect-ratio: 1;
  flex-shrink: 0;
}
.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(30, 114, 192, 0.4));
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue-grad);
  color: var(--text-100);
  border: 1px solid var(--blue-500);
  box-shadow: 0 2px 12px rgba(30, 114, 192, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 4px 24px rgba(30, 114, 192, 0.45);
  filter: brightness(1.12);
}
.btn-secondary {
  background: transparent;
  color: var(--text-200);
  border: 1px solid var(--border-bright);
}
.btn-secondary:hover {
  background: var(--bg-600);
  border-color: var(--stripe-grey);
  color: var(--text-100);
}
.btn-gold {
  background: var(--gold-grad);
  color: var(--bg-900);
  border: 1px solid var(--gold-300);
}
.btn-gold:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(232, 176, 48, 0.35);
}
.btn-sm { padding: 9px 18px; font-size: 0.72rem; }
.btn-lg { padding: 16px 36px; font-size: 0.9rem; }

/* ── Cards ── */
.card {
  background: var(--bg-700);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  cursor: default;
}
.card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.card-body { padding: 24px; }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.card-label {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 10px;
  line-height: 1.3;
}
.card-text {
  font-size: 0.9rem;
  color: var(--text-400);
  line-height: 1.65;
}

/* ── Stats Bar ── */
.stats-bar {
  background: var(--bg-700);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.stat-item {
  padding: 28px 16px;
  text-align: center;
  border-right: 1px solid var(--border-dim);
}
.stat-item:last-child { border-right: none; }
.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--blue-400);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-400);
}

/* ── Grid layouts ── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

/* ── Event Card ── */
.event-card {
  background: var(--bg-700);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  display: flex;
  gap: 0;
}
.event-card:hover {
  border-color: var(--blue-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(30, 114, 192, 0.2);
}
.event-date-col {
  background: var(--blue-grad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 18px;
  min-width: 72px;
  flex-shrink: 0;
  text-align: center;
}
.event-day {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: #fff;
}
.event-month {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.event-body {
  padding: 20px 24px;
  flex: 1;
}
.event-type {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 6px;
}
.event-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 8px;
  line-height: 1.3;
}
.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-400);
}
.event-meta-item svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ── Member Card ── */
.member-card {
  background: var(--bg-700);
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
  padding: 32px 24px;
}
.member-card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.member-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--border-bright);
}
.member-avatar-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-500);
  border: 2px solid var(--border-bright);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.member-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 4px;
}
.member-role {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 14px;
}
.member-bio {
  font-size: 0.85rem;
  color: var(--text-400);
  line-height: 1.6;
}

/* ── Form ── */
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-200);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg-600);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  color: var(--text-100);
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
}
.form-input::placeholder { color: var(--text-600); }
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(30, 114, 192, 0.15);
}
.form-select option { background: var(--bg-600); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint {
  font-size: 0.78rem;
  color: var(--text-600);
  margin-top: 5px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-400);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue-500);
  flex-shrink: 0;
}

/* ── Divider ── */
.divider {
  border: none;
  height: 1px;
  background: var(--border-dim);
  margin: 48px 0;
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-blue {
  background: rgba(30, 114, 192, 0.15);
  color: var(--blue-300);
  border: 1px solid rgba(30, 114, 192, 0.25);
}
.badge-gold {
  background: rgba(200, 144, 24, 0.15);
  color: var(--gold-300);
  border: 1px solid rgba(200, 144, 24, 0.25);
}
.badge-grey {
  background: rgba(122, 143, 168, 0.12);
  color: var(--stripe-grey);
  border: 1px solid rgba(122, 143, 168, 0.2);
}

/* ── Alert Box ── */
.alert {
  padding: 14px 18px;
  border-radius: 4px;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.alert-info {
  background: rgba(30, 114, 192, 0.12);
  border: 1px solid rgba(30, 114, 192, 0.25);
  color: var(--sky);
}
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: var(--bg-900);
  border-bottom: 1px solid var(--border-dim);
  padding: clamp(40px, 6vw, 72px) clamp(16px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(14, 56, 100, 0.2) 0%, transparent 70%);
}
.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-600);
  margin-bottom: 16px;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
}
.breadcrumb a { color: var(--text-400); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--blue-400); }
.breadcrumb svg { width: 10px; height: 10px; }

/* ── Footer ── */
.footer {
  background: var(--bg-900);
  border-top: 1px solid var(--border-dim);
  margin-top: auto;
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px clamp(16px, 6vw, 64px) 32px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
}
.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
}
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-100);
}
.footer-desc {
  font-size: 0.85rem;
  color: var(--text-400);
  line-height: 1.65;
  max-width: 240px;
  margin-bottom: 20px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--bg-600);
  border: 1px solid var(--border-mid);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-400);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  cursor: pointer;
}
.footer-social a:hover { color: var(--text-100); border-color: var(--blue-500); background: var(--bg-500); }
.footer-social svg { width: 16px; height: 16px; }
.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-200);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a {
  font-size: 0.85rem;
  color: var(--text-400);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a:hover { color: var(--blue-300); }
.footer-col ul a svg { width: 12px; height: 12px; opacity: 0.5; }
.footer-bottom {
  border-top: 1px solid var(--border-dim);
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px clamp(16px, 6vw, 64px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-600);
}
.footer-legal {
  display: flex;
  gap: 16px;
}
.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-600);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--text-400); }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.lang-btn {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 5px 8px;
  border-radius: 3px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-600);
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  line-height: 1;
}
.lang-btn:hover {
  color: var(--text-200);
  border-color: var(--border-mid);
}
.lang-btn.active {
  color: var(--blue-300);
  border-color: var(--blue-700);
  background: rgba(20, 80, 138, 0.2);
}
.lang-switcher--mobile {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-dim);
  justify-content: center;
  gap: 6px;
}
.lang-switcher--mobile .lang-btn {
  font-size: 0.75rem;
  padding: 7px 14px;
}

/* ── API loading / error states ── */
.api-loading {
  padding: 48px 0;
  text-align: center;
  color: var(--text-600);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.api-error {
  padding: 32px;
  background: var(--bg-700);
  border: 1px solid var(--border-mid);
  border-radius: 6px;
  color: var(--text-400);
  font-size: 0.9rem;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta, .lang-switcher:not(.lang-switcher--mobile) { display: none; }
  .nav-hamburger { display: flex; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-logo-wrap { width: 160px; margin: 0 auto; order: -1; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .event-date-col { flex-direction: row; gap: 6px; padding: 12px 16px; }
}
@media (max-width: 480px) {
  .footer-main { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border-dim); }
  .stat-item:last-child { border-bottom: none; }
}

/* ── Prefers reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
