
      :root {
        /* Colores GOV.CO */
        --govco-blue: #3366cc;
        --govco-blue-dark: #004884;
        --govco-blue-light: #c6d5f6;
        --govco-blue-hover: #2952a3;

        /* Colores Institucionales */
        --primary: #2e7d32;
        --primary-dark: #1b5e20;
        --primary-light: #66bb6a;
        --secondary: #ffa726;
        --secondary-dark: #f57c00;
        --accent: #1565c0;

        /* Neutrales */
        --white: #ffffff;
        --gray-50: #fafafa;
        --gray-100: #f5f5f5;
        --gray-200: #e5e5e5;
        --gray-300: #d4d4d4;
        --gray-400: #a3a3a3;
        --gray-500: #737373;
        --gray-600: #525252;
        --gray-700: #404040;
        --gray-800: #262626;
        --gray-900: #171717;

        /* Estados */
        --success: #16a34a;
        --warning: #f59e0b;
        --error: #dc2626;
        --info: #0ea5e9;

        /* Sombras */
        --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
        --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1),
          0 2px 4px -2px rgb(0 0 0 / 0.1);
        --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
          0 4px 6px -4px rgb(0 0 0 / 0.1);
        --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
          0 8px 10px -6px rgb(0 0 0 / 0.1);

        /* Tipografía */
        --font-primary: "Work Sans", -apple-system, BlinkMacSystemFont,
          "Segoe UI", sans-serif;

        /* Transiciones */
        --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
      }

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

      html {
        font-size: 16px;
        scroll-behavior: smooth;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
      }

      body {
        font-family: var(--font-primary);
        line-height: 1.6;
        color: var(--gray-900);
        background-color: var(--gray-50);
        overflow-x: hidden;
      }

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

      a {
        color: var(--govco-blue);
        text-decoration: none;
        transition: var(--transition-fast);
      }

      a:hover {
        color: var(--govco-blue-hover);
      }

      /* ==================== UTILIDADES ==================== */
      .container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1.5rem;
      }

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

      /* ==================== SKIP LINKS ==================== */
      .skip-link {
        position: absolute;
        top: -100px;
        left: 1rem;
        background: var(--govco-blue);
        color: white;
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        z-index: 10000;
        border-radius: 0 0 0.5rem 0.5rem;
        font-weight: 600;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-fast);
      }

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

      /* ==================== TOP BAR GOV.CO ==================== */
      .top-bar-govco {
        background: var(--govco-blue);
        color: white;
        height: 48px;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1;
      }

      /* Asegurar que el top-bar y sus hijos NO sean sticky */
      .top-bar-govco,
      .top-bar-govco * {
        position: relative !important;
      }

      .top-bar-govco .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        width: 100%;
      }

      .govco-logo-text {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
        order: 1;
      }

      .govco-social-links {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex-shrink: 0;
        order: 2;
        margin-left: auto;
      }

      .govco-social-links .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        color: white;
        opacity: 0.9;
        transition: var(--transition-fast);
        border-radius: 4px;
      }

      .govco-social-links .social-link:hover {
        opacity: 1;
        background-color: rgba(255, 255, 255, 0.15);
        transform: scale(1.1);
      }

      .govco-social-links .social-link svg {
        width: 20px;
        height: 20px;
        display: block;
      }

      /* Reemplazamos el texto por una imagen de logo: img/logoGovCO.png */
      .logo-govco {
        display: block;
        width: 120px; /* tamaño por defecto en escritorio */
        height: auto;
      }

      .logo-govco img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      /* Ocultar cualquier texto adicional en la top bar */
      .text-govco {
        display: none !important;
      }

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

      /* ==================== WIDGET DE ACCESIBILIDAD FLOTANTE ==================== */
      .accessibility-widget {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        z-index: 9999;
      }

      /* Botón flotante principal */
      .accessibility-fab {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--govco-blue), var(--primary));
        color: white;
        border: none;
        cursor: pointer;
        box-shadow: 0 8px 24px rgba(51, 102, 204, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        overflow: hidden;
        line-height: 1;
      }

      .accessibility-fab svg {
        width: 1.4rem;
        height: 1.4rem;
        display: block;
        margin: 0;
      }

      /* Ajuste ligero del badge para que no quede cortado */
      .accessibility-widget .active-badge {
        top: -6px;
        right: -6px;
      }

      .accessibility-fab::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.3);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
      }

      .accessibility-fab:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 12px 32px rgba(51, 102, 204, 0.5);
      }

      .accessibility-fab:hover::before {
        width: 300px;
        height: 300px;
      }

      .accessibility-fab:active {
        transform: scale(0.95);
      }

      .accessibility-fab.active {
        border-radius: 16px;
      }

      /* Panel de accesibilidad */
      .accessibility-panel {
        position: fixed;
        bottom: 6rem;
        right: 2rem;
        width: 360px;
        max-height: calc(100vh - 12rem);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px) scale(0.95);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: hidden;
        border: 1px solid rgba(0, 0, 0, 0.1);
      }

      .accessibility-panel.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
      }

      /* Header del panel */
      .accessibility-header {
        background: linear-gradient(135deg, var(--govco-blue), var(--primary));
        color: white;
        padding: 1.5rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .accessibility-header h3 {
        font-size: 1.25rem;
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        line-height: 1.2;
      }

      .accessibility-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        color: white;
        cursor: pointer;
        transition: var(--transition-fast);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
        line-height: 1;
        font-weight: 700;
      }

      .accessibility-close:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
      }

      /* Contenido del panel */
      .accessibility-content {
        padding: 1.5rem;
        max-height: calc(100vh - 16rem);
        overflow-y: auto;
      }

      .accessibility-content::-webkit-scrollbar {
        width: 8px;
      }

      .accessibility-content::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 10px;
      }

      .accessibility-content::-webkit-scrollbar-thumb {
        background: var(--gray-400);
        border-radius: 10px;
      }

      .accessibility-content::-webkit-scrollbar-thumb:hover {
        background: var(--gray-500);
      }

      /* Grupos de opciones */
      .accessibility-group {
        margin-bottom: 1.5rem;
      }

      .accessibility-group:last-child {
        margin-bottom: 0;
      }

      .accessibility-group-title {
        font-size: 0.813rem;
        font-weight: 700;
        color: var(--gray-500);
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.75rem;
        line-height: 1.4;
      }

      /* Opción individual */
      .accessibility-option {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 12px;
        margin-bottom: 0.75rem;
        transition: var(--transition-fast);
        cursor: pointer;
        border: 2px solid transparent;
      }

      .accessibility-option:hover {
        background: var(--gray-100);
        border-color: var(--govco-blue-light);
        transform: translateX(4px);
      }

      .accessibility-option-info {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1;
      }

      .accessibility-option-icon {
        width: 44px;
        height: 44px;
        background: linear-gradient(
          135deg,
          var(--govco-blue-light),
          var(--govco-blue)
        );
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--govco-blue-dark);
        font-size: 1.5rem;
        flex-shrink: 0;
        line-height: 1;
      }

      /* Asegurar que los emojis se vean correctamente */
      .accessibility-option-icon::before {
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
      }

      .accessibility-option-text {
        flex: 1;
      }

      .accessibility-option-label {
        font-weight: 600;
        color: var(--gray-900);
        display: block;
        margin-bottom: 0.125rem;
        font-size: 0.938rem;
      }

      .accessibility-option-description {
        font-size: 0.75rem;
        color: var(--gray-600);
      }

      /* Toggle switch */
      .toggle-switch {
        position: relative;
        width: 52px;
        height: 28px;
        flex-shrink: 0;
      }

      .toggle-switch input {
        opacity: 0;
        width: 0;
        height: 0;
      }

      .toggle-slider {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--gray-300);
        transition: 0.3s;
        border-radius: 34px;
      }

      .toggle-slider:before {
        position: absolute;
        content: "";
        height: 20px;
        width: 20px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        transition: 0.3s;
        border-radius: 50%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
      }

      .toggle-switch input:checked + .toggle-slider {
        background: linear-gradient(135deg, var(--govco-blue), var(--primary));
      }

      .toggle-switch input:checked + .toggle-slider:before {
        transform: translateX(24px);
      }

      /* Controles de tamaño de texto */
      .text-size-controls {
        display: flex;
        gap: 0.5rem;
        align-items: center;
      }

      .text-size-btn {
        background: white;
        border: 2px solid var(--gray-300);
        width: 40px;
        height: 40px;
        border-radius: 10px;
        cursor: pointer;
        transition: var(--transition-fast);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        color: var(--gray-700);
        font-size: 1.25rem;
        line-height: 1;
      }

      .text-size-btn:hover {
        border-color: var(--govco-blue);
        color: var(--govco-blue);
        transform: scale(1.1);
      }

      .text-size-btn:active {
        transform: scale(0.95);
      }

      .text-size-display {
        background: var(--govco-blue-light);
        color: var(--govco-blue-dark);
        padding: 0.5rem 1rem;
        border-radius: 10px;
        font-weight: 700;
        font-size: 0.938rem;
        min-width: 60px;
        text-align: center;
      }

      /* Botón de reset */
      .accessibility-reset {
        width: 100%;
        background: linear-gradient(135deg, var(--error), #ef4444);
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 12px;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
        line-height: 1;
      }

      .accessibility-reset:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 16px rgba(239, 68, 68, 0.3);
      }

      .accessibility-reset:active {
        transform: translateY(0);
      }

      /* Badge de estado activo */
      .active-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background: var(--error);
        color: white;
        width: 24px;
        height: 24px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        border: 3px solid white;
        animation: pulse 2s infinite;
      }

      @keyframes pulse {
        0%,
        100% {
          box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
        }
        50% {
          box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
        }
      }

      /* Responsive */
      @media (max-width: 768px) {
        .accessibility-widget {
          bottom: 1rem;
          right: 1rem;
        }

        .accessibility-fab {
          width: 56px;
          height: 56px;
          font-size: 1.5rem;
        }

        .accessibility-panel {
          right: 1rem;
          bottom: 5rem;
          width: calc(100vw - 2rem);
          max-width: 360px;
        }

        /* Header responsive */
        .header-entidad .container {
          padding-left: 0.75rem;
          padding-right: 0.75rem;
        }

        .header-content {
          flex-direction: row !important;
          align-items: center !important;
          justify-content: flex-start !important;
          gap: 0.75rem !important;
          padding: 0.75rem 0 !important;
        }

        .logo-entidad {
          flex: 1;
          min-width: 0;
          gap: 0.75rem !important;
        }

        .logo-escudo {
          width: 50px !important;
          height: 50px !important;
          min-width: 50px !important;
          flex-shrink: 0;
        }

        .logo-escudo img {
          width: 100%;
          height: 100%;
          object-fit: contain;
        }

        .logo-text {
          min-width: 0;
          flex: 1;
          overflow: hidden;
        }

        .logo-text h1 {
          font-size: 0.9rem !important;
          line-height: 1.2;
          margin-bottom: 0.1rem !important;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .logo-text p {
          font-size: 0.7rem !important;
          line-height: 1.2;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }

        .search-wrapper {
          display: none !important;
        }

        .top-bar-govco .container {
          flex-direction: row;
          gap: 0.75rem;
          padding: 0.75rem 1rem;
          justify-content: space-between;
        }

        .govco-logo-text {
          justify-content: flex-start;
          order: 1;
        }

        .govco-social-links {
          gap: 0.5rem;
          justify-content: flex-end;
          order: 2;
          margin-left: auto;
        }

        .govco-social-links .social-link {
          width: 28px;
          height: 28px;
        }

        .govco-social-links .social-link svg {
          width: 18px;
          height: 18px;
        }

        .search-input-wrapper {
          height: 46px;
        }

        .search-form {
          height: 46px;
        }

        .search-input {
          padding-left: 1.125rem;
          padding-right: 3.5rem;
          height: 46px;
          line-height: 46px;
          font-size: 0.938rem;
        }

        .search-button {
          width: 38px;
          height: 38px;
          right: 0.4rem;
        }

        .search-button svg {
          width: 16px;
          height: 16px;
        }

        /* Footer en móvil */
        .footer-content {
          grid-template-columns: 1fr;
          gap: 2rem;
        }

        .footer-entidad {
          padding: 3rem 0 1.5rem;
        }

        .footer-govco .container {
          flex-direction: column;
          text-align: center;
        }

        .footer-govco-logos {
          flex-direction: column;
          gap: 1rem;
        }
      }

      /* Tablet: 768px - 1024px */
      @media (min-width: 768px) and (max-width: 1024px) {
        .footer-content {
          grid-template-columns: repeat(2, 1fr);
          gap: 2rem;
        }

        .footer-entidad {
          padding: 3rem 0 1.5rem;
        }

        .footer-govco .container {
          flex-direction: row;
          justify-content: space-between;
        }

        .footer-govco-logos {
          gap: 1.5rem;
        }
      }

      /* Pantallas muy pequeñas (< 480px) */
      @media (max-width: 480px) {
        .header-entidad .container {
          padding-left: 0.5rem;
          padding-right: 0.5rem;
        }

        .header-content {
          gap: 0.5rem !important;
          padding: 0.5rem 0 !important;
        }

        .logo-escudo {
          width: 45px !important;
          height: 45px !important;
          min-width: 45px !important;
        }

        .logo-text h1 {
          font-size: 0.85rem !important;
        }

        .logo-text p {
          font-size: 0.65rem !important;
        }

        /* Footer en móvil pequeño */
        .footer-entidad {
          padding: 2.5rem 0 1.5rem;
        }

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

        .footer-section h3 {
          font-size: 1rem;
        }

        .redes-sociales {
          gap: 0.75rem;
        }

        .redes-sociales a {
          width: 44px;
          height: 44px;
          min-width: 44px;
          min-height: 44px;
        }

        .footer-govco {
          padding: 1.25rem 0;
        }

        .footer-govco .container {
          padding: 0 1rem;
        }

        .footer-govco-content {
          gap: 0.75rem;
        }

        .footer-govco-logos {
          gap: 1rem;
          flex-wrap: wrap;
        }

        .footer-marca-pais svg {
          width: 100px;
          height: auto;
        }

        .footer-govco .footer-govco-logo {
          width: 100px;
        }
      }

      /* ==================== HEADER ==================== */
      .header-entidad {
        background-color: white;
        box-shadow: var(--shadow);
        position: relative;
        z-index: 1;
        border-bottom: 3px solid var(--primary);
      }

      /* Asegurar que el header y sus hijos NO sean sticky */
      .header-entidad,
      .header-entidad * {
        position: relative !important;
      }

      .header-content {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 2rem;
        padding: 1.25rem 0;
        width: 100%;
        flex-direction: row !important;
      }

      .logo-entidad {
        display: flex !important;
        align-items: center !important;
        gap: 1rem;
        flex-shrink: 0;
        height: 100%;
      }

      .logo-entidad,
      .logo-escudo,
      .logo-text {
        vertical-align: middle;
      }

      .search-wrapper {
        display: block !important;
        flex-shrink: 1;
      }

      .logo-escudo {
        width: 70px;
        height: 70px;
        background: white;
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: var(--shadow-md);
        flex-shrink: 0;
        padding: 5px;
      }

      .logo-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 0;
        margin: 0;
        padding: 0;
      }

      .logo-text h1 {
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--gray-900);
        line-height: 1.2;
        margin: 0;
        margin-bottom: 0.125rem;
        padding: 0;
      }

      .logo-text p {
        font-size: 0.875rem;
        color: var(--gray-600);
        font-weight: 500;
        margin: 0;
        padding: 0;
        line-height: 1.2;
      }

      .search-wrapper {
        max-width: 600px;
        width: 100%;
        flex-shrink: 1;
        position: relative;
      }

      .search-form {
        display: flex;
        position: relative;
        align-items: stretch;
        gap: 0;
        width: 100%;
        height: 50px;
        box-sizing: border-box;
      }

      .search-input-wrapper {
        position: relative;
        width: 100%;
        height: 50px;
        display: flex;
        align-items: center;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
        border: 2px solid var(--gray-300);
        border-radius: 2rem;
        transition: all 0.3s ease;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      }

      .search-input-wrapper:hover {
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15);
      }

      .search-input-wrapper:focus-within {
        border-color: var(--primary);
        box-shadow: 0 4px 20px rgba(46, 125, 50, 0.25);
        background: white;
        transform: translateY(-2px);
      }


      .search-input {
        flex: 1;
        padding: 0 1.25rem;
        padding-right: 3.75rem;
        border: none;
        background: transparent;
        border-radius: 2rem;
        font-size: 1rem;
        transition: all 0.3s ease;
        font-family: var(--font-primary);
        height: 50px;
        line-height: 50px;
        box-sizing: border-box;
        margin: 0;
        width: 100%;
        color: var(--gray-900);
      }

      .search-input::placeholder {
        color: var(--gray-500);
        opacity: 1;
      }

      .search-input:focus {
        outline: none;
      }

      .search-button {
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 2;
        color: white;
        padding: 0;
        margin: 0;
        box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
        vertical-align: middle;
      }

      .search-button:hover {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
      }

      .search-button:active {
        transform: translateY(-50%) scale(0.95);
      }

      .search-button svg {
        width: 18px;
        height: 18px;
        display: block;
        margin: 0;
        padding: 0;
      }

      /* ==================== RESULTADOS DE BÚSQUEDA ==================== */
      .search-results {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 0;
        right: 0;
        background: white;
        border-radius: 1rem;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        max-height: 600px;
        overflow-y: auto;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
        margin-top: 0.5rem;
        display: none;
      }

      .search-results.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block;
      }

      .search-results-loading,
      .search-results-error,
      .search-results-empty {
        padding: 2rem;
        text-align: center;
        color: var(--gray-600);
      }

      .search-results-loading svg,
      .search-results-error svg,
      .search-results-empty svg {
        margin-bottom: 1rem;
        color: var(--gray-400);
      }

      .search-spinner {
        width: 40px;
        height: 40px;
        border: 3px solid var(--gray-200);
        border-top-color: var(--primary);
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin: 0 auto 1rem;
      }

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

      .search-results-error {
        color: #dc3545;
      }

      .search-results-empty-hint {
        font-size: 0.875rem;
        color: var(--gray-500);
        margin-top: 0.5rem;
      }

      .search-results-content {
        padding: 0.5rem 0;
      }

      .search-results-group {
        margin-bottom: 1rem;
      }

      .search-results-group:last-child {
        margin-bottom: 0;
      }

      .search-results-group-title {
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: var(--gray-500);
        padding: 0.75rem 1.25rem 0.5rem;
        margin: 0;
        border-bottom: 1px solid var(--gray-100);
      }

      .search-results-list {
        list-style: none;
        padding: 0;
        margin: 0;
      }

      .search-result-item {
        margin: 0;
        border-bottom: 1px solid var(--gray-100);
      }

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

      .search-result-link {
        display: block;
        padding: 1rem 1.25rem;
        text-decoration: none;
        color: inherit;
        transition: background-color 0.2s ease;
      }

      .search-result-link:hover,
      .search-result-link:focus {
        background-color: var(--gray-50);
        outline: none;
      }

      .search-result-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
        gap: 1rem;
      }

      .search-result-type {
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--primary);
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      .search-result-date {
        font-size: 0.75rem;
        color: var(--gray-500);
        white-space: nowrap;
      }

      .search-result-title {
        font-size: 1rem;
        font-weight: 600;
        color: var(--gray-900);
        margin: 0 0 0.5rem 0;
        line-height: 1.4;
      }

      .search-result-description {
        font-size: 0.875rem;
        color: var(--gray-600);
        margin: 0;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
      }

      .search-results-footer {
        padding: 1rem 1.25rem;
        background-color: var(--gray-50);
        border-top: 1px solid var(--gray-200);
        border-radius: 0 0 1rem 1rem;
        text-align: center;
      }

      .search-results-footer p {
        margin: 0;
        font-size: 0.875rem;
        color: var(--gray-600);
      }

      .search-results-footer strong {
        color: var(--primary);
        font-weight: 600;
      }

      /* Scrollbar personalizado para resultados */
      .search-results::-webkit-scrollbar {
        width: 8px;
      }

      .search-results::-webkit-scrollbar-track {
        background: var(--gray-100);
        border-radius: 0 1rem 1rem 0;
      }

      .search-results::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 4px;
      }

      .search-results::-webkit-scrollbar-thumb:hover {
        background: var(--gray-400);
      }

      /* Responsive: Resultados de búsqueda en móviles */
      @media (max-width: 768px) {
        .search-results {
          max-height: 400px;
          border-radius: 0.75rem;
          box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
        }

        .search-result-link {
          padding: 0.875rem 1rem;
        }

        .search-result-title {
          font-size: 0.9375rem;
        }

        .search-result-description {
          font-size: 0.8125rem;
        }
      }

      /* ==================== NAVEGACIÓN ==================== */
      /* NOTA: Todos los estilos del navbar (.menu-principal, .menu-link, .menu-item, etc.)
         están definidos en navbar.css para mantener la separación de responsabilidades.
         No agregar estilos del navbar aquí para evitar conflictos. */

      /* ==================== HERO SECTION ==================== */
      .hero {
        background: linear-gradient(
          135deg,
          var(--primary) 0%,
          var(--primary-dark) 50%,
          var(--accent) 100%
        );
        color: white;
        padding: 4rem 0;
        position: relative;
        overflow: hidden;
      }

      .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        opacity: 0.3;
      }

      .hero-content {
        position: relative;
        z-index: 1;
        text-align: center;
        max-width: 900px;
        margin: 0 auto;
      }

      .hero h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
        line-height: 1.2;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      }

      .hero p {
        font-size: 1.25rem;
        font-weight: 400;
        opacity: 0.95;
        margin-bottom: 2rem;
        line-height: 1.6;
      }

      .hero-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
        flex-wrap: wrap;
      }

      /* ==================== BOTONES ==================== */
      .btn {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.875rem 1.75rem;
        font-family: var(--font-primary);
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        border-radius: 0.5rem;
        border: 2px solid transparent;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: var(--shadow-sm);
        line-height: 1.4;
      }

      .btn:active {
        transform: translateY(1px);
      }

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

      .btn-primary:hover {
        background-color: var(--govco-blue-hover);
        border-color: var(--govco-blue-hover);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
      }

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

      .btn-secondary:hover {
        background-color: var(--gray-50);
        box-shadow: var(--shadow-md);
        transform: translateY(-2px);
      }

      .btn-outline {
        background-color: transparent;
        color: var(--govco-blue);
        border-color: var(--govco-blue);
      }

      .btn-outline:hover {
        background-color: var(--govco-blue);
        color: white;
      }

      /* ==================== SECCIONES ==================== */
      .section {
        padding: 4rem 0;
      }

      .section-header {
        text-align: center;
        margin-bottom: 3rem;
      }

      .section-title {
        font-size: 2.25rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
        position: relative;
        display: inline-block;
      }

      .section-title::after {
        content: "";
        position: absolute;
        bottom: -0.5rem;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        border-radius: 2px;
      }

      .section-description {
        font-size: 1.125rem;
        color: var(--gray-600);
        max-width: 700px;
        margin: 1.5rem auto 0;
        line-height: 1.7;
      }

      /* ==================== CARDS GRID ==================== */
      .cards-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
      }

      .card {
        background: white;
        border-radius: 1rem;
        padding: 2rem;
        box-shadow: var(--shadow);
        transition: var(--transition);
        border: 1px solid var(--gray-200);
        position: relative;
        overflow: hidden;
      }

      .card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transform: scaleX(0);
        transition: var(--transition);
      }

      .card:hover {
        box-shadow: var(--shadow-xl);
        transform: translateY(-8px);
        border-color: var(--primary-light);
      }

      .card:hover::before {
        transform: scaleX(1);
      }

      .card-icon {
        width: 64px;
        height: 64px;
        background: linear-gradient(
          135deg,
          var(--primary-light),
          var(--primary)
        );
        border-radius: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        margin-bottom: 1.5rem;
        box-shadow: var(--shadow-md);
      }

      .card-icon svg {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
      }

      .card h3 {
        font-size: 1.375rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
        line-height: 1.3;
      }

      .card p {
        color: var(--gray-600);
        margin-bottom: 1.5rem;
        line-height: 1.7;
      }

      .card-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        color: var(--govco-blue);
        font-weight: 600;
        text-decoration: none;
        transition: var(--transition-fast);
        line-height: 1.4;
      }

      .card-link:hover {
        gap: 0.75rem;
        color: var(--govco-blue-hover);
      }

      /* ==================== NOTICIAS ==================== */
      .noticias-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
      }

      .noticia-card {
        background: white;
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--shadow);
        transition: var(--transition);
        display: flex;
        flex-direction: column;
      }

      .noticia-card:hover {
        box-shadow: var(--shadow-xl);
        transform: translateY(-4px);
      }

      .noticia-img {
        width: 100%;
        height: 220px;
        background: linear-gradient(
          135deg,
          var(--primary-light),
          var(--primary)
        );
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        position: relative;
        overflow: hidden;
      }

      .noticia-img svg {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
      }

      .noticia-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(
          180deg,
          transparent 0%,
          rgba(0, 0, 0, 0.3) 100%
        );
      }

      .noticia-content {
        padding: 1.75rem;
        flex: 1;
        display: flex;
        flex-direction: column;
      }

      .noticia-categoria {
        display: inline-block;
        background: var(--primary-light);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 0.375rem;
        font-size: 0.75rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.75rem;
        width: fit-content;
      }

      .noticia-fecha {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: var(--gray-500);
        margin-bottom: 0.75rem;
      }

      .noticia-card h3 {
        font-size: 1.25rem;
        font-weight: 700;
        color: var(--gray-900);
        margin-bottom: 0.75rem;
        line-height: 1.4;
      }

      .noticia-card p {
        color: var(--gray-600);
        line-height: 1.6;
        margin-bottom: 1.25rem;
        flex: 1;
      }

      /* ==================== FORMULARIO ==================== */
      .form-group {
        margin-bottom: 1.5rem;
      }

      .form-label {
        display: block;
        font-weight: 600;
        color: var(--gray-900);
        margin-bottom: 0.5rem;
        font-size: 0.938rem;
      }

      .form-label.required::after {
        content: " *";
        color: var(--error);
        font-weight: 700;
      }

      .form-control {
        width: 100%;
        padding: 0.875rem 1rem;
        font-family: var(--font-primary);
        font-size: 1rem;
        border: 2px solid var(--gray-300);
        border-radius: 0.5rem;
        transition: var(--transition-fast);
        background-color: white;
      }

      .form-control:focus {
        outline: none;
        border-color: var(--govco-blue);
        box-shadow: 0 0 0 3px var(--govco-blue-light);
      }

      .form-control:invalid:not(:placeholder-shown) {
        border-color: var(--error);
      }

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

      .form-help {
        font-size: 0.875rem;
        color: var(--gray-500);
        margin-top: 0.375rem;
        display: block;
      }

      .checkbox-wrapper {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
        background: var(--gray-50);
        border-radius: 0.5rem;
        border: 2px solid var(--gray-200);
        cursor: pointer;
        transition: var(--transition-fast);
      }

      .checkbox-wrapper:hover {
        background: var(--gray-100);
        border-color: var(--govco-blue);
      }

      .checkbox-wrapper input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
      }

      /* ==================== MODAL ==================== */
      .modal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 1000;
        overflow-y: auto;
        backdrop-filter: blur(4px);
        animation: fadeIn 0.3s ease-out;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
        }
        to {
          opacity: 1;
        }
      }

      .modal.active {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2rem;
      }

      .modal-content {
        background-color: white;
        padding: 2.5rem;
        border-radius: 1rem;
        max-width: 800px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        box-shadow: var(--shadow-xl);
        animation: slideUp 0.3s ease-out;
      }

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

      .modal-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 2px solid var(--gray-200);
      }

      .modal-header h2 {
        font-size: 1.875rem;
        font-weight: 700;
        color: var(--gray-900);
      }

      .modal-close {
        background: var(--gray-100);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 0.5rem;
        font-size: 1.25rem;
        cursor: pointer;
        color: var(--gray-600);
        transition: var(--transition-fast);
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .modal-close:hover {
        background: var(--error);
        color: white;
        transform: rotate(90deg);
      }

      /* ==================== DETAIL MODAL ==================== */

      .detail-modal-content {
        max-width: 900px;
      }

      .detail-modal-header-text {
        flex: 1;
        min-width: 0;
      }

      .detail-modal-subtitle {
        color: var(--gray-600);
        margin-top: 0.25rem;
        font-size: 0.9rem;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.05em;
      }

      .detail-modal-imagen {
        width: 100%;
        border-radius: 0.75rem;
        overflow: hidden;
        margin-bottom: 1.5rem;
      }

      .detail-modal-imagen img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
        display: block;
      }

      .detail-modal-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-bottom: 1.5rem;
        padding: 0.75rem 1rem;
        background: var(--gray-50, #f9fafb);
        border-radius: 0.5rem;
        font-size: 0.875rem;
        color: var(--gray-600);
      }

      .detail-modal-meta span {
        display: flex;
        align-items: center;
        gap: 0.375rem;
      }

      .detail-modal-meta svg { flex-shrink: 0; }

      .detail-modal-cat-badge {
        background: var(--primary-color);
        color: white !important;
        padding: 0.125rem 0.625rem;
        border-radius: 1rem;
        font-size: 0.8rem;
        font-weight: 500;
      }

      .detail-modal-resumen {
        font-size: 1.05rem;
        color: var(--gray-600);
        font-style: italic;
        margin-bottom: 1.25rem;
        padding-left: 1rem;
        border-left: 3px solid var(--primary-color);
      }

      .detail-modal-contenido {
        line-height: 1.75;
        color: var(--gray-800);
        margin-bottom: 1.5rem;
      }

      .detail-modal-contenido p { margin-bottom: 1rem; }
      .detail-modal-contenido img { max-width: 100%; height: auto; border-radius: 0.5rem; }
      .detail-modal-contenido a { color: var(--primary-color); text-decoration: underline; }
      .detail-modal-contenido h2,
      .detail-modal-contenido h3,
      .detail-modal-contenido h4 { margin: 1.5rem 0 0.75rem; }

      .detail-modal-adjuntos {
        margin-top: 1.5rem;
        padding: 1.25rem;
        background: var(--gray-50, #f9fafb);
        border-radius: 0.75rem;
      }

      .detail-modal-adjuntos h4 {
        margin: 0 0 0.75rem;
        font-size: 1rem;
        color: var(--gray-800);
      }

      .detail-modal-adjuntos-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
      }

      .detail-modal-adjunto {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        background: white;
        border: 1px solid var(--gray-200);
        border-radius: 0.5rem;
        color: var(--gray-800);
        text-decoration: none;
        transition: border-color 0.2s, box-shadow 0.2s;
      }

      .detail-modal-adjunto:hover {
        border-color: var(--primary-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
      }

      .detail-modal-adjunto-icon {
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--gray-100);
        border-radius: 0.375rem;
        color: var(--primary-color);
      }

      .detail-modal-adjunto-name {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .detail-modal-adjunto-type {
        font-size: 0.75rem;
        color: var(--gray-500);
        text-transform: uppercase;
        font-weight: 600;
      }

      .detail-modal-numero-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: var(--primary-color);
        color: white;
        border-radius: 0.5rem;
        font-weight: 600;
        margin-bottom: 1rem;
        font-size: 1.05rem;
      }

      .detail-modal-descripcion {
        line-height: 1.75;
        color: var(--gray-700);
        margin-bottom: 1.5rem;
        white-space: pre-line;
      }

      .detail-modal-detalles {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1.25rem;
      }

      .detail-modal-detalles span {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        background: var(--gray-100);
        border-radius: 2rem;
        font-size: 0.875rem;
        color: var(--gray-600);
      }

      .detail-modal-video {
        aspect-ratio: 16 / 9;
        background: #000;
        border-radius: 0.75rem;
        overflow: hidden;
        margin-bottom: 1rem;
      }

      .detail-modal-video iframe {
        width: 100%;
        height: 100%;
        border: 0;
      }

      .detail-modal-footer {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
        border-top: 1px solid var(--gray-200);
        display: flex;
        justify-content: flex-end;
      }

      .detail-modal-link {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.625rem 1.25rem;
        background: var(--primary-color);
        color: white;
        border-radius: 0.5rem;
        text-decoration: none;
        font-weight: 500;
        transition: background 0.2s, transform 0.1s;
      }

      .detail-modal-link:hover {
        filter: brightness(0.9);
        transform: translateY(-1px);
      }

      @media (max-width: 768px) {
        .detail-modal-content { padding: 1.25rem; max-height: 95vh; }
        .detail-modal-imagen img { max-height: 250px; }
        .detail-modal-meta { flex-direction: column; gap: 0.5rem; }
        .detail-modal-footer { justify-content: stretch; }
        .detail-modal-link { justify-content: center; width: 100%; }
      }

      /* ==================== ALERTS ==================== */
      .alert {
        padding: 1.25rem 1.5rem;
        border-radius: 0.5rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        border-left: 4px solid;
      }

      .alert-icon {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }

      .alert-icon svg {
        width: 24px;
        height: 24px;
      }

      .alert-success {
        background-color: #dcfce7;
        color: #166534;
        border-color: var(--success);
      }

      .alert-error {
        background-color: #fee2e2;
        color: #991b1b;
        border-color: var(--error);
      }

      /* ==================== FOOTER ==================== */
      .footer-entidad {
        background-color: var(--gray-900);
        color: white;
        padding: 4rem 0 2rem;
      }

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

      .footer-section h3 {
        font-size: 1.125rem;
        font-weight: 700;
        margin-bottom: 1.25rem;
        color: var(--secondary);
      }

      .footer-section p,
      .footer-section address {
        font-style: normal;
        line-height: 1.8;
        margin-bottom: 0.75rem;
        color: var(--gray-300);
      }

      .footer-section a {
        color: var(--gray-300);
        transition: var(--transition-fast);
      }

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

      .footer-section ul {
        list-style: none;
      }

      .footer-section li {
        margin-bottom: 0.75rem;
      }

      .redes-sociales {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
      }

      .redes-sociales a {
        width: 48px;
        height: 48px;
        background: var(--primary);
        border-radius: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        transition: var(--transition);
        text-decoration: none;
      }

      .redes-sociales a svg {
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
      }

      .redes-sociales a:hover {
        background: var(--secondary);
        transform: translateY(-4px) rotate(5deg);
        box-shadow: var(--shadow-lg);
      }

      /* Footer GOV.CO - Requisito Resolución 2893 de 2020 */
      .footer-govco {
        background-color: var(--govco-blue-dark);
        color: white;
        padding: 1.5rem 0;
      }

      .footer-govco .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
      }

      .footer-govco-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
      }

      .footer-govco-logos {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
      }

      .footer-marca-pais {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
      }

      .footer-marca-pais:hover {
        opacity: 0.9;
        transform: scale(1.05);
      }

      .footer-marca-pais svg {
        display: block;
        width: 120px;
        height: 40px;
      }

      /* Logo GOV.CO en el footer: usar la misma imagen que en el header */
      .footer-govco .footer-govco-logo {
        width: 120px;
        height: auto;
        display: block;
      }

      .footer-govco .footer-govco-logo img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
      }

      .footer-govco-logo {
        font-weight: 800;
        font-size: 1.5rem;
        letter-spacing: 1px;
      }

      .footer-govco a {
        color: white;
        font-size: 0.938rem;
        font-weight: 500;
      }

      /* ==================== MODOS DE ACCESIBILIDAD ==================== */

      /* Alto Contraste */
      body.alto-contraste {
        background-color: #000 !important;
        color: #ffff00 !important;
      }

      body.alto-contraste
        *:not(.accessibility-widget):not(.accessibility-widget *) {
        background-color: #000 !important;
        color: #ffff00 !important;
        border-color: #ffff00 !important;
      }

      body.alto-contraste a:not(.accessibility-widget a) {
        color: #00ffff !important;
        text-decoration: underline !important;
        font-weight: bold !important;
      }

      body.alto-contraste .btn-primary:not(.accessibility-widget .btn-primary),
      body.alto-contraste button:not(.accessibility-widget button) {
        background-color: #ffff00 !important;
        color: #000 !important;
        border-color: #ffff00 !important;
      }

      body.alto-contraste img:not(.accessibility-widget img),
      body.alto-contraste svg:not(.accessibility-widget svg) {
        filter: contrast(2) brightness(1.5);
      }

      /* Escala de Grises - EXCLUIR WIDGET */
      body.escala-grises
        *:not(.accessibility-widget):not(.accessibility-widget *) {
        filter: grayscale(100%);
      }

      /* Mantener widget sin filtros */
      body.escala-grises .accessibility-widget,
      body.escala-grises .accessibility-widget * {
        filter: none !important;
      }

      /* Resaltar Enlaces - EXCLUIR WIDGET */
      body.resaltar-enlaces a:not(.accessibility-widget a) {
        background-color: #ffff00 !important;
        color: #000 !important;
        padding: 2px 4px !important;
        border-radius: 3px !important;
        font-weight: 700 !important;
      }

      /* Espaciado de Texto - EXCLUIR WIDGET */
      body.espaciado-texto
        *:not(.accessibility-widget):not(.accessibility-widget *) {
        letter-spacing: 0.12em !important;
        word-spacing: 0.16em !important;
        line-height: 1.8 !important;
      }

      /* Fuente Legible - EXCLUIR WIDGET */
      body.fuente-legible
        *:not(.accessibility-widget):not(.accessibility-widget *) {
        font-family: Arial, Helvetica, sans-serif !important;
      }

      /* Cursor Grande */
      body.cursor-grande,
      body.cursor-grande * {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24"><path fill="black" stroke="white" stroke-width="1" d="M4 4 L4 16 L8 12 L12 20 L14 19 L10 11 L16 11 Z"/></svg>')
            12 12,
          auto !important;
      }

      body.cursor-grande a,
      body.cursor-grande button,
      body.cursor-grande .card {
        cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 24 24"><path fill="blue" stroke="white" stroke-width="1" d="M8 4 L8 12 L10.5 10.5 L12 16 L14 15.5 L12.5 10 L16 10 Z"/></svg>')
            12 12,
          pointer !important;
      }

      /* Línea de Lectura */
      body.linea-lectura::before {
        content: "";
        position: fixed;
        left: 0;
        right: 0;
        height: 2px;
        background: linear-gradient(
          90deg,
          transparent,
          var(--error),
          transparent
        );
        pointer-events: none;
        z-index: 9998;
        box-shadow: 0 0 10px var(--error);
      }

      /* Pausar Animaciones - EXCLUIR WIDGET */
      body.pausar-animaciones
        *:not(.accessibility-widget):not(.accessibility-widget *) {
        animation-play-state: paused !important;
        transition: none !important;
      }

      /* El widget mantiene su tipografía y legibilidad local, pero
           sin forzar la visibilidad del panel (evitaba que se ocultara). */
      .accessibility-widget,
      .accessibility-widget * {
        font-family: var(--font-primary) !important;
        letter-spacing: normal !important;
        word-spacing: normal !important;
        line-height: normal !important;
      }

      /* Asegurar que el FAB siempre sea visible y esté enfocable */
      .accessibility-fab {
        filter: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        outline: none;
      }

      /* Asegurar que los emojis se vean correctamente en elementos claves */
      .accessibility-widget .accessibility-option-icon,
      .accessibility-widget .accessibility-fab,
      .accessibility-widget .accessibility-close,
      .accessibility-widget .accessibility-header h3,
      .accessibility-widget .accessibility-group-title,
      .accessibility-widget .accessibility-reset {
        font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
          "Android Emoji", "EmojiSymbols", var(--font-primary) !important;
      }

      /* No forzar display/visibility en todos los descendientes: esto
           impedía que el panel se ocultara. En su lugar, garantizar
           visibilidad solo para controles importantes dentro del widget. */
      .accessibility-widget .accessibility-fab,
      .accessibility-widget .active-badge,
      .accessibility-widget .accessibility-close,
      .accessibility-widget .accessibility-option-icon {
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
      }

      /* Estilos cuando el FAB está activo/abierto */
      .accessibility-fab[aria-expanded="true"] {
        background: linear-gradient(135deg, var(--error), #b91c1c) !important;
        transform: scale(1.03) rotate(0deg);
      }

      .accessibility-fab[aria-expanded="true"]::after {
        content: "✕";
        position: absolute;
        font-size: 1.1rem;
        line-height: 1;
      }

      .accessibility-option {
        display: flex !important;
      }

      .accessibility-content {
        display: block !important;
      }

      /* ==================== RESPONSIVE ==================== */
      @media (min-width: 640px) {
        .noticias-grid {
          grid-template-columns: repeat(2, 1fr);
        }
      }

      @media (min-width: 768px) {
        .header-content {
          display: flex !important;
          align-items: center !important;
          justify-content: space-between !important;
          gap: 2rem;
          padding: 1.5rem 0;
          flex-direction: row !important;
        }

        .logo-entidad {
          flex-shrink: 0;
          align-items: center !important;
        }

        .logo-text {
          align-items: flex-start;
          justify-content: center;
        }

        .search-wrapper {
          flex-shrink: 1;
          min-width: 300px;
          max-width: 500px;
          display: block !important;
        }

        .search-form {
          height: 44px;
        }

        .search-form input {
          height: 44px;
          line-height: 1.2;
          margin: 0;
          padding-left: 3rem;
        }

        .search-icon {
          left: 1rem;
          width: 18px;
          height: 18px;
        }

        .search-input-wrapper:focus-within .search-icon {
          color: var(--govco-blue);
        }

        /* NOTA: Estilos del navbar están en navbar.css */

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

        .hero h2 {
          font-size: 3rem;
        }

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

      @media (min-width: 1024px) {
        .cards-grid {
          grid-template-columns: repeat(3, 1fr);
        }

        .noticias-grid {
          grid-template-columns: repeat(3, 1fr);
        }

        .footer-content {
          grid-template-columns: repeat(3, 1fr);
        }

        .footer-govco .container {
          flex-direction: row;
          justify-content: space-between;
        }

        .hero h2 {
          font-size: 3.5rem;
        }
      }
