*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f0f0f0;
  --muted: #888;
  --accent: #c9a84c;
  --accent-hover: #e0c070;
  --header-h: 130px;
  --font: 'Segoe UI', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  min-height: 100vh;
}

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 3px solid var(--accent);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 30px rgba(0,0,0,0.07);
}

/* gold top accent line */
.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* subtle diagonal watermark pattern */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    120deg,
    rgba(201,168,76,0.03) 0px,
    rgba(201,168,76,0.03) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 4px 40px rgba(0,0,0,0.12);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr auto auto auto 1fr;
  align-items: center;
}

.header-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
  margin: 0 24px;
  opacity: 0.5;
}

/* ── LOGO ── */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s, transform 0.3s;
}

.logo:hover .logo-img {
  opacity: 0.85;
  transform: scale(1.04);
}

/* ── NAV ── */
.nav-left .nav-list {
  justify-content: flex-end;
}

.nav-right .nav-list {
  justify-content: flex-start;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #111;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Contacts CTA button */
.nav-cta {
  color: var(--accent) !important;
  border: 1px solid var(--accent);
  padding: 8px 18px;
  border-radius: 4px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}

.nav-cta::after { display: none; }

.nav-cta:hover {
  background: var(--accent);
  color: #0a0a0a !important;
}

/* ── BURGER ── */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .header-divider { display: none; }

  .burger { display: flex; }

  .nav-left,
  .nav-right {
    position: fixed;
    top: var(--header-h);
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 20px 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    pointer-events: none;
  }

  .nav-left { z-index: 999; }
  .nav-right { z-index: 998; top: calc(var(--header-h) + 0px); }

  .nav-left.open,
  .nav-right.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-left .nav-list,
  .nav-right .nav-list {
    flex-direction: column;
    gap: 4px;
    padding: 0 24px;
    justify-content: flex-start;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }
}
