/* ===== ASUKPA — Association Suisse pour l'Ukraine de Protection des Animaux ===== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand:   #006EC7;
  --accent:  #006EC7;
  --dark:    #222;
  --light:   #f8f9fa;
  --text:    #222;
  --muted:   #555;
  --border:  #dde3e8;
  --nav-bg:  #f3f4f6;
  --nav-hover: #006EC7;
  --white:   #fff;
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 20px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.header-brand { display: flex; align-items: center; gap: 14px; }
.header-brand img { height: 72px; width: auto; display: block; }
.header-title h1 {
  font-size: 13px;
  font-weight: bold;
  color: var(--text);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.header-title .acronym {
  font-size: 20px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: .08em;
}
.header-founded {
  font-size: 12px;
  font-weight: bold;
  color: var(--accent);
  text-align: right;
  white-space: nowrap;
}

/* ── Navigation ──────────────────────────────────────────── */
.site-nav {
  background: var(--nav-bg);
}
.nav-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.nav-inner a {
  display: inline-block;
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  padding: 9px 14px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-inner a:hover,
.nav-inner a.active {
  background: var(--accent);
  color: var(--white);
}
.nav-sep {
  color: rgba(255,255,255,.4);
  padding: 0 2px;
  font-size: 12px;
  user-select: none;
}

/* ── Banner strip ────────────────────────────────────────── */
.site-banner {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  line-height: 0;
}
.site-banner img { width: 100%; height: auto; display: block; }

/* ── Page wrapper ────────────────────────────────────────── */
.page-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}
.content-main { flex: 1; min-width: 0; }
.content-side  { width: 220px; flex-shrink: 0; }

/* ── Section titles ──────────────────────────────────────── */
.section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: bold;
  color: var(--text);
  margin-bottom: 4px;
}
.section-title .tag {
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: bold;
  padding: 2px 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: 2px;
}
.section-divider {
  height: 4px;
  background: var(--accent);
  margin-bottom: 18px;
  border-radius: 1px;
}

/* ── Content prose ───────────────────────────────────────── */
.prose { color: var(--text); font-size: 13px; line-height: 1.75; }
.prose p { margin-bottom: 12px; }
.prose b, .prose strong { font-weight: bold; }
.prose .brand-red  { color: var(--brand); }
.prose .brand-blue { color: var(--accent); }
.prose h2 {
  font-size: 15px;
  font-weight: bold;
  color: var(--accent);
  margin: 18px 0 6px;
  text-align: center;
}
.prose ul.bullet-list {
  list-style: none;
  padding: 0;
}
.prose ul.bullet-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.prose ul.bullet-list li::before {
  content: "•";
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── Side sub-menu ───────────────────────────────────────── */
.side-menu {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
}
.side-menu h4 {
  font-size: 11px;
  font-weight: bold;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.side-menu a, .side-menu span.active-item {
  display: block;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 0;
  border-bottom: 1px solid var(--border);
  color: var(--accent);
  text-align: right;
}
.side-menu a:last-child, .side-menu span:last-child { border-bottom: none; }
.side-menu span.active-item {
  color: var(--text);
  cursor: default;
  text-decoration: none;
}
.side-menu span.active-item::after { content: " •"; color: var(--accent); }

/* ── Gallery ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
  margin-top: 16px;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: 3px; }
.gallery-grid img {
  width: 100%;
  height: 90px;
  object-fit: cover;
  display: block;
  transition: opacity .2s, transform .2s;
}
.gallery-grid a:hover img { opacity: .85; transform: scale(1.04); }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  user-select: none;
}

/* ── Intro hero (accueil) ────────────────────────────────── */
.intro-hero {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.intro-hero .logo-big img { height: 100px; width: auto; }
.intro-flag {
  margin: 20px 0 8px;
}
.intro-flag img { height: 30px; }
.lang-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
  font-family: Tahoma, Arial, sans-serif;
}
.lang-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 6px;
}
.lang-links a {
  font-size: 13px;
  font-weight: bold;
  padding: 6px 16px;
  border: 2px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  transition: background .15s, color .15s;
}
.lang-links a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}
.enter-btn {
  margin-top: 20px;
  display: inline-block;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 28px;
  border-radius: 24px;
  text-decoration: none;
  transition: background .15s;
  letter-spacing: .04em;
}
.enter-btn:hover { background: #006EC7; text-decoration: none; }

/* ── Map & sidebar images ────────────────────────────────── */
.side-images { text-align: center; }
.side-images img {
  max-width: 100%;
  border-radius: 3px;
  margin-bottom: 10px;
  display: block;
}
.side-thumb {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
.side-thumb a img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 3px;
  opacity: .6;
  transition: opacity .2s;
}
.side-thumb a:hover img { opacity: 1; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: var(--nav-bg);
  color: rgba(255,255,255,.75);
  padding: 28px 20px;
  font-size: 12px;
  margin-top: 30px;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.footer-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}
.footer-nav a {
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: bold;
  padding: 2px 8px;
}
.footer-nav a:hover { color: #fff; }
.footer-sep { color: rgba(255,255,255,.3); }
.footer-contact { font-size: 12px; line-height: 1.8; }
.footer-contact a { color: var(--accent); }
.footer-copyright {
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,.45);
}

/* ── Links page ──────────────────────────────────────────── */
.links-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}
.links-list li {
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.links-list li a {
  font-size: 14px;
  font-weight: bold;
  color: var(--accent);
}

/* ── Donations ───────────────────────────────────────────── */
.donation-box {
  background: var(--light);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: 20px;
  margin-top: 16px;
}
.donation-box h3 { color: var(--accent); font-size: 14px; margin-bottom: 10px; }
.donation-box table { width: 100%; border-collapse: collapse; font-size: 13px; }
.donation-box td { padding: 5px 8px; border-bottom: 1px solid var(--border); }
.donation-box td:first-child { font-weight: bold; color: var(--muted); }

/* ── Thanks ──────────────────────────────────────────────── */
.thanks-names {
  text-align: center;
  font-size: 14px;
  line-height: 2.2;
}
.thanks-names .name { font-weight: bold; display: block; }

/* ── Price table ─────────────────────────────────────────── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-top: 16px;
}
.price-table th {
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  text-align: left;
}
.price-table td {
  padding: 7px 12px;
  border-bottom: 1px solid var(--border);
}
.price-table tr:nth-child(even) td { background: var(--light); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 680px) {
  .page-wrap { flex-direction: column; }
  .content-side { width: 100%; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .header-founded { text-align: left; }
  .nav-inner a { padding: 8px 10px; font-size: 11px; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(80px,1fr)); }
}

/* ===== 2026 Refresh: campaigns-first identity ===== */
:root {
  --brand: #006EC7;
  --brand-dark: #006EC7;
  --accent: #006EC7;
  --ukraine: #e5e7eb;
  --ink: #202020;
  --text: #333;
  --muted: #667085;
  --light: #f5f6f8;
  --border: #d9dce1;
  --nav-bg: rgba(255, 255, 255, .9);
  --white: #fff;
  --shadow: 0 18px 55px rgba(0, 0, 0, .10);
}

body {
  color: var(--text);
  background: #f5f6f8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: var(--accent); }

.site-header {
  border-bottom: 0;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: var(--accent);
}

.header-inner {
  max-width: 1120px;
  padding: 28px 24px 22px;
  align-items: center;
}

.header-brand { gap: 18px; }

.header-brand img {
  height: 86px;
  padding: 8px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, .10);
}

.header-title .acronym {
  color: var(--brand);
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: .04em;
  line-height: 1;
}

.header-title h1 {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(12px, 1.8vw, 15px);
  text-transform: none;
  letter-spacing: .01em;
  font-weight: 700;
}

.header-founded {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, .7);
  border: 1px solid #d9dce1;
  border-radius: 999px;
  padding: 9px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, .65);
  border-bottom: 1px solid #d9dce1;
}

.nav-inner {
  max-width: 1120px;
  padding: 8px 24px;
  gap: 8px;
}

.nav-toggle {
  display: none;
}

.nav-sep { display: none; }

.nav-inner a {
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
}

.nav-inner a:hover,
.nav-inner a.active {
  color: #fff;
  background: var(--accent);
  text-decoration: none;
}

.campaign-spotlight {
  max-width: 1120px;
  margin: 28px auto 4px;
  padding: 0 24px;
}

.campaign-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  background: #fff;
  border: 1px solid #d9dce1;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
}

.campaign-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(0, 110, 199, .12);
}

.campaign-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 14px;
}

.campaign-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 28px;
  border-radius: 28px;
  color: #fff;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.campaign-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #006EC7;
}

.campaign-card::after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -64px;
  width: 210px;
  height: 210px;
  border-radius: 999px;
  z-index: -1;
  background: rgba(255, 255, 255, .12);
}

.campaign-card.petition::before {
  background: #006EC7;
}

.campaign-card.donation::before {
  background: #5f6b7a;
}

.campaign-card .pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.campaign-card h2,
.campaign-card h3 {
  margin: 16px 0 10px;
  color: #fff;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.08;
}

.campaign-card p {
  max-width: 58ch;
  color: rgba(255, 255, 255, .88);
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 18px;
}

.campaign-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.campaign-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.campaign-btn:hover {
  color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.campaign-btn.secondary {
  background: rgba(255, 255, 255, .13);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}

.campaign-btn.secondary:hover { color: #fff; background: rgba(255, 255, 255, .2); }

.page-wrap {
  max-width: 1120px;
  padding: 32px 24px 52px;
  gap: 34px;
}

.content-main,
.content-side .side-menu,
.side-images {
  background: rgba(255, 255, 255, .82);
  border: 1px solid #d9dce1;
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .08);
}

.content-main { padding: 30px; }

.content-side { width: 260px; }

.side-images,
.side-menu { padding: 18px; }

.section-title .tag {
  background: var(--accent);
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 11px;
}

.section-divider {
  height: 2px;
  background: var(--accent);
  margin: 12px 0 24px;
}

.prose {
  font-size: 15px;
  line-height: 1.82;
}

.prose h2 {
  color: var(--accent);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  margin-bottom: 18px;
}

.brand-red { color: var(--accent) !important; }
.brand-blue { color: var(--accent) !important; }

.side-menu {
  background: #fff;
  border-radius: 24px;
}

.side-menu h4 { color: var(--accent); }

.side-menu a,
.side-menu span.active-item {
  text-align: left;
  font-size: 13px;
  padding: 9px 0;
}

.side-menu span.active-item { color: var(--ink); }

.gallery-grid { gap: 12px; }

.gallery-grid a {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.gallery-grid img { height: 124px; }

.price-table,
.donation-box,
.links-list li {
  border-radius: 18px;
  overflow: hidden;
}

.donation-box {
  border: 1px solid #d9dce1;
  background: #fff;
}

.site-footer {
  background: #202020;
  border-top: 5px solid var(--accent);
}

@media (max-width: 760px) {
  body {
    background: #fff;
  }

  .site-header {
    border-bottom: 1px solid #d9dce1;
  }

  .header-inner {
    padding: 18px 18px 16px;
    align-items: flex-start;
  }

  .header-brand {
    align-items: center;
    width: 100%;
  }

  .header-title .acronym {
    font-size: 30px;
  }

  .header-title h1 {
    font-size: 12px;
    line-height: 1.35;
  }

  .header-founded {
    font-size: 11px;
    padding: 7px 12px;
  }

  .site-nav {
    position: sticky;
    top: 0;
    padding: 10px 16px;
    background: #fff;
  }

  .nav-toggle {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #d9dce1;
    border-radius: 16px;
    background: #f5f6f8;
    color: #202020;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    padding: 0 16px;
  }

  .nav-toggle-bars,
  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: #006EC7;
    transition: transform .18s ease, opacity .18s ease;
  }

  .nav-toggle-bars {
    position: relative;
    order: 2;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-bars::before { top: -7px; }
  .nav-toggle-bars::after { top: 7px; }

  .site-nav.is-open .nav-toggle {
    color: #006EC7;
    background: #fff;
    border-color: #006EC7;
  }

  .site-nav.is-open .nav-toggle-bars {
    transform: rotate(45deg);
  }

  .site-nav.is-open .nav-toggle-bars::before {
    transform: translateY(7px) rotate(90deg);
  }

  .site-nav.is-open .nav-toggle-bars::after {
    opacity: 0;
  }

  .nav-inner {
    display: none;
    max-width: none;
    padding: 10px 0 0;
  }

  .site-nav.is-open .nav-inner {
    display: grid;
    gap: 8px;
  }

  .nav-inner a {
    display: flex;
    min-height: 46px;
    align-items: center;
    border: 1px solid #d9dce1;
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
    padding: 0 14px;
  }

  .nav-inner a:hover,
  .nav-inner a.active {
    border-color: #006EC7;
  }

  .campaign-spotlight {
    margin-top: 18px;
    padding: 0 16px;
  }

  .campaign-kicker {
    width: 100%;
    justify-content: center;
    font-size: 11px;
  }

  .campaign-grid { grid-template-columns: 1fr; }

  .campaign-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }

  .campaign-card::after {
    width: 140px;
    height: 140px;
    right: -48px;
    bottom: -54px;
  }

  .campaign-card h2,
  .campaign-card h3 {
    font-size: 25px;
  }

  .campaign-card p {
    font-size: 14px;
  }

  .campaign-btn {
    width: 100%;
  }

  .page-wrap {
    display: block;
    padding: 22px 16px 38px;
  }

  .content-main {
    padding: 20px;
    border-radius: 22px;
  }

  .content-side { width: 100%; }

  .content-side {
    margin-top: 18px;
  }

  .header-brand img { height: 72px; border-radius: 18px; }

  .prose {
    font-size: 14px;
    line-height: 1.72;
  }

  .prose h2 {
    font-size: 25px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .gallery-grid img {
    height: 132px;
  }

  .price-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .site-footer {
    margin-top: 12px;
    padding: 26px 16px;
  }
}

@media (max-width: 420px) {
  .header-brand {
    gap: 12px;
  }

  .header-brand img {
    height: 62px;
  }

  .header-title .acronym {
    font-size: 25px;
  }

  .header-title h1 {
    font-size: 11px;
  }

  .campaign-card h2,
  .campaign-card h3,
  .prose h2 {
    font-size: 22px;
  }

  .gallery-grid img {
    height: 112px;
  }
}
