/* ============================================================
   DFIR Dominican — chrome styles: nav, footer, logo
   ============================================================ */

/* ── Brand / logo ────────────────────────────────────────── */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.logo-mark { filter: drop-shadow(0 0 8px rgba(0,180,230,0.25)); flex-shrink: 0; }
.logo-img { object-fit: contain; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--font-display); }
.brand-word b { font-size: 16px; font-weight: 800; letter-spacing: 0.01em; }
.brand-word .bw-1 { color: var(--cyan); }
.brand-word .bw-2 { color: #eef5fb; }
.brand-word .bw-tag { font-family: var(--font-mono); font-size: 8px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-2); margin-top: 4px; white-space: nowrap; }
@media (max-width: 620px) { .brand-word .bw-tag { display: none; } }

/* ── Top nav ─────────────────────────────────────────────── */
.site-nav {
  position: sticky; top: 0; z-index: 500;
  background: var(--bg-nav);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav-link {
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--text-2); padding: 8px 13px; border-radius: var(--r-md);
  transition: color 0.14s var(--ease), background 0.14s var(--ease);
  position: relative;
}
.nav-link:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-link.is-active { color: var(--cyan); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--cyan); border-radius: 2px; box-shadow: 0 0 8px var(--cyan);
}
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-admin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: all 0.14s var(--ease);
}
.nav-admin:hover, .nav-admin.is-active { color: var(--cyan); border-color: var(--line-3); background: rgba(0,180,230,0.06); }
.nav-admin i { width: 17px; height: 17px; }
.nav-cta { padding: 9px 15px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta span, .nav-cta { font-size: 12px; }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: 96px;
  border-top: 1px solid var(--line-2);
  background: linear-gradient(180deg, transparent, rgba(0,180,230,0.025));
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 56px;
  padding: 56px 24px 40px;
}
.footer-brand p { color: var(--text-2); font-size: 13.5px; max-width: 380px; margin-top: 16px; line-height: 1.65; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--r-md);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); color: var(--text-2); transition: all 0.14s var(--ease);
}
.footer-social a:hover { color: var(--cyan); border-color: var(--line-3); transform: translateY(-2px); }
.footer-social i { width: 17px; height: 17px; }
.footer-cols { display: grid; grid-template-columns: 0.8fr 1fr 1fr; gap: 48px; }
.footer-cols h4 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px; font-weight: 600;
}
.footer-cols a { display: block; color: var(--text-2); font-size: 13.5px; padding: 5px 0; transition: color 0.14s var(--ease); }
.footer-cols a:hover { color: var(--cyan); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 18px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-2);
}
.footer-status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--ok); box-shadow: 0 0 8px var(--ok); }

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ── Back to top ─────────────────────────────────────────── */
.back-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 600;
  width: 44px; height: 44px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-surface-2); border: 1px solid var(--line-2);
  color: var(--text-2); cursor: pointer;
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), color 0.14s var(--ease), border-color 0.14s var(--ease);
  box-shadow: 0 10px 26px rgba(0,0,0,0.45);
}
.back-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { color: var(--cyan); border-color: var(--line-3); }
.back-top svg { width: 19px; height: 19px; }
