/* ── ZENTHING – base.css ── */
:root {
  --bg: #ffffff;
  --text: #0a0a0a;
  --muted: #999;
  --border: #e0e0e0;
  --border-dark: #bbb;
  --nav-h: 52px;
  --font: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 0 22px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.15s;
}
.nav-links a:hover { opacity: 0.45; }
.nav-links a.active { opacity: 0.45; }

.nav-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-link img {
  height: 14px;
  width: auto;
  display: block;
}

/* ─── FOOTER ─── */
#site-footer {
  border-top: 1px solid var(--border);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--bg);
}
.footer-copy {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.footer-legal {
  display: flex;
  gap: 20px;
  list-style: none;
}
.footer-legal a {
  font-size: 11px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.15s;
}
.footer-legal a:hover { color: var(--text); }

/* ─── LEGAL MODALS ─── */
.legal-modal {
  display: none;
  position: fixed; inset: 0; z-index: 800;
  background: rgba(0,0,0,0.55);
  align-items: center; justify-content: center;
  padding: 24px;
}
.legal-modal.open { display: flex; }
.legal-box {
  background: #fff;
  max-width: 580px; width: 100%;
  max-height: 82vh; overflow-y: auto;
  padding: 40px 44px;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
@media (max-width: 600px) { .legal-box { padding: 28px 20px; } }
.legal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; color: var(--muted);
  font-size: 22px; cursor: pointer; line-height: 1;
  transition: color 0.15s;
}
.legal-close:hover { color: var(--text); }
.legal-box h2 {
  font-size: 15px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); margin-bottom: 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
}
.legal-box h3 {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--muted); margin: 20px 0 7px;
}
.legal-box p, .legal-box address {
  font-size: 13px; color: #444;
  line-height: 1.85; font-style: normal; margin-bottom: 8px;
}
.legal-box a { color: var(--text); }

/* ─── COOKIE BANNER ─── */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 700;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  padding: 14px 22px;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25,0,0,1);
}
#cookie-banner.visible { transform: translateY(0); }
.cookie-text {
  font-size: 12px; color: #555; line-height: 1.6;
  flex: 1; min-width: 200px;
}
.cookie-text a {
  color: var(--text); text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer;
}
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-btn {
  font-family: var(--font);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 18px; cursor: pointer; border-radius: 0;
  transition: all 0.15s;
}
.cookie-reject {
  background: #fff; border: 1px solid var(--border-dark); color: #555;
}
.cookie-reject:hover { border-color: var(--text); color: var(--text); }
.cookie-accept {
  background: var(--text); border: 1px solid var(--text); color: #fff;
}
.cookie-accept:hover { opacity: 0.75; }
