/* ========================================
   VehCAP Nigeria - Main Stylesheet
   Design: Dark Green + White + Gold
   ======================================== */

/* CSS Variables */
:root {
  --primary: #0E5A3A;
  --primary-light: #1F7A4D;
  --primary-dark: #0a3d28;
  --accent: #C8A54B;
  --accent-hover: #B8952F;
  --white: #FFFFFF;
  --light-gray: #F4F4F4;
  --medium-gray: #E5E7EB;
  --text: #1a1a1a;
  --text-light: #6b7280;
  --danger: #dc2626;
  --warning-bg: #FEF3C7;
  --warning-text: #92400E;
  --success-bg: #D1FAE5;
  --success-text: #065F46;
  --info-bg: #DBEAFE;
  --info-text: #1E40AF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease;
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--light-gray);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 0.75em;
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1.125rem, 2vw, 1.25rem); }

p { margin-bottom: 1em; }

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover, a:focus {
  color: var(--accent);
  text-decoration: underline;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  background: var(--primary);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.navbar-brand {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:hover {
  color: var(--accent);
  text-decoration: none;
}

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
  cursor: pointer;
}

.navbar-toggle svg {
  width: 24px;
  height: 24px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.navbar-menu a {
  color: var(--white);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.navbar-menu a:hover, .navbar-menu a:focus {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
  text-decoration: none;
}

.navbar-menu a.active {
  background: rgba(255,255,255,0.2);
  color: var(--accent);
}

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

.navbar-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.navbar-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  z-index: 200;
}

.navbar-dropdown-menu a {
  display: block;
  padding: 0.625rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}

.navbar-dropdown-menu a:hover, .navbar-dropdown-menu a:focus {
  background: var(--light-gray);
  color: var(--primary);
  text-decoration: none;
}

.navbar-dropdown-menu a.active {
  background: var(--light-gray);
  color: var(--primary-light);
  font-weight: 600;
}

.navbar-dropdown:hover .navbar-dropdown-menu {
  display: block;
}

.navbar-dropdown:focus-within .navbar-dropdown-menu {
  display: block;
}

@media (max-width: 900px) {
  .navbar-toggle { display: block; }
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
  }
  .navbar-menu.active { display: flex; }
  .navbar-menu a {
    display: block;
    padding: 0.75rem 1rem;
  }
  /* Mobile dropdown - submenu items */
  .navbar-dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
    padding: 0.25rem 0;
  }
  .navbar-dropdown-menu a {
    color: var(--white);
    padding-left: 2rem;
  }
  .navbar-dropdown-menu a:hover {
    background: rgba(255,255,255,0.2);
  }
  .navbar-dropdown:hover .navbar-dropdown-menu,
  .navbar-dropdown:focus-within .navbar-dropdown-menu {
    display: block;
  }
  .navbar-dropdown {
    margin-bottom: 0.25rem;
  }
}

/* Main Content */
main {
  flex: 1;
  padding: 2rem 0;
}

main:first-child {
  padding-top: 1rem;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  text-decoration: none;
}

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

.btn-secondary:hover {
  background: var(--primary-light);
  color: var(--white);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; }

.btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-primary {
  background: var(--primary);
  color: var(--white);
}

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

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success-text);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info-text);
}

/* Alert */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.alert svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-warning {
  background: var(--warning-bg);
  color: var(--warning-text);
  border-left: 4px solid var(--accent);
}

.alert-info {
  background: var(--info-bg);
  color: var(--info-text);
  border-left: 4px solid var(--primary-light);
}

.alert-success {
  background: var(--success-bg);
  color: var(--success-text);
  border-left: 4px solid var(--primary);
}

.alert-danger {
  background: #FEE2E2;
  color: var(--danger);
  border-left: 4px solid var(--danger);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.375rem;
  font-size: 0.9rem;
  color: var(--text);
}

.form-label .required {
  color: var(--danger);
}

.form-input, .form-select, .form-textarea {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(31,122,77,0.15);
}

.form-input.error, .form-select.error, .form-textarea.error {
  border-color: var(--danger);
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 0.25rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-help {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

fieldset {
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

legend {
  font-weight: 700;
  color: var(--primary);
  padding: 0 0.5rem;
}

/* Accordion */
.accordion {
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.accordion-item {
  border-bottom: 1px solid var(--medium-gray);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  font-family: inherit;
}

.accordion-trigger:hover {
  background: var(--light-gray);
}

.accordion-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.accordion-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  padding: 0 1.25rem 1rem;
  display: none;
}

.accordion-panel.open {
  display: block;
}

/* Table */
.table-container {
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid var(--medium-gray);
}

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

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--medium-gray);
}

th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

tr:hover {
  background: var(--light-gray);
}

/* Steps / Process */
.steps {
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-content h4 {
  margin-bottom: 0.25rem;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .step {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-bar input, .filter-bar select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--medium-gray);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.filter-bar input:focus, .filter-bar select:focus {
  outline: none;
  border-color: var(--primary-light);
}

/* Tags */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--light-gray);
  border: 1px solid var(--medium-gray);
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition);
}

.tag:hover, .tag.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Update Card */
.update-card {
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1rem;
}

.update-card .date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.update-card .sources {
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.update-card .sources a {
  color: var(--primary-light);
  margin-right: 0.5rem;
}

/* Directory Card */
.directory-card {
  border: 1px solid var(--medium-gray);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--white);
  transition: var(--transition);
}

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

.directory-card.sponsored {
  border: 2px solid var(--accent);
}

.directory-card .service {
  font-size: 0.8rem;
  color: var(--text-light);
}

.directory-card .contact-info {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
}

/* CTA Block */
.cta-block {
  background: var(--primary);
  color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin: 2rem 0;
}

.cta-block h2 { color: var(--white); }
.cta-block p { opacity: 0.9; }
.cta-block .btn { margin-top: 1rem; }

/* Disclaimer */
.disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--medium-gray);
  padding-top: 1rem;
  margin-top: 2rem;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

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

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.footer-column a:hover, .footer-column a:focus {
  color: var(--accent);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom a {
  color: var(--accent);
}

.footer-bottom p {
  margin: 0.25rem 0;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

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

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--accent);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 1rem;
  z-index: 1000;
  display: none;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  font-size: 0.9rem;
  margin: 0;
}

.cookie-banner p a {
  color: var(--accent);
}

.cookie-buttons {
  display: flex;
  gap: 0.5rem;
}

.cookie-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

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

.cookie-btn-reject {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}

/* Toast */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
}

.toast {
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slide-in 0.3s ease;
  max-width: 350px;
}

@keyframes slide-in {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.toast-success { border-left: 4px solid var(--success-text); }
.toast-error { border-left: 4px solid var(--danger); }

/* Tool Panel */
.tool-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.tool-result {
  background: var(--light-gray);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary);
}

.tool-result h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

/* Score Bar */
.score-bar {
  height: 8px;
  background: var(--medium-gray);
  border-radius: 4px;
  overflow: hidden;
  margin: 0.5rem 0;
}

.score-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

.score-low { background: var(--danger); }
.score-medium { background: var(--accent); }
.score-high { background: var(--primary); }

/* Sticky CTA Bar (Mobile) */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary);
  padding: 0.75rem 1rem;
  z-index: 90;
  text-align: center;
}

.sticky-cta .btn {
  width: 100%;
}

@media (max-width: 640px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 4rem; }
}

/* Section */
.section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.section-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

/* Page Header */
.page-header {
  background: var(--primary);
  color: #fff;
  padding: 2.5rem 0;
  min-height: 220px;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center 45%;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
}

.page-header > .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

.hero-section > .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.page-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.content-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem auto;
  display: block;
}

.image-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.glossary-item {
  background: var(--bg-light);
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
}

.glossary-item h4 {
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.glossary-item p {
  font-size: 0.9rem;
  color: var(--text);
  margin: 0;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.comparison-table th,
.comparison-table td {
  padding: 0.75rem;
  border: 1px solid var(--border);
  text-align: left;
}

.comparison-table th {
  background: var(--primary);
  color: #fff;
}

.comparison-table tr:nth-child(even) {
  background: var(--bg-light);
}

.step-visual {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-visual .step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step-visual .step-content h4 {
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.step-visual .step-content p {
  margin: 0;
  font-size: 0.95rem;
}

.tip-box {
  background: #f0fdf4;
  border-left: 4px solid #22c55e;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

.tip-box h4 {
  color: #166534;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.tip-box ul {
  margin: 0;
  padding-left: 1.25rem;
}

.warning-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 1rem;
  border-radius: 0 8px 8px 0;
  margin: 1rem 0;
}

.warning-box h4 {
  color: #92400e;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.stat-card {
  background: var(--bg-light);
  padding: 1.25rem;
  border-radius: 8px;
  text-align: center;
}

.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.page-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--primary-dark);
  opacity: 1;
  max-width: 600px;
}

.breadcrumbs {
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.breadcrumbs a {
  color: var(--accent);
  font-weight: 600;
}

.breadcrumbs span {
  margin: 0 0.25rem;
  opacity: 0.7;
}

/* Sponsored Placement */
.sponsored-block {
  border: 2px dashed var(--medium-gray);
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  color: var(--text-light);
  font-style: italic;
}

/* Source Citations */
.source-list {
  font-size: 0.85rem;
  margin: 1rem 0;
}

.source-list li {
  margin-bottom: 0.25rem;
}

.source-type {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 0.25rem;
}

.source-official { background: var(--success-bg); color: var(--success-text); }
.source-media { background: var(--info-bg); color: var(--info-text); }
.source-independent { background: var(--light-gray); color: var(--text-light); }

/* Glossary */
.glossary-item {
  padding: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

.glossary-term {
  font-weight: 700;
  color: var(--primary);
}

/* Contact Tabs */
.contact-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--medium-gray);
  padding-bottom: 0;
  overflow-x: auto;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.tab-btn:hover {
  color: var(--primary);
  background: var(--light-gray);
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.tab-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

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

/* Form Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-tabs {
    flex-direction: column;
    border-bottom: none;
  }
  .tab-btn {
    border-bottom: 1px solid var(--medium-gray);
    border-left: 3px solid transparent;
    justify-content: center;
  }
  .tab-btn.active {
    border-bottom-color: var(--medium-gray);
    border-left-color: var(--primary);
    background: var(--light-gray);
  }
}

/* Contact Info Grid */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-info-grid > div {
  text-align: center;
}

.contact-info-grid svg {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.contact-info-grid h4 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.contact-info-grid p {
  margin: 0;
  font-size: 0.9rem;
}

/* Print */
@media print {
  .navbar, .footer, .cookie-banner, .sticky-cta { display: none !important; }
  body { background: white; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}
