:root {
  --bg: #050705;
  --bg-elev: #0b100c;
  --bg-card: #101710;
  --bg-card-2: #151d16;
  --line: #1e2b20;
  --text: #f4f7f4;
  --muted: #9aab9c;
  --green: #22c55e;
  --green-2: #16a34a;
  --green-dim: rgba(34, 197, 94, 0.14);
  --green-glow: rgba(34, 197, 94, 0.35);
  --danger: #ef4444;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font); min-height: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: #4ade80; }
button, input, select { font-family: inherit; }

.wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 5, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.logo {
  display: flex; align-items: center; gap: 12px; color: var(--white);
  font-weight: 700; letter-spacing: 0.02em;
}
.logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(145deg, #22c55e, #065f32);
  display: grid; place-items: center;
  box-shadow: 0 0 24px var(--green-glow);
  color: #041208; font-weight: 800;
}
.logo small { display: block; font-weight: 500; color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  color: var(--text); padding: 8px 12px; border-radius: 999px; font-size: 14px;
}
.nav a:hover, .nav a.active { background: var(--green-dim); color: var(--green); }
.lang-switch {
  display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
}
.lang-switch a {
  color: var(--muted); padding: 7px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em;
}
.lang-switch a.active { background: var(--green); color: #052e16; }
.burger {
  display: none; background: none; border: 1px solid var(--line); color: var(--text);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
}

/* Hero */
.hero {
  position: relative; min-height: 78vh; display: grid; align-items: end;
  overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,5,0.35) 0%, rgba(5,7,5,0.55) 40%, rgba(5,7,5,0.96) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 90px 0 70px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green); font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--green); }
h1 { font-size: clamp(34px, 5vw, 62px); line-height: 1.08; letter-spacing: -0.03em; max-width: 16ch; }
.lead { max-width: 62ch; color: var(--muted); font-size: 18px; line-height: 1.7; margin: 22px 0 32px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.hero-stats div { min-width: 140px; }
.hero-stats b { display: block; color: var(--green); font-size: 28px; }
.hero-stats span { color: var(--muted); font-size: 13px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #052e16; font-weight: 700;
  border: 0; border-radius: 999px; padding: 13px 22px; cursor: pointer;
}
.btn:hover { background: #4ade80; color: #052e16; }
.btn-ghost {
  background: transparent; color: var(--white); border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Sections */
section { padding: 88px 0; }
.sec-title { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -0.03em; margin-bottom: 14px; }
.sec-sub { color: var(--muted); max-width: 70ch; line-height: 1.7; margin-bottom: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.card .media { height: 190px; overflow: hidden; }
.card .media img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 22px; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p, .card li { color: var(--muted); line-height: 1.65; font-size: 15px; }
.icon-card { padding: 24px; }
.icon {
  width: 44px; height: 44px; border-radius: 12px; background: var(--green-dim);
  color: var(--green); display: grid; place-items: center; margin-bottom: 16px; font-weight: 800;
}
.list { padding-left: 18px; display: grid; gap: 8px; }
.split-img { border-radius: var(--radius); height: 100%; min-height: 420px; object-fit: cover; width: 100%; border: 1px solid var(--line); }

.band { background: linear-gradient(180deg, #08110a, #050705); border-block: 1px solid var(--line); }
.pill {
  display: inline-block; border: 1px solid var(--line); color: var(--green);
  border-radius: 999px; padding: 6px 12px; font-size: 12px; margin: 0 8px 8px 0;
}

.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-box .card { padding: 28px; }
.muted { color: var(--muted); }
.addr { font-style: normal; line-height: 1.7; }

footer {
  border-top: 1px solid var(--line); padding: 36px 0 28px; color: var(--muted); font-size: 14px;
}
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot a { margin-right: 14px; }

/* Login */
.auth-wrap {
  min-height: calc(100vh - 78px);
  display: grid; place-items: center; padding: 48px 20px;
  background:
    radial-gradient(800px 400px at 20% 0%, rgba(34,197,94,0.12), transparent 60%),
    url("../images/china-night.jpg") center/cover no-repeat;
  position: relative;
}
.auth-wrap::before {
  content: ""; position: absolute; inset: 0; background: rgba(5,7,5,0.82);
}
.auth-card {
  position: relative; z-index: 1; width: min(440px, 100%);
  background: var(--bg-card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 28px; max-width: none; margin: 8px 0 8px; }
label { display: block; font-size: 13px; color: var(--muted); margin: 16px 0 6px; }
input, select {
  width: 100%; background: #0a0f0b; border: 1px solid var(--line); color: var(--text);
  border-radius: 12px; padding: 12px 14px; outline: none;
}
input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-dim); }
.err { color: var(--danger); font-size: 13px; min-height: 18px; margin-top: 10px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* Cabinet */
.cabinet-head { padding: 36px 0 10px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: end; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; }
.toolbar input, .toolbar select { width: auto; min-width: 220px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 860px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
th { color: var(--green); font-weight: 700; background: #0d140f; position: sticky; top: 0; }
tr:hover td { background: rgba(34,197,94,0.05); }
.dl {
  color: var(--green); background: none; border: 0; cursor: pointer; font-weight: 700; padding: 0;
}
.badge { color: #86efac; background: var(--green-dim); border-radius: 999px; padding: 3px 8px; font-size: 12px; }
.page-hero {
  position: relative; height: 320px; display: grid; align-items: end; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,5,.2), rgba(5,7,5,.92)); }
.page-hero .wrap { position: relative; z-index: 1; padding-bottom: 36px; }

/* Push toast */
.push {
  position: fixed; right: 22px; top: 90px; z-index: 80; width: min(380px, calc(100% - 28px));
  background: #0e1610; border: 1px solid var(--green); border-radius: 16px;
  padding: 16px 16px 16px 18px; box-shadow: 0 16px 50px rgba(0,0,0,.55), 0 0 30px var(--green-glow);
  transform: translateX(120%); opacity: 0; transition: .35s ease;
}
.push.show { transform: none; opacity: 1; }
.push h4 { color: var(--green); margin-bottom: 6px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.push p { color: var(--text); font-size: 14px; line-height: 1.55; }
.push .x { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 18px; }

@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-2, .contact-box { grid-template-columns: 1fr; }
  .burger { display: grid; place-items: center; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 78px;
    background: #0b110c; border-bottom: 1px solid var(--line); padding: 12px;
    flex-direction: column; align-items: stretch;
  }
  .nav.open { display: flex; }
}
