@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&family=Archivo+Black&display=swap");

:root {
  --orange: #e8620a;
  --orange-dark: #c45208;
  --orange-light: #fff4eb;
  --highway-green: #006b3f;
  --highway-green-dark: #004d2d;
  --asphalt: #3d3d3d;
  --asphalt-light: #5a5a5a;
  --road-line: #f7c948;
  --bg: #f0f0f2;
  --white: #ffffff;
  --text: #1a1a1a;
  --muted: #666;
  --border: #ddd;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --font: "Public Sans", system-ui, sans-serif;
  --font-display: "Archivo Black", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }
a { color: var(--highway-green); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1180px, 94vw); margin: 0 auto; }

/* Road stripe top */
.road-stripe {
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--road-line) 0, var(--road-line) 24px, var(--asphalt) 24px, var(--asphalt) 48px);
}

/* Header - kiosk style */
.site-header {
  background: var(--white);
  border-bottom: 4px solid var(--orange);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover { text-decoration: none; }

.logo-badge {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  padding: 0.5rem 0.65rem;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: center;
}

.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--asphalt);
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}

.header-nav {
  display: flex;
  gap: 0.25rem;
}

.header-nav a {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--asphalt-light);
  text-decoration: none;
  border-radius: 4px;
}

.header-nav a:hover { background: var(--orange-light); color: var(--orange-dark); text-decoration: none; }

.menu-btn {
  display: none;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

/* Hero - search first */
.hero-search {
  background: var(--asphalt);
  background-image:
    linear-gradient(135deg, rgba(232,98,10,0.12) 0%, transparent 50%),
    url("https://images.unsplash.com/photo-1519003724024-9ea41e105294?w=1400&q=80");
  background-size: cover;
  background-position: center;
  padding: 3.5rem 0 4rem;
  position: relative;
}

.hero-search::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, var(--road-line) 0, var(--road-line) 30px, transparent 30px, transparent 60px);
}

.hero-content { position: relative; z-index: 1; text-align: center; max-width: 720px; margin: 0 auto; }

.hero-tag {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.hero-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  color: #fff;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content > p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  font-size: 1.02rem;
}

.search-hero-box {
  background: var(--white);
  border-radius: 8px;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  max-width: 600px;
  margin: 0 auto 1.25rem;
}

.search-hero-box input {
  flex: 1;
  border: none;
  padding: 0.85rem 1rem;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  border-radius: 4px;
}

.search-hero-box button {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border-radius: 4px;
  white-space: nowrap;
}

.search-hero-box button:hover { background: var(--orange-dark); }

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.quick-tag {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.quick-tag:hover { background: rgba(255,255,255,0.28); }

/* Stats */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}

.stats-flex {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.stats-flex div {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
}

.stats-flex strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--orange);
  line-height: 1.2;
}

/* Main hub layout - 3 columns on desktop */
.hub-section { padding: 3rem 0; }

.section-head {
  margin-bottom: 1.75rem;
}

.section-head .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: 280px 1fr 300px;
  gap: 1.25rem;
  align-items: start;
}

/* Left - topic tree */
.topic-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 90px;
}

.topic-panel-head {
  background: var(--highway-green);
  color: #fff;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.topic-list { list-style: none; }

.topic-list button {
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  transition: background 0.15s;
}

.topic-list button:hover { background: var(--orange-light); }

.topic-list button.active {
  background: var(--orange-light);
  color: var(--orange-dark);
  font-weight: 600;
  border-left: 4px solid var(--orange);
}

.topic-icon { font-size: 1.1rem; }

/* Center - assistant */
.assistant-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}

.assistant-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.assistant-avatar {
  width: 44px;
  height: 44px;
  background: var(--orange-light);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}

.assistant-header h3 {
  font-size: 1rem;
  font-weight: 700;
}

.assistant-header p {
  font-size: 0.8rem;
  color: var(--muted);
}

.assistant-body {
  flex: 1;
  padding: 1.25rem;
  overflow-y: auto;
  max-height: 420px;
}

.chat-msg {
  margin-bottom: 1rem;
  animation: msgIn 0.3s ease;
}

@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-msg.bot .bubble {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 12px;
  padding: 1rem;
  max-width: 95%;
  font-size: 0.92rem;
}

.chat-msg.user .bubble {
  background: var(--orange-light);
  border: 1px solid rgba(232,98,10,0.2);
  border-radius: 12px 4px 12px 12px;
  padding: 0.75rem 1rem;
  margin-left: auto;
  max-width: 85%;
  font-size: 0.9rem;
  text-align: right;
}

.chat-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.chat-opt {
  padding: 0.55rem 1rem;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.chat-opt:hover {
  background: var(--orange);
  color: #fff;
}

.assistant-input {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

.assistant-input input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
}

.assistant-input input:focus {
  outline: 2px solid var(--orange);
  border-color: var(--orange);
}

.assistant-input button {
  background: var(--highway-green);
  color: #fff;
  border: none;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

/* Right - popular + glossary */
.side-panel { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 90px; }

.popular-box, .glossary-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.box-head {
  background: var(--asphalt);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.popular-list { list-style: none; }

.popular-list button {
  width: 100%;
  text-align: left;
  padding: 0.7rem 1rem;
  border: none;
  border-bottom: 1px solid var(--border);
  background: none;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s;
}

.popular-list button:hover { background: var(--orange-light); color: var(--orange-dark); }

.popular-list li:last-child button { border-bottom: none; }

.glossary-search {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.glossary-search input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.85rem;
}

.glossary-list {
  max-height: 220px;
  overflow-y: auto;
  padding: 0.5rem;
}

.gloss-term {
  padding: 0.5rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--highway-green);
  transition: background 0.15s;
}

.gloss-term:hover { background: var(--orange-light); }

.gloss-def {
  display: none;
  padding: 0.75rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.gloss-def.show { display: block; }

/* FAQ mega section */
.faq-section {
  padding: 3rem 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-toolbar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.faq-toolbar input {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
}

.faq-toolbar input:focus {
  outline: none;
  border-color: var(--orange);
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip-filter {
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.chip-filter:hover { border-color: var(--orange); }

.chip-filter.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.faq-masonry {
  columns: 2;
  column-gap: 1rem;
}

.faq-card {
  break-inside: avoid;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq-card.hidden { display: none; }

.faq-card.open {
  box-shadow: var(--shadow);
  border-color: var(--orange);
}

.faq-card button {
  width: 100%;
  text-align: left;
  padding: 1rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.faq-card button:hover { background: var(--orange-light); }

.faq-card .cat-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.faq-card .ans {
  display: none;
  padding: 0 1rem 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
}

.faq-card.open .ans { display: block; }

.faq-card mark {
  background: rgba(232,98,10,0.25);
  padding: 0 2px;
}

.no-faq {
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  display: none;
}

.no-faq.show { display: block; }

/* Guides accordion */
.guides-section {
  padding: 3rem 0;
  background: var(--bg);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--highway-green);
  border-radius: 4px;
  padding: 1.25rem;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

.guide-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.guide-card h4 {
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.guide-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.guide-card .link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

.modal-box {
  background: var(--white);
  border-radius: 8px;
  width: min(580px, 100%);
  max-height: 80vh;
  overflow-y: auto;
  border-top: 4px solid var(--orange);
}

.modal-head {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.modal-head h3 { font-size: 1.1rem; }

.modal-close {
  background: var(--bg);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.2rem;
}

.modal-body {
  padding: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.modal-body h4 {
  color: var(--text);
  font-size: 0.95rem;
  margin: 1rem 0 0.4rem;
}

.modal-body ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0;
}

/* Tools row */
.tools-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.tool-mini {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.tool-mini:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.tool-mini .icon { font-size: 1.75rem; margin-bottom: 0.5rem; }

.tool-mini h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.tool-mini p {
  font-size: 0.78rem;
  color: var(--muted);
}

.tool-expand {
  display: none;
  grid-column: 1 / -1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.tool-expand.open { display: block; }

.doc-group { margin-bottom: 1rem; }
.doc-group p { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }
.doc-opts { display: flex; gap: 0.5rem; }
.doc-opt {
  flex: 1;
  padding: 0.65rem;
  border: 2px solid var(--border);
  background: var(--bg);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.15s;
}
.doc-opt:hover { border-color: var(--orange); }
.doc-opt.selected { border-color: var(--highway-green); background: #e8f5ef; font-weight: 600; }

.pts-btns { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0; }
.pts-add {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}
.pts-add:hover { border-color: var(--orange); background: var(--orange-light); }

.pts-display {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--orange);
  text-align: center;
  margin: 0.5rem 0;
}

#doc-result, #pts-status {
  padding: 0.85rem;
  background: var(--bg);
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

/* Contact */
.contact-section {
  padding: 3rem 0;
  background: var(--highway-green);
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-section .lead {
  opacity: 0.9;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-info strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-bottom: 0.2rem;
}

.contact-form {
  background: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  color: var(--text);
}

.form-row { margin-bottom: 1rem; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-row textarea { min-height: 100px; resize: vertical; }

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--orange);
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

.btn {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.92rem;
}

.btn:hover { background: var(--orange-dark); }

.btn-green { background: var(--highway-green); }
.btn-green:hover { background: var(--highway-green-dark); }

/* Legal */
.legal-section {
  padding: 3rem 0;
  background: var(--white);
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legal-block h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.legal-block .upd {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.legal-block h4 {
  font-size: 0.9rem;
  color: var(--orange-dark);
  margin: 1rem 0 0.35rem;
}

.legal-block p, .legal-block li {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.legal-block ul { padding-left: 1.2rem; }

/* Footer */
.footer {
  background: var(--asphalt);
  color: rgba(255,255,255,0.75);
  padding: 2rem 0 1rem;
  font-size: 0.85rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-col h4 {
  color: var(--orange);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.85rem; }
.footer-col a:hover { color: #fff; }
.footer-col li { margin-bottom: 0.35rem; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.65;
  line-height: 1.7;
}

.footer-copy {
  text-align: center;
  margin-top: 1rem;
  opacity: 0.45;
  font-size: 0.78rem;
}

/* Cookie */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--asphalt);
  color: #fff;
  padding: 1rem;
  z-index: 250;
  border-top: 3px solid var(--orange);
  display: none;
}

.cookie-bar.show { display: block; }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 1180px;
  margin: 0 auto;
}

.cookie-inner p { font-size: 0.85rem; flex: 1; min-width: 200px; }

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--highway-green);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  z-index: 400;
  transform: translateX(150%);
  transition: transform 0.35s;
  font-weight: 600;
  font-size: 0.9rem;
}

.toast.show { transform: translateX(0); }

/* Responsive */
@media (max-width: 1024px) {
  .hub-grid { grid-template-columns: 1fr; }
  .topic-panel, .side-panel { position: static; }
  .faq-masonry { columns: 1; }
  .tools-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .legal-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .header-nav { display: none; }
  .header-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .site-header .wrap { position: relative; }
  .menu-btn { display: block; }
  .search-hero-box { flex-direction: column; }
}
