/* ================================================
   SURF Presentation Site - Design System
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Variables --- */
:root {
  --bg-primary: #0a192f;
  --bg-secondary: #112240;
  --bg-tertiary: #1a2f4e;
  --bg-card: rgba(17, 34, 64, 0.7);
  --bg-glass: rgba(17, 34, 64, 0.5);
  --accent: #64ffda;
  --accent-dim: rgba(100, 255, 218, 0.1);
  --accent-glow: rgba(100, 255, 218, 0.15);
  --text-primary: #ccd6f6;
  --text-secondary: #8892b0;
  --text-heading: #e6f1ff;
  --text-white: #ffffff;
  --border: rgba(100, 255, 218, 0.12);
  --sidebar-width: 280px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --gradient-accent: linear-gradient(135deg, #64ffda 0%, #48c9b0 100%);
  --gradient-card: linear-gradient(135deg, rgba(100,255,218,0.05) 0%, rgba(72,201,176,0.02) 100%);
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Layout --- */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--transition);
}

.sidebar-logo {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
}

.sidebar-logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 3px;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sidebar-logo .subtitle {
  font-size: 0.7rem;
  color: var(--text-secondary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

.sidebar-nav {
  flex: 1;
  padding: 16px 12px;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 4px;
  border: 1px solid transparent;
  position: relative;
}

.nav-item:hover {
  color: var(--accent);
  background: var(--accent-dim);
}

.nav-step {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(100, 255, 218, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent);
  flex-shrink: 0;
}

.nav-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.nav-title {
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.35;
}

.nav-desc {
  color: var(--text-secondary);
  font-size: 0.73rem;
  line-height: 1.45;
}

.nav-item.active {
  color: var(--accent);
  background: var(--accent-dim);
  border-color: var(--border);
}

.nav-item.active::before {
  content: '';
  position: absolute;
  left: -13px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
}

.nav-item:hover .nav-title,
.nav-item.active .nav-title {
  color: var(--accent);
}

.nav-item.active .nav-step {
  background: var(--gradient-accent);
  color: var(--bg-primary);
  border-color: transparent;
}

.sidebar-guide {
  margin: 8px 16px 18px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.guide-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sidebar-guide p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.sidebar-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-align: center;
  opacity: 0.7;
}

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

/* --- Page Section --- */
.page-section {
  display: none;
  padding: 48px 56px 80px;
  max-width: 1100px;
  animation: fadeIn 0.4s ease;
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.3;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  position: relative;
}

.page-title .accent {
  color: var(--accent);
}

.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 700px;
  line-height: 1.7;
}

.section-heading {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 48px 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-left: 12px;
}

.section-heading .icon {
  font-size: 1.1rem;
}

.subsection-heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 32px 0 14px;
  color: var(--accent);
}

p {
  margin-bottom: 16px;
  color: var(--text-primary);
}

p.muted {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* --- Hero Section --- */
.hero {
  padding: 80px 0 50px;
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.8;
  margin-bottom: 40px;
}

/* --- Key Stats --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(100, 255, 218, 0.08);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin: 24px 0;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: var(--transition);
}

.card:hover {
  border-color: rgba(100, 255, 218, 0.25);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent-dim);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 12px;
}

/* --- Offer Cards (special) --- */
.offer-card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
}

.offer-card:hover {
  border-color: rgba(100, 255, 218, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

.offer-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.offer-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-style: italic;
}

.offer-section-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin: 12px 0 6px;
  font-weight: 600;
}

.offer-card ul {
  list-style: none;
  padding: 0;
}

.offer-card ul li {
  color: var(--text-primary);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}

.offer-card ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.8rem;
}

.offer-price {
  margin-top: 14px;
  padding: 10px 14px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.offer-price .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.offer-price .amount {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}

/* --- Offers Grid (4 columns) --- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0;
}

/* --- Tables --- */
.table-wrapper {
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

thead {
  background: var(--bg-tertiary);
}

th {
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

td {
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  color: var(--text-primary);
}

tr:hover td {
  background: var(--accent-dim);
}

tr.total-row td {
  font-weight: 700;
  color: var(--accent);
  background: rgba(100, 255, 218, 0.05);
  border-top: 2px solid var(--border);
}

/* --- Lists --- */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: 8px 0 8px 22px;
  position: relative;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.styled-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* --- Process Steps --- */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.process-step:hover {
  border-color: rgba(100, 255, 218, 0.25);
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 30px;
  margin: 24px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -26px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
}

.timeline-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--accent);
}

.timeline-item ul {
  list-style: none;
  padding: 0;
}

.timeline-item ul li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 3px 0 3px 16px;
  position: relative;
}

.timeline-item ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* --- Info Block --- */
.info-block {
  padding: 22px 26px;
  background: var(--accent-dim);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.info-block p {
  margin: 0;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.info-block.warning {
  border-left-color: #f0a500;
  background: rgba(240, 165, 0, 0.08);
}

.section-pager {
  margin-top: 42px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(100, 255, 218, 0.07) 0%, rgba(17, 34, 64, 0.82) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.pager-meta {
  max-width: 520px;
}

.pager-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pager-title {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pager-text {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pager-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pager-btn {
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-primary);
  border-radius: 999px;
  padding: 12px 18px;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.pager-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}

.pager-btn.primary {
  background: var(--accent-dim);
}

/* --- Prospection Page --- */
.prospection-page {
  position: relative;
}

.prospection-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 16px;
}

.prospection-hero .page-subtitle {
  margin-bottom: 0;
}

.prospection-focus-card {
  background:
    linear-gradient(135deg, rgba(100, 255, 218, 0.12) 0%, rgba(100, 255, 218, 0.03) 100%),
    var(--bg-card);
  border: 1px solid rgba(100, 255, 218, 0.18);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
}

.focus-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.prospection-focus-card ul {
  list-style: none;
  padding: 0;
}

.prospection-focus-card li {
  position: relative;
  padding: 8px 0 8px 20px;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.prospection-focus-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 1rem;
}

.prospection-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.jump-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(17, 34, 64, 0.65);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: var(--transition);
}

.jump-chip:hover {
  color: var(--accent);
  border-color: rgba(100, 255, 218, 0.28);
  background: var(--accent-dim);
  transform: translateY(-2px);
}

.prospection-stats {
  margin-top: 0;
}

.prospection-snapshot .card,
.prospection-offer-cards .card,
.prospection-message-overview .card {
  background:
    linear-gradient(180deg, rgba(100, 255, 218, 0.05) 0%, rgba(17, 34, 64, 0.72) 100%),
    var(--bg-card);
}

.prospection-snapshot .card {
  min-height: 100%;
}

.prospection-coverage-table table tbody td:first-child,
.prospection-table table tbody td:first-child {
  color: var(--accent);
  font-weight: 700;
}

.prospection-table {
  max-height: 620px;
  overflow: auto;
  box-shadow: inset 0 0 0 1px rgba(100, 255, 218, 0.02);
}

.prospection-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: rgba(26, 47, 78, 0.98);
  backdrop-filter: blur(8px);
}

.prospection-table table tbody tr:nth-child(even) td {
  background: rgba(100, 255, 218, 0.025);
}

.prospection-table table tbody td:nth-child(3),
.prospection-table table tbody td:nth-child(5),
.prospection-table table tbody td:nth-child(8) {
  white-space: nowrap;
}

.prospection-table table tbody td:nth-child(3) {
  color: var(--text-heading);
  font-weight: 600;
}

.prospection-table table tbody td:nth-child(4) {
  color: var(--text-secondary);
}

.prospection-table table tbody td:nth-child(5) {
  color: var(--accent);
  font-weight: 600;
}

.message-section-intro {
  background:
    linear-gradient(135deg, rgba(100, 255, 218, 0.12) 0%, rgba(100, 255, 218, 0.04) 100%);
}

/* --- Prospection Details --- */
.message-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
}

.message-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
}

.message-detail {
  background:
    linear-gradient(180deg, rgba(17, 34, 64, 0.92) 0%, rgba(10, 25, 47, 0.94) 100%);
  border: 1px solid rgba(100, 255, 218, 0.12);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
}

.message-detail:hover {
  border-color: rgba(100, 255, 218, 0.25);
  transform: translateY(-2px);
}

.message-detail summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  color: var(--text-heading);
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.message-detail summary > span:first-child {
  line-height: 1.45;
}

.message-detail summary::-webkit-details-marker {
  display: none;
}

.message-detail summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.message-detail[open] summary::after {
  content: '−';
}

.message-detail[open] summary {
  border-bottom: 1px solid var(--border);
  background: rgba(100, 255, 218, 0.06);
}

.message-meta {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(100, 255, 218, 0.18);
  background: rgba(100, 255, 218, 0.08);
}

.message-body {
  padding: 20px 22px 24px;
}

.message-body p,
.message-body ul {
  font-size: 0.92rem;
}

.message-body p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(100, 255, 218, 0.07);
  border: 1px solid rgba(100, 255, 218, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.message-body p:first-child strong {
  color: var(--accent);
}

.message-body p:last-child {
  padding-top: 16px;
  border-top: 1px dashed rgba(100, 255, 218, 0.14);
  margin-top: 18px;
  margin-bottom: 0;
}

.message-body ul {
  margin: 12px 0 16px 18px;
  color: var(--text-secondary);
}

.message-body li {
  margin-bottom: 6px;
}

.prospection-note {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* --- Two Column Layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 24px 0;
}

/* --- Locations grid --- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.location-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.location-flag {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.location-city {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 6px;
}

.location-address {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Tags --- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  padding: 5px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

/* --- Mobile hamburger --- */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  z-index: 200;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 90;
}

.overlay.active {
  display: block;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* --- Responsiveness --- */
@media (max-width: 900px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .mobile-header {
    display: flex;
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .page-section {
    padding: 32px 24px 60px;
  }

  .hero h1 {
    font-size: 2rem;
  }

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

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

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

  .two-col {
    grid-template-columns: 1fr;
  }

  .section-pager {
    flex-direction: column;
    align-items: flex-start;
  }

  .pager-actions {
    width: 100%;
  }

  .pager-btn {
    width: 100%;
    text-align: left;
  }

  .prospection-hero {
    grid-template-columns: 1fr;
  }

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

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

  .page-title {
    font-size: 1.6rem;
  }
}

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

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

  .hero h1 {
    font-size: 1.6rem;
  }

  .prospection-jump {
    gap: 8px;
  }

  .jump-chip {
    width: 100%;
    justify-content: center;
  }
}
