/* ==========================================================================
   COOPERADORAS.AR - REDISEÑO INSTITUCIONAL MODERNO
   Gobierno de Córdoba - Ministerio de Educación - Subdirección de Cooperadoras
   ========================================================================== */

:root {
  --primary: #0b3966;
  --primary-dark: #072545;
  --primary-light: #16538c;
  --accent: #0284c7;
  --accent-hover: #0369a1;
  --accent-light: #e0f2fe;
  --success: #059669;
  --success-light: #d1fae5;
  --warning: #d97706;
  --warning-light: #fef3c7;
  --danger: #dc2626;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-alt: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;

  --border: #e2e8f0;
  --border-focus: #0284c7;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ==========================================================================
   TOP BAR & HEADER
   ========================================================================== */

.top-bar {
  background: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding-block: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  text-decoration: none;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-gov {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-divider {
  width: 1px;
  height: 38px;
  background-color: var(--border);
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-prefix {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.1;
  display: block;
  margin-bottom: 2px;
}

.brand-text h1 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.15;
  margin: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.5rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.35rem 0.2rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
  border-radius: var(--radius-full);
}

.btn-nav-urgent {
  background: #fee2e2;
  color: var(--danger);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid #fecaca;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-nav-urgent:hover {
  background: var(--danger);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 65%, #1e4976 100%);
  color: var(--text-white);
  padding-block: 3.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 1.125rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-search-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-xl);
  max-width: 650px;
}

.hero-search-icon {
  padding-inline: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
}

.hero-search-input {
  flex: 1;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  outline: none;
  padding: 0.75rem 0.25rem;
}

.hero-search-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.hero-search-btn:hover {
  background: var(--accent-hover);
}

/* ==========================================================================
   QUICK ACCESS CARDS
   ========================================================================== */

.quick-actions-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  margin-bottom: 3.5rem;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.25rem;
}

.quick-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.quick-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.quick-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.quick-card-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

.card-icon-asset {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.card-icon-bancor {
  width: 100%;
  height: auto;
  max-height: 26px;
}

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-green { background: #d1fae5; color: #059669; }
.icon-purple { background: #f3e8ff; color: #7e22ce; }
.icon-amber { background: #fef3c7; color: #d97706; }

.quick-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.badge-active { background: #dcfce7; color: #15803d; }
.badge-online { background: #e0f2fe; color: #0369a1; }
.badge-official { background: #ede9fe; color: #6d28d9; }

.quick-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.quick-card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.quick-card-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.quick-card:hover .quick-card-action {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* ==========================================================================
   SECCIONES Y LAYOUT PRINCIPAL
   ========================================================================== */

.section {
  padding-block: 3.5rem;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  margin-bottom: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrap {
  max-width: 700px;
}

.section-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.4rem;
  display: block;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* ==========================================================================
   CALLOUTS & NOTIFICACIONES
   ========================================================================== */

.callout-banner {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-left: 5px solid var(--success);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

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

.callout-icon {
  font-size: 1.5rem;
  color: var(--success);
}

.callout-title {
  font-weight: 700;
  color: #14532d;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.callout-text {
  color: #166534;
  font-size: 0.9rem;
}

.callout-actions {
  display: flex;
  gap: 0.75rem;
}

/* ==========================================================================
   BANNER DE ACCESO DESTACADO A ASAMBLEAS 2026
   ========================================================================== */

.asambleas-featured-banner {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--accent);
}

.asambleas-featured-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.asambleas-banner-content {
  flex: 1;
  max-width: 720px;
}

.asambleas-banner-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.asambleas-banner-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.asambleas-banner-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.asambleas-banner-visual {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}

.asambleas-badge-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  width: 190px;
}

.asambleas-badge-img {
  width: 64px;
  height: auto;
  object-fit: contain;
}

.asambleas-badge-status {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  color: #15803d;
  background: #dcfce7;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.asambleas-badge-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.asambleas-badge-info strong {
  font-size: 0.95rem;
  color: var(--primary);
}

.asambleas-badge-info span {
  font-size: 0.775rem;
  color: var(--text-light);
}

@media (max-width: 850px) {
  .asambleas-featured-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem;
    gap: 1.5rem;
  }
  .asambleas-banner-visual {
    width: 100%;
  }
  .asambleas-badge-card {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    text-align: left;
    padding: 1rem 1.5rem;
  }
}

/* ==========================================================================
   BOTONES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.925rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

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

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

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

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

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

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

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

.btn-success:hover {
  background-color: #047857;
  color: white;
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   DOCUMENT & RESOURCE CARDS (GRID)
   ========================================================================== */

.filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

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

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

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.doc-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.doc-card-top {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.doc-type-badge {
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-sm);
  height: fit-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  text-transform: uppercase;
}

.badge-pdf { background: #fee2e2; color: #b91c1c; border: 1px solid #fca5a5; }
.badge-docx { background: #dbeafe; color: #1d4ed8; border: 1px solid #93c5fd; }
.badge-xlsx { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.badge-form { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }

.doc-info {
  flex: 1;
}

.doc-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}

.doc-title {
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.doc-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.doc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.doc-meta {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ==========================================================================
   TABS Y ACORDEÓN PARA AÑOS ANTERIORES
   ========================================================================== */

.archive-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 2rem;
}

.archive-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
}

.archive-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.archive-years-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.year-item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: var(--transition);
}

.year-item:hover {
  background: var(--bg-surface);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.year-title {
  font-weight: 700;
  color: var(--primary);
}

.year-link {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   SECCIÓN DE TRÁMITES Y LICITACIONES
   ========================================================================== */

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.step-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

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

.step-num {
  width: 28px;
  height: 28px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.step-text {
  font-size: 0.925rem;
  color: var(--text-main);
}

/* ==========================================================================
   DENUNCIAS & RESOLUCIÓN DE CONFLICTOS
   ========================================================================== */

.conflict-banner {
  background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
  border: 1px solid #fecdd3;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.conflict-info {
  max-width: 680px;
}

.conflict-tag {
  color: var(--danger);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.conflict-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #881337;
  margin-bottom: 0.5rem;
}

.conflict-desc {
  color: #9f1239;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #002E46; /* Coincide exactamente con el color oficial de zocalo.png */
  color: #94a3b8;
  padding-block: 4rem 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-hierarchy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #cbd5e1;
  margin-top: 0.35rem;
}

.footer-zocalo-wrap {
  margin-top: 1.25rem;
}

.footer-zocalo-img {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
}

.footer-col h3 {
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-title {
    font-size: 2rem;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    text-align: center;
  }
  .header-inner {
    padding-block: 0.65rem;
  }
  .brand-logo-gov {
    height: 34px;
  }
  .brand-prefix {
    font-size: 0.725rem;
  }
  .brand-text h1 {
    font-size: 1rem;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .btn-nav-urgent {
    display: none;
  }
  .hero {
    padding-block: 2.5rem 3.5rem;
  }
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-desc {
    font-size: 0.975rem;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .brand {
    gap: 0.5rem;
  }
  .brand-logo-gov {
    height: 26px;
  }
  .brand-divider {
    display: none;
  }
  .brand-prefix {
    font-size: 0.675rem;
  }
  .brand-text h1 {
    font-size: 0.85rem;
  }
}
