:root {
  --bg: #151414;
  --bg-2: #202327;
  --text: #1f1f1f;
  --muted: #5d5d61;
  --paper: #ffffff;
  --paper-2: #f1f0ef;
  --accent: #ff5203;
  --accent-2: #ed1c24;
  --yellow: #ffcb05;
  --line: #e0dfdf;
  --footer: #151414;
  --max: 1120px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Sora", "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  background: var(--bg);
  color: #fff;
  position: sticky; top: 0; z-index: 40;
  border-bottom: 3px solid var(--accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 78px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.nav a {
  color: #fff; text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: .02em; text-transform: uppercase;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--yellow); }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid #fff; padding: 8px 10px; }
.hero {
  background: linear-gradient(120deg, #151414 0%, #3a1a10 55%, #ff5203 140%);
  color: #fff; padding: 72px 0 64px;
}
.hero h1 { font-size: clamp(28px, 5vw, 50px); line-height: 1.15; margin: 0 0 16px; }
.hero p { font-size: 18px; max-width: 720px; margin: 0; color: #f1f0ef; }
.section { padding: 48px 0; }
.section.alt { background: var(--paper-2); }
.kicker { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; margin: 0 0 8px; }
h1, h2, h3 { line-height: 1.25; }
.prose h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 16px; }
.prose h2 { font-size: 26px; margin: 32px 0 12px; }
.prose h3 { font-size: 20px; margin: 24px 0 10px; }
.prose p, .prose li { font-size: 17px; color: #333; }
.prose ul { padding-left: 20px; }
.grid { display: grid; gap: 20px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.card img { width: 100%; height: 160px; object-fit: cover; background: #eee; }
.card .body { padding: 16px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 12px 18px; border-radius: 8px; border: 0; cursor: pointer;
}
.btn:hover { background: #e14a00; }
.btn.ghost { background: transparent; border: 1px solid #fff; color: #fff; }
.meta { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.figure { margin: 20px 0; }
.figure img { width: 100%; border-radius: 10px; }
.figure figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }
.site-footer { background: var(--footer); color: #e8e6e6; padding: 40px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.site-footer a { color: #fff; }
.site-footer h2 { font-size: 16px; margin: 0 0 10px; color: var(--yellow); }
.legal { border-top: 1px solid #333; margin-top: 24px; padding-top: 16px; font-size: 13px; color: #b2b2b2; }
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 50;
  background: #25D366; color: #fff; width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,.25); font-weight: 800;
}
.form { display: grid; gap: 12px; max-width: 640px; }
.form label { font-weight: 600; font-size: 14px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 12px; border: 1px solid #cfcfcf; border-radius: 8px; font: inherit;
  background: #fff;
}
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.pager { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.pager a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pager a[aria-current="page"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 28px; }
.cats a { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; font-size: 13px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: flex-start; padding-bottom: 16px; }
  .nav.open { display: flex; }
  .header-inner { flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr; }
}
