/* === GOLDEN LEAF ADVISORY — Global Styles === */
:root {
  --forest: #1a3c2a;
  --forest-dark: #0f2619;
  --forest-light: #2d5e42;
  --gold: #c9a84c;
  --gold-light: #e2cb7a;
  --gold-dark: #a8872e;
  --cream: #faf8f2;
  --cream-dark: #f0ead6;
  --white: #ffffff;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --text-muted: #888888;
  --border: #e0ddd4;
  --shadow: rgba(26, 60, 42, 0.08);
  --shadow-lg: rgba(26, 60, 42, 0.12);
  --radius: 8px;
  --radius-lg: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--forest-dark);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }

a { color: var(--forest-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dark); }

img { max-width: 100%; height: auto; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* === HEADER / NAV === */
.site-header {
  background: var(--forest-dark);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1140px;
  margin: 0 auto;
  height: 72px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}
.logo span { color: var(--cream); font-weight: 400; }

nav { display: flex; align-items: center; gap: 8px; }
nav a {
  color: var(--cream-dark);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
nav a:hover { color: var(--gold); background: rgba(255,255,255,0.06); }
nav a.active { color: var(--gold); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* === HERO === */
.hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 50%, var(--forest-light) 100%);
  color: var(--cream);
  padding: 80px 0 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c9a84c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  opacity: 1;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); font-size: 3.2rem; margin-bottom: 1rem; }
.hero .subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-weight: 400;
  line-height: 1.6;
}
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.hero-badge .number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.hero-badge .label {
  font-size: 0.85rem;
  color: var(--cream-dark);
  opacity: 0.8;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  text-align: center;
}
.btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--forest-dark);
}
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-cta {
  background: var(--gold);
  color: var(--forest-dark);
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius);
  letter-spacing: 0.3px;
}
.btn-cta:hover {
  background: var(--gold-light);
  color: var(--forest-dark);
  transform: translateY(-1px);
}

/* === SECTIONS === */
section { padding: 70px 0; }
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header p {
  color: var(--text-light);
  max-width: 600px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.bg-white { background: var(--white); }
.bg-forest {
  background: var(--forest-dark);
  color: var(--cream);
}
.bg-forest h2, .bg-forest h3 { color: var(--cream); }
.bg-forest p { color: var(--cream-dark); }

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s;
}
.card:hover {
  box-shadow: 0 8px 30px var(--shadow-lg);
  transform: translateY(-3px);
}
.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-light) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 18px;
}
.card h3 a { color: var(--forest-dark); }
.card h3 a:hover { color: var(--gold-dark); }
.card p { color: var(--text-light); font-size: 0.95rem; }

/* === COMPARISON TABLE === */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 2px 12px var(--shadow);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}
thead {
  background: var(--forest-dark);
  color: var(--cream);
}
thead th {
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: left;
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--cream); }
tbody td {
  padding: 18px 20px;
  font-size: 0.95rem;
  vertical-align: middle;
}
tbody td:first-child { font-weight: 600; }
.highlight-row { background: rgba(201, 168, 76, 0.06); }

/* === STAR RATINGS === */
.stars { color: var(--gold); font-size: 0.95rem; letter-spacing: 1px; }
.stars .empty { color: var(--border); }
.rating-num {
  font-weight: 700;
  color: var(--forest-dark);
  font-size: 1rem;
  margin-right: 6px;
}

/* === EDITORIAL DISCLOSURE === */
.disclosure {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}
.disclosure strong { color: var(--text); }

/* === NEWSLETTER === */
.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  color: var(--cream);
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--gold);
}

/* === FOOTER === */
.site-footer {
  background: var(--forest-dark);
  color: var(--cream-dark);
  padding: 50px 0 0;
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p { font-size: 0.9rem; opacity: 0.7; margin-top: 12px; line-height: 1.6; }
.footer-col h4 {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--cream-dark);
  font-size: 0.9rem;
  padding: 4px 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--gold-light); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.6;
}
.footer-disclaimer {
  padding: 20px 0;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.5;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* === BREADCRUMB === */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold-dark); }
.breadcrumb span { margin: 0 8px; }

/* === PAGE HERO (interior pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 100%);
  color: var(--cream);
  padding: 50px 0 55px;
  text-align: center;
}
.page-hero h1 { color: var(--cream); font-size: 2.5rem; margin-bottom: 0.75rem; }
.page-hero p { color: var(--gold-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* === CATEGORY TABS === */
.cat-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cat-tab {
  padding: 10px 22px;
  border: 2px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--white);
  color: var(--text-light);
  transition: all 0.2s;
}
.cat-tab:hover, .cat-tab.active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--cream);
}

/* === PRODUCT CARDS (credit cards, savings) === */
.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: 0 6px 24px var(--shadow-lg);
  transform: translateY(-2px);
}
.product-card .badge-rank {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--forest);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}
.product-card .pc-body { flex: 1; }
.product-card .pc-body h3 { margin-bottom: 8px; }
.product-card .pc-body h3 a { color: var(--forest-dark); }
.product-card .pc-meta {
  display: flex;
  gap: 24px;
  margin: 12px 0;
  flex-wrap: wrap;
}
.product-card .pc-meta .meta-item {
  font-size: 0.88rem;
  color: var(--text-light);
}
.product-card .pc-meta .meta-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
}
.product-card .pc-actions { flex-shrink: 0; text-align: right; }

/* === ABOUT / CONTACT === */
.content-block { max-width: 760px; margin: 0 auto; }
.content-block h2 { margin-top: 2.5rem; }
.content-block ul { margin: 1rem 0; padding-left: 1.5rem; }
.content-block li { margin-bottom: 0.5rem; color: var(--text-light); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--forest-light);
  box-shadow: 0 0 0 3px rgba(45, 94, 66, 0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 1rem; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-item .ci-icon {
  width: 40px;
  height: 40px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--forest);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* === WINNERS BADGE === */
.winner-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--forest-dark);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .hero { padding: 50px 0 60px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-badges { gap: 20px; }
  .header-inner { height: 60px; }
  .mobile-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--forest-dark);
    flex-direction: column;
    padding: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  nav.open { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .product-card { flex-direction: column; gap: 16px; }
  .product-card .pc-actions { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .page-hero { padding: 36px 0 40px; }
  .page-hero h1 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; gap: 16px; }
}
