/*
Theme Name: GoldIRA Expert
Theme URI: https://goldiraexpert.com
Author: GoldIRA Expert Team
Author URI: https://goldiraexpert.com
Description: A premium Gold IRA affiliate comparison theme built for Bricks Builder. Features SEO silo architecture, conversion-optimized layouts, comparison tables, review templates, and full RankMath SEO integration. Designed for financial affiliate sites with trust-focused design.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goldira-expert
Tags: affiliate, financial, bricks-builder, seo-optimized, conversion-focused, gold-ira, comparison-table, review-template

--- DESIGN SYSTEM ---
Primary Color: #B8860B (Gold)
Secondary Color: #8B6914 (Dark Gold)
Background: #FFF8E7 (Cream)
Text: #333333
Heading Font: EB Garamond
Body Font: Source Sans Pro
*/

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #B8860B;
  --gold-dark: #8B6914;
  --gold-light: #D4A520;
  --gold-pale: #FFF8E7;
  --gold-ultra: #FFFDF5;
  --text: #2C2416;
  --text-muted: #6B5C3E;
  --text-light: #9A8C72;
  --bg: #FDFAF3;
  --bg-card: #FFFFFF;
  --border: rgba(184,134,11,0.2);
  --border-strong: rgba(184,134,11,0.4);
  --shadow: 0 4px 24px rgba(139,105,20,0.12);
  --shadow-lg: 0 12px 48px rgba(139,105,20,0.18);
  --green: #2E7D32;
  --red: #C62828;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --container: 1180px;
}

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

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.25;
  color: var(--text);
}

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; display: block; }
p { margin-bottom: 1em; }
ul, ol { padding-left: 1.5em; margin-bottom: 1em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   TYPOGRAPHY SCALE
============================================================ */
.entry-content h1 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 20px; }
.entry-content h2 { font-size: clamp(22px, 3vw, 32px); margin: 36px 0 14px; color: var(--gold-dark); }
.entry-content h3 { font-size: clamp(18px, 2.5vw, 24px); margin: 28px 0 10px; }
.entry-content h4 { font-size: 18px; margin: 20px 0 8px; }
.entry-content p { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.entry-content ul li, .entry-content ol li { font-size: 15px; color: var(--text-muted); padding: 4px 0; line-height: 1.65; }
.entry-content a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.entry-content table th { background: var(--text); color: #fff; padding: 12px 14px; text-align: left; }
.entry-content table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.entry-content table tr:nth-child(even) { background: var(--gold-ultra); }
.entry-content blockquote { border-left: 4px solid var(--gold); padding: 16px 20px; background: var(--gold-pale); margin: 24px 0; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; font-size: 17px; }
.entry-content strong { color: var(--text); font-weight: 700; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(184,134,11,0.35);
}
.btn-primary:hover {
  background: var(--gold-dark);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,134,11,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold) !important;
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-lg { padding: 18px 36px; font-size: 17px; }

.btn-green {
  background: var(--green);
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(46,125,50,0.3);
}
.btn-green:hover {
  background: #1B5E20;
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253,250,243,0.97);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}

#site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
  height: 68px;
  max-width: var(--container);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'EB Garamond', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none !important;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo .logo-icon svg { width: 20px; height: 20px; fill: #fff; }
.site-logo span { color: var(--gold); }

/* Navigation */
.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.main-nav > li { list-style: none; position: relative; }
.main-nav > li > a {
  display: block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
  text-decoration: none !important;
}
.main-nav > li > a:hover,
.main-nav > li.current-menu-item > a,
.main-nav > li.current-menu-ancestor > a {
  color: var(--gold);
  background: var(--gold-pale);
}

/* Dropdown */
.main-nav .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 100;
  list-style: none;
}

.main-nav > li:hover .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav .sub-menu li a {
  display: block;
  padding: 9px 12px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none !important;
  transition: background 0.2s;
}
.main-nav .sub-menu li a:hover { background: var(--gold-pale); color: var(--gold); }

.header-cta { flex-shrink: 0; }

/* Mobile nav toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}

#mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-card);
  overflow-y: auto;
  padding: 80px 24px 40px;
}
#mobile-nav-overlay.open { display: block; }
#mobile-nav-overlay a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
  background: linear-gradient(160deg, var(--gold-ultra) 0%, var(--gold-pale) 60%, #FFF5D0 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(184,134,11,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,134,11,0.12);
  border: 1px solid rgba(184,134,11,0.3);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-section h1 {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-section h1 em {
  color: var(--gold);
  font-style: normal;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item .dot {
  width: 20px;
  height: 20px;
  background: rgba(184,134,11,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--gold);
}

/* ============================================================
   TRUST BAR
============================================================ */
.trust-bar {
  background: #1C1508;
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}

.trust-stat-num {
  font-family: 'EB Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-light);
}

.trust-stat-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 80px 0; }
.section-alt { background: var(--gold-pale); }
.section-dark { background: var(--text); color: #fff; }

.section-header { text-align: center; margin-bottom: 52px; }
.section-header .section-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  background: var(--bg-card);
}

.comparison-table thead th {
  background: #1C1508;
  color: #fff;
  padding: 14px 16px;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-align: left;
  white-space: nowrap;
}

.comparison-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.comparison-table tbody tr:last-child { border-bottom: none; }
.comparison-table tbody tr:hover { background: var(--gold-ultra); }

.comparison-table tbody tr.best-choice {
  background: #FFFBEE;
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.comparison-table td {
  padding: 16px;
  font-size: 14px;
  color: var(--text);
  vertical-align: middle;
}

.best-choice-tag {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 3px 7px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.company-logo-sm {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.rank-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stars { color: #F4B400; }
.bbb-badge { display: inline-flex; align-items: center; gap: 3px; background: #E8F5E9; color: #1B5E20; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.fee-pill { background: #F3F0E8; color: var(--text-muted); padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; }

/* ============================================================
   REVIEW CARD
============================================================ */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.review-card.top-pick { border: 2px solid var(--gold); }

.review-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', serif;
  font-weight: 700;
  font-size: 18px;
}

.rating-num {
  font-family: 'EB Garamond', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

/* ============================================================
   REVIEW PAGE LAYOUT
============================================================ */
.review-page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 52px 0;
  align-items: start;
}

.quick-facts-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quick-facts-table tr:nth-child(even) { background: var(--gold-ultra); }
.quick-facts-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.quick-facts-table td:first-child { font-weight: 700; width: 42%; color: var(--text-muted); }
.quick-facts-table tr:last-child td { border-bottom: none; }

.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.pros-box { background: #E8F5E9; border: 1px solid #A5D6A7; border-radius: var(--radius-lg); padding: 20px; }
.cons-box { background: #FFEBEE; border: 1px solid #FFCDD2; border-radius: var(--radius-lg); padding: 20px; }
.pros-box h4 { color: #1B5E20; margin-bottom: 12px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.cons-box h4 { color: #B71C1C; margin-bottom: 12px; font-family: 'Source Sans 3', sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; }
.pros-box ul, .cons-box ul { list-style: none; padding: 0; margin: 0; }
.pros-box li, .cons-box li { font-size: 13px; padding: 5px 0 5px 22px; position: relative; list-style: none; color: var(--text); }
.pros-box li::before { content: '✓'; position: absolute; left: 0; color: #2E7D32; font-weight: 700; }
.cons-box li::before { content: '✗'; position: absolute; left: 0; color: #C62828; font-weight: 700; }

.verdict-box {
  background: var(--gold-pale);
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 28px;
  margin: 28px 0;
}
.verdict-box h3 { color: var(--gold-dark); margin-bottom: 12px; font-size: 20px; }
.verdict-box p { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 10px; }

.sticky-sidebar-card {
  background: var(--bg-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius-xl);
  padding: 28px;
  position: sticky;
  top: 88px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   BLOG SYSTEM
============================================================ */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.blog-thumb { height: 200px; object-fit: cover; width: 100%; }
.blog-body { padding: 22px; }
.blog-category { font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.blog-body h2 { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
.blog-body p { font-size: 13px; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.blog-meta { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--text-light); padding-top: 12px; border-top: 1px solid var(--border); }

.blog-post-layout { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 52px 0; }

.key-takeaways {
  background: var(--gold-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 28px 0;
}
.key-takeaways h4 { font-family: 'Source Sans 3', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold-dark); margin-bottom: 12px; font-weight: 700; }
.key-takeaways ul { padding: 0; margin: 0; list-style: none; }
.key-takeaways li { font-size: 14px; color: var(--text); padding: 4px 0 4px 20px; position: relative; line-height: 1.6; }
.key-takeaways li::before { content: '→'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.toc-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin: 24px 0; }
.toc-box h4 { font-family: 'Source Sans 3', sans-serif; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 12px; font-weight: 700; }
.toc-box ol { padding-left: 20px; margin: 0; }
.toc-box li { font-size: 13px; padding: 4px 0; }
.toc-box li a { color: var(--text-muted); text-decoration: none; }
.toc-box li a:hover { color: var(--gold); }

.mid-cta {
  background: linear-gradient(135deg, #1C1508 0%, #3D2E14 100%);
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 32px 0;
}
.mid-cta-text h4 { color: #fff; font-size: 18px; margin-bottom: 6px; }
.mid-cta-text p { color: rgba(255,255,255,0.7); font-size: 14px; margin: 0; }

.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--gold-pale);
  border-radius: var(--radius-xl);
  padding: 24px;
  margin-top: 40px;
  border: 1px solid var(--border);
}

/* ============================================================
   FAQ
============================================================ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--gold); }
.faq-q {
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  transition: color 0.2s;
  gap: 12px;
}
.faq-item.open .faq-q { color: var(--gold); }
.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
  font-size: 12px;
  color: var(--gold);
}
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--gold); color: #fff; }
.faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s ease;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 24px 22px; }

/* ============================================================
   BENEFITS & FEATURES
============================================================ */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  transition: all 0.3s;
}
.benefit-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.benefit-icon { width: 52px; height: 52px; background: var(--gold-pale); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.benefit-card h3 { font-size: 19px; margin-bottom: 10px; }
.benefit-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Steps */
.steps-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 26px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  z-index: 0;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 16px;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: all 0.3s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold); }
.step-num {
  width: 52px;
  height: 52px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: 'EB Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  border: 3px solid var(--bg-card);
  box-shadow: 0 0 0 2px var(--gold);
}
.step-card h4 { font-size: 14px; margin-bottom: 8px; }
.step-card p { font-size: 12px; color: var(--text-muted); line-height: 1.5; margin: 0; }

/* Criteria list */
.criteria-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
  margin-bottom: 16px;
}
.criteria-item:hover { border-color: var(--gold); }
.criteria-num {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.criteria-content h3 { font-size: 17px; margin-bottom: 6px; }
.criteria-content p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ============================================================
   CALLOUT BOX SHORTCODE STYLES
============================================================ */
.callout-box {
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  margin: 24px 0;
}
.callout-box.info { background: #E3F2FD; border-left: 4px solid #1565C0; }
.callout-box.warning { background: #FFF8E1; border-left: 4px solid #F57F17; }
.callout-box.success { background: #E8F5E9; border-left: 4px solid #2E7D32; }
.callout-box.gold { background: var(--gold-pale); border-left: 4px solid var(--gold); }
.callout-box h4 { font-size: 15px; margin-bottom: 8px; font-family: 'Source Sans 3', sans-serif; font-weight: 700; }
.callout-box p { font-size: 14px; line-height: 1.7; margin: 0; }

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-section h2 { font-size: clamp(28px, 4vw, 44px); color: #fff; margin-bottom: 16px; }
.cta-section p { font-size: 18px; color: rgba(255,255,255,0.85); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-btn-white { background: #fff !important; color: var(--gold) !important; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.cta-btn-white:hover { transform: translateY(-3px) !important; box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important; }

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
  background: linear-gradient(160deg, var(--gold-ultra) 0%, var(--gold-pale) 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.breadcrumb {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb span { color: var(--text-light); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background: #1C1508; padding: 64px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-logo { font-family: 'EB Garamond', serif; font-size: 24px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-logo span { color: var(--gold-light); }
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: 20px; }
.footer-disclaimer { background: rgba(255,255,255,0.05); border-radius: var(--radius); padding: 14px 18px; border: 1px solid rgba(255,255,255,0.08); }
.footer-disclaimer p { font-size: 11px; color: rgba(255,255,255,0.35); line-height: 1.6; margin: 0; }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 16px; font-family: 'Source Sans 3', sans-serif; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; }
.footer-col li a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; text-decoration: none; }
.footer-col li a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.35); margin: 0; }

/* ============================================================
   STICKY CTA BAR
============================================================ */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #1C1508;
  border-top: 2px solid var(--gold);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.sticky-cta-bar.visible { transform: translateY(0); }
.sticky-cta-bar p { font-size: 13px; color: rgba(255,255,255,0.8); margin: 0; }
.sticky-cta-bar strong { color: var(--gold-light); }

/* ============================================================
   EXIT POPUP
============================================================ */
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.exit-popup.visible { opacity: 1; pointer-events: auto; }
.popup-inner {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
  animation: popIn 0.4s ease;
}
@keyframes popIn {
  from { transform: scale(0.9) translateY(20px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ============================================================
   SIDEBAR
============================================================ */
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
}
.sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.sidebar-widget li { padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.sidebar-widget li:last-child { border-bottom: none; }
.sidebar-widget li a { color: var(--text-muted); }
.sidebar-widget li a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-page-layout { grid-template-columns: 1fr; }
  .blog-post-layout { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .mobile-toggle { display: flex; }
  .benefits-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .pros-cons-grid { grid-template-columns: 1fr; }
  .mid-cta { flex-direction: column; }
  .section { padding: 52px 0; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .popup-inner { padding: 32px 24px; }
  .sticky-cta-bar p { display: none; }
}
