/* VISUMO website — premium redesign with rich teal-emerald + warm gold palette */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,600&display=swap');

:root {
  color-scheme: light;
  /* Brand palette — crisp White & fresh Emerald Green */
  --primary:        #0d8363;
  --primary-dark:   #085c45;
  --primary-light:  #10b981;
  --primary-soft:   #ecfdf5;
  --primary-tint:   #f4faf7;
  --gold:           #0d8363;
  --gold-light:     #34d399;
  --gold-soft:      #ecfdf5;
  --ink:            #12231f;
  --muted:          #4a665e;
  --line:           #dde9e4;
  --bg:             #ffffff;
  --surface:        #ffffff;
  --surface-alt:    #f3f8f5;
  --up:             #0d8363;
  --down:           #dc2626;
  --warn-bg:        #fef9ee;
  --warn-line:      #fde68a;
  --warn-ink:       #78350f;
  --warn-head:      #92400e;
  /* chart colours */
  --bar-2024:       #a7f3d0;
  --bar-internal:   #6ee7b7;
  /* misc tokens */
  --radius:         12px;
  --shadow:         0 1px 3px rgba(13, 131, 99, .06), 0 8px 24px rgba(13, 131, 99, .04);
  --shadow-lg:      0 8px 32px rgba(13, 131, 99, .10);
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, sans-serif;
  --transition: .2s cubic-bezier(.4, 0, .2, 1);

  /* Unified Header & Footer color in light mode — identical and distinct from page body! */
  --bar-bg:         #072e25;
  --bar-ink:        #f0fdf9;
  --bar-muted:      #9ec3b7;
  --bar-line:       #124a3c;
  --bar-hover:      #0e3e32;
  --bar-active:     #34d399;
  --bar-surface:    #0b382e;
  --band-bg:        #f0f7f4;

  /* Notice / alert colors (light mode) */
  --notice-ok-bg:   #eaf7f0;
  --notice-ok-bdr:  #7ecba3;
  --notice-ok-ink:  #0f3d25;
  --notice-err-bg:  #fdecea;
  --notice-err-bdr: #e99082;
  --notice-err-ink: #6a1c11;
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary:        #34d399;
  --primary-dark:   #6ee7b7;
  --primary-light:  #a7f3d0;
  --primary-soft:   #0d2921;
  --primary-tint:   #122c24;
  --gold:           #34d399;
  --gold-light:     #6ee7b7;
  --gold-soft:      #0d2921;
  --ink:            #f3fbf7;
  --muted:          #9eb8b0;
  --line:           #1b3b32;
  --bg:             #091512;
  --surface:        #102520;
  --surface-alt:    #142e27;
  --up:             #34d399;
  --down:           #f87171;
  --warn-bg:        #261c07;
  --warn-line:      #63470d;
  --warn-ink:       #fef3c7;
  --warn-head:      #fbbf24;
  --bar-2024:       #0d6e53;
  --bar-internal:   #094e3b;
  --shadow:         0 4px 20px rgba(0, 0, 0, .45);
  --shadow-lg:      0 12px 40px rgba(0, 0, 0, .6);

  /* Unified Header & Footer color in dark mode — identical and distinct from body #091512! */
  --bar-bg:         #030c09;
  --bar-ink:        #f3fbf7;
  --bar-muted:      #8ba79f;
  --bar-line:       #122b23;
  --bar-hover:      #081d16;
  --bar-active:     #34d399;
  --bar-surface:    #061913;
  --band-bg:        #0e241e;

  /* Notice / alert colors (dark mode) */
  --notice-ok-bg:   #122a1c;
  --notice-ok-bdr:  #2a5a3c;
  --notice-ok-ink:  #b0e8cc;
  --notice-err-bg:  #3a1814;
  --notice-err-bdr: #7a3830;
  --notice-err-ink: #ffd0c8;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; transition: background var(--transition), color var(--transition); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  transition: background var(--transition), color var(--transition);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-underline-offset: 3px; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin-top: .1em; }
h3 { font-size: 1.25rem; margin-top: 1.6em; }
p { margin: 0 0 1em; }

/* ===================== LAYOUT UTILITIES ===================== */
.wrap { width: min(1200px, 100% - 2.4rem); margin-inline: auto; }
.narrow { max-width: 760px; }
.narrow-block { max-width: 840px; }
.prose { max-width: 790px; }
.center { text-align: center; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6rem 1rem; z-index: 200; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bar-bg);
  border-bottom: 1.5px solid var(--bar-line);
  color: var(--bar-ink);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.header-row {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-height: 64px;
  flex-wrap: nowrap;
}

.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--bar-ink); flex-shrink: 0; }
.brand img { flex: 0 0 auto; object-fit: contain; border-radius: 50%; border: 1.5px solid var(--bar-line); box-shadow: 0 2px 8px rgba(0,0,0,.25); background: #ffffff; padding: 2px; }
.brand-name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; letter-spacing: .06em; color: #ffffff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .06em; color: #ffffff; }

/* Nav centered in the header */
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav > ul { list-style: none; display: flex; flex-wrap: nowrap; gap: .2rem; margin: 0; padding: 0; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--bar-ink);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
  position: relative;
}
.site-nav > ul > li > a:hover {
  background: var(--bar-hover);
  color: #ffffff;
}
.site-nav > ul > li > a[aria-current="page"],
.site-nav > ul > li.active-parent > a {
  color: var(--bar-active);
  font-weight: 600;
}
.site-nav > ul > li > a[aria-current="page"]::after,
.site-nav > ul > li.active-parent > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: .75rem;
  right: .75rem;
  height: 2.5px;
  background: var(--bar-active);
  border-radius: 2px;
}
.dd-arrow { transition: transform .2s ease; flex-shrink: 0; opacity: .8; stroke: currentColor; }

/* Dropdown menus */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: var(--bar-surface);
  border: 1px solid var(--bar-line);
  border-radius: 12px;
  padding: .45rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  list-style: none;
  z-index: 200;
}
.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
  display: block;
  animation: fadeInDown .2s ease;
}
.has-dropdown:hover > a .dd-arrow,
.has-dropdown.open > a .dd-arrow { transform: rotate(180deg); opacity: 1; color: var(--bar-active); }
.dropdown a {
  display: block;
  padding: .55rem .9rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--bar-ink);
  font-size: .86rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.dropdown a:hover { background: var(--bar-hover); color: #ffffff; }
.dropdown a.active { color: var(--bar-active); font-weight: 600; background: var(--bar-hover); }

@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Header right actions */
.header-right,
.header-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  margin-left: auto;
}

/* Half Moon Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bar-surface);
  border: 1.5px solid var(--bar-line);
  color: #facc15;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--bar-hover);
  border-color: var(--bar-active);
  transform: scale(1.08);
}
/* In Light Mode (default): display half moon, hide sun */
.theme-toggle-btn .icon-moon { display: block; color: #facc15; }
.theme-toggle-btn .icon-sun  { display: none; }

/* In Dark Mode ([data-theme="dark"]): display sun, hide moon */
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle-btn .icon-sun  { display: block; color: #facc15; }

/* Language switcher & dropdown */
.lang-dropdown, .lang-switcher { position: relative; }
.lang-toggle, .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .4rem .8rem;
  background: var(--bar-surface);
  border: 1.5px solid var(--bar-line);
  border-radius: 999px;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--bar-ink);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.lang-toggle:hover, .lang-btn:hover {
  background: var(--bar-hover);
  border-color: var(--bar-active);
  color: #ffffff;
}
.lang-chevron {
  transition: transform .2s ease;
  opacity: .75;
}
.lang-dropdown.open .lang-chevron,
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 155px;
  background: var(--bar-surface);
  border: 1px solid var(--bar-line);
  border-radius: 12px;
  padding: .35rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
  list-style: none;
  z-index: 200;
  margin: 0;
}
.lang-dropdown.open .lang-menu,
.lang-switcher.open .lang-menu {
  display: block;
  animation: fadeInDown .2s ease;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .8rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--bar-ink);
  font-size: .85rem;
  font-weight: 500;
  transition: background var(--transition), color var(--transition);
}
.lang-menu a:hover {
  background: var(--bar-hover);
  color: #ffffff;
}
.lang-menu a.selected,
.lang-menu a.active {
  color: var(--bar-active);
  font-weight: 700;
  background: var(--bar-hover);
}
.lang-flag { font-size: 1.05rem; }

/* CTA button */
.header-contact {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .85rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff !important;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 3px 12px rgba(14, 124, 107, .3);
  flex-shrink: 0;
}
.header-contact:hover, .header-contact:focus-visible {
  opacity: .92;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(14, 124, 107, .4);
}
.header-contact span { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: var(--bar-surface);
  border: 1.5px solid var(--bar-line);
  color: var(--bar-ink);
  border-radius: 999px;
  padding: .4rem .8rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  align-items: center;
  gap: .35rem;
}
.nav-toggle svg { flex-shrink: 0; }
.nav-toggle:hover { background: var(--bar-hover); border-color: var(--bar-active); color: #ffffff; }

/* Hamburger icon (three-bar) for mobile nav toggle */
.hamburger {
  display: block;
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--bar-ink);
  border-radius: 2px;
  transition: background var(--transition);
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--bar-ink);
  border-radius: 2px;
  transition: transform .2s ease, top .2s ease, bottom .2s ease;
}
.hamburger::before { top: -6px; }
.hamburger::after  { bottom: -6px; top: auto; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { bottom: 0; top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .header-contact { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bar-bg);
    border-bottom: 1.5px solid var(--bar-line);
    padding: .8rem 1.2rem 1.2rem;
    box-shadow: 0 16px 48px rgba(0,0,0,.45);
    flex: none;
  }
  .site-nav.open { display: block; animation: slideDown .25s ease; }
  .site-nav > ul { flex-direction: column; gap: .2rem; flex-wrap: wrap; }
  .site-nav > ul > li > a { padding: .65rem .9rem; font-size: .95rem; color: var(--bar-ink); }
  .dropdown {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: .3rem 0 .3rem 1rem;
    background: var(--bar-surface);
    border-radius: 8px;
    margin-top: .3rem;
    margin-bottom: .4rem;
    min-width: 0;
  }
  .has-dropdown:hover > .dropdown { animation: none; }
  .dropdown a { font-size: .9rem; padding: .5rem .9rem; color: var(--bar-ink); }
  .lang-btn span { display: none; }
  .lang-btn .dd-arrow { display: none; }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption {
  padding: .7rem 1rem;
  font-size: .87rem;
  color: var(--muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.lightbox[hidden] { display: none; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
}
.lightbox-content p {
  color: rgba(255,255,255,.8);
  margin-top: .8rem;
  font-size: .95rem;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .2s;
  z-index: 10;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,.3); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #043830 0%, var(--primary) 55%, var(--primary-light) 100%);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 75% 45%, rgba(255,255,255,.08) 0%, transparent 70%),
    radial-gradient(circle at 15% 80%, rgba(200,140,42,.1) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--band-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.lead { font-size: 1.15rem; color: var(--ink); max-width: 62ch; line-height: 1.7; }
.hero .lead { color: rgba(255,255,255,.92); }
.hero-fig img {
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 16px 48px rgba(0,0,0,.25), 0 0 0 4px rgba(255,255,255,.12);
  transform: rotate(.5deg);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.hero-fig img:hover { transform: rotate(0deg) scale(1.015); }
.motto {
  font-family: var(--serif);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-top: 1.4rem;
  opacity: .9;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-fig { order: -1; }
  .hero-fig img { transform: none; max-height: 320px; width: 100%; object-fit: cover; }
}

/* ===================== EYEBROW / BADGES ===================== */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 .6rem;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
}

.hero .eyebrow { color: var(--gold-light); }
.hero .eyebrow::before { background: var(--gold-light); }

/* ===================== BUTTONS ===================== */
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  color: var(--primary);
  padding: .75rem 1.5rem;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: .95rem;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.btn:hover { background: var(--gold-light); color: var(--primary-dark); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
/* Dark variant for use outside hero */
.section .btn, .band .btn, .page-title .btn {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(14,124,107,.3);
}
.section .btn:hover, .band .btn:hover { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); color: #fff; box-shadow: 0 8px 24px rgba(14,124,107,.4); }
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.5);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-sm { padding: .35rem .9rem; font-size: .88rem; }
.more { font-weight: 700; text-decoration: none; color: var(--primary); display: inline-flex; align-items: center; gap: .3rem; }
.more:hover { color: var(--primary-dark); text-decoration: underline; }

/* ===================== STATS BAND ===================== */
.band {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gold-soft) 100%);
  color: var(--ink);
  padding: 2.2rem 0 1.4rem;
  border-block: 1px solid var(--line);
  position: relative;
}
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.4rem;
  margin: 0 0 1rem;
  padding: 0;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label { display: block; font-weight: 700; text-transform: capitalize; color: var(--ink); }
.stat-detail { display: block; font-size: .87rem; opacity: .75; }

/* ===================== SECTIONS ===================== */
.section { padding: clamp(2.8rem, 6vw, 5rem) 0; }
.section.alt {
  background: var(--primary-tint);
  border-block: 1px solid var(--line);
}
.page-title {
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gold-soft) 100%);
  padding: clamp(2rem, 5vw, 3.5rem) 0 2rem;
  border-bottom: 1px solid var(--line);
}
.page-title h1 { color: var(--primary-dark); margin-bottom: .3em; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.two-col.top { align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ===================== CHIPS ===================== */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1.8rem; padding: 0; }
.chips li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--primary);
  border-radius: 10px;
  padding: .65rem 1.1rem;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow);
}
.chips li:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.chips li strong { color: var(--primary-dark); }
.chips span { font-size: .83rem; color: var(--muted); margin-top: .15rem; }

/* ===================== CARDS ===================== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.4rem; margin-top: 1.6rem; }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { margin-top: 0; font-size: 1.1rem; color: var(--primary-dark); }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.resource-card { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.resource-card .btn { margin-top: auto; }

/* ===================== FIGURES & CALLOUTS ===================== */
.figure { margin: 0 0 1.6rem; }
.figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.figure figcaption { font-size: .87rem; color: var(--muted); margin-top: .6rem; }
.figure-wide { max-width: 920px; }

.callout {
  background: var(--primary-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem;
  margin: 1.6rem 0;
}
.callout h3 {
  margin: 0 0 .35em;
  font-family: var(--sans);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--primary);
  font-weight: 700;
}
.callout p { margin: 0 0 .4em; }
.callout p:last-child { margin-bottom: 0; }
.callout-protect { background: var(--warn-bg); border-left-color: var(--warn-line); }
.callout-protect h3 { color: var(--ink); }

/* ===================== TABLES ===================== */
.table-wrap { overflow-x: auto; margin: 1.4rem 0 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.narrow-table { max-width: 760px; }
table { border-collapse: collapse; width: 100%; font-size: .96rem; }
th, td { padding: .8rem 1.1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; white-space: nowrap; }
tbody th { font-weight: 600; background: var(--primary-tint); width: 26%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tfoot th, tfoot td { font-weight: 700; background: var(--primary-soft); border-top: 2px solid var(--primary); border-bottom: 0; }
.num .r, .num th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.up { color: var(--up); font-weight: 600; }
.down { color: var(--down); font-weight: 600; }
@media (max-width: 640px) { tbody th { width: auto; } th, td { padding: .6rem .7rem; font-size: .9rem; } }

/* ===================== FINANCE ===================== */
.big-numbers { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.2rem; margin: 1.4rem 0 2rem; }
.big-numbers > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.big-numbers > div:hover { transform: translateY(-2px); }
.big-numbers dt { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.big-numbers dd { margin: .25rem 0 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.8vw, 1.8rem); font-weight: 700; color: var(--primary-dark); font-variant-numeric: tabular-nums; }
.big-numbers .accent { border-left: 3px solid var(--gold); }
.chart-card { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; margin: 1.2rem 0 .8rem; box-shadow: var(--shadow); }
.chart { display: block; width: 100%; min-width: 580px; height: auto; }
.chart .axis { stroke: var(--line); stroke-width: 2; }
.chart .bar-audited { fill: var(--primary); }
.chart .bar-internal { fill: var(--bar-internal); stroke: var(--primary); stroke-width: 1.5; stroke-dasharray: 4 3; }
.chart .bar-2024 { fill: var(--bar-2024); }
.chart text { fill: var(--ink); font-family: var(--sans); }
.chart .val { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.chart .lbl { font-size: 15px; font-weight: 600; }
.chart .sub { font-size: 12.5px; fill: var(--muted); }

/* ===================== VOICES / QUOTES ===================== */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.6rem; margin-top: 1.8rem; }
.quote {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.quote figcaption { font-size: .87rem; font-weight: 700; color: var(--muted); margin-bottom: .9rem; }
.tag { display: inline-block; background: var(--primary-soft); color: var(--primary); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; padding: .18rem .6rem; border-radius: 99px; margin-right: .4rem; font-weight: 600; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: 1.1rem; line-height: 1.65; }
.quote blockquote p { margin: 0 0 .6em; }

.priority-list { margin: 0; padding: 0; counter-reset: p; list-style: none; }
.priority-list li {
  counter-increment: p;
  position: relative;
  padding: 1rem 1.2rem 1rem 3.8rem;
  margin-bottom: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.priority-list li:hover { transform: translateX(4px); }
.priority-list li::before {
  content: counter(p);
  position: absolute;
  left: 1rem;
  top: .9rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: .9rem;
}
.lead-quote { font-family: var(--serif); font-size: 1.35rem; line-height: 1.6; color: var(--primary-dark); }

/* ===================== FORMS ===================== */
.form { max-width: 640px; }
.field { margin-bottom: 1.2rem; }
label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--ink); }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: .75rem .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,124,107,.15); }
.has-error input, .has-error textarea { border-color: var(--down); }
.err-text { color: var(--down); font-size: .88rem; margin: .3rem 0 0; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: .9rem 1.2rem; margin-bottom: 1.4rem; border: 1px solid; }
.notice.ok { background: var(--notice-ok-bg); border-color: var(--notice-ok-bdr); color: var(--notice-ok-ink); }
.notice.err { background: var(--notice-err-bg); border-color: var(--notice-err-bdr); color: var(--notice-err-ink); }
.inline { display: inline; }

.msg { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.1rem; box-shadow: var(--shadow); }
.msg.read { opacity: .7; border-left-color: var(--line); }
.msg h3 { margin: 0 0 .25em; font-size: 1.08rem; }
.pre { white-space: pre-wrap; }

/* ===================== FOOTER ===================== */
/* Footer: same deep-green as header (--bar-* tokens), 4-column layout like reference image */
.site-footer {
  background: var(--bar-bg);
  color: var(--bar-ink);
  padding: 3.5rem 0 0;
  margin-top: 3.5rem;
  border-top: 3px solid var(--bar-active);
  position: relative;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: 2.5rem;
}
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

/* Col 1: Brand */
.footer-about { padding-right: 1rem; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  margin-bottom: .9rem;
}
.footer-logo img {
  width: 46px; height: 46px;
  padding: .2rem;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--bar-active);
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  flex-shrink: 0;
}
.footer-brand-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .07em;
  color: #ffffff;
}
.footer-tagline {
  font-size: .87rem;
  color: var(--bar-active);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin: 0 0 .4rem;
  line-height: 1.35;
}
.footer-motto {
  font-family: var(--serif);
  font-style: italic;
  font-size: .93rem;
  color: var(--bar-muted);
  margin: 0 0 .65rem;
}
.footer-location {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .84rem;
  color: var(--bar-muted);
  margin: 0;
}
.footer-location svg { flex-shrink: 0; opacity: .7; }

/* Footer columns: heading + links */
.footer-h {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .73rem;
  margin: 0 0 1rem;
  color: #ffffff;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--bar-line);
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.site-footer .footer-links a {
  color: var(--bar-muted);
  text-decoration: none;
  font-size: .875rem;
  transition: color var(--transition);
  display: inline-block;
}
.site-footer .footer-links a:hover { color: var(--bar-active); }

/* Contact column with icons */
.footer-contact-list { list-style: none; margin: 0; padding: 0; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .55rem;
  font-size: .875rem;
  color: var(--bar-muted);
}
.footer-contact-item svg { flex-shrink: 0; margin-top: .15rem; opacity: .7; }
.footer-contact-item a { color: var(--bar-muted); text-decoration: none; transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--bar-active); }

/* Bottom bar */
.footer-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--bar-line);
  padding: 1rem 0;
  font-size: .8rem;
  color: var(--bar-muted);
}
.footer-base p { margin: 0; color: var(--bar-muted); font-size: .8rem; }
.footer-policy-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.footer-policy-links a {
  color: var(--bar-muted);
  text-decoration: none;
  font-size: .8rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  transition: color var(--transition);
}
.footer-policy-links a:hover { color: var(--bar-active); }
.footer-policy-links span { opacity: .4; }

/* ===================== ABOUT PAGE – CERTIFICATE & STIGMA ===================== */
.about-cert-box {
  background: var(--surface);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  margin: 1.2rem 0 1.8rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.about-cert-name {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.4;
  margin: 0 0 .75rem;
}
.about-cert-meta {
  font-size: .87rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.about-stigma-box h3 {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.about-antistigma {
  margin-top: 2rem;
  padding: 1.5rem 1.8rem;
  background: linear-gradient(135deg, var(--primary-soft) 0%, var(--gold-soft) 100%);
  border: 1px solid var(--line);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.about-antistigma-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary-dark);
  margin: 0 0 .8rem;
}
.about-antistigma-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.about-antistigma p {
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
}

/* ===================== PRINT ===================== */
@media print {
  .site-header, .site-footer, .skip, .btn, .nav-toggle { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .section, .page-title, .hero { padding: 1rem 0; background: #fff !important; }
}

/* ===================== SMALL SCREENS ===================== */
@media (max-width: 480px) {
  .brand-text small { display: none; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; justify-content: center; }
  .header-contact { display: none; }
  .footer-logo img { width: 40px; height: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .big-numbers { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .about-cert-box { padding: 1rem 1.1rem; }
}
@media (max-width: 380px) {
  h1 { font-size: 1.8rem; }
  .btn { padding: .6rem 1rem; font-size: .88rem; }
}

/* ===================== MOTION REDUCTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ===================== SCROLLBAR (Webkit) ===================== */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--primary-tint); }
::-webkit-scrollbar-thumb { background: var(--primary-light); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
