/* ===== MEL-PARES Design System ===== */
/* Brand: EU-UNEP Partnership — Latin America palette */

:root {
  /* Brand Colors */
  --primary: #b71373;
  --primary-dark: #751851;
  --navy: #001f89;
  --cyan: #009ee2;

  /* Derived palette */
  --primary-light: #d4468f;
  --primary-bg: rgba(183, 19, 115, 0.08);
  --navy-light: #1a3a9e;
  --navy-bg: rgba(0, 31, 137, 0.06);
  --cyan-light: #33b5f0;
  --cyan-bg: rgba(0, 158, 226, 0.08);

  /* Semantic */
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: var(--cyan);

  /* Neutrals */
  --bg: #f8f9fc;
  --bg-card: #ffffff;
  --bg-sidebar: var(--navy);
  --text: #1e293b;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;

  /* Typography */
  --font-title: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Noto Sans", "Segoe UI", sans-serif;

  /* Spacing */
  --sidebar-width: 240px;
  --topbar-height: 64px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.1);
  --transition: 0.2s ease;
}

/* ===== Reset ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 15px;
}
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Sidebar ===== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-header {
  padding: 1.6rem 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.brand-mark {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-transform: uppercase;
}
.brand-name {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  flex: 1;
  padding: 0.8rem 0;
  overflow-y: auto;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 400;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--primary);
  font-weight: 500;
}
.nav-icon {
  font-size: 1.1rem;
  width: 1.6rem;
  text-align: center;
}


/* ===== Logo Bar (main content footer) ===== */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1.2rem 2rem;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.logo-bar-img {
  max-height: 44px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition);
}
.logo-bar-img:hover { opacity: 1; }

/* ===== Main Content ===== */
.main-content {
  margin-left: var(--sidebar-width);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Top Bar ===== */
.top-bar {
  height: var(--topbar-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}
.page-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}
.global-filters {
  display: flex;
  gap: 0.6rem;
}
.filter-select {
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--bg);
  cursor: pointer;
  transition: border-color var(--transition);
}
.filter-select:focus {
  outline: none;
  border-color: var(--cyan);
}

/* ===== Content Area ===== */
.content-area {
  flex: 1;
  padding: 1.8rem 2rem;
}

/* ===== Cards ===== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
  transition:
    box-shadow var(--transition),
    transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.card-title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--navy);
}

/* ===== KPI Cards ===== */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.kpi-card {
  padding: 1.2rem 1.4rem;
}
.kpi-card .kpi-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}
.kpi-card .kpi-code {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.kpi-card .kpi-values {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
}
.kpi-card .kpi-values span {
  color: var(--text-light);
}
.kpi-card .kpi-values strong {
  color: var(--text);
  font-weight: 600;
}

/* Progress bar */
.progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.progress-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 0.6s ease;
  background: linear-gradient(90deg, var(--cyan), var(--primary));
}

/* Evidence quality badge */
.badge {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-alta {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.badge-media {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}
.badge-baja {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* ===== Section titles ===== */
.section-title {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-bg);
}

/* ===== Changes Panel ===== */
.changes-panel {
  margin-top: 1.5rem;
}
.change-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}
.change-item:last-child {
  border-bottom: none;
}
.change-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.change-date {
  color: var(--text-muted);
  font-size: 0.75rem;
  min-width: 80px;
}

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.timeline-item {
  position: relative;
  padding-bottom: 1.5rem;
}
.timeline-dot {
  position: absolute;
  left: -1.65rem;
  top: 0.2rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-card);
}
.timeline-dot.completado {
  background: var(--success);
  border-color: var(--success);
}
.timeline-dot.en_progreso {
  background: var(--warning);
  border-color: var(--warning);
}
.timeline-dot.pendiente {
  background: var(--bg-card);
  border-color: var(--text-muted);
}

.timeline-date {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.timeline-title {
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}
.timeline-meta {
  font-size: 0.78rem;
  color: var(--text-light);
}
.timeline-detail {
  background: var(--navy-bg);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  display: none;
}
.timeline-item.expanded .timeline-detail {
  display: block;
}

/* ===== Comparator ===== */
.comparator-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.comparator-controls select {
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  min-width: 200px;
}
.chart-container {
  position: relative;
  height: 300px;
  margin: 1rem 0;
}

/* ===== Data Table ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}
.data-table th {
  font-family: var(--font-title);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.72rem;
  color: var(--text-light);
  background: var(--navy-bg);
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 2px solid var(--border);
}
.data-table td {
  padding: 0.6rem 0.8rem;
  border-bottom: 1px solid var(--border-light);
}
.data-table tr:hover td {
  background: var(--primary-bg);
}

/* ===== LQ Navigation ===== */
.lq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.lq-tab {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--bg-card);
}
.lq-tab:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.lq-tab.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ===== Inclusion Matrix ===== */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  font-size: 0.84rem;
}
.checklist-icon {
  font-size: 1rem;
}

/* Interactive checklist (Inclusion) */
.checklist-interactive {
    cursor: pointer;
    user-select: none;
    padding: 0.5rem 0.3rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.checklist-interactive:hover {
    background: var(--primary-bg);
}
.checklist-interactive input[type="checkbox"] {
    display: none;
}
.check-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 4px;
    background: var(--bg-card);
    flex-shrink: 0;
    transition: all 0.2s ease;
    font-size: 0;
}
.checklist-interactive input:checked + .check-custom {
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    border-color: transparent;
}
.checklist-interactive input:checked + .check-custom::after {
    content: "✓";
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.checklist-interactive input:checked ~ span:last-child {
    text-decoration: line-through;
    color: var(--text-muted);
}
.inclusion-card .inclusion-saved-toast {
    font-size: 0.72rem;
    color: var(--success);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: right;
    height: 1rem;
    margin-top: 0.3rem;
}
.inclusion-card .inclusion-saved-toast.show {
    opacity: 1;
}
/* ===== Map ===== */
#map-container {
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

/* ===== Evidence Grid ===== */
.evidence-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.evidence-card {
  border-left: 3px solid var(--primary);
}
.evidence-type {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.05em;
}
.evidence-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.evidence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.5rem;
}
.tag {
  padding: 0.1rem 0.45rem;
  background: var(--cyan-bg);
  color: var(--navy);
  font-size: 0.68rem;
  border-radius: 4px;
  font-weight: 500;
}

/* ===== Empty state ===== */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
}
.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.empty-state-text {
  font-size: 0.9rem;
}

/* ===== Loading ===== */
.loading-spinner {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Intro Landing Page ===== */
.intro-hero {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem;
}
.intro-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.intro-title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.6rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.intro-subtitle {
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-top: 0.3rem;
}
.intro-description {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
}
.intro-pillars {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}
.intro-pillar {
    border-left: 4px solid var(--primary);
}
.pillar-icon {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}
.pillar-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--navy);
    margin-bottom: 0.8rem;
}
.pillar-body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.pillar-item {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text);
    padding-left: 0.8rem;
    border-left: 2px solid var(--border-light);
}
.pillar-item strong {
    color: var(--navy);
}
.intro-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}
.intro-stat {
    text-align: center;
    padding: 1.2rem 0.8rem;
}
.intro-stat-value {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--navy);
}
.intro-stat-label {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-top: 0.2rem;
}
.intro-cta {
    display: inline-block;
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, var(--navy), var(--primary));
    color: #fff;
    font-family: var(--font-title);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(183, 19, 115, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.intro-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(183, 19, 115, 0.35);
}

/* ===== Summary Bar ===== */
.summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}
.summary-chip {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    color: var(--text-light);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.summary-chip strong {
    color: var(--navy);
    font-weight: 600;
}

/* ===== Hamburger Menu ===== */
.menu-toggle {
    display: none;
    position: fixed;
    top: 1rem; left: 1rem;
    z-index: 200;
    width: 40px; height: 40px;
    background: var(--navy);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: #fff;
    border-radius: 1px;
    transition: all 0.3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 90;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

/* ===== Interactive Slider (KPI cards) ===== */
.kpi-slider-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.7rem;
}
.kpi-slider-row .slider-val {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--navy);
    min-width: 3rem;
    text-align: center;
}
.kpi-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
    outline: none;
    cursor: pointer;
    transition: background var(--transition);
}
.kpi-slider::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
}
.kpi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    border: 3px solid var(--bg-card);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    cursor: grab;
    margin-top: -8px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.kpi-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
.kpi-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.15);
}
.kpi-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cyan), var(--primary));
    border: 3px solid var(--bg-card);
    box-shadow: 0 2px 6px rgba(0,0,0,0.18);
    cursor: grab;
}
.kpi-slider::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: var(--border-light);
}
.kpi-card .slider-bounds {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
    padding: 0 2px;
}
.kpi-card .kpi-saved-toast {
    font-size: 0.72rem;
    color: var(--success);
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-align: right;
    height: 1rem;
}
.kpi-card .kpi-saved-toast.show {
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .menu-toggle { display: flex; }
    .sidebar { transform: translateX(-100%); z-index: 150; }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-left: 0; }
    .top-bar { padding-left: 4.2rem; }
    .kpi-grid { grid-template-columns: 1fr; }
    .global-filters { display: none; }
    .evidence-grid { grid-template-columns: 1fr; }
    .matrix-grid { grid-template-columns: 1fr; }
    .content-area { padding: 1rem; }

    /* Intro hero */
    .intro-hero { padding: 1.5rem 1rem; }
    .intro-title { font-size: 1.3rem; }
    .intro-subtitle { font-size: 0.95rem; }
    .intro-description { font-size: 0.88rem; line-height: 1.6; }

    /* Intro stats */
    .intro-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.7rem;
    }
    .intro-stat-value { font-size: 1.6rem; }
    .intro-stat-label { font-size: 0.72rem; }

    /* Pillars */
    .intro-pillar { padding: 1rem; }
    .pillar-title { font-size: 0.95rem; }
    .pillar-item { font-size: 0.82rem; }

    /* Summary bar */
    .summary-bar {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .summary-chip { font-size: 0.75rem; padding: 0.3rem 0.7rem; }

    /* Logo bar */
    .logo-bar {
        gap: 1rem;
        padding: 1rem;
    }
    .logo-bar-img { max-height: 32px; max-width: 100px; }

    /* CTA */
    .intro-cta { font-size: 0.85rem; padding: 0.7rem 1.6rem; }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    .sidebar { width: 260px; }
    .top-bar { height: 52px; }
    .page-title { font-size: 1rem; }
    #map-container { height: 280px; }

    /* Stack intro stats to single column on very small screens */
    .intro-stats { grid-template-columns: 1fr; gap: 0.8rem; }
    .intro-stat-value { font-size: 1.5rem; }

    .intro-hero { padding: 1rem 0.5rem; }
    .intro-title { font-size: 1.25rem; }

    .intro-description { font-size: 0.88rem; line-height: 1.5; }

    /* Logo bar stacks vertically */
    .logo-bar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.8rem;
        padding: 1rem;
    }
    .logo-bar-img { max-height: 32px; max-width: 90px; }

    .content-area { padding: 0.8rem 0.6rem; }
    .card { padding: 1.2rem 1rem; }

    .change-item { font-size: 0.78rem; }
    .change-date { font-size: 0.68rem; min-width: 65px; }
}
