:root {
  --bg: #edf3ff;
  --surface: #ffffff;
  --surface-soft: #f7faff;
  --surface-muted: #f2f6fd;
  --text: #12233d;
  --muted: #6b7b96;
  --line: rgba(18, 35, 61, 0.11);
  --brand: #315efb;
  --brand-2: #5e84ff;
  --accent: #10b981;
  --warn: #d97706;
  --danger: #dc2626;
  --shadow: 0 18px 48px rgba(49, 94, 251, 0.10);
  --shadow-sm: 0 4px 16px rgba(49, 94, 251, 0.07);
  --r-xl: 28px;
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
  font-family: Inter, Arial, sans-serif;
}

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

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font: inherit; }
input, select, textarea { font: inherit; }

/* ── TOPBAR ────────────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(237, 243, 255, 0.93);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #1a3fc4, var(--brand));
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -.02em;
  box-shadow: 0 4px 14px rgba(49, 94, 251, 0.35);
}

.brand-text { line-height: 1.1; }
.brand-sub { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

.topbar-search {
  flex: 1;
  max-width: 520px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 9px 14px 9px 40px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
}

.search-input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(49, 94, 251, 0.12);
}

.search-icon {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 14px;
  pointer-events: none;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  max-height: 420px;
  overflow-y: auto;
  z-index: 200;
  display: none;
}

.search-results.open { display: block; }
.search-item { display: block; padding: 13px 16px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .12s; }
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: var(--surface-soft); }
.search-item-cat { font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.search-item-title { font-weight: 700; font-size: 14px; }
.search-item-excerpt { font-size: 13px; color: var(--muted); margin-top: 3px; line-height: 1.4; }
.search-empty { padding: 22px 16px; color: var(--muted); font-size: 14px; text-align: center; }

.topbar-actions { display: flex; gap: 8px; margin-left: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  border-radius: var(--r-sm);
  padding: 8px 15px;
  font-weight: 700;
  font-size: 13px;
  transition: .18s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 4px 14px rgba(49,94,251,.28); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface-soft); transform: none; }

/* ── WRAPPER ───────────────────────────────────────────────────── */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── HOMEPAGE ──────────────────────────────────────────────────── */

/* Hero */
.home-hero {
  background: linear-gradient(135deg, #1d3a9e 0%, #315efb 55%, #5e84ff 100%);
  color: white;
  padding: 72px 32px;
  text-align: center;
}

.home-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.home-hero h1 {
  margin: 0 0 16px;
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.home-hero p {
  margin: 0 0 32px;
  font-size: 18px;
  opacity: .88;
  line-height: 1.6;
}

.hero-search-wrap {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
}

.hero-search {
  width: 100%;
  padding: 16px 18px 16px 50px;
  border: none;
  border-radius: 18px;
  background: white;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  box-shadow: 0 8px 30px rgba(0,0,0,.18);
  transition: box-shadow .18s;
}

.hero-search:focus { box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hero-search-icon { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--muted); pointer-events: none; }

.hero-search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  max-height: 440px;
  overflow-y: auto;
  z-index: 200;
  display: none;
  text-align: left;
}

.hero-search-results.open { display: block; }

/* Stats strip */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.2);
}

.stat-item { text-align: center; }
.stat-value { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.stat-label { font-size: 12px; opacity: .75; font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: .04em; }

/* Home sections */
.home-section {
  padding: 52px 32px;
}

.home-section + .home-section { padding-top: 0; }

.home-section-inner { max-width: 1280px; margin: 0 auto; }

.section-header { margin-bottom: 24px; }
.section-header h2 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
.section-header p { margin: 0; color: var(--muted); font-size: 15px; }

/* Category grid — homepage */
.cat-grid-home {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
}

.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(49,94,251,.2);
}

.cat-card-top { display: flex; align-items: center; gap: 14px; }

.cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}

.icon-blue   { background: rgba(49,94,251,.12); }
.icon-green  { background: rgba(16,185,129,.12); }
.icon-purple { background: rgba(139,92,246,.12); }
.icon-orange { background: rgba(245,158,11,.12); }
.icon-teal   { background: rgba(20,184,166,.12); }
.icon-pink   { background: rgba(236,72,153,.12); }
.icon-indigo { background: rgba(99,102,241,.12); }
.icon-red    { background: rgba(239,68,68,.12); }
.icon-cyan   { background: rgba(6,182,212,.12); }

.cat-info {}
.cat-name { font-weight: 800; font-size: 16px; margin: 0 0 3px; }
.cat-count { font-size: 12px; font-weight: 700; color: var(--brand); }

.cat-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

.cat-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line); }
.cat-footer-link { font-size: 13px; font-weight: 700; color: var(--brand); }
.cat-arrow { color: var(--brand); font-size: 16px; }

/* Popular articles */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.popular-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}

.popular-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(49,94,251,.2);
}

.popular-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
}

.popular-item-body { flex: 1; min-width: 0; }
.popular-item-title { font-weight: 700; font-size: 14px; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.popular-item-cat { font-size: 12px; color: var(--brand); font-weight: 600; margin-top: 2px; }
.popular-item-arrow { color: var(--muted); flex-shrink: 0; }

/* Contact strip */
.contact-strip {
  background: linear-gradient(135deg, #1a3fc4 0%, var(--brand) 60%, var(--brand-2) 100%);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: white;
}

.contact-strip-text h3 { margin: 0 0 6px; font-size: 22px; font-weight: 900; }
.contact-strip-text p { margin: 0; font-size: 14px; opacity: .85; }
.contact-strip-actions { display: flex; gap: 10px; flex-shrink: 0; }

.btn-white {
  background: white;
  color: var(--brand);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .15s;
}

.btn-white:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.15); }

.btn-white-ghost {
  background: rgba(255,255,255,.15);
  color: white;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--r-sm);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .15s;
}

.btn-white-ghost:hover { background: rgba(255,255,255,.25); }

/* ── INNER PAGES (category + article) ──────────────────────────── */
.inner-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 32px 64px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 18px; }
.sidebar-section:last-child { margin-bottom: 0; }

.sidebar-heading {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--muted);
  padding: 0 6px;
  margin: 0 0 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: background .13s, color .13s;
  cursor: pointer;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
}

.sidebar-link:hover { background: var(--surface-soft); }
.sidebar-link.active { background: rgba(49,94,251,.10); color: var(--brand); }
.sidebar-link .icon { font-size: 15px; width: 18px; text-align: center; flex-shrink: 0; }

.sidebar-divider { height: 1px; background: var(--line); margin: 12px 0; }

/* ── CATEGORY PAGE ─────────────────────────────────────────────── */
.cat-page-header {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 20px;
}

.cat-page-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 30px;
  flex-shrink: 0;
}

.cat-page-info {}
.cat-page-title { margin: 0 0 4px; font-size: 26px; font-weight: 900; }
.cat-page-desc { margin: 0; color: var(--muted); font-size: 14px; }
.cat-page-meta { margin-top: 8px; font-size: 12px; color: var(--brand); font-weight: 700; }

/* Article list — category page — 2 columns */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  box-shadow: var(--shadow-sm);
}

.article-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(49,94,251,.18);
}

.article-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex-shrink: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  margin-top: 2px;
}

.article-card-body { flex: 1; min-width: 0; }
.article-card-title { font-weight: 700; font-size: 14px; margin: 0 0 4px; line-height: 1.35; }
.article-card-meta { font-size: 12px; color: var(--muted); line-height: 1.4; }

.article-card-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 3px;
  white-space: nowrap;
}

.badge-tecnico { background: rgba(49,94,251,.10); color: #2246c7; }
.badge-cliente { background: rgba(16,185,129,.10); color: #0f8c5f; }
.badge-ambos   { background: rgba(245,158,11,.10); color: #92400e; }

/* ── ARTICLE PAGE ──────────────────────────────────────────────── */
.article-content { min-width: 0; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--brand); }
.breadcrumb span { opacity: .5; }

/* Article header */
.article-header { margin-bottom: 24px; }

.article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--brand);
  background: rgba(49,94,251,.09);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 12px;
}

.article-title {
  margin: 0 0 14px;
  font-size: 34px;
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.article-meta-sep { color: var(--line); }
.article-meta-date { font-size: 13px; color: var(--muted); }

/* Article body */
.article-body {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  line-height: 1.78;
  font-size: 15px;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 14px;
  padding-top: 4px;
  color: var(--text);
  border-top: 1px solid var(--line);
}

.article-body h2:first-child { margin-top: 0; border-top: none; }

.article-body h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 24px 0 10px;
}

.article-body p { margin: 0 0 16px; }
.article-body p:last-child { margin-bottom: 0; }

.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 16px; }
.article-body li { margin-bottom: 7px; line-height: 1.6; }

.article-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }

.article-body code {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 7px;
  font-family: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
  font-size: 13px;
  color: #2246c7;
}

.article-body pre {
  background: #0d1b36;
  border-radius: var(--r-md);
  padding: 20px 24px;
  overflow-x: auto;
  margin: 18px 0;
}

.article-body pre code {
  background: none; border: none; color: #93c5fd; padding: 0;
  font-size: 13.5px; line-height: 1.65;
}

/* Callouts */
.callout {
  border-radius: var(--r-md);
  padding: 14px 18px;
  margin: 20px 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.callout .callout-icon { font-size: 17px; flex-shrink: 0; margin-top: 1px; }
.callout-body { font-size: 14px; line-height: 1.6; }
.callout-body strong { display: block; font-weight: 800; margin-bottom: 4px; font-size: 14px; }

.callout-info    { background: rgba(49,94,251,.08);   border-left: 3px solid var(--brand); }
.callout-warn    { background: rgba(217,119,6,.08);   border-left: 3px solid var(--warn); }
.callout-success { background: rgba(16,185,129,.08);  border-left: 3px solid var(--accent); }
.callout-danger  { background: rgba(220,38,38,.08);   border-left: 3px solid var(--danger); }

/* Steps */
.step-list { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: step; }

.step-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.step-item:last-child { border-bottom: none; }

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 3px;
  counter-increment: step;
  content: counter(step);
}

.step-content { flex: 1; }
.step-title { font-weight: 800; margin: 0 0 4px; font-size: 15px; }
.step-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }

/* Table */
.table-auto {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}

.table-auto th {
  background: var(--surface-soft);
  padding: 11px 14px;
  text-align: left;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  font-weight: 800;
}

.table-auto td {
  padding: 11px 14px;
  border-top: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.55;
}

/* Feedback */
.article-feedback {
  margin-top: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.feedback-title { font-weight: 800; margin: 0 0 16px; font-size: 17px; }
.feedback-actions { display: flex; gap: 10px; justify-content: center; }

.feedback-btn {
  padding: 10px 22px;
  border-radius: var(--r-sm);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--text);
  cursor: pointer;
  transition: .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.feedback-btn.yes:hover { background: rgba(16,185,129,.1); border-color: var(--accent); color: #0f8c5f; }
.feedback-btn.no:hover  { background: rgba(220,38,38,.07); border-color: var(--danger); color: var(--danger); }
.feedback-thanks { display: none; color: var(--accent); font-weight: 800; font-size: 15px; }

/* Related articles */
.related-section {
  margin-top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
}

.related-title { font-weight: 800; font-size: 16px; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

.related-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  transition: .15s;
}

.related-item:hover { border-color: rgba(49,94,251,.2); color: var(--brand); background: rgba(49,94,251,.05); }

/* Support card (in sidebar) */
.sidebar-support-card {
  margin-top: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: var(--r-lg);
  padding: 18px;
  color: white;
  text-align: center;
}

.sidebar-support-card p { margin: 0 0 12px; font-size: 13px; opacity: .9; line-height: 1.5; }
.sidebar-support-card strong { display: block; font-size: 14px; font-weight: 800; margin-bottom: 6px; }

.btn-white-sm {
  background: white;
  color: var(--brand);
  border-radius: var(--r-sm);
  padding: 8px 16px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  justify-content: center;
  transition: .15s;
}

.btn-white-sm:hover { box-shadow: 0 4px 14px rgba(0,0,0,.15); transform: translateY(-1px); }

/* ── SUPORTE PAGE ──────────────────────────────────────────────── */
.support-channels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 32px;
}

.support-channel-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .18s, box-shadow .18s;
}

.support-channel-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.support-channel-icon { font-size: 38px; margin-bottom: 14px; }
.support-channel-title { font-weight: 800; font-size: 17px; margin: 0 0 8px; }
.support-channel-desc { font-size: 14px; color: var(--muted); line-height: 1.5; margin: 0 0 16px; }
.support-channel-meta { font-size: 12px; font-weight: 700; color: var(--brand); }

/* ── FORM ──────────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field-label { font-size: 12px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.input { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r-sm); padding: 11px 14px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
.input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(49,94,251,.1); }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── FOOTER ────────────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 28px 32px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand { font-weight: 800; font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 13px; color: var(--muted); font-weight: 600; transition: color .15s; }
.footer-links a:hover { color: var(--brand); }
.footer-copy { font-size: 12px; color: var(--muted); }

/* ── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .cat-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .inner-wrap { grid-template-columns: 1fr; gap: 20px; }
  .sidebar { position: static; max-height: none; }
  .article-list { grid-template-columns: 1fr; }
  .popular-grid { grid-template-columns: 1fr; }
  .support-channels { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .contact-strip { flex-direction: column; text-align: center; }
  .contact-strip-actions { justify-content: center; flex-wrap: wrap; }
  .form-grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .cat-grid-home { grid-template-columns: 1fr; }
  .home-hero h1 { font-size: 30px; }
  .home-hero { padding: 48px 20px; }
  .home-section { padding: 36px 20px; }
  .inner-wrap { padding: 20px 20px 48px; }
  .article-body { padding: 24px 20px; }
  .article-title { font-size: 26px; }
  .topbar-inner { padding: 0 16px; }
  .topbar-search { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
}
