:root {
  --brand: #f78c00;
  --brand-dark: #c86f00;
  --ink: #1f2b36;
  --muted: #5f707d;
  --line: #dbe3e9;
  --paper: #ffffff;
  --bg: #f4f7fa;
  --dark: #11181f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
.container { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffffe8; backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 70px; display: flex; align-items: center; gap: 18px; }
.logo { text-decoration: none; color: #111; font-size: 22px; font-weight: 800; letter-spacing: .08em; }
.nav { margin-left: auto; display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; }
.nav a.active, .nav a:hover { color: var(--brand); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; }
.hero {
  min-height: 320px; color: #fff; position: relative; display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(17,24,31,.72), rgba(17,24,31,.38));
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); }
.hero p { margin: 14px 0 0; max-width: 760px; font-size: 18px; opacity: .94; }
.section { padding: 48px 0; }
.section h2 { margin: 0 0 18px; font-size: clamp(26px, 4vw, 38px); }
.section p { color: var(--muted); line-height: 1.8; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.card {
  border: 1px solid var(--line); background: var(--paper);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 8px 22px rgba(20,33,43,.07);
}
.card img { width: 100%; height: 190px; object-fit: cover; display: block; background: #f1f4f6; }
.card h3 { margin: 14px 14px 8px; font-size: 16px; }
.card p { margin: 0 14px 16px; font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.stat b { display: block; font-size: 24px; margin-bottom: 6px; }
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.badges span { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: 13px; }
.footer {
  margin-top: 28px; background: var(--dark); color: #b9c5cf; padding: 22px 0;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer a { color: #b9c5cf; text-decoration: none; }
.table-like { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.table-like th, .table-like td { border-bottom: 1px solid var(--line); padding: 10px 12px; font-size: 14px; text-align: left; }
.table-like th { background: #f9fbfc; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .stats { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; right: 16px; top: 62px;
    flex-direction: column; gap: 8px; background: #fff;
    border: 1px solid var(--line); border-radius: 12px; padding: 10px;
  }
  .nav.open { display: flex; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
}
