/* ============================================================
   NATIONALCRIMESTATS.COM.AU
   Estate Fraud & Probate Dispute Lawyers NSW + QLD
   Enhanced with claude-design taste principles
   ============================================================ */

:root {
  /* ═══════════════════════════════════════════════════════
     DESIGN TOKENS — gold structural + green accent (swapped per user request)
     nationalcrimestats.com.au
     ═══════════════════════════════════════════════════════ */

  /* Canvas — 60% of site surface */
  --bg-primary: #FFFFFF;
  --bg-primary-off: #f9fafb;

  /* Structural anchors — 30% of site surface (header, footer, hero) — Deep Forest Green */
  --bg-structural: #1a3a2a;
  --bg-structural-light: #234f38;
  --bg-structural-lighter: #2c6044;

  /* Text */
  --text-primary: #1a3a2a;
  --text-muted: #6b7280;
  --text-on-dark: rgba(255,255,255,0.92);
  --text-on-dark-muted: rgba(255,255,255,0.75);

  /* Gold accents — 10% */
  --accent-gold: #c8a84b;
  --accent-gold-pale: #f5f0e0;
  --cta-gold: #c8a84b;
  --cta-gold-hover: #b89730;

  /* Semantic */
  --white: #ffffff;
  --red: #991b1b;
  --red-light: #fef2f2;
  --green: #166534;
  --green-light: #f0fdf4;
  --blue-light: #e6f0ea;

  /* Grays */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Borders */
  --border: #e5e7eb;
  --border-gold: rgba(200,168,75,0.25);

  /* Legacy aliases (backward compat during transition) */
  --navy: var(--bg-structural);
  --navy-light: var(--bg-structural-light);
  --navy-lighter: var(--bg-structural-lighter);
  --gold: var(--accent-gold);
  --gold-light: var(--cta-gold);
  --gold-pale: var(--accent-gold-pale);
  --off-white: var(--bg-primary-off);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --shadow-gold: 0 6px 20px rgba(200,168,75,0.25);

  /* Geometry */
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --max-width: 1200px;
  --content-width: 760px;
  --rail-width: 320px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}
h1, .hero h1, .page-hero h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

/* ============================================================
   SCROLL-REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * { opacity: 0; transform: translateY(20px); }
.reveal-stagger > *.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   SVG ICON SYSTEM
   ============================================================ */
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
}
.icon svg { width: 100%; height: 100%; }
.icon-sm { font-size: 1.25rem; }
.icon-md { font-size: 2rem; }
.icon-lg { font-size: 3rem; }
.icon-xl { font-size: 4rem; }
.icon-gold { color: var(--gold); }
.icon-navy { color: var(--navy); }
.icon-red { color: var(--red); }
.icon-white { color: var(--white); }
.icon-muted { color: var(--gray-400); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.card-icon-gold { background: var(--gold-pale); color: var(--gold); }
.card-icon-navy { background: var(--blue-light); color: var(--navy); }
.card-icon-red { background: var(--red-light); color: var(--red); }

/* ============================================================
   UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--bg-structural);
  color: var(--text-on-dark-muted);
  font-size: 0.8rem;
  padding: 6px 0;
}
.utility-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.utility-bar span { white-space: nowrap; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  background: var(--bg-structural);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 38px;
  width: auto;
  flex-shrink: 0;
}
.logo-accent { color: var(--cta-gold); }
.logo-sub {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Primary Nav */
.primary-nav { display: flex; gap: 2px; align-items: center; }
.primary-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  position: relative;
}
.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--cta-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.primary-nav a:hover::after,
.primary-nav a.active::after { transform: scaleX(1); }
.primary-nav a:hover, .primary-nav a.active {
  background: rgba(255,255,255,0.08);
  color: var(--cta-gold);
}
.nav-cta {
  background: var(--cta-gold) !important;
  color: var(--text-primary) !important;
  font-weight: 600 !important;
  padding: 8px 16px !important;
  margin-left: 4px;
  transition: all var(--transition) !important;
}
.nav-cta:hover {
  background: var(--cta-gold-hover) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}
.nav-cta::after { display: none; }

/* Mobile nav toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--white);
  padding: 4px;
  transition: color var(--transition);
}
.mobile-nav-toggle:hover { color: var(--cta-gold); }

/* Mobile nav — dark overlay matching header */
@media (max-width: 768px) {
  .primary-nav.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-structural);
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    z-index: 99;
  }
  .primary-nav.mobile-open a {
    padding: 10px 12px;
  }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-structural-light);
  color: var(--text-on-dark);
  font-size: 0.8rem;
  padding: 10px 0;
  text-align: center;
}
.trust-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.trust-item .icon { font-size: 0.85rem; opacity: 0.7; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--bg-structural);
  color: var(--white);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  background:
    radial-gradient(circle at 30% 40%, rgba(19,74,47,0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-pattern {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 45%;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.5) 2px, rgba(255,255,255,0.5) 3px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.5) 2px, rgba(255,255,255,0.5) 3px);
  pointer-events: none;
}
.hero-illustration {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 280px;
  height: 280px;
  opacity: 0.12;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  max-width: 650px;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-on-dark-muted);
  max-width: 560px;
  margin-bottom: 28px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-links { margin-top: 24px; display: flex; gap: 20px; flex-wrap: wrap; }
.hero-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hero-links a:hover { color: var(--cta-gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--cta-gold);
  color: var(--text-primary);
  border-color: var(--cta-gold);
}
.btn-primary:hover {
  background: var(--cta-gold-hover);
  border-color: var(--cta-gold-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.55);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--bg-structural);
  color: var(--white);
  border-color: var(--bg-structural);
}
.btn-dark:hover {
  background: var(--bg-structural-light);
  border-color: var(--bg-structural-light);
  box-shadow: 0 4px 14px rgba(200,168,75,0.25);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg-primary-off);
  border-color: var(--gray-300);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 20px;
}
.section-alt { background: var(--bg-primary-off); }
.section-dark { background: var(--bg-structural); color: var(--white); }
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  font-family: 'Playfair Display', Georgia, serif;
}
.section-dark .section-title { color: var(--white); }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 600px;
  font-family: 'Inter', sans-serif;
}
.section-dark .section-subtitle { color: var(--text-on-dark-muted); }

/* Section ornament divider */
.section-ornament {
  text-align: center;
  padding: 0 20px;
  background: var(--off-white);
}
.section-ornament .ornament-line {
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--accent-gold);
  opacity: 0.4;
  vertical-align: middle;
}
.section-ornament .ornament-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  margin: 0 12px;
  vertical-align: middle;
}

/* ============================================================
   CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition-slow),
              transform var(--transition-slow),
              border-color var(--transition-slow);
  position: relative;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-300);
}
.card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-link {
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover { gap: 8px; text-decoration: none; color: var(--cta-gold); }

/* Triage cards (homepage) */
.triage-card {
  border-left: 4px solid var(--accent-gold);
  padding: 24px;
  transition: all var(--transition-slow);
}
.triage-card:hover {
  border-left-color: var(--cta-gold);
  box-shadow: var(--shadow-lg);
}
.triage-card.urgent {
  border-left-color: var(--red);
  background: var(--red-light);
}
.triage-card.urgent:hover {
  border-left-color: #b91c1c;
  background: #fee2e2;
}
.triage-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.triage-card .btn { margin-top: 12px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--bg-structural);
  color: var(--white);
  padding: 48px 20px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 35%;
  background: radial-gradient(circle at 40% 50%, rgba(200,168,75,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  max-width: 650px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 550px;
  line-height: 1.6;
}

/* ============================================================
   CONTENT LAYOUT (2-column: main + rail)
   ============================================================ */
.content-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px;
  display: flex;
  gap: 48px;
}
.content-main {
  flex: 1;
  min-width: 0;
}
.content-rail {
  width: var(--rail-width);
  flex-shrink: 0;
}

/* Sticky rail */
.sticky-rail {
  position: sticky;
  top: 100px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.content-main h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 40px 0 16px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 28px 0 12px;
}
.content-main p {
  margin-bottom: 16px;
  line-height: 1.7;
}
.content-main ul, .content-main ol {
  margin-bottom: 16px;
  padding-left: 24px;
}
.content-main li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.content-main blockquote {
  border-left: 4px solid var(--accent-gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--bg-primary-off);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ============================================================
   STATE TOGGLE
   ============================================================ */
.state-toggle {
  display: flex;
  gap: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.state-toggle button {
  flex: 1;
  padding: 8px 20px;
  border: none;
  background: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}
.state-toggle button.active {
  background: var(--bg-structural);
  color: var(--white);
}
.state-content { display: none; }
.state-content.active { display: block; }

/* ============================================================
   SCENARIO / SYMPTOM CARDS
   ============================================================ */
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}
.scenario-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--white);
  transition: all var(--transition-slow);
}
.scenario-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
}
.scenario-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent-gold); }
.faq-question .faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  transition: all var(--transition);
  flex-shrink: 0;
}
.faq-question .faq-icon::before {
  content: '+';
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform var(--transition);
}
.faq-item.open .faq-question .faq-icon::before {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 0 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-question { color: var(--accent-gold); }

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  background: var(--bg-structural);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 32px 0;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,168,75,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--white); position: relative; }
.cta-block p { color: rgba(255,255,255,0.85); margin-bottom: 16px; position: relative; }
.cta-options { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.cta-options .btn { font-size: 0.85rem; }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  background: var(--bg-primary-off);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 32px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   EVIDENCE CHECKLIST
   ============================================================ */
.checklist {
  list-style: none;
  padding-left: 0;
}
.checklist li {
  padding: 8px 0 8px 32px;
  position: relative;
  border-bottom: 1px solid var(--gray-100);
}
.checklist li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 1.1rem;
}

/* ============================================================
   RAIL COMPONENTS
   ============================================================ */
.rail-cta {
  background: var(--accent-gold);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.rail-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.rail-cta h4 { font-size: 0.95rem; margin-bottom: 12px; color: var(--white); }
.rail-cta .btn { background: var(--white); color: var(--text-primary); border-color: var(--white); font-size: 0.85rem; }

.rail-toc {
  background: var(--gray-50);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.rail-toc h4 { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 12px; }
.rail-toc a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid var(--gray-100);
  transition: color var(--transition), padding-left var(--transition);
}
.rail-toc a:hover { color: var(--accent-gold); padding-left: 4px; }
.rail-toc a:last-child { border-bottom: none; }

/* ============================================================
   IMAGE CALL OUT
   ============================================================ */
.img-callout {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  background: var(--bg-structural);
  position: relative;
}
.img-callout img {
  width: 100%;
  display: block;
}
.img-callout-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
}

/* ============================================================
   STAT BLOCK
   ============================================================ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.stat-item {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-slow);
}
.stat-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-structural);
  color: var(--text-on-dark-muted);
  padding: 48px 20px 24px;
  font-size: 0.85rem;
}
.footer-brand {
  max-width: var(--max-width);
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 48px;
  width: auto;
  flex-shrink: 0;
}
.footer-site-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.footer-tagline {
  display: block;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 3px 0;
  font-size: 0.8rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--cta-gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

/* ============================================================
   URGENT ALERT
   ============================================================ */
.urgent-alert {
  background: var(--red-light);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.urgent-alert h4 { color: var(--red); margin-bottom: 6px; font-size: 1rem; }
.urgent-alert p { color: var(--gray-700); font-size: 0.9rem; }

/* ============================================================
   PROCESS TIMELINE
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 32px 0;
  counter-reset: step;
}
.process-step {
  text-align: center;
  position: relative;
}
.process-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--accent-gold);
  color: var(--white);
  border-radius: 50%;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 14px;
  box-shadow: 0 4px 12px rgba(200,168,75,0.25);
  transition: transform var(--transition);
}
.process-step:hover::before {
  transform: scale(1.1);
}
.process-step h4 { font-size: 0.9rem; color: var(--text-primary); margin-bottom: 6px; }
.process-step p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ============================================================
   FORM
   ============================================================ */
.contact-form {
  max-width: 560px;
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(26,58,42,0.1);
}

/* ============================================================
   HERO BACKGROUND IMAGE
   ============================================================ */
.hero.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.hero.has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,42,0.92) 0%, rgba(26,58,42,0.78) 50%, rgba(26,58,42,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}
.hero.has-bg .hero-inner { z-index: 1; }
.hero.has-bg .hero-pattern { opacity: 0.04; }
.hero.has-bg .hero-illustration { opacity: 0.18; }

/* ============================================================
   PAGE HERO BACKGROUND IMAGE
   ============================================================ */
.page-hero.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-bg::after {
  background: linear-gradient(135deg, rgba(26,58,42,0.9) 0%, rgba(26,58,42,0.7) 60%, rgba(26,58,42,0.45) 100%);
}

/* ============================================================
   SECTION BANNER IMAGE
   ============================================================ */
.section-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,58,42,0.55);
  pointer-events: none;
}
.section-banner.section-banner-light::after {
  background: rgba(248,249,250,0.45);
}
.section-banner-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: var(--max-width);
}
.section-banner .section-title { color: var(--white); }
.section-banner-light .section-title { color: var(--text-primary); }
.section-banner .section-subtitle { color: var(--text-on-dark-muted); }
.section-banner-light .section-subtitle { color: var(--text-muted); }

/* ============================================================
   CARD TOP IMAGE
   ============================================================ */
.card-img-top {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  margin: -28px -28px 18px -28px;
  display: block;
}
.card-img-top + h3 { margin-top: 0; }

/* ============================================================
   CARD THUMBNAIL
   ============================================================ */
.card-thumb {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.card-thumb-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.card-thumb-body { flex: 1; min-width: 0; }
.card-thumb-body h3 { margin-top: 0; }

/* ============================================================
   CONTENT IMAGE (in content-main)
   ============================================================ */
.content-img {
  max-width: 100%;
  border-radius: var(--radius-lg);
  margin: 24px 0;
  box-shadow: var(--shadow-md);
  display: block;
}
.content-img-left {
  float: left;
  max-width: 45%;
  margin: 8px 24px 16px 0;
}
.content-img-right {
  float: right;
  max-width: 45%;
  margin: 8px 0 16px 24px;
}
.content-img-caption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 8px;
}
@media (max-width: 768px) {
  .content-img-left, .content-img-right {
    float: none;
    max-width: 100%;
    margin: 24px 0;
  }
}

/* ============================================================
   IMAGE CALLOUT (full-width with overlay text)
   ============================================================ */
.img-callout-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 40px 0;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  align-items: center;
}
.img-callout-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,58,42,0.85) 0%, rgba(26,58,42,0.3) 60%, rgba(26,58,42,0.05) 100%);
}
.img-callout-full .img-callout-content {
  position: relative;
  z-index: 1;
  padding: 40px;
  max-width: 55%;
  color: var(--white);
}
.img-callout-full .img-callout-content h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--white); }
.img-callout-full .img-callout-content p { color: rgba(255,255,255,0.85); line-height: 1.6; }
@media (max-width: 768px) {
  .img-callout-full .img-callout-content { max-width: 100%; padding: 28px; }
}

/* ============================================================
   TEAM PORTRAIT GRID
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 32px 0;
}
.team-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: all var(--transition-slow);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.team-portrait {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  border: 3px solid var(--accent-gold);
  display: block;
}
.team-card h4 { font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.team-card .team-role { font-size: 0.8rem; color: var(--accent-gold); font-weight: 600; margin-bottom: 8px; }
.team-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; }
@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FEATURE ICON IMAGE
   ============================================================ */
.feature-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: inline-block;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER BACKGROUND IMAGE
   ============================================================ */
.site-footer.has-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.site-footer.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,58,42,0.92);
  pointer-events: none;
}
.site-footer.has-bg .footer-inner,
.site-footer.has-bg .footer-bottom { position: relative; z-index: 1; }

/* ============================================================
   ANNOUNCEMENT/ALERT BANNER IMAGE
   ============================================================ */
.announcement-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  margin: 24px 0;
  padding: 32px;
  min-height: 160px;
  display: flex;
  align-items: center;
}
.announcement-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,42,0.88) 0%, rgba(26,58,42,0.6) 100%);
}
.announcement-banner .announcement-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}
.announcement-banner .announcement-content h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.announcement-banner .announcement-content p { color: rgba(255,255,255,0.85); margin-bottom: 12px; }

/* ============================================================
   GLOBE/MAP IMAGE
   ============================================================ */
.globe-map {
  max-width: 300px;
  display: block;
  margin: 0 auto;
  opacity: 0.9;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .content-layout {
    flex-direction: column;
  }
  .content-rail {
    width: 100%;
    order: -1;
  }
  .sticky-rail { position: static; }
  .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .scenario-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero-illustration { opacity: 0.06; width: 180px; height: 180px; }
  .hero-pattern { opacity: 0.04; }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .mobile-nav-toggle { display: block; }
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.5rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .card-grid-2, .card-grid-3, .card-grid-4 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .trust-strip-inner { gap: 12px; }
  .header-inner { flex-wrap: wrap; }
  .stat-row { grid-template-columns: 1fr; }
  .hero { padding: 56px 20px; }
  .hero-illustration { display: none; }
  .hero-pattern { display: none; }
  .section { padding: 56px 20px; }
  .footer-brand { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px; }
  .section { padding: 40px 16px; }
  .hero h1 { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; }
}
