:root{
  --bg: #000000;
  --surface: #0D0D0D;
  --card: #151515;
  --card-hover: #1B1B1B;
  --gold: #D4AF37;
  --gold-soft: rgba(212,175,55,0.12);
  --success: #7FBF9F;
  --warning: #E4C98A;
  --danger: #D9A5A5;
  --info: #8FAADC;
  --text: #F5F5F5;
  --text-muted: #A8A8A8;
  --line: rgba(255,255,255,0.08);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
}

a{ color: inherit; }

img, svg{ max-width: 100%; display: block; }

/* ---------- nav ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.brand .mark{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .mark svg{ width: 19px; height: 19px; }

.site-nav{
  display: flex;
  gap: 4px;
}

.site-nav a{
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}

.site-nav a:hover{
  color: var(--text);
  background: var(--surface);
}

.site-nav a.active{
  color: var(--gold);
  background: var(--gold-soft);
}

.nav-toggle{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  color: var(--text);
  align-items: center;
  justify-content: center;
}

@media (max-width: 760px){
  .site-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 16px 16px;
    display: none;
  }
  .site-nav.open{ display: flex; }
  .site-nav a{ padding: 12px 10px; }
  .nav-toggle{ display: flex; }
}

/* ---------- shared layout ---------- */
main{
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

.updated{
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 40px 0 8px;
}

section.block{
  padding: 20px 0;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 20px;
}

.card h2{
  margin: 0 0 14px;
  font-size: 1.15rem;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card h2 svg{ width: 20px; height: 20px; flex-shrink: 0; }

.card p{
  margin: 0 0 12px;
  color: #DADADA;
  font-size: 0.97rem;
}

.card p:last-child{ margin-bottom: 0; }

.card ul{
  margin: 0 0 12px;
  padding-left: 20px;
  color: #DADADA;
  font-size: 0.97rem;
}

.card li{ margin-bottom: 6px; }

.contact-card{
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.contact-card div span{
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.contact-card a{
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}

/* ---------- footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  margin-top: 56px;
}

.site-footer .wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer .links{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.site-footer a{
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover{ color: var(--gold); }

.site-footer strong{ color: var(--gold); }
