/* ──────────────────────────────────────────────────────────
   Compà — Shared UI  |  Nav · Footer · Cookie Banner
   ────────────────────────────────────────────────────────── */

/* ── NAV ──────────────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.52) 0%, transparent 100%);
  transition: background 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(8,8,15,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  border-color: rgba(255,255,255,0.07);
}
.nav-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo img { height: 34px; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 0.1rem;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.78); text-decoration: none;
  padding: 0.4rem 0.9rem; border-radius: 100px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-links a.active, .nav-links a.nav-active { color: #C9963A; }

/* hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: #F0EDE6; border-radius: 1px; transition: all 0.2s;
}

/* mobile overlay */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: rgba(8,8,15,0.98);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: 'Montserrat', sans-serif; font-size: 2.1rem; font-weight: 800;
  color: #F0EDE6; text-decoration: none; letter-spacing: -0.03em;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: #C9963A; }
.nav-mobile-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(240,237,230,0.7); font-size: 1.1rem; cursor: pointer;
  border-radius: 50%; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.nav-mobile-close:hover { background: rgba(255,255,255,0.12); color: #fff; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 0;
  font-family: 'Montserrat', sans-serif;
}
.site-footer .footer-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.site-footer .footer-brand img { height: 32px; display: block; margin-bottom: 1.1rem; }
.site-footer .footer-brand p {
  font-size: 0.85rem; color: rgba(240,237,230,0.44);
  line-height: 1.7; max-width: 265px; margin-bottom: 1.25rem;
}
.site-footer .footer-social { display: flex; gap: 0.55rem; }
.site-footer .footer-social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,237,230,0.5); text-decoration: none;
  transition: all 0.2s;
}
.site-footer .footer-social a svg { display: block; }
.site-footer .footer-social a:hover {
  border-color: #C9963A; color: #C9963A; background: rgba(201,150,58,0.1);
}
.site-footer .footer-col-title {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: #C9963A; margin-bottom: 1rem;
}
.site-footer .footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.58rem;
}
.site-footer .footer-col a {
  font-size: 0.85rem; color: rgba(240,237,230,0.44);
  text-decoration: none; transition: color 0.2s;
}
.site-footer .footer-col a:hover { color: #F0EDE6; }
.site-footer .footer-bottom-bar {
  max-width: 1280px; margin: 0 auto;
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 0.75rem;
  font-size: 0.72rem; color: rgba(240,237,230,0.27); letter-spacing: 0.03em;
}
.site-footer .footer-bottom-bar a {
  color: inherit; text-decoration: none; transition: color 0.2s;
}
.site-footer .footer-bottom-bar a:hover { color: rgba(240,237,230,0.55); }

@media (max-width: 900px) {
  .site-footer .footer-wrap { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .site-footer .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 580px) {
  .site-footer .footer-wrap { grid-template-columns: 1fr; gap: 1.75rem; }
}

/* ── COOKIE BANNER ─────────────────────────────────────────── */
#cookie-banner {
  position: fixed; bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  z-index: 9000;
  width: min(540px, calc(100vw - 2rem));
  background: rgba(10,10,18,0.97);
  border: 1px solid rgba(201,150,58,0.28);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-family: 'Montserrat', sans-serif;
  animation: cookieSlide 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
#cookie-banner.hidden { display: none !important; }
@keyframes cookieSlide {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
}
#cookie-banner p {
  flex: 1; font-size: 0.8rem; color: rgba(240,237,230,0.72);
  line-height: 1.55; margin: 0; min-width: 160px;
}
#cookie-banner a { color: #C9963A; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 0.55rem; flex-shrink: 0; }
.cookie-btn {
  padding: 0.52rem 1.1rem; border-radius: 100px;
  font-family: 'Montserrat', sans-serif; font-size: 0.76rem; font-weight: 700;
  cursor: pointer; border: none; transition: all 0.2s; white-space: nowrap;
}
.cookie-btn-accept { background: #C9963A; color: #0a0a0a; }
.cookie-btn-accept:hover { background: #E5B05A; }
.cookie-btn-decline {
  background: rgba(255,255,255,0.07); color: rgba(240,237,230,0.65);
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.cookie-btn-decline:hover { background: rgba(255,255,255,0.13); color: #F0EDE6; }
