/* ==========================================================================
   CONSULTA TRANSPORTE ESCOLAR 2026 - ALCALDÍA MUNICIPAL DE TIMBÍO, CAUCA
   Estilos visuales idénticos al portal oficial https://www.timbio-cauca.gov.co/
   (Estándar MinTIC / Mi Colombia Digital / GOV.CO)
   ========================================================================== */

:root {
  /* Paleta institucional Gov.co y Alcaldía de Timbío */
  --govco-blue: #3366CC;              /* Azul oficial Gov.co de barra superior */
  --govco-blue-dark: #004884;         /* Azul oscuro para títulos/enlaces */
  
  --timbio-green: #478028;            /* Verde institucional oficial Timbío (MinTIC) */
  --timbio-green-dark: #37631f;       /* Verde oscuro para hover */
  --timbio-green-light: #eaf3e6;      /* Fondo verde muy suave */
  --timbio-green-border: #c2ddba;     /* Borde verde institucional */
  
  --color-yellow-support: #f59e0b;    /* Amarillo de apoyo institucional */
  --color-yellow-light: #fffbeb;      /* Fondo alerta */
  --color-yellow-border: #fde68a;     /* Borde alerta */
  --color-yellow-dark: #854d0e;       /* Texto alerta */

  /* Neutrales institucionales */
  --bg-page: #f8fafc;                 /* Fondo institucional de la página */
  --bg-card: #ffffff;                 /* Fondo blanco de bloques y tarjetas */
  --text-color: #1e293b;              /* Texto principal */
  --text-muted: #475569;              /* Texto secundario */
  --text-light: #64748b;              /* Texto de apoyo */
  --border-color: #e2e8f0;            /* Borde sutil */
  --border-input: #b0b7be;            /* Borde estándar de campos Gov.co */

  /* Tipografía oficial */
  --font-family: "Work Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Ancho de contenedor del portal */
  --container-max-width: 1140px;
}

/* ==========================================================================
   RESET Y BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

/* Accesibilidad foco */
:focus-visible {
  outline: 2.5px solid var(--timbio-green);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Contenedor estándar del portal */
.page-container,
.govco-container,
.entity-container,
.nav-container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .page-container,
  .govco-container,
  .entity-container,
  .nav-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ==========================================================================
   1. BARRA SUPERIOR GOV.CO (Portal del Estado)
   ========================================================================== */
.govco-header-bar {
  background-color: var(--govco-blue);
  color: #ffffff;
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.82rem;
  padding: 0.35rem 0;
}

.govco-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.govco-brand {
  display: flex;
  align-items: center;
}

.govco-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.15rem 0;
  transition: opacity 0.15s ease;
}

.govco-link:hover,
.govco-link:focus-visible {
  opacity: 0.9;
}

.govco-logo-img {
  display: block;
  height: 22px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  vertical-align: middle;
}

.govco-back-portal-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.16);
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.govco-back-portal-link:hover {
  background-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

@media (max-width: 480px) {
  .govco-header-bar {
    min-height: 40px;
    padding: 0.25rem 0;
  }
  .govco-logo-img {
    height: 20px;
  }
  .govco-back-portal-link {
    font-size: 0.74rem;
    padding: 0.2rem 0.5rem;
  }
  .govco-back-portal-extra {
    display: none;
  }
}

/* ==========================================================================
   2. ENCABEZADO INSTITUCIONAL DE LA ENTIDAD
   ========================================================================== */
.entity-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.entity-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.entity-brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.entity-logo {
  max-height: 68px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 768px) {
  .entity-logo {
    max-height: 78px;
  }
}

.entity-header-meta {
  display: none;
}

@media (min-width: 768px) {
  .entity-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
}

.entity-search-mini {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.search-mini-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.search-mini-box {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-input);
  border-radius: 20px;
  padding: 0.25rem 0.35rem 0.25rem 0.75rem;
  background-color: #fafafa;
  font-size: 0.8rem;
  color: #94a3b8;
  gap: 0.5rem;
}

.search-mini-btn {
  background-color: var(--timbio-green);
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   3. NAVEGACIÓN INSTITUCIONAL SECUNDARIA
   ========================================================================== */
.institutional-nav {
  background-color: #ffffff;
  border-bottom: 2px solid var(--timbio-green);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.nav-item {
  display: inline-block;
}

.nav-link {
  display: inline-block;
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-link:hover {
  color: var(--timbio-green);
  background-color: #f8fafc;
}

.nav-item.active .nav-link {
  color: #ffffff;
  background-color: var(--timbio-green);
  font-weight: 600;
  border-bottom: 3px solid var(--timbio-green-dark);
}

.btn-return-portal {
  display: none;
  align-items: center;
  gap: 0.35rem;
  color: var(--timbio-green);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--timbio-green-border);
  border-radius: 4px;
  background-color: var(--timbio-green-light);
  transition: all 0.15s ease;
}

.btn-return-portal:hover {
  background-color: var(--timbio-green);
  color: #ffffff;
}

@media (min-width: 900px) {
  .btn-return-portal {
    display: inline-flex;
  }
}

/* ==========================================================================
   4. BREADCRUMB / MIGA DE PAN
   ========================================================================== */
.breadcrumb-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid var(--border-color);
  padding: 0.55rem 0;
  font-size: 0.82rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
}

.breadcrumb-item a {
  color: var(--govco-blue-dark);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #94a3b8;
  font-size: 0.75rem;
}

.breadcrumb-item.active {
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   5. CONTENIDO PRINCIPAL (MICROSITIO)
   ========================================================================== */
.main-body {
  padding-top: 1.75rem;
  padding-bottom: 3.5rem;
  flex: 1;
}

/* Encabezado interno de la página */
.page-title-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.page-title {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--timbio-green);
  line-height: 1.25;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
}

.page-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.page-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
}

.meta-tag {
  background-color: #f1f5f9;
  color: #334155;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.meta-date {
  color: var(--text-light);
  margin-left: 0.25rem;
}

/* Advertencia destacada institucional */
.preliminary-callout {
  background-color: var(--color-yellow-light);
  border: 1px solid var(--color-yellow-border);
  border-left: 4px solid var(--color-yellow-support);
  border-radius: 4px;
  padding: 0.85rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  color: var(--color-yellow-dark);
  font-size: 0.9rem;
  line-height: 1.45;
}

.callout-icon {
  color: var(--color-yellow-support);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.callout-content strong {
  color: #78350f;
}

/* ==========================================================================
   6. BLOQUES DE CONTENIDO INSTITUCIONAL
   ========================================================================== */
.portal-block {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 4px; /* Estilo Gov.co sobrio */
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.75rem;
}

.portal-block-header {
  background-color: #ffffff;
  border-bottom: 2px solid var(--timbio-green);
  padding: 0.85rem 1.25rem;
}

.portal-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--timbio-green);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.2;
}

.portal-block-title svg {
  color: var(--timbio-green);
  flex-shrink: 0;
}

.portal-block-body {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .portal-block-body {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   7. BUSCADOR INSTITUCIONAL
   ========================================================================== */
.search-lead-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.search-form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-form-row {
    flex-direction: row;
    align-items: flex-start;
  }
}

.form-cell {
  display: flex;
  flex-direction: column;
}

.cell-search {
  flex: 1.6;
}

.cell-institution {
  flex: 1.2;
}

.cell-action {
  flex: 0 0 auto;
}

.control-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 0.35rem;
}

.action-spacer {
  display: none;
}

@media (min-width: 768px) {
  .action-spacer {
    display: block;
  }
}

.input-with-clear {
  position: relative;
  display: flex;
  align-items: center;
}

.govco-input,
.govco-select {
  width: 100%;
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.7rem 0.85rem;
  color: var(--text-color);
  background-color: #ffffff;
  border: 1px solid var(--border-input);
  border-radius: 4px;
  min-height: 46px; /* Tactil optimizado */
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.govco-input:hover,
.govco-select:hover {
  border-color: #64748b;
}

.govco-input:focus,
.govco-select:focus {
  border-color: var(--timbio-green);
  box-shadow: 0 0 0 3px rgba(71, 128, 40, 0.18);
  outline: none;
}

.input-with-clear .govco-input {
  padding-right: 2.4rem;
}

.govco-btn-clear {
  position: absolute;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}

.govco-btn-clear:hover {
  color: #1e293b;
}

.govco-select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23334155' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 16px;
  padding-right: 2.2rem;
}

.control-help {
  font-size: 0.76rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  line-height: 1.35;
}

/* BOTONES ESTILO OFICIAL GOV.CO */
.govco-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  min-height: 46px;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.govco-btn-primary {
  background-color: var(--timbio-green);
  color: #ffffff;
  border: 1px solid var(--timbio-green);
}

.govco-btn-primary:hover {
  background-color: var(--timbio-green-dark);
  border-color: var(--timbio-green-dark);
}

.govco-btn-outline {
  background-color: #ffffff;
  color: var(--timbio-green);
  border: 1.5px solid var(--timbio-green);
}

.govco-btn-outline:hover {
  background-color: var(--timbio-green-light);
}

/* Barra de estado de consulta */
.query-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.counter-badge {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--timbio-green-dark);
  background-color: var(--timbio-green-light);
  padding: 0.3rem 0.75rem;
  border-radius: 3px;
  border: 1px solid var(--timbio-green-border);
}

.btn-link-action {
  background: transparent;
  border: none;
  color: var(--govco-blue-dark);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem 0.5rem;
}

.btn-link-action:hover {
  color: #002e5c;
}

/* ==========================================================================
   8. AVISO IMPORTANTE PERMANENTE
   ========================================================================== */
.portal-info-box {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--timbio-green);
  border-radius: 4px;
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.75rem;
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.4rem;
}

.info-box-icon {
  color: var(--timbio-green);
  flex-shrink: 0;
}

.info-box-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--timbio-green);
}

.info-box-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.info-box-body p + p {
  margin-top: 0.35rem;
}

/* ==========================================================================
   9. RESULTADOS: TARJETAS SOBRIAS INSTITUCIONALES
   ========================================================================== */
.results-container {
  margin-bottom: 2rem;
}

.portal-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .portal-cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.15rem;
  }
}

.portal-student-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.portal-student-card:hover {
  border-color: var(--timbio-green);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
}

.card-student-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.35;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 0.5rem;
  letter-spacing: 0.01em;
  word-break: break-word;
}

.card-student-details {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.card-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.35;
}

.card-detail-item svg {
  color: var(--timbio-green);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.card-detail-guardian {
  background-color: #f8fafc;
  padding: 0.25rem 0.4rem;
  border-radius: 3px;
  border-left: 2px solid var(--timbio-green);
}

.guardian-name {
  color: #334155;
  letter-spacing: 0.02em;
}

.card-detail-value {
  font-weight: 600;
  color: var(--text-color);
}

.card-student-footer {
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-footer-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Etiqueta institucional sobria */
.card-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--timbio-green-light);
  color: var(--timbio-green-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  border: 1px solid var(--timbio-green-border);
}

.badge-status-dot {
  width: 6px;
  height: 6px;
  background-color: var(--timbio-green);
  border-radius: 50%;
}

/* ==========================================================================
   10. PANELES DE ESTADO VACÍO / INICIAL / CARGANDO
   ========================================================================== */
.portal-empty-card {
  background-color: #ffffff;
  border: 1px dashed var(--border-input);
  border-radius: 4px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  background-color: var(--timbio-green-light);
  color: var(--timbio-green);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.empty-icon.empty-icon-warning {
  background-color: var(--color-yellow-light);
  color: var(--color-yellow-support);
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.4rem;
}

.empty-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}

.empty-contact-note {
  background-color: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.85rem 1.15rem;
  max-width: 620px;
  margin: 1.25rem auto 0 auto;
  font-size: 0.86rem;
  color: var(--text-muted);
  text-align: left;
}

.govco-spinner {
  width: 38px;
  height: 38px;
  border: 3.5px solid var(--timbio-green-light);
  border-top-color: var(--timbio-green);
  border-radius: 50%;
  animation: govcoSpin 0.8s linear infinite;
  margin: 0 auto 1rem auto;
}

@keyframes govcoSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   11. SECCIÓN DE DOCUMENTOS OFICIALES
   ========================================================================== */
.docs-block .portal-block-body {
  padding: 1.25rem;
}

.docs-lead {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.docs-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .docs-btn-group {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   12. PIE DE PÁGINA INSTITUCIONAL DE TIMBÍO
   ========================================================================== */
.portal-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

.footer-main-block {
  background-color: #ffffff;
  padding: 2.5rem 0 2rem 0;
  font-size: 0.84rem;
  color: #334155;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1.2fr 1fr;
  }
}

.footer-entity-header {
  margin-bottom: 0.75rem;
}

.footer-entity-logo {
  max-height: 54px;
  width: auto;
  object-fit: contain;
}

.footer-entity-name {
  font-size: 1rem;
  color: var(--timbio-green-dark);
  margin-bottom: 0.4rem;
}

.footer-text {
  line-height: 1.45;
  margin-bottom: 0.45rem;
  color: #475569;
}

.footer-text a {
  color: var(--govco-blue-dark);
  text-decoration: none;
}

.footer-text a:hover {
  text-decoration: underline;
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--timbio-green);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  border-bottom: 2px solid var(--timbio-green);
  padding-bottom: 0.35rem;
  display: inline-block;
}

.dep-item {
  margin-bottom: 0.85rem;
}

.dep-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.15rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.footer-nav-list a {
  color: var(--govco-blue-dark);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav-list a:hover {
  text-decoration: underline;
}

.social-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.35rem;
}

.social-pills {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Franja verde institucional */
.footer-green-bar {
  background-color: var(--timbio-green);
  color: #ffffff;
  padding: 0.65rem 0;
  font-size: 0.82rem;
  font-weight: 500;
}

.footer-green-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Franja inferior Gov.co */
.footer-govco-bar {
  background-color: var(--govco-blue);
  color: #ffffff;
  padding: 0.85rem 0;
  font-size: 0.8rem;
}

.footer-govco-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.govco-brand-footer {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.co-badge {
  background-color: #ffffff;
  color: var(--govco-blue);
  font-weight: 800;
  font-size: 0.72rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.govco-text {
  font-weight: 700;
  letter-spacing: 0.05em;
}

.govco-footer-copy {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.76rem;
}

/* ==========================================================================
   13. RESALTADO DE BÚSQUEDA
   ========================================================================== */
.mark-highlight {
  background-color: #fef08a;
  color: #0f172a;
  font-weight: 700;
  padding: 0 0.15rem;
  border-radius: 2px;
}
