/*
Theme Name: Dende
Theme URI: https://askdende.com
Author: Dende Team
Author URI: https://askdende.com
Description: Ultra-fast, minimal, luxury theme for Ask Dende.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
Text Domain: dende
*/

/* -------------------------------------------------------------------------
   1. Typography & Tokens (Manrope & Poppins Standard)
   ------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@600;700;800&family=Poppins:wght@400;500;600&display=swap');

:root {
  --color-background:    #f8fafc;  /* Clean crisp luxury background */
  --color-surface:       #ffffff;  /* Cards, main pane, topbar */
  --color-text:          #0f172a;  /* Deep rich slate black - high contrast */
  --color-text-muted:    #334155;  /* Dark crisp slate - easily readable */
  --color-text-subtle:   #64748b;  /* Subtle captions & secondary notes */
  --color-border:        #e2e8f0;  /* Structural 1px border */
  --color-border-light:  #f1f5f9;  /* Table separators, grid lines */
  --color-accent:        #0f172a;  /* Primary buttons, active states */
  --color-accent-hover:  #1e293b;
  --color-accent-light:  #f1f5f9;

  /* Sovereign Geospatial & Cadastre Palette */
  --color-cobalt:        #1d4ed8;  /* Sovereign Cobalt Blue */
  --color-cobalt-light:  rgba(29, 78, 216, 0.08);
  --color-emerald:       #059669;  /* Cadastral Verification Green */
  --color-emerald-light: rgba(5, 150, 105, 0.08);
  --color-amber:         #d97706;  /* Zoning Alert & Speed Gold */
  --color-amber-light:   rgba(217, 119, 6, 0.08);
  --color-indigo:        #4f46e5;  /* Institutional Legal Purple/Indigo */
  --color-indigo-light:  rgba(79, 70, 229, 0.08);
  --color-rose:          #e11d48;  /* Boundary Overlap Risk Red */
  --color-rose-light:    rgba(225, 29, 72, 0.08);

  /* System Status Indicators */
  --color-success:       #059669;
  --color-warning:       #d97706;
  --color-danger:        #e11d48;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sharp: 0px;
  --radius-pill: 9999px;
  --shadow-card: none;
}

html.dark {
  --color-background:    #0b0f17;
  --color-surface:       #151c28;
  --color-text:          #f8fafc;
  --color-text-muted:    #cbd5e1;
  --color-text-subtle:   #94a3b8;
  --color-border:        #232f3e;
  --color-border-light:  #1c2634;
  --color-accent:        #f8fafc;
  --color-accent-hover:  #ffffff;
  --color-accent-light:  #1c2634;

  --color-cobalt:        #3b82f6;
  --color-cobalt-light:  rgba(59, 130, 246, 0.15);
  --color-emerald:       #10b981;
  --color-emerald-light: rgba(16, 185, 129, 0.15);
  --color-amber:         #f59e0b;
  --color-amber-light:   rgba(245, 158, 11, 0.15);
  --color-indigo:        #6366f1;
  --color-indigo-light:  rgba(99, 102, 241, 0.15);
  --color-rose:          #f43f5e;
  --color-rose-light:    rgba(244, 63, 94, 0.15);
}

/* -------------------------------------------------------------------------
   2. Reset & Global Styles
   ------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--color-text);
}

a {
  color: inherit;
  text-decoration: none;
}

/* -------------------------------------------------------------------------
   3. Layout & Structure
   ------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.site-header {
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(246, 246, 244, 0.85);
  display: flex;
  align-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

html.dark .site-header {
  background-color: rgba(20, 20, 20, 0.85);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-decoration: none;
}

.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background-color: var(--color-text);
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  list-style: none;
}

.nav-link, .nav-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.nav-link:hover, .nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* -------------------------------------------------------------------------
   3.1 Hamburger & Mobile Navigation
   ------------------------------------------------------------------------- */
.hamburger-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.hamburger-btn:hover {
  border-color: var(--color-text);
  background-color: var(--color-accent-light);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background-color: var(--color-text);
  transition: transform 0.2s ease;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background-color: var(--color-surface);
  border-left: 1px solid var(--color-border);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 24px;
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  width: 36px;
  height: 36px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.drawer-close-btn:hover {
  border-color: var(--color-text);
  background-color: var(--color-accent-light);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-link, .drawer-menu a {
  display: block;
  padding: 12px 16px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-text);
  border: 1px solid transparent;
  border-radius: var(--radius-sharp);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.drawer-link:hover, .drawer-menu a:hover {
  background-color: var(--color-accent-light);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-light);
}

/* -------------------------------------------------------------------------
   3.2 Responsive Breakpoints (<768px)
   ------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .desktop-nav,
  .hide-mobile {
    display: none !important;
  }

  .show-mobile,
  .hamburger-btn {
    display: flex !important;
  }
}

@media (min-width: 769px) {
  .show-mobile {
    display: none !important;
  }
}

/* -------------------------------------------------------------------------
   4. Buttons & Badges
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sharp);
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-surface);
  border-color: var(--color-accent);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-accent-light);
  border-color: var(--color-text);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-pill);
  background-color: var(--color-success);
}

/* -------------------------------------------------------------------------
   5. Hero Section & Spatial Audit Card
   ------------------------------------------------------------------------- */
.hero-section {
  padding: 80px 0 64px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-badge-wrapper {
  margin-bottom: 20px;
}

.badge-emerald {
  border-color: rgba(65, 211, 51, 0.3);
  background-color: rgba(65, 211, 51, 0.08);
  color: var(--color-text);
}

.badge-icon {
  font-size: 14px;
  color: var(--color-success);
}

.hero-title {
  font-size: clamp(38px, 4.5vw, 60px);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-icon {
  font-size: 16px;
}

.hero-trust-bullets {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

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

.trust-icon {
  color: var(--color-success);
  font-size: 14px;
}

/* Spatial Audit Card Component */
.hero-preview-wrapper {
  width: 100%;
}

.spatial-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  overflow: hidden;
  box-shadow: none;
}

.spatial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--color-border-light);
  background-color: var(--color-background);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.spatial-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background-color: var(--color-success);
  box-shadow: 0 0 6px var(--color-success);
}

.spatial-map-canvas {
  position: relative;
  background-color: var(--color-surface);
  padding: 12px;
  border-bottom: 1px solid var(--color-border-light);
}

.spatial-svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-label-dim {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  fill: var(--color-text-muted);
}

.svg-plot-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  fill: var(--color-text);
}

.svg-plot-sub {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  fill: var(--color-text-muted);
}

.svg-beacon-text {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 600;
  fill: var(--color-text-muted);
}

.spatial-alert-pill {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-text);
}

.spatial-pill-icon {
  color: var(--color-success);
  font-size: 14px;
}

.spatial-card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 14px 18px;
  background-color: var(--color-background);
  gap: 16px;
}

.audit-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.audit-stat-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text);
}

.audit-stat-desc {
  font-size: 11px;
  color: var(--color-text-muted);
}

/* -------------------------------------------------------------------------
   6. Metrics Bar
   ------------------------------------------------------------------------- */
.metrics-section {
  padding: 24px 0 64px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.metric-card:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

.metric-card.metric-emerald {
  border-top: 3px solid var(--color-emerald);
}
.metric-card.metric-emerald .metric-value {
  color: var(--color-emerald);
}

.metric-card.metric-cobalt {
  border-top: 3px solid var(--color-cobalt);
}
.metric-card.metric-cobalt .metric-value {
  color: var(--color-cobalt);
}

.metric-card.metric-amber {
  border-top: 3px solid var(--color-amber);
}
.metric-card.metric-amber .metric-value {
  color: var(--color-amber);
}

.metric-card.metric-indigo {
  border-top: 3px solid var(--color-indigo);
}
.metric-card.metric-indigo .metric-value {
  color: var(--color-indigo);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* -------------------------------------------------------------------------
   7. Section Headers & Typography
   ------------------------------------------------------------------------- */
.section-header-centered {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.tag-cobalt {
  color: var(--color-cobalt);
  background-color: var(--color-cobalt-light);
  border: 1px solid rgba(29, 78, 216, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.tag-emerald {
  color: var(--color-emerald);
  background-color: var(--color-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.tag-amber {
  color: var(--color-amber);
  background-color: var(--color-amber-light);
  border: 1px solid rgba(217, 119, 6, 0.2);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.section-heading {
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--color-text);
}

.section-subheading {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   8. Workflow Steps
   ------------------------------------------------------------------------- */
.workflow-section {
  padding: 64px 0 96px;
  border-top: 1px solid var(--color-border-light);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.workflow-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.workflow-card:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

.workflow-step-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1;
}

.step-cobalt {
  color: var(--color-cobalt);
}

.step-emerald {
  color: var(--color-emerald);
}

.step-indigo {
  color: var(--color-indigo);
}

.workflow-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.workflow-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   9. Safeguards Cards
   ------------------------------------------------------------------------- */
.safeguards-section {
  padding: 64px 0 96px;
  background-color: var(--color-background);
  border-top: 1px solid var(--color-border-light);
}

.safeguards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.safeguard-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.safeguard-card:hover {
  border-color: var(--color-text);
  transform: translateY(-2px);
}

.safeguard-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sharp);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.icon-emerald {
  background-color: var(--color-emerald-light);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--color-emerald);
}

.icon-cobalt {
  background-color: var(--color-cobalt-light);
  border: 1px solid rgba(29, 78, 216, 0.25);
  color: var(--color-cobalt);
}

.icon-indigo {
  background-color: var(--color-indigo-light);
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: var(--color-indigo);
}

.safeguard-card-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--color-text);
}

.safeguard-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   10. Mission & Comparison
   ------------------------------------------------------------------------- */
.mission-section {
  padding: 80px 0 96px;
  border-top: 1px solid var(--color-border-light);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.comparison-card {
  border-radius: var(--radius-sharp);
  padding: 32px 28px;
  border: 1px solid var(--color-border);
}

.comparison-danger {
  background-color: rgba(225, 29, 72, 0.05);
  border-color: rgba(225, 29, 72, 0.25);
}

.comparison-success {
  background-color: rgba(5, 150, 105, 0.05);
  border-color: rgba(5, 150, 105, 0.3);
}

.comparison-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.comparison-badge-danger {
  background-color: rgba(225, 29, 72, 0.15);
  color: var(--color-rose);
}

.comparison-badge-success {
  background-color: rgba(5, 150, 105, 0.15);
  color: var(--color-emerald);
}

.comparison-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 500;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: 28px 24px;
}

.pillar-card.pillar-cobalt {
  border-top: 3px solid var(--color-cobalt);
}

.pillar-card.pillar-emerald {
  border-top: 3px solid var(--color-emerald);
}

.pillar-card.pillar-indigo {
  border-top: 3px solid var(--color-indigo);
}

.pillar-title {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--color-text);
}

.pillar-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   11. Bottom CTA Section
   ------------------------------------------------------------------------- */
.bottom-cta-section {
  padding: 64px 0 96px;
}

.bottom-cta-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sharp);
  padding: 64px 32px;
  text-align: center;
}

.bottom-cta-inner {
  max-width: 680px;
  margin: 0 auto;
}

.bottom-cta-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.bottom-cta-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* -------------------------------------------------------------------------
   12. Responsive Breakpoints
   ------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-grid,
  .safeguards-grid,
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 48px 0 40px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .bottom-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn,
  .bottom-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .spatial-card-footer {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   7. Footer
   ------------------------------------------------------------------------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  font-size: 13px;
  color: var(--color-text-muted);
  background-color: var(--color-background);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-size: 17px;
  color: var(--color-text);
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-nav {
  display: flex;
  align-items: center;
}

.footer-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-menu li {
  list-style: none;
}

.footer-menu a {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: color 0.2s ease;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-menu .current-menu-item > a {
  color: var(--color-text);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  
  .footer-menu {
    gap: 16px;
  }
}
