.contact-page {
  padding: 48px 0 80px;
  background: var(--bg);
  min-height: 80vh;
}
.contact-header {
  text-align: center;
  margin-bottom: 40px;
}
.contact-header h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--green-dark); margin-bottom: 8px; }
.contact-header p { color: var(--text-muted); font-size: 1rem; }

.address-summary {
  display: inline-block;
  background: var(--accent-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin-top: 12px;
}

/* Progress tracker */
.progress-tracker {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px 28px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.progress-label { font-weight: 700; font-size: 1rem; color: var(--green-dark); }
.progress-bar-wrap {
  flex: 1;
  min-width: 120px;
  background: var(--border);
  border-radius: 100px;
  height: 10px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  background: var(--accent);
  border-radius: 100px;
  transition: width 0.4s ease;
}
.progress-count { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.progress-done { color: var(--green); font-weight: 800; }

/* Contact All button */
.contact-all-wrap {
  text-align: center;
  margin-bottom: 36px;
}
.btn-contact-all {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: #fff;
  border: none;
  padding: 18px 44px;
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(200,146,42,0.30);
  transition: all 0.18s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn-contact-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(200,146,42,0.40);
}
.btn-contact-all:active { transform: translateY(0); }

/* Section labels */
.section-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Official cards */
.officials-section { margin-bottom: 48px; }
.officials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.official-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
  position: relative;
}
.official-card.contacted {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27,94,55,0.1);
}
.official-card.contacted::after {
  content: '\2713  Contacted';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--green);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.official-office {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.official-name {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}
.official-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.official-district {
  font-size: 0.83rem;
  color: var(--text-muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card-actions .btn {
  font-size: 0.83rem;
  padding: 9px 16px;
}

.btn-send {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-send:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; text-decoration: none; }
.btn-send:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-copy {
  background: var(--bg-white);
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-copy:hover { background: var(--bg-alt); text-decoration: none; }
.btn-copy.copied { border-color: var(--green); color: var(--green); }

.btn-open {
  background: var(--bg-white);
  color: var(--green-dark);
  border: 2px solid var(--border);
}
.btn-open:hover { background: var(--green-light); text-decoration: none; }

/* No results */
.no-results {
  text-align: center;
  padding: 80px 24px;
}
.no-results h2 { color: var(--green-dark); margin-bottom: 12px; }
.no-results p { color: var(--text-muted); margin-bottom: 28px; }

/* Loading state */
.loading-overlay {
  text-align: center;
  padding: 80px 24px;
}
.spinner {
  width: 48px; height: 48px;
  border: 4px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: var(--green-dark);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  font-weight: 600;
  max-width: 300px;
  animation: slideUp 0.3s ease;
}
.toast.error { background: var(--red); }
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 600px) {
  .officials-grid { grid-template-columns: 1fr; }
  .progress-tracker { flex-direction: column; align-items: flex-start; }
  .contact-all-wrap .btn-contact-all { padding: 14px 24px; font-size: 1rem; }
}
