/*
Theme Name: MySMBGuide Meridian
Theme URI: https://mysmbguide.com
Author: Blue Aspen Marketing
Author URI: https://avahr.com
Description: Custom theme for MySMBGuide.com — an independent SMB software review and comparison destination. Built on the Meridian brand identity with SEO-optimized templates, structured data markup, and custom post types for reviews, rankings, and comparisons.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
License: Proprietary
License URI: https://mysmbguide.com/license/
Text Domain: mysmbguide
Tags: blog, one-column, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready

MySMBGuide Meridian — The Compass for Small Business Software.
*/

/* ==========================================================================
   Design Tokens (Meridian Brand)
   ========================================================================== */

:root {
  /* Colors */
  --color-deep:    #0D1F2D;
  --color-petrol:  #1B4965;
  --color-brass:   #C7883A;
  --color-sky:     #5FA8D3;
  --color-slate:   #3D4F5F;
  --color-stone:   #8A949C;
  --color-mist:    #D8DEE4;
  --color-paper:   #F5F7F9;
  --color-white:   #FFFFFF;

  /* Semantic tokens */
  --color-text:        var(--color-deep);
  --color-text-muted:  var(--color-slate);
  --color-text-light:  var(--color-stone);
  --color-heading:     var(--color-deep);
  --color-link:        var(--color-petrol);
  --color-link-hover:  var(--color-brass);
  --color-accent:      var(--color-brass);
  --color-bg:          var(--color-white);
  --color-bg-alt:      var(--color-paper);
  --color-border:      var(--color-mist);
  --color-cta:         var(--color-petrol);
  --color-cta-hover:   #164058;
  --color-cta-text:    var(--color-white);
  --color-score-high:  #2E7D32;
  --color-score-mid:   var(--color-brass);
  --color-score-low:   #C62828;

  /* Typography */
  --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Type scale */
  --text-xs:   0.6875rem;  /* 11px */
  --text-sm:   0.8125rem;  /* 13px */
  --text-base: 1rem;       /* 16px */
  --text-md:   1.125rem;   /* 18px */
  --text-lg:   1.375rem;   /* 22px */
  --text-xl:   1.75rem;    /* 28px */
  --text-2xl:  2.25rem;    /* 36px */
  --text-3xl:  2.625rem;   /* 42px */

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Layout */
  --max-width-content: 760px;
  --max-width-wide:    1100px;
  --max-width-full:    1280px;
  --border-radius:     6px;
  --border-radius-lg:  10px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(13, 31, 45, 0.06);
  --shadow-md:  0 4px 12px rgba(13, 31, 45, 0.08);
  --shadow-lg:  0 8px 30px rgba(13, 31, 45, 0.12);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-link-hover);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.25;
  margin: 0 0 var(--space-md);
}

h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.01em;
  margin-top: var(--space-3xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  margin: 0 0 var(--space-lg);
}

.display-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.label {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width-full);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-content);
}

.container--wide {
  max-width: var(--max-width-wide);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-bg-alt);
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width-full);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.site-logo img,
.site-logo svg {
  height: 40px;
  width: auto;
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  border-radius: var(--border-radius);
  transition: background-color 0.2s, color 0.2s;
}

.main-nav__link:hover,
.main-nav__link--active {
  background-color: var(--color-bg-alt);
  color: var(--color-petrol);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  z-index: 200;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  display: block;
}

.nav-dropdown__item {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  border-radius: var(--border-radius);
}

.nav-dropdown__item:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-petrol);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-deep);
  margin: 5px 0;
  transition: transform 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-md);
    box-shadow: var(--shadow-md);
  }

  .main-nav--open {
    display: flex;
  }

  .nav-dropdown__menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: var(--space-lg);
  }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  padding: var(--space-md) 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.breadcrumbs a {
  color: var(--color-text-light);
}

.breadcrumbs a:hover {
  color: var(--color-link);
}

.breadcrumbs__separator {
  margin: 0 var(--space-sm);
  opacity: 0.5;
}

/* ==========================================================================
   Article / Content
   ========================================================================== */

.article-header {
  margin-bottom: var(--space-2xl);
}

.article-header__category {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-petrol);
  margin-bottom: var(--space-sm);
}

.article-header__title {
  margin-bottom: var(--space-md);
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.article-header__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.article-header__author img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.article-content {
  max-width: var(--max-width-content);
}

.article-content h2 {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
}

.article-content ul,
.article-content ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.article-content li {
  margin-bottom: var(--space-sm);
}

.article-content blockquote {
  border-left: 3px solid var(--color-brass);
  margin: var(--space-xl) 0;
  padding: var(--space-md) var(--space-xl);
  background: var(--color-bg-alt);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
}

/* Updated date badge */
.updated-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  background: #E8F5E9;
  color: #2E7D32;
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--border-radius);
}

/* ==========================================================================
   Review Components
   ========================================================================== */

/* Verdict box */
.verdict-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-2xl);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-xl);
  align-items: center;
}

.verdict-box__score {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-petrol);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  font-weight: 700;
}

.verdict-box__score--high { background: var(--color-score-high); }
.verdict-box__score--mid  { background: var(--color-score-mid); }
.verdict-box__score--low  { background: var(--color-score-low); }

.verdict-box__content h3 {
  margin-bottom: var(--space-xs);
}

.verdict-box__tagline {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.verdict-box__best-for {
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.verdict-box__cta {
  text-align: center;
}

@media (max-width: 640px) {
  .verdict-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .verdict-box__score {
    margin: 0 auto;
  }
}

/* Pros / Cons */
.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.pros-cons__col h4 {
  font-size: var(--text-base);
  margin-bottom: var(--space-md);
}

.pros-cons__col--pros h4 {
  color: var(--color-score-high);
}

.pros-cons__col--cons h4 {
  color: var(--color-score-low);
}

.pros-cons__col ul {
  list-style: none;
  padding: 0;
}

.pros-cons__col li {
  padding: var(--space-sm) 0;
  padding-left: var(--space-lg);
  position: relative;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-border);
}

.pros-cons__col--pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--color-score-high);
  font-weight: 700;
}

.pros-cons__col--cons li::before {
  content: '\2212';
  position: absolute;
  left: 0;
  color: var(--color-score-low);
  font-weight: 700;
}

@media (max-width: 640px) {
  .pros-cons {
    grid-template-columns: 1fr;
  }
}

/* Score breakdown */
.score-breakdown {
  margin-bottom: var(--space-2xl);
}

.score-bar {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.score-bar__label {
  flex: 0 0 140px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.score-bar__track {
  flex: 1;
  height: 8px;
  background: var(--color-mist);
  border-radius: 4px;
  overflow: hidden;
}

.score-bar__fill {
  height: 100%;
  background: var(--color-petrol);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.score-bar__value {
  flex: 0 0 36px;
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: right;
}

/* ==========================================================================
   Rankings / Comparison Tables
   ========================================================================== */

/* Quick-pick table */
.rankings-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
  font-size: var(--text-sm);
}

.rankings-table th {
  background: var(--color-deep);
  color: var(--color-white);
  padding: var(--space-md);
  text-align: left;
  font-weight: 600;
  font-size: var(--text-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rankings-table th:first-child {
  border-radius: var(--border-radius) 0 0 0;
}

.rankings-table th:last-child {
  border-radius: 0 var(--border-radius) 0 0;
}

.rankings-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.rankings-table tr:hover {
  background-color: var(--color-bg-alt);
}

.rankings-table__rank {
  font-weight: 700;
  color: var(--color-petrol);
  width: 40px;
  text-align: center;
}

.rankings-table__product {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.rankings-table__product img {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius);
}

.rankings-table__score {
  font-weight: 700;
  text-align: center;
}

.rankings-table__cta {
  text-align: center;
}

/* Responsive table wrapper */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-xl);
}

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  text-align: center;
}

.comparison-table th {
  background: var(--color-bg-alt);
  font-weight: 700;
}

.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  background: var(--color-bg-alt);
}

.comparison-table .check {
  color: var(--color-score-high);
}

.comparison-table .cross {
  color: var(--color-score-low);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card__image {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.card__body {
  padding: var(--space-lg);
}

.card__category {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-petrol);
  margin-bottom: var(--space-sm);
}

.card__title {
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

.card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.card__meta {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* Product card (for category pillar pages) */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  margin-bottom: var(--space-lg);
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: var(--shadow-md);
}

.product-card__logo {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--border-radius);
  object-fit: contain;
  border: 1px solid var(--color-border);
}

.product-card__content {
  flex: 1;
}

.product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-sm);
}

.product-card__name {
  font-size: var(--text-lg);
  margin: 0;
}

.product-card__score {
  background: var(--color-petrol);
  color: var(--color-white);
  font-weight: 700;
  font-size: var(--text-sm);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--border-radius);
  white-space: nowrap;
}

.product-card__best-for {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.product-card__pricing {
  font-size: var(--text-sm);
  font-weight: 600;
}

.product-card__actions {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, box-shadow 0.2s;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--color-cta);
  color: var(--color-cta-text);
}

.btn--primary:hover {
  background: var(--color-cta-hover);
  color: var(--color-cta-text);
}

.btn--secondary {
  background: transparent;
  color: var(--color-petrol);
  border: 1.5px solid var(--color-petrol);
}

.btn--secondary:hover {
  background: var(--color-petrol);
  color: var(--color-white);
}

.btn--accent {
  background: var(--color-brass);
  color: var(--color-white);
}

.btn--accent:hover {
  background: #B5782F;
  color: var(--color-white);
}

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 0.875rem 1.75rem;
  font-size: var(--text-base);
}

/* ==========================================================================
   Pricing Table
   ========================================================================== */

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-2xl);
}

.pricing-table th {
  background: var(--color-bg-alt);
  padding: var(--space-md);
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid var(--color-border);
}

.pricing-table td {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.pricing-table__plan-name {
  font-weight: 600;
}

.pricing-table__price {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-petrol);
}

.pricing-table__price span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--color-text-light);
}

/* ==========================================================================
   Table of Contents
   ========================================================================== */

.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.toc__title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc__list li {
  margin-bottom: var(--space-sm);
}

.toc__list a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.toc__list a:hover {
  color: var(--color-petrol);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */

.faq-section {
  margin-top: var(--space-3xl);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
  width: 100%;
  background: none;
  border: none;
  padding: var(--space-lg) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-heading);
  text-align: left;
}

.faq-item__question::after {
  content: '+';
  font-size: var(--text-xl);
  color: var(--color-text-light);
  transition: transform 0.2s;
}

.faq-item--open .faq-item__question::after {
  content: '\2212';
}

.faq-item__answer {
  display: none;
  padding-bottom: var(--space-lg);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item--open .faq-item__answer {
  display: block;
}

/* ==========================================================================
   Sidebar
   ========================================================================== */

.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-3xl);
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
}

.sidebar__widget {
  margin-bottom: var(--space-2xl);
}

.sidebar__widget-title {
  font-size: var(--text-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-brass);
}

/* ==========================================================================
   Affiliate Disclosure
   ========================================================================== */

.disclosure {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: var(--border-radius);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-deep);
  color: var(--color-mist);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.site-footer a {
  color: var(--color-mist);
}

.site-footer a:hover {
  color: var(--color-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col__title {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-col__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col__list li {
  margin-bottom: var(--space-sm);
}

.footer-col__list a {
  font-size: var(--text-sm);
  opacity: 0.8;
}

.footer-col__list a:hover {
  opacity: 1;
}

.footer-brand__description {
  font-size: var(--text-sm);
  opacity: 0.7;
  line-height: 1.7;
  margin-top: var(--space-md);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero {
  background: var(--color-deep);
  color: var(--color-white);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.hero__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  max-width: 700px;
  margin: 0 auto var(--space-md);
}

.hero__title .display-heading {
  color: var(--color-sky);
}

.hero__subtitle {
  font-size: var(--text-md);
  color: var(--color-mist);
  max-width: 560px;
  margin: 0 auto var(--space-xl);
  opacity: 0.85;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-md);
}

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.category-card__icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.category-card__name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-heading);
}

.category-card__count {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ==========================================================================
   CTA Banner
   ========================================================================== */

.cta-banner {
  background: var(--color-petrol);
  color: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--border-radius-lg);
  text-align: center;
  margin: var(--space-3xl) 0;
}

.cta-banner h3 {
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center  { text-align: center; }
.text-sm      { font-size: var(--text-sm); }
.text-muted   { color: var(--color-text-muted); }
.mt-0         { margin-top: 0; }
.mb-0         { margin-bottom: 0; }
.mb-sm        { margin-bottom: var(--space-sm); }
.mb-md        { margin-bottom: var(--space-md); }
.mb-lg        { margin-bottom: var(--space-lg); }
.mb-xl        { margin-bottom: var(--space-xl); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
