:root {
  --bg: #0d0b0a;
  --panel: #17130f;
  --panel2: #201a14;
  --line: #3a2e22;
  --text: #efe6d8;
  --muted: #b3a48f;
  --gold: #e3b45a;
  --gold2: #f4d48a;
  --red: #b53b2a;
  --green: #6fbf73;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
a { color: var(--gold2); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

header.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(13, 11, 10, .92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.nav { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .5px; color: var(--gold2); }
.logo span { color: var(--red); }
.nav nav { display: flex; gap: 16px; margin-left: auto; overflow-x: auto; }
.nav nav a { color: var(--text); white-space: nowrap; font-size: 15px; }
.nav nav a.active, .nav nav a:hover { color: var(--gold2); text-decoration: none; }

.hero {
  position: relative; min-height: 62vh; display: flex; align-items: flex-end;
  background: url(img/hero.webp) center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,10,.1) 30%, var(--bg) 98%); }
.hero .wrap { position: relative; z-index: 1; padding-bottom: 48px; }
.hero h1 { font-size: clamp(30px, 6vw, 54px); margin: 0 0 8px; text-shadow: 0 2px 12px #000; }
.hero p { color: var(--muted); max-width: 620px; margin: 0 0 22px; font-size: 18px; }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: var(--radius); border: 1px solid var(--gold);
  background: linear-gradient(180deg, #e9bd63, #b9862f); color: #1a1209; font-weight: 700; cursor: pointer; font-size: 16px;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--gold2); }
.btn[disabled] { opacity: .5; cursor: default; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 44px 0; }
h2 { font-size: 26px; margin: 0 0 18px; color: var(--gold2); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.shots img { border-radius: var(--radius); border: 1px solid var(--line); }
.muted { color: var(--muted); }
.small { font-size: 14px; }

form .row { margin-bottom: 14px; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, textarea, select {
  width: 100%; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--panel2); color: var(--text); font-size: 16px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: 4px; }
.msg { margin-top: 14px; padding: 12px; border-radius: 8px; display: none; }
.msg.ok { display: block; background: #1d2b1d; border: 1px solid #355d36; color: #cfe8cf; }
.msg.err { display: block; background: #2e1714; border: 1px solid #6b2c22; color: #f2cfc8; }
.msg.info { display: block; background: #241d12; border: 1px solid #5b4626; color: #f1e2c2; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--gold2); font-weight: 600; font-size: 14px; }
td.num, th.num { text-align: right; }
.tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.tabs button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); padding: 8px 14px; border-radius: 8px; cursor: pointer; }
.tabs button.on { border-color: var(--gold); color: var(--gold2); }
.table-wrap { overflow-x: auto; }

.news-item { border-bottom: 1px solid var(--line); padding: 16px 0; }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { margin: 0 0 4px; }
.news-item .date { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.news-item .body { white-space: pre-wrap; }

.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

footer { border-top: 1px solid var(--line); padding: 26px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; }

@media (max-width: 640px) {
  .nav { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 8px; }
  .nav nav { margin-left: 0; width: 100%; }
  .hero { min-height: 52vh; }
}
