/*
 * Shared site chrome for the Insights pages (blog.html, post.html, admin.html).
 * Mirrors the tokens, navbar, buttons, section headings and footer that are
 * defined inline in index.html — keep the two in step if the design changes.
 */
:root {
  --slate: #3d4f63;
  --slate-dark: #2a3849;
  --slate-light: #5a6e84;
  --orange: #E8600A;
  --orange-light: #f07a2a;
  --orange-pale: #fef0e6;
  --white: #ffffff;
  --off-white: #f7f6f4;
  --cream: #f0ede8;
  --text: #1a2535;
  --text-muted: #6b7a8d;
  --border: #e2ddd8;
  --danger: #b42318;
  --danger-pale: #fdecea;
  --success: #1f7a4d;
  --success-pale: #e7f5ee;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
}

[hidden] { display: none !important; }

/* ── NAVBAR ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(26,37,53,0.08); }

.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-icon { width: 40px; height: 36px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-vwc {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px; font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--slate-dark);
}
.logo-full {
  font-size: 10px; font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--slate-dark); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); padding-bottom: 4px; }

.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.nav-cta:hover { background: var(--orange-light); transform: translateY(-1px); }

/* ── SECTION HEADINGS ── */
.section { padding: 100px 60px; }
.section-alt { background: var(--off-white); }

.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-label-block { width: 24px; height: 4px; background: var(--orange); }
.section-label span {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--orange); font-weight: 600;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700; line-height: 1.15;
  color: var(--slate-dark);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--orange); }
.section-subtitle {
  font-size: 16px; color: var(--text-muted);
  line-height: 1.8; font-weight: 300;
  max-width: 540px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--slate-dark);
  color: var(--white);
  padding: 16px 36px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: none; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--slate); transform: translateY(-2px); }

.btn-secondary {
  color: var(--slate-dark);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--slate-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-secondary:hover { color: var(--orange); border-color: var(--orange); }

/* ── FOOTER ── */
footer {
  background: var(--slate-dark);
  color: var(--white);
  padding: 64px 60px 32px;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.footer-brand-sub {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px; color: rgba(255,255,255,0.4);
  line-height: 1.7; max-width: 240px; font-weight: 300;
}
.footer-col-title {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--orange); margin-bottom: 20px; font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { margin-bottom: 14px; }
.footer-contact-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--orange); }
.footer-contact-val { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 2px; }
.footer-contact-val a { color: rgba(255,255,255,0.6); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,0.25); flex-wrap: wrap; gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ── WA FAB ── */
.wa-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  text-decoration: none;
  transition: transform 0.3s;
}
.wa-fab:hover { transform: scale(1.1); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  nav { padding: 0 32px; }
  .nav-links { display: none; }
  .section { padding: 72px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  footer { padding: 48px 32px 24px; }
}
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  footer { padding: 40px 20px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
