/* =========================================
   WealthPlanLabs — Shared Design System
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-deep:  #0a2e1a;
  --green-mid:   #154d2e;
  --green-light: #1e6b3e;
  --green-pale:  #e8f4ed;
  --gold:        #c9a84c;
  --gold-light:  #e0c06a;
  --gold-pale:   #fdf3d0;
  --cream:       #f5f0e8;
  --cream-dark:  #ede5d8;
  --text-dark:   #1a1a1a;
  --text-mid:    #3d3d3d;
  --text-light:  #6b6b6b;
  --white:       #ffffff;
  --blue-pale:   #e8eef8;
  --blue-mid:    #2a4a8a;
  --rose-pale:   #fde8e8;
  --rose-mid:    #8a2a2a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans:  'DM Sans', sans-serif;
  --shadow-sm: 0 2px 12px rgba(10,46,26,0.07);
  --shadow-md: 0 8px 30px rgba(10,46,26,0.1);
  --shadow-lg: 0 16px 48px rgba(10,46,26,0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--cream); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ── TOPBAR ── */
.topbar {
  background: var(--green-deep);
  color: var(--gold);
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 20px;
}
.topbar a { color: var(--gold-light); text-decoration: underline; }

/* ── HEADER ── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px;
  background: var(--green-deep);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.logo-text { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; color: var(--green-deep); }
.logo-text span { color: var(--gold); }
.site-logo-image {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.footer-logo-image {
  height: 56px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text-mid); text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link:hover { color: var(--green-deep); background: var(--cream); }
.nav-link.active { color: var(--green-deep); font-weight: 600; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 8px;
  min-width: 220px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 200;
}
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 6px; font-size: 0.85rem;
  color: var(--text-mid); transition: background 0.15s, color 0.15s;
}
.dropdown a:hover { background: var(--green-pale); color: var(--green-deep); }
.dropdown a .d-icon { font-size: 1.1rem; width: 24px; }

.btn-nav-sub {
  background: var(--green-deep) !important;
  color: var(--white) !important;
  padding: 9px 18px !important;
  border-radius: 6px;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: background 0.2s !important;
}
.btn-nav-sub:hover { background: var(--green-light) !important; }

/* Mobile hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--green-deep); border-radius: 2px; transition: 0.2s; }

/* ── PAGE HERO ── */
.page-hero {
  background: var(--green-deep);
  padding: 72px 24px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 65% 35%, rgba(201,168,76,0.13), transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.15); color: var(--gold);
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 3px;
  border: 1px solid rgba(201,168,76,0.3); margin-bottom: 18px;
}
.page-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem); color: var(--white);
  margin-bottom: 14px; line-height: 1.2;
}
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { color: rgba(255,255,255,0.62); max-width: 600px; margin: 0 auto; font-size: 1rem; line-height: 1.75; }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  justify-content: center; margin-top: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--green-deep); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 36px;
  border-bottom: 2px solid var(--green-deep);
}
.section-title { font-family: var(--serif); font-size: 1.8rem; color: var(--green-deep); }
.section-title span { color: var(--gold); }
.section-link {
  font-size: 0.8rem; color: var(--green-light); letter-spacing: 0.07em;
  text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s;
}
.section-link:hover { color: var(--gold); }

/* Content + Sidebar */
.content-sidebar-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; }
.sidebar { min-width: 0; }
.sidebar-widget {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 22px; margin-bottom: 24px;
}
.sidebar-widget h3 {
  font-family: var(--serif); font-size: 1.05rem; color: var(--green-deep);
  padding-bottom: 12px; margin-bottom: 16px;
  border-bottom: 2px solid var(--gold);
}

/* ── CARDS ── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.articles-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.article-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--cream-dark);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; flex-direction: column;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.article-card a { display: flex; flex-direction: column; flex: 1; }

.card-thumb {
  height: 180px; display: flex; align-items: center;
  justify-content: center; font-size: 3.5rem;
  flex-shrink: 0;
}
.thumb-green { background: linear-gradient(135deg, #e8f4ed, #c3e1ce); }
.thumb-gold  { background: linear-gradient(135deg, #fdf6e3, #f0d990); }
.thumb-blue  { background: linear-gradient(135deg, #e8eef8, #b8cef0); }
.thumb-rose  { background: linear-gradient(135deg, #fde8e8, #f0b8b8); }
.thumb-purple{ background: linear-gradient(135deg, #f0e8fd, #d0b8f0); }
.thumb-teal  { background: linear-gradient(135deg, #e8f4f4, #b8e0e0); }
.thumb-dark  { background: linear-gradient(135deg, var(--green-deep), var(--green-light)); }

.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-tag {
  display: inline-block; font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  padding: 3px 10px; border-radius: 3px; margin-bottom: 10px; width: fit-content;
}
.tag-green  { background: var(--green-pale); color: var(--green-mid); }
.tag-gold   { background: var(--gold-pale); color: #8a6a00; }
.tag-blue   { background: var(--blue-pale); color: var(--blue-mid); }
.tag-rose   { background: var(--rose-pale); color: var(--rose-mid); }
.tag-purple { background: #f0e8fd; color: #5a2a8a; }
.tag-teal   { background: #e8f4f4; color: #1a6060; }
.tag-dark   { background: var(--green-pale); color: var(--green-deep); }

.card-title {
  font-family: var(--serif); font-size: 1.1rem;
  line-height: 1.35; color: var(--text-dark);
  margin-bottom: 10px; transition: color 0.2s;
}
.article-card:hover .card-title { color: var(--green-light); }
.card-excerpt { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.73rem; color: var(--text-light);
  border-top: 1px solid var(--cream-dark); padding-top: 11px; margin-top: auto;
}
.card-read-time { font-weight: 500; }

/* Featured card (wide) */
.featured-card {
  background: var(--white); border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--cream-dark);
  display: grid; grid-template-columns: 1fr 1.2fr;
  margin-bottom: 26px; transition: box-shadow 0.3s;
}
.featured-card:hover { box-shadow: var(--shadow-md); }
.featured-thumb {
  min-height: 260px; display: flex; align-items: center;
  justify-content: center; font-size: 6rem;
}
.featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.featured-body .card-title { font-size: 1.55rem; margin-bottom: 12px; }
.featured-body .card-excerpt { font-size: 0.92rem; margin-bottom: 22px; }

.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-light); font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  border-bottom: 1.5px solid currentColor; width: fit-content;
  transition: color 0.2s;
}
.read-more:hover { color: var(--gold); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  background: var(--gold); color: var(--green-deep);
  padding: 13px 28px; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s; cursor: pointer; border: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  background: var(--green-deep); color: var(--white);
  padding: 13px 28px; border-radius: 6px;
  font-weight: 600; font-size: 0.9rem;
  transition: background 0.2s; cursor: pointer; border: none;
}
.btn-secondary:hover { background: var(--green-light); }

.btn-outline-dark {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: var(--white); padding: 12px 26px; border-radius: 6px;
  font-size: 0.9rem; transition: border-color 0.2s, background 0.2s;
}
.btn-outline-dark:hover { border-color: var(--gold); background: rgba(201,168,76,0.08); }

/* ── POPULAR LIST ── */
.popular-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid var(--cream-dark);
}
.popular-list li:last-child { border: none; padding-bottom: 0; }
.pop-num {
  font-family: var(--serif); font-size: 1.4rem; color: var(--cream-dark);
  font-weight: 700; line-height: 1; min-width: 26px;
}
.pop-title {
  font-size: 0.83rem; color: var(--text-dark); font-weight: 500;
  line-height: 1.4; cursor: pointer; transition: color 0.2s;
}
.pop-title:hover { color: var(--green-light); }
.pop-meta { font-size: 0.7rem; color: var(--text-light); margin-top: 3px; }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  background: var(--cream-dark); padding: 5px 13px;
  border-radius: 20px; font-size: 0.77rem; color: var(--text-mid);
  transition: background 0.2s, color 0.2s; cursor: pointer;
}
.tag-pill:hover { background: var(--green-pale); color: var(--green-deep); }

/* ── AD SLOTS ── */
.ad-slot {
  background: var(--cream-dark);
  border: 1.5px dashed #c5b89a;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; color: #aaa;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.ad-leaderboard { height: 90px; max-width: 728px; margin: 0 auto; }
.ad-rectangle { width: 100%; height: 250px;display: none; }
.ad-section { padding: 20px 24px; background: var(--white); border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); text-align: center;    display: none; }

/* ── QUOTE STRIP ── */
.quote-strip { background: var(--gold); padding: 30px 24px; text-align: center; }
.quote-strip blockquote {
  font-family: var(--serif); font-size: 1.25rem; font-style: italic;
  color: var(--green-deep); max-width: 700px; margin: 0 auto;
}
.quote-strip cite { display: block; font-family: var(--sans); font-style: normal; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; color: rgba(10,46,26,0.55); }

/* ── NEWSLETTER SECTION ── */
.newsletter-band {
  background: linear-gradient(135deg, var(--green-deep), var(--green-mid));
  padding: 72px 24px; position: relative; overflow: hidden;
}
.newsletter-band::before {
  content: '💰';
  position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
  font-size: 16rem; opacity: 0.03; pointer-events: none;
}
.newsletter-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter-inner h2 { font-family: var(--serif); font-size: 2.1rem; color: var(--white); margin-bottom: 10px; }
.newsletter-inner p { color: rgba(255,255,255,0.6); margin-bottom: 32px; }
.nl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 14px 18px; border-radius: 6px;
  background: rgba(255,255,255,0.1); color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2); font-family: var(--sans); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s;
}
.nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.nl-form input:focus { border-color: var(--gold); }
.nl-form button {
  background: var(--gold); color: var(--green-deep);
  border: none; padding: 14px 22px; border-radius: 6px;
  font-weight: 700; font-size: 0.9rem; cursor: pointer;
  font-family: var(--sans); transition: background 0.2s; white-space: nowrap;
}
.nl-form button:hover { background: var(--gold-light); }
.nl-note { font-size: 0.74rem; color: rgba(255,255,255,0.3); margin-top: 12px; }

/* ── FOOTER ── */
footer { background: var(--green-deep); color: rgba(255,255,255,0.65); }
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding: 56px 24px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.7; }
.footer-socials { display: flex; gap: 12px; margin-top: 20px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: background 0.2s;
}
.social-btn:hover { background: rgba(201,168,76,0.25); }

.footer-col h4 { color: var(--gold); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.84rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-legal a:hover { color: var(--gold); }

.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 14px 24px;
}
.footer-disclaimer-inner {
  max-width: 1200px; margin: 0 auto;
  font-size: 0.71rem; color: rgba(255,255,255,0.2); line-height: 1.65;
}
.footer-disclaimer-inner a { color: rgba(255,255,255,0.3); text-decoration: underline; }

/* ── ARTICLE PAGE ── */
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; }
.article-content { max-width: 100%; }
.article-header { margin-bottom: 32px; }
.article-meta-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.article-date { font-size: 0.78rem; color: var(--text-light); }
.article-read-time { font-size: 0.78rem; color: var(--text-light); }
.article-read-time::before { content: '·'; margin-right: 14px; }

.article-hero-img {
  width: 100%; height: 320px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem; margin-bottom: 32px;
}

.article-body h2 {
  font-family: var(--serif); font-size: 1.55rem; color: var(--green-deep);
  margin: 36px 0 14px; line-height: 1.25;
}
.article-body h3 {
  font-family: var(--serif); font-size: 1.2rem; color: var(--green-deep);
  margin: 28px 0 10px;
}
.article-body p { font-size: 0.96rem; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }
.article-body ul, .article-body ol { padding-left: 24px; margin-bottom: 18px; }
.article-body li { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.article-body ul li { list-style: disc; }
.article-body ol li { list-style: decimal; }
.article-body strong { color: var(--text-dark); font-weight: 600; }
.article-body a { color: var(--green-light); text-decoration: underline; }

.article-callout {
  background: var(--green-pale); border-left: 4px solid var(--green-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 26px 0;
}
.article-callout p { margin: 0; font-size: 0.92rem; }

.article-warning {
  background: #fffdf0; border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 22px; margin: 26px 0;
}
.article-warning p { margin: 0; font-size: 0.9rem; }

.article-table {
  width: 100%; border-collapse: collapse; margin: 24px 0;
  border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--cream-dark);
}
.article-table thead { background: var(--green-deep); color: var(--white); }
.article-table th { padding: 12px 16px; text-align: left; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.article-table td { padding: 11px 16px; font-size: 0.88rem; color: var(--text-mid); border-bottom: 1px solid var(--cream-dark); }
.article-table tr:last-child td { border: none; }
.article-table tr:hover td { background: #f9f6ef; }

.author-box {
  display: flex; gap: 18px; align-items: center;
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 24px; margin-top: 40px;
}
.author-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; background: var(--green-pale);
}
.author-info h4 { font-family: var(--serif); color: var(--green-deep); margin-bottom: 4px; }
.author-info p { font-size: 0.82rem; color: var(--text-light); line-height: 1.5; }

.related-articles { margin-top: 48px; padding-top: 40px; border-top: 2px solid var(--cream-dark); }
.related-articles h2 { font-family: var(--serif); color: var(--green-deep); font-size: 1.6rem; margin-bottom: 24px; }

/* ── TOOLS PAGE ── */
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tool-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-md); padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
}
.tool-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--green-light); }
.tool-icon {
  width: 56px; height: 56px; background: var(--green-pale);
  border-radius: 14px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.tool-card h3 { font-family: var(--serif); font-size: 1.1rem; color: var(--green-deep); margin-bottom: 8px; }
.tool-card p { font-size: 0.83rem; color: var(--text-light); line-height: 1.6; margin-bottom: 18px; }
.tool-btn {
  display: inline-block; background: var(--green-deep); color: var(--white);
  padding: 9px 18px; border-radius: 6px; font-size: 0.8rem; font-weight: 600;
  transition: background 0.2s;
}
.tool-btn:hover { background: var(--green-light); }

/* ── CATEGORY PAGE ── */
.category-stats { display: flex; gap: 32px; justify-content: center; margin-top: 24px; }
.cat-stat { text-align: center; }
.cat-stat-num { font-family: var(--serif); font-size: 1.8rem; color: var(--gold); font-weight: 700; }
.cat-stat-label { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── CONTACT PAGE ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-form-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--cream-dark); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--text-dark); margin-bottom: 7px; text-transform: uppercase; letter-spacing: 0.06em; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--cream-dark); border-radius: 6px;
  font-family: var(--sans); font-size: 0.9rem; color: var(--text-dark);
  background: var(--cream); outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--green-light); background: var(--white); }
.form-group textarea { min-height: 130px; resize: vertical; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--green-deep); border-radius: var(--radius-lg);
  padding: 44px; display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; text-align: center;
}
.stat-num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); font-weight: 700; display: block; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }

/* ── 404 ── */
.page-404 {
  min-height: 80vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 24px;
}
.err-num {
  font-family: var(--serif); font-size: clamp(6rem, 18vw, 12rem);
  color: var(--cream-dark); font-weight: 700; line-height: 1; margin-bottom: 12px;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s both; }
.fade-up-1 { animation: fadeUp 0.5s 0.1s both; }
.fade-up-2 { animation: fadeUp 0.5s 0.2s both; }
.fade-up-3 { animation: fadeUp 0.5s 0.3s both; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-thumb { min-height: 180px; }
  .contact-grid { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid-2 { grid-template-columns: 1fr; }
  .tools-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .header-inner { height: 60px; }
  .site-logo-image { height: 36px; }
  .footer-logo-image { height: 46px; }
}
@media (max-width: 500px) {
  .stats-strip { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
}

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; background: var(--green-deep);
  z-index: 2000; flex-direction: column; padding: 80px 32px 40px;
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: 1.5rem; color: var(--white);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 20px; right: 24px;
  font-size: 1.8rem; color: var(--gold); cursor: pointer;
}
